diff --git a/spark-webapp-runtime/mainwindow.cpp b/spark-webapp-runtime/mainwindow.cpp index d44baf1..ed1aaa3 100644 --- a/spark-webapp-runtime/mainwindow.cpp +++ b/spark-webapp-runtime/mainwindow.cpp @@ -31,7 +31,7 @@ MainWindow::MainWindow(QString szTitle, , btnForward(new DToolButton(titlebar())) , btnRefresh(new DToolButton(titlebar())) , m_menu(new QMenu) - , m_fullScreen(new QAction("Full Screen")) + , m_fullScreen(new QAction(tr("Full Screen"))) , m_fixSize(new QAction(tr("Fix Size"))) , m_hideButtons(new QAction(tr("Hide Buttons"))) , bar(new DProgressBar) diff --git a/spark-webapp-runtime/translations/spark-webapp-runtime_zh_CN.qm b/spark-webapp-runtime/translations/spark-webapp-runtime_zh_CN.qm index 5c5d7f8..57fdbc2 100644 Binary files a/spark-webapp-runtime/translations/spark-webapp-runtime_zh_CN.qm and b/spark-webapp-runtime/translations/spark-webapp-runtime_zh_CN.qm differ diff --git a/spark-webapp-runtime/translations/spark-webapp-runtime_zh_CN.ts b/spark-webapp-runtime/translations/spark-webapp-runtime_zh_CN.ts index b14a0c9..81c1349 100644 --- a/spark-webapp-runtime/translations/spark-webapp-runtime_zh_CN.ts +++ b/spark-webapp-runtime/translations/spark-webapp-runtime_zh_CN.ts @@ -3,6 +3,11 @@ <TS version="2.1" language="zh_CN"> <context> <name>MainWindow</name> + <message> + <location filename="../mainwindow.cpp" line="34"/> + <source>Full Screen</source> + <translation>全屏显示</translation> + </message> <message> <location filename="../mainwindow.cpp" line="35"/> <source>Fix Size</source>