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: 1 changed files with 6 additions and 6 deletions.
Modified +6 -6
Modified +6 -6
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.cs
index 7ccce01..5c9b760 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ViewTable/ViewTableForm.cs
@@ -308,7 +308,7 @@ namespace MiniSqlQuery.PlugIns.ViewTable
         {
             if (_services.Settings.ConnectionDefinition == null)
             {
-                _services.HostWindow.DisplaySimpleMessageBox(this, "Please select a connection.", "Select a Connection");
+                _services.HostWindow.DisplaySimpleMessageBox(this, "请选择一个连接。", "选择连接");
                 return;
             }
 
@@ -348,13 +348,13 @@ namespace MiniSqlQuery.PlugIns.ViewTable
                 SetCommandTimeout(cmd, _settings.CommandTimeout);
                 adapter.SelectCommand = cmd;
                 adapter.Fill(query.Result);
-                SetStatus(string.Format("Loaded table '{0}'", TableName));
+                SetStatus(string.Format("已加载的表 '{0}'", TableName));
                 Text = TableName;
             }
             catch (DbException dbExp)
             {
                 // todo: improve!
-                _services.HostWindow.DisplaySimpleMessageBox(this, dbExp.Message, "View Table Error");
+                _services.HostWindow.DisplaySimpleMessageBox(this, dbExp.Message, "查看表错误");
                 SetStatus(dbExp.Message);
                 Text = Resources.ViewDataError;
             }
@@ -407,7 +407,7 @@ namespace MiniSqlQuery.PlugIns.ViewTable
             }
             else
             {
-                Trace.WriteLine("Command Timeout only supported by SQL Client (so far)");
+                Trace.WriteLine("命令超时仅受SQL客户端支持(到目前为止)");
             }
         }
 
@@ -493,11 +493,11 @@ namespace MiniSqlQuery.PlugIns.ViewTable
 
                     if (i % 10 == 0)
                     {
-                        UpdateStatus(string.Format("Processing {0} of {1} rows", i + 1, dt.Rows.Count));
+                        UpdateStatus(string.Format("正在处理{0} 行中的 {1} 行", i + 1, dt.Rows.Count));
                     }
                 }
 
-                UpdateStatus(string.Format("Processed {0} rows. Opening file...", dt.Rows.Count));
+                UpdateStatus(string.Format("正在处理 {0} 行. 打开文件...", dt.Rows.Count));
 
                 // HACK - need to clean up the values for now as the model is holding the last rows data  ;-)
                 // TODO - add a "deep clone" method to the table/columns