Added Italian translations for ability.ts and other element (#471)

This commit is contained in:
Alessandro Bruzzese 2024-05-05 04:00:28 +02:00 committed by GitHub
parent 18a1c152c0
commit 41f9420c90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 6269 additions and 94 deletions

1244
src/locales/it/ability.ts Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,52 +1,52 @@
import { SimpleTranslationEntries } from "#app/plugins/i18n"; import { SimpleTranslationEntries } from "#app/plugins/i18n";
export const battle: SimpleTranslationEntries = { export const battle: SimpleTranslationEntries = {
"bossAppeared": "{{bossName}} appeared.", "bossAppeared": "{{bossName}} è apparso.",
"trainerAppeared": "{{trainerName}}\nwould like to battle!", "trainerAppeared": "{{trainerName}}\nvuole combattere!",
"singleWildAppeared": "A wild {{pokemonName}} appeared!", "singleWildAppeared": "Appare {{pokemonName}} selvatico!",
"multiWildAppeared": "A wild {{pokemonName1}}\nand {{pokemonName2}} appeared!", "multiWildAppeared": "Appaiono {{pokemonName1}}\ne {{pokemonName2}} salvatici!",
"playerComeBack": "Come back, {{pokemonName}}!", "playerComeBack": "Rientra, {{pokemonName}}!",
"trainerComeBack": "{{trainerName}} withdrew {{pokemonName}}!", "trainerComeBack": "{{trainerName}} ha ritirato {{pokemonName}}!",
"playerGo": "Go! {{pokemonName}}!", "playerGo": "Vai! {{pokemonName}}!",
"trainerGo": "{{trainerName}} sent out {{pokemonName}}!", "trainerGo": "{{trainerName}} manda in campo {{pokemonName}}!",
"switchQuestion": "Will you switch\n{{pokemonName}}?", "switchQuestion": "Vuoi cambiare\n{{pokemonName}}?",
"trainerDefeated": `You defeated\n{{trainerName}}!`, "trainerDefeated": `Hai sconfitto\n{{trainerName}}!`,
"pokemonCaught": "{{pokemonName}} was caught!", "pokemonCaught": "{{pokemonName}} è stato catturato!",
"pokemon": "Pokémon", "pokemon": "Pokémon",
"sendOutPokemon": "Go! {{pokemonName}}!", "sendOutPokemon": "Vai! {{pokemonName}}!",
"hitResultCriticalHit": "A critical hit!", "hitResultCriticalHit": "Brutto colpo!",
"hitResultSuperEffective": "It's super effective!", "hitResultSuperEffective": "È superefficace!",
"hitResultNotVeryEffective": "It's not very effective…", "hitResultNotVeryEffective": "Non è molto efficace…",
"hitResultNoEffect": "It doesn't affect {{pokemonName}}!", "hitResultNoEffect": "Non ha effetto su {{pokemonName}}!",
"hitResultOneHitKO": "It's a one-hit KO!", "hitResultOneHitKO": "È KO con un colpo solo!",
"attackFailed": "But it failed!", "attackFailed": "Ma ha fallito!",
"attackHitsCount": `Hit {{count}} time(s)!`, "attackHitsCount": `Colpito {{count}} volta/e!`,
"expGain": "{{pokemonName}} gained\n{{exp}} EXP. Points!", "expGain": "{{pokemonName}} ha guadagnato\n{{exp}} Punti Esperienza!",
"levelUp": "{{pokemonName}} grew to\nLv. {{level}}!", "levelUp": "{{pokemonName}} è salito al \nLivello {{level}}!",
"learnMove": "{{pokemonName}} learned\n{{moveName}}!", "learnMove": "{{pokemonName}} impara \n{{moveName}}!",
"learnMovePrompt": "{{pokemonName}} wants to learn the\nmove {{moveName}}.", "learnMovePrompt": "{{pokemonName}} vorrebbe imparare \l{{moveName}}.",
"learnMoveLimitReached": "However, {{pokemonName}} already\nknows four moves.", "learnMoveLimitReached": "Tuttavia, {{pokemonName}} \nconosce già quattro mosse.",
"learnMoveReplaceQuestion": "Should a move be forgotten and\nreplaced with {{moveName}}?", "learnMoveReplaceQuestion": "Vuoi che ne dimentichi una e al suo \nposto la sostituisca con {{moveName}}?",
"learnMoveStopTeaching": "Stop trying to teach\n{{moveName}}?", "learnMoveStopTeaching": "Vuoi smettere di fargli imparare \n{{moveName}}?",
"learnMoveNotLearned": "{{pokemonName}} did not learn the\nmove {{moveName}}.", "learnMoveNotLearned": "{{pokemonName}} non ha imparato\n{{moveName}}.",
"learnMoveForgetQuestion": "Which move should be forgotten?", "learnMoveForgetQuestion": "Quale mossa deve dimenticare?",
"learnMoveForgetSuccess": "{{pokemonName}} forgot how to\nuse {{moveName}}.", "learnMoveForgetSuccess": "{{pokemonName}} ha dimenticato la mossa\n{{moveName}}.",
"levelCapUp": "The level cap\nhas increased to {{levelCap}}!", "levelCapUp": "Il livello massimo\nè aumentato a {{levelCap}}!",
"moveNotImplemented": "{{moveName}} is not yet implemented and cannot be selected.", "moveNotImplemented": "{{moveName}} non è ancora implementata e non può essere selezionata.",
"moveDisabled": "{{moveName}} is disabled!", "moveDisabled": "{{moveName}} è disabilitata!",
"noPokeballForce": "An unseen force\nprevents using Poké Balls.", "noPokeballForce": "Una forza misteriosa\nimpedisce l'uso dell Poké Ball.",
"noPokeballTrainer": "You can't catch\nanother trainer's Pokémon!", "noPokeballTrainer": "Non puoi catturare\nPokémon di altri allenatori!",
"noPokeballMulti": "You can only throw a Poké Ball\nwhen there is one Pokémon remaining!", "noPokeballMulti": "Puoi lanciare una Poké Ball\nquando rimane un solo Pokémon!",
"noPokeballStrong": "The target Pokémon is too strong to be caught!\nYou need to weaken it first!", "noPokeballStrong": "Il Pokémon avversario è troppo forte per essere catturato!\nDevi prima indebolirlo!",
"noEscapeForce": "An unseen force\nprevents escape.", "noEscapeForce": "Una forza misteriosa\nimpedisce la fuga.",
"noEscapeTrainer": "You can't run\nfrom a trainer battle!", "noEscapeTrainer": "Non puoi fuggire\nda una battaglia contro un'allenatore!",
"noEscapePokemon": "{{pokemonName}}'s {{moveName}}\nprevents {{escapeVerb}}!", "noEscapePokemon": "{{moveName}} di {{pokemonName}}\npreviene la {{escapeVerb}}!",
"runAwaySuccess": "You got away safely!", "runAwaySuccess": "Sei riuscito a fuggire!",
"runAwayCannotEscape": 'You can\'t escape!', "runAwayCannotEscape": 'Non puoi fuggire!',
"escapeVerbSwitch": "switching", "escapeVerbSwitch": "cambiando",
"escapeVerbFlee": "fleeing", "escapeVerbFlee": "fuggendo",
"notDisabled": "{{moveName}} is disabled\nno more!", "notDisabled": "{{moveName}} non è più\ndisabilitata!",
"skipItemQuestion": "Are you sure you want to skip taking an item?", "skipItemQuestion": "Sei sicuro di non voler prendere nessun oggetto?",
"eggHatching": "Oh?", "eggHatching": "Oh?",
"ivScannerUseQuestion": "Use IV Scanner on {{pokemonName}}?" "ivScannerUseQuestion": "Vuoi usare lo scanner di IV su {{pokemonName}}?"
} as const; } as const;

View File

@ -0,0 +1,9 @@
import { SimpleTranslationEntries } from "#app/plugins/i18n";
export const commandUiHandler: SimpleTranslationEntries = {
"fight": "Lotta",
"ball": "Borsa",
"pokemon": "Pokémon",
"run": "Fuga",
"actionMessage": "Cosa deve fare {{pokemonName}}?",
} as const;

View File

@ -2,5 +2,5 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
export const fightUiHandler: SimpleTranslationEntries = { export const fightUiHandler: SimpleTranslationEntries = {
"pp": "PP", "pp": "PP",
"power": "POWER", "power": "POTENZA",
} as const; } as const;

View File

@ -1,23 +1,23 @@
import { SimpleTranslationEntries } from "#app/plugins/i18n"; import { SimpleTranslationEntries } from "#app/plugins/i18n";
export const menuUiHandler: SimpleTranslationEntries = { export const menuUiHandler: SimpleTranslationEntries = {
"GAME_SETTINGS": 'Game Settings', "GAME_SETTINGS": 'Impostazioni',
"ACHIEVEMENTS": "Achievements", "ACHIEVEMENTS": "Risultati",
"STATS": "Stats", "STATS": "Statistiche",
"VOUCHERS": "Vouchers", "VOUCHERS": "Biglietti",
"EGG_LIST": "Egg List", "EGG_LIST": "Lista Uova",
"EGG_GACHA": "Egg Gacha", "EGG_GACHA": "Gacha Uova",
"MANAGE_DATA": "Manage Data", "MANAGE_DATA": "Gestisci Dati",
"COMMUNITY": "Community", "COMMUNITY": "Community",
"RETURN_TO_TITLE": "Return To Title", "RETURN_TO_TITLE": "Ritorna al Titolo",
"LOG_OUT": "Log Out", "LOG_OUT": "Disconnettiti",
"slot": "Slot {{slotNumber}}", "slot": "Slot {{slotNumber}}",
"importSession": "Import Session", "importSession": "Importa Sessione",
"importSlotSelect": "Select a slot to import to.", "importSlotSelect": "Seleziona uno slot in cui importare.",
"exportSession": "Export Session", "exportSession": "Esporta Sessione",
"exportSlotSelect": "Select a slot to export from.", "exportSlotSelect": "Seleziona uno slot da cui esportare.",
"importData": "Import Data", "importData": "Importa Dati",
"exportData": "Export Data", "exportData": "Esporta Dati",
"cancel": "Cancel", "cancel": "Annulla",
"losingProgressionWarning": "You will lose any progress since the beginning of the battle. Proceed?" "losingProgressionWarning": "Perderai tutti i progressi dall'inizio della battaglia. Procedere?"
} as const; } as const;

View File

@ -12,36 +12,36 @@ export const menu: SimpleTranslationEntries = {
"loadGame": "Carica Partita", "loadGame": "Carica Partita",
"dailyRun": "Corsa Giornaliera (Beta)", "dailyRun": "Corsa Giornaliera (Beta)",
"selectGameMode": "Seleziona una modalità di gioco.", "selectGameMode": "Seleziona una modalità di gioco.",
"logInOrCreateAccount": "Log in or create an account to start. No email required!", "logInOrCreateAccount": "Accedi o crea un nuovo account per iniziare. Non è richiesta un'email!",
"username": "Username", "username": "Nome Utente",
"password": "Password", "password": "Password",
"login": "Login", "login": "Accedi",
"register": "Register", "register": "Registrati",
"emptyUsername": "Username must not be empty", "emptyUsername": "Nome utente mancante!",
"invalidLoginUsername": "The provided username is invalid", "invalidLoginUsername": "Nome utente non valido!",
"invalidRegisterUsername": "Username must only contain letters, numbers, or underscores", "invalidRegisterUsername": "Il nome utente può contenere solo lettere, numeri o trattini bassi",
"invalidLoginPassword": "The provided password is invalid", "invalidLoginPassword": "Password non valida!",
"invalidRegisterPassword": "Password must be 6 characters or longer", "invalidRegisterPassword": "La password deve contenere almeno 6 caratteri",
"usernameAlreadyUsed": "The provided username is already in use", "usernameAlreadyUsed": "Il nome utente inserito è stato già utilizzato!",
"accountNonExistent": "The provided user does not exist", "accountNonExistent": "Account inesistente!",
"unmatchingPassword": "The provided password does not match", "unmatchingPassword": "La password inserita non è corretta!",
"passwordNotMatchingConfirmPassword": "Password must match confirm password", "passwordNotMatchingConfirmPassword": "La password deve essere uguale alla conferma password!",
"confirmPassword": "Confirm Password", "confirmPassword": "Conferma Password",
"registrationAgeWarning": "By registering, you confirm you are of 13 years of age or older.", "registrationAgeWarning": "Registrandoti confermi di avere 13 anni o più.",
"backToLogin": "Back to Login", "backToLogin": "Torna all'accesso",
"failedToLoadSaveData": "Failed to load save data. Please reload the page.\nIf this continues, please contact the administrator.", "failedToLoadSaveData": "Impossibile caricare i dati di salvataggio. Ricarica la pagina.\nSe il problema persiste, contatta l'amministratore.",
"sessionSuccess": "Session loaded successfully.", "sessionSuccess": "Sessione caricata correttamente.",
"failedToLoadSession": "Your session data could not be loaded.\nIt may be corrupted.", "failedToLoadSession": "Impossibile caricare i dati della sessione.\nPotrebbero essere danneggiati.",
"boyOrGirl": "Are you a boy or a girl?", "boyOrGirl": "Sei un ragazzo o una ragazza?",
"boy": "Boy", "boy": "Ragazzo",
"girl": "Girl", "girl": "Ragazza",
"dailyRankings": "Daily Rankings", "dailyRankings": "Classifica Giornaliera",
"weeklyRankings": "Weekly Rankings", "weeklyRankings": "Classifica Settimanale",
"noRankings": "No Rankings", "noRankings": "Nessuna Classifica",
"loading": "Loading…", "loading": "Caricamento…",
"playersOnline": "Players Online", "playersOnline": "Giocatori Online",
"empty":"Empty", "empty":"Vuoto",
"yes":"Yes", "yes":"Si",
"no":"No", "no":"No",
"confirmStartTeam":'Begin with these Pokémon?', "confirmStartTeam":'Vuoi iniziare con questi Pokémon?',
} as const; } as const;

