mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 04:23:12 +00:00
Alphebetize settings
probably want to switch to a propertygrid later.
This commit is contained in:
parent
c7aea9cad2
commit
daf9364fb2
7 changed files with 16 additions and 11 deletions
|
@ -1104,7 +1104,7 @@ SAV_ZygardeCell.B_Save=Save
|
|||
SAV_ZygardeCell.L_Cells=Stored:
|
||||
SAV_ZygardeCell.L_Collected=Collected:
|
||||
SettingsEditor.ApplyMarkings=Apply Markings on Import
|
||||
SettingsEditor.FlagIllegal=Flag Illegal
|
||||
SettingsEditor.FlagIllegal=Flag Illegal Slots in Save File
|
||||
SettingsEditor.HideSAVDetails=Hide Save File Details in Program Title
|
||||
SettingsEditor.HideSecretDetails=Hide Secret Details in Editors
|
||||
SettingsEditor.HoverSlotGlowEdges=Show PKM Glow on Hover
|
||||
|
|
|
@ -1100,7 +1100,7 @@ SAV_ZygardeCell.B_Save=Save
|
|||
SAV_ZygardeCell.L_Cells=Stored:
|
||||
SAV_ZygardeCell.L_Collected=Collected:
|
||||
SettingsEditor.ApplyMarkings=Apply Markings on Import
|
||||
SettingsEditor.FlagIllegal=Flag Illegal
|
||||
SettingsEditor.FlagIllegal=Flag Illegal Slots in Save File
|
||||
SettingsEditor.HideSAVDetails=Hide Save File Details in Program Title
|
||||
SettingsEditor.HideSecretDetails=Hide Secret Details in Editors
|
||||
SettingsEditor.HoverSlotGlowEdges=Show PKM Glow on Hover
|
||||
|
|
|
@ -1104,7 +1104,7 @@ SAV_ZygardeCell.B_Save=Save
|
|||
SAV_ZygardeCell.L_Cells=Stored:
|
||||
SAV_ZygardeCell.L_Collected=Collected:
|
||||
SettingsEditor.ApplyMarkings=Appliquer des marques de l'importation
|
||||
SettingsEditor.FlagIllegal=Flag Illegal
|
||||
SettingsEditor.FlagIllegal=Flag Illegal Slots in Save File
|
||||
SettingsEditor.HideSAVDetails=Hide Save File Details in Program Title
|
||||
SettingsEditor.HideSecretDetails=Hide Secret Details in Editors
|
||||
SettingsEditor.HoverSlotGlowEdges=Show PKM Glow on Hover
|
||||
|
|
|
@ -1110,7 +1110,7 @@ SAV_ZygardeCell.B_Save=Save
|
|||
SAV_ZygardeCell.L_Cells=Stored:
|
||||
SAV_ZygardeCell.L_Collected=Collected:
|
||||
SettingsEditor.ApplyMarkings=Apply Markings on Import
|
||||
SettingsEditor.FlagIllegal=Flag Illegal
|
||||
SettingsEditor.FlagIllegal=Flag Illegal Slots in Save File
|
||||
SettingsEditor.HideSAVDetails=Hide Save File Details in Program Title
|
||||
SettingsEditor.HideSecretDetails=Hide Secret Details in Editors
|
||||
SettingsEditor.HoverSlotGlowEdges=Show PKM Glow on Hover
|
||||
|
|
|
@ -1100,7 +1100,7 @@ SAV_ZygardeCell.B_Save=Save
|
|||
SAV_ZygardeCell.L_Cells=Stored:
|
||||
SAV_ZygardeCell.L_Collected=Collected:
|
||||
SettingsEditor.ApplyMarkings=가져오기 중 마킹하기
|
||||
SettingsEditor.FlagIllegal=Flag Illegal
|
||||
SettingsEditor.FlagIllegal=Flag Illegal Slots in Save File
|
||||
SettingsEditor.HideSAVDetails=Hide Save File Details in Program Title
|
||||
SettingsEditor.HideSecretDetails=Hide Secret Details in Editors
|
||||
SettingsEditor.HoverSlotGlowEdges=Show PKM Glow on Hover
|
||||
|
|
12
PKHeX.WinForms/Subforms/SettingsEditor.Designer.cs
generated
12
PKHeX.WinForms/Subforms/SettingsEditor.Designer.cs
generated
|
@ -31,21 +31,21 @@
|
|||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SettingsEditor));
|
||||
this.FLP_Settings = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
//
|
||||
// FLP_Settings
|
||||
//
|
||||
//
|
||||
this.FLP_Settings.AutoScroll = true;
|
||||
this.FLP_Settings.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.FLP_Settings.Location = new System.Drawing.Point(0, 0);
|
||||
this.FLP_Settings.Name = "FLP_Settings";
|
||||
this.FLP_Settings.Size = new System.Drawing.Size(306, 161);
|
||||
this.FLP_Settings.Size = new System.Drawing.Size(306, 311);
|
||||
this.FLP_Settings.TabIndex = 0;
|
||||
//
|
||||
//
|
||||
// SettingsEditor
|
||||
//
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||
this.AutoSize = true;
|
||||
this.ClientSize = new System.Drawing.Size(306, 161);
|
||||
this.ClientSize = new System.Drawing.Size(306, 311);
|
||||
this.Controls.Add(this.FLP_Settings);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
|
|
|
@ -17,6 +17,11 @@ namespace PKHeX.WinForms
|
|||
LoadSettings(blacklist);
|
||||
|
||||
WinFormsUtil.TranslateInterface(this, Main.CurrentLanguage);
|
||||
// reorder checkboxes
|
||||
int ctr = 0;
|
||||
foreach (var c in FLP_Settings.Controls.OfType<CheckBox>().OrderBy(z => z.Text).ToList())
|
||||
FLP_Settings.Controls.SetChildIndex(c, ctr++);
|
||||
|
||||
this.CenterToForm(FindForm());
|
||||
}
|
||||
private void SettingsEditor_FormClosing(object sender, FormClosingEventArgs e) => SaveSettings();
|
||||
|
|
Loading…
Reference in a new issue