Add translations
This commit is contained in:
parent
54d67260c9
commit
3417eab46e
4 changed files with 20 additions and 4 deletions
|
|
@ -179,10 +179,10 @@ const CharacterUnit = ({
|
|||
</ContextMenuTrigger>
|
||||
<ContextMenuContent align="start">
|
||||
<ContextMenuItem onSelect={openCharacterModal}>
|
||||
Modify character
|
||||
{t('context.modify.character')}
|
||||
</ContextMenuItem>
|
||||
<ContextMenuItem onSelect={openRemoveCharacterAlert}>
|
||||
Remove from grid
|
||||
{t('context.remove')}
|
||||
</ContextMenuItem>
|
||||
</ContextMenuContent>
|
||||
</ContextMenu>
|
||||
|
|
|
|||
|
|
@ -458,13 +458,13 @@ const WeaponUnit = ({
|
|||
<ContextMenuContent align="start">
|
||||
{canBeModified(gridWeapon) ? (
|
||||
<ContextMenuItem onSelect={openWeaponModal}>
|
||||
Modify weapon
|
||||
{t('context.modify.weapon')}
|
||||
</ContextMenuItem>
|
||||
) : (
|
||||
''
|
||||
)}
|
||||
<ContextMenuItem onSelect={openRemoveWeaponAlert}>
|
||||
Remove from grid
|
||||
{t('context.remove')}
|
||||
</ContextMenuItem>
|
||||
</ContextMenuContent>
|
||||
</ContextMenu>
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -32,6 +32,14 @@
|
|||
"new": "作成",
|
||||
"wiki": "gbf.wikiで詳しく見る"
|
||||
},
|
||||
"context": {
|
||||
"modify": {
|
||||
"character": "キャラクターを変更",
|
||||
"summon": "召喚石を変更",
|
||||
"weapon": "武器を変更"
|
||||
},
|
||||
"remove": "編成から削除"
|
||||
},
|
||||
"filters": {
|
||||
"labels": {
|
||||
"element": "属性",
|
||||
|
|
|
|||
Loading…
Reference in a new issue