vs2019汉化99%zgc123@gmail.com authored at 11/28/2023 4:10:34 PM zgc123@gmail.com committed at 11/28/2023 4:10:51 PM
diff --git a/minisqlquery-master/src/Contrib/MiniSqlQuery.Exports.Plugin/Commands/ShowExportWindowCommand.cs b/minisqlquery-master/src/Contrib/MiniSqlQuery.Exports.Plugin/Commands/ShowExportWindowCommand.cs
index 90df497..ec37235 100644
--- a/minisqlquery-master/src/Contrib/MiniSqlQuery.Exports.Plugin/Commands/ShowExportWindowCommand.cs
+++ b/minisqlquery-master/src/Contrib/MiniSqlQuery.Exports.Plugin/Commands/ShowExportWindowCommand.cs
@@ -5,7 +5,7 @@ namespace MiniSqlQuery.Exports.Plugin.Commands
public class ShowExportWindowCommand : CommandBase
{
public ShowExportWindowCommand()
- : base("&Export data...")
+ : base("&E导出数据...")
{
}
diff --git a/minisqlquery-master/src/Contrib/MiniSqlQuery.Exports.Plugin/Loader.cs b/minisqlquery-master/src/Contrib/MiniSqlQuery.Exports.Plugin/Loader.cs
index 1fa65f6..7b13224 100644
--- a/minisqlquery-master/src/Contrib/MiniSqlQuery.Exports.Plugin/Loader.cs
+++ b/minisqlquery-master/src/Contrib/MiniSqlQuery.Exports.Plugin/Loader.cs
@@ -5,7 +5,7 @@ namespace MiniSqlQuery.Exports.Plugin
public class Loader : PluginLoaderBase
{
public Loader()
- : base("Exports for MiniSqlQuery", "Enables exporting of data")
+ : base("导出用于MiniSqlQuery", "启用数据导出")
{
}
diff --git a/minisqlquery-master/src/Contrib/MiniSqlQuery.ExternalTools.Plugin/Loader.cs b/minisqlquery-master/src/Contrib/MiniSqlQuery.ExternalTools.Plugin/Loader.cs
index 5230f62..4d5fa09 100644
--- a/minisqlquery-master/src/Contrib/MiniSqlQuery.ExternalTools.Plugin/Loader.cs
+++ b/minisqlquery-master/src/Contrib/MiniSqlQuery.ExternalTools.Plugin/Loader.cs
@@ -6,7 +6,7 @@ namespace MiniSqlQuery.ExternalTools.Plugin
public class Loader : PluginLoaderBase
{
public Loader()
- : base("Run External Tools Wrapper", "A plugin that wraps executing external tools.")
+ : base("运行外部工具包装器", "封装正在执行的外部工具的插件。")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CancelTaskCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CancelTaskCommand.cs
index b6eac44..75eae3b 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CancelTaskCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CancelTaskCommand.cs
@@ -18,7 +18,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "CancelTaskCommand" /> class.
/// </summary>
public CancelTaskCommand()
- : base("&Cancel")
+ : base("&Cȡ��")
{
SmallImage = ImageResource.stop;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CloseActiveWindowCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CloseActiveWindowCommand.cs
index 964a25e..ba12075 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CloseActiveWindowCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CloseActiveWindowCommand.cs
@@ -18,7 +18,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "CloseActiveWindowCommand" /> class.
/// </summary>
public CloseActiveWindowCommand()
- : base("&Close")
+ : base("&C关闭")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CloseAllWindowsCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CloseAllWindowsCommand.cs
index cbfa429..0a12981 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CloseAllWindowsCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CloseAllWindowsCommand.cs
@@ -19,7 +19,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "CloseAllWindowsCommand" /> class.
/// </summary>
public CloseAllWindowsCommand()
- : base("Close &All Windows")
+ : base("&A关闭所有窗口")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CloseDatabaseConnectionCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CloseDatabaseConnectionCommand.cs
index bd5f90b..ce4e2de 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CloseDatabaseConnectionCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CloseDatabaseConnectionCommand.cs
@@ -15,7 +15,7 @@ namespace MiniSqlQuery.Core.Commands
{
/// <summary>Initializes a new instance of the <see cref="CloseDatabaseConnectionCommand"/> class.</summary>
public CloseDatabaseConnectionCommand()
- : base("Close Current connection")
+ : base("关闭当前连接")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ConvertTextToLowerCaseCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ConvertTextToLowerCaseCommand.cs
index a83ec9a..7dd2a4d 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ConvertTextToLowerCaseCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ConvertTextToLowerCaseCommand.cs
@@ -15,7 +15,7 @@ namespace MiniSqlQuery.Core.Commands
{
/// <summary>Initializes a new instance of the <see cref="ConvertTextToLowerCaseCommand"/> class.</summary>
public ConvertTextToLowerCaseCommand()
- : base("Convert to 'lower case' text")
+ : base("�ı�ת����Сд")
{
ShortcutKeys = Keys.Control | Keys.U;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ConvertTextToTitleCaseCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ConvertTextToTitleCaseCommand.cs
index bb4d313..6badb28 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ConvertTextToTitleCaseCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ConvertTextToTitleCaseCommand.cs
@@ -20,7 +20,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "ConvertTextToTitleCaseCommand" /> class.
/// </summary>
public ConvertTextToTitleCaseCommand()
- : base("Convert to 'Title Case' text")
+ : base("ת��Ϊ�������Сд���ı�")
{
ShortcutKeys = Keys.Control | Keys.Alt | Keys.U;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ConvertTextToUpperCaseCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ConvertTextToUpperCaseCommand.cs
index c87b07d..8a13643 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ConvertTextToUpperCaseCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ConvertTextToUpperCaseCommand.cs
@@ -19,7 +19,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "ConvertTextToUpperCaseCommand" /> class.
/// </summary>
public ConvertTextToUpperCaseCommand()
- : base("Convert to 'UPPER CASE' text")
+ : base("ת��Ϊ����д���ı�")
{
ShortcutKeys = Keys.Control | Keys.Shift | Keys.U;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CopyQueryEditorFileNameCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CopyQueryEditorFileNameCommand.cs
index bd0924f..e400de5 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CopyQueryEditorFileNameCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/CopyQueryEditorFileNameCommand.cs
@@ -19,7 +19,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "CopyQueryEditorFileNameCommand" /> class.
/// </summary>
public CopyQueryEditorFileNameCommand()
- : base("Copy Filename")
+ : base("复制文件名")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/DisplayDbModelDependenciesCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/DisplayDbModelDependenciesCommand.cs
index 10ec35c..39fde42 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/DisplayDbModelDependenciesCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/DisplayDbModelDependenciesCommand.cs
@@ -21,7 +21,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "DisplayDbModelDependenciesCommand" /> class.
/// </summary>
public DisplayDbModelDependenciesCommand()
- : base("Order Tables by FK Dependencies")
+ : base("����������������")
{
SmallImage = ImageResource.table_link;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/EmailAuthorCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/EmailAuthorCommand.cs
index 6cb6567..e196315 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/EmailAuthorCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/EmailAuthorCommand.cs
@@ -18,7 +18,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "EmailAuthorCommand" /> class.
/// </summary>
public EmailAuthorCommand()
- : base("Email the Author", "mailto:mr.paul.kohler" +
+ : base("�����߷��ʼ�", "mailto:mr.paul.kohler" +
'@' + /* bla */
"gmail.com?subject=Mini SQL Query Feedback", ImageResource.email)
{
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ExecuteTaskCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ExecuteTaskCommand.cs
index 43980da..62cee74 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ExecuteTaskCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ExecuteTaskCommand.cs
@@ -19,7 +19,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "ExecuteTaskCommand" /> class.
/// </summary>
public ExecuteTaskCommand()
- : base("&Execute")
+ : base("&E执行")
{
ShortcutKeys = Keys.F5;
ShortcutKeysText = "F5";
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ExitApplicationCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ExitApplicationCommand.cs
index 4c557fb..ecb794d 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ExitApplicationCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ExitApplicationCommand.cs
@@ -18,7 +18,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "ExitApplicationCommand" /> class.
/// </summary>
public ExitApplicationCommand()
- : base("E&xit")
+ : base("&x退出")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/GenerateCommandCodeCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/GenerateCommandCodeCommand.cs
index 3df9662..1c44d9c 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/GenerateCommandCodeCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/GenerateCommandCodeCommand.cs
@@ -20,7 +20,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "GenerateCommandCodeCommand" /> class.
/// </summary>
public GenerateCommandCodeCommand()
- : base("Generate Command Code")
+ : base("�����������")
{
SmallImage = ImageResource.cog;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/InsertGuidCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/InsertGuidCommand.cs
index 1d91a82..3215cff 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/InsertGuidCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/InsertGuidCommand.cs
@@ -18,7 +18,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "InsertGuidCommand" /> class.
/// </summary>
public InsertGuidCommand()
- : base("Insert GUID")
+ : base("����GUID")
{
// todo SmallImage = ImageResource.;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/NewQueryFormCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/NewQueryFormCommand.cs
index 61d72e3..0b30ac9 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/NewQueryFormCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/NewQueryFormCommand.cs
@@ -21,7 +21,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "NewQueryFormCommand" /> class.
/// </summary>
public NewQueryFormCommand()
- : base("New &Query Window")
+ : base("&Q新建查询")
{
ShortcutKeys = Keys.Control | Keys.N;
SmallImage = ImageResource.page_white;
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/OpenConnectionFileCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/OpenConnectionFileCommand.cs
index 7c58716..82b75c6 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/OpenConnectionFileCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/OpenConnectionFileCommand.cs
@@ -19,7 +19,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "OpenConnectionFileCommand" /> class.
/// </summary>
public OpenConnectionFileCommand()
- : base("Open the connections file")
+ : base("�������ļ�")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/PasteAroundSelectionCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/PasteAroundSelectionCommand.cs
index d132f55..b052d1e 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/PasteAroundSelectionCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/PasteAroundSelectionCommand.cs
@@ -18,7 +18,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "PasteAroundSelectionCommand" /> class.
/// </summary>
public PasteAroundSelectionCommand()
- : base("Paste &Around Selection")
+ : base("ճ����ѡ���ݣ�&A��")
{
ShortcutKeys = Keys.Alt | Keys.A;
SmallImage = ImageResource.around_text;
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/PrintCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/PrintCommand.cs
index c2b2890..1fe0dca 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/PrintCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/PrintCommand.cs
@@ -19,7 +19,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "PrintCommand" /> class.
/// </summary>
public PrintCommand()
- : base("Print...")
+ : base("打印...")
{
SmallImage = ImageResource.printer;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/RefreshDatabaseConnectionCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/RefreshDatabaseConnectionCommand.cs
index 73ec1a8..d2b9bdc 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/RefreshDatabaseConnectionCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/RefreshDatabaseConnectionCommand.cs
@@ -19,7 +19,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "RefreshDatabaseConnectionCommand" /> class.
/// </summary>
public RefreshDatabaseConnectionCommand()
- : base("&Refresh Database Connection")
+ : base("(&R)刷新数据库连接")
{
SmallImage = ImageResource.database_refresh;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/SetLeftPasteAroundSelectionCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/SetLeftPasteAroundSelectionCommand.cs
index 31d5faf..7a83ce6 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/SetLeftPasteAroundSelectionCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/SetLeftPasteAroundSelectionCommand.cs
@@ -18,7 +18,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "SetLeftPasteAroundSelectionCommand" /> class.
/// </summary>
public SetLeftPasteAroundSelectionCommand()
- : base("Set Left Paste Around Selection text")
+ : base("设置左粘贴到所选文本周围")
{
ShortcutKeys = Keys.Alt | Keys.F1;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/SetRightPasteAroundSelectionCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/SetRightPasteAroundSelectionCommand.cs
index e7947ff..dab1191 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/SetRightPasteAroundSelectionCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/SetRightPasteAroundSelectionCommand.cs
@@ -18,7 +18,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "SetRightPasteAroundSelectionCommand" /> class.
/// </summary>
public SetRightPasteAroundSelectionCommand()
- : base("Set Right Paste Around Selection text")
+ : base("设置右粘贴到所选文本周围")
{
ShortcutKeys = Keys.Alt | Keys.F2;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ShowHelpCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ShowHelpCommand.cs
index 4addead..92c6f8d 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ShowHelpCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ShowHelpCommand.cs
@@ -18,7 +18,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "ShowHelpCommand" /> class.
/// </summary>
public ShowHelpCommand()
- : base("&Index (github.com ... Quickstart.md)", "https://github.com/paulkohler/minisqlquery/blob/master/src/Docs/Quickstart.md", ImageResource.help)
+ : base("&I索引 (github.com ... Quickstart.md)", "https://github.com/paulkohler/minisqlquery/blob/master/src/Docs/Quickstart.md", ImageResource.help)
{
}
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ShowWebPageCommand.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ShowWebPageCommand.cs
index 9fb5322..cc0932b 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ShowWebPageCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Commands/ShowWebPageCommand.cs
@@ -18,7 +18,7 @@ namespace MiniSqlQuery.Core.Commands
/// Initializes a new instance of the <see cref = "ShowWebPageCommand" /> class.
/// </summary>
public ShowWebPageCommand()
- : base("Mini SQL Query on GitHub", "https://github.com/paulkohler/minisqlquery", ImageResource.house)
+ : base("GitHub�ϵ�����SQL��ѯ", "https://github.com/paulkohler/minisqlquery", ImageResource.house)
{
}
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Controls/PluginListControl.Designer.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Controls/PluginListControl.Designer.cs
index f799dec..d4d7409 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Controls/PluginListControl.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Controls/PluginListControl.Designer.cs
@@ -56,7 +56,7 @@
//
// columnHeaderDescription
//
- this.columnHeaderDescription.Text = "Description";
+ this.columnHeaderDescription.Text = "描述";
this.columnHeaderDescription.Width = 200;
//
// columnHeaderAssembly
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Forms/BatchQuerySelectForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery.Core/Forms/BatchQuerySelectForm.Designer.cs
index 4fac25e..ac7c85b 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Forms/BatchQuerySelectForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Forms/BatchQuerySelectForm.Designer.cs
@@ -28,72 +28,72 @@
/// </summary>
private void InitializeComponent()
{
- this.batchQuerySelectControl1 = new MiniSqlQuery.Core.Controls.BatchQuerySelectControl();
- this.label1 = new System.Windows.Forms.Label();
- this.btnOk = new System.Windows.Forms.Button();
- this.btnCancel = new System.Windows.Forms.Button();
- this.SuspendLayout();
- //
- // batchQuerySelectControl1
- //
- this.batchQuerySelectControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.batchQuerySelectControl1.Location = new System.Drawing.Point(12, 25);
- this.batchQuerySelectControl1.Name = "batchQuerySelectControl1";
- this.batchQuerySelectControl1.Size = new System.Drawing.Size(322, 180);
- this.batchQuerySelectControl1.TabIndex = 0;
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(9, 9);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(138, 13);
- this.label1.TabIndex = 1;
- this.label1.Text = "Select a result set to export:";
- //
- // btnOk
- //
- this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnOk.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.btnOk.Location = new System.Drawing.Point(178, 211);
- this.btnOk.Name = "btnOk";
- this.btnOk.Size = new System.Drawing.Size(75, 23);
- this.btnOk.TabIndex = 2;
- this.btnOk.Text = "&OK";
- this.btnOk.UseVisualStyleBackColor = true;
- this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
- //
- // btnCancel
- //
- this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.btnCancel.Location = new System.Drawing.Point(259, 211);
- this.btnCancel.Name = "btnCancel";
- this.btnCancel.Size = new System.Drawing.Size(75, 23);
- this.btnCancel.TabIndex = 3;
- this.btnCancel.Text = "&Cancel";
- this.btnCancel.UseVisualStyleBackColor = true;
- //
- // BatchQuerySelectForm
- //
- this.AcceptButton = this.btnOk;
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.CancelButton = this.btnCancel;
- this.ClientSize = new System.Drawing.Size(346, 246);
- this.Controls.Add(this.btnCancel);
- this.Controls.Add(this.btnOk);
- this.Controls.Add(this.label1);
- this.Controls.Add(this.batchQuerySelectControl1);
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "BatchQuerySelectForm";
- this.ShowIcon = false;
- this.Text = "Batch Query Selection";
- this.ResumeLayout(false);
- this.PerformLayout();
+ this.batchQuerySelectControl1 = new MiniSqlQuery.Core.Controls.BatchQuerySelectControl();
+ this.label1 = new System.Windows.Forms.Label();
+ this.btnOk = new System.Windows.Forms.Button();
+ this.btnCancel = new System.Windows.Forms.Button();
+ this.SuspendLayout();
+ //
+ // batchQuerySelectControl1
+ //
+ this.batchQuerySelectControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.batchQuerySelectControl1.Location = new System.Drawing.Point(12, 23);
+ this.batchQuerySelectControl1.Name = "batchQuerySelectControl1";
+ this.batchQuerySelectControl1.Size = new System.Drawing.Size(322, 166);
+ this.batchQuerySelectControl1.TabIndex = 0;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(9, 8);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(125, 12);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "选择要导出的结果集:";
+ //
+ // btnOk
+ //
+ this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnOk.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ this.btnOk.Location = new System.Drawing.Point(178, 195);
+ this.btnOk.Name = "btnOk";
+ this.btnOk.Size = new System.Drawing.Size(75, 21);
+ this.btnOk.TabIndex = 2;
+ this.btnOk.Text = "&O确定";
+ this.btnOk.UseVisualStyleBackColor = true;
+ this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
+ //
+ // btnCancel
+ //
+ this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ this.btnCancel.Location = new System.Drawing.Point(259, 195);
+ this.btnCancel.Name = "btnCancel";
+ this.btnCancel.Size = new System.Drawing.Size(75, 21);
+ this.btnCancel.TabIndex = 3;
+ this.btnCancel.Text = "&C取消";
+ this.btnCancel.UseVisualStyleBackColor = true;
+ //
+ // BatchQuerySelectForm
+ //
+ this.AcceptButton = this.btnOk;
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.CancelButton = this.btnCancel;
+ this.ClientSize = new System.Drawing.Size(346, 227);
+ this.Controls.Add(this.btnCancel);
+ this.Controls.Add(this.btnOk);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.batchQuerySelectControl1);
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "BatchQuerySelectForm";
+ this.ShowIcon = false;
+ this.Text = "批量查询选择";
+ this.ResumeLayout(false);
+ this.PerformLayout();
}
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/Forms/BatchQuerySelectForm.resx b/minisqlquery-master/src/MiniSqlQuery.Core/Forms/BatchQuerySelectForm.resx
index 19dc0dd..d58980a 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/Forms/BatchQuerySelectForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/Forms/BatchQuerySelectForm.resx
@@ -112,9 +112,9 @@
<value>2.0</value>
</resheader>
<resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/SqlQueryRunner.cs b/minisqlquery-master/src/MiniSqlQuery.Core/SqlQueryRunner.cs
index ade2447..ec56670 100644
--- a/minisqlquery-master/src/MiniSqlQuery.Core/SqlQueryRunner.cs
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/SqlQueryRunner.cs
@@ -41,7 +41,7 @@ namespace MiniSqlQuery.Core
{
foreach (SqlError error in exp.Errors)
{
- Messages += string.Format("Error line {0}: {1}.{2}", error.LineNumber, error.Message, Environment.NewLine);
+ Messages += string.Format("���� {0}�ϵĴ���: {1}.{2}", error.LineNumber, error.Message, Environment.NewLine);
}
}
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/AboutForm.cs b/minisqlquery-master/src/MiniSqlQuery/AboutForm.cs
index 233d777..6a59620 100644
--- a/minisqlquery-master/src/MiniSqlQuery/AboutForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/AboutForm.cs
@@ -33,9 +33,9 @@ namespace MiniSqlQuery
{
InitializeComponent();
pic.Image = ImageResource.ApplicationIcon;
- Text = String.Format("About {0}", AssemblyTitle);
+ Text = String.Format("关于 {0}", AssemblyTitle);
labelProductName.Text = AssemblyTitle;
- labelVersion.Text = String.Format("Version {0}", AssemblyVersion);
+ labelVersion.Text = String.Format("版本 {0}", AssemblyVersion);
labelCopyright.Text = AssemblyCopyright;
textBoxDescription.Text = AssemblyDescription;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/AboutForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/AboutForm.Designer.cs
index c0b6920..6c559da 100644
--- a/minisqlquery-master/src/MiniSqlQuery/AboutForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/AboutForm.Designer.cs
@@ -36,18 +36,18 @@
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPageReadMe = new System.Windows.Forms.TabPage();
this.webBrowser1 = new System.Windows.Forms.WebBrowser();
+ this.tabChangeLog = new System.Windows.Forms.TabPage();
+ this.txtChangeLog = new System.Windows.Forms.TextBox();
this.tabPageLicense = new System.Windows.Forms.TabPage();
this.txtLicense = new System.Windows.Forms.TextBox();
this.tabPagePlugins = new System.Windows.Forms.TabPage();
this.pic = new System.Windows.Forms.PictureBox();
- this.tabChangeLog = new System.Windows.Forms.TabPage();
- this.txtChangeLog = new System.Windows.Forms.TextBox();
this.tabControl1.SuspendLayout();
this.tabPageReadMe.SuspendLayout();
+ this.tabChangeLog.SuspendLayout();
this.tabPageLicense.SuspendLayout();
this.tabPagePlugins.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pic)).BeginInit();
- this.tabChangeLog.SuspendLayout();
this.SuspendLayout();
//
// textBoxDescription
@@ -55,13 +55,13 @@
this.textBoxDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textBoxDescription.BackColor = System.Drawing.SystemColors.Window;
- this.textBoxDescription.Location = new System.Drawing.Point(12, 77);
+ this.textBoxDescription.Location = new System.Drawing.Point(12, 71);
this.textBoxDescription.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
this.textBoxDescription.Multiline = true;
this.textBoxDescription.Name = "textBoxDescription";
this.textBoxDescription.ReadOnly = true;
this.textBoxDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both;
- this.textBoxDescription.Size = new System.Drawing.Size(615, 54);
+ this.textBoxDescription.Size = new System.Drawing.Size(615, 50);
this.textBoxDescription.TabIndex = 23;
this.textBoxDescription.TabStop = false;
this.textBoxDescription.Text = "Description";
@@ -70,9 +70,9 @@
//
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.okButton.Location = new System.Drawing.Point(552, 437);
+ this.okButton.Location = new System.Drawing.Point(552, 403);
this.okButton.Name = "okButton";
- this.okButton.Size = new System.Drawing.Size(75, 23);
+ this.okButton.Size = new System.Drawing.Size(75, 21);
this.okButton.TabIndex = 24;
this.okButton.Text = "&OK";
this.okButton.Click += new System.EventHandler(this.okButton_Click);
@@ -82,17 +82,17 @@
this.pluginList.Dock = System.Windows.Forms.DockStyle.Fill;
this.pluginList.Location = new System.Drawing.Point(3, 3);
this.pluginList.Name = "pluginList";
- this.pluginList.Size = new System.Drawing.Size(601, 262);
+ this.pluginList.Size = new System.Drawing.Size(601, 239);
this.pluginList.TabIndex = 0;
//
// labelVersion
//
this.labelVersion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.labelVersion.Location = new System.Drawing.Point(81, 35);
+ this.labelVersion.Location = new System.Drawing.Point(81, 32);
this.labelVersion.Margin = new System.Windows.Forms.Padding(0);
this.labelVersion.Name = "labelVersion";
- this.labelVersion.Size = new System.Drawing.Size(546, 17);
+ this.labelVersion.Size = new System.Drawing.Size(546, 16);
this.labelVersion.TabIndex = 0;
this.labelVersion.Text = "Version";
this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -103,10 +103,10 @@
this.labelProductName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.labelProductName.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.labelProductName.Location = new System.Drawing.Point(81, 9);
+ this.labelProductName.Location = new System.Drawing.Point(81, 8);
this.labelProductName.Margin = new System.Windows.Forms.Padding(0);
this.labelProductName.Name = "labelProductName";
- this.labelProductName.Size = new System.Drawing.Size(546, 17);
+ this.labelProductName.Size = new System.Drawing.Size(546, 16);
this.labelProductName.TabIndex = 19;
this.labelProductName.Text = "Product Name";
this.labelProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -115,10 +115,10 @@
//
this.labelCopyright.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.labelCopyright.Location = new System.Drawing.Point(81, 52);
+ this.labelCopyright.Location = new System.Drawing.Point(81, 48);
this.labelCopyright.Margin = new System.Windows.Forms.Padding(0);
this.labelCopyright.Name = "labelCopyright";
- this.labelCopyright.Size = new System.Drawing.Size(546, 17);
+ this.labelCopyright.Size = new System.Drawing.Size(546, 16);
this.labelCopyright.TabIndex = 22;
this.labelCopyright.Text = "Copyright";
this.labelCopyright.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -132,10 +132,10 @@
this.tabControl1.Controls.Add(this.tabChangeLog);
this.tabControl1.Controls.Add(this.tabPageLicense);
this.tabControl1.Controls.Add(this.tabPagePlugins);
- this.tabControl1.Location = new System.Drawing.Point(12, 137);
+ this.tabControl1.Location = new System.Drawing.Point(12, 126);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
- this.tabControl1.Size = new System.Drawing.Size(615, 294);
+ this.tabControl1.Size = new System.Drawing.Size(615, 271);
this.tabControl1.TabIndex = 25;
//
// tabPageReadMe
@@ -144,29 +144,51 @@
this.tabPageReadMe.Location = new System.Drawing.Point(4, 22);
this.tabPageReadMe.Name = "tabPageReadMe";
this.tabPageReadMe.Padding = new System.Windows.Forms.Padding(3);
- this.tabPageReadMe.Size = new System.Drawing.Size(607, 268);
+ this.tabPageReadMe.Size = new System.Drawing.Size(607, 245);
this.tabPageReadMe.TabIndex = 2;
- this.tabPageReadMe.Text = "Read Me!";
+ this.tabPageReadMe.Text = "说明!";
this.tabPageReadMe.UseVisualStyleBackColor = true;
//
// webBrowser1
//
this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill;
this.webBrowser1.Location = new System.Drawing.Point(3, 3);
- this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
+ this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 18);
this.webBrowser1.Name = "webBrowser1";
- this.webBrowser1.Size = new System.Drawing.Size(601, 262);
+ this.webBrowser1.Size = new System.Drawing.Size(601, 239);
this.webBrowser1.TabIndex = 0;
//
+ // tabChangeLog
+ //
+ this.tabChangeLog.Controls.Add(this.txtChangeLog);
+ this.tabChangeLog.Location = new System.Drawing.Point(4, 22);
+ this.tabChangeLog.Name = "tabChangeLog";
+ this.tabChangeLog.Padding = new System.Windows.Forms.Padding(3);
+ this.tabChangeLog.Size = new System.Drawing.Size(607, 245);
+ this.tabChangeLog.TabIndex = 4;
+ this.tabChangeLog.Text = "修改历史";
+ this.tabChangeLog.UseVisualStyleBackColor = true;
+ //
+ // txtChangeLog
+ //
+ this.txtChangeLog.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.txtChangeLog.Location = new System.Drawing.Point(3, 3);
+ this.txtChangeLog.Multiline = true;
+ this.txtChangeLog.Name = "txtChangeLog";
+ this.txtChangeLog.ReadOnly = true;
+ this.txtChangeLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+ this.txtChangeLog.Size = new System.Drawing.Size(601, 239);
+ this.txtChangeLog.TabIndex = 1;
+ //
// tabPageLicense
//
this.tabPageLicense.Controls.Add(this.txtLicense);
this.tabPageLicense.Location = new System.Drawing.Point(4, 22);
this.tabPageLicense.Name = "tabPageLicense";
this.tabPageLicense.Padding = new System.Windows.Forms.Padding(3);
- this.tabPageLicense.Size = new System.Drawing.Size(607, 268);
+ this.tabPageLicense.Size = new System.Drawing.Size(607, 245);
this.tabPageLicense.TabIndex = 3;
- this.tabPageLicense.Text = "License";
+ this.tabPageLicense.Text = "授权";
this.tabPageLicense.UseVisualStyleBackColor = true;
//
// txtLicense
@@ -177,7 +199,7 @@
this.txtLicense.Name = "txtLicense";
this.txtLicense.ReadOnly = true;
this.txtLicense.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
- this.txtLicense.Size = new System.Drawing.Size(601, 262);
+ this.txtLicense.Size = new System.Drawing.Size(601, 239);
this.txtLicense.TabIndex = 0;
//
// tabPagePlugins
@@ -186,49 +208,27 @@
this.tabPagePlugins.Location = new System.Drawing.Point(4, 22);
this.tabPagePlugins.Name = "tabPagePlugins";
this.tabPagePlugins.Padding = new System.Windows.Forms.Padding(3);
- this.tabPagePlugins.Size = new System.Drawing.Size(607, 268);
+ this.tabPagePlugins.Size = new System.Drawing.Size(607, 245);
this.tabPagePlugins.TabIndex = 1;
- this.tabPagePlugins.Text = "Plugins";
+ this.tabPagePlugins.Text = "插件";
this.tabPagePlugins.UseVisualStyleBackColor = true;
//
// pic
//
- this.pic.Location = new System.Drawing.Point(26, 20);
+ this.pic.Location = new System.Drawing.Point(26, 18);
this.pic.Name = "pic";
- this.pic.Size = new System.Drawing.Size(32, 32);
+ this.pic.Size = new System.Drawing.Size(32, 30);
this.pic.TabIndex = 26;
this.pic.TabStop = false;
//
- // tabChangeLog
- //
- this.tabChangeLog.Controls.Add(this.txtChangeLog);
- this.tabChangeLog.Location = new System.Drawing.Point(4, 22);
- this.tabChangeLog.Name = "tabChangeLog";
- this.tabChangeLog.Padding = new System.Windows.Forms.Padding(3);
- this.tabChangeLog.Size = new System.Drawing.Size(607, 268);
- this.tabChangeLog.TabIndex = 4;
- this.tabChangeLog.Text = "Change Log";
- this.tabChangeLog.UseVisualStyleBackColor = true;
- //
- // txtChangeLog
- //
- this.txtChangeLog.Dock = System.Windows.Forms.DockStyle.Fill;
- this.txtChangeLog.Location = new System.Drawing.Point(3, 3);
- this.txtChangeLog.Multiline = true;
- this.txtChangeLog.Name = "txtChangeLog";
- this.txtChangeLog.ReadOnly = true;
- this.txtChangeLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
- this.txtChangeLog.Size = new System.Drawing.Size(601, 262);
- this.txtChangeLog.TabIndex = 1;
- //
// AboutForm
//
this.AcceptButton = this.okButton;
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Window;
this.CancelButton = this.okButton;
- this.ClientSize = new System.Drawing.Size(639, 472);
+ this.ClientSize = new System.Drawing.Size(639, 436);
this.Controls.Add(this.pic);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.okButton);
@@ -240,20 +240,20 @@
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "AboutForm";
- this.Padding = new System.Windows.Forms.Padding(9);
+ this.Padding = new System.Windows.Forms.Padding(9, 8, 9, 8);
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
- this.Text = "About";
+ this.Text = "关于";
this.Load += new System.EventHandler(this.AboutForm_Load);
this.tabControl1.ResumeLayout(false);
this.tabPageReadMe.ResumeLayout(false);
+ this.tabChangeLog.ResumeLayout(false);
+ this.tabChangeLog.PerformLayout();
this.tabPageLicense.ResumeLayout(false);
this.tabPageLicense.PerformLayout();
this.tabPagePlugins.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pic)).EndInit();
- this.tabChangeLog.ResumeLayout(false);
- this.tabChangeLog.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/minisqlquery-master/src/MiniSqlQuery/BasicEditors.cs b/minisqlquery-master/src/MiniSqlQuery/BasicEditors.cs
index 89b0c0c..a1217b8 100644
--- a/minisqlquery-master/src/MiniSqlQuery/BasicEditors.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/BasicEditors.cs
@@ -23,7 +23,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public override string FileFilter
{
- get { return "ASPX Files (*.asp;*.aspx;*.asax;*.asmx)|*.asp;*.aspx;*.asax;*.asmx|All Files (*.*)|*.*"; }
+ get { return "ASPX 文件 (*.asp;*.aspx;*.asax;*.asmx)|*.asp;*.aspx;*.asax;*.asmx|所有文件 (*.*)|*.*"; }
}
}
@@ -41,7 +41,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public override string FileFilter
{
- get { return "Batch Files (*.bat;*.cmd)|*.bat;*.cmd|All Files (*.*)|*.*"; }
+ get { return "批处理文件 (*.bat;*.cmd)|*.bat;*.cmd|所有文件 (*.*)|*.*"; }
}
}
@@ -59,7 +59,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public override string FileFilter
{
- get { return "BOO Files (*.boo)|*.boo|All Files (*.*)|*.*"; }
+ get { return "BOO 文件 (*.boo)|*.boo|所有文件 (*.*)|*.*"; }
}
}
@@ -77,7 +77,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public override string FileFilter
{
- get { return "Coco Files (*.atg)|*.atg|All Files (*.*)|*.*"; }
+ get { return "Coco 文件 (*.atg)|*.atg|所有文件 (*.*)|*.*"; }
}
}
@@ -95,7 +95,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public override string FileFilter
{
- get { return "C++ Files (*.cpp;*.cc;*.c;*.h)|*.cpp;*.cc;*.c;*.h|All Files (*.*)|*.*"; }
+ get { return "C++ 文件 (*.cpp;*.cc;*.c;*.h)|*.cpp;*.cc;*.c;*.h|所有文件(*.*)|*.*"; }
}
}
@@ -113,7 +113,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public override string FileFilter
{
- get { return "C# Files (*.cs)|*.cs|All Files (*.*)|*.*"; }
+ get { return "C# 文件 (*.cs)|*.cs|所有文件 (*.*)|*.*"; }
}
}
@@ -131,7 +131,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public override string FileFilter
{
- get { return "HTML Files (*.htm*)|*.htm*|All Files (*.*)|*.*"; }
+ get { return "HTML 文件(*.htm*)|*.htm*|所有文件 (*.*)|*.*"; }
}
}
@@ -149,7 +149,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public override string FileFilter
{
- get { return "Java Files (*.java)|*.java|All Files (*.*)|*.*"; }
+ get { return "Java 文件 (*.java)|*.java|所有文件 (*.*)|*.*"; }
}
}
@@ -167,7 +167,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public override string FileFilter
{
- get { return "JavaScript Files (*.js)|*.js|All Files (*.*)|*.*"; }
+ get { return "JavaScript脚本文件 (*.js)|*.js|所有文件 (*.*)|*.*"; }
}
}
@@ -185,7 +185,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public override string FileFilter
{
- get { return "Patch Files (*.patch;*.diff)|*.patch;*.diff|All Files (*.*)|*.*"; }
+ get { return "Patch 文件 (*.patch;*.diff)|*.patch;*.diff|所有文件 (*.*)|*.*"; }
}
}
@@ -203,7 +203,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public override string FileFilter
{
- get { return "PHP Files (*.php*)|*.php*|All Files (*.*)|*.*"; }
+ get { return "PHP文件 (*.php*)|*.php*|所有文件 (*.*)|*.*"; }
}
}
@@ -221,7 +221,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public override string FileFilter
{
- get { return "TeX Files (*.tex)|*.tex|All Files (*.*)|*.*"; }
+ get { return "TeX 文件 (*.tex)|*.tex|所有文件(*.*)|*.*"; }
}
}
@@ -239,7 +239,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public override string FileFilter
{
- get { return "VB.NET Files (*.vb)|*.vb|All Files (*.*)|*.*"; }
+ get { return "VB.NET 文件 (*.vb)|*.vb|所有文件 (*.*)|*.*"; }
}
}
@@ -257,7 +257,7 @@ namespace MiniSqlQuery
/// <summary>Gets FileFilter.</summary>
public override string FileFilter
{
- get { return "XML Files (*.xml;*.resx)|*.xml;*.resx|All Files (*.*)|*.*"; }
+ get { return "XML 文件 (*.xml;*.resx)|*.xml;*.resx|所有文件 (*.*)|*.*"; }
}
}
}
\ No newline at end of file
diff --git a/minisqlquery-master/src/MiniSqlQuery/Commands/NewFileCommand.cs b/minisqlquery-master/src/MiniSqlQuery/Commands/NewFileCommand.cs
index 3fb143f..6910213 100644
--- a/minisqlquery-master/src/MiniSqlQuery/Commands/NewFileCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/Commands/NewFileCommand.cs
@@ -18,7 +18,7 @@ namespace MiniSqlQuery.Commands
{
/// <summary>Initializes a new instance of the <see cref="NewFileCommand"/> class.</summary>
public NewFileCommand()
- : base("New &File")
+ : base("(&F)�½��ļ�")
{
ShortcutKeys = Keys.Control | Keys.Alt | Keys.N;
SmallImage = ImageResource.page;
diff --git a/minisqlquery-master/src/MiniSqlQuery/Commands/OpenFileCommand.cs b/minisqlquery-master/src/MiniSqlQuery/Commands/OpenFileCommand.cs
index efe27ea..e0f8ff3 100644
--- a/minisqlquery-master/src/MiniSqlQuery/Commands/OpenFileCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/Commands/OpenFileCommand.cs
@@ -19,7 +19,7 @@ namespace MiniSqlQuery.Commands
{
/// <summary>Initializes a new instance of the <see cref="OpenFileCommand"/> class.</summary>
public OpenFileCommand()
- : base("&Open File")
+ : base("(&O)打开文件")
{
ShortcutKeys = Keys.Control | Keys.O;
SmallImage = ImageResource.folder_page;
diff --git a/minisqlquery-master/src/MiniSqlQuery/Commands/OpenRecentFileCommand.cs b/minisqlquery-master/src/MiniSqlQuery/Commands/OpenRecentFileCommand.cs
index 85d5372..0db5fe1 100644
--- a/minisqlquery-master/src/MiniSqlQuery/Commands/OpenRecentFileCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/Commands/OpenRecentFileCommand.cs
@@ -18,13 +18,13 @@ namespace MiniSqlQuery.Commands
/// Initializes a new instance of the <see cref = "OpenRecentFileCommand" /> class.
/// </summary>
protected OpenRecentFileCommand(int index)
- : base("MRU")
+ : base("历史文件")
{
_index = index;
}
public OpenRecentFileCommand(IMostRecentFilesService mostRecentFilesService, int index)
- : base("MRU")
+ : base("历史文件")
{
_mostRecentFilesService = mostRecentFilesService;
_index = index;
diff --git a/minisqlquery-master/src/MiniSqlQuery/Commands/SaveFileAsCommand.cs b/minisqlquery-master/src/MiniSqlQuery/Commands/SaveFileAsCommand.cs
index a3e598e..5e5342a 100644
--- a/minisqlquery-master/src/MiniSqlQuery/Commands/SaveFileAsCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/Commands/SaveFileAsCommand.cs
@@ -18,7 +18,7 @@ namespace MiniSqlQuery.Commands
{
/// <summary>Initializes a new instance of the <see cref="SaveFileAsCommand"/> class.</summary>
public SaveFileAsCommand()
- : base("Save File &As...")
+ : base("另存文件(&A)...")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/Commands/SaveFileCommand.cs b/minisqlquery-master/src/MiniSqlQuery/Commands/SaveFileCommand.cs
index bd41f52..0fa034c 100644
--- a/minisqlquery-master/src/MiniSqlQuery/Commands/SaveFileCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/Commands/SaveFileCommand.cs
@@ -17,7 +17,7 @@ namespace MiniSqlQuery.Commands
{
/// <summary>Initializes a new instance of the <see cref="SaveFileCommand"/> class.</summary>
public SaveFileCommand()
- : base("&Save File")
+ : base("(&S)保存文件")
{
ShortcutKeys = Keys.Control | Keys.S;
SmallImage = ImageResource.disk;
diff --git a/minisqlquery-master/src/MiniSqlQuery/Commands/SaveResultsAsDataSetCommand.cs b/minisqlquery-master/src/MiniSqlQuery/Commands/SaveResultsAsDataSetCommand.cs
index cea455c..d9039c6 100644
--- a/minisqlquery-master/src/MiniSqlQuery/Commands/SaveResultsAsDataSetCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/Commands/SaveResultsAsDataSetCommand.cs
@@ -20,7 +20,7 @@ namespace MiniSqlQuery.Commands
{
/// <summary>Initializes a new instance of the <see cref="SaveResultsAsDataSetCommand"/> class.</summary>
public SaveResultsAsDataSetCommand()
- : base("Save Results as DataSet XML...")
+ : base("将结果另存为数据集XML...")
{
SmallImage = ImageResource.table_save;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/Commands/ShowAboutCommand.cs b/minisqlquery-master/src/MiniSqlQuery/Commands/ShowAboutCommand.cs
index 1b960eb..fd55459 100644
--- a/minisqlquery-master/src/MiniSqlQuery/Commands/ShowAboutCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/Commands/ShowAboutCommand.cs
@@ -17,7 +17,7 @@ namespace MiniSqlQuery.Commands
{
/// <summary>Initializes a new instance of the <see cref="ShowAboutCommand"/> class.</summary>
public ShowAboutCommand()
- : base("&About...")
+ : base("(&A)关于...")
{
SmallImage = ImageResource.ApplicationIcon;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/Commands/ShowOptionsFormCommand.cs b/minisqlquery-master/src/MiniSqlQuery/Commands/ShowOptionsFormCommand.cs
index 5b1ce09..55e1bbd 100644
--- a/minisqlquery-master/src/MiniSqlQuery/Commands/ShowOptionsFormCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/Commands/ShowOptionsFormCommand.cs
@@ -16,7 +16,7 @@ namespace MiniSqlQuery.Commands
{
/// <summary>Initializes a new instance of the <see cref="ShowOptionsFormCommand"/> class.</summary>
public ShowOptionsFormCommand()
- : base("Options")
+ : base("ѡ��")
{
// ShortcutKeys = ?;
SmallImage = ImageResource.cog;
diff --git a/minisqlquery-master/src/MiniSqlQuery/MainForm.cs b/minisqlquery-master/src/MiniSqlQuery/MainForm.cs
index 0cdb7ae..69e7065 100644
--- a/minisqlquery-master/src/MiniSqlQuery/MainForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/MainForm.cs
@@ -174,10 +174,10 @@ namespace MiniSqlQuery
public ToolStripMenuItem GetMenuItem(string name)
{
ToolStripMenuItem menuItem = null;
-
+ //zhenggc 2023-11-28 modify
foreach (ToolStripMenuItem item in MainMenuStrip.Items)
{
- if (item.Text.Replace("&", string.Empty).ToLower() == name.ToLower())
+ if (item.Name.Replace("&", string.Empty).ToLower() == name.ToLower())
{
menuItem = item;
break;
diff --git a/minisqlquery-master/src/MiniSqlQuery/MainForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/MainForm.Designer.cs
index f2ec167..fd492a0 100644
--- a/minisqlquery-master/src/MiniSqlQuery/MainForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/MainForm.Designer.cs
@@ -259,8 +259,8 @@
// toolStripLabel1
//
this.toolStripLabel1.Name = "toolStripLabel1";
- this.toolStripLabel1.Size = new System.Drawing.Size(76, 22);
- this.toolStripLabel1.Text = "Connection:";
+ this.toolStripLabel1.Size = new System.Drawing.Size(35, 22);
+ this.toolStripLabel1.Text = "连接:";
//
// toolStripComboBoxConnection
//
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/Commands/EditConnectionsFormCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/Commands/EditConnectionsFormCommand.cs
index bce056e..de27f69 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/Commands/EditConnectionsFormCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/Commands/EditConnectionsFormCommand.cs
@@ -15,7 +15,7 @@ namespace MiniSqlQuery.PlugIns.ConnectionStringsManager.Commands
{
/// <summary>Initializes a new instance of the <see cref="EditConnectionsFormCommand"/> class.</summary>
public EditConnectionsFormCommand()
- : base("&E编辑连接字符串")
+ : base("(&E)编辑连接字符串")
{
SmallImage = ImageResource.database_edit;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringsManagerLoader.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringsManagerLoader.cs
index ac3a2fe..232a5db 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringsManagerLoader.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringsManagerLoader.cs
@@ -26,7 +26,8 @@ namespace MiniSqlQuery.PlugIns.ConnectionStringsManager
public override void InitializePlugIn()
{
Services.RegisterComponent<DbConnectionsForm>("DbConnectionsForm");
- ToolStripMenuItem editMenu = Services.HostWindow.GetMenuItem("edit");
+ //zhenggc .GetMenuItem("edit"); 修改 GetMenuItem("editmenu")
+ ToolStripMenuItem editMenu = Services.HostWindow.GetMenuItem("editmenu");
editMenu.DropDownItems.Add(CommandControlBuilder.CreateToolStripMenuItem<EditConnectionsFormCommand>());
Services.HostWindow.AddToolStripCommand<EditConnectionsFormCommand>(null);
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreApplicationPlugIn.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreApplicationPlugIn.cs
index 7dc7b39..6b1ccbe 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreApplicationPlugIn.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreApplicationPlugIn.cs
@@ -49,10 +49,12 @@ namespace MiniSqlQuery.PlugIns
services.RegisterSingletonComponent<IMostRecentFilesService, MostRecentFilesService>("MostRecentFilesService");
services.RegisterConfigurationObject<CoreMiniSqlQueryConfiguration>();
- ToolStripMenuItem fileMenu = hostWindow.GetMenuItem("File");
- ToolStripMenuItem editMenu = hostWindow.GetMenuItem("edit");
- ToolStripMenuItem queryMenu = hostWindow.GetMenuItem("query");
- ToolStripMenuItem helpMenu = hostWindow.GetMenuItem("help");
+ ToolStripMenuItem fileMenu = hostWindow.GetMenuItem("Filemenu");
+ ToolStripMenuItem editMenu = hostWindow.GetMenuItem("editmenu");
+ //ToolStripMenuItem queryMenu = hostWindow.GetMenuItem("querymenu");
+ //zhenggc queryToolStripMenuItem 2023-11-28 modify
+ ToolStripMenuItem queryMenu = hostWindow.GetMenuItem("queryToolStripMenuItem");
+ ToolStripMenuItem helpMenu = hostWindow.GetMenuItem("helpmenu");
fileMenu.DropDownItems.Add(CommandControlBuilder.CreateToolStripMenuItem<NewQueryFormCommand>());
fileMenu.DropDownItems.Add(CommandControlBuilder.CreateToolStripMenuItem<NewFileCommand>());
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/CopyTableNameCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/CopyTableNameCommand.cs
index ff20da0..c86681d 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/CopyTableNameCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/CopyTableNameCommand.cs
@@ -15,7 +15,7 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector.Commands
{
/// <summary>Initializes a new instance of the <see cref="CopyTableNameCommand"/> class.</summary>
public CopyTableNameCommand()
- : base("Copy table name")
+ : base("���Ʊ���")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateDeleteStatementCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateDeleteStatementCommand.cs
index e0b7220..57c46fe 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateDeleteStatementCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateDeleteStatementCommand.cs
@@ -16,7 +16,7 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector.Commands
{
/// <summary>Initializes a new instance of the <see cref="GenerateDeleteStatementCommand"/> class.</summary>
public GenerateDeleteStatementCommand()
- : base("Generate Delete Statement")
+ : base("生成删除语句")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateInsertStatementCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateInsertStatementCommand.cs
index 55f0802..b51688f 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateInsertStatementCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateInsertStatementCommand.cs
@@ -16,7 +16,7 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector.Commands
{
/// <summary>Initializes a new instance of the <see cref="GenerateInsertStatementCommand"/> class.</summary>
public GenerateInsertStatementCommand()
- : base("Generate Insert Statement")
+ : base("生成插入语句")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateSelectCountStatementCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateSelectCountStatementCommand.cs
index 14efcf5..171189d 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateSelectCountStatementCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateSelectCountStatementCommand.cs
@@ -16,7 +16,7 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector.Commands
{
/// <summary>Initializes a new instance of the <see cref="GenerateSelectCountStatementCommand"/> class.</summary>
public GenerateSelectCountStatementCommand()
- : base("Generate Select COUNT(*) Statement")
+ : base("����Select COUNT(*)���")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateSelectStatementCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateSelectStatementCommand.cs
index 7265429..17f248a 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateSelectStatementCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateSelectStatementCommand.cs
@@ -16,7 +16,7 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector.Commands
{
/// <summary>Initializes a new instance of the <see cref="GenerateSelectStatementCommand"/> class.</summary>
public GenerateSelectStatementCommand()
- : base("Generate Select Statement")
+ : base("生成查询语句")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateUpdateStatementCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateUpdateStatementCommand.cs
index 2f90fe6..774e7fe 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateUpdateStatementCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/GenerateUpdateStatementCommand.cs
@@ -16,7 +16,7 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector.Commands
{
/// <summary>Initializes a new instance of the <see cref="GenerateUpdateStatementCommand"/> class.</summary>
public GenerateUpdateStatementCommand()
- : base("Generate Update Statement")
+ : base("生成更新语句")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/LocateFkReferenceColumnCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/LocateFkReferenceColumnCommand.cs
index ec425e4..1663b11 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/LocateFkReferenceColumnCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/LocateFkReferenceColumnCommand.cs
@@ -14,7 +14,7 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector.Commands
{
/// <summary>Initializes a new instance of the <see cref="LocateFkReferenceColumnCommand"/> class.</summary>
public LocateFkReferenceColumnCommand()
- : base("Jump to FK column reference...")
+ : base("跳转到外键列引用...")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/ShowDatabaseInspectorCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/ShowDatabaseInspectorCommand.cs
index bdf1fd0..c99c013 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/ShowDatabaseInspectorCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/ShowDatabaseInspectorCommand.cs
@@ -16,7 +16,7 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector.Commands
{
/// <summary>Initializes a new instance of the <see cref="ShowDatabaseInspectorCommand"/> class.</summary>
public ShowDatabaseInspectorCommand()
- : base("Show Database Inspector")
+ : base("��ʾ���ݿ�����")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/ShowFindObjectFormCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/ShowFindObjectFormCommand.cs
index 079ffe4..728b7ea 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/ShowFindObjectFormCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/ShowFindObjectFormCommand.cs
@@ -18,7 +18,7 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector.Commands
{
/// <summary>Initializes a new instance of the <see cref="ShowFindObjectFormCommand"/> class.</summary>
public ShowFindObjectFormCommand()
- : base("Find Object...")
+ : base("查找对象...")
{
ShortcutKeys = Keys.Alt | Keys.F;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/TruncateTableCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/TruncateTableCommand.cs
index 373535d..6ebb878 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/TruncateTableCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/Commands/TruncateTableCommand.cs
@@ -18,7 +18,7 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector.Commands
{
/// <summary>Initializes a new instance of the <see cref="TruncateTableCommand"/> class.</summary>
public TruncateTableCommand()
- : base("Truncate Table")
+ : base("�ضϱ�")
{
SmallImage = ImageResource.table_delete;
}
@@ -29,8 +29,8 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector.Commands
IHostWindow hostWindow = Services.HostWindow;
string tableName = hostWindow.DatabaseInspector.RightClickedTableName;
- string caption = string.Format("Truncate '{0}' Table Confirmation", tableName);
- string msg = string.Format("Delete all '{0}' data, are you sure?", tableName);
+ string caption = string.Format("ȷ�Ͻضϱ� '{0}' ", tableName);
+ string msg = string.Format("ɾ���� '{0}' ������, ��ȷ��?", tableName);
if (tableName != null && MessageBox.Show(msg, caption, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question) == DialogResult.Yes)
{
DbConnection dbConnection;
@@ -48,11 +48,11 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector.Commands
}
catch (DbException dbExp)
{
- hostWindow.DisplaySimpleMessageBox(null, dbExp.Message, "Error");
+ hostWindow.DisplaySimpleMessageBox(null, dbExp.Message, "����");
}
catch (InvalidOperationException invalidExp)
{
- hostWindow.DisplaySimpleMessageBox(null, invalidExp.Message, "Error");
+ hostWindow.DisplaySimpleMessageBox(null, invalidExp.Message, "����");
}
finally
{
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorLoader.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorLoader.cs
index e29018e..b4f1758 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorLoader.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorLoader.cs
@@ -32,8 +32,8 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector
IHostWindow hostWindow = Services.HostWindow;
hostWindow.AddPluginCommand<ShowDatabaseInspectorCommand>();
CommandManager.GetCommandInstance<ShowDatabaseInspectorCommand>().Execute();
-
- ToolStripMenuItem editMenu = hostWindow.GetMenuItem("edit");
+ //zhenggc 2023-11-28 modify .GetMenuItem("edit") GetMenuItem("editmenu")
+ ToolStripMenuItem editMenu = hostWindow.GetMenuItem("editmenu");
editMenu.DropDownItems.Add(CommandControlBuilder.CreateToolStripMenuItem<ShowFindObjectFormCommand>());
hostWindow.DatabaseInspector.TableMenu.Items.Add(CommandControlBuilder.CreateToolStripMenuItem<GenerateSelectStatementCommand>());
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/FindNextStringCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/FindNextStringCommand.cs
index b972cff..d15431c 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/FindNextStringCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/FindNextStringCommand.cs
@@ -15,7 +15,7 @@ namespace MiniSqlQuery.PlugIns.SearchTools.Commands
public class FindNextStringCommand : CommandBase
{
/// <summary>Initializes a new instance of the <see cref="FindNextStringCommand"/> class.</summary>
- public FindNextStringCommand() : base("Find Next String")
+ public FindNextStringCommand() : base("查找下一个")
{
SmallImage = ImageResource.find;
ShortcutKeys = Keys.F3;
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/ReplaceStringCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/ReplaceStringCommand.cs
index a7c38de..6454faf 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/ReplaceStringCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/ReplaceStringCommand.cs
@@ -15,7 +15,7 @@ namespace MiniSqlQuery.PlugIns.SearchTools.Commands
{
/// <summary>Initializes a new instance of the <see cref="ReplaceStringCommand"/> class.</summary>
public ReplaceStringCommand()
- : base("Replace String")
+ : base("�滻")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/ShowFindTextFormCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/ShowFindTextFormCommand.cs
index f27c357..e389597 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/ShowFindTextFormCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/ShowFindTextFormCommand.cs
@@ -16,7 +16,7 @@ namespace MiniSqlQuery.PlugIns.SearchTools.Commands
{
/// <summary>Initializes a new instance of the <see cref="ShowFindTextFormCommand"/> class.</summary>
public ShowFindTextFormCommand()
- : base("&Find Text...")
+ : base("(&F)查找文本...")
{
SmallImage = ImageResource.find;
ShortcutKeys = Keys.Control | Keys.F;
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/ShowGoToLineFormCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/ShowGoToLineFormCommand.cs
index 88158bd..20e524f 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/ShowGoToLineFormCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/Commands/ShowGoToLineFormCommand.cs
@@ -16,7 +16,7 @@ namespace MiniSqlQuery.PlugIns.SearchTools.Commands
{
/// <summary>Initializes a new instance of the <see cref="ShowGoToLineFormCommand"/> class.</summary>
public ShowGoToLineFormCommand()
- : base("Go To Line...")
+ : base("转到行...")
{
ShortcutKeys = Keys.Control | Keys.G;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/SearchToolsLoader.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/SearchToolsLoader.cs
index 7ccddb2..81c02e9 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/SearchToolsLoader.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/SearchToolsLoader.cs
@@ -27,8 +27,8 @@ namespace MiniSqlQuery.PlugIns.SearchTools
public override void InitializePlugIn()
{
Services.RegisterComponent<GoToLineForm>("GoToLineForm");
-
- ToolStripMenuItem editMenu = Services.HostWindow.GetMenuItem("edit");
+ //zhenggc 2023-11-28 modify GetMenuItem("edit") GetMenuItem("editmenu")
+ ToolStripMenuItem editMenu = Services.HostWindow.GetMenuItem("editmenu");
// add the find to the plugins menu
editMenu.DropDownItems.Add(CommandControlBuilder.CreateToolStripMenuItem<ShowFindTextFormCommand>());
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/Commands/NewQueryByTemplateCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/Commands/NewQueryByTemplateCommand.cs
index 1bb5b26..2b693af 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/Commands/NewQueryByTemplateCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/Commands/NewQueryByTemplateCommand.cs
@@ -16,7 +16,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer.Commands
{
/// <summary>Initializes a new instance of the <see cref="NewQueryByTemplateCommand"/> class.</summary>
public NewQueryByTemplateCommand()
- : base("New &Query from Template")
+ : base("从模板新建查询(&Q)")
{
SmallImage = ImageResource.script_code;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/Commands/RunTemplateCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/Commands/RunTemplateCommand.cs
index a915a40..10e01c8 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/Commands/RunTemplateCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/Commands/RunTemplateCommand.cs
@@ -16,7 +16,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer.Commands
{
/// <summary>Initializes a new instance of the <see cref="RunTemplateCommand"/> class.</summary>
public RunTemplateCommand()
- : base("Run Template")
+ : base("����ģ��")
{
SmallImage = ImageResource.script_code;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TextGenerator/Commands/RunTextGeneratorCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TextGenerator/Commands/RunTextGeneratorCommand.cs
index 7b672a8..9a11a87 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TextGenerator/Commands/RunTextGeneratorCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TextGenerator/Commands/RunTextGeneratorCommand.cs
@@ -13,7 +13,7 @@ namespace MiniSqlQuery.PlugIns.TextGenerator.Commands
public class RunTextGeneratorCommand : CommandBase
{
public RunTextGeneratorCommand()
- : base("Run the (experimental) text to C# class generator")
+ : base("����ʵ�飩�ı����е�C#��������")
{
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/Commands/ViewTableFormCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/Commands/ViewTableFormCommand.cs
index 393a83a..5cad593 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/Commands/ViewTableFormCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/Commands/ViewTableFormCommand.cs
@@ -18,7 +18,7 @@ namespace MiniSqlQuery.PlugIns.ViewTable.Commands
{
/// <summary>Initializes a new instance of the <see cref="ViewTableFormCommand"/> class.</summary>
public ViewTableFormCommand()
- : base("&View table...")
+ : base("查看表格...")
{
ShortcutKeys = Keys.Control | Keys.T;
}
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/Commands/ViewTableFromInspectorCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/Commands/ViewTableFromInspectorCommand.cs
index 80785c8..696ab3f 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/Commands/ViewTableFromInspectorCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/Commands/ViewTableFromInspectorCommand.cs
@@ -17,7 +17,7 @@ namespace MiniSqlQuery.PlugIns.ViewTable.Commands
{
/// <summary>Initializes a new instance of the <see cref="ViewTableFromInspectorCommand"/> class.</summary>
public ViewTableFromInspectorCommand()
- : base("&View table data")
+ : base("查看表数据")
{
SmallImage = ImageResource.table_go;
}
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();