Hide sound type for nonyellow gen1 saves

Closes #2283
Fix label name & update translation file for them
This commit is contained in:
Kurt 2019-04-15 15:38:49 -07:00
parent 9736efd332
commit 286df71c5a
10 changed files with 22 additions and 19 deletions

View file

@ -1014,7 +1014,7 @@ SAV_SimpleTrainer.L_TrainerName=Name:
SAV_SimpleTrainer.L_X=X Coordinate:
SAV_SimpleTrainer.L_Y=Y Coordinate:
SAV_SimpleTrainer.L_Z=Z Coordinate:
SAV_SimpleTrainer.label1=Sound Type:
SAV_SimpleTrainer.LBL_SoundType=Sound Type:
SAV_SimpleTrainer.LBL_BattleStyle=Battle Style:
SAV_SimpleTrainer.LBL_TextSpeed=Text Speed:
SAV_SuperTrain.B_Cancel=Cancel

View file

@ -1010,7 +1010,7 @@ SAV_SimpleTrainer.L_TrainerName=Name:
SAV_SimpleTrainer.L_X=X Coordinate:
SAV_SimpleTrainer.L_Y=Y Coordinate:
SAV_SimpleTrainer.L_Z=Z Coordinate:
SAV_SimpleTrainer.label1=Sound Type:
SAV_SimpleTrainer.LBL_SoundType=Sound Type:
SAV_SimpleTrainer.LBL_BattleStyle=Battle Style:
SAV_SimpleTrainer.LBL_TextSpeed=Text Speed:
SAV_SuperTrain.B_Cancel=Cancel

View file

@ -1010,7 +1010,7 @@ SAV_SimpleTrainer.L_TrainerName=Nombre Entr.:
SAV_SimpleTrainer.L_X=Coordenada X:
SAV_SimpleTrainer.L_Y=Coordenada Y:
SAV_SimpleTrainer.L_Z=Coordenada Z:
SAV_SimpleTrainer.label1=Tipo Son.:
SAV_SimpleTrainer.LBL_SoundType=Tipo Son.:
SAV_SimpleTrainer.LBL_BattleStyle=Estilo Bat.:
SAV_SimpleTrainer.LBL_TextSpeed=Vel. Texto:
SAV_SuperTrain.B_Cancel=Cancelar

View file

@ -1014,7 +1014,7 @@ SAV_SimpleTrainer.L_TrainerName=Nom
SAV_SimpleTrainer.L_X=Coordonnées X
SAV_SimpleTrainer.L_Y=Coordonnées Y
SAV_SimpleTrainer.L_Z=Coordonnées Z
SAV_SimpleTrainer.label1=Type Son
SAV_SimpleTrainer.LBL_SoundType=Type Son
SAV_SimpleTrainer.LBL_BattleStyle=Style Comb.
SAV_SimpleTrainer.LBL_TextSpeed=Vit. Texte
SAV_SuperTrain.B_Cancel=Cancel

View file

@ -1020,7 +1020,7 @@ SAV_SimpleTrainer.L_TrainerName=Name:
SAV_SimpleTrainer.L_X=X Coordinate:
SAV_SimpleTrainer.L_Y=Y Coordinate:
SAV_SimpleTrainer.L_Z=Z Coordinate:
SAV_SimpleTrainer.label1=Sound Type:
SAV_SimpleTrainer.LBL_SoundType=Sound Type:
SAV_SimpleTrainer.LBL_BattleStyle=Battle Style:
SAV_SimpleTrainer.LBL_TextSpeed=Text Speed:
SAV_SuperTrain.B_Cancel=Cancel

View file

@ -1014,7 +1014,7 @@ SAV_SimpleTrainer.L_TrainerName=名前
SAV_SimpleTrainer.L_X=X座標
SAV_SimpleTrainer.L_Y=Y座標
SAV_SimpleTrainer.L_Z=Z座標
SAV_SimpleTrainer.label1=サウンド
SAV_SimpleTrainer.LBL_SoundType=サウンド
SAV_SimpleTrainer.LBL_BattleStyle=試合のルール
SAV_SimpleTrainer.LBL_TextSpeed=話の速さ
SAV_SuperTrain.B_Cancel=キャンセル

