[Localization] Add initial translation files for filter menu names for the starter select UI ( new ) (#3197)

* update translation for filter menu in starter select UI

* fix lint error

* Update src/locales/zh_CN/filter-bar.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/de/filter-bar.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/de/filter-bar.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* more clear translation for zh_CN `hasNotWon`

* Update src/locales/ko/filter-bar.ts

Co-authored-by: Enoch <enoch.jwsong@gmail.com>

* Update src/locales/ko/filter-bar.ts

Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>

* Update src/locales/ko/filter-bar.ts

Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>

* update missing entry of starter UI on each locales. move `sameSpeciesEgg` line for readibility

* add invalidParty and removeFromParty in zh_CH

* Update src/locales/ko/starter-select-ui-handler.ts

Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>

* fix mis added line

* update as suggested in de

* update sort candy option to `candy count` suggested

* update win filter dropdown in english

* update initial translation for zh_TW

* fix eslint

* updated zh_TW

* Update src/locales/zh_CN/starter-select-ui-handler.ts

Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>

* Update src/locales/es/filter-bar.ts

Co-authored-by: Asdar <asdargmng@gmail.com>

* Update src/locales/es/starter-select-ui-handler.ts

Co-authored-by: Asdar <asdargmng@gmail.com>

* Update src/locales/es/starter-select-ui-handler.ts

Co-authored-by: Asdar <asdargmng@gmail.com>

* Update src/locales/es/starter-select-ui-handler.ts

Co-authored-by: Asdar <asdargmng@gmail.com>

* Update src/locales/zh_CN/filter-bar.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* update `invalidParty` entry of es

* Update src/locales/fr/starter-select-ui-handler.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/fr/filter-bar.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* update `invalidParty` entry in fr

* update default eng entry for `hasWon` `hasNotWon`

* Update src/locales/pt_BR/starter-select-ui-handler.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/pt_BR/filter-bar.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/it/filter-bar.ts

Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>

* Update src/locales/it/starter-select-ui-handler.ts

Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>

* update `invalidParty` entry for `it`

* Update src/locales/fr/filter-bar.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/pt_BR/filter-bar.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

---------

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
Co-authored-by: Asdar <asdargmng@gmail.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
This commit is contained in:
Leo Kim 2024-07-30 11:57:27 +09:00 committed by GitHub
parent 07b6563118
commit 77167d8595
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
28 changed files with 246 additions and 30 deletions

View File

@ -24,6 +24,7 @@ import {
} from "./dialogue";
import { egg } from "./egg";
import { fightUiHandler } from "./fight-ui-handler";
import { filterBar } from "./filter-bar";
import { gameMode } from "./game-mode";
import { gameStatsUiHandler } from "./game-stats-ui-handler";
import { growth } from "./growth";
@ -79,6 +80,7 @@ export const deConfig = {
PGFdoubleBattleDialogue: PGFdoubleBattleDialogue,
egg: egg,
fightUiHandler: fightUiHandler,
filterBar: filterBar,
gameMode: gameMode,
gameStatsUiHandler: gameStatsUiHandler,
growth: growth,

View File

@ -0,0 +1,21 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";
export const filterBar: SimpleTranslationEntries = {
"genFilter": "Gen.",
"typeFilter": "Typ",
"unlocksFilter": "Freisch.",
"winFilter": "Abschluss",
"sortFilter": "Sort.",
"all": "Alle",
"normal": "Normal",
"uncaught": "Nicht gefangen",
"passiveUnlocked": "Passive freigeschaltet",
"passiveLocked": "Passive gesperrt",
"hasWon": "Hat Klassik-Modus gewonnen",
"hasNotWon": "Hat Klassik-Modus nicht gewonnen",
"sortByNumber": "Pokédex-Nummer",
"sortByCost": "Kosten",
"sortByCandies": "Anzahl Bonbons",
"sortByIVs": "IS-Werte",
"sortByName": "Name",
};

View File

@ -7,7 +7,7 @@ import { SimpleTranslationEntries } from "#app/interfaces/locales";
*/
export const starterSelectUiHandler: SimpleTranslationEntries = {
"confirmStartTeam": "Mit diesen Pokémon losziehen?",
"invalidParty": "This is not a valid starting party!",
"invalidParty": "Das ist kein gültiges Team!",
"gen1": "I",
"gen2": "II",
"gen3": "III",
@ -23,6 +23,7 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
"nature": "Wesen:",
"eggMoves": "Ei-Attacken",
"addToParty": "Zum Team hinzufügen",
"removeFromParty": "Aus Team entfernen",
"toggleIVs": "DVs anzeigen/verbergen",
"manageMoves": "Attacken ändern",
"manageNature": "Wesen ändern",

View File

@ -26,6 +26,7 @@ import {
} from "./dialogue";
import { egg } from "./egg";
import { fightUiHandler } from "./fight-ui-handler";
import { filterBar } from "./filter-bar";
import { gameMode } from "./game-mode";
import { gameStatsUiHandler } from "./game-stats-ui-handler";
import { growth } from "./growth";
@ -79,6 +80,7 @@ export const enConfig = {
PGFdoubleBattleDialogue: PGFdoubleBattleDialogue,
egg: egg,
fightUiHandler: fightUiHandler,
filterBar: filterBar,
gameMode: gameMode,
gameStatsUiHandler: gameStatsUiHandler,
growth: growth,

View File

@ -0,0 +1,21 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";
export const filterBar: SimpleTranslationEntries = {
"genFilter": "Gen",
"typeFilter": "Type",
"unlocksFilter": "Unlocks",
"winFilter": "Win",
"sortFilter": "Sort",
"all": "All",
"normal": "Normal",
"uncaught": "Uncaught",
"passiveUnlocked": "Passive Unlocked",
"passiveLocked": "Passive Locked",
"hasWon": "Yes",
"hasNotWon": "No",
"sortByNumber": "No.",
"sortByCost": "Cost",
"sortByCandies": "Candy Count",
"sortByIVs": "IVs",
"sortByName": "Name",
};

View File

@ -24,6 +24,7 @@ import {
} from "./dialogue";
import { egg } from "./egg";
import { fightUiHandler } from "./fight-ui-handler";
import { filterBar } from "./filter-bar";
import { gameMode } from "./game-mode";
import { gameStatsUiHandler } from "./game-stats-ui-handler";
import { growth } from "./growth";
@ -79,6 +80,7 @@ export const esConfig = {
PGFdoubleBattleDialogue: PGFdoubleBattleDialogue,
egg: egg,
fightUiHandler: fightUiHandler,
filterBar: filterBar,
gameMode: gameMode,
gameStatsUiHandler: gameStatsUiHandler,
growth: growth,

View File

@ -0,0 +1,21 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";
export const filterBar: SimpleTranslationEntries = {
"genFilter": "Gen.",
"typeFilter": "Tipo",
"unlocksFilter": "Otros",
"winFilter": "Vic.",
"sortFilter": "Orden",
"all": "Todo",
"normal": "Normal",
"uncaught": "No Capt.",
"passiveUnlocked": "Pasiva Desbloq.",
"passiveLocked": "Pasiva Bloq.",
"hasWon": "Ya ha ganado",
"hasNotWon": "Aún no ha ganado",
"sortByNumber": "Núm.",
"sortByCost": "Coste",
"sortByCandies": "# Caramelos",
"sortByIVs": "IVs",
"sortByName": "Nombre",
};

View File

@ -7,7 +7,7 @@ import { SimpleTranslationEntries } from "#app/interfaces/locales";
*/
export const starterSelectUiHandler: SimpleTranslationEntries = {
"confirmStartTeam": "¿Comenzar con estos Pokémon?",
"invalidParty": "This is not a valid starting party!",
"invalidParty": "¡Este equipo no es válido!",
"gen1": "I",
"gen2": "II",
"gen3": "III",
@ -22,10 +22,11 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
"passive": "Pasiva:",
"nature": "Natur:",
"eggMoves": "Mov. Huevo",
"addToParty": "Añadir a Equipo",
"addToParty": "Añadir al Equipo",
"removeFromParty": "Excluir del Equipo",
"toggleIVs": "Mostrar IVs",
"manageMoves": "Gestionar Movs.",
"manageNature": "Gestionar Natur",
"manageMoves": "Cambiar movs.",
"manageNature": "Cambiar natur.",
"useCandies": "Usar Caramelos",
"selectNature": "Elige Natur.",
"selectMoveSwapOut": "Elige el movimiento que sustituir.",

View File

@ -24,6 +24,7 @@ import {
} from "./dialogue";
import { egg } from "./egg";
import { fightUiHandler } from "./fight-ui-handler";
import { filterBar } from "./filter-bar";
import { gameMode } from "./game-mode";
import { gameStatsUiHandler } from "./game-stats-ui-handler";
import { growth } from "./growth";
@ -79,6 +80,7 @@ export const frConfig = {
PGFdoubleBattleDialogue: PGFdoubleBattleDialogue,
egg: egg,
fightUiHandler: fightUiHandler,
filterBar: filterBar,
gameMode: gameMode,
gameStatsUiHandler: gameStatsUiHandler,
growth: growth,

View File

@ -0,0 +1,21 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";
export const filterBar: SimpleTranslationEntries = {
"genFilter": "Gen",
"typeFilter": "Type",
"unlocksFilter": "Autres",
"winFilter": "Victoires",
"sortFilter": "Tri",
"all": "Tous",
"normal": "Normal",
"uncaught": "Non-capturé",
"passiveUnlocked": "Passif débloqué",
"passiveLocked": "Passif verrouillé",
"hasWon": "Oui",
"hasNotWon": "Aucune",
"sortByNumber": "Par N°",
"sortByCost": "Par cout",
"sortByCandies": "Par # bonbons",
"sortByIVs": "Par IV",
"sortByName": "Par nom",
};

View File

@ -7,7 +7,7 @@ import { SimpleTranslationEntries } from "#app/interfaces/locales";
*/
export const starterSelectUiHandler: SimpleTranslationEntries = {
"confirmStartTeam": "Commencer avec ces Pokémon ?",
"invalidParty": "This is not a valid starting party!",
"invalidParty": "Cette équipe de départ est invalide !",
"gen1": "1G",
"gen2": "2G",
"gen3": "3G",
@ -23,6 +23,7 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
"nature": "Nature :",
"eggMoves": "Capacités Œuf",
"addToParty": "Ajouter à léquipe",
"removeFromParty": "Retirer de léquipe",
"toggleIVs": "Voir les IV",
"manageMoves": "Modifier les Capacités",
"manageNature": "Modifier la Nature",

View File

@ -24,6 +24,7 @@ import {
} from "./dialogue";
import { egg } from "./egg";
import { fightUiHandler } from "./fight-ui-handler";
import { filterBar } from "./filter-bar";
import { gameMode } from "./game-mode";
import { gameStatsUiHandler } from "./game-stats-ui-handler";
import { growth } from "./growth";
@ -79,6 +80,7 @@ export const itConfig = {
PGFdoubleBattleDialogue: PGFdoubleBattleDialogue,
egg: egg,
fightUiHandler: fightUiHandler,
filterBar: filterBar,
gameMode: gameMode,
gameStatsUiHandler: gameStatsUiHandler,
growth: growth,

View File

@ -0,0 +1,21 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";
export const filterBar: SimpleTranslationEntries = {
"genFilter": "Gen",
"typeFilter": "Tipo",
"unlocksFilter": "Altro",
"winFilter": "Vinto",
"sortFilter": "Ordina",
"all": "Tutto",
"normal": "Normale",
"uncaught": "Mancante",
"passiveUnlocked": "Passiva sbloccata",
"passiveLocked": "Passiva bloccata",
"hasWon": "Si",
"hasNotWon": "No",
"sortByNumber": "Num. Dex",
"sortByCost": "Costo",
"sortByCandies": "Caramelle",
"sortByIVs": "IVs",
"sortByName": "Nome",
};

View File

@ -7,7 +7,7 @@ import { SimpleTranslationEntries } from "#app/interfaces/locales";
*/
export const starterSelectUiHandler: SimpleTranslationEntries = {
"confirmStartTeam": "Vuoi iniziare con questi Pokémon?",
"invalidParty": "This is not a valid starting party!",
"invalidParty": "Questo squadra iniziale non è valida!",
"gen1": "1ª",
"gen2": "2ª",
"gen3": "3ª",
@ -23,6 +23,7 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
"nature": "Natura:",
"eggMoves": "Mosse da uova",
"addToParty": "Aggiungi al gruppo",
"removeFromParty": "Rimuovi dal gruppo",
"toggleIVs": "Vedi/Nascondi IV",
"manageMoves": "Gestisci mosse",
"manageNature": "Gestisci natura",

View File

@ -25,6 +25,7 @@ import {
} from "./dialogue";
import { egg } from "./egg";
import { fightUiHandler } from "./fight-ui-handler";
import { filterBar } from "./filter-bar";
import { gameMode } from "./game-mode";
import { gameStatsUiHandler } from "./game-stats-ui-handler";
import { growth } from "./growth";
@ -79,6 +80,7 @@ export const koConfig = {
PGFdoubleBattleDialogue: PGFdoubleBattleDialogue,
egg: egg,
fightUiHandler: fightUiHandler,
filterBar: filterBar,
gameMode: gameMode,
gameStatsUiHandler: gameStatsUiHandler,
growth: growth,

View File

@ -0,0 +1,21 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";
export const filterBar: SimpleTranslationEntries = {
"genFilter": "세대",
"typeFilter": "타입",
"unlocksFilter": "등록",
"winFilter": "클리어",
"sortFilter": "정렬",
"all": "전체",
"normal": "기본",
"uncaught": "미포획",
"passiveUnlocked": "패시브 해금",
"passiveLocked": "패시브 잠김",
"hasWon": "완료",
"hasNotWon": "미완료",
"sortByNumber": "도감번호",
"sortByCost": "코스트",
"sortByCandies": "사탕 수",
"sortByIVs": "개체값",
"sortByName": "이름",
};

View File

@ -7,7 +7,7 @@ import { SimpleTranslationEntries } from "#app/interfaces/locales";
*/
export const starterSelectUiHandler: SimpleTranslationEntries = {
"confirmStartTeam": "이 포켓몬들로 시작하시겠습니까?",
"invalidParty": "This is not a valid starting party!",
"invalidParty": "스타팅 포켓몬 파티에 적합하지 않습니다!",
"gen1": "1세대",
"gen2": "2세대",
"gen3": "3세대",
@ -23,6 +23,7 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
"nature": "성격:",
"eggMoves": "알 기술",
"addToParty": "파티에 추가",
"removeFromParty": "파티에서 제외",
"toggleIVs": "개체값 토글",
"manageMoves": "기술 관리",
"manageNature": "성격 관리",
@ -30,9 +31,9 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
"selectNature": "교체할 성격을 선택해주세요.",
"selectMoveSwapOut": "교체할 기술을 선택해주세요.",
"selectMoveSwapWith": "교체될 기술을 선택해주세요. 대상:",
"sameSpeciesEgg": "알 구매하기",
"unlockPassive": "패시브 해금",
"reduceCost": "코스트 줄이기",
"sameSpeciesEgg": "알 구매하기",
"cycleShiny": ": 색이 다른",
"cycleForm": ": 폼",
"cycleGender": ": 암수",

View File

@ -25,6 +25,7 @@ import {
} from "./dialogue";
import { egg } from "./egg";
import { fightUiHandler } from "./fight-ui-handler";
import { filterBar } from "./filter-bar";
import { gameMode } from "./game-mode";
import { gameStatsUiHandler } from "./game-stats-ui-handler";
import { growth } from "./growth";
@ -79,6 +80,7 @@ export const ptBrConfig = {
PGFdoubleBattleDialogue: PGFdoubleBattleDialogue,
egg: egg,
fightUiHandler: fightUiHandler,
filterBar: filterBar,
gameMode: gameMode,
gameStatsUiHandler: gameStatsUiHandler,
growth: growth,

View File

@ -0,0 +1,21 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";
export const filterBar: SimpleTranslationEntries = {
"genFilter": "Ger.",
"typeFilter": "Tipo",
"unlocksFilter": "Outros",
"winFilter": "Vit.",
"sortFilter": "Ordem",
"all": "Tudo",
"normal": "Normal",
"uncaught": "Não Capturado",
"passiveUnlocked": "Passiva Desbloq.",
"passiveLocked": "Passiva Bloq.",
"hasWon": "Sim",
"hasNotWon": "Não",
"sortByNumber": "Núm.",
"sortByCost": "Custo",
"sortByCandies": "# Doces",
"sortByIVs": "IVs",
"sortByName": "Nome",
};

View File

@ -23,6 +23,7 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
"nature": "Natureza:",
"eggMoves": "Mov. de Ovo",
"addToParty": "Adicionar à equipe",
"removeFromParty": "Remover da Equipe",
"toggleIVs": "Mostrar IVs",
"manageMoves": "Mudar Movimentos",
"manageNature": "Mudar Natureza",
@ -30,9 +31,9 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
"selectNature": "Escolha uma natureza.",
"selectMoveSwapOut": "Escolha um movimento para substituir.",
"selectMoveSwapWith": "Escolha o movimento que substituirá",
"sameSpeciesEgg": "Comprar Ovo",
"unlockPassive": "Aprender Passiva",
"reduceCost": "Reduzir Custo",
"sameSpeciesEgg": "Comprar Ovo",
"cycleShiny": ": » Shiny",
"cycleForm": ": » Forma",
"cycleGender": ": » Gênero",

View File

@ -24,6 +24,7 @@ import {
} from "./dialogue";
import { egg } from "./egg";
import { fightUiHandler } from "./fight-ui-handler";
import { filterBar } from "./filter-bar";
import { gameMode } from "./game-mode";
import { gameStatsUiHandler } from "./game-stats-ui-handler";
import { growth } from "./growth";
@ -79,6 +80,7 @@ export const zhCnConfig = {
PGFdoubleBattleDialogue: PGFdoubleBattleDialogue,
egg: egg,
fightUiHandler: fightUiHandler,
filterBar: filterBar,
gameMode: gameMode,
gameStatsUiHandler: gameStatsUiHandler,
growth: growth,

View File

@ -0,0 +1,21 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";
export const filterBar: SimpleTranslationEntries = {
"genFilter": "世代",
"typeFilter": "属性",
"unlocksFilter": "解锁",
"winFilter": "通关",
"sortFilter": "排序",
"all": "全部",
"normal": "无闪光",
"uncaught": "未捕获",
"passiveUnlocked": "被动解锁",
"passiveLocked": "被动未解锁",
"hasWon": "已通关",
"hasNotWon": "未通关",
"sortByNumber": "编号",
"sortByCost": "费用",
"sortByCandies": "糖果",
"sortByIVs": "个体",
"sortByName": "名称",
};

View File

@ -23,6 +23,7 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
"nature": "性格:",
"eggMoves": "蛋招式",
"addToParty": "加入队伍",
"removeFromParty": "移出队伍",
"toggleIVs": "显示个体",
"manageMoves": "管理招式",
"manageNature": "管理性格",
@ -30,9 +31,9 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
"selectNature": "选择性格",
"selectMoveSwapOut": "选择要替换的招式。",
"selectMoveSwapWith": "选择要替换成的招式",
"sameSpeciesEgg": "兑换一颗蛋",
"unlockPassive": "解锁被动",
"reduceCost": "降低花费",
"sameSpeciesEgg": "兑换一颗蛋",
"cycleShiny": ": 闪光",
"cycleForm": ": 形态",
"cycleGender": ": 性别",

View File

@ -24,6 +24,7 @@ import {
} from "./dialogue";
import { egg } from "./egg";
import { fightUiHandler } from "./fight-ui-handler";
import { filterBar } from "./filter-bar";
import { gameMode } from "./game-mode";
import { gameStatsUiHandler } from "./game-stats-ui-handler";
import { growth } from "./growth";
@ -79,6 +80,7 @@ export const zhTwConfig = {
PGFdoubleBattleDialogue: PGFdoubleBattleDialogue,
egg: egg,
fightUiHandler: fightUiHandler,
filterBar: filterBar,
gameMode: gameMode,
gameStatsUiHandler: gameStatsUiHandler,
growth: growth,

View File

@ -0,0 +1,21 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";
export const filterBar: SimpleTranslationEntries = {
"genFilter": "世代",
"typeFilter": "屬性",
"unlocksFilter": "解鎖",
"winFilter": "通關",
"sortFilter": "排序",
"all": "全部",
"normal": "通常",
"uncaught": "未捕獲",
"passiveUnlocked": "被動解鎖",
"passiveLocked": "被動未解鎖",
"hasWon": "已通關",
"hasNotWon": "未通關",
"sortByNumber": "編號",
"sortByCost": "花費",
"sortByCandies": "糖果",
"sortByIVs": "個體值",
"sortByName": "名稱",
};

View File

@ -7,7 +7,7 @@ import { SimpleTranslationEntries } from "#app/interfaces/locales";
*/
export const starterSelectUiHandler: SimpleTranslationEntries = {
"confirmStartTeam": "使用這些寶可夢開始嗎?",
"invalidParty": "This is not a valid starting party!",
"invalidParty": "此為無效隊伍!",
"gen1": "I",
"gen2": "II",
"gen3": "III",
@ -24,6 +24,7 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
"eggMoves": "孵化招式",
"start": "開始",
"addToParty": "加入隊伍",
"removeFromParty": "移出隊伍",
"toggleIVs": "查看個體值",
"manageMoves": "管理技能",
"manageNature": "管理性格",
@ -31,9 +32,9 @@ export const starterSelectUiHandler: SimpleTranslationEntries = {
"selectNature": "選擇性格",
"selectMoveSwapOut": "選擇想要替換走的招式",
"selectMoveSwapWith": "選擇想要替換成的招式",
"sameSpeciesEgg": "買蛋",
"unlockPassive": "解鎖被動",
"reduceCost": "降低花費",
"sameSpeciesEgg": "買蛋",
"cycleShiny": ": 閃光",
"cycleForm": ": 形態",
"cycleGender": ": 性別",

View File

@ -2,6 +2,7 @@ import BattleScene from "#app/battle-scene.js";
import { SceneBase } from "#app/scene-base.js";
import { addTextObject, TextStyle } from "./text";
import { addWindow, WindowVariant } from "./ui-theme";
import i18next from "i18next";
export enum DropDownState {
ON = 0,
@ -108,7 +109,7 @@ export class DropDown extends Phaser.GameObjects.Container {
this.cursorObj.setVisible(false);
if (this.dropDownType === DropDownType.MULTI) {
this.options.unshift(new DropDownOption(scene, "ALL", "All", null, this.checkForAllOn() ? DropDownState.ON : DropDownState.OFF));
this.options.unshift(new DropDownOption(scene, "ALL", i18next.t("filterBar:all"), null, this.checkForAllOn() ? DropDownState.ON : DropDownState.OFF));
}
options.forEach((option, index) => {

View File

@ -322,7 +322,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
new DropDownOption(this.scene, 8, i18next.t("starterSelectUiHandler:gen8"), null, DropDownState.ON),
new DropDownOption(this.scene, 9, i18next.t("starterSelectUiHandler:gen9"), null, DropDownState.ON),
];
this.filterBar.addFilter("Gen", new DropDown(this.scene, 0, 0, genOptions, this.updateStarters, DropDownType.MULTI));
this.filterBar.addFilter(i18next.t("filterBar:genFilter"), new DropDown(this.scene, 0, 0, genOptions, this.updateStarters, DropDownType.MULTI));
this.filterBar.defaultGenVals = this.filterBar.getVals(DropDownColumn.GEN);
// set gen filter to all off except for the I GEN
for (const option of genOptions) {
@ -343,7 +343,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
typeSprite.setFrame(type.toLowerCase());
typeOptions.push(new DropDownOption(this.scene, index, null, typeSprite));
});
this.filterBar.addFilter("Type", new DropDown(this.scene, 0, 0, typeOptions, this.updateStarters, DropDownType.MULTI, 0.5));
this.filterBar.addFilter(i18next.t("filterBar:typeFilter"), new DropDown(this.scene, 0, 0, typeOptions, this.updateStarters, DropDownType.MULTI, 0.5));
this.filterBar.defaultTypeVals = this.filterBar.getVals(DropDownColumn.TYPES);
// Unlocks filter
@ -358,29 +358,29 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
new DropDownOption(this.scene, "SHINY3", null, shiny3Sprite),
new DropDownOption(this.scene, "SHINY2", null, shiny2Sprite),
new DropDownOption(this.scene, "SHINY", null, shiny1Sprite),
new DropDownOption(this.scene, "NORMAL", "Normal"),
new DropDownOption(this.scene, "UNCAUGHT", "Not Caught"),
new DropDownOption(this.scene, "PASSIVEUNLOCKED", "Passive Unlocked"),
new DropDownOption(this.scene, "PASSIVELOCKED", "Passive Locked"),];
new DropDownOption(this.scene, "NORMAL", i18next.t("filterBar:normal")),
new DropDownOption(this.scene, "UNCAUGHT", i18next.t("filterBar:uncaught")),
new DropDownOption(this.scene, "PASSIVEUNLOCKED", i18next.t("filterBar:passiveUnlocked")),
new DropDownOption(this.scene, "PASSIVELOCKED", i18next.t("filterBar:passiveLocked"))];
this.filterBar.addFilter("Unlocks", new DropDown(this.scene, 0, 0, unlocksOptions, this.updateStarters, DropDownType.MULTI));
this.filterBar.addFilter(i18next.t("filterBar:unlocksFilter"), new DropDown(this.scene, 0, 0, unlocksOptions, this.updateStarters, DropDownType.MULTI));
this.filterBar.defaultUnlockVals = this.filterBar.getVals(DropDownColumn.UNLOCKS);
// win filter
const winOptions = [
new DropDownOption(this.scene, "WIN", "has won"),
new DropDownOption(this.scene, "NOTWIN", "hasn't won yet")];
this.filterBar.addFilter("Win", new DropDown(this.scene, 0, 0, winOptions, this.updateStarters, DropDownType.MULTI));
new DropDownOption(this.scene, "WIN", i18next.t("filterBar:hasWon")),
new DropDownOption(this.scene, "NOTWIN", i18next.t("filterBar:hasNotWon"))];
this.filterBar.addFilter(i18next.t("filterBar:winFilter"), new DropDown(this.scene, 0, 0, winOptions, this.updateStarters, DropDownType.MULTI));
this.filterBar.defaultWinVals = this.filterBar.getVals(DropDownColumn.WIN);
// sort filter
const sortOptions = [
new DropDownOption(this.scene, 0, "No."),
new DropDownOption(this.scene, 1, "Cost", null, DropDownState.OFF),
new DropDownOption(this.scene, 2, "# Candies", null, DropDownState.OFF),
new DropDownOption(this.scene, 3, "IVs", null, DropDownState.OFF),
new DropDownOption(this.scene, 4, "Name", null, DropDownState.OFF)];
this.filterBar.addFilter("Sort", new DropDown(this.scene, 0, 0, sortOptions, this.updateStarters, DropDownType.SINGLE));
new DropDownOption(this.scene, 0, i18next.t("filterBar:sortByNumber")),
new DropDownOption(this.scene, 1, i18next.t("filterBar:sortByCost"), null, DropDownState.OFF),
new DropDownOption(this.scene, 2, i18next.t("filterBar:sortByCandies"), null, DropDownState.OFF),
new DropDownOption(this.scene, 3, i18next.t("filterBar:sortByIVs"), null, DropDownState.OFF),
new DropDownOption(this.scene, 4, i18next.t("filterBar:sortByName"), null, DropDownState.OFF)];
this.filterBar.addFilter(i18next.t("filterBar:sortFilter"), new DropDown(this.scene, 0, 0, sortOptions, this.updateStarters, DropDownType.SINGLE));
this.filterBarContainer.add(this.filterBar);
this.filterBar.defaultSortVals = this.filterBar.getVals(DropDownColumn.SORT);