mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-13 23:28:56 +00:00
Auto Update (#1006)
* Updater * clang * Adding Updater icon * Updater * TR * settings_dialog.ui * Changelog for Pre-release only * Adding Dump and Download icons * Forgot this... * fix linux and resize * powershell_unzip | changelog fix Does not use zlin-ng to unpack, now uses powershell on windows and on linux/mac uses unzip or 7z, and if it does not find it, it will ask if you want to install it before extracting. Do not show the changelog button if: The current version is a pre-release and the version to be downloaded is a release. * Clang * formatting * links fixed --------- Co-authored-by: Xphalnos <164882787+Xphalnos@users.noreply.github.com>
This commit is contained in:
@@ -168,6 +168,11 @@
|
||||
<source>Boot Game</source>
|
||||
<translation>启动游戏</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main_window_ui.h" line="308"/>
|
||||
<source>Check for Updates</source>
|
||||
<translation>检查更新</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main_window_ui.h" line="314"/>
|
||||
<source>About shadPS4</source>
|
||||
@@ -308,11 +313,11 @@
|
||||
<source>Themes</source>
|
||||
<translation>主题</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main_window_ui.h" line="358"/>
|
||||
<source>About</source>
|
||||
<translation>关于</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main_window_ui.h" line="358"/>
|
||||
<source>Help</source>
|
||||
<translation>帮助</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main_window_ui.h" line="359"/>
|
||||
<source>Dark</source>
|
||||
@@ -497,6 +502,21 @@
|
||||
<source>Enable RenderDoc Debugging</source>
|
||||
<translation>启用 RenderDoc 调试</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settings_dialog.ui" line="274"/>
|
||||
<source>Update</source>
|
||||
<translation>更新</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settings_dialog.ui" line="286"/>
|
||||
<source>Check for Updates at Startup</source>
|
||||
<translation>启动时检查更新</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settings_dialog.ui" line="322"/>
|
||||
<source>Check for Updates</source>
|
||||
<translation>检查更新</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>MainWindow</name>
|
||||
@@ -975,4 +995,177 @@
|
||||
<translation>路径</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="34"/>
|
||||
<source>Auto Updater</source>
|
||||
<translation>自动更新程序</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="51"/>
|
||||
<source>Error</source>
|
||||
<translation>错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="52"/>
|
||||
<source>Invalid update channel: </source>
|
||||
<translation>无效的更新通道:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="53"/>
|
||||
<source>In updateChannel in config.tml file must contain 'stable' or 'unstable'</source>
|
||||
<translation>config.tml 文件中的 updateChannel 必须包含 'stable' 或 'unstable'</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="64"/>
|
||||
<source>Network error:</source>
|
||||
<translation>网络错误:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="73"/>
|
||||
<source>Failed to parse update information.</source>
|
||||
<translation>无法解析更新信息。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="89"/>
|
||||
<source>No pre-releases found.</source>
|
||||
<translation>未找到预发布版本。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="102"/>
|
||||
<source>Invalid release data.</source>
|
||||
<translation>无效的发布数据。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="142"/>
|
||||
<source>No download URL found for the specified asset.</source>
|
||||
<translation>未找到指定资产的下载 URL。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="148"/>
|
||||
<source>Your version is already up to date!</source>
|
||||
<translation>您的版本已经是最新的!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="172"/>
|
||||
<source>Update Available</source>
|
||||
<translation>可用更新</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="177"/>
|
||||
<source>Current Version</source>
|
||||
<translation>当前版本</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="178"/>
|
||||
<source>Latest Version</source>
|
||||
<translation>最新版本</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="179"/>
|
||||
<source>Do you want to update?</source>
|
||||
<translation>您想要更新吗?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="193"/>
|
||||
<source>Show Changelog</source>
|
||||
<translation>显示变更日志</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="198"/>
|
||||
<source>Check for Updates at Startup</source>
|
||||
<translation>启动时检查更新</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="199"/>
|
||||
<source>Update</source>
|
||||
<translation>更新</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="200"/>
|
||||
<source>No</source>
|
||||
<translation>否</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="223"/>
|
||||
<source>Hide Changelog</source>
|
||||
<translation>隐藏变更日志</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="296"/>
|
||||
<source>Changes</source>
|
||||
<translation>变更</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="310"/>
|
||||
<source>Network error occurred while trying to access the URL</source>
|
||||
<translation>尝试访问 URL 时发生网络错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="330"/>
|
||||
<source>Download Complete</source>
|
||||
<translation>下载完成</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="331"/>
|
||||
<source>The update has been downloaded, press OK to install.</source>
|
||||
<translation>更新已下载,请按 OK 安装。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="336"/>
|
||||
<source>Failed to save the update file at</source>
|
||||
<translation>无法保存更新文件到</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="352"/>
|
||||
<source>Failed to open the ZIP file</source>
|
||||
<translation>无法打开 ZIP 文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="420"/>
|
||||
<source>File name is empty. Possibly corrupted ZIP.</source>
|
||||
<translation>文件名为空。可能是损坏的 ZIP。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="445"/>
|
||||
<source>Failed to create directory</source>
|
||||
<translation>无法创建目录</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="464"/>
|
||||
<source>Error decompressing file</source>
|
||||
<translation>解压缩文件时出错</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="487"/>
|
||||
<source>Failed to open output file</source>
|
||||
<translation>无法打开输出文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="497"/>
|
||||
<source>Unsupported compression method for file:</source>
|
||||
<translation>文件的压缩方法不受支持:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="510"/>
|
||||
<source>Failed to create TAR extraction directory</source>
|
||||
<translation>无法创建 TAR 解压缩目录</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="525"/>
|
||||
<source>Failed to extract the TAR file</source>
|
||||
<translation>无法提取 TAR 文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="545"/>
|
||||
<source>Starting Update...</source>
|
||||
<translation>正在开始更新...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../checkUpdate.cpp" line="619"/>
|
||||
<source>Failed to create the update script file</source>
|
||||
<translation>无法创建更新脚本文件</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
Reference in New Issue
Block a user