diff --git a/public/images/types_pt_BR.json b/public/images/types_pt_BR.json new file mode 100644 index 00000000000..932d316fd30 --- /dev/null +++ b/public/images/types_pt_BR.json @@ -0,0 +1,440 @@ +{ + "textures": [ + { + "image": "types_pt_BR.png", + "format": "RGBA8888", + "size": { + "w": 32, + "h": 280 + }, + "scale": 1, + "frames": [ + { + "filename": "unknown", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + } + }, + { + "filename": "bug", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 14, + "w": 32, + "h": 14 + } + }, + { + "filename": "dark", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 28, + "w": 32, + "h": 14 + } + }, + { + "filename": "dragon", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 42, + "w": 32, + "h": 14 + } + }, + { + "filename": "electric", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 56, + "w": 32, + "h": 14 + } + }, + { + "filename": "fairy", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 70, + "w": 32, + "h": 14 + } + }, + { + "filename": "fighting", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 84, + "w": 32, + "h": 14 + } + }, + { + "filename": "fire", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 98, + "w": 32, + "h": 14 + } + }, + { + "filename": "flying", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 112, + "w": 32, + "h": 14 + } + }, + { + "filename": "ghost", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 126, + "w": 32, + "h": 14 + } + }, + { + "filename": "grass", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 140, + "w": 32, + "h": 14 + } + }, + { + "filename": "ground", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 154, + "w": 32, + "h": 14 + } + }, + { + "filename": "ice", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 168, + "w": 32, + "h": 14 + } + }, + { + "filename": "normal", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 182, + "w": 32, + "h": 14 + } + }, + { + "filename": "poison", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 196, + "w": 32, + "h": 14 + } + }, + { + "filename": "psychic", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 210, + "w": 32, + "h": 14 + } + }, + { + "filename": "rock", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 224, + "w": 32, + "h": 14 + } + }, + { + "filename": "steel", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 238, + "w": 32, + "h": 14 + } + }, + { + "filename": "water", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 252, + "w": 32, + "h": 14 + } + }, + { + "filename": "stellar", + "rotated": false, + "trimmed": false, + "sourceSize": { + "w": 32, + "h": 14 + }, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 32, + "h": 14 + }, + "frame": { + "x": 0, + "y": 266, + "w": 32, + "h": 14 + } + } + ] + } + ], + "meta": { + "app": "https://www.codeandweb.com/texturepacker", + "version": "3.0", + "smartupdate": "$TexturePacker:SmartUpdate:f14cf47d9a8f1d40c8e03aa6ba00fff3:6fc4227b57a95d429a1faad4280f7ec8:5961efbfbf4c56b8745347e7a663a32f$" + } +} diff --git a/public/images/types_pt_BR.png b/public/images/types_pt_BR.png new file mode 100644 index 00000000000..8b644f1041c Binary files /dev/null and b/public/images/types_pt_BR.png differ diff --git a/public/images/ui/legacy/starter_select_bg_pt_BR.png b/public/images/ui/legacy/starter_select_bg_pt_BR.png new file mode 100644 index 00000000000..a94e470df0d Binary files /dev/null and b/public/images/ui/legacy/starter_select_bg_pt_BR.png differ diff --git a/public/images/ui/legacy/summary_bg_pt_BR.png b/public/images/ui/legacy/summary_bg_pt_BR.png new file mode 100644 index 00000000000..0c10eb2b18a Binary files /dev/null and b/public/images/ui/legacy/summary_bg_pt_BR.png differ diff --git a/public/images/ui/legacy/summary_moves_effect_de.png b/public/images/ui/legacy/summary_moves_effect_de.png new file mode 100644 index 00000000000..ed422d1b439 Binary files /dev/null and b/public/images/ui/legacy/summary_moves_effect_de.png differ diff --git a/public/images/ui/legacy/summary_moves_effect_fr.png b/public/images/ui/legacy/summary_moves_effect_fr.png new file mode 100644 index 00000000000..ed422d1b439 Binary files /dev/null and b/public/images/ui/legacy/summary_moves_effect_fr.png differ diff --git a/public/images/ui/legacy/summary_moves_effect_pt_BR.png b/public/images/ui/legacy/summary_moves_effect_pt_BR.png new file mode 100644 index 00000000000..ed422d1b439 Binary files /dev/null and b/public/images/ui/legacy/summary_moves_effect_pt_BR.png differ diff --git a/public/images/ui/legacy/summary_moves_effect_zh_CN.png b/public/images/ui/legacy/summary_moves_effect_zh_CN.png new file mode 100644 index 00000000000..ed422d1b439 Binary files /dev/null and b/public/images/ui/legacy/summary_moves_effect_zh_CN.png differ diff --git a/public/images/ui/legacy/summary_moves_pt_BR.png b/public/images/ui/legacy/summary_moves_pt_BR.png new file mode 100644 index 00000000000..54ddf0fb2c7 Binary files /dev/null and b/public/images/ui/legacy/summary_moves_pt_BR.png differ diff --git a/public/images/ui/legacy/summary_profile_pt_BR.png b/public/images/ui/legacy/summary_profile_pt_BR.png new file mode 100644 index 00000000000..25fc3ca70d0 Binary files /dev/null and b/public/images/ui/legacy/summary_profile_pt_BR.png differ diff --git a/public/images/ui/legacy/summary_stats_pt_BR.png b/public/images/ui/legacy/summary_stats_pt_BR.png new file mode 100644 index 00000000000..e744f84be8f Binary files /dev/null and b/public/images/ui/legacy/summary_stats_pt_BR.png differ diff --git a/public/images/ui/legacy/summary_tabs_1_de.png b/public/images/ui/legacy/summary_tabs_1_de.png new file mode 100644 index 00000000000..ff38096fcd8 Binary files /dev/null and b/public/images/ui/legacy/summary_tabs_1_de.png differ diff --git a/public/images/ui/legacy/summary_tabs_1_fr.png b/public/images/ui/legacy/summary_tabs_1_fr.png new file mode 100644 index 00000000000..ff38096fcd8 Binary files /dev/null and b/public/images/ui/legacy/summary_tabs_1_fr.png differ diff --git a/public/images/ui/legacy/summary_tabs_1_pt_BR.png b/public/images/ui/legacy/summary_tabs_1_pt_BR.png new file mode 100644 index 00000000000..ff38096fcd8 Binary files /dev/null and b/public/images/ui/legacy/summary_tabs_1_pt_BR.png differ diff --git a/public/images/ui/legacy/summary_tabs_1_zh_CN.png b/public/images/ui/legacy/summary_tabs_1_zh_CN.png new file mode 100644 index 00000000000..ff38096fcd8 Binary files /dev/null and b/public/images/ui/legacy/summary_tabs_1_zh_CN.png differ diff --git a/public/images/ui/legacy/summary_tabs_2_pt_BR.png b/public/images/ui/legacy/summary_tabs_2_pt_BR.png new file mode 100644 index 00000000000..f147d1b8385 Binary files /dev/null and b/public/images/ui/legacy/summary_tabs_2_pt_BR.png differ diff --git a/public/images/ui/legacy/summary_tabs_3_pt_BR.png b/public/images/ui/legacy/summary_tabs_3_pt_BR.png new file mode 100644 index 00000000000..cf882988664 Binary files /dev/null and b/public/images/ui/legacy/summary_tabs_3_pt_BR.png differ diff --git a/public/images/ui/starter_select_bg_pt_BR.png b/public/images/ui/starter_select_bg_pt_BR.png new file mode 100644 index 00000000000..f02182fe140 Binary files /dev/null and b/public/images/ui/starter_select_bg_pt_BR.png differ diff --git a/public/images/ui/summary_bg_pt_BR.png b/public/images/ui/summary_bg_pt_BR.png new file mode 100644 index 00000000000..f2bf56f2779 Binary files /dev/null and b/public/images/ui/summary_bg_pt_BR.png differ diff --git a/public/images/ui/summary_moves_effect_pt_BR.png b/public/images/ui/summary_moves_effect_pt_BR.png new file mode 100644 index 00000000000..e1b0e066732 Binary files /dev/null and b/public/images/ui/summary_moves_effect_pt_BR.png differ diff --git a/public/images/ui/summary_moves_pt_BR.png b/public/images/ui/summary_moves_pt_BR.png new file mode 100644 index 00000000000..8f6b01137c1 Binary files /dev/null and b/public/images/ui/summary_moves_pt_BR.png differ diff --git a/public/images/ui/summary_profile_pt_BR.png b/public/images/ui/summary_profile_pt_BR.png new file mode 100644 index 00000000000..5fff26d5a9c Binary files /dev/null and b/public/images/ui/summary_profile_pt_BR.png differ diff --git a/public/images/ui/summary_stats_pt_BR.png b/public/images/ui/summary_stats_pt_BR.png new file mode 100644 index 00000000000..b87d67b864a Binary files /dev/null and b/public/images/ui/summary_stats_pt_BR.png differ diff --git a/public/images/ui/summary_tabs_1_pt_BR.png b/public/images/ui/summary_tabs_1_pt_BR.png new file mode 100644 index 00000000000..c4989a86514 Binary files /dev/null and b/public/images/ui/summary_tabs_1_pt_BR.png differ diff --git a/public/images/ui/summary_tabs_2 _pt_BR.png b/public/images/ui/summary_tabs_2 _pt_BR.png new file mode 100644 index 00000000000..16f7c35b278 Binary files /dev/null and b/public/images/ui/summary_tabs_2 _pt_BR.png differ diff --git a/public/images/ui/summary_tabs_3_pt_BR.png b/public/images/ui/summary_tabs_3_pt_BR.png new file mode 100644 index 00000000000..b766307aaca Binary files /dev/null and b/public/images/ui/summary_tabs_3_pt_BR.png differ diff --git a/src/loading-scene.ts b/src/loading-scene.ts index 2d427343986..df7b23fd37a 100644 --- a/src/loading-scene.ts +++ b/src/loading-scene.ts @@ -209,7 +209,6 @@ export class LoadingScene extends SceneBase { this.loadAtlas(`types_${lang}`, ''); } }); - this.loadAtlas('types_zh_CN', ''); this.loadAtlas('statuses', ''); this.loadAtlas('categories', ''); diff --git a/src/locales/pt_BR/biome.ts b/src/locales/pt_BR/biome.ts new file mode 100644 index 00000000000..8359b36176e --- /dev/null +++ b/src/locales/pt_BR/biome.ts @@ -0,0 +1,40 @@ +import { SimpleTranslationEntries } from "#app/plugins/i18n"; + +export const biome: SimpleTranslationEntries = { + "unknownLocation": "Somewhere you can\'t remember", + "TOWN": "Town", + "PLAINS": "Plains", + "GRASS": "Grassy Field", + "TALL_GRASS": "Tall Grass", + "METROPOLIS": "Metropolis", + "FOREST": "Forest", + "SEA": "Sea", + "SWAMP": "Swamp", + "BEACH": "Beach", + "LAKE": "Lake", + "SEABED": "Seabed", + "MOUNTAIN": "Mountain", + "BADLANDS": "Badlands", + "CAVE": "Cave", + "DESERT": "Desert", + "ICE_CAVE": "Ice Cave", + "MEADOW": "Meadow", + "POWER_PLANT": "Power Plant", + "VOLCANO": "Volcano", + "GRAVEYARD": "Graveyard", + "DOJO": "Dojo", + "FACTORY": "Factory", + "RUINS": "Ancient Ruins", + "WASTELAND": "Wasteland", + "ABYSS": "The Abyss", + "SPACE": "Stratosphere", + "CONSTRUCTION_SITE": "Construction Site", + "JUNGLE": "Jungle", + "FAIRY_CAVE": "Fairy Cave", + "TEMPLE": "Temple", + "SLUM": "Slum", + "SNOWY_FOREST": "Snowy Forest", + "ISLAND": "Island", + "LABORATORY": "Laboratory", + "END": "Final Destination", +} as const; \ No newline at end of file diff --git a/src/locales/pt_BR/config.ts b/src/locales/pt_BR/config.ts index fc58d45ce87..66a3a8d1b17 100644 --- a/src/locales/pt_BR/config.ts +++ b/src/locales/pt_BR/config.ts @@ -1,5 +1,6 @@ import { ability } from "./ability"; import { battle } from "./battle"; +import { biome } from "./biome"; import { commandUiHandler } from "./command-ui-handler"; import { fightUiHandler } from "./fight-ui-handler"; import { growth } from "./growth"; @@ -7,10 +8,12 @@ import { menu } from "./menu"; import { menuUiHandler } from "./menu-ui-handler"; import { move } from "./move"; import { nature } from "./nature"; +import { partyUiHandler } from "./party-ui-handler"; import { pokeball } from "./pokeball"; import { pokemon } from "./pokemon"; import { pokemonStat } from "./pokemon-stat"; import { starterSelectUiHandler } from "./starter-select-ui-handler"; +import { SummaryUiHandler } from "./summary-ui-handler"; import { tutorial } from "./tutorial"; @@ -28,5 +31,8 @@ export const ptBrConfig = { starterSelectUiHandler: starterSelectUiHandler, tutorial: tutorial, nature: nature, - growth: growth + growth: growth, + partyUiHandler: partyUiHandler, + summaryUiHandler: SummaryUiHandler, + biome: biome } \ No newline at end of file diff --git a/src/locales/pt_BR/party-ui-handler.ts b/src/locales/pt_BR/party-ui-handler.ts new file mode 100644 index 00000000000..728a619f96f --- /dev/null +++ b/src/locales/pt_BR/party-ui-handler.ts @@ -0,0 +1,17 @@ +import { SimpleTranslationEntries } from "#app/plugins/i18n"; + +export const partyUiHandler: SimpleTranslationEntries = { + "choosePokemon": "Choose a Pokémon.", + "cantReleaseInBattle": "You can\'t release a Pokémon that\'s in battle!", + "what2doWithPoke": "Do what with this Pokémon?", + "cancelShort": "Cancel", + "selectMove": "Select a move.", + "selectHeldItemTransfer": "Select a held item to transfer.", + "selectSplice": "Select another Pokémon to splice.", + "deactivate": "Deactivate", + "activate": "Activate", + "SEND_OUT": "Send Out", + "SUMMARY": "Summary", + "RELEASE": "Release", + "CANCEL": "Cancel" +} as const; \ No newline at end of file diff --git a/src/locales/pt_BR/summary-ui-handler.ts b/src/locales/pt_BR/summary-ui-handler.ts new file mode 100644 index 00000000000..0c67f0a2a8d --- /dev/null +++ b/src/locales/pt_BR/summary-ui-handler.ts @@ -0,0 +1,17 @@ +import { SimpleTranslationEntries } from "#app/plugins/i18n"; + +export const SummaryUiHandler: SimpleTranslationEntries = { + "pokemonInfo": "Pokémon Info", //Currently unused + "originalTrainer": "OT", + "type": "Type", + "natureBeforeText": "", + "natureAfterText": " nature", + "apparently": "apparently", + "metAtLv":"met at Lv", + "status": "Status", + "lvl": "Lvl", + "unknown": 'Unknown', + "expPoints": "EXP. Points", + "nextLv": "Next Lv.", + "moveStats": "Power\nAccuracy\nCategory" +} as const; \ No newline at end of file diff --git a/src/utils.ts b/src/utils.ts index 02c4a1758d3..98a6f132f0d 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -347,6 +347,7 @@ This function is used in: English itself counts as not available */ export function verifyLang(lang?: string): boolean { + //IMPORTANT - ONLY ADD YOUR LANG HERE IF YOU'VE ALREADY ADDED ALL THE NECESSARY IMAGES if(!lang){ lang = i18next.language; } @@ -357,6 +358,7 @@ export function verifyLang(lang?: string): boolean { case 'de': case 'it': case 'zh_CN': + case 'pt_BR': return true; default: return false;