Add localizations

This commit is contained in:
Justin Edmund 2023-01-27 23:44:41 -08:00
parent 52875ebb1e
commit 534d608171
3 changed files with 17 additions and 3 deletions

View file

@ -217,7 +217,7 @@ const Header = () => {
open={copyToastOpen} open={copyToastOpen}
duration={2400} duration={2400}
type="foreground" type="foreground"
content="This party's URL was copied to your clipboard" content={t('toasts.copied')}
onOpenChange={handleCopyToastOpenChanged} onOpenChange={handleCopyToastOpenChanged}
onCloseClick={handleCopyToastCloseClicked} onCloseClick={handleCopyToastCloseClicked}
/> />
@ -233,7 +233,7 @@ const Header = () => {
Saved: party.favorited, Saved: party.favorited,
})} })}
blended={true} blended={true}
text={party.favorited ? 'Saved' : 'Save'} text={party.favorited ? t('buttons.saved') : t('buttons.save')}
onClick={toggleFavorite} onClick={toggleFavorite}
/> />
) )
@ -245,7 +245,7 @@ const Header = () => {
leftAccessoryIcon={<RemixIcon />} leftAccessoryIcon={<RemixIcon />}
className="Remix" className="Remix"
blended={true} blended={true}
text="Remix" text={t('buttons.remix')}
onClick={remixTeam} onClick={remixTeam}
/> />
) )

View file

@ -39,6 +39,9 @@
"show_info": "Edit info", "show_info": "Edit info",
"hide_info": "Hide info", "hide_info": "Hide info",
"save_info": "Save info", "save_info": "Save info",
"remix": "Remix",
"save": "Save",
"saved": "Saved",
"menu": "Menu", "menu": "Menu",
"new": "New", "new": "New",
"wiki": "View more on gbf.wiki" "wiki": "View more on gbf.wiki"
@ -384,6 +387,9 @@
"no_skill": "No skill" "no_skill": "No skill"
} }
}, },
"toasts": {
"copied": "This party's URL was copied to your clipboard"
},
"extra_weapons": "Additional Weapons", "extra_weapons": "Additional Weapons",
"equipped": "Equipped", "equipped": "Equipped",
"coming_soon": "Coming Soon", "coming_soon": "Coming Soon",
@ -394,5 +400,6 @@
"no_user": "Anonymous", "no_user": "Anonymous",
"no_job": "No class", "no_job": "No class",
"no_value": "No value", "no_value": "No value",
"remixes": "Remixes",
"level": "Level" "level": "Level"
} }

View file

@ -39,6 +39,9 @@
"show_info": "詳細を編集", "show_info": "詳細を編集",
"save_info": "詳細を保存", "save_info": "詳細を保存",
"hide_info": "詳細を非表示", "hide_info": "詳細を非表示",
"remix": "リミックス",
"save": "保存する",
"saved": "保存",
"menu": "メニュー", "menu": "メニュー",
"new": "作成", "new": "作成",
"wiki": "gbf.wikiで詳しく見る" "wiki": "gbf.wikiで詳しく見る"
@ -385,6 +388,9 @@
"no_skill": "設定されていません" "no_skill": "設定されていません"
} }
}, },
"toasts": {
"copied": "この編成のURLはクリップボードにコピーされました"
},
"equipped": "装備した", "equipped": "装備した",
"extra_weapons": "Additional Weapons", "extra_weapons": "Additional Weapons",
"coming_soon": "開発中", "coming_soon": "開発中",
@ -395,5 +401,6 @@
"no_user": "無名", "no_user": "無名",
"no_job": "ジョブなし", "no_job": "ジョブなし",
"no_value": "値なし", "no_value": "値なし",
"remixes": "リミックスされた編成",
"level": "レベル" "level": "レベル"
} }