mirror of
https://gitee.com/spark-store-project/spark-web-app-runtime.git
synced 2025-09-04 18:32:23 +08:00
使用 DApplication::setSingleInstance,使用 标题_uid 创建进程锁,单例运行时新进程自动退出,并拉起原有进程主窗口显示;重写 QWebEnginePage,createWindow 时若链接与原来不同,则调用浏览器打开 Log: 支持单例运行;支持浏览器打开外部链接;修复访问深度论坛默认语言错误问题
205 lines
7.7 KiB
XML
205 lines
7.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<!DOCTYPE TS>
|
||
<TS version="2.1" language="zh_CN">
|
||
<context>
|
||
<name>DAboutDialog</name>
|
||
<message>
|
||
<location filename="../application.cpp" line="49"/>
|
||
<source>Version: %1</source>
|
||
<translation>版本:%1</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../application.cpp" line="65"/>
|
||
<source>%1 is released under %2</source>
|
||
<translation>%1遵循%2协议发布</translation>
|
||
</message>
|
||
</context>
|
||
<context>
|
||
<name>QObject</name>
|
||
<message>
|
||
<location filename="../application.cpp" line="57"/>
|
||
<location filename="../main.cpp" line="182"/>
|
||
<source>Presented By Spark developers # HadesStudio</source>
|
||
<translation>由 星火开发者联盟 @ 花心胡萝卜 提供</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="56"/>
|
||
<source>Description: %1</source>
|
||
<translation>描述:%1</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="62"/>
|
||
<source>Enable CommandLineParser. Default is false.</source>
|
||
<translation>启用参数解析方式。默认顺序解析方式。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="67"/>
|
||
<source>The Title of Application. Default is %1.</source>
|
||
<translation>设置程序的运行标题。默认是 %1。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="74"/>
|
||
<source>The target URL. Default is Blank.</source>
|
||
<translation>设置要打开的目标 URL。默认是空。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="81"/>
|
||
<source>The Width of Application. Default is %1.</source>
|
||
<translation>设置应用的窗口宽度。默认是 %1。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="88"/>
|
||
<source>The Height of Application. Default is %1.</source>
|
||
<translation>设置应用的窗口高度。默认是 %1。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="95"/>
|
||
<source>Enable Tray Icon. Default is false.</source>
|
||
<translation>启用托盘图标。默认不启用。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="99"/>
|
||
<source>Run in Fullscreen Mode. Default is false.</source>
|
||
<translation>以全屏模式运行。默认关闭该功能。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="103"/>
|
||
<source>Fix Window Size. Default is false.</source>
|
||
<translation>固定窗口大小。默认关闭该功能。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="107"/>
|
||
<source>Hide Control Buttons. Default is false.</source>
|
||
<translation>隐藏控制按钮。默认关闭该此功能。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="112"/>
|
||
<source>The ICON of Application.</source>
|
||
<translation>设置应用的图标。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="119"/>
|
||
<source>The Description of Application.</source>
|
||
<translation>设置应用的描述信息。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="126"/>
|
||
<source>The Configuration file of Application.</source>
|
||
<translation>设置应用的配置文件。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="133"/>
|
||
<source>The root path of the program web service.</source>
|
||
<translation>设置内置 WebServer 的根路径。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="140"/>
|
||
<source>The port number of the program web service.</source>
|
||
<translation>设置内置 WebServer 的监听端口号。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="147"/>
|
||
<source>To use GPU instead of CPU to decoding. Default True.</source>
|
||
<translation>启用GPU渲染,默认开启。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../main.cpp" line="155"/>
|
||
<source>The ssl port number of the program web service.</source>
|
||
<translation>设置内置 WebServer 的 SSL 协议的监听端口号。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../globaldefine.h" line="6"/>
|
||
<source>SparkWebAppRuntime</source>
|
||
<translation>星火网页应用运行环境</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="43"/>
|
||
<source>Full Screen</source>
|
||
<translation>全屏显示</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="44"/>
|
||
<source>Fix Size</source>
|
||
<translation>固定大小</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="45"/>
|
||
<source>Hide Buttons</source>
|
||
<translation>隐藏按钮</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="46"/>
|
||
<source>Clear Cache</source>
|
||
<translation>清理缓存</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="48"/>
|
||
<source>Show MainWindow</source>
|
||
<translation>显示主界面</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="55"/>
|
||
<source>Pause</source>
|
||
<translation>暂停</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="56"/>
|
||
<source>Resume</source>
|
||
<translation>继续</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="57"/>
|
||
<source>Cancel</source>
|
||
<translation>取消</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="339"/>
|
||
<source>Save As</source>
|
||
<translation>另存为</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="403"/>
|
||
<source>%1Start downloading %2</source>
|
||
<translation>%1开始下载 %2</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="414"/>
|
||
<source>%1Wait for previous download to complete!</source>
|
||
<translation>%1请等待上一个下载任务完成!</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="436"/>
|
||
<source>Open</source>
|
||
<translation>打开</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="440"/>
|
||
<source>download finished.</source>
|
||
<translation>下载完成。</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="440"/>
|
||
<source>Show in file manager?</source>
|
||
<translation>是否在文件管理器中显示?</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="478"/>
|
||
<source>%1Download canceled!</source>
|
||
<translation>%1下载取消!</translation>
|
||
</message>
|
||
</context>
|
||
<context>
|
||
<name>TitleBarMenu</name>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="49"/>
|
||
<source>About</source>
|
||
<translation>关于</translation>
|
||
</message>
|
||
<message>
|
||
<location filename="../mainwindow.cpp" line="50"/>
|
||
<source>Exit</source>
|
||
<translation>退出</translation>
|
||
</message>
|
||
</context>
|
||
</TS>
|