View file

@ -1010,7 +1010,7 @@ SAV_SimpleTrainer.L_TrainerName=Name:
SAV_SimpleTrainer.L_X=X Coordinate:
SAV_SimpleTrainer.L_Y=Y Coordinate:
SAV_SimpleTrainer.L_Z=Z Coordinate:
SAV_SimpleTrainer.label1=Sound Type:
SAV_SimpleTrainer.LBL_SoundType=Sound Type:
SAV_SimpleTrainer.LBL_BattleStyle=Battle Style:
SAV_SimpleTrainer.LBL_TextSpeed=Text Speed:
SAV_SuperTrain.B_Cancel=Cancel

View file

@ -1010,7 +1010,7 @@ SAV_SimpleTrainer.L_TrainerName=名称:
SAV_SimpleTrainer.L_X=X坐标
SAV_SimpleTrainer.L_Y=Y坐标:
SAV_SimpleTrainer.L_Z=Z坐标:
SAV_SimpleTrainer.label1=音效类型:
SAV_SimpleTrainer.LBL_SoundType=音效类型:
SAV_SimpleTrainer.LBL_BattleStyle=比赛规则:
SAV_SimpleTrainer.LBL_TextSpeed=语速:
SAV_SuperTrain.B_Cancel=取消

View file

@ -87,7 +87,7 @@
this.CHK_2 = new System.Windows.Forms.CheckBox();
this.CHK_1 = new System.Windows.Forms.CheckBox();
this.GB_Options = new System.Windows.Forms.GroupBox();
this.label1 = new System.Windows.Forms.Label();
this.LBL_SoundType = new System.Windows.Forms.Label();
this.CB_SoundType = new System.Windows.Forms.ComboBox();
this.LBL_TextSpeed = new System.Windows.Forms.Label();
this.CB_TextSpeed = new System.Windows.Forms.ComboBox();
@ -739,7 +739,7 @@
//
// GB_Options
//
this.GB_Options.Controls.Add(this.label1);
this.GB_Options.Controls.Add(this.LBL_SoundType);
this.GB_Options.Controls.Add(this.CB_SoundType);
this.GB_Options.Controls.Add(this.LBL_TextSpeed);
this.GB_Options.Controls.Add(this.CB_TextSpeed);
@ -754,14 +754,14 @@
this.GB_Options.Text = "Options";
this.GB_Options.Visible = false;
//
// label1
// LBL_SoundType
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(3, 71);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(68, 13);
this.label1.TabIndex = 25;
this.label1.Text = "Sound Type:";
this.LBL_SoundType.AutoSize = true;
this.LBL_SoundType.Location = new System.Drawing.Point(3, 71);
this.LBL_SoundType.Name = "LBL_SoundType";
this.LBL_SoundType.Size = new System.Drawing.Size(68, 13);
this.LBL_SoundType.TabIndex = 25;
this.LBL_SoundType.Text = "Sound Type:";
//
// CB_SoundType
//
@ -910,7 +910,7 @@
private System.Windows.Forms.Label L_Coins;
private System.Windows.Forms.MaskedTextBox MT_Coins;
private System.Windows.Forms.GroupBox GB_Options;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label LBL_SoundType;
private System.Windows.Forms.ComboBox CB_SoundType;
private System.Windows.Forms.Label LBL_TextSpeed;
private System.Windows.Forms.ComboBox CB_TextSpeed;

View file

@ -63,8 +63,11 @@ namespace PKHeX.WinForms
CB_TextSpeed.SelectedIndex = sav1.TextSpeed;
MT_PikaFriend.Text = sav1.PikaFriendship.ToString();
if (!SAV.Version.Contains(GameVersion.YW))
if (!sav1.Version.Contains(GameVersion.YW))
{
MT_PikaFriend.Visible = false;
CB_SoundType.Visible = LBL_SoundType.Visible = false;
}
}
if (SAV is SAV2 sav2)