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