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

View file

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

View file

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