diff --git a/minisqlquery-master/src/MiniSqlQuery/QueryForm.cs b/minisqlquery-master/src/MiniSqlQuery/QueryForm.cs
index b507757..b7075a9 100644
--- a/minisqlquery-master/src/MiniSqlQuery/QueryForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/QueryForm.cs
@@ -184,7 +184,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public string FileFilter
{
- get { return "SQL Files (*.sql)|*.sql|All Files (*.*)|*.*"; }
+ get { return "SQL�ļ�(*.sql)|*.sql|�����ļ� (*.*)|*.*"; }
}
/// <summary>Gets or sets FileName.</summary>
@@ -254,13 +254,13 @@ namespace MiniSqlQuery
{
if (IsBusy)
{
- _hostWindow.DisplaySimpleMessageBox(this, "Please wait for the current operation to complete.", "Busy");
+ _hostWindow.DisplaySimpleMessageBox(this, "��ȴ���ǰ�������.", "��æ");
return;
}
if (_settings.ConnectionDefinition == null)
{
- _hostWindow.DisplaySimpleMessageBox(this, "Please select a connection.", "Select a Connection");
+ _hostWindow.DisplaySimpleMessageBox(this, "��ѡ��һ������.", "ѡ��һ������");
return;
}
@@ -356,7 +356,7 @@ namespace MiniSqlQuery
{
if (FileName == null)
{
- throw new InvalidOperationException("The 'FileName' cannot be null");
+ throw new InvalidOperationException("'�ļ���'����Ϊ��");
}
txtQuery.SaveFile(FileName);
@@ -514,7 +514,7 @@ namespace MiniSqlQuery
{
TimeSpan ts = end.Subtract(start);
string msg = string.Format(
- "Query complete, {0:00}:{1:00}.{2:000}",
+ "��ѯ���, {0:00}:{1:00}.{2:000}",
ts.Minutes,
ts.Seconds,
ts.Milliseconds);
@@ -563,7 +563,7 @@ namespace MiniSqlQuery
tabPage.Controls.Add(grid);
tabPage.Name = "tabPageResults_" + counter;
tabPage.Padding = new Padding(3);
- tabPage.Text = string.Format("{0}/Table {1}", ds.DataSetName, counter);
+ tabPage.Text = string.Format("{0}/�� {1}", ds.DataSetName, counter);
tabPage.UseVisualStyleBackColor = false;
_resultsTabControl.TabPages.Add(tabPage);
@@ -786,7 +786,7 @@ namespace MiniSqlQuery
{
DialogResult saveFile = _hostWindow.DisplayMessageBox(
this,
- "Contents changed, do you want to save the file?\r\n" + TabText, "Save Changes?",
+ "�����Ѹ��ģ��Ƿ��ļ�?\r\n" + TabText, "����ı�?",
MessageBoxButtons.YesNoCancel,
MessageBoxIcon.Question,
MessageBoxDefaultButton.Button1,
@@ -827,7 +827,7 @@ namespace MiniSqlQuery
private void SetTabTextByFilename()
{
string dirty = string.Empty;
- string text = "Untitled";
+ string text = "���";
string tabtext;
if (_isDirty)
@@ -937,7 +937,7 @@ namespace MiniSqlQuery
Clipboard.Clear();
Clipboard.SetText(line);
- _hostWindow.SetStatus(this, "Selected data has been copied to your clipboard");
+ _hostWindow.SetStatus(this, "��ѡ�����Ѹ��Ƶ�������");
}
}
finally
@@ -964,7 +964,7 @@ namespace MiniSqlQuery
/// <param name="e">The e.</param>
private void queryBackgroundWorker_ProgressChanged(object sender, ProgressChangedEventArgs e)
{
- SetStatus(string.Format("Processing batch {0}%...", e.ProgressPercentage));
+ SetStatus(string.Format("������{0}%...", e.ProgressPercentage));
}
/// <summary>The query background worker_ run worker completed.</summary>
@@ -978,7 +978,7 @@ namespace MiniSqlQuery
if (e.Error != null)
{
// todo: improve!
- _hostWindow.DisplaySimpleMessageBox(this, e.Error.Message, "Error");
+ _hostWindow.DisplaySimpleMessageBox(this, e.Error.Message, "����");
SetStatus(e.Error.Message);
}
else
@@ -987,7 +987,7 @@ namespace MiniSqlQuery
string message = CreateQueryCompleteMessage(_runner.Batch.StartTime, _runner.Batch.EndTime);
if (_runner.Exception != null)
{
- message = "ERROR - " + message;
+ message = "���� - " + message;
}
AddTables();