fix: ✏️ "can not" -> "cannot"
This commit is contained in:
parent
fd34750c25
commit
c7f98e381c
11 changed files with 18 additions and 18 deletions
|
@ -8900,7 +8900,7 @@ Resolve #7540
|
||||||
* truncate user information if it is too long
|
* truncate user information if it is too long
|
||||||
|
|
||||||
Some AP software allows for user names or summaries to be very long.
|
Some AP software allows for user names or summaries to be very long.
|
||||||
Misskey can not handle this and the profile page can not be opened and
|
Misskey cannot handle this and the profile page cannot be opened and
|
||||||
no activities from such users can be seen.
|
no activities from such users can be seen.
|
||||||
|
|
||||||
Instead, the user name and summary are cut off after the maximum length
|
Instead, the user name and summary are cut off after the maximum length
|
||||||
|
@ -9902,7 +9902,7 @@ This duplicated processing can be avoided by querying the database directly.
|
||||||
|
|
||||||
Misskey will only use ActivityPub follow requests for users that are local
|
Misskey will only use ActivityPub follow requests for users that are local
|
||||||
and are requesting to follow a remote user. This check is to ensure that
|
and are requesting to follow a remote user. This check is to ensure that
|
||||||
this endpoint can not be used by other services or instances.
|
this endpoint cannot be used by other services or instances.
|
||||||
|
|
||||||
* fix: missing import
|
* fix: missing import
|
||||||
|
|
||||||
|
@ -14921,7 +14921,7 @@ Defaults for `local` and `withFiles` are based on the behaviour of the endpoint.
|
||||||
|
|
||||||
* fix: define required fields
|
* fix: define required fields
|
||||||
|
|
||||||
- `notes/create`: the default for `text` has been removed because ajv can not handle
|
- `notes/create`: the default for `text` has been removed because ajv cannot handle
|
||||||
`default` inside of `anyOf`, see
|
`default` inside of `anyOf`, see
|
||||||
https://ajv.js.org/guide/modifying-data.html#assigning-defaults
|
https://ajv.js.org/guide/modifying-data.html#assigning-defaults
|
||||||
and the default value cannot be `null` if text is `nullable: false` in the `anyOf`
|
and the default value cannot be `null` if text is `nullable: false` in the `anyOf`
|
||||||
|
@ -15551,7 +15551,7 @@ unnecessarily loaded.
|
||||||
* remove duplicate null check
|
* remove duplicate null check
|
||||||
|
|
||||||
The variable is checked for null in the lines above and the function
|
The variable is checked for null in the lines above and the function
|
||||||
returns if so. Therefore, it can not be null at this point.
|
returns if so. Therefore, it cannot be null at this point.
|
||||||
|
|
||||||
* simplify `getJsonSchema`
|
* simplify `getJsonSchema`
|
||||||
|
|
||||||
|
|
|
@ -341,7 +341,7 @@ inputNewDescription: "Enter new description"
|
||||||
inputNewFolderName: "Enter a new folder name"
|
inputNewFolderName: "Enter a new folder name"
|
||||||
circularReferenceFolder: "The destination folder is a subfolder of the folder you
|
circularReferenceFolder: "The destination folder is a subfolder of the folder you
|
||||||
wish to move."
|
wish to move."
|
||||||
hasChildFilesOrFolders: "Since this folder is not empty, it can not be deleted."
|
hasChildFilesOrFolders: "Since this folder is not empty, it cannot be deleted."
|
||||||
copyUrl: "Copy URL"
|
copyUrl: "Copy URL"
|
||||||
rename: "Rename"
|
rename: "Rename"
|
||||||
avatar: "Avatar"
|
avatar: "Avatar"
|
||||||
|
|
|
@ -24,7 +24,7 @@ export const meta = {
|
||||||
},
|
},
|
||||||
|
|
||||||
recursiveNesting: {
|
recursiveNesting: {
|
||||||
message: "It can not be structured like nesting folders recursively.",
|
message: "It cannot be structured like nesting folders recursively.",
|
||||||
code: "NO_SUCH_PARENT_FOLDER",
|
code: "NO_SUCH_PARENT_FOLDER",
|
||||||
id: "ce104e3a-faaf-49d5-b459-10ff0cbbcaa1",
|
id: "ce104e3a-faaf-49d5-b459-10ff0cbbcaa1",
|
||||||
},
|
},
|
||||||
|
|
|
@ -18,7 +18,7 @@ export const meta = {
|
||||||
},
|
},
|
||||||
|
|
||||||
pinLimitExceeded: {
|
pinLimitExceeded: {
|
||||||
message: "You can not pin notes any more.",
|
message: "You cannot pin notes any more.",
|
||||||
code: "PIN_LIMIT_EXCEEDED",
|
code: "PIN_LIMIT_EXCEEDED",
|
||||||
id: "72dab508-c64d-498f-8740-a8eec1ba385a",
|
id: "72dab508-c64d-498f-8740-a8eec1ba385a",
|
||||||
},
|
},
|
||||||
|
|
|
@ -48,7 +48,7 @@ export const meta = {
|
||||||
},
|
},
|
||||||
|
|
||||||
groupAccessDenied: {
|
groupAccessDenied: {
|
||||||
message: "You can not read messages of groups that you have not joined.",
|
message: "You cannot read messages of groups that you have not joined.",
|
||||||
code: "GROUP_ACCESS_DENIED",
|
code: "GROUP_ACCESS_DENIED",
|
||||||
id: "a053a8dd-a491-4718-8f87-50775aad9284",
|
id: "a053a8dd-a491-4718-8f87-50775aad9284",
|
||||||
},
|
},
|
||||||
|
|
|
@ -28,7 +28,7 @@ export const meta = {
|
||||||
|
|
||||||
errors: {
|
errors: {
|
||||||
recipientIsYourself: {
|
recipientIsYourself: {
|
||||||
message: "You can not send a message to yourself.",
|
message: "You cannot send a message to yourself.",
|
||||||
code: "RECIPIENT_IS_YOURSELF",
|
code: "RECIPIENT_IS_YOURSELF",
|
||||||
id: "17e2ba79-e22a-4cbc-bf91-d327643f4a7e",
|
id: "17e2ba79-e22a-4cbc-bf91-d327643f4a7e",
|
||||||
},
|
},
|
||||||
|
@ -46,7 +46,7 @@ export const meta = {
|
||||||
},
|
},
|
||||||
|
|
||||||
groupAccessDenied: {
|
groupAccessDenied: {
|
||||||
message: "You can not send messages to groups that you have not joined.",
|
message: "You cannot send messages to groups that you have not joined.",
|
||||||
code: "GROUP_ACCESS_DENIED",
|
code: "GROUP_ACCESS_DENIED",
|
||||||
id: "d96b3cca-5ad1-438b-ad8b-02f931308fbd",
|
id: "d96b3cca-5ad1-438b-ad8b-02f931308fbd",
|
||||||
},
|
},
|
||||||
|
|
|
@ -52,7 +52,7 @@ export const meta = {
|
||||||
},
|
},
|
||||||
|
|
||||||
cannotReRenote: {
|
cannotReRenote: {
|
||||||
message: "You can not Renote a pure Renote.",
|
message: "You cannot Renote a pure Renote.",
|
||||||
code: "CANNOT_RENOTE_TO_A_PURE_RENOTE",
|
code: "CANNOT_RENOTE_TO_A_PURE_RENOTE",
|
||||||
id: "fd4cc33e-2a37-48dd-99cc-9b806eb2031a",
|
id: "fd4cc33e-2a37-48dd-99cc-9b806eb2031a",
|
||||||
},
|
},
|
||||||
|
@ -64,7 +64,7 @@ export const meta = {
|
||||||
},
|
},
|
||||||
|
|
||||||
cannotReplyToPureRenote: {
|
cannotReplyToPureRenote: {
|
||||||
message: "You can not reply to a pure Renote.",
|
message: "You cannot reply to a pure Renote.",
|
||||||
code: "CANNOT_REPLY_TO_A_PURE_RENOTE",
|
code: "CANNOT_REPLY_TO_A_PURE_RENOTE",
|
||||||
id: "3ac74a84-8fd5-4bb0-870f-01804f82ce15",
|
id: "3ac74a84-8fd5-4bb0-870f-01804f82ce15",
|
||||||
},
|
},
|
||||||
|
|
|
@ -70,7 +70,7 @@ export const meta = {
|
||||||
},
|
},
|
||||||
|
|
||||||
cannotReRenote: {
|
cannotReRenote: {
|
||||||
message: "You can not Renote a pure Renote.",
|
message: "You cannot Renote a pure Renote.",
|
||||||
code: "CANNOT_RENOTE_TO_A_PURE_RENOTE",
|
code: "CANNOT_RENOTE_TO_A_PURE_RENOTE",
|
||||||
id: "fd4cc33e-2a37-48dd-99cc-9b806eb2031a",
|
id: "fd4cc33e-2a37-48dd-99cc-9b806eb2031a",
|
||||||
},
|
},
|
||||||
|
@ -82,7 +82,7 @@ export const meta = {
|
||||||
},
|
},
|
||||||
|
|
||||||
cannotReplyToPureRenote: {
|
cannotReplyToPureRenote: {
|
||||||
message: "You can not reply to a pure Renote.",
|
message: "You cannot reply to a pure Renote.",
|
||||||
code: "CANNOT_REPLY_TO_A_PURE_RENOTE",
|
code: "CANNOT_REPLY_TO_A_PURE_RENOTE",
|
||||||
id: "3ac74a84-8fd5-4bb0-870f-01804f82ce15",
|
id: "3ac74a84-8fd5-4bb0-870f-01804f82ce15",
|
||||||
},
|
},
|
||||||
|
@ -130,7 +130,7 @@ export const meta = {
|
||||||
},
|
},
|
||||||
|
|
||||||
cannotPrivateRenote: {
|
cannotPrivateRenote: {
|
||||||
message: "You can not perform a private renote.",
|
message: "You cannot perform a private renote.",
|
||||||
code: "CANNOT_PRIVATE_RENOTE",
|
code: "CANNOT_PRIVATE_RENOTE",
|
||||||
id: "19a50f1c-84fa-4e33-81d3-17834ccc0ad8",
|
id: "19a50f1c-84fa-4e33-81d3-17834ccc0ad8",
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,7 +10,7 @@ export const meta = {
|
||||||
kind: "write:user-groups",
|
kind: "write:user-groups",
|
||||||
|
|
||||||
description:
|
description:
|
||||||
"Leave a group. The owner of a group can not leave. They must transfer ownership or delete the group instead.",
|
"Leave a group. The owner of a group cannot leave. They must transfer ownership or delete the group instead.",
|
||||||
|
|
||||||
errors: {
|
errors: {
|
||||||
noSuchGroup: {
|
noSuchGroup: {
|
||||||
|
|
|
@ -11,7 +11,7 @@ export const meta = {
|
||||||
kind: "write:user-groups",
|
kind: "write:user-groups",
|
||||||
|
|
||||||
description:
|
description:
|
||||||
"Removes a specified user from a group. The owner can not be removed.",
|
"Removes a specified user from a group. The owner cannot be removed.",
|
||||||
|
|
||||||
errors: {
|
errors: {
|
||||||
noSuchGroup: {
|
noSuchGroup: {
|
||||||
|
|
|
@ -38,7 +38,7 @@ export async function addPinned(
|
||||||
if (pinings.length >= 5) {
|
if (pinings.length >= 5) {
|
||||||
throw new IdentifiableError(
|
throw new IdentifiableError(
|
||||||
"15a018eb-58e5-4da1-93be-330fcc5e4e1a",
|
"15a018eb-58e5-4da1-93be-330fcc5e4e1a",
|
||||||
"You can not pin notes any more.",
|
"You cannot pin notes any more.",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue