diff --git a/src/common/RecourceHelper.cpp b/src/common/RecourceHelper.cpp index 3075e932..32d1f783 100644 --- a/src/common/RecourceHelper.cpp +++ b/src/common/RecourceHelper.cpp @@ -85,7 +85,7 @@ void RecourceHelper::Init() { const QString transName = QString("./%1_%2.qm").arg(appName, QLocale().name()); #else const QString appDirPath = QApplication::applicationDirPath(); - const QString transName = QString("%1/translations/%2_%3.qm").arg(appDirPath, appName, QLocale().name()); + const QString transName = QString("%1/translations/%2_zh_CN.qm").arg(appDirPath, appName/*, QLocale().name()*/); #endif qDebug() << transName; bool success = trans_.load(transName); @@ -95,7 +95,7 @@ void RecourceHelper::Init() { LOG_WARN("load translations error: {}", transName.toStdString()); } - const QString systemTransName = QString("./translations/qt_%1.qm").arg( QLocale::system().name()); + const QString systemTransName = QString("./translations/qt_zh_CN.qm")/*.arg( QLocale::system().name())*/; success = systemTrans_.load(systemTransName); if (success) { QApplication::installTranslator(&systemTrans_); diff --git a/src/translations/Dyt_zh_CN.qm b/src/translations/Dyt_zh_CN.qm index 37b740f9..5a591e7e 100644 Binary files a/src/translations/Dyt_zh_CN.qm and b/src/translations/Dyt_zh_CN.qm differ diff --git a/src/translations/Dyt_zh_CN.ts b/src/translations/Dyt_zh_CN.ts index 49d8dfe8..97ee488c 100644 --- a/src/translations/Dyt_zh_CN.ts +++ b/src/translations/Dyt_zh_CN.ts @@ -2309,7 +2309,7 @@ 属性 - + Main View 主视图 @@ -2317,62 +2317,117 @@ ModelTreeWidget - + + Curves + + + + + Surfaces + + + + + Tables + + + + + Lights + + + + + Polars + + + + + Images + + + + + Delete File + 删除 + + + Add boke Entity - + Add lsjhqt Entity - + Add nimizi Entity - + Add tkdlj Entity - + Add jiaofan Entity - + Add satellite Entity - + + Confirm + + + + + Delete this file entry from workspace? + + + + + Prompt + 提示 + + + + Delete failed + 删除失败 + + + Release Track 释放 - + Track 跟踪 - + Add Label Component 添加标签组件 - + Add Mesh Component 添加网格体组件 - + Add Path Component 添加路径组件 - + Delete 删除 @@ -2490,39 +2545,270 @@ PropertyBrowser - + attribute 属性 - - - + + + WorkSpace 工作区间 - - - - - - CurveEntry - - - - - + + Entity - 实体 + - + + Type + + + + + Name + + + + + FileName + + + + + Path + + + + + xCount + + + + + yCount + + + + + zCount + + + + + xTitle + + + + + yTitle + + + + + zTitle + + + + + xMin + + + + + xMax + + + + + yMin + + + + + yMax + + + + + zMin + + + + + zMax + + + + + + + + + timeParam + + + + + + + name + + + + + + + color + + + + + start + + + + + stop + + + + + x + + + + + y + + + + + z + + + + + headerString + + + + + + datas + + + + + openColor + + + + + closeColor + + + + + + names + + + + + data + + + + + AngularCount + + + + + RadialCount + + + + + AngularTitle + + + + + RadialTitle + + + + + AngularMin + + + + + AngularMax + + + + + RadialMin + + + + + RadialMax + + + + + AngularUnit + + + + + RadialUnit + + + + + Angular + + + + + Radial + + + + + File name list + + + + + Image data per file + + + + + path + + + + + suffix + + + + ModelBase 模型 - + color base 颜色 @@ -2581,64 +2867,74 @@ 高度: - + Open Workspace 打开工作区间 - - + + Dyt Files (*.dyt) Dyt文件(*.dyt) - - - - - - + + warning + 警告 + + + + save current workspace? + 保存当前工作空间? + + + + + + + + prompt 提示 - - - - - - + + + + + + please create workspace first 请先创建工作区间。 - + Save Workspace 保存工作区间 - + Curve[%1] - + Surface[%1] - + Table[%1] - + Light[%1] @@ -2648,37 +2944,38 @@ - + + Image[%1] - + Curve[%1] Name - + Curve[%1] Color - + Curve[%1] WaveStart - + Curve[%1] WaveStop - + Curve[%1] ReportX - + Curve[%1] ReportY @@ -2755,7 +3052,6 @@ QtConeWaveComponentManager - ConeWaveComponent @@ -2901,68 +3197,68 @@ QtCurveEntryPropertyManager - - + + Curve[%1] Name - - + + Curve[%1] Color - - + + Curve[%1] WaveStart - - + + Curve[%1] WaveStop - - + + Curve[%1] ReportX - - + + Curve[%1] ReportY - + Name - + ChartType - + Wave - + Report - + Curves - + Count @@ -2971,7 +3267,6 @@ QtDashedLineComponentManager - DashedLineComponent @@ -3007,17 +3302,17 @@ QtEntityPropertyManager - + Name 名称 - + Visible 显示 - + Transform 变换 @@ -3099,13 +3394,12 @@ QtMeshComponetManager - - + MeshComponent 网格体组件 - + Mesh 网格体 @@ -3154,8 +3448,7 @@ QtPathComponentManager - - + PathComponent 路径组件 @@ -3410,82 +3703,82 @@ QtWorkspacePropertyManager - + Name 名称 - + Description 说明 - + Timestep 时戳 - + CommondPath 命令路径 - + Count 数目 - + Curve[%1] - + Surface[%1] - + Table[%1] - + Light[%1] - + Image[%1] - + Curves - + Surfaces - + Tables - + Lights - + Polars - + Images @@ -3501,25 +3794,35 @@ SimuRunMenu - + no workspace 未打开工作区间 - + no commands 没有命令 - + Commands 命令 - + unnamed 未命名 + + + setting param + 参数设置 + + + + set param + 参数设置 + SimuRunMenuClass @@ -3560,12 +3863,12 @@ UI设置 - + question 提问 - + are you sure to exit 真的要退出吗?