汉化zgc authored at 11/28/2023 1:00:12 PM zgc committed at 11/28/2023 1:00:26 PM
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.cs
index 6a845c3..b538f09 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.cs
@@ -68,7 +68,7 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector
DatabaseTreeView.Nodes.Clear();
TreeNode root = CreateRootNodes();
- root.Nodes.Add("Loading problem - check connection details and reset...");
+ root.Nodes.Add("加载问题-检查连接详细信息并重置...");
DatabaseTreeView.Nodes.Add(root);
_services = services;
@@ -451,9 +451,9 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector
catch (Exception exp)
{
string msg = string.Format(
- "{0}\r\n\r\nCheck the connection and select 'Refresh Database Connection'.",
+ "{0}\r\n\r\n检查连接并选择“刷新数据库连接”。",
exp.Message);
- _hostWindow.DisplaySimpleMessageBox(_hostWindow.Instance, msg, "DB Connection Error");
+ _hostWindow.DisplaySimpleMessageBox(_hostWindow.Instance, msg, "数据库连接错误");
_hostWindow.SetStatus(this, exp.Message);
}
finally
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.Designer.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.Designer.cs
index 6fa0653..b7642a0 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.Designer.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorForm.Designer.cs
@@ -45,12 +45,12 @@
this.InspectorContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.loadToolStripMenuItem});
this.InspectorContextMenuStrip.Name = "InspectorContextMenuStrip";
- this.InspectorContextMenuStrip.Size = new System.Drawing.Size(196, 28);
+ this.InspectorContextMenuStrip.Size = new System.Drawing.Size(172, 26);
//
// loadToolStripMenuItem
//
this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
- this.loadToolStripMenuItem.Size = new System.Drawing.Size(195, 24);
+ this.loadToolStripMenuItem.Size = new System.Drawing.Size(171, 22);
this.loadToolStripMenuItem.Text = "&Load Meta-Data";
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
//
@@ -90,7 +90,7 @@
//
// DatabaseInspectorForm
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 17F);
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(478, 465);
this.Controls.Add(this.DatabaseTreeView);
@@ -98,7 +98,7 @@
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "DatabaseInspectorForm";
this.TabText = "DB Inspector";
- this.Text = "Database Inspector";
+ this.Text = "数据库检查器";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.DatabaseInspectorForm_FormClosing);
this.Load += new System.EventHandler(this.DatabaseInspectorForm_Load);
this.InspectorContextMenuStrip.ResumeLayout(false);
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorLoader.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorLoader.cs
index e3c5b0c..e29018e 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorLoader.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorLoader.cs
@@ -17,8 +17,8 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector
/// <summary>Initializes a new instance of the <see cref="DatabaseInspectorLoader"/> class.</summary>
public DatabaseInspectorLoader()
: base(
- "Database Inspector",
- "A Mini SQL Query Plugin for displaying the database schema in a tree view",
+ "数据库检查器",
+ "用于在树视图中显示数据库架构的迷你SQL查询插件",
20)
{
}