miniSql

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
0ced910
Tree
1 Parent(s) 93a03c2
Summary: 1 changed files with 5 additions and 5 deletions.
Modified +5 -5
Modified +5 -5
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
                 {