From dfa8177b27a513de6d4462a0c1ae0804452f4a80 Mon Sep 17 00:00:00 2001 From: huayadong Date: Wed, 31 May 2023 15:15:32 +0800 Subject: [PATCH] add translation about QPlatformTheme (cherry picked from commit cb119b92dbf2037dc387a4e0b18440a4e85c57f6) --- ...add-translation-about-QPlatformTheme.patch | 98 +++++++++++++++++++ qt5-qttranslations.spec | 7 +- 2 files changed, 103 insertions(+), 2 deletions(-) create mode 100644 0001-add-translation-about-QPlatformTheme.patch diff --git a/0001-add-translation-about-QPlatformTheme.patch b/0001-add-translation-about-QPlatformTheme.patch new file mode 100644 index 0000000..9111c44 --- /dev/null +++ b/0001-add-translation-about-QPlatformTheme.patch @@ -0,0 +1,98 @@ +From 0b750468a45ed80653acb64c2beb8babd6eddd87 Mon Sep 17 00:00:00 2001 +From: peijiankang +Date: Wed, 31 May 2023 15:02:00 +0800 +Subject: [PATCH] add translation about QPlatformTheme + +--- + translations/qt_zh_CN.ts | 75 ++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 75 insertions(+) + +diff --git a/translations/qt_zh_CN.ts b/translations/qt_zh_CN.ts +index f09c603..09bdb39 100644 +--- a/translations/qt_zh_CN.ts ++++ b/translations/qt_zh_CN.ts +@@ -3751,6 +3751,81 @@ Do you want to delete it anyway? + 下边距 + + ++ ++ QPlatformTheme ++ ++ OK ++ 确定 ++ ++ ++ Save ++ 保存 ++ ++ ++ Save All ++ 全部保存 ++ ++ ++ Open ++ 打开 ++ ++ ++ &Yes ++ 是(&Y) ++ ++ ++ Yes to &All ++ 全是(&A) ++ ++ ++ &No ++ 否(&N) ++ ++ ++ N&o to All ++ 全否(&O) ++ ++ ++ Abort ++ 中止 ++ ++ ++ Retry ++ 重试 ++ ++ ++ Ignore ++ 忽略 ++ ++ ++ Close ++ 关闭 ++ ++ ++ Cancel ++ 取消 ++ ++ ++ Discard ++ 丢弃 ++ ++ ++ Help ++ 帮助 ++ ++ ++ Apply ++ 应用 ++ ++ ++ Reset ++ 重置 ++ ++ ++ Restore Defaults ++ 恢复默认值 ++ ++ + + QPluginLoader + +-- +2.33.0 + diff --git a/qt5-qttranslations.spec b/qt5-qttranslations.spec index 4231202..0a0ae97 100644 --- a/qt5-qttranslations.spec +++ b/qt5-qttranslations.spec @@ -2,14 +2,14 @@ Name: qt5-qttranslations Version: 5.15.2 -Release: 1 +Release: 2 Summary: Qt5 - QtTranslations module License: LGPLv2 with exceptions or GPLv3 with exceptions and GFDL Url: http://www.qt.io %global majmin %(echo %{version} | cut -d. -f1-2) Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/qttranslations-everywhere-src-%{version}.tar.xz - +Patch01: 0001-add-translation-about-QPlatformTheme.patch BuildArch: noarch BuildRequires: make BuildRequires: qt5-qtbase-devel qt5-linguist @@ -79,6 +79,9 @@ make install INSTALL_ROOT=%{buildroot} %changelog +* Wed May 31 2023 peijiankang - 5.15.2-2 +- add translation about QPlatformTheme + * Wed Oct 13 2021 peijiankang - 5.15.2-1 - update to upstream version 5.15.2