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/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>());