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 4 additions and 4 deletions.
Modified +4 -4
Modified +4 -4
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.cs
index b3fdbbc..c7a940d 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/DbConnectionsForm.cs
@@ -312,13 +312,13 @@ namespace MiniSqlQuery.PlugIns.ConnectionStringsManager
                 Exception exp = QueryRunner.TestDbConnection(definition.ProviderName, definition.ConnectionString);
                 if (exp == null)
                 {
-                    string msg = string.Format("Connected to '{0}' successfully.", definition.Name);
-                    _hostWindow.DisplaySimpleMessageBox(this, msg, "Connection Successful");
+                    string msg = string.Format("连接数据库'{0}' 成功.", definition.Name);
+                    _hostWindow.DisplaySimpleMessageBox(this, msg, "连接成功");
                 }
                 else
                 {
-                    string msg = string.Format("Failed connecting to '{0}'.{1}{2}", definition.Name, Environment.NewLine, exp.Message);
-                    _hostWindow.DisplaySimpleMessageBox(this, msg, "Connection Failed");
+                    string msg = string.Format("连接失败'{0}'.{1}{2}", definition.Name, Environment.NewLine, exp.Message);
+                    _hostWindow.DisplaySimpleMessageBox(this, msg, "连接失败");
                 }
             }
         }