diff --git a/locales/en-US.yml b/locales/en-US.yml index 55ae35807..ecb64e024 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -529,6 +529,7 @@ mediaListWithOneImageAppearance: "Height of media lists with one image only" limitTo: "Limit to {x}" noFollowRequests: "You don't have any pending follow requests" openImageInNewTab: "Open images in new tab" +warnForMissingAltText: "Warn you when you forget to put alt text" dashboard: "Dashboard" local: "Local" remote: "Remote" @@ -1046,6 +1047,9 @@ thisPostMayBeAnnoying: "This note may annoy others." thisPostMayBeAnnoyingHome: "Post to home timeline" thisPostMayBeAnnoyingCancel: "Cancel" thisPostMayBeAnnoyingIgnore: "Post anyway" +thisPostIsMissingAltTextCancel: "Cancel" +thisPostIsMissingAltTextIgnore: "Post anyway" +thisPostIsMissingAltText: "One of the files attached to this post is missing alt text. Please ensure all the attachments have alt text." collapseRenotes: "Collapse renotes you've already seen" internalServerError: "Internal Server Error" internalServerErrorDescription: "The server has run into an unexpected error." diff --git a/locales/index.d.ts b/locales/index.d.ts index 8aa41332e..bd9c350b6 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -4211,6 +4211,18 @@ export interface Locale extends ILocale { * このまま投稿 */ "thisPostMayBeAnnoyingIgnore": string; + /** + * やめる + */ + "thisPostIsMissingAltTextCancel": string; + /** + * このまま投稿 + */ + "thisPostIsMissingAltTextIgnore": string; + /** + * この投稿に添付されたファイルの 1 つに代替テキストがありません。すべての添付ファイルに代替テキストが含まれていることを確認してください。 + */ + "thisPostIsMissingAltText": string; /** * 見たことのあるリノートを省略して表示 */ diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 3037af73d..9fa66a8f1 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1048,6 +1048,9 @@ thisPostMayBeAnnoying: "この投稿は迷惑になる可能性があります thisPostMayBeAnnoyingHome: "ホームに投稿" thisPostMayBeAnnoyingCancel: "やめる" thisPostMayBeAnnoyingIgnore: "このまま投稿" +thisPostIsMissingAltTextCancel: "やめる" +thisPostIsMissingAltTextIgnore: "このまま投稿" +thisPostIsMissingAltText: "この投稿に添付されたファイルの 1 つに代替テキストがありません。すべての添付ファイルに代替テキストが含まれていることを確認してください。" collapseRenotes: "見たことのあるリノートを省略して表示" internalServerError: "サーバー内部エラー" internalServerErrorDescription: "サーバー内部で予期しないエラーが発生しました。" diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 00e5f3966..27dc8a5f4 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -101,7 +101,7 @@ SPDX-License-Identifier: AGPL-3.0-only