diff --git a/locales/en-US.yml b/locales/en-US.yml index c202d53d1..da49a6094 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -528,6 +528,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" @@ -1045,6 +1046,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 045db3c84..d52929c54 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -4207,6 +4207,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 7465bdbb0..c5db3bd21 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1047,6 +1047,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