mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 13:22:18 +02:00
Two translations
This commit is contained in:
parent
68c9dafcbc
commit
d8b874ce51
@ -63,5 +63,7 @@ export const menu: SimpleTranslationEntries = {
|
|||||||
"cycleGender": 'G: Cycle Gender',
|
"cycleGender": 'G: Cycle Gender',
|
||||||
"cycleAbility": 'E: Cycle Ability',
|
"cycleAbility": 'E: Cycle Ability',
|
||||||
"cycleNature": 'N: Cycle Nature',
|
"cycleNature": 'N: Cycle Nature',
|
||||||
"cycleVariant": 'V: Cycle Variant'
|
"cycleVariant": 'V: Cycle Variant',
|
||||||
|
"enablePassive": "Enable Passive",
|
||||||
|
"disablePassive": "Disable Passive"
|
||||||
} as const;
|
} as const;
|
@ -63,5 +63,7 @@ export const menu: SimpleTranslationEntries = {
|
|||||||
"cycleGender": 'G: Cycle Gender',
|
"cycleGender": 'G: Cycle Gender',
|
||||||
"cycleAbility": 'E: Cycle Ability',
|
"cycleAbility": 'E: Cycle Ability',
|
||||||
"cycleNature": 'N: Cycle Nature',
|
"cycleNature": 'N: Cycle Nature',
|
||||||
"cycleVariant": 'V: Cycle Variant'
|
"cycleVariant": 'V: Cycle Variant',
|
||||||
|
"enablePassive": "Enable Passive",
|
||||||
|
"disablePassive": "Disable Passive"
|
||||||
} as const;
|
} as const;
|
@ -63,5 +63,7 @@ export const menu: SimpleTranslationEntries = {
|
|||||||
"cycleGender": 'G: Cambiar Género',
|
"cycleGender": 'G: Cambiar Género',
|
||||||
"cycleAbility": 'E: Cambiar Habilidad',
|
"cycleAbility": 'E: Cambiar Habilidad',
|
||||||
"cycleNature": 'N: Cambiar Naturaleza',
|
"cycleNature": 'N: Cambiar Naturaleza',
|
||||||
"cycleVariant": 'V: Cambiar Variante'
|
"cycleVariant": 'V: Cambiar Variante',
|
||||||
|
"enablePassive": "Activar Pasiva",
|
||||||
|
"disablePassive": "Desactivar Pasiva"
|
||||||
} as const;
|
} as const;
|
@ -58,5 +58,7 @@ export const menu: SimpleTranslationEntries = {
|
|||||||
"cycleGender": 'G: Cycle Gender',
|
"cycleGender": 'G: Cycle Gender',
|
||||||
"cycleAbility": 'E: Cycle Ability',
|
"cycleAbility": 'E: Cycle Ability',
|
||||||
"cycleNature": 'N: Cycle Nature',
|
"cycleNature": 'N: Cycle Nature',
|
||||||
"cycleVariant": 'V: Cycle Variant'
|
"cycleVariant": 'V: Cycle Variant',
|
||||||
|
"enablePassive": "Enable Passive",
|
||||||
|
"disablePassive": "Disable Passive"
|
||||||
} as const;
|
} as const;
|
||||||
|
@ -63,5 +63,7 @@ export const menu: SimpleTranslationEntries = {
|
|||||||
"cycleGender": 'G: Cycle Gender',
|
"cycleGender": 'G: Cycle Gender',
|
||||||
"cycleAbility": 'E: Cycle Ability',
|
"cycleAbility": 'E: Cycle Ability',
|
||||||
"cycleNature": 'N: Cycle Nature',
|
"cycleNature": 'N: Cycle Nature',
|
||||||
"cycleVariant": 'V: Cycle Variant'
|
"cycleVariant": 'V: Cycle Variant',
|
||||||
|
"enablePassive": "Enable Passive",
|
||||||
|
"disablePassive": "Disable Passive"
|
||||||
} as const;
|
} as const;
|
@ -836,7 +836,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
|||||||
if (passiveAttr & PassiveAttr.UNLOCKED) {
|
if (passiveAttr & PassiveAttr.UNLOCKED) {
|
||||||
if (!(passiveAttr & PassiveAttr.ENABLED)) {
|
if (!(passiveAttr & PassiveAttr.ENABLED)) {
|
||||||
options.push({
|
options.push({
|
||||||
label: 'Enable Passive',
|
label: i18next.t("menu:enablePassive"),
|
||||||
handler: () => {
|
handler: () => {
|
||||||
starterData.passiveAttr |= PassiveAttr.ENABLED;
|
starterData.passiveAttr |= PassiveAttr.ENABLED;
|
||||||
ui.setMode(Mode.STARTER_SELECT);
|
ui.setMode(Mode.STARTER_SELECT);
|
||||||
@ -846,7 +846,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
options.push({
|
options.push({
|
||||||
label: 'Disable Passive',
|
label: i18next.t("menu:disablePassive"),
|
||||||
handler: () => {
|
handler: () => {
|
||||||
starterData.passiveAttr ^= PassiveAttr.ENABLED;
|
starterData.passiveAttr ^= PassiveAttr.ENABLED;
|
||||||
ui.setMode(Mode.STARTER_SELECT);
|
ui.setMode(Mode.STARTER_SELECT);
|
||||||
|
Loading…
Reference in New Issue
Block a user