From 7afd44595254f9f93d0e73fdf4d52e85978bc755 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 16 Jun 2023 16:21:11 -0700 Subject: [PATCH] Add translation for "Selected" text --- components/raids/RaidItem/index.tsx | 2 +- public/locales/en/common.json | 3 +++ public/locales/ja/common.json | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/components/raids/RaidItem/index.tsx b/components/raids/RaidItem/index.tsx index d76cf05c..328caf49 100644 --- a/components/raids/RaidItem/index.tsx +++ b/components/raids/RaidItem/index.tsx @@ -72,7 +72,7 @@ const RaidItem = React.forwardRef>( > {icon ? {icon.alt} : ''} {children} - {selected ? Selected : ''} + {selected ? {t('combobox.selected')} : ''} {extra ? EX : ''} ) diff --git a/public/locales/en/common.json b/public/locales/en/common.json index c920d4f5..2ce2bf8b 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -46,6 +46,9 @@ "new": "New", "wiki": "View more on gbf.wiki" }, + "combobox": { + "selected": "Selected" + }, "context": { "modify": { "character": "Modify character", diff --git a/public/locales/ja/common.json b/public/locales/ja/common.json index caf172e6..9b262c24 100644 --- a/public/locales/ja/common.json +++ b/public/locales/ja/common.json @@ -46,6 +46,9 @@ "new": "作成", "wiki": "gbf.wikiで詳しく見る" }, + "combobox": { + "selected": "選択済み" + }, "context": { "modify": { "character": "キャラクターを変更",