From 19898b17c6d516e7b78eb20a961e94b7fc0d015c Mon Sep 17 00:00:00 2001 From: tanyulong2021 Date: Thu, 4 Aug 2022 11:12:10 +0800 Subject: [PATCH] fix and update translation --- fix-and-update-translation.patch | 34 ++++++++++++++++++++++++++++++++ ukui-control-center.spec | 7 ++++++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 fix-and-update-translation.patch diff --git a/fix-and-update-translation.patch b/fix-and-update-translation.patch new file mode 100644 index 0000000..91bd1d0 --- /dev/null +++ b/fix-and-update-translation.patch @@ -0,0 +1,34 @@ +From 8a4cd15110db4e68e94a5446fa110e87e8158b1d Mon Sep 17 00:00:00 2001 +From: tanyulong2021 +Date: Thu, 4 Aug 2022 11:09:33 +0800 +Subject: [PATCH] fix and update translation + +--- + plugins/account/networkaccount/maindialog.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/plugins/account/networkaccount/maindialog.cpp b/plugins/account/networkaccount/maindialog.cpp +index e422635..7c826cb 100644 +--- a/plugins/account/networkaccount/maindialog.cpp ++++ b/plugins/account/networkaccount/maindialog.cpp +@@ -378,7 +378,7 @@ QString MainDialog::messagebox(const int &code) const { + case 500:ret = tr("Failed due to server error!");break; + case 501:ret = tr("Please check your information!");break; + case 502:ret = tr("User existing!");break; +- case 503:ret = tr("User doesn't exist!");break; ++ case 503:ret = tr("Account or password error");break; + case 504:ret = tr("Network can not reach!");break; + case 511:ret = tr("Account or password error!");break; + case 610:ret = tr("Phone number already in used!");break; +@@ -386,7 +386,7 @@ QString MainDialog::messagebox(const int &code) const { + case 612:ret = tr("Your are reach the limit!");break; + case 613:ret = tr("Please check your phone number!");break; + case 614:ret = tr("Please check your code!");break; +- case 615:ret = tr("Account doesn't exist!");break; ++ case 615:ret = tr("Account or password error");break; + case 616:ret = tr("User has bound the phone!");break; + case 619:ret = tr("Sending code error occurred!");break; + case 632:ret = tr("Phone code is expired!");break; +-- +2.33.0 + diff --git a/ukui-control-center.spec b/ukui-control-center.spec index e33d6ce..931920f 100644 --- a/ukui-control-center.spec +++ b/ukui-control-center.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: ukui-control-center Version: 3.0.1 -Release: 27 +Release: 28 Summary: utilities to configure the UKUI desktop License: GPL-2+ URL: http://www.ukui.org @@ -98,6 +98,7 @@ Suggests: ukui-settings-daemon Patch01:Modify-the-icon-displayed-on-the-tray.patch Patch02:Add-dependency-ddcutil.patch Patch03:modify-displayed-size-after-the-installation-and-download-of-system-update.patch +Patch04:fix-and-update-translation.patch %description The UKUI control center contains configuration applets for the UKUI desktop, @@ -110,6 +111,7 @@ Patch03:modify-displayed-size-after-the-installation-and-download-of-system-upda %patch01 -p1 %patch02 -p1 %patch03 -p1 +%patch04 -p1 %build qmake-qt5 @@ -157,6 +159,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Aug 04 2022 tanyulong - 3.0.1-28 +- fix and update translation + * Fri Jul 29 2022 tanyulong - 3.0.1-27 - modify displayed size after the installation and download of system update completed