diff --git a/README.md b/README.md index 5a52656..a67a8ac 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ spark-webapp-runtime 应用标题 目标网址 应用窗口宽度 应用窗口 -c, --cfg <cfg> 设置应用的配置文件。 -r, --root <root> 设置内置 WebServer 的根路径。 -P, --port <port> 设置内置 WebServer 的监听端口号。 - -G, --GPU <0/1> 设置启用 GPU 渲染加速,默认开始。 + -G, --GPU <0/1> 设置启用 GPU 渲染加速,默认开启。 需要注意的是, 命令行会覆盖配置文件信息。 diff --git a/spark-webapp-runtime/help/help.html b/spark-webapp-runtime/help/help.html index 81730ec..3bfc628 100644 --- a/spark-webapp-runtime/help/help.html +++ b/spark-webapp-runtime/help/help.html @@ -37,6 +37,7 @@ -c, --cfg <cfg> 设置应用的配置文件。 -r, --root <root> 设置内置 WebServer 的根路径。 -P, --port <port> 设置内置 WebServer 的监听端口号。 + -G, --GPU <0/1> 设置启用 GPU 渲染加速,默认开启。 </xmp> <br/> <span style="color: red">需要注意的是, 命令行会覆盖配置文件信息。</span> @@ -74,6 +75,7 @@ -c, --cfg <cfg> The Configuration file of Application. -r, --root <root> The root path of the program web service. -P, --port <port> The port number of the program web service. + -G, --GPU <0/1> To use GPU instead of CPU to decoding. Default True. </xmp> <br/> <span style="color: red">It should be noticed that the command line parsers will overwrite the configuration from the config file.</span> 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 e8b5034..b87ba60 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 58840cc..8849e49 100644 --- a/spark-webapp-runtime/translations/spark-webapp-runtime_zh_CN.ts +++ b/spark-webapp-runtime/translations/spark-webapp-runtime_zh_CN.ts @@ -165,32 +165,37 @@ <translation>隐藏控制按钮。默认关闭该此功能。</translation> </message> <message> - <location filename="../main.cpp" line="139"/> + <location filename="../main.cpp" line="147"/> <source>The ICON of Application.</source> <translation>设置应用的图标。</translation> </message> <message> - <location filename="../main.cpp" line="146"/> + <location filename="../main.cpp" line="154"/> <source>The Description of Application.</source> <translation>设置应用的描述信息。</translation> </message> <message> - <location filename="../main.cpp" line="153"/> + <location filename="../main.cpp" line="161"/> <source>The Configuration file of Application.</source> <translation>设置应用的配置文件。</translation> </message> <message> - <location filename="../main.cpp" line="160"/> + <location filename="../main.cpp" line="168"/> <source>The root path of the program web service.</source> <translation>设置内置 WebServer 的根路径。</translation> </message> <message> - <location filename="../main.cpp" line="167"/> + <location filename="../main.cpp" line="175"/> <source>The port number of the program web service.</source> <translation>设置内置 WebServer 的监听端口号。</translation> </message> <message> - <location filename="../main.cpp" line="175"/> + <location filename="../main.cpp" line="183"/> + <source>To use GPU instead of CPU to decoding. Default True.</source> + <translation>启用GPU渲染,默认开启。</translation> + </message> + <message> + <location filename="../main.cpp" line="191"/> <source>The ssl port number of the program web service.</source> <translation>设置内置 WebServer 的 SSL 协议的监听端口号。</translation> </message>