diff --git a/components/CharacterUnit/index.tsx b/components/CharacterUnit/index.tsx index 317e46f6..3e6ec5b0 100644 --- a/components/CharacterUnit/index.tsx +++ b/components/CharacterUnit/index.tsx @@ -179,10 +179,10 @@ const CharacterUnit = ({ - Modify character + {t('context.modify.character')} - Remove from grid + {t('context.remove')} diff --git a/components/WeaponUnit/index.tsx b/components/WeaponUnit/index.tsx index e282f2c0..31c04371 100644 --- a/components/WeaponUnit/index.tsx +++ b/components/WeaponUnit/index.tsx @@ -458,13 +458,13 @@ const WeaponUnit = ({ {canBeModified(gridWeapon) ? ( - Modify weapon + {t('context.modify.weapon')} ) : ( '' )} - Remove from grid + {t('context.remove')} diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 6e148886..cb495881 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -32,6 +32,14 @@ "new": "New", "wiki": "View more on gbf.wiki" }, + "context": { + "modify": { + "character": "Modify character", + "summon": "Modify summon", + "weapon": "Modify weapon" + }, + "remove": "Remove from grid" + }, "filters": { "labels": { "element": "Element", diff --git a/public/locales/ja/common.json b/public/locales/ja/common.json index 7b4b2898..207cea38 100644 --- a/public/locales/ja/common.json +++ b/public/locales/ja/common.json @@ -32,6 +32,14 @@ "new": "作成", "wiki": "gbf.wikiで詳しく見る" }, + "context": { + "modify": { + "character": "キャラクターを変更", + "summon": "召喚石を変更", + "weapon": "武器を変更" + }, + "remove": "編成から削除" + }, "filters": { "labels": { "element": "属性",