3812
src/locales/it/move.ts Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,10 @@
import { SimpleTranslationEntries } from "#app/plugins/i18n";
export const pokeball: SimpleTranslationEntries = {
"pokeBall": "Poké Ball",
"greatBall": "Mega Ball",
"ultraBall": "Ultra Ball",
"rogueBall": "Rogue Ball",
"masterBall": "Master Ball",
"luxuryBall": "Chich Ball",
} as const;

1086
src/locales/it/pokemon.ts Normal file

File diff suppressed because it is too large Load Diff

View File

@ -21,21 +21,25 @@ import { battle as deBattle } from '../locales/de/battle';
import { move as enMove } from '../locales/en/move'; import { move as enMove } from '../locales/en/move';
import { move as esMove } from '../locales/es/move'; import { move as esMove } from '../locales/es/move';
import { move as itMove } from '../locales/it/move';
import { move as frMove } from '../locales/fr/move'; import { move as frMove } from '../locales/fr/move';
import { move as deMove } from '../locales/de/move'; import { move as deMove } from '../locales/de/move';
import { ability as enAbility } from '../locales/en/ability'; import { ability as enAbility } from '../locales/en/ability';
import { ability as esAbility } from '../locales/es/ability'; import { ability as esAbility } from '../locales/es/ability';
import { ability as itAbility } from '../locales/it/ability';
import { ability as frAbility } from '../locales/fr/ability'; import { ability as frAbility } from '../locales/fr/ability';
import { ability as deAbility } from '../locales/de/ability'; import { ability as deAbility } from '../locales/de/ability';
import { pokeball as enPokeball } from '../locales/en/pokeball'; import { pokeball as enPokeball } from '../locales/en/pokeball';
import { pokeball as esPokeball } from '../locales/es/pokeball'; import { pokeball as esPokeball } from '../locales/es/pokeball';
import { pokeball as itPokeball } from '../locales/it/pokeball';
import { pokeball as frPokeball } from '../locales/fr/pokeball'; import { pokeball as frPokeball } from '../locales/fr/pokeball';
import { pokeball as dePokeball } from '../locales/de/pokeball'; import { pokeball as dePokeball } from '../locales/de/pokeball';
import { pokemon as enPokemon } from '../locales/en/pokemon'; import { pokemon as enPokemon } from '../locales/en/pokemon';
import { pokemon as esPokemon } from '../locales/es/pokemon'; import { pokemon as esPokemon } from '../locales/es/pokemon';
import { pokemon as itPokemon } from '../locales/it/pokemon';
import { pokemon as frPokemon } from '../locales/fr/pokemon'; import { pokemon as frPokemon } from '../locales/fr/pokemon';
import { pokemon as dePokemon } from '../locales/de/pokemon'; import { pokemon as dePokemon } from '../locales/de/pokemon';
@ -47,6 +51,7 @@ import { pokemonStat as dePokemonStat } from '../locales/de/pokemon-stat';
import { commandUiHandler as enCommandUiHandler } from '../locales/en/command-ui-handler'; import { commandUiHandler as enCommandUiHandler } from '../locales/en/command-ui-handler';
import { commandUiHandler as esCommandUiHandler } from '../locales/es/command-ui-handler'; import { commandUiHandler as esCommandUiHandler } from '../locales/es/command-ui-handler';
import { commandUiHandler as itCommandUiHandler } from '../locales/it/command-ui-handler';
import { commandUiHandler as frCommandUiHandler } from '../locales/fr/command-ui-handler'; import { commandUiHandler as frCommandUiHandler } from '../locales/fr/command-ui-handler';
import { commandUiHandler as deCommandUiHandler } from '../locales/de/command-ui-handler'; import { commandUiHandler as deCommandUiHandler } from '../locales/de/command-ui-handler';
@ -162,7 +167,12 @@ export function initI18n(): void {
menu: itMenu, menu: itMenu,
menuUiHandler: itMenuUiHandler, menuUiHandler: itMenuUiHandler,
battle: itBattle, battle: itBattle,
move: itMove,
ability: itAbility,
pokeball: itPokeball,
pokemon: itPokemon,
pokemonStat: itPokemonStat, pokemonStat: itPokemonStat,
commandUiHandler: itCommandUiHandler,
fightUiHandler: itFightUiHandler, fightUiHandler: itFightUiHandler,
tutorial: itTutorial, tutorial: itTutorial,
}, },

View File

@ -180,6 +180,10 @@ export function setSetting(scene: BattleScene, setting: Setting, value: integer)
label: 'Spanish', label: 'Spanish',
handler: () => changeLocaleHandler('es') handler: () => changeLocaleHandler('es')
}, },
{
label: 'Italian',
handler: () => changeLocaleHandler('it')
},
{ {
label: 'French', label: 'French',
handler: () => changeLocaleHandler('fr') handler: () => changeLocaleHandler('fr')