From a1cfab66cf5dc25dfd6f0059ceb09a5ec41c8620 Mon Sep 17 00:00:00 2001 From: KMY Date: Mon, 24 Jul 2023 11:36:29 +0900 Subject: [PATCH] Fix translations --- app/views/admin/ng_words/show.html.haml | 2 +- config/locales/en.yml | 4 ++++ config/locales/ja.yml | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/views/admin/ng_words/show.html.haml b/app/views/admin/ng_words/show.html.haml index 4168b135c0..fe997df0e4 100644 --- a/app/views/admin/ng_words/show.html.haml +++ b/app/views/admin/ng_words/show.html.haml @@ -8,7 +8,7 @@ = render 'shared/error_messages', object: @admin_settings .fields-group - = f.input :ng_words, wrapper: :with_label, as: :text, input_html: { rows: 12 }, label: t('antennas.edit.keywords_raw') + = f.input :ng_words, wrapper: :with_label, as: :text, input_html: { rows: 12 }, label: t('admin.ng_words.keywords') .actions = f.button :button, t('generic.save_changes'), type: :submit diff --git a/config/locales/en.yml b/config/locales/en.yml index 9867ab6a58..7e359ce134 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -595,6 +595,9 @@ en: title: IP rules media_attachments: title: Media attachments + ng_words: + keywords: Reject keywords + title: NG words and against spams relationships: title: "%{acct}'s relationships" relays: @@ -1710,6 +1713,7 @@ en: one: "%{count} video" other: "%{count} videos" boosted_from_html: Boosted from %{acct_link} + contains_ng_words: The post contains NG words content_warning: 'Content warning: %{warning}' default_language: Same as interface language disallowed_hashtags: diff --git a/config/locales/ja.yml b/config/locales/ja.yml index 1dbd259a34..afe8b5759f 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -594,6 +594,9 @@ ja: title: IPルール media_attachments: title: 投稿された画像 + ng_words: + keywords: 投稿できないキーワード + title: NGワードとスパム relationships: title: "%{acct} さんのフォロー・フォロワー" relays: @@ -1694,6 +1697,7 @@ ja: video: other: "%{count}本の動画" boosted_from_html: '%{acct_link}からブースト' + contains_ng_words: 投稿できない単語が含まれています content_warning: '閲覧注意: %{warning}' default_language: UIの表示言語 disallowed_hashtags: