Misc translatable util update

Allow EntitySearchSetup to be translated (rearrange the initialization, no need to retain/defer).
Rename Gen9a's gender label (previously blacklisted as an "auto-updating" label).

Other gender/Stat labels currently blacklisted in DevUtil probably need to get refactored to be enums/etc, but I currently lack the time/patience to understand those editors well enough to properly support the refactoring needed.

json exports: add newline at end to match the default editorconfig settings and general convention. we don't want textfiles loading in as a string[] with an empty string last entry.
This commit is contained in:
Kurt 2026-03-05 21:57:08 -06:00
parent 3e33f0fc2e
commit 244b34b8d3
43 changed files with 308 additions and 56 deletions

View File

@ -12,4 +12,4 @@
"FrameNewGame": "Neues Spiel: 0x{0}, Frame: {1}", "FrameNewGame": "Neues Spiel: 0x{0}, Frame: {1}",
"FrameInitial": "Initial: 0x{0}, Frame: {1}", "FrameInitial": "Initial: 0x{0}, Frame: {1}",
"SuffixDays": " (tage: {0})" "SuffixDays": " (tage: {0})"
} }

View File

@ -12,4 +12,4 @@
"FrameNewGame": "New Game: 0x{0}, Frame: {1}", "FrameNewGame": "New Game: 0x{0}, Frame: {1}",
"FrameInitial": "Initial: 0x{0}, Frame: {1}", "FrameInitial": "Initial: 0x{0}, Frame: {1}",
"SuffixDays": " (days: {0})" "SuffixDays": " (days: {0})"
} }

View File

@ -12,4 +12,4 @@
"FrameNewGame": "Nuevo juego: 0x{0}, Fotograma: {1}", "FrameNewGame": "Nuevo juego: 0x{0}, Fotograma: {1}",
"FrameInitial": "Inicial: 0x{0}, Fotograma: {1}", "FrameInitial": "Inicial: 0x{0}, Fotograma: {1}",
"SuffixDays": " (días: {0})" "SuffixDays": " (días: {0})"
} }

View File

@ -12,4 +12,4 @@
"FrameNewGame": "Nuevo juego: 0x{0}, Fotograma: {1}", "FrameNewGame": "Nuevo juego: 0x{0}, Fotograma: {1}",
"FrameInitial": "Inicial: 0x{0}, Fotograma: {1}", "FrameInitial": "Inicial: 0x{0}, Fotograma: {1}",
"SuffixDays": " (días: {0})" "SuffixDays": " (días: {0})"
} }

View File

@ -12,4 +12,4 @@
"FrameNewGame": "Nouvelle partie : 0x{0}, Image : {1}", "FrameNewGame": "Nouvelle partie : 0x{0}, Image : {1}",
"FrameInitial": "Initial : 0x{0}, Image : {1}", "FrameInitial": "Initial : 0x{0}, Image : {1}",
"SuffixDays": " (jours : {0})" "SuffixDays": " (jours : {0})"
} }

View File

@ -12,4 +12,4 @@
"FrameNewGame": "Nuova partita: 0x{0}, Frame: {1}", "FrameNewGame": "Nuova partita: 0x{0}, Frame: {1}",
"FrameInitial": "Iniziale: 0x{0}, Frame: {1}", "FrameInitial": "Iniziale: 0x{0}, Frame: {1}",
"SuffixDays": " (giorni: {0})" "SuffixDays": " (giorni: {0})"
} }

View File

@ -12,4 +12,4 @@
"FrameNewGame": "新規ゲーム: 0x{0}, フレーム: {1}", "FrameNewGame": "新規ゲーム: 0x{0}, フレーム: {1}",
"FrameInitial": "初期値: 0x{0}, フレーム: {1}", "FrameInitial": "初期値: 0x{0}, フレーム: {1}",
"SuffixDays": " (日数: {0})" "SuffixDays": " (日数: {0})"
} }

View File

@ -12,4 +12,4 @@
"FrameNewGame": "새 게임: 0x{0}, 프레임: {1}", "FrameNewGame": "새 게임: 0x{0}, 프레임: {1}",
"FrameInitial": "초기값: 0x{0}, 프레임: {1}", "FrameInitial": "초기값: 0x{0}, 프레임: {1}",
"SuffixDays": " (일: {0})" "SuffixDays": " (일: {0})"
} }

View File

@ -12,4 +12,4 @@
"FrameNewGame": "新游戏0x{0},帧:{1}", "FrameNewGame": "新游戏0x{0},帧:{1}",
"FrameInitial": "初始0x{0},帧:{1}", "FrameInitial": "初始0x{0},帧:{1}",
"SuffixDays": " (天数:{0})" "SuffixDays": " (天数:{0})"
} }

View File

@ -12,4 +12,4 @@
"FrameNewGame": "新遊戲0x{0},幀:{1}", "FrameNewGame": "新遊戲0x{0},幀:{1}",
"FrameInitial": "初始0x{0},幀:{1}", "FrameInitial": "初始0x{0},幀:{1}",
"SuffixDays": " (天數:{0})" "SuffixDays": " (天數:{0})"
} }

View File

@ -374,4 +374,4 @@
"BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.", "BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.",
"BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.", "BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.",
"BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot." "BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot."
} }

View File

@ -374,4 +374,4 @@
"BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.", "BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.",
"BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.", "BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.",
"BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot." "BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot."
} }

View File

@ -374,4 +374,4 @@
"BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.", "BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.",
"BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.", "BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.",
"BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot." "BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot."
} }

View File

@ -374,4 +374,4 @@
"BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.", "BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.",
"BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.", "BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.",
"BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot." "BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot."
} }

View File

@ -374,4 +374,4 @@
"BulkHeldItemInventoryNotAcquired_0": "L'objet {0} n'a pas été obtenu dans l'inventaire du joueur.", "BulkHeldItemInventoryNotAcquired_0": "L'objet {0} n'a pas été obtenu dans l'inventaire du joueur.",
"BulkHeldItemInventoryUnassigned_0": "L'objet {0} n'est pas marqué comme ayant été assigné dans l'inventaire du joueur.", "BulkHeldItemInventoryUnassigned_0": "L'objet {0} n'est pas marqué comme ayant été assigné dans l'inventaire du joueur.",
"BulkFusionSourceInvalid": "L'espèce retirée de fusion stockée dans la sauvegarde ne correspond pas à la forme de fusion stockée attendue." "BulkFusionSourceInvalid": "L'espèce retirée de fusion stockée dans la sauvegarde ne correspond pas à la forme de fusion stockée attendue."
} }

