miniSql

汉化
zgc authored at 11/28/2023 1:00:12 PM zgc committed at 11/28/2023 1:00:26 PM
93a03c2
Tree
1 Parent(s) 6136600
Summary: 7 changed files with 233 additions and 231 deletions.
Modified +5 -5
Modified +127 -125
Modified +3 -3
Modified +1 -1
Modified +1 -1
Modified +88 -88
Modified +8 -8
Modified +5 -5
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.cs
index 405680d..723f487 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.cs
@@ -95,7 +95,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
         /// <summary>Gets FileFilter.</summary>
         public string FileFilter
         {
-            get { return "Mini SQL Template Files (*.mt)|*.mt|All Files (*.*)|*.*"; }
+            get { return "����SQLģ���ļ� (*.mt)|*.mt|All Files (*.*)|*.*"; }
         }
 
         /// <summary>Gets or sets FileName.</summary>
@@ -362,7 +362,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
             }
             catch (TemplateException exp)
             {
-                _hostWindow.DisplaySimpleMessageBox(this, exp.Message, "Template Error");
+                _hostWindow.DisplaySimpleMessageBox(this, exp.Message, "ģ�����");
 
                 // todo - try to get the line number and move cursor?...
                 txtErrors.Text = exp.Message;
@@ -392,7 +392,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
         /// <returns>The get value.</returns>
         private string GetValue(string name)
         {
-            string val = Interaction.InputBox(string.Format("Value for '{0}'", name), "Supply a Value", name, -1, -1);
+            string val = Interaction.InputBox(string.Format("'{0}'��ֵ", name), "�ṩһ��ֵ", name, -1, -1);
             return val;
         }
 
@@ -400,7 +400,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
         private void SetTabTextByFilename()
         {
             string dirty = string.Empty;
-            string text = "Untitled";
+            string text = "���";
             string tabtext;
 
             if (_isDirty)
@@ -432,7 +432,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
             {
                 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,
Modified +127 -125
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.Designer.cs
index 51fb08c..8c14678 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.Designer.cs
@@ -28,131 +28,133 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
 		/// </summary>
 		private void InitializeComponent()
 		{
-			this.components = new System.ComponentModel.Container();
-			this.txtEdit = new ICSharpCode.TextEditor.TextEditorControl();
-			this.tabControl1 = new System.Windows.Forms.TabControl();
-			this.tabPageTemplateSource = new System.Windows.Forms.TabPage();
-			this.tabPageHelp = new System.Windows.Forms.TabPage();
-			this.rtfHelp = new System.Windows.Forms.RichTextBox();
-			this.splitContainer1 = new System.Windows.Forms.SplitContainer();
-			this.txtErrors = new System.Windows.Forms.TextBox();
-			this.formContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
-			this.tabControl1.SuspendLayout();
-			this.tabPageTemplateSource.SuspendLayout();
-			this.tabPageHelp.SuspendLayout();
-			this.splitContainer1.Panel1.SuspendLayout();
-			this.splitContainer1.Panel2.SuspendLayout();
-			this.splitContainer1.SuspendLayout();
-			this.SuspendLayout();
-			// 
-			// txtEdit
-			// 
-			this.txtEdit.Dock = System.Windows.Forms.DockStyle.Fill;
-			this.txtEdit.IsReadOnly = false;
-			this.txtEdit.Location = new System.Drawing.Point(3, 3);
-			this.txtEdit.Name = "txtEdit";
-			this.txtEdit.Size = new System.Drawing.Size(533, 314);
-			this.txtEdit.TabIndex = 0;
-			// 
-			// tabControl1
-			// 
-			this.tabControl1.Controls.Add(this.tabPageTemplateSource);
-			this.tabControl1.Controls.Add(this.tabPageHelp);
-			this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
-			this.tabControl1.Location = new System.Drawing.Point(0, 0);
-			this.tabControl1.Name = "tabControl1";
-			this.tabControl1.SelectedIndex = 0;
-			this.tabControl1.Size = new System.Drawing.Size(547, 346);
-			this.tabControl1.TabIndex = 1;
-			// 
-			// tabPageTemplateSource
-			// 
-			this.tabPageTemplateSource.Controls.Add(this.txtEdit);
-			this.tabPageTemplateSource.Location = new System.Drawing.Point(4, 22);
-			this.tabPageTemplateSource.Name = "tabPageTemplateSource";
-			this.tabPageTemplateSource.Padding = new System.Windows.Forms.Padding(3);
-			this.tabPageTemplateSource.Size = new System.Drawing.Size(539, 320);
-			this.tabPageTemplateSource.TabIndex = 0;
-			this.tabPageTemplateSource.Text = "Template Source";
-			this.tabPageTemplateSource.UseVisualStyleBackColor = true;
-			// 
-			// tabPageHelp
-			// 
-			this.tabPageHelp.Controls.Add(this.rtfHelp);
-			this.tabPageHelp.Location = new System.Drawing.Point(4, 22);
-			this.tabPageHelp.Name = "tabPageHelp";
-			this.tabPageHelp.Padding = new System.Windows.Forms.Padding(3);
-			this.tabPageHelp.Size = new System.Drawing.Size(539, 321);
-			this.tabPageHelp.TabIndex = 1;
-			this.tabPageHelp.Text = "Quick Help";
-			this.tabPageHelp.UseVisualStyleBackColor = true;
-			// 
-			// rtfHelp
-			// 
-			this.rtfHelp.Dock = System.Windows.Forms.DockStyle.Fill;
-			this.rtfHelp.Location = new System.Drawing.Point(3, 3);
-			this.rtfHelp.Name = "rtfHelp";
-			this.rtfHelp.ReadOnly = true;
-			this.rtfHelp.ShowSelectionMargin = true;
-			this.rtfHelp.Size = new System.Drawing.Size(533, 315);
-			this.rtfHelp.TabIndex = 0;
-			this.rtfHelp.Text = "";
-			// 
-			// splitContainer1
-			// 
-			this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
-			this.splitContainer1.Location = new System.Drawing.Point(4, 4);
-			this.splitContainer1.Name = "splitContainer1";
-			this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
-			// 
-			// splitContainer1.Panel1
-			// 
-			this.splitContainer1.Panel1.Controls.Add(this.tabControl1);
-			// 
-			// splitContainer1.Panel2
-			// 
-			this.splitContainer1.Panel2.Controls.Add(this.txtErrors);
-			this.splitContainer1.Size = new System.Drawing.Size(547, 437);
-			this.splitContainer1.SplitterDistance = 346;
-			this.splitContainer1.TabIndex = 2;
-			// 
-			// txtErrors
-			// 
-			this.txtErrors.Dock = System.Windows.Forms.DockStyle.Fill;
-			this.txtErrors.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-			this.txtErrors.Location = new System.Drawing.Point(0, 0);
-			this.txtErrors.Multiline = true;
-			this.txtErrors.Name = "txtErrors";
-			this.txtErrors.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
-			this.txtErrors.Size = new System.Drawing.Size(547, 87);
-			this.txtErrors.TabIndex = 0;
-			// 
-			// formContextMenuStrip
-			// 
-			this.formContextMenuStrip.Name = "formContextMenuStrip";
-			this.formContextMenuStrip.Size = new System.Drawing.Size(153, 26);
-			// 
-			// TemplateEditorForm
-			// 
-			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
-			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-			this.ClientSize = new System.Drawing.Size(555, 445);
-			this.Controls.Add(this.splitContainer1);
-			this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-			this.Name = "TemplateEditorForm";
-			this.Padding = new System.Windows.Forms.Padding(4);
-			this.TabPageContextMenuStrip = this.formContextMenuStrip;
-			this.Text = "TemplateEditorForm";
-			this.Load += new System.EventHandler(this.TemplateEditorForm_Load);
-			this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TemplateEditorForm_FormClosing);
-			this.tabControl1.ResumeLayout(false);
-			this.tabPageTemplateSource.ResumeLayout(false);
-			this.tabPageHelp.ResumeLayout(false);
-			this.splitContainer1.Panel1.ResumeLayout(false);
-			this.splitContainer1.Panel2.ResumeLayout(false);
-			this.splitContainer1.Panel2.PerformLayout();
-			this.splitContainer1.ResumeLayout(false);
-			this.ResumeLayout(false);
+            this.components = new System.ComponentModel.Container();
+            this.txtEdit = new ICSharpCode.TextEditor.TextEditorControl();
+            this.tabControl1 = new System.Windows.Forms.TabControl();
+            this.tabPageTemplateSource = new System.Windows.Forms.TabPage();
+            this.tabPageHelp = new System.Windows.Forms.TabPage();
+            this.rtfHelp = new System.Windows.Forms.RichTextBox();
+            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+            this.txtErrors = new System.Windows.Forms.TextBox();
+            this.formContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
+            this.tabControl1.SuspendLayout();
+            this.tabPageTemplateSource.SuspendLayout();
+            this.tabPageHelp.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
+            this.splitContainer1.Panel1.SuspendLayout();
+            this.splitContainer1.Panel2.SuspendLayout();
+            this.splitContainer1.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // txtEdit
+            // 
+            this.txtEdit.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.txtEdit.IsReadOnly = false;
+            this.txtEdit.Location = new System.Drawing.Point(3, 3);
+            this.txtEdit.Name = "txtEdit";
+            this.txtEdit.Size = new System.Drawing.Size(533, 314);
+            this.txtEdit.TabIndex = 0;
+            // 
+            // tabControl1
+            // 
+            this.tabControl1.Controls.Add(this.tabPageTemplateSource);
+            this.tabControl1.Controls.Add(this.tabPageHelp);
+            this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.tabControl1.Location = new System.Drawing.Point(0, 0);
+            this.tabControl1.Name = "tabControl1";
+            this.tabControl1.SelectedIndex = 0;
+            this.tabControl1.Size = new System.Drawing.Size(547, 346);
+            this.tabControl1.TabIndex = 1;
+            // 
+            // tabPageTemplateSource
+            // 
+            this.tabPageTemplateSource.Controls.Add(this.txtEdit);
+            this.tabPageTemplateSource.Location = new System.Drawing.Point(4, 22);
+            this.tabPageTemplateSource.Name = "tabPageTemplateSource";
+            this.tabPageTemplateSource.Padding = new System.Windows.Forms.Padding(3);
+            this.tabPageTemplateSource.Size = new System.Drawing.Size(539, 320);
+            this.tabPageTemplateSource.TabIndex = 0;
+            this.tabPageTemplateSource.Text = "Դ��ģ��";
+            this.tabPageTemplateSource.UseVisualStyleBackColor = true;
+            // 
+            // tabPageHelp
+            // 
+            this.tabPageHelp.Controls.Add(this.rtfHelp);
+            this.tabPageHelp.Location = new System.Drawing.Point(4, 22);
+            this.tabPageHelp.Name = "tabPageHelp";
+            this.tabPageHelp.Padding = new System.Windows.Forms.Padding(3);
+            this.tabPageHelp.Size = new System.Drawing.Size(539, 320);
+            this.tabPageHelp.TabIndex = 1;
+            this.tabPageHelp.Text = "���ٰ���";
+            this.tabPageHelp.UseVisualStyleBackColor = true;
+            // 
+            // rtfHelp
+            // 
+            this.rtfHelp.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.rtfHelp.Location = new System.Drawing.Point(3, 3);
+            this.rtfHelp.Name = "rtfHelp";
+            this.rtfHelp.ReadOnly = true;
+            this.rtfHelp.ShowSelectionMargin = true;
+            this.rtfHelp.Size = new System.Drawing.Size(533, 314);
+            this.rtfHelp.TabIndex = 0;
+            this.rtfHelp.Text = "";
+            // 
+            // splitContainer1
+            // 
+            this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.splitContainer1.Location = new System.Drawing.Point(4, 4);
+            this.splitContainer1.Name = "splitContainer1";
+            this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
+            // 
+            // splitContainer1.Panel1
+            // 
+            this.splitContainer1.Panel1.Controls.Add(this.tabControl1);
+            // 
+            // splitContainer1.Panel2
+            // 
+            this.splitContainer1.Panel2.Controls.Add(this.txtErrors);
+            this.splitContainer1.Size = new System.Drawing.Size(547, 437);
+            this.splitContainer1.SplitterDistance = 346;
+            this.splitContainer1.TabIndex = 2;
+            // 
+            // txtErrors
+            // 
+            this.txtErrors.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.txtErrors.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.txtErrors.Location = new System.Drawing.Point(0, 0);
+            this.txtErrors.Multiline = true;
+            this.txtErrors.Name = "txtErrors";
+            this.txtErrors.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+            this.txtErrors.Size = new System.Drawing.Size(547, 87);
+            this.txtErrors.TabIndex = 0;
+            // 
+            // formContextMenuStrip
+            // 
+            this.formContextMenuStrip.Name = "formContextMenuStrip";
+            this.formContextMenuStrip.Size = new System.Drawing.Size(61, 4);
+            // 
+            // TemplateEditorForm
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(555, 445);
+            this.Controls.Add(this.splitContainer1);
+            this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Name = "TemplateEditorForm";
+            this.Padding = new System.Windows.Forms.Padding(4);
+            this.TabPageContextMenuStrip = this.formContextMenuStrip;
+            this.Text = "ģ��༭";
+            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TemplateEditorForm_FormClosing);
+            this.Load += new System.EventHandler(this.TemplateEditorForm_Load);
+            this.tabControl1.ResumeLayout(false);
+            this.tabPageTemplateSource.ResumeLayout(false);
+            this.tabPageHelp.ResumeLayout(false);
+            this.splitContainer1.Panel1.ResumeLayout(false);
+            this.splitContainer1.Panel2.ResumeLayout(false);
+            this.splitContainer1.Panel2.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
+            this.splitContainer1.ResumeLayout(false);
+            this.ResumeLayout(false);
 
 		}
 
Modified +3 -3
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.resx b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.resx
index a4d9552..4a5ad99 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateEditorForm.resx
@@ -112,12 +112,12 @@
     <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>
-  <metadata name="formContextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+  <metadata name="formContextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
     <value>17, 17</value>
   </metadata>
 </root>
\ No newline at end of file
Modified +1 -1
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewerLoader.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewerLoader.cs
index 8d56921..aee5ff6 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewerLoader.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewerLoader.cs
@@ -16,7 +16,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
     {
         /// <summary>Initializes a new instance of the <see cref="TemplateViewerLoader"/> class.</summary>
         public TemplateViewerLoader()
-            : base("Template Viewer", "A Mini SQL Query Plugin for displaying template SQL items.", 50)
+            : base("模板查看器", "用于显示模板SQL项的迷你SQL查询插件。", 50)
         {
         }
 
Modified +1 -1
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.cs
index a2f45a8..c7caddd 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.cs
@@ -41,7 +41,7 @@ namespace MiniSqlQuery.PlugIns.TemplateViewer
         /// <returns>The get value.</returns>
         private string GetValue(string name)
         {
-            string val = Interaction.InputBox(string.Format("Value for '{0}'", name), "Supply a Value", name, -1, -1);
+            string val = Interaction.InputBox(string.Format("'{0}'的值", name), "提供一个值", name, -1, -1);
             return val;
         }
 
Modified +88 -88
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.Designer.cs
index 98015de..f496d64 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.Designer.cs
@@ -28,97 +28,97 @@
 		/// </summary>
 		private void InitializeComponent()
 		{
-			this.components = new System.ComponentModel.Container();
-			System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Templates");
-			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TemplateViewForm));
-			this.tvTemplates = new System.Windows.Forms.TreeView();
-			this.treeMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
-			this.toolStripMenuItemRun = new System.Windows.Forms.ToolStripMenuItem();
-			this.toolStripMenuItemEdit = new System.Windows.Forms.ToolStripMenuItem();
-			this.imageList = new System.Windows.Forms.ImageList(this.components);
-			this.templateFileWatcher = new System.IO.FileSystemWatcher();
-			this.treeMenuStrip.SuspendLayout();
-			((System.ComponentModel.ISupportInitialize)(this.templateFileWatcher)).BeginInit();
-			this.SuspendLayout();
-			// 
-			// tvTemplates
-			// 
-			this.tvTemplates.ContextMenuStrip = this.treeMenuStrip;
-			this.tvTemplates.Dock = System.Windows.Forms.DockStyle.Fill;
-			this.tvTemplates.HideSelection = false;
-			this.tvTemplates.ImageKey = "folder_page";
-			this.tvTemplates.ImageList = this.imageList;
-			this.tvTemplates.Indent = 15;
-			this.tvTemplates.Location = new System.Drawing.Point(0, 0);
-			this.tvTemplates.Name = "tvTemplates";
-			treeNode1.Name = "templates";
-			treeNode1.Text = "Templates";
-			this.tvTemplates.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
+            this.components = new System.ComponentModel.Container();
+            System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Templates");
+            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TemplateViewForm));
+            this.tvTemplates = new System.Windows.Forms.TreeView();
+            this.treeMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
+            this.toolStripMenuItemRun = new System.Windows.Forms.ToolStripMenuItem();
+            this.toolStripMenuItemEdit = new System.Windows.Forms.ToolStripMenuItem();
+            this.imageList = new System.Windows.Forms.ImageList(this.components);
+            this.templateFileWatcher = new System.IO.FileSystemWatcher();
+            this.treeMenuStrip.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.templateFileWatcher)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // tvTemplates
+            // 
+            this.tvTemplates.ContextMenuStrip = this.treeMenuStrip;
+            this.tvTemplates.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.tvTemplates.HideSelection = false;
+            this.tvTemplates.ImageKey = "folder_page";
+            this.tvTemplates.ImageList = this.imageList;
+            this.tvTemplates.Indent = 15;
+            this.tvTemplates.Location = new System.Drawing.Point(0, 0);
+            this.tvTemplates.Name = "tvTemplates";
+            treeNode1.Name = "templates";
+            treeNode1.Text = "Templates";
+            this.tvTemplates.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
             treeNode1});
