2
0
Fork 0
mirror of https://github.com/kwsch/PKHeX synced 2025-03-04 15:27:14 +00:00

Update translatables

This commit is contained in:
Kurt 2024-06-02 23:19:33 -05:00
parent 2d0d0236e3
commit 99a514b0bc
12 changed files with 32 additions and 3 deletions

View file

@ -24,7 +24,7 @@ public sealed partial class ErrorWindow : Form
catch { return System.Threading.Thread.CurrentThread.CurrentUICulture.TwoLetterISOLanguageName; }
}
private ErrorWindow(string? lang = GameLanguage.DefaultLanguage)
public ErrorWindow(string? lang = GameLanguage.DefaultLanguage)
{
InitializeComponent();
WinFormsUtil.TranslateInterface(this, lang ?? GetDisplayLanguage());

View file

@ -92,6 +92,7 @@ BoxExporter.label1=Namer:
ErrorWindow.B_Abort=Abbrechen
ErrorWindow.B_Continue=Fortfahren
ErrorWindow.B_CopyToClipboard=In Zwischenablage kopieren
ErrorWindow.L_Message=An unknown error has occurred.
ErrorWindow.L_ProvideInfo=Bitte gib diese Informationen an, wenn du den Fehler meldest:
LocalizedDescription.AllowBoxDataDrop=Allow drag and drop of boxdata binary files from the GUI via the Box tab.
LocalizedDescription.AllowGen1Tradeback=Erlaube Gen 1 Rücktausch
@ -1915,6 +1916,8 @@ SAV_ZygardeCell.B_GiveAll=Alle erhalten
SAV_ZygardeCell.B_Save=Speichern
SAV_ZygardeCell.L_Cells=Gelagert:
SAV_ZygardeCell.L_Collected=Gesammelt:
SettingsEditor.B_Reset=Reset All
SettingsEditor.L_Blank=Blank Save Version:
SuperTrainingEditor.B_All=Alle
SuperTrainingEditor.B_Cancel=Abbrechen
SuperTrainingEditor.B_None=Keine

View file

@ -92,6 +92,7 @@ BoxExporter.label1=Namer:
ErrorWindow.B_Abort=Abort
ErrorWindow.B_Continue=Continue
ErrorWindow.B_CopyToClipboard=Copy to Clipboard
ErrorWindow.L_Message=An unknown error has occurred.
ErrorWindow.L_ProvideInfo=Please provide this information when reporting this error:
LocalizedDescription.AllowBoxDataDrop=Allow drag and drop of boxdata binary files from the GUI via the Box tab.
LocalizedDescription.AllowGen1Tradeback=GB: Allow Generation 2 tradeback learnsets
@ -1911,6 +1912,8 @@ SAV_ZygardeCell.B_GiveAll=Collect All
SAV_ZygardeCell.B_Save=Save
SAV_ZygardeCell.L_Cells=Stored:
SAV_ZygardeCell.L_Collected=Collected:
SettingsEditor.B_Reset=Reset All
SettingsEditor.L_Blank=Blank Save Version:
SuperTrainingEditor.B_All=Give All
SuperTrainingEditor.B_Cancel=Cancel
SuperTrainingEditor.B_None=Remove All

View file

@ -92,6 +92,7 @@ BoxExporter.label1=Namer:
ErrorWindow.B_Abort=Abortar
ErrorWindow.B_Continue=Continuar
ErrorWindow.B_CopyToClipboard=Copiar al portapapeles
ErrorWindow.L_Message=An unknown error has occurred.
ErrorWindow.L_ProvideInfo=Por favor, proporcione esta información cuando reporte el fallo:
LocalizedDescription.AllowBoxDataDrop=Allow drag and drop of boxdata binary files from the GUI via the Box tab.
LocalizedDescription.AllowGen1Tradeback=GB: Permitir intercambio de movimientos desde la Generación 2.
@ -1911,6 +1912,8 @@ SAV_ZygardeCell.B_GiveAll=Dar Todo
SAV_ZygardeCell.B_Save=Guardar
SAV_ZygardeCell.L_Cells=Almacenado:
SAV_ZygardeCell.L_Collected=Coleccionado:
SettingsEditor.B_Reset=Reset All
SettingsEditor.L_Blank=Blank Save Version:
SuperTrainingEditor.B_All=Dar todos
SuperTrainingEditor.B_Cancel=Cancelar
SuperTrainingEditor.B_None=Quitar todos

View file

@ -92,6 +92,7 @@ BoxExporter.label1=Namer:
ErrorWindow.B_Abort=Abandonner
ErrorWindow.B_Continue=Continuer
ErrorWindow.B_CopyToClipboard=Copier dans le presse-papier
ErrorWindow.L_Message=An unknown error has occurred.
ErrorWindow.L_ProvideInfo=Veuillez fournir les informations suivantes dans votre rapport d'erreur :
LocalizedDescription.AllowBoxDataDrop=Allow drag and drop of boxdata binary files from the GUI via the Box tab.
LocalizedDescription.AllowGen1Tradeback=GB: Permettre les movepools de revenants de la Gén. 2
@ -1911,6 +1912,8 @@ SAV_ZygardeCell.B_GiveAll=Tout obtenir
SAV_ZygardeCell.B_Save=Sauvegarder
SAV_ZygardeCell.L_Cells=Conservé :
SAV_ZygardeCell.L_Collected=Obtenu :
SettingsEditor.B_Reset=Reset All
SettingsEditor.L_Blank=Blank Save Version:
SuperTrainingEditor.B_All=Tout donner
SuperTrainingEditor.B_Cancel=Annuler
SuperTrainingEditor.B_None=Tout retirer

View file

@ -92,6 +92,7 @@ BoxExporter.label1=Namer:
ErrorWindow.B_Abort=Annulla
ErrorWindow.B_Continue=Continua
ErrorWindow.B_CopyToClipboard=Copiato negli appunti
ErrorWindow.L_Message=An unknown error has occurred.
ErrorWindow.L_ProvideInfo=Per favore includi queste informazioni quando riporti questo errore:
LocalizedDescription.AllowBoxDataDrop=Allow drag and drop of boxdata binary files from the GUI via the Box tab.
LocalizedDescription.AllowGen1Tradeback=GB:Consenti insieme di mosse tradeback da 2° Generazione.
@ -1911,6 +1912,8 @@ SAV_ZygardeCell.B_GiveAll=Colleziona Tutto
SAV_ZygardeCell.B_Save=Salva
SAV_ZygardeCell.L_Cells=Stored:
SAV_ZygardeCell.L_Collected=Collezionate:
SettingsEditor.B_Reset=Reset All
SettingsEditor.L_Blank=Blank Save Version:
SuperTrainingEditor.B_All=Dai Tutto
SuperTrainingEditor.B_Cancel=Annulla
SuperTrainingEditor.B_None=Rimuovi Tutto

View file

@ -92,6 +92,7 @@ BoxExporter.label1=Namer:
ErrorWindow.B_Abort=キャンセル
ErrorWindow.B_Continue=続ける
ErrorWindow.B_CopyToClipboard=クリップボードにコピー
ErrorWindow.L_Message=An unknown error has occurred.
ErrorWindow.L_ProvideInfo=このエラーを報告する時は、こちらの情報を提供してください:
LocalizedDescription.AllowBoxDataDrop=Allow drag and drop of boxdata binary files from the GUI via the Box tab.
LocalizedDescription.AllowGen1Tradeback=GB: Allow Generation 2 tradeback learnsets
@ -1911,6 +1912,8 @@ SAV_ZygardeCell.B_GiveAll=全て取得
SAV_ZygardeCell.B_Save=保存
SAV_ZygardeCell.L_Cells=キューブ内
SAV_ZygardeCell.L_Collected=回収
SettingsEditor.B_Reset=Reset All
SettingsEditor.L_Blank=Blank Save Version:
SuperTrainingEditor.B_All=全て取得
SuperTrainingEditor.B_Cancel=キャンセル
SuperTrainingEditor.B_None=全て消去

View file

@ -92,6 +92,7 @@ BoxExporter.label1=Namer:
ErrorWindow.B_Abort=중단
ErrorWindow.B_Continue=계속
ErrorWindow.B_CopyToClipboard=클립보드에 복사
ErrorWindow.L_Message=An unknown error has occurred.
ErrorWindow.L_ProvideInfo=오류를 보고할 때 이 정보를 제공해 주세요:
LocalizedDescription.AllowBoxDataDrop=Allow drag and drop of boxdata binary files from the GUI via the Box tab.
LocalizedDescription.AllowGen1Tradeback=GB: 2세대에서 옮겨온 1세대 기술 허용
@ -1913,6 +1914,8 @@ SAV_ZygardeCell.B_GiveAll=모두 모으기
SAV_ZygardeCell.B_Save=저장
SAV_ZygardeCell.L_Cells=보관됨:
SAV_ZygardeCell.L_Collected=회수함:
SettingsEditor.B_Reset=Reset All
SettingsEditor.L_Blank=Blank Save Version:
SuperTrainingEditor.B_All=모두 주기
SuperTrainingEditor.B_Cancel=취소
SuperTrainingEditor.B_None=모두 제거

View file

@ -92,6 +92,7 @@ BoxExporter.label1=姓名:
ErrorWindow.B_Abort=终止
ErrorWindow.B_Continue=继续
ErrorWindow.B_CopyToClipboard=复制到剪切板
ErrorWindow.L_Message=An unknown error has occurred.
ErrorWindow.L_ProvideInfo=提交错误报告时请提供以下信息:
LocalizedDescription.AllowBoxDataDrop=Allow drag and drop of boxdata binary files from the GUI via the Box tab.
LocalizedDescription.AllowGen1Tradeback=GB 允许二代传回的招式组合
@ -1912,6 +1913,8 @@ SAV_ZygardeCell.B_GiveAll=全部收集
SAV_ZygardeCell.B_Save=保存
SAV_ZygardeCell.L_Cells=储存了:
SAV_ZygardeCell.L_Collected=收集了:
SettingsEditor.B_Reset=Reset All
SettingsEditor.L_Blank=Blank Save Version:
SuperTrainingEditor.B_All=获得全部
SuperTrainingEditor.B_Cancel=取消
SuperTrainingEditor.B_None=全部清除

View file

@ -92,6 +92,7 @@ BoxExporter.label1=Namer:
ErrorWindow.B_Abort=終止
ErrorWindow.B_Continue=繼續
ErrorWindow.B_CopyToClipboard=複製到剪切板
ErrorWindow.L_Message=An unknown error has occurred.
ErrorWindow.L_ProvideInfo=提交錯誤報告時請提供以下資訊:
LocalizedDescription.AllowBoxDataDrop=Allow drag and drop of boxdata binary files from the GUI via the Box tab.
LocalizedDescription.AllowGen1Tradeback=GB 允許從第二世代傳回之招式組合
@ -1911,6 +1912,8 @@ SAV_ZygardeCell.B_GiveAll=全部收集
SAV_ZygardeCell.B_Save=儲存
SAV_ZygardeCell.L_Cells=儲存了:
SAV_ZygardeCell.L_Collected=收集了:
SettingsEditor.B_Reset=Reset All
SettingsEditor.L_Blank=Blank Save Version:
SuperTrainingEditor.B_All=獲得全部
SuperTrainingEditor.B_Cancel=取消
SuperTrainingEditor.B_None=全部清除

View file

@ -17,6 +17,7 @@ public partial class SettingsEditor : Form
public SettingsEditor(object obj)
{
InitializeComponent();
WinFormsUtil.TranslateInterface(this, Main.CurrentLanguage);
LoadSettings(obj);
if (obj is PKHeXSettings s)

View file

@ -225,7 +225,7 @@ public static class WinFormsTranslator
{
foreach (var t in types)
{
if (t.BaseType == typeof(Form) && IsBannedStartsWith(t.Name, banlist))
if (!typeof(Form).IsAssignableFrom(t) || IsBannedStartsWith(t.Name, banlist))
continue;
var constructors = t.GetConstructors();
@ -234,7 +234,8 @@ public static class WinFormsTranslator
var argCount = constructors[0].GetParameters().Length;
try
{
_ = (Form?)Activator.CreateInstance(t, new object[argCount]);
var form = (Form?)Activator.CreateInstance(t, new object[argCount]);
form?.Dispose();
}
// This is a debug utility method, will always be logging. Shouldn't ever fail.
catch