|
@@ -179,12 +179,12 @@ namespace VirgoUI.Client.Models.DataLog.Event
|
|
|
if (result == true) // Process open file dialog box results
|
|
|
{
|
|
|
System.Data.DataSet ds = new System.Data.DataSet();
|
|
|
- ds.Tables.Add(new System.Data.DataTable("系统运行日志"));
|
|
|
- ds.Tables[0].Columns.Add("类型");
|
|
|
- ds.Tables[0].Columns.Add("时间");
|
|
|
- ds.Tables[0].Columns.Add("腔体");
|
|
|
- ds.Tables[0].Columns.Add("发起源");
|
|
|
- ds.Tables[0].Columns.Add("内容描述");
|
|
|
+ ds.Tables.Add(new System.Data.DataTable("System work log")); // 系统运作日志
|
|
|
+ ds.Tables[0].Columns.Add("Type"); // 类型
|
|
|
+ ds.Tables[0].Columns.Add("Time"); // 时间
|
|
|
+ ds.Tables[0].Columns.Add("Chamber"); // 腔体
|
|
|
+ ds.Tables[0].Columns.Add("Source"); // 发起源
|
|
|
+ ds.Tables[0].Columns.Add("Content Description"); // 内容描述
|
|
|
foreach (var item in SearchedResult)
|
|
|
{
|
|
|
var row = ds.Tables[0].NewRow();
|
|
@@ -201,7 +201,8 @@ namespace VirgoUI.Client.Models.DataLog.Event
|
|
|
catch (Exception ex)
|
|
|
{
|
|
|
LOG.Write(ex);
|
|
|
- MessageBox.Show("导出系统日志发生错误", "导出失败", MessageBoxButton.OK, MessageBoxImage.Warning);
|
|
|
+ // 导出系统日志发生错误 导出失败
|
|
|
+ MessageBox.Show("Error occurred while exporting system logs", "Export failed", MessageBoxButton.OK, MessageBoxImage.Warning);
|
|
|
}
|
|
|
}
|
|
|
|