Fix translations on unsaved changes dialogs
This commit is contained in:
parent
aabd7de207
commit
0180042fad
4 changed files with 23 additions and 13 deletions
|
|
@ -270,7 +270,7 @@ const CharacterModal = ({
|
||||||
<Alert
|
<Alert
|
||||||
message={
|
message={
|
||||||
<span>
|
<span>
|
||||||
<Trans i18nKey="alerts.unsaved_changes.object">
|
<Trans i18nKey="alert.unsaved_changes.object">
|
||||||
You will lose all changes to{' '}
|
You will lose all changes to{' '}
|
||||||
<strong>{{ objectName: gridCharacter.object.name[locale] }}</strong>{' '}
|
<strong>{{ objectName: gridCharacter.object.name[locale] }}</strong>{' '}
|
||||||
if you continue.
|
if you continue.
|
||||||
|
|
@ -281,9 +281,9 @@ const CharacterModal = ({
|
||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
open={alertOpen}
|
open={alertOpen}
|
||||||
primaryActionText="Close"
|
primaryActionText={t('alert.unsaved_changes.buttons.confirm')}
|
||||||
primaryAction={close}
|
primaryAction={close}
|
||||||
cancelActionText="Nevermind"
|
cancelActionText={t('alert.unsaved_changes.buttons.cancel')}
|
||||||
cancelAction={() => setAlertOpen(false)}
|
cancelAction={() => setAlertOpen(false)}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -444,7 +444,7 @@ const WeaponModal = ({
|
||||||
<Alert
|
<Alert
|
||||||
message={
|
message={
|
||||||
<span>
|
<span>
|
||||||
<Trans i18nKey="alerts.unsaved_changes.object">
|
<Trans i18nKey="alert.unsaved_changes.object">
|
||||||
You will lose all changes to{' '}
|
You will lose all changes to{' '}
|
||||||
<strong>{{ objectName: gridWeapon.object.name[locale] }}</strong> if
|
<strong>{{ objectName: gridWeapon.object.name[locale] }}</strong> if
|
||||||
you continue.
|
you continue.
|
||||||
|
|
@ -455,9 +455,9 @@ const WeaponModal = ({
|
||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
open={alertOpen}
|
open={alertOpen}
|
||||||
primaryActionText="Close"
|
primaryActionText={t('alert.unsaved_changes.buttons.confirm')}
|
||||||
primaryAction={close}
|
primaryAction={close}
|
||||||
cancelActionText="Nevermind"
|
cancelActionText={t('alert.unsaved_changes.buttons.cancel')}
|
||||||
cancelAction={() => setAlertOpen(false)}
|
cancelAction={() => setAlertOpen(false)}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -12,11 +12,15 @@
|
||||||
},
|
},
|
||||||
"alert": {
|
"alert": {
|
||||||
"confirm_logout": "Are you sure you want to log out?",
|
"confirm_logout": "Are you sure you want to log out?",
|
||||||
|
"incompatible_weapon": "You've selected a weapon that can't be added to the Additional Weapon slots.",
|
||||||
"unsaved_changes": {
|
"unsaved_changes": {
|
||||||
"party": "You will lose all changes to your party <strong>{objectName}</strong> if you continue.<br/><br/>Are you sure you want to continue without saving?",
|
"party": "You will lose all changes to your party <strong>{{objectName}}</strong> if you continue.<br/><br/>Are you sure you want to continue without saving?",
|
||||||
"object": "You will lose all changes to <strong>{objectName}</strong> if you continue.<br/><br/>Are you sure you want to continue without saving?"
|
"object": "You will lose all changes to <strong>{{objectName}}</strong> if you continue.<br/><br/>Are you sure you want to continue without saving?",
|
||||||
},
|
"buttons": {
|
||||||
"incompatible_weapon": "You've selected a weapon that can't be added to the Additional Weapon slots."
|
"confirm": "Continue without saving",
|
||||||
|
"cancel": "Nevermind"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"ax": {
|
"ax": {
|
||||||
"no_skill": "No AX Skill",
|
"no_skill": "No AX Skill",
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,15 @@
|
||||||
},
|
},
|
||||||
"alert": {
|
"alert": {
|
||||||
"confirm_logout": "ログアウトしますか",
|
"confirm_logout": "ログアウトしますか",
|
||||||
"unsaved_changes_party": "<strong>「{objectName}」</strong>という編成の変更は保存していません。<br/><br/>変更を保存せずに続けますか?",
|
"incompatible_weapon": "Additional Weaponsに装備できない武器を入れました。",
|
||||||
"unsaved_changes_object": "<strong>「{objectName}」</strong>の変更は保存していません。<br/><br/>変更を保存せずに続けますか?",
|
"unsaved_changes": {
|
||||||
"incompatible_weapon": "Additional Weaponsに装備できない武器を入れました。"
|
"party": "<strong>「{{objectName}}」</strong>という編成の変更は保存していません。<br/><br/>変更を保存せずに続けますか?",
|
||||||
|
"object": "<strong>「{{objectName}}」</strong>の変更は保存していません。<br/><br/>変更を保存せずに続けますか?",
|
||||||
|
"buttons": {
|
||||||
|
"confirm": "変更せずに続ける",
|
||||||
|
"cancel": "キャンセル"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"ax": {
|
"ax": {
|
||||||
"no_skill": "EXスキルなし",
|
"no_skill": "EXスキルなし",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue