pokerogue/public/locales/it/move-trigger.json
flx-sta 95386861bb
[Qol][Refactor] i18n lazy-loading (#4327)
* move: locales files to `/public` (from `/src`)

* install: i18next-http-backend module

* implement: i18next language lazy-loading

* remove: all `config.ts` files (for locales)

* disable: enConfig import in i18next.d.ts

* remove: console.log from utils.camelCaseToKebabCase()

* remove localization tests

we don't need to test if i18next is working.
This is the job of i18next itself

* mock i18next for tests

* fix: tests that have to use the i18next key now

instead of the english translation

* fix: absolute-avarice-encounter test

* fix: loading mystery-encounter translations

with lazy-load

* fix: 2 mystery encounter translation loading

* replace: i18next mocks any vi.fn() calls

* fix: new namespace usage in ME tests

now using "mysteryEncounters/..."

* fix: delibirdy encounter not being language specific

the encounter was checking if the modifier name includes `Berry` which is only true for english. Instead it has to check if the modifier is an instance of BerryModifier

* fix: the-expert-pokemon-breeder

the new i18n pattern requires a different namespacing which has been adopted

* fix: GTS encounter tests

* add: `MockText.on()`

* fix: berries abound test

* chore: apply review suggestion

from @DayKev

* update i18next.d.ts

* chore: fix i18next.d.ts

* fix: `dialogue-misc` switchup between `en` and `ja`

* move: `SpeciesFormKey` into enum

there was an issue with circular dependencies

* replace: `#app/enums/` with `#enums/` for `SpeciesFormKey` imports

* re-sync locales from `beta`

* rename: `ca_ES` -> `ca-ES`

* rename: `pt_BR` -> `pt-BR`

* rename: `zh_CN` -> `zh-CN`

* rename: `zh_TW` -> `zh-TW`

* fix loading Species-Form-Key in poemon-evo.

* update: i18next `supporterLngs` ...

and remove `nonExplicitSupportedLngs`

* fix: `${namespace}.` -> `${namespace}:`

thanks @MokaStitcher
2024-10-01 21:55:16 +01:00

73 lines
5.2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"hitWithRecoil": "{{pokemonName}} ha subito il contraccolpo!",
"cutHpPowerUpMove": "{{pokemonName}} riduce i suoi PS per potenziare la sua mossa!",
"absorbedElectricity": "{{pokemonName}} assorbe elettricità!",
"switchedStatChanges": "{{pokemonName}} scambia con il bersaglio le modifiche alle statistiche!",
"switchedTwoStatChanges": "{{pokemonName}} scambia con il bersaglio le modifiche a {{firstStat}} e {{secondStat}}!",
"switchedStat": "{{pokemonName}} scambia la sua {{stat}} con quella del bersaglio!",
"sharedGuard": "{{pokemonName}} somma le sue capacità difensive con quelle del bersaglio e le ripartisce equamente!",
"sharedPower": "{{pokemonName}} somma le sue capacità offensive con quelle del bersaglio e le ripartisce equamente!",
"goingAllOutForAttack": "{{pokemonName}} fa sul serio!",
"regainedHealth": "{{pokemonName}} s'è\nripreso!",
"keptGoingAndCrashed": "{{pokemonName}} si sbilancia e\nsi schianta!",
"fled": "{{pokemonName}} è fuggito!",
"cannotBeSwitchedOut": "{{pokemonName}} non può essere sostituito!",
"swappedAbilitiesWithTarget": "{{pokemonName}} scambia la sua\nabilità con il bersaglio!",
"coinsScatteredEverywhere": "Ci sono monete sparse ovunque!",
"attackedByItem": "{{itemName}} attacca {{pokemonName}}!",
"whippedUpAWhirlwind": "{{pokemonName}} genera un\nuragano!",
"flewUpHigh": "{{pokemonName}} vola\nin alto!",
"tookInSunlight": "{{pokemonName}} assorbe la luce!",
"dugAHole": "{{pokemonName}} si nasconde sottoterra!",
"loweredItsHead": "{{pokemonName}} abbassa la testa!",
"isGlowing": "{{pokemonName}} è avvolto da una luce intensa!",
"bellChimed": "\tSi sente suonare una campanella!",
"foresawAnAttack": "{{pokemonName}} presagisce\nlattacco imminente!",
"isTighteningFocus": "{{pokemonName}} si concentra al massimo!",
"hidUnderwater": "{{pokemonName}} sparisce\nsottacqua!",
"soothingAromaWaftedThroughArea": "Un gradevole profumo si diffonde nellaria!",
"sprangUp": "{{pokemonName}} spicca un gran balzo!",
"choseDoomDesireAsDestiny": "{{pokemonName}} ipoteca\nil futuro con Desiderio Fatale!",
"vanishedInstantly": "{{pokemonName}} sparisce\nimprovvisamente!",
"tookTargetIntoSky": "{{pokemonName}} trascina\nin aria {{targetName}}!",
"becameCloakedInFreezingLight": "{{pokemonName}} è avvolto da\nuna luce fredda!",
"becameCloakedInFreezingAir": "{{pokemonName}} è avvolto da\nunatmosfera gelida!",
"isChargingPower": "{{pokemonName}} accumula energia!",
"burnedItselfOut": "Le fiamme di {{pokemonName}} si sono spente!",
"startedHeatingUpBeak": "{{pokemonName}} inizia a\nscaldare il becco!",
"setUpShellTrap": "{{pokemonName}} ha preparato\nla Gusciotrappola!",
"isOverflowingWithSpacePower": "La forza delluniverso pervade {{pokemonName}}!",
"usedUpAllElectricity": "{{pokemonName}} ha usato tutta la sua elettricità!",
"stoleItem": "{{pokemonName}} ruba\nil/lo/la {{itemName}} di {{targetName}}!",
"incineratedItem": "{{pokemonName}} incenerisce\nil/lo/la {{itemName}} di {{targetName}}!",
"knockedOffItem": "{{pokemonName}} fa cadere\nil/lo/la {{itemName}} di {{targetName}}!",
"tookMoveAttack": "{{pokemonName}} attira\nl'attacco {{moveName}} su di sé!",
"cutOwnHpAndMaximizedStat": "{{pokemonName}} riduce i suoi PS\ne aumenta al massimo il/la suo/a {{statName}}!",
"copiedStatChanges": "{{pokemonName}} copia\nle modifiche alle statistiche di {{targetName}}!",
"magnitudeMessage": "Magnitudo {{magnitude}}!",
"tookAimAtTarget": "{{pokemonName}} prende la mira\nsu {{targetName}}!",
"transformedIntoType": "{{pokemonName}} è diventato\ndi tipo {{typeName}}!",
"copiedMove": "{{pokemonName}} copia\n{{moveName}}!",
"sketchedMove": "{{pokemonName}} disegna uno schizzo\ndella mossa {{moveName}}!",
"acquiredAbility": "Labilità di {{pokemonName}}\nè ora {{abilityName}}!",
"copiedTargetAbility": "{{pokemonName}} copia labilità {{abilityName}}\ndi {{targetName}}!",
"transformedIntoTarget": "{{pokemonName}} assume le sembianze\ndi {{targetName}}!",
"tryingToTakeFoeDown": "{{pokemonName}} tenta di far subire a chi lo manda KO la sua stessa sorte!",
"addType": "Adesso {{pokemonName}} è anche\ndi tipo {{typeName}}!",
"cannotUseMove": "{{pokemonName}} non può usare {{moveName}}!",
"healHp": "{{pokemonName}} ha recuperato dei PS.",
"sacrificialFullRestore": "{{pokemonName}} riceve i benefici\neffetti di Curardore!",
"invertStats": "Le modifiche alle statistiche di {{pokemonName}}\nvengono invertite!",
"resetStats": "Tutte le modifiche alle statistiche sono state annullate!",
"statEliminated": "Tutte le modifiche alle statistiche sono state annullate!",
"faintCountdown": "{{pokemonName}}\nandrà KO dopo {{turnCount}} turni.",
"copyType": "{{pokemonName}} assume il tipo\ndi {{targetPokemonName}}!",
"suppressAbilities": "Labilità di {{pokemonName}}\nperde ogni efficacia!",
"revivalBlessing": "{{pokemonName}} torna in forze!",
"swapArenaTags": "{{pokemonName}} ha invertito gli effetti attivi\nnelle due metà del campo!",
"exposedMove": "{{pokemonName}} ha identificato\n{{targetPokemonName}}!",
"chillyReception": "{{pokemonName}} sta per fare una battuta!",
"safeguard": "Salvaguardia protegge {{targetName}}!",
"afterYou": "{{targetName}} approfitta della cortesia!"
}