일본어 관련 수정

master
Seonjae 2024-03-29 09:33:31 +09:00
parent 6db3de20bf
commit 7706b786ee
3 changed files with 60 additions and 45 deletions

Binary file not shown.

View File

@ -88,6 +88,7 @@ namespace INT63DC_2C.Forms
{ {
ImageDll images = new ImageDll(); ImageDll images = new ImageDll();
Font font = new Font("New Gulim", 8F, FontStyle.Regular); Font font = new Font("New Gulim", 8F, FontStyle.Regular);
Font font1 = new Font("New Gulim", 14F, FontStyle.Bold);
switch (this.ParentForm.SystemConfig.Language) switch (this.ParentForm.SystemConfig.Language)
{ {
@ -433,39 +434,45 @@ namespace INT63DC_2C.Forms
break; break;
case DataStore.LanguageID.Japanese: case DataStore.LanguageID.Japanese:
#region Japanese #region Japanese
this.groupBoxSorter.Text = "ソーター設定"; this.groupBoxSorter.Text = "ソㅡタㅡ設定";
this.labelStaticSorter1DelayTime.Text = "ソーター1 遅延時間"; this.labelStaticSorter1DelayTime.Text = "ソㅡタㅡ1 遅延時間";
this.labelStaticSorter1RunTime.Text = "ソーター1 運転時間"; this.labelStaticSorter1RunTime.Text = "ソㅡタㅡ1 運転時間";
this.labelStaticSorter2DelayTime.Text = "ソーター2 遅延時間"; this.labelStaticSorter2DelayTime.Text = "ソㅡタㅡ2 遅延時間";
this.labelStaticSorter2RunTime.Text = "ソーター2 運転時間"; this.labelStaticSorter2RunTime.Text = "ソㅡタㅡ2 運転時間";
this.labelStaticSorter3DelayTime.Text = "ソーター3 遅延時間"; this.labelStaticSorter3DelayTime.Text = "ソㅡタㅡ3 遅延時間";
this.labelStaticSorter3RunTime.Text = "ソーター3 運転時間"; this.labelStaticSorter3RunTime.Text = "ソㅡタㅡ3 運転時間";
this.labelStaticEntryGateDelayTime.Text = "エントリーゲートの遅延時間"; this.labelStaticEntryGateDelayTime.Text = "エントリㅡゲㅡトの遅延時間";
this.labelStaticEntryGateRunTime.Text = "エントリーゲートの運転時間"; this.labelStaticEntryGateRunTime.Text = "エントリㅡゲㅡトの運転時間";
this.labelStaticDischargeStopperDelayTime.Font = font; this.labelStaticDischargeStopperDelayTime.Font = font;
this.labelStaticDischargeStopperDelayTime.Text = "排出ストッパの遅延時間"; this.labelStaticDischargeStopperDelayTime.Text = "排出ストッパの遅延時間";
this.labelStaticDischargeStopperRunTime.Font = font; this.labelStaticDischargeStopperRunTime.Font = font;
this.labelStaticDischargeStopperRunTime.Text = "排出ストッパの運転時間"; this.labelStaticDischargeStopperRunTime.Text = "排出ストッパの運転時間";
this.groupBoxJudgmentSetting.Text = "判定設定"; this.groupBoxJudgmentSetting.Text = "判定設定";
this.labelStaticFilter.Text = "フィルタ"; this.labelStaticFilter.Text = "フィルタ";
this.labelStaticJudgmentDelayTime.Text = "判定の遅れ"; this.labelStaticJudgmentDelayTime.Text = "判定の遅れ";
this.labelStaticJudgmentCount.Text = "判定番号"; this.labelStaticJudgmentCount.Text = "判定番号";
this.labelStaticForcedZeroDelayTime.Text = "強制ゼロ遅延時間"; this.labelStaticForcedZeroDelayTime.Text = "強制ゼロ遅延時間";
this.labelStaticTurnDelayTime.Text = "タン遅延"; this.labelStaticTurnDelayTime.Text = "タン遅延";
this.labelMessage1.Text = "インバーターアラーム"; this.labelMessage1.Text = "インバㅡタㅡアラーム";
this.labelMessage3.Text = "ピンチポイントアラーム"; this.labelMessage3.Text = "ピンチポイントアラーム";
this.labelMessage5.Text = "サーボモータの原点を設定してください"; this.labelMessage5.Text = "サㅡボモㅡタの原点を設定してください";
this.buttonClose.Text = "クローズ";
this.labelTitleTotalCount.Font = font1;
this.labelTitleTotalCount.Text = "総カウント";
this.labelTitleNG.Text = "不良";
this.labelTitleBypass.Text = "バイパスモㅡド";
this.labelTitleScreen.Text = "画面";
this.labelStaticSamplingCount.Text = "カウント"; this.labelStaticSamplingCount.Text = "カウント";
this.labelStaticSamplingTime.Text = "時間(分)"; this.labelStaticSamplingTime.Text = "時間(分)";
this.labelStaticOverRange.Text = "超過"; this.labelStaticOverRange.Text = "上限";
this.labelStaticPassRange.Text = "合格"; this.labelStaticPassRange.Text = "合格";
this.labelStaticUnderRange.Text = "不足"; this.labelStaticUnderRange.Text = "下限";
this.labelStaticOverRangeLimit.Text = "オーバーリミット"; this.labelStaticOverRangeLimit.Text = "オㅡバㅡリミット";
this.labelStaticUnderRangeLimit.Text = "アンダリミット"; this.labelStaticUnderRangeLimit.Text = "アンダリミット";
#endregion #endregion
break; break;
default: default:
@ -2929,33 +2936,41 @@ namespace INT63DC_2C.Forms
} }
private void labelTotalCount_Click(object sender, EventArgs e) private void labelTotalCount_Click(object sender, EventArgs e)
{ {
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese) switch (this.ParentForm.SystemConfig.Language)
{
if (this.labelTitleTotalCount.Text != "计数")
this.labelTitleTotalCount.Text = "计数";
else
this.labelTitleTotalCount.Text = "通过";
}
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
{
if (this.labelTitleTotalCount.Text != "Celkem")
this.labelTitleTotalCount.Text = "Celkem";
else
this.labelTitleTotalCount.Text = "Váha";
}
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
{
if (this.labelTitleTotalCount.Text != "Insgesamt")
this.labelTitleTotalCount.Text = "Insgesamt";
else
this.labelTitleTotalCount.Text = "Bestehen";
}
else
{ {
case DataStore.LanguageID.Korean:
case DataStore.LanguageID.English:
if (this.labelTitleTotalCount.Text != "Total") if (this.labelTitleTotalCount.Text != "Total")
this.labelTitleTotalCount.Text = "Total"; this.labelTitleTotalCount.Text = "Total";
else else
this.labelTitleTotalCount.Text = "Pass"; this.labelTitleTotalCount.Text = "Pass";
break;
case DataStore.LanguageID.Chinese:
if (this.labelTitleTotalCount.Text != "计数")
this.labelTitleTotalCount.Text = "计数";
else
this.labelTitleTotalCount.Text = "通过";
break;
case DataStore.LanguageID.Czech:
if (this.labelTitleTotalCount.Text != "Celkem")
this.labelTitleTotalCount.Text = "Celkem";
else
this.labelTitleTotalCount.Text = "Váha";
break;
case DataStore.LanguageID.German:
if (this.labelTitleTotalCount.Text != "Insgesamt")
this.labelTitleTotalCount.Text = "Insgesamt";
else
this.labelTitleTotalCount.Text = "Bestehen";
break;
case DataStore.LanguageID.Japanese:
if (this.labelTitleTotalCount.Text != "総カウント")
this.labelTitleTotalCount.Text = "総カウント";
else
this.labelTitleTotalCount.Text = "合格";
break;
default:
break;
} }
this.SetTotalCount(); this.SetTotalCount();