-			this.tvTemplates.SelectedImageIndex = 0;
-			this.tvTemplates.ShowRootLines = false;
-			this.tvTemplates.Size = new System.Drawing.Size(292, 266);
-			this.tvTemplates.TabIndex = 0;
-			this.tvTemplates.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvTemplates_NodeMouseDoubleClick);
-			this.tvTemplates.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvTemplates_NodeMouseClick);
-			// 
-			// treeMenuStrip
-			// 
-			this.treeMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+            this.tvTemplates.SelectedImageIndex = 0;
+            this.tvTemplates.ShowRootLines = false;
+            this.tvTemplates.Size = new System.Drawing.Size(292, 266);
+            this.tvTemplates.TabIndex = 0;
+            this.tvTemplates.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvTemplates_NodeMouseClick);
+            this.tvTemplates.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvTemplates_NodeMouseDoubleClick);
+            // 
+            // treeMenuStrip
+            // 
+            this.treeMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
             this.toolStripMenuItemRun,
             this.toolStripMenuItemEdit});
-			this.treeMenuStrip.Name = "treeMenuStrip";
-			this.treeMenuStrip.Size = new System.Drawing.Size(148, 48);
-			// 
-			// toolStripMenuItemRun
-			// 
-			this.toolStripMenuItemRun.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
-			this.toolStripMenuItemRun.Name = "toolStripMenuItemRun";
-			this.toolStripMenuItemRun.Size = new System.Drawing.Size(147, 22);
-			this.toolStripMenuItemRun.Text = "Run";
-			this.toolStripMenuItemRun.Click += new System.EventHandler(this.toolStripMenuItemRun_Click);
-			// 
-			// toolStripMenuItemEdit
-			// 
-			this.toolStripMenuItemEdit.Name = "toolStripMenuItemEdit";
-			this.toolStripMenuItemEdit.Size = new System.Drawing.Size(147, 22);
-			this.toolStripMenuItemEdit.Text = "Edit Template";
-			this.toolStripMenuItemEdit.Click += new System.EventHandler(this.toolStripMenuItemEdit_Click);
-			// 
-			// imageList
-			// 
-			this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
-			this.imageList.TransparentColor = System.Drawing.Color.Transparent;
-			this.imageList.Images.SetKeyName(0, "folder_page");
-			this.imageList.Images.SetKeyName(1, "script");
-			this.imageList.Images.SetKeyName(2, "script_code");
-			// 
-			// templateFileWatcher
-			// 
-			this.templateFileWatcher.EnableRaisingEvents = true;
-			this.templateFileWatcher.Filter = "*.mt";
-			this.templateFileWatcher.NotifyFilter = ((System.IO.NotifyFilters)((System.IO.NotifyFilters.FileName | System.IO.NotifyFilters.LastWrite)));
-			this.templateFileWatcher.SynchronizingObject = this;
-			this.templateFileWatcher.Renamed += new System.IO.RenamedEventHandler(this.templateFileWatcher_Renamed);
-			this.templateFileWatcher.Deleted += new System.IO.FileSystemEventHandler(this.templateFileWatcher_Changed);
-			this.templateFileWatcher.Created += new System.IO.FileSystemEventHandler(this.templateFileWatcher_Changed);
-			this.templateFileWatcher.Changed += new System.IO.FileSystemEventHandler(this.templateFileWatcher_Changed);
-			// 
-			// TemplateViewForm
-			// 
-			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
-			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-			this.ClientSize = new System.Drawing.Size(292, 266);
-			this.Controls.Add(this.tvTemplates);
-			this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
-			this.Name = "TemplateViewForm";
-			this.TabText = "Templates";
-			this.Text = "Templates";
-			this.Load += new System.EventHandler(this.TemplateViewForm_Load);
-			this.treeMenuStrip.ResumeLayout(false);
-			((System.ComponentModel.ISupportInitialize)(this.templateFileWatcher)).EndInit();
-			this.ResumeLayout(false);
+            this.treeMenuStrip.Name = "treeMenuStrip";
+            this.treeMenuStrip.Size = new System.Drawing.Size(157, 48);
+            // 
+            // toolStripMenuItemRun
+            // 
+            this.toolStripMenuItemRun.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
+            this.toolStripMenuItemRun.Name = "toolStripMenuItemRun";
+            this.toolStripMenuItemRun.Size = new System.Drawing.Size(156, 22);
+            this.toolStripMenuItemRun.Text = "Run";
+            this.toolStripMenuItemRun.Click += new System.EventHandler(this.toolStripMenuItemRun_Click);
+            // 
+            // toolStripMenuItemEdit
+            // 
+            this.toolStripMenuItemEdit.Name = "toolStripMenuItemEdit";
+            this.toolStripMenuItemEdit.Size = new System.Drawing.Size(156, 22);
+            this.toolStripMenuItemEdit.Text = "Edit Template";
+            this.toolStripMenuItemEdit.Click += new System.EventHandler(this.toolStripMenuItemEdit_Click);
+            // 
+            // imageList
+            // 
+            this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
+            this.imageList.TransparentColor = System.Drawing.Color.Transparent;
+            this.imageList.Images.SetKeyName(0, "folder_page");
+            this.imageList.Images.SetKeyName(1, "script");
+            this.imageList.Images.SetKeyName(2, "script_code");
+            // 
+            // templateFileWatcher
+            // 
+            this.templateFileWatcher.EnableRaisingEvents = true;
+            this.templateFileWatcher.Filter = "*.mt";
+            this.templateFileWatcher.NotifyFilter = ((System.IO.NotifyFilters)((System.IO.NotifyFilters.FileName | System.IO.NotifyFilters.LastWrite)));
+            this.templateFileWatcher.SynchronizingObject = this;
+            this.templateFileWatcher.Changed += new System.IO.FileSystemEventHandler(this.templateFileWatcher_Changed);
+            this.templateFileWatcher.Created += new System.IO.FileSystemEventHandler(this.templateFileWatcher_Changed);
+            this.templateFileWatcher.Deleted += new System.IO.FileSystemEventHandler(this.templateFileWatcher_Changed);
+            this.templateFileWatcher.Renamed += new System.IO.RenamedEventHandler(this.templateFileWatcher_Renamed);
+            // 
+            // TemplateViewForm
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(292, 266);
+            this.Controls.Add(this.tvTemplates);
+            this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+            this.Name = "TemplateViewForm";
+            this.TabText = "Templates";
+            this.Text = "模板";
+            this.Load += new System.EventHandler(this.TemplateViewForm_Load);
+            this.treeMenuStrip.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.templateFileWatcher)).EndInit();
+            this.ResumeLayout(false);
 
 		}
 
Modified +8 -8
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.resx b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.resx
index 2e7b765..4e64375 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.resx
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/TemplateViewer/TemplateViewForm.resx
@@ -112,23 +112,23 @@
     <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>
-  <metadata name="treeMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+  <metadata name="treeMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
     <value>120, 17</value>
   </metadata>
-  <metadata name="imageList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+  <metadata name="imageList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
     <value>17, 17</value>
   </metadata>
   <data name="imageList.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
     <value>
-        AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
+        AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
         LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
         ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD8
-        CgAAAk1TRnQBSQFMAgEBAwEAAQQBAAEEAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
+        CgAAAk1TRnQBSQFMAgEBAwEAAQwBAAEMAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
         AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
         AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
         AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
@@ -177,10 +177,10 @@
         AcABAAHAAwAB/AEAAcABAAHAAwAB/AEAAcABAAHAAwAB/AEAAcABAAHAAwAB/AEBAcABAAHAAwAL
 </value>
   </data>
-  <metadata name="templateFileWatcher.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+  <metadata name="templateFileWatcher.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
     <value>250, 17</value>
   </metadata>
-  <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
   <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     <value>
         AAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAQAEAAAAAAAAAAAAAAAAAAAAA