View File

@ -374,4 +374,4 @@
"BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.", "BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.",
"BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.", "BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.",
"BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot." "BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot."
} }

View File

@ -374,4 +374,4 @@
"BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.", "BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.",
"BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.", "BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.",
"BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot." "BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot."
} }

View File

@ -374,4 +374,4 @@
"BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.", "BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.",
"BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.", "BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.",
"BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot." "BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot."
} }

View File

@ -374,4 +374,4 @@
"BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.", "BulkHeldItemInventoryNotAcquired_0": "{0} has not been acquired in player inventory.",
"BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.", "BulkHeldItemInventoryUnassigned_0": "{0} is not marked as assigned in player inventory.",
"BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot." "BulkFusionSourceInvalid": "The subsumed Species-Form stored in the save file does not match the expected Species-Form of the fused slot."
} }

View File

@ -18,4 +18,4 @@
"EggInvalid": "Unerwartete Ei-Attacke.", "EggInvalid": "Unerwartete Ei-Attacke.",
"EggLevelUp": "Vererbte Attacke durch Level-Aufstieg erlernt.", "EggLevelUp": "Vererbte Attacke durch Level-Aufstieg erlernt.",
"LevelUpSuffix": " @ lv{0}" "LevelUpSuffix": " @ lv{0}"
} }

View File

@ -18,4 +18,4 @@
"EggInvalid": "Not an expected Egg move.", "EggInvalid": "Not an expected Egg move.",
"EggLevelUp": "Inherited move learned by Level-up.", "EggLevelUp": "Inherited move learned by Level-up.",
"LevelUpSuffix": " @ lv{0}" "LevelUpSuffix": " @ lv{0}"
} }

View File

@ -18,4 +18,4 @@
"EggInvalid": "Movimiento Huevo no esperado.", "EggInvalid": "Movimiento Huevo no esperado.",
"EggLevelUp": "Movimiento heredado aprendido por subida de nivel.", "EggLevelUp": "Movimiento heredado aprendido por subida de nivel.",
"LevelUpSuffix": " @ lv{0}" "LevelUpSuffix": " @ lv{0}"
} }

View File

@ -18,4 +18,4 @@
"EggInvalid": "Movimiento Huevo no esperado.", "EggInvalid": "Movimiento Huevo no esperado.",
"EggLevelUp": "Movimiento heredado aprendido por subida de nivel.", "EggLevelUp": "Movimiento heredado aprendido por subida de nivel.",
"LevelUpSuffix": " @ lv{0}" "LevelUpSuffix": " @ lv{0}"
} }

View File

@ -18,4 +18,4 @@
"EggInvalid": "Capacité Œuf non attendue.", "EggInvalid": "Capacité Œuf non attendue.",
"EggLevelUp": "Capacité héritée apprise par montée de niveau.", "EggLevelUp": "Capacité héritée apprise par montée de niveau.",
"LevelUpSuffix": " @ niv {0}" "LevelUpSuffix": " @ niv {0}"
} }

View File

@ -18,4 +18,4 @@
"EggInvalid": "Mossa Uovo non prevista.", "EggInvalid": "Mossa Uovo non prevista.",
"EggLevelUp": "Mossa ereditata appresa per aumento di livello.", "EggLevelUp": "Mossa ereditata appresa per aumento di livello.",
"LevelUpSuffix": " @ lv{0}" "LevelUpSuffix": " @ lv{0}"
} }

View File

@ -18,4 +18,4 @@
"EggInvalid": "期待されないタマゴ技。", "EggInvalid": "期待されないタマゴ技。",
"EggLevelUp": "遺伝レベルアップ技。", "EggLevelUp": "遺伝レベルアップ技。",
"LevelUpSuffix": " @ lv{0}" "LevelUpSuffix": " @ lv{0}"
} }

View File

@ -18,4 +18,4 @@
"EggInvalid": "예상되지 않은 알 기술.", "EggInvalid": "예상되지 않은 알 기술.",
"EggLevelUp": "유전된 레벨업 기술.", "EggLevelUp": "유전된 레벨업 기술.",
"LevelUpSuffix": " @ lv{0}" "LevelUpSuffix": " @ lv{0}"
} }

View File

@ -18,4 +18,4 @@
"EggInvalid": "非预期的蛋招式。", "EggInvalid": "非预期的蛋招式。",
"EggLevelUp": "遗传升级学会的招式。", "EggLevelUp": "遗传升级学会的招式。",
"LevelUpSuffix": " @ lv{0}" "LevelUpSuffix": " @ lv{0}"
} }

View File

@ -18,4 +18,4 @@
"EggInvalid": "非預期的蛋招式。", "EggInvalid": "非預期的蛋招式。",
"EggLevelUp": "遺傳升級學會的招式。", "EggLevelUp": "遺傳升級學會的招式。",
"LevelUpSuffix": " @ lv{0}" "LevelUpSuffix": " @ lv{0}"
} }

View File

