aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_ver_check
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-07-29 00:30:41 +0000
committersaturneric <[email protected]>2024-07-29 00:30:41 +0000
commit4e7f67812edd688f30e54f48517b3e16c5887553 (patch)
tree70ab7c4b256647fabbe8d76c892083284d4a8ebd /src/m_ver_check
parentfix: remove dependency of assuan (diff)
downloadModules-4e7f67812edd688f30e54f48517b3e16c5887553.tar.gz
Modules-4e7f67812edd688f30e54f48517b3e16c5887553.zip
feat: improve modules translation
Diffstat (limited to 'src/m_ver_check')
-rw-r--r--src/m_ver_check/CMakeLists.txt21
-rw-r--r--src/m_ver_check/VersionCheckingModule.cpp11
-rw-r--r--src/m_ver_check/ts/ModuleVersionChecking.de_DE.ts48
-rw-r--r--src/m_ver_check/ts/ModuleVersionChecking.en_US.ts36
-rw-r--r--src/m_ver_check/ts/ModuleVersionChecking.fr_FR.ts62
-rw-r--r--src/m_ver_check/ts/ModuleVersionChecking.it_IT.ts76
-rw-r--r--src/m_ver_check/ts/ModuleVersionChecking.zh_CN.ts43
-rw-r--r--src/m_ver_check/ts/ModuleVersionChecking.zh_TW.ts76
8 files changed, 251 insertions, 122 deletions
diff --git a/src/m_ver_check/CMakeLists.txt b/src/m_ver_check/CMakeLists.txt
index 69464f8..c780a28 100644
--- a/src/m_ver_check/CMakeLists.txt
+++ b/src/m_ver_check/CMakeLists.txt
@@ -31,7 +31,7 @@ aux_source_directory(. MODULE_SOURCE_FILES)
add_library(mod_ver_check SHARED ${MODULE_SOURCE_FILES})
# install dir
-install(TARGETS mod_ver_check
+install(TARGETS mod_ver_check
LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/modules")
# link sdk
@@ -54,12 +54,15 @@ set(CMAKE_AUTOUIC_SEARCH_PATHS ${CMAKE_AUTOUIC_SEARCH_PATHS} ${CMAKE_CURRENT_SOU
# i18n
set(LOCALE_TS_PATH ${CMAKE_CURRENT_SOURCE_DIR}/ts)
-set(TS_FILES "${LOCALE_TS_PATH}/ModuleVersionChecking.en_US.ts"
- "${LOCALE_TS_PATH}/ModuleVersionChecking.de_DE.ts"
- "${LOCALE_TS_PATH}/ModuleVersionChecking.fr_FR.ts"
- "${LOCALE_TS_PATH}/ModuleVersionChecking.zh_CN.ts")
+set(TS_FILES
+ "${LOCALE_TS_PATH}/ModuleVersionChecking.en_US.ts"
+ "${LOCALE_TS_PATH}/ModuleVersionChecking.de_DE.ts"
+ "${LOCALE_TS_PATH}/ModuleVersionChecking.fr_FR.ts"
+ "${LOCALE_TS_PATH}/ModuleVersionChecking.it_IT.ts"
+ "${LOCALE_TS_PATH}/ModuleVersionChecking.zh_CN.ts"
+ "${LOCALE_TS_PATH}/ModuleVersionChecking.zh_TW.ts")
qt_add_translations(mod_ver_check
- RESOURCE_PREFIX "/i18n"
- TS_FILES ${TS_FILES}
- SOURCES ${MODULE_SOURCE_FILES}
- INCLUDE_DIRECTORIES ${CMAKE_CURRENT_SOURCE_DIR}) \ No newline at end of file
+ RESOURCE_PREFIX "/i18n"
+ TS_FILES ${TS_FILES}
+ SOURCES ${MODULE_SOURCE_FILES}
+ INCLUDE_DIRECTORIES ${CMAKE_CURRENT_SOURCE_DIR}) \ No newline at end of file
diff --git a/src/m_ver_check/VersionCheckingModule.cpp b/src/m_ver_check/VersionCheckingModule.cpp
index 6bb4f45..9185c9f 100644
--- a/src/m_ver_check/VersionCheckingModule.cpp
+++ b/src/m_ver_check/VersionCheckingModule.cpp
@@ -57,16 +57,7 @@ auto GFActiveModule() -> int {
LISTEN("APPLICATION_LOADED");
LISTEN("CHECK_APPLICATION_VERSION");
- // load translations
- QFile f(
- QString(":/i18n/ModuleVersionChecking.%1.qm").arg(GFAppActiveLocale()));
- if (f.exists() && f.open(QIODevice::ReadOnly)) {
- auto f_n = f.fileName().toUtf8();
- FLOG_INFO("version checking module loading, locale: %1, path: %2",
- GFAppActiveLocale(), f_n.data());
- auto b = f.readAll();
- GFAppRegisterTranslator(AllocBufferAndCopy(b), b.size());
- }
+ LOAD_TRANS("ModuleVersionChecking");
GFUIMountEntry(DUP("AboutDialogTabs"),
QMapToMetaDataArray({{"TabTitle", GTrC::tr("Update")}}), 1,
diff --git a/src/m_ver_check/ts/ModuleVersionChecking.de_DE.ts b/src/m_ver_check/ts/ModuleVersionChecking.de_DE.ts
index 549b674..e9f23e2 100644
--- a/src/m_ver_check/ts/ModuleVersionChecking.de_DE.ts
+++ b/src/m_ver_check/ts/ModuleVersionChecking.de_DE.ts
@@ -4,7 +4,7 @@
<context>
<name>GTrC</name>
<message>
- <location filename="../VersionCheckingModule.cpp" line="92"/>
+ <location filename="../VersionCheckingModule.cpp" line="72"/>
<source>Update</source>
<translation type="unfinished">Aktualisieren</translation>
</message>
@@ -12,65 +12,65 @@
<context>
<name>UpdateTab</name>
<message>
- <location filename="../UpdateTab.cpp" line="45"/>
+ <location filename="../UpdateTab.cpp" line="46"/>
<source>It is recommended that you always check the version of GpgFrontend and upgrade to the latest version.</source>
<translation type="unfinished">Es wird empfohlen, immer die Version von GpgFrontend zu überprüfen und auf die neueste Version zu aktualisieren.</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="48"/>
+ <location filename="../UpdateTab.cpp" line="49"/>
<source>New versions not only represent new features, but also often represent functional and security fixes.</source>
<translation type="unfinished">Neue Versionen beinhalten nicht nur neue Funktionen, sondern stellen oft auch Funktions- und Sicherheitskorrekturen dar.</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="54"/>
+ <location filename="../UpdateTab.cpp" line="55"/>
<source>Current Version</source>
<translation type="unfinished">Aktuelle Version</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="55"/>
+ <location filename="../UpdateTab.cpp" line="56"/>
<source>: </source>
<translation type="unfinished">: </translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="131"/>
+ <location filename="../UpdateTab.cpp" line="132"/>
<source>Latest Version From Github</source>
<translation type="unfinished">Neueste Version von Github</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="137"/>
+ <location filename="../UpdateTab.cpp" line="138"/>
<source>The current version is less than the latest version on github.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Die aktuelle Versionsnunmmer ist kleiner als die neueste Version auf github.</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="139"/>
- <location filename="../UpdateTab.cpp" line="150"/>
- <location filename="../UpdateTab.cpp" line="162"/>
+ <location filename="../UpdateTab.cpp" line="140"/>
+ <location filename="../UpdateTab.cpp" line="151"/>
+ <location filename="../UpdateTab.cpp" line="163"/>
<source>Please click</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Bitte klicken Sie</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="142"/>
- <location filename="../UpdateTab.cpp" line="153"/>
- <location filename="../UpdateTab.cpp" line="165"/>
+ <location filename="../UpdateTab.cpp" line="143"/>
+ <location filename="../UpdateTab.cpp" line="154"/>
+ <location filename="../UpdateTab.cpp" line="166"/>
<source>Here</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Hier</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="142"/>
- <location filename="../UpdateTab.cpp" line="153"/>
- <location filename="../UpdateTab.cpp" line="165"/>
+ <location filename="../UpdateTab.cpp" line="143"/>
+ <location filename="../UpdateTab.cpp" line="154"/>
+ <location filename="../UpdateTab.cpp" line="166"/>
<source>to download the latest stable version.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">um die neueste stabile Version herunterzuladen.</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="148"/>
+ <location filename="../UpdateTab.cpp" line="149"/>
<source>This version has serious problems and has been withdrawn. Please stop using it immediately.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Diese Version hat ernsthafte Probleme und wurde zurückgezogen. Bitte hören Sie sofort auf, sie zu verwenden.</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="159"/>
+ <location filename="../UpdateTab.cpp" line="160"/>
<source>This version has not been released yet, it may be a beta version. If you are not a tester and care about version stability, please do not use this version.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Diese Version wurde noch nicht veröffentlicht, möglicherweise handelt es sich um eine Beta-Version. Wenn Sie kein Tester sind und Ihnen Stabilität der Version wichtig ist, verwenden Sie diese Version bitte nicht.</translation>
</message>
</context>
</TS>
diff --git a/src/m_ver_check/ts/ModuleVersionChecking.en_US.ts b/src/m_ver_check/ts/ModuleVersionChecking.en_US.ts
index 2795653..98193c7 100644
--- a/src/m_ver_check/ts/ModuleVersionChecking.en_US.ts
+++ b/src/m_ver_check/ts/ModuleVersionChecking.en_US.ts
@@ -4,7 +4,7 @@
<context>
<name>GTrC</name>
<message>
- <location filename="../VersionCheckingModule.cpp" line="92"/>
+ <location filename="../VersionCheckingModule.cpp" line="72"/>
<source>Update</source>
<translation type="unfinished"></translation>
</message>
@@ -12,63 +12,63 @@
<context>
<name>UpdateTab</name>
<message>
- <location filename="../UpdateTab.cpp" line="45"/>
+ <location filename="../UpdateTab.cpp" line="46"/>
<source>It is recommended that you always check the version of GpgFrontend and upgrade to the latest version.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="48"/>
+ <location filename="../UpdateTab.cpp" line="49"/>
<source>New versions not only represent new features, but also often represent functional and security fixes.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="54"/>
+ <location filename="../UpdateTab.cpp" line="55"/>
<source>Current Version</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="55"/>
+ <location filename="../UpdateTab.cpp" line="56"/>
<source>: </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="131"/>
+ <location filename="../UpdateTab.cpp" line="132"/>
<source>Latest Version From Github</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="137"/>
+ <location filename="../UpdateTab.cpp" line="138"/>
<source>The current version is less than the latest version on github.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="139"/>
- <location filename="../UpdateTab.cpp" line="150"/>
- <location filename="../UpdateTab.cpp" line="162"/>
+ <location filename="../UpdateTab.cpp" line="140"/>
+ <location filename="../UpdateTab.cpp" line="151"/>
+ <location filename="../UpdateTab.cpp" line="163"/>
<source>Please click</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="142"/>
- <location filename="../UpdateTab.cpp" line="153"/>
- <location filename="../UpdateTab.cpp" line="165"/>
+ <location filename="../UpdateTab.cpp" line="143"/>
+ <location filename="../UpdateTab.cpp" line="154"/>
+ <location filename="../UpdateTab.cpp" line="166"/>
<source>Here</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="142"/>
- <location filename="../UpdateTab.cpp" line="153"/>
- <location filename="../UpdateTab.cpp" line="165"/>
+ <location filename="../UpdateTab.cpp" line="143"/>
+ <location filename="../UpdateTab.cpp" line="154"/>
+ <location filename="../UpdateTab.cpp" line="166"/>
<source>to download the latest stable version.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="148"/>
+ <location filename="../UpdateTab.cpp" line="149"/>
<source>This version has serious problems and has been withdrawn. Please stop using it immediately.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="159"/>
+ <location filename="../UpdateTab.cpp" line="160"/>
<source>This version has not been released yet, it may be a beta version. If you are not a tester and care about version stability, please do not use this version.</source>
<translation type="unfinished"></translation>
</message>
diff --git a/src/m_ver_check/ts/ModuleVersionChecking.fr_FR.ts b/src/m_ver_check/ts/ModuleVersionChecking.fr_FR.ts
index 2795653..fff22ee 100644
--- a/src/m_ver_check/ts/ModuleVersionChecking.fr_FR.ts
+++ b/src/m_ver_check/ts/ModuleVersionChecking.fr_FR.ts
@@ -1,76 +1,76 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="fr_FR">
<context>
<name>GTrC</name>
<message>
- <location filename="../VersionCheckingModule.cpp" line="92"/>
+ <location filename="../VersionCheckingModule.cpp" line="72"/>
<source>Update</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Mettre à jour</translation>
</message>
</context>
<context>
<name>UpdateTab</name>
<message>
- <location filename="../UpdateTab.cpp" line="45"/>
+ <location filename="../UpdateTab.cpp" line="46"/>
<source>It is recommended that you always check the version of GpgFrontend and upgrade to the latest version.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Il est recommandé de toujours vérifier la version de GpgFrontend et de passer à la dernière version.</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="48"/>
+ <location filename="../UpdateTab.cpp" line="49"/>
<source>New versions not only represent new features, but also often represent functional and security fixes.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Les nouvelles versions ne représentent pas seulement de nouvelles fonctionnalités, mais représentent également souvent des correctifs fonctionnels et de sécurité.</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="54"/>
+ <location filename="../UpdateTab.cpp" line="55"/>
<source>Current Version</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Version actuelle</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="55"/>
+ <location filename="../UpdateTab.cpp" line="56"/>
<source>: </source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">:</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="131"/>
+ <location filename="../UpdateTab.cpp" line="132"/>
<source>Latest Version From Github</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Dernière version de Github</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="137"/>
+ <location filename="../UpdateTab.cpp" line="138"/>
<source>The current version is less than the latest version on github.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">La version actuelle est inférieure à la dernière version sur github.</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="139"/>
- <location filename="../UpdateTab.cpp" line="150"/>
- <location filename="../UpdateTab.cpp" line="162"/>
+ <location filename="../UpdateTab.cpp" line="140"/>
+ <location filename="../UpdateTab.cpp" line="151"/>
+ <location filename="../UpdateTab.cpp" line="163"/>
<source>Please click</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Cliquez s&apos;il vous plait</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="142"/>
- <location filename="../UpdateTab.cpp" line="153"/>
- <location filename="../UpdateTab.cpp" line="165"/>
+ <location filename="../UpdateTab.cpp" line="143"/>
+ <location filename="../UpdateTab.cpp" line="154"/>
+ <location filename="../UpdateTab.cpp" line="166"/>
<source>Here</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Ici</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="142"/>
- <location filename="../UpdateTab.cpp" line="153"/>
- <location filename="../UpdateTab.cpp" line="165"/>
+ <location filename="../UpdateTab.cpp" line="143"/>
+ <location filename="../UpdateTab.cpp" line="154"/>
+ <location filename="../UpdateTab.cpp" line="166"/>
<source>to download the latest stable version.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">pour télécharger la dernière version stable.</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="148"/>
+ <location filename="../UpdateTab.cpp" line="149"/>
<source>This version has serious problems and has been withdrawn. Please stop using it immediately.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Cette version a de sérieux problèmes et a été retirée. Veuillez cesser de l&apos;utiliser immédiatement.</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="159"/>
+ <location filename="../UpdateTab.cpp" line="160"/>
<source>This version has not been released yet, it may be a beta version. If you are not a tester and care about version stability, please do not use this version.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">Cette version n&apos;est pas encore sortie, il s&apos;agit peut-être d&apos;une version bêta. Si vous n&apos;êtes pas un testeur et que vous vous souciez de la stabilité de la version, veuillez ne pas utiliser cette version.</translation>
</message>
</context>
</TS>
diff --git a/src/m_ver_check/ts/ModuleVersionChecking.it_IT.ts b/src/m_ver_check/ts/ModuleVersionChecking.it_IT.ts
new file mode 100644
index 0000000..06e6d8e
--- /dev/null
+++ b/src/m_ver_check/ts/ModuleVersionChecking.it_IT.ts
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1">
+<context>
+ <name>GTrC</name>
+ <message>
+ <location filename="../VersionCheckingModule.cpp" line="72"/>
+ <source>Update</source>
+ <translation type="unfinished">Aggiorna</translation>
+ </message>
+</context>
+<context>
+ <name>UpdateTab</name>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="163"/>
+ <source>It is recommended that you always check the version of GpgFrontend and upgrade to the latest version.</source>
+ <translation type="unfinished">Si consiglia di controllare sempre la versione di GpgFrontend e di aggiornare all&apos;ultima versione.</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="166"/>
+ <source>New versions not only represent new features, but also often represent functional and security fixes.</source>
+ <translation type="unfinished">Le nuove versioni non rappresentano solo nuove funzionalità, ma spesso rappresentano anche correzioni funzionali e di sicurezza.</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="172"/>
+ <source>Current Version</source>
+ <translation type="unfinished">Versione corrente</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="173"/>
+ <source>: </source>
+ <translation type="unfinished">: </translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="248"/>
+ <source>Latest Version From Github</source>
+ <translation type="unfinished">Ultima versione da Github</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="254"/>
+ <source>The current version is less than the latest version on github.</source>
+ <translation type="unfinished">La versione corrente è inferiore all&apos;ultima versione su github.</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="256"/>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="267"/>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="279"/>
+ <source>Please click</source>
+ <translation type="unfinished">Per favore clicca</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="259"/>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="270"/>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="282"/>
+ <source>Here</source>
+ <translation type="unfinished">Qui</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="259"/>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="270"/>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="282"/>
+ <source>to download the latest stable version.</source>
+ <translation type="unfinished">per scaricare l&apos;ultima versione stabile.</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="265"/>
+ <source>This version has serious problems and has been withdrawn. Please stop using it immediately.</source>
+ <translation type="unfinished">Questa versione ha seri problemi ed è stata ritirata. Si prega di smettere di usarlo immediatamente.</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="276"/>
+ <source>This version has not been released yet, it may be a beta version. If you are not a tester and care about version stability, please do not use this version.</source>
+ <translation type="unfinished">Questa versione non è ancora stata rilasciata, potrebbe essere una versione beta. Se non sei un tester e ti interessa la stabilità della versione, non utilizzare questa versione.</translation>
+ </message>
+</context>
+</TS>
diff --git a/src/m_ver_check/ts/ModuleVersionChecking.zh_CN.ts b/src/m_ver_check/ts/ModuleVersionChecking.zh_CN.ts
index 2795653..89c4c16 100644
--- a/src/m_ver_check/ts/ModuleVersionChecking.zh_CN.ts
+++ b/src/m_ver_check/ts/ModuleVersionChecking.zh_CN.ts
@@ -4,73 +4,56 @@
<context>
<name>GTrC</name>
<message>
- <location filename="../VersionCheckingModule.cpp" line="92"/>
+ <location filename="../VersionCheckingModule.cpp" line="72"/>
<source>Update</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">更新</translation>
</message>
</context>
<context>
<name>UpdateTab</name>
<message>
- <location filename="../UpdateTab.cpp" line="45"/>
<source>It is recommended that you always check the version of GpgFrontend and upgrade to the latest version.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">建议您经常检查 GpgFrontend 的版本更新。</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="48"/>
<source>New versions not only represent new features, but also often represent functional and security fixes.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">新版本不仅代表新功能,而且通常代表功能和安全修复。</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="54"/>
<source>Current Version</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">当前版本</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="55"/>
<source>: </source>
- <translation type="unfinished"></translation>
+ <translation type="vanished">: </translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="131"/>
<source>Latest Version From Github</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">来自 Github 的最新版本</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="137"/>
<source>The current version is less than the latest version on github.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">当前版本低于github上的最新版本。</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="139"/>
- <location filename="../UpdateTab.cpp" line="150"/>
- <location filename="../UpdateTab.cpp" line="162"/>
<source>Please click</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">请点击</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="142"/>
- <location filename="../UpdateTab.cpp" line="153"/>
- <location filename="../UpdateTab.cpp" line="165"/>
<source>Here</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">这里</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="142"/>
- <location filename="../UpdateTab.cpp" line="153"/>
- <location filename="../UpdateTab.cpp" line="165"/>
<source>to download the latest stable version.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">来下载最新的稳定版本。</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="148"/>
<source>This version has serious problems and has been withdrawn. Please stop using it immediately.</source>
- <translation type="unfinished"></translation>
+ <translation type="vanished">此版本存在严重问题,已经被召回。请立即停止使用。</translation>
</message>
<message>
- <location filename="../UpdateTab.cpp" line="159"/>
<source>This version has not been released yet, it may be a beta version. If you are not a tester and care about version stability, please do not use this version.</source>
- <translation type="unfinished"></translation>
+ <translation type="unfinished">此版本尚未发布,可能是测试版。如果您不是测试人员并且关心版本稳定性,请不要使用此版本。</translation>
</message>
</context>
</TS>
diff --git a/src/m_ver_check/ts/ModuleVersionChecking.zh_TW.ts b/src/m_ver_check/ts/ModuleVersionChecking.zh_TW.ts
new file mode 100644
index 0000000..22246fc
--- /dev/null
+++ b/src/m_ver_check/ts/ModuleVersionChecking.zh_TW.ts
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1">
+<context>
+ <name>GTrC</name>
+ <message>
+ <location filename="../VersionCheckingModule.cpp" line="72"/>
+ <source>Update</source>
+ <translation type="unfinished">更新</translation>
+ </message>
+</context>
+<context>
+ <name>UpdateTab</name>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="163"/>
+ <source>It is recommended that you always check the version of GpgFrontend and upgrade to the latest version.</source>
+ <translation type="unfinished">建議您經常檢查 GpgFrontend 的版本併升級到最新版本。</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="166"/>
+ <source>New versions not only represent new features, but also often represent functional and security fixes.</source>
+ <translation type="unfinished">新版本不僅代表新功能,而且通常代表功能和安全修復。</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="172"/>
+ <source>Current Version</source>
+ <translation type="unfinished">當前版本</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="173"/>
+ <source>: </source>
+ <translation type="unfinished">: </translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="248"/>
+ <source>Latest Version From Github</source>
+ <translation type="unfinished">來自 Github 的最新版本</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="254"/>
+ <source>The current version is less than the latest version on github.</source>
+ <translation type="unfinished">當前版本低於github上的最新版本。</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="256"/>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="267"/>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="279"/>
+ <source>Please click</source>
+ <translation type="unfinished">請點擊</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="259"/>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="270"/>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="282"/>
+ <source>Here</source>
+ <translation type="unfinished">這裡</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="259"/>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="270"/>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="282"/>
+ <source>to download the latest stable version.</source>
+ <translation type="unfinished">下載最新的穩定版本。</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="265"/>
+ <source>This version has serious problems and has been withdrawn. Please stop using it immediately.</source>
+ <translation type="unfinished">此版本存在嚴重問題,已撤回。請立即停止使用。</translation>
+ </message>
+ <message>
+ <location filename="../../../../src/ui/dialog/help/AboutDialog.cpp" line="276"/>
+ <source>This version has not been released yet, it may be a beta version. If you are not a tester and care about version stability, please do not use this version.</source>
+ <translation type="unfinished">此版本尚未發布,可能是測試版。如果您不是測試人員並且關心版本穩定性,請不要使用此版本。</translation>
+ </message>
+</context>
+</TS>