diff --git a/locales/en-US.yml b/locales/en-US.yml index 437049fb7c..5d0d4982fe 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -524,6 +524,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" @@ -1051,6 +1052,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 boosts you've already seen" collapseFiles: "Collapse files" autoloadConversation: "Load conversation on replies" diff --git a/locales/index.d.ts b/locales/index.d.ts index d9f5a1ea73..11beff971d 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -4225,6 +4225,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 eed9c717aa..4c433e7254 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1052,6 +1052,9 @@ thisPostMayBeAnnoying: "この投稿は迷惑になる可能性があります thisPostMayBeAnnoyingHome: "ホームに投稿" thisPostMayBeAnnoyingCancel: "やめる" thisPostMayBeAnnoyingIgnore: "このまま投稿" +thisPostIsMissingAltTextCancel: "やめる" +thisPostIsMissingAltTextIgnore: "このまま投稿" +thisPostIsMissingAltText: "この投稿に添付されたファイルの 1 つに代替テキストがありません。すべての添付ファイルに代替テキストが含まれていることを確認してください。" collapseRenotes: "見たことのあるブーストを省略して表示" collapseFiles: "ファイルを折りたたむ" autoloadConversation: "返信に会話を読み込む" diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 5e4c6dacf4..aad2f80871 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