@ -1636,8 +1636,7 @@ private void B_SearchBox_Click(object sender, EventArgs e)
private EntitySearchSetup CreateSearcher(SaveFile sav, IPKMView edit) private EntitySearchSetup CreateSearcher(SaveFile sav, IPKMView edit)
{ {
BoxSearchClear(); BoxSearchClear();
var result = new EntitySearchSetup(); var result = new EntitySearchSetup(edit, sav);
result.Initialize(sav, edit);
result.ResetRequested += UpdateSearch; result.ResetRequested += UpdateSearch;
result.SearchRequested += UpdateSearch; result.SearchRequested += UpdateSearch;

View File

@ -1,6 +1,7 @@
About=Über About=Über
BatchEditor=Batch Editor BatchEditor=Batch Editor
BoxExporter=Box Export BoxExporter=Box Export
EntitySearchSetup=Search
ErrorWindow=Fehler ErrorWindow=Fehler
KChart=Tabelle KChart=Tabelle
Main=PKHeX Main=PKHeX
@ -121,6 +122,32 @@ BattlePassType.Other3=Andere 3
BattlePassType.Rental=Leih BattlePassType.Rental=Leih
BoxExporter.B_Export=Export BoxExporter.B_Export=Export
BoxExporter.L_Namer=Namer: BoxExporter.L_Namer=Namer:
EntitySearchSetup.B_Add=Add
EntitySearchSetup.B_Next=Next
EntitySearchSetup.B_Previous=Previous
EntitySearchSetup.B_Reset=Reset Filters
EntitySearchSetup.B_Search=Search!
EntitySearchSetup.CHK_IsEgg=Egg
EntitySearchSetup.CHK_Shiny=Shiny
EntitySearchSetup.L_ESV=ESV:
EntitySearchSetup.L_EVTraining=EV Training:
EntitySearchSetup.L_Format=Format:
EntitySearchSetup.L_Generation=Generation:
EntitySearchSetup.L_Move1=Move 1:
EntitySearchSetup.L_Move2=Move 2:
EntitySearchSetup.L_Move3=Move 3:
EntitySearchSetup.L_Move4=Move 4:
EntitySearchSetup.L_Potential=IV Potential:
EntitySearchSetup.L_Version=OT Version:
EntitySearchSetup.Label_Ability=Ability:
EntitySearchSetup.Label_CurLevel=Level:
EntitySearchSetup.Label_HeldItem=Held Item:
EntitySearchSetup.Label_HiddenPowerPrefix=Hidden Power:
EntitySearchSetup.Label_Nature=Nature:
EntitySearchSetup.Label_Nickname=Nickname:
EntitySearchSetup.Label_Species=Species:
EntitySearchSetup.Tab_Advanced=Advanced
EntitySearchSetup.Tab_General=General
ErrorWindow.B_Abort=Abbrechen ErrorWindow.B_Abort=Abbrechen
ErrorWindow.B_Continue=Fortfahren ErrorWindow.B_Continue=Fortfahren
ErrorWindow.B_CopyToClipboard=In Zwischenablage kopieren ErrorWindow.B_CopyToClipboard=In Zwischenablage kopieren
@ -1759,6 +1786,7 @@ SAV_Pokedex9a.GB_Language=Languages
SAV_Pokedex9a.GB_Seen=Seen SAV_Pokedex9a.GB_Seen=Seen
SAV_Pokedex9a.L_Caught=Caught: SAV_Pokedex9a.L_Caught=Caught:
SAV_Pokedex9a.L_DisplayForm=Form: SAV_Pokedex9a.L_DisplayForm=Form:
SAV_Pokedex9a.L_DisplayGendered=Gender:
SAV_Pokedex9a.L_goto=goto: SAV_Pokedex9a.L_goto=goto:
SAV_Pokedex9a.L_Seen=Seen: SAV_Pokedex9a.L_Seen=Seen:
SAV_Pokedex9a.L_SeenShiny=Seen (Shiny): SAV_Pokedex9a.L_SeenShiny=Seen (Shiny):

View File

@ -1,6 +1,7 @@
About=About About=About
BatchEditor=Batch Editor BatchEditor=Batch Editor
BoxExporter=Box Export BoxExporter=Box Export
EntitySearchSetup=Search
ErrorWindow=Error ErrorWindow=Error
KChart=KChart KChart=KChart
Main=PKHeX Main=PKHeX
@ -121,6 +122,32 @@ BattlePassType.Other3=Other 3
BattlePassType.Rental=Rental BattlePassType.Rental=Rental
BoxExporter.B_Export=Export BoxExporter.B_Export=Export
BoxExporter.L_Namer=Namer: BoxExporter.L_Namer=Namer:
EntitySearchSetup.B_Add=Add
EntitySearchSetup.B_Next=Next
EntitySearchSetup.B_Previous=Previous
EntitySearchSetup.B_Reset=Reset Filters
EntitySearchSetup.B_Search=Search!
EntitySearchSetup.CHK_IsEgg=Egg
EntitySearchSetup.CHK_Shiny=Shiny
EntitySearchSetup.L_ESV=ESV:
EntitySearchSetup.L_EVTraining=EV Training:
EntitySearchSetup.L_Format=Format:
EntitySearchSetup.L_Generation=Generation:
EntitySearchSetup.L_Move1=Move 1:
EntitySearchSetup.L_Move2=Move 2:
EntitySearchSetup.L_Move3=Move 3:
EntitySearchSetup.L_Move4=Move 4:
EntitySearchSetup.L_Potential=IV Potential:
EntitySearchSetup.L_Version=OT Version:
EntitySearchSetup.Label_Ability=Ability:
EntitySearchSetup.Label_CurLevel=Level:
EntitySearchSetup.Label_HeldItem=Held Item:
EntitySearchSetup.Label_HiddenPowerPrefix=Hidden Power:
EntitySearchSetup.Label_Nature=Nature:
EntitySearchSetup.Label_Nickname=Nickname:
EntitySearchSetup.Label_Species=Species:
EntitySearchSetup.Tab_Advanced=Advanced
EntitySearchSetup.Tab_General=General
ErrorWindow.B_Abort=Abort ErrorWindow.B_Abort=Abort
ErrorWindow.B_Continue=Continue ErrorWindow.B_Continue=Continue
ErrorWindow.B_CopyToClipboard=Copy to Clipboard ErrorWindow.B_CopyToClipboard=Copy to Clipboard
@ -1759,6 +1786,7 @@ SAV_Pokedex9a.GB_Language=Languages
SAV_Pokedex9a.GB_Seen=Seen SAV_Pokedex9a.GB_Seen=Seen
SAV_Pokedex9a.L_Caught=Caught: SAV_Pokedex9a.L_Caught=Caught:
SAV_Pokedex9a.L_DisplayForm=Form: SAV_Pokedex9a.L_DisplayForm=Form:
SAV_Pokedex9a.L_DisplayGendered=Gender:
SAV_Pokedex9a.L_goto=goto: SAV_Pokedex9a.L_goto=goto:
SAV_Pokedex9a.L_Seen=Seen: SAV_Pokedex9a.L_Seen=Seen:
SAV_Pokedex9a.L_SeenShiny=Seen (Shiny): SAV_Pokedex9a.L_SeenShiny=Seen (Shiny):

View File

@ -1,6 +1,7 @@
About=Acerca de About=Acerca de
BatchEditor=Editor por Lotes BatchEditor=Editor por Lotes
BoxExporter=Exportar caja BoxExporter=Exportar caja
EntitySearchSetup=Search
ErrorWindow=Error ErrorWindow=Error
KChart=KChart KChart=KChart
Main=PKHeX Main=PKHeX
@ -121,6 +122,32 @@ BattlePassType.Other3=Otros 3
BattlePassType.Rental=Préstamo BattlePassType.Rental=Préstamo
BoxExporter.B_Export=Exportar BoxExporter.B_Export=Exportar
BoxExporter.L_Namer=Nombre: BoxExporter.L_Namer=Nombre:
EntitySearchSetup.B_Add=Add
EntitySearchSetup.B_Next=Next
EntitySearchSetup.B_Previous=Previous
EntitySearchSetup.B_Reset=Reset Filters
EntitySearchSetup.B_Search=Search!
EntitySearchSetup.CHK_IsEgg=Egg
EntitySearchSetup.CHK_Shiny=Shiny
EntitySearchSetup.L_ESV=ESV:
EntitySearchSetup.L_EVTraining=EV Training:
EntitySearchSetup.L_Format=Format:
EntitySearchSetup.L_Generation=Generation:
EntitySearchSetup.L_Move1=Move 1:
EntitySearchSetup.L_Move2=Move 2:
EntitySearchSetup.L_Move3=Move 3:
EntitySearchSetup.L_Move4=Move 4:
EntitySearchSetup.L_Potential=IV Potential:
EntitySearchSetup.L_Version=OT Version:
EntitySearchSetup.Label_Ability=Ability:
EntitySearchSetup.Label_CurLevel=Level:
EntitySearchSetup.Label_HeldItem=Held Item:
EntitySearchSetup.Label_HiddenPowerPrefix=Hidden Power:
EntitySearchSetup.Label_Nature=Nature:
EntitySearchSetup.Label_Nickname=Nickname:
EntitySearchSetup.Label_Species=Species:
EntitySearchSetup.Tab_Advanced=Advanced
EntitySearchSetup.Tab_General=General
ErrorWindow.B_Abort=Abortar ErrorWindow.B_Abort=Abortar
ErrorWindow.B_Continue=Continuar ErrorWindow.B_Continue=Continuar
ErrorWindow.B_CopyToClipboard=Copiar al portapapeles ErrorWindow.B_CopyToClipboard=Copiar al portapapeles
@ -1759,6 +1786,7 @@ SAV_Pokedex9a.GB_Language=Languages
SAV_Pokedex9a.GB_Seen=Seen SAV_Pokedex9a.GB_Seen=Seen
SAV_Pokedex9a.L_Caught=Caught: SAV_Pokedex9a.L_Caught=Caught:
SAV_Pokedex9a.L_DisplayForm=Form: SAV_Pokedex9a.L_DisplayForm=Form:
SAV_Pokedex9a.L_DisplayGendered=Gender:
SAV_Pokedex9a.L_goto=goto: SAV_Pokedex9a.L_goto=goto:
SAV_Pokedex9a.L_Seen=Seen: SAV_Pokedex9a.L_Seen=Seen:
SAV_Pokedex9a.L_SeenShiny=Seen (Shiny): SAV_Pokedex9a.L_SeenShiny=Seen (Shiny):

View File

@ -1,6 +1,7 @@
About=Acerca de About=Acerca de
BatchEditor=Editor por Lotes BatchEditor=Editor por Lotes
BoxExporter=Exportar caja BoxExporter=Exportar caja
EntitySearchSetup=Search
ErrorWindow=Error ErrorWindow=Error
KChart=KChart KChart=KChart
Main=PKHeX Main=PKHeX
@ -121,6 +122,32 @@ BattlePassType.Other3=Otros 3
BattlePassType.Rental=Préstamo BattlePassType.Rental=Préstamo
BoxExporter.B_Export=Exportar BoxExporter.B_Export=Exportar
BoxExporter.L_Namer=Nombre: BoxExporter.L_Namer=Nombre:
EntitySearchSetup.B_Add=Add
EntitySearchSetup.B_Next=Next
EntitySearchSetup.B_Previous=Previous
EntitySearchSetup.B_Reset=Reset Filters
EntitySearchSetup.B_Search=Search!
EntitySearchSetup.CHK_IsEgg=Egg
EntitySearchSetup.CHK_Shiny=Shiny
EntitySearchSetup.L_ESV=ESV:
EntitySearchSetup.L_EVTraining=EV Training:
EntitySearchSetup.L_Format=Format:
EntitySearchSetup.L_Generation=Generation:
EntitySearchSetup.L_Move1=Move 1:
EntitySearchSetup.L_Move2=Move 2:
EntitySearchSetup.L_Move3=Move 3:
EntitySearchSetup.L_Move4=Move 4:
EntitySearchSetup.L_Potential=IV Potential:
EntitySearchSetup.L_Version=OT Version:
EntitySearchSetup.Label_Ability=Ability:
EntitySearchSetup.Label_CurLevel=Level:
EntitySearchSetup.Label_HeldItem=Held Item:
EntitySearchSetup.Label_HiddenPowerPrefix=Hidden Power:
EntitySearchSetup.Label_Nature=Nature:
EntitySearchSetup.Label_Nickname=Nickname:
EntitySearchSetup.Label_Species=Species:
EntitySearchSetup.Tab_Advanced=Advanced
EntitySearchSetup.Tab_General=General
ErrorWindow.B_Abort=Abortar ErrorWindow.B_Abort=Abortar
ErrorWindow.B_Continue=Continuar ErrorWindow.B_Continue=Continuar
ErrorWindow.B_CopyToClipboard=Copiar al portapapeles ErrorWindow.B_CopyToClipboard=Copiar al portapapeles
@ -1759,6 +1786,7 @@ SAV_Pokedex9a.GB_Language=Idiomas
SAV_Pokedex9a.GB_Seen=Visto SAV_Pokedex9a.GB_Seen=Visto
SAV_Pokedex9a.L_Caught=Capturado: SAV_Pokedex9a.L_Caught=Capturado:
SAV_Pokedex9a.L_DisplayForm=Forma: SAV_Pokedex9a.L_DisplayForm=Forma:
SAV_Pokedex9a.L_DisplayGendered=Gender:
SAV_Pokedex9a.L_goto=goto: SAV_Pokedex9a.L_goto=goto:
SAV_Pokedex9a.L_Seen=Visto: SAV_Pokedex9a.L_Seen=Visto:
SAV_Pokedex9a.L_SeenShiny=Visto (Variocolor): SAV_Pokedex9a.L_SeenShiny=Visto (Variocolor):

View File

@ -1,6 +1,7 @@
About=À propos About=À propos
BatchEditor=Éditeur en vrac BatchEditor=Éditeur en vrac
BoxExporter=Export de boîtes BoxExporter=Export de boîtes
EntitySearchSetup=Search
ErrorWindow=Erreur ErrorWindow=Erreur
KChart=KChart KChart=KChart
Main=PKHeX Main=PKHeX
@ -121,6 +122,32 @@ BattlePassType.Other3=Autre 3
BattlePassType.Rental=Location BattlePassType.Rental=Location
BoxExporter.B_Export=Exporter BoxExporter.B_Export=Exporter
BoxExporter.L_Namer=Nommer : BoxExporter.L_Namer=Nommer :
EntitySearchSetup.B_Add=Add
EntitySearchSetup.B_Next=Next
EntitySearchSetup.B_Previous=Previous
EntitySearchSetup.B_Reset=Reset Filters
EntitySearchSetup.B_Search=Search!
EntitySearchSetup.CHK_IsEgg=Egg
EntitySearchSetup.CHK_Shiny=Shiny
EntitySearchSetup.L_ESV=ESV:
EntitySearchSetup.L_EVTraining=EV Training:
EntitySearchSetup.L_Format=Format:
EntitySearchSetup.L_Generation=Generation:
EntitySearchSetup.L_Move1=Move 1:
EntitySearchSetup.L_Move2=Move 2:
EntitySearchSetup.L_Move3=Move 3:
EntitySearchSetup.L_Move4=Move 4:
EntitySearchSetup.L_Potential=IV Potential:
EntitySearchSetup.L_Version=OT Version:
EntitySearchSetup.Label_Ability=Ability:
EntitySearchSetup.Label_CurLevel=Level:
EntitySearchSetup.Label_HeldItem=Held Item:
EntitySearchSetup.Label_HiddenPowerPrefix=Hidden Power:
EntitySearchSetup.Label_Nature=Nature:
EntitySearchSetup.Label_Nickname=Nickname:
EntitySearchSetup.Label_Species=Species:
EntitySearchSetup.Tab_Advanced=Advanced
EntitySearchSetup.Tab_General=General
ErrorWindow.B_Abort=Abandonner ErrorWindow.B_Abort=Abandonner
ErrorWindow.B_Continue=Continuer ErrorWindow.B_Continue=Continuer
ErrorWindow.B_CopyToClipboard=Copier dans le presse-papiers ErrorWindow.B_CopyToClipboard=Copier dans le presse-papiers
@ -1759,6 +1786,7 @@ SAV_Pokedex9a.GB_Language=Langues
SAV_Pokedex9a.GB_Seen=Vu SAV_Pokedex9a.GB_Seen=Vu
SAV_Pokedex9a.L_Caught=Capturé : SAV_Pokedex9a.L_Caught=Capturé :
SAV_Pokedex9a.L_DisplayForm=Forme : SAV_Pokedex9a.L_DisplayForm=Forme :
SAV_Pokedex9a.L_DisplayGendered=Gender:
SAV_Pokedex9a.L_goto=Aller à : SAV_Pokedex9a.L_goto=Aller à :
SAV_Pokedex9a.L_Seen=Vu : SAV_Pokedex9a.L_Seen=Vu :
SAV_Pokedex9a.L_SeenShiny=Vu (chromatique) : SAV_Pokedex9a.L_SeenShiny=Vu (chromatique) :

View File

@ -1,6 +1,7 @@
About=Info About=Info
BatchEditor=Editor Batch BatchEditor=Editor Batch
BoxExporter=Box Export BoxExporter=Box Export
EntitySearchSetup=Search
ErrorWindow=Errore ErrorWindow=Errore
KChart=KChart KChart=KChart
Main=PKHeX Main=PKHeX
@ -121,6 +122,32 @@ BattlePassType.Other3=Varie 3
BattlePassType.Rental=Noleggio BattlePassType.Rental=Noleggio
BoxExporter.B_Export=Export BoxExporter.B_Export=Export
BoxExporter.L_Namer=Namer: BoxExporter.L_Namer=Namer:
EntitySearchSetup.B_Add=Add
EntitySearchSetup.B_Next=Next
EntitySearchSetup.B_Previous=Previous
EntitySearchSetup.B_Reset=Reset Filters
EntitySearchSetup.B_Search=Search!
EntitySearchSetup.CHK_IsEgg=Egg
EntitySearchSetup.CHK_Shiny=Shiny
EntitySearchSetup.L_ESV=ESV:
EntitySearchSetup.L_EVTraining=EV Training:
EntitySearchSetup.L_Format=Format:
EntitySearchSetup.L_Generation=Generation:
EntitySearchSetup.L_Move1=Move 1:
EntitySearchSetup.L_Move2=Move 2:
EntitySearchSetup.L_Move3=Move 3:
EntitySearchSetup.L_Move4=Move 4:
EntitySearchSetup.L_Potential=IV Potential:
EntitySearchSetup.L_Version=OT Version:
EntitySearchSetup.Label_Ability=Ability:
EntitySearchSetup.Label_CurLevel=Level:
EntitySearchSetup.Label_HeldItem=Held Item:
EntitySearchSetup.Label_HiddenPowerPrefix=Hidden Power:
EntitySearchSetup.Label_Nature=Nature:
EntitySearchSetup.Label_Nickname=Nickname:
EntitySearchSetup.Label_Species=Species:
EntitySearchSetup.Tab_Advanced=Advanced
EntitySearchSetup.Tab_General=General
ErrorWindow.B_Abort=Annulla ErrorWindow.B_Abort=Annulla
ErrorWindow.B_Continue=Continua ErrorWindow.B_Continue=Continua
ErrorWindow.B_CopyToClipboard=Copiato negli appunti ErrorWindow.B_CopyToClipboard=Copiato negli appunti
@ -1759,6 +1786,7 @@ SAV_Pokedex9a.GB_Language=Languages
SAV_Pokedex9a.GB_Seen=Seen SAV_Pokedex9a.GB_Seen=Seen
SAV_Pokedex9a.L_Caught=Caught: SAV_Pokedex9a.L_Caught=Caught:
SAV_Pokedex9a.L_DisplayForm=Form: SAV_Pokedex9a.L_DisplayForm=Form:
SAV_Pokedex9a.L_DisplayGendered=Gender:
SAV_Pokedex9a.L_goto=goto: SAV_Pokedex9a.L_goto=goto:
SAV_Pokedex9a.L_Seen=Seen: SAV_Pokedex9a.L_Seen=Seen:
SAV_Pokedex9a.L_SeenShiny=Seen (Shiny): SAV_Pokedex9a.L_SeenShiny=Seen (Shiny):

View File

@ -1,6 +1,7 @@
About=About About=About
BatchEditor=バッチエディタ BatchEditor=バッチエディタ
BoxExporter=ボックスエクスポート BoxExporter=ボックスエクスポート
EntitySearchSetup=Search
ErrorWindow=エラー ErrorWindow=エラー
KChart=KChart KChart=KChart
Main=PKHeX Main=PKHeX
@ -121,6 +122,32 @@ BattlePassType.Other3=その他3
BattlePassType.Rental=レンタル BattlePassType.Rental=レンタル
BoxExporter.B_Export=エクスポート BoxExporter.B_Export=エクスポート
BoxExporter.L_Namer=Namer: BoxExporter.L_Namer=Namer:
EntitySearchSetup.B_Add=Add
EntitySearchSetup.B_Next=Next
EntitySearchSetup.B_Previous=Previous
EntitySearchSetup.B_Reset=Reset Filters
EntitySearchSetup.B_Search=Search!
EntitySearchSetup.CHK_IsEgg=Egg
EntitySearchSetup.CHK_Shiny=Shiny
EntitySearchSetup.L_ESV=ESV:
EntitySearchSetup.L_EVTraining=EV Training:
EntitySearchSetup.L_Format=Format:
EntitySearchSetup.L_Generation=Generation:
EntitySearchSetup.L_Move1=Move 1:
EntitySearchSetup.L_Move2=Move 2:
EntitySearchSetup.L_Move3=Move 3:
EntitySearchSetup.L_Move4=Move 4:
EntitySearchSetup.L_Potential=IV Potential:
EntitySearchSetup.L_Version=OT Version:
EntitySearchSetup.Label_Ability=Ability:
EntitySearchSetup.Label_CurLevel=Level:
EntitySearchSetup.Label_HeldItem=Held Item:
EntitySearchSetup.Label_HiddenPowerPrefix=Hidden Power:
EntitySearchSetup.Label_Nature=Nature:
EntitySearchSetup.Label_Nickname=Nickname:
EntitySearchSetup.Label_Species=Species:
EntitySearchSetup.Tab_Advanced=Advanced
EntitySearchSetup.Tab_General=General
ErrorWindow.B_Abort=キャンセル ErrorWindow.B_Abort=キャンセル
ErrorWindow.B_Continue=続ける ErrorWindow.B_Continue=続ける
ErrorWindow.B_CopyToClipboard=クリップボードにコピー ErrorWindow.B_CopyToClipboard=クリップボードにコピー
@ -1759,6 +1786,7 @@ SAV_Pokedex9a.GB_Language=言語
SAV_Pokedex9a.GB_Seen=見つけた SAV_Pokedex9a.GB_Seen=見つけた
SAV_Pokedex9a.L_Caught=捕まえた: SAV_Pokedex9a.L_Caught=捕まえた:
SAV_Pokedex9a.L_DisplayForm=フォルム: SAV_Pokedex9a.L_DisplayForm=フォルム:
SAV_Pokedex9a.L_DisplayGendered=Gender:
SAV_Pokedex9a.L_goto=逃げられた: SAV_Pokedex9a.L_goto=逃げられた:
SAV_Pokedex9a.L_Seen=みつけた: SAV_Pokedex9a.L_Seen=みつけた:
SAV_Pokedex9a.L_SeenShiny=みつけた(色違い): SAV_Pokedex9a.L_SeenShiny=みつけた(色違い):

View File

@ -1,6 +1,7 @@
About=정보 About=정보
BatchEditor=일괄 편집 도구 BatchEditor=일괄 편집 도구
BoxExporter=박스 내보내기 BoxExporter=박스 내보내기
EntitySearchSetup=Search
ErrorWindow=오류 ErrorWindow=오류
KChart=KChart KChart=KChart
Main=PKHeX Main=PKHeX
@ -121,6 +122,32 @@ BattlePassType.Other3=Other 3
BattlePassType.Rental=Rental BattlePassType.Rental=Rental
BoxExporter.B_Export=Export BoxExporter.B_Export=Export
BoxExporter.L_Namer=Namer: BoxExporter.L_Namer=Namer:
EntitySearchSetup.B_Add=Add
EntitySearchSetup.B_Next=Next
EntitySearchSetup.B_Previous=Previous
EntitySearchSetup.B_Reset=Reset Filters
EntitySearchSetup.B_Search=Search!
EntitySearchSetup.CHK_IsEgg=Egg
EntitySearchSetup.CHK_Shiny=Shiny
EntitySearchSetup.L_ESV=ESV:
EntitySearchSetup.L_EVTraining=EV Training:
EntitySearchSetup.L_Format=Format:
EntitySearchSetup.L_Generation=Generation:
EntitySearchSetup.L_Move1=Move 1:
EntitySearchSetup.L_Move2=Move 2:
EntitySearchSetup.L_Move3=Move 3:
EntitySearchSetup.L_Move4=Move 4:
EntitySearchSetup.L_Potential=IV Potential:
EntitySearchSetup.L_Version=OT Version:
EntitySearchSetup.Label_Ability=Ability:
EntitySearchSetup.Label_CurLevel=Level:
EntitySearchSetup.Label_HeldItem=Held Item:
EntitySearchSetup.Label_HiddenPowerPrefix=Hidden Power:
EntitySearchSetup.Label_Nature=Nature:
EntitySearchSetup.Label_Nickname=Nickname:
EntitySearchSetup.Label_Species=Species:
EntitySearchSetup.Tab_Advanced=Advanced
EntitySearchSetup.Tab_General=General
ErrorWindow.B_Abort=중단 ErrorWindow.B_Abort=중단
ErrorWindow.B_Continue=계속 ErrorWindow.B_Continue=계속
ErrorWindow.B_CopyToClipboard=클립보드에 복사 ErrorWindow.B_CopyToClipboard=클립보드에 복사
@ -1759,6 +1786,7 @@ SAV_Pokedex9a.GB_Language=Languages
SAV_Pokedex9a.GB_Seen=Seen SAV_Pokedex9a.GB_Seen=Seen
SAV_Pokedex9a.L_Caught=Caught: SAV_Pokedex9a.L_Caught=Caught:
SAV_Pokedex9a.L_DisplayForm=Form: SAV_Pokedex9a.L_DisplayForm=Form:
SAV_Pokedex9a.L_DisplayGendered=Gender:
SAV_Pokedex9a.L_goto=goto: SAV_Pokedex9a.L_goto=goto:
SAV_Pokedex9a.L_Seen=Seen: SAV_Pokedex9a.L_Seen=Seen:
SAV_Pokedex9a.L_SeenShiny=Seen (Shiny): SAV_Pokedex9a.L_SeenShiny=Seen (Shiny):

View File

@ -1,6 +1,7 @@
About=关于 About=关于
BatchEditor=批量编辑器 BatchEditor=批量编辑器
BoxExporter=导出箱子 BoxExporter=导出箱子
EntitySearchSetup=检索
ErrorWindow=错误 ErrorWindow=错误
KChart=信息列表 KChart=信息列表
Main=PKHeX Main=PKHeX
@ -121,14 +122,13 @@ BattlePassType.Other3=其他3
BattlePassType.Rental=租借 BattlePassType.Rental=租借
BoxExporter.B_Export=导出 BoxExporter.B_Export=导出
BoxExporter.L_Namer=姓名: BoxExporter.L_Namer=姓名:
EntitySearchSetup=检索
EntitySearchSetup.CHK_IsEgg=蛋
EntitySearchSetup.CHK_Shiny=异色
EntitySearchSetup.B_Add=添加 EntitySearchSetup.B_Add=添加
EntitySearchSetup.B_Next=下一个 EntitySearchSetup.B_Next=下一个
EntitySearchSetup.B_Previous=上一个 EntitySearchSetup.B_Previous=上一个
EntitySearchSetup.B_Reset=重置筛选 EntitySearchSetup.B_Reset=重置筛选
EntitySearchSetup.B_Search=检索! EntitySearchSetup.B_Search=检索!
EntitySearchSetup.CHK_IsEgg=蛋
EntitySearchSetup.CHK_Shiny=异色
EntitySearchSetup.L_ESV=异色值: EntitySearchSetup.L_ESV=异色值:
EntitySearchSetup.L_EVTraining=努力值: EntitySearchSetup.L_EVTraining=努力值:
EntitySearchSetup.L_Format=格式: EntitySearchSetup.L_Format=格式:
@ -148,8 +148,6 @@ EntitySearchSetup.Label_Nickname=昵称:
EntitySearchSetup.Label_Species=种类: EntitySearchSetup.Label_Species=种类:
EntitySearchSetup.Tab_Advanced=高级 EntitySearchSetup.Tab_Advanced=高级
EntitySearchSetup.Tab_General=一般 EntitySearchSetup.Tab_General=一般
EntitySearchSetup.TC_SearchSettings=设置
EntitySearchSetup.UC_EntitySearch=检索
ErrorWindow.B_Abort=终止 ErrorWindow.B_Abort=终止
ErrorWindow.B_Continue=继续 ErrorWindow.B_Continue=继续
ErrorWindow.B_CopyToClipboard=复制到剪切板 ErrorWindow.B_CopyToClipboard=复制到剪切板
@ -1788,7 +1786,7 @@ SAV_Pokedex9a.GB_Language=语言
SAV_Pokedex9a.GB_Seen=已见 SAV_Pokedex9a.GB_Seen=已见
SAV_Pokedex9a.L_Caught=已捕获: SAV_Pokedex9a.L_Caught=已捕获:
SAV_Pokedex9a.L_DisplayForm=形态: SAV_Pokedex9a.L_DisplayForm=形态:
SAV_Pokedex9a.L_DisplayGender=性别: SAV_Pokedex9a.L_DisplayGendered=性别:
SAV_Pokedex9a.L_goto=跳转到: SAV_Pokedex9a.L_goto=跳转到:
SAV_Pokedex9a.L_Seen=已见: SAV_Pokedex9a.L_Seen=已见:
SAV_Pokedex9a.L_SeenShiny=已见(异色): SAV_Pokedex9a.L_SeenShiny=已见(异色):

View File

@ -1,6 +1,7 @@
About=關於 About=關於
BatchEditor=批量編輯器 BatchEditor=批量編輯器
BoxExporter=導出箱子 BoxExporter=導出箱子
EntitySearchSetup=Search
ErrorWindow=錯誤 ErrorWindow=錯誤
KChart=信息清單 KChart=信息清單
Main=PKHeX Main=PKHeX
@ -121,6 +122,32 @@ BattlePassType.Other3=其他3
BattlePassType.Rental=租借 BattlePassType.Rental=租借
BoxExporter.B_Export=導出 BoxExporter.B_Export=導出
BoxExporter.L_Namer=姓名: BoxExporter.L_Namer=姓名:
EntitySearchSetup.B_Add=Add
EntitySearchSetup.B_Next=Next
EntitySearchSetup.B_Previous=Previous
EntitySearchSetup.B_Reset=Reset Filters
EntitySearchSetup.B_Search=Search!
EntitySearchSetup.CHK_IsEgg=Egg
EntitySearchSetup.CHK_Shiny=Shiny
EntitySearchSetup.L_ESV=ESV:
EntitySearchSetup.L_EVTraining=EV Training:
EntitySearchSetup.L_Format=Format:
EntitySearchSetup.L_Generation=Generation:
EntitySearchSetup.L_Move1=Move 1:
EntitySearchSetup.L_Move2=Move 2:
EntitySearchSetup.L_Move3=Move 3:
EntitySearchSetup.L_Move4=Move 4:
EntitySearchSetup.L_Potential=IV Potential:
EntitySearchSetup.L_Version=OT Version:
EntitySearchSetup.Label_Ability=Ability:
EntitySearchSetup.Label_CurLevel=Level:
EntitySearchSetup.Label_HeldItem=Held Item:
EntitySearchSetup.Label_HiddenPowerPrefix=Hidden Power:
EntitySearchSetup.Label_Nature=Nature:
EntitySearchSetup.Label_Nickname=Nickname:
EntitySearchSetup.Label_Species=Species:
EntitySearchSetup.Tab_Advanced=Advanced
EntitySearchSetup.Tab_General=General
ErrorWindow.B_Abort=終止 ErrorWindow.B_Abort=終止
ErrorWindow.B_Continue=繼續 ErrorWindow.B_Continue=繼續
ErrorWindow.B_CopyToClipboard=複製到剪切板 ErrorWindow.B_CopyToClipboard=複製到剪切板
@ -1759,6 +1786,7 @@ SAV_Pokedex9a.GB_Language=Languages
SAV_Pokedex9a.GB_Seen=Seen SAV_Pokedex9a.GB_Seen=Seen
SAV_Pokedex9a.L_Caught=Caught: SAV_Pokedex9a.L_Caught=Caught:
SAV_Pokedex9a.L_DisplayForm=Form: SAV_Pokedex9a.L_DisplayForm=Form:
SAV_Pokedex9a.L_DisplayGendered=Gender:
SAV_Pokedex9a.L_goto=goto: SAV_Pokedex9a.L_goto=goto:
SAV_Pokedex9a.L_Seen=Seen: SAV_Pokedex9a.L_Seen=Seen:
SAV_Pokedex9a.L_SeenShiny=Seen (Shiny): SAV_Pokedex9a.L_SeenShiny=Seen (Shiny):

View File

@ -9,10 +9,17 @@ namespace PKHeX.WinForms;
public partial class EntitySearchSetup : Form public partial class EntitySearchSetup : Form
{ {
private EntityInstructionBuilder? UC_Builder; private EntityInstructionBuilder? UC_Builder;
private SaveFile? CurrentSave; private SaveFile CurrentSave;
public Func<PKM, bool>? SearchFilter { get; private set; } public Func<PKM, bool>? SearchFilter { get; private set; }
public EntitySearchSetup() => InitializeComponent(); public EntitySearchSetup(IPKMView edit, SaveFile sav)
{
CurrentSave = sav;
InitializeComponent();
Initialize(sav);
EnsureBuilder(edit);
WinFormsUtil.TranslateInterface(this, Main.CurrentLanguage);
}
/// <summary> /// <summary>
/// Occurs when the Search action is requested. /// Occurs when the Search action is requested.
@ -38,17 +45,13 @@ public partial class EntitySearchSetup : Form
/// Initializes the search setup controls using the provided save file. /// Initializes the search setup controls using the provided save file.
/// </summary> /// </summary>
/// <param name="sav">Save file used to configure search settings.</param> /// <param name="sav">Save file used to configure search settings.</param>
/// <param name="edit">Editor to provide the current PKM.</param> private void Initialize(SaveFile sav)
public void Initialize(SaveFile sav, IPKMView edit)
{ {
ArgumentNullException.ThrowIfNull(sav); WinFormsUtil.TranslateInterface(this, Main.CurrentLanguage);
UC_EntitySearch.PopulateComboBoxes(GameInfo.FilteredSources); UC_EntitySearch.PopulateComboBoxes(GameInfo.FilteredSources);
UC_EntitySearch.SetFormatAnyText(MsgAny); UC_EntitySearch.SetFormatAnyText(MsgAny);
UC_EntitySearch.InitializeSelections(sav, showContext: false); UC_EntitySearch.InitializeSelections(sav, showContext: false);
CurrentSave = sav; CurrentSave = sav;
EnsureBuilder(edit);
WinFormsUtil.TranslateInterface(this, Main.CurrentLanguage);
} }
protected override void OnShown(EventArgs e) protected override void OnShown(EventArgs e)

View File

@ -48,7 +48,7 @@ private void InitializeComponent()
CB_DisplayForm = new System.Windows.Forms.ComboBox(); CB_DisplayForm = new System.Windows.Forms.ComboBox();
GB_Displayed = new System.Windows.Forms.GroupBox(); GB_Displayed = new System.Windows.Forms.GroupBox();
L_DisplayForm = new System.Windows.Forms.Label(); L_DisplayForm = new System.Windows.Forms.Label();
L_DisplayGender = new System.Windows.Forms.Label(); L_DisplayGendered = new System.Windows.Forms.Label();
CB_Gender = new System.Windows.Forms.ComboBox(); CB_Gender = new System.Windows.Forms.ComboBox();
CHK_DisplayShiny = new System.Windows.Forms.CheckBox(); CHK_DisplayShiny = new System.Windows.Forms.CheckBox();
GB_Language = new System.Windows.Forms.GroupBox(); GB_Language = new System.Windows.Forms.GroupBox();
@ -236,7 +236,7 @@ private void InitializeComponent()
// GB_Displayed // GB_Displayed
// //
GB_Displayed.Controls.Add(L_DisplayForm); GB_Displayed.Controls.Add(L_DisplayForm);
GB_Displayed.Controls.Add(L_DisplayGender); GB_Displayed.Controls.Add(L_DisplayGendered);
GB_Displayed.Controls.Add(CB_Gender); GB_Displayed.Controls.Add(CB_Gender);
GB_Displayed.Controls.Add(CHK_DisplayShiny); GB_Displayed.Controls.Add(CHK_DisplayShiny);
GB_Displayed.Controls.Add(CB_DisplayForm); GB_Displayed.Controls.Add(CB_DisplayForm);
@ -258,14 +258,14 @@ private void InitializeComponent()
L_DisplayForm.Text = "Form:"; L_DisplayForm.Text = "Form:";
L_DisplayForm.TextAlign = System.Drawing.ContentAlignment.MiddleRight; L_DisplayForm.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// L_DisplayGender // L_DisplayGendered
// //
L_DisplayGender.Location = new System.Drawing.Point(9, 25); L_DisplayGendered.Location = new System.Drawing.Point(9, 25);
L_DisplayGender.Name = "L_DisplayGender"; L_DisplayGendered.Name = "L_DisplayGendered";
L_DisplayGender.Size = new System.Drawing.Size(72, 20); L_DisplayGendered.Size = new System.Drawing.Size(72, 20);
L_DisplayGender.TabIndex = 53; L_DisplayGendered.TabIndex = 53;
L_DisplayGender.Text = "Gender:"; L_DisplayGendered.Text = "Gender:";
L_DisplayGender.TextAlign = System.Drawing.ContentAlignment.MiddleRight; L_DisplayGendered.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// CB_Gender // CB_Gender
// //
@ -674,7 +674,7 @@ private void InitializeComponent()
private System.Windows.Forms.CheckBox CHK_SeenMale; private System.Windows.Forms.CheckBox CHK_SeenMale;
private System.Windows.Forms.CheckBox CHK_IsNew; private System.Windows.Forms.CheckBox CHK_IsNew;
private System.Windows.Forms.Label L_DisplayForm; private System.Windows.Forms.Label L_DisplayForm;
private System.Windows.Forms.Label L_DisplayGender; private System.Windows.Forms.Label L_DisplayGendered;
private System.Windows.Forms.CheckedListBox CLB_FormCaught; private System.Windows.Forms.CheckedListBox CLB_FormCaught;
private System.Windows.Forms.CheckedListBox CLB_FormShiny; private System.Windows.Forms.CheckedListBox CLB_FormShiny;
private System.Windows.Forms.CheckBox CHK_SeenAlpha; private System.Windows.Forms.CheckBox CHK_SeenAlpha;

View File

@ -273,7 +273,7 @@ private static void DumpStringsLegality()
{ {
var location = Path.Combine(dir, set.GetFileName(lang)); var location = Path.Combine(dir, set.GetFileName(lang));
var json = JsonSerializer.Serialize(entries, set.Info); var json = JsonSerializer.Serialize(entries, set.Info);
File.WriteAllText(location, json); File.WriteAllText(location, json + Environment.NewLine);
} }
} }