Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Commit

Permalink
han v2.6.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hooke007 committed Apr 10, 2022
1 parent 9286481 commit 138cb4c
Show file tree
Hide file tree
Showing 15 changed files with 229 additions and 229 deletions.
2 changes: 1 addition & 1 deletion gMKVExtractGUI/Controls/gComboBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ protected void InitializeComponent()
//
// gComboBox
//
this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
this.Size = new System.Drawing.Size(121, 21);
this.ResumeLayout(false);
}
Expand Down
4 changes: 2 additions & 2 deletions gMKVExtractGUI/Controls/gForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,12 @@ protected Version GetCurrentVersion()

protected void ShowErrorMessage(String argMessage)
{
MessageBox.Show("An error has occured!" + Environment.NewLine + Environment.NewLine + argMessage, "Error!", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show("发生了错误!" + Environment.NewLine + Environment.NewLine + argMessage, "错误!", MessageBoxButtons.OK, MessageBoxIcon.Error);
}

protected void ShowSuccessMessage(String argMessage)
{
MessageBox.Show(argMessage, "Success!", MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBox.Show(argMessage, "成功!", MessageBoxButtons.OK, MessageBoxIcon.Information);
}

protected DialogResult ShowQuestion(String argQuestion, String argTitle, bool argShowCancel = true)
Expand Down
34 changes: 17 additions & 17 deletions gMKVExtractGUI/Forms/frmJobManager.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions gMKVExtractGUI/Forms/frmJobManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public frmJobManager(IFormMain argMainForm)
_MainForm = argMainForm;

Icon = Icon.ExtractAssociatedIcon(GetExecutingAssemblyLocation());
Text = String.Format("gMKVExtractGUI v{0} -- Job Manager", GetCurrentVersion());
Text = String.Format("gMKVExtractGUI_chs v{0} -- 任务管理器", GetCurrentVersion());

_FromConstructor = true;

Expand Down Expand Up @@ -249,7 +249,7 @@ private void btnRunAll_Click(object sender, EventArgs e)
{
if (GetNumberOfJobs(JobState.Ready) == 0)
{
throw new Exception("There are no available jobs to run!");
throw new Exception("无可用的任务以运行!");
}
List<gMKVJobInfo> jobList = new List<gMKVJobInfo>();
foreach (DataGridViewRow item in grdJobs.Rows)
Expand Down Expand Up @@ -328,7 +328,7 @@ private void PrepareForRunJobs(List<gMKVJobInfo> argJobInfoList)
{
lblCurrentProgressValue.Text = "";
lblTotalProgressValue.Text = "";
txtCurrentTrack.Text = "Extraction completed!";
txtCurrentTrack.Text = "导出完成!";
}
gTaskbarProgress.SetState(this, gTaskbarProgress.TaskbarStates.NoProgress);
gTaskbarProgress.SetOverlayIcon(this, null, null);
Expand Down Expand Up @@ -418,7 +418,7 @@ private void btnSaveJobs_Click(object sender, EventArgs e)
{
// ask for path
SaveFileDialog sfd = new SaveFileDialog();
sfd.Title = "Select job file...";
sfd.Title = "选择任务文件 ...";
sfd.InitialDirectory = GetCurrentDirectory();
sfd.Filter = "*.xml|*.xml";
if (sfd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
Expand Down Expand Up @@ -539,7 +539,7 @@ private void grdJobs_DataBindingComplete(object sender, DataGridViewBindingCompl
{
try
{
grpJobs.Text = String.Format("Jobs ({0})", grdJobs.Rows.Count);
grpJobs.Text = String.Format("任务 ({0})", grdJobs.Rows.Count);
}
catch (Exception ex)
{
Expand Down
14 changes: 7 additions & 7 deletions gMKVExtractGUI/Forms/frmLog.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions gMKVExtractGUI/Forms/frmLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public frmLog()
private void InitForm()
{
Icon = Icon.ExtractAssociatedIcon(GetExecutingAssemblyLocation());
Text = String.Format("gMKVExtractGUI v{0} -- Log", GetCurrentVersion());
Text = String.Format("gMKVExtractGUI_chs v{0} -- 日志", GetCurrentVersion());
}

private void frmLog_Activated(object sender, EventArgs e)
Expand All @@ -38,7 +38,7 @@ private void txtLog_TextChanged(object sender, EventArgs e)
{
txtLog.Select(txtLog.TextLength + 1, 0);
txtLog.ScrollToCaret();
grpLog.Text = String.Format("Log ({0})", txtLog.Lines.LongLength);
grpLog.Text = String.Format("日志 ({0})", txtLog.Lines.LongLength);
}

private void btnClose_Click(object sender, EventArgs e)
Expand Down
Loading

0 comments on commit 138cb4c

Please sign in to comment.