From 2703d5778a843548d92b40b38a4b47316987e24d Mon Sep 17 00:00:00 2001 From: saturneric Date: Mon, 2 Dec 2024 18:02:06 +0100 Subject: [PATCH] translations: update zh_CN and de_DE --- src/m_email/ts/ModuleEMail.de_DE.ts | 32 +++++++-------- src/m_email/ts/ModuleEMail.zh_CN.ts | 32 +++++++-------- src/m_gpg_info/GnupgTab.cpp | 8 ++-- src/m_ver_check/VersionCheckingModule.cpp | 10 ++--- .../ts/ModuleVersionChecking.de_DE.ts | 40 +++++++++++-------- .../ts/ModuleVersionChecking.en_US.ts | 8 ++++ .../ts/ModuleVersionChecking.fr_FR.ts | 8 ++++ .../ts/ModuleVersionChecking.it_IT.ts | 8 ++++ .../ts/ModuleVersionChecking.zh_CN.ts | 40 +++++++++++-------- .../ts/ModuleVersionChecking.zh_TW.ts | 8 ++++ 10 files changed, 122 insertions(+), 72 deletions(-) diff --git a/src/m_email/ts/ModuleEMail.de_DE.ts b/src/m_email/ts/ModuleEMail.de_DE.ts index 2e107f9..610cf38 100644 --- a/src/m_email/ts/ModuleEMail.de_DE.ts +++ b/src/m_email/ts/ModuleEMail.de_DE.ts @@ -6,84 +6,84 @@ Message - + Nachricht From - + Von To - + An CC - + Kopie BCC - + Blindkopie Subject - + Betreff Tips: You can fill in multiple email addresses, please separate them with ";", except for the 'From' field. - + Tipps: Sie können mehrere E-Mail-Adressen eingeben, bitte trennen Sie sie mit ";", außer für das 'Von' Feld. Cancel - + Abbrechen OK - + OK The 'From' field cannot be empty. - + Das Feld 'Von' darf nicht leer sein. The 'From' field must contain a valid email address. - + Das Feld 'Von' muss eine gültige E-Mail Adresse enthalten. The 'To' field cannot be empty. - + Das Feld 'An' darf nicht leer sein. One or more 'To' addresses are invalid. Please separate multiple addresses with ";". - + Eine oder mehrere 'An' Adressen sind ungültig. Bitte trennen Sie mehrere Adressen mit ";". One or more 'CC' addresses are invalid. Please separate multiple addresses with ";". - + Eine oder mehrere 'Kopie' Adressen sind ungültig. Bitte trennen Sie mehrere Adressen mit ";". One or more 'BCC' addresses are invalid. Please separate multiple addresses with ";". - + Eine oder mehrere 'Blindkopie' Adressen sind ungültig. Bitte trennen Sie mehrere Adressen mit ";". The 'Subject' field cannot be empty. - + Das Feld 'Betreff' darf nicht leer sein. diff --git a/src/m_email/ts/ModuleEMail.zh_CN.ts b/src/m_email/ts/ModuleEMail.zh_CN.ts index f8262ca..095ec0d 100644 --- a/src/m_email/ts/ModuleEMail.zh_CN.ts +++ b/src/m_email/ts/ModuleEMail.zh_CN.ts @@ -6,84 +6,84 @@ Message - 邮件消息 + 邮件消息 From - 发件人 + 发件人 To - 收件人 + 收件人 CC - 抄送 + 抄送 BCC - 密送 + 密送 Subject - 主题 + 主题 Tips: You can fill in multiple email addresses, please separate them with ";", except for the 'From' field. - + 提示: 您可以填写多个电子邮件地址,请用";"分隔,但'发件人'字段除外。 Cancel - 取消 + 取消 OK - 确认 + 确认 The 'From' field cannot be empty. - '发件人'字段不能为空。 + '发件人'字段不能为空。 The 'From' field must contain a valid email address. - '发件人'字段必须包含有效的电子邮件地址。 + '发件人'字段必须包含有效的电子邮件地址。 The 'To' field cannot be empty. - 收件人'字段不能为空。 + 收件人'字段不能为空。 One or more 'To' addresses are invalid. Please separate multiple addresses with ";". - 一个或多个'收件人'地址无效。请用";"分隔多个地址。 + 一个或多个'收件人'地址无效。请用";"分隔多个地址。 One or more 'CC' addresses are invalid. Please separate multiple addresses with ";". - 一个或多个 '抄送' 地址无效。请用";"分隔多个地址。 + 一个或多个 '抄送' 地址无效。请用";"分隔多个地址。 One or more 'BCC' addresses are invalid. Please separate multiple addresses with ";". - 一个或多个 '密送' 地址无效。请用";"分隔多个地址。 + 一个或多个 '密送' 地址无效。请用";"分隔多个地址。 The 'Subject' field cannot be empty. - 主题'字段不能为空。 + 主题'字段不能为空。 diff --git a/src/m_gpg_info/GnupgTab.cpp b/src/m_gpg_info/GnupgTab.cpp index 7c64cdf..8ac7a85 100644 --- a/src/m_gpg_info/GnupgTab.cpp +++ b/src/m_gpg_info/GnupgTab.cpp @@ -53,7 +53,8 @@ GnupgTab::GnupgTab(QWidget* parent) ui_->tabWidget->setTabText(1, tr("Directories")); ui_->tabWidget->setTabText(2, tr("Options")); - ui_->componentDetailsTable->setColumnCount(components_column_titles.length()); + ui_->componentDetailsTable->setColumnCount( + static_cast(components_column_titles.length())); ui_->componentDetailsTable->setHorizontalHeaderLabels( components_column_titles); ui_->componentDetailsTable->horizontalHeader()->setStretchLastSection(false); @@ -95,7 +96,8 @@ GnupgTab::GnupgTab(QWidget* parent) << tr("Description") << tr("Default Value") << tr("Value"); - ui_->optionDetailsTable->setColumnCount(options_column_titles.length()); + ui_->optionDetailsTable->setColumnCount( + static_cast(options_column_titles.length())); ui_->optionDetailsTable->setHorizontalHeaderLabels(options_column_titles); ui_->optionDetailsTable->horizontalHeader()->setStretchLastSection(false); ui_->optionDetailsTable->setSelectionBehavior(QAbstractItemView::SelectRows); @@ -132,7 +134,7 @@ void GnupgTab::process_software_info() { MLogDebug( QString("got gnupg components from rt, size: %1").arg(components.size())); - ui_->componentDetailsTable->setRowCount(components.size()); + ui_->componentDetailsTable->setRowCount(static_cast(components.size())); int row = 0; for (auto& component : components) { diff --git a/src/m_ver_check/VersionCheckingModule.cpp b/src/m_ver_check/VersionCheckingModule.cpp index 5dd5849..e672f33 100644 --- a/src/m_ver_check/VersionCheckingModule.cpp +++ b/src/m_ver_check/VersionCheckingModule.cpp @@ -54,11 +54,11 @@ auto GFRegisterModule() -> int { REGISTER_TRANS_READER(); - GFUIMountEntry(DUP("AboutDialogTabs"), - QMapToMetaDataArray({ - {"TabTitle", GC_TR("Update")}, - }), - 1, UpdateTabFactory); + GFUIMountEntry( + DUP("AboutDialogTabs"), + QMapToMetaDataArray({// {"TabTitle", GC_TR("Update")}, + {"TabTitle", QT_TRANSLATE_NOOP("GTrC", "Update")}}), + 1, UpdateTabFactory); return 0; } diff --git a/src/m_ver_check/ts/ModuleVersionChecking.de_DE.ts b/src/m_ver_check/ts/ModuleVersionChecking.de_DE.ts index aa77685..11c75b1 100644 --- a/src/m_ver_check/ts/ModuleVersionChecking.de_DE.ts +++ b/src/m_ver_check/ts/ModuleVersionChecking.de_DE.ts @@ -1,12 +1,20 @@ + + GTrC + + + Update + Aktualisieren + + UpdateTab Current Version Information - + Informationen zur aktuellen Version @@ -21,37 +29,37 @@ Upgrade Information - + Upgrade-Informationen Release Notes - + Anmerkungen zum Release Unable to retrieve the latest version information. This may be due to a network issue or the server being unavailable. - + Die neuesten Versionsinformationen können nicht abgerufen werden. Dies kann auf ein Netzwerkproblem oder die Nichterreichbarkeit des Servers zurückzuführen sein. Please check your internet connection or try again later. - + Bitte überprüfen Sie Ihre Internetverbindung oder versuchen Sie es später noch einmal. Alternatively, you can visit the - + Alternativ können Sie auch official download page - + die offizielle Download-Seite besuchen, to check for the latest stable version. - + um nach der neuesten stabilen Version zu suchen. @@ -61,7 +69,7 @@ Your current version is outdated. - + Ihre aktuelle Version ist veraltet. @@ -69,7 +77,7 @@ Click - + Klicken Sie @@ -77,32 +85,32 @@ here - + hier This version has critical issues and has been withdrawn. Please stop using it immediately. - + Diese Version hat kritische Probleme und wurde zurückgezogen. Bitte verwenden Sie sie nicht mehr. This is an unreleased version, possibly a beta. If stability is important to you, please avoid using this version. - + Dies ist eine unveröffentlichte Version, möglicherweise eine Beta-Version. Wenn Ihnen Stabilität wichtig ist, verwenden Sie diese Version bitte nicht. The current version's commit hash does not match the official release. This may indicate a modified or unofficial build. - + Der Commit-Hash der aktuellen Version stimmt nicht mit dem der offiziellen Version überein. Dies kann auf einen modifizierten oder inoffiziellen Build hinweisen. to verify your installation or download the official version. - + um Ihre Installation zu überprüfen oder die offizielle Version herunterzuladen. You are using the latest stable version. No action is required. - + Sie verwenden die neueste stabile Version. Es sind keine Maßnahmen erforderlich. diff --git a/src/m_ver_check/ts/ModuleVersionChecking.en_US.ts b/src/m_ver_check/ts/ModuleVersionChecking.en_US.ts index 2ede352..56870b1 100644 --- a/src/m_ver_check/ts/ModuleVersionChecking.en_US.ts +++ b/src/m_ver_check/ts/ModuleVersionChecking.en_US.ts @@ -1,6 +1,14 @@ + + GTrC + + + Update + + + UpdateTab diff --git a/src/m_ver_check/ts/ModuleVersionChecking.fr_FR.ts b/src/m_ver_check/ts/ModuleVersionChecking.fr_FR.ts index 68877d2..553acfa 100644 --- a/src/m_ver_check/ts/ModuleVersionChecking.fr_FR.ts +++ b/src/m_ver_check/ts/ModuleVersionChecking.fr_FR.ts @@ -1,6 +1,14 @@ + + GTrC + + + Update + + + UpdateTab diff --git a/src/m_ver_check/ts/ModuleVersionChecking.it_IT.ts b/src/m_ver_check/ts/ModuleVersionChecking.it_IT.ts index 2a5482d..c4882ba 100644 --- a/src/m_ver_check/ts/ModuleVersionChecking.it_IT.ts +++ b/src/m_ver_check/ts/ModuleVersionChecking.it_IT.ts @@ -1,6 +1,14 @@ + + GTrC + + + Update + + + UpdateTab diff --git a/src/m_ver_check/ts/ModuleVersionChecking.zh_CN.ts b/src/m_ver_check/ts/ModuleVersionChecking.zh_CN.ts index ce3f2dc..1e1f781 100644 --- a/src/m_ver_check/ts/ModuleVersionChecking.zh_CN.ts +++ b/src/m_ver_check/ts/ModuleVersionChecking.zh_CN.ts @@ -1,12 +1,20 @@ + + GTrC + + + Update + 更新 + + UpdateTab Current Version Information - + 当前版本信息 @@ -21,37 +29,37 @@ Upgrade Information - + 升级信息 Release Notes - + 版本发布说明 Unable to retrieve the latest version information. This may be due to a network issue or the server being unavailable. - + 无法获取最新版本信息。这可能是由于网络问题或服务器不可用。 Please check your internet connection or try again later. - + 请检查您的网络连接或稍后再试。 Alternatively, you can visit the - + 或者,您也可以访问 official download page - + 官方下载页面 to check for the latest stable version. - + 检查最新的稳定版本 @@ -61,7 +69,7 @@ Your current version is outdated. - + 您当前的版本已经过时。 @@ -69,7 +77,7 @@ Click - + 点击 @@ -77,32 +85,32 @@ here - + 这里 This version has critical issues and has been withdrawn. Please stop using it immediately. - + 该版本存在严重问题,已被撤销。请立即停止使用。 This is an unreleased version, possibly a beta. If stability is important to you, please avoid using this version. - + 这是一个未发布的版本,可能是测试版。如果稳定性对您很重要,请避免使用此版本。 The current version's commit hash does not match the official release. This may indicate a modified or unofficial build. - + 当前版本的提交哈希值与正式版本不匹配。这可能表明该版本为修改版或非官方版本。 to verify your installation or download the official version. - + 来验证您的安装或下载正式版本。 You are using the latest stable version. No action is required. - + 您使用的是最新的稳定版本。无需任何操作。 diff --git a/src/m_ver_check/ts/ModuleVersionChecking.zh_TW.ts b/src/m_ver_check/ts/ModuleVersionChecking.zh_TW.ts index c27debf..a635116 100644 --- a/src/m_ver_check/ts/ModuleVersionChecking.zh_TW.ts +++ b/src/m_ver_check/ts/ModuleVersionChecking.zh_TW.ts @@ -1,6 +1,14 @@ + + GTrC + + + Update + + + UpdateTab