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, "连接失败");
}
}
}