Compare commits
10 Commits
6b3598c2f6
...
b4a26a94c2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b4a26a94c2 | ||
|
|
03575d25ac | ||
|
|
aafa7cb47f | ||
|
|
dfa8177b27 | ||
|
|
8da64db125 | ||
|
|
ad77041a39 | ||
|
|
dfdc45a870 | ||
|
|
f63594a4d8 | ||
|
|
7147a83069 | ||
|
|
a1d1b730d0 |
98
0001-add-translation-about-QPlatformTheme.patch
Normal file
98
0001-add-translation-about-QPlatformTheme.patch
Normal file
@ -0,0 +1,98 @@
|
||||
From 0b750468a45ed80653acb64c2beb8babd6eddd87 Mon Sep 17 00:00:00 2001
|
||||
From: peijiankang <peijiankang@kylinos.cn>
|
||||
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?</source>
|
||||
<translation>下边距</translation>
|
||||
</message>
|
||||
</context>
|
||||
+<context>
|
||||
+ <name>QPlatformTheme</name>
|
||||
+ <message>
|
||||
+ <source>OK</source>
|
||||
+ <translation>确定</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>Save</source>
|
||||
+ <translation>保存</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>Save All</source>
|
||||
+ <translation>全部保存</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>Open</source>
|
||||
+ <translation>打开</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>&Yes</source>
|
||||
+ <translation>是(&Y)</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>Yes to &All</source>
|
||||
+ <translation>全是(&A)</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>&No</source>
|
||||
+ <translation>否(&N)</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>N&o to All</source>
|
||||
+ <translation>全否(&O)</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>Abort</source>
|
||||
+ <translation>中止</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>Retry</source>
|
||||
+ <translation>重试</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>Ignore</source>
|
||||
+ <translation>忽略</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>Close</source>
|
||||
+ <translation>关闭</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>Cancel</source>
|
||||
+ <translation>取消</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>Discard</source>
|
||||
+ <translation>丢弃</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>Help</source>
|
||||
+ <translation>帮助</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>Apply</source>
|
||||
+ <translation>应用</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>Reset</source>
|
||||
+ <translation>重置</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <source>Restore Defaults</source>
|
||||
+ <translation>恢复默认值</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
<context>
|
||||
<name>QPluginLoader</name>
|
||||
<message>
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,14 +1,17 @@
|
||||
%global _qt5_qmake %{_bindir}/qmake-qt5
|
||||
|
||||
Name: qt5-qttranslations
|
||||
Version: 5.11.1
|
||||
Release: 4
|
||||
Version: 5.15.2
|
||||
Release: 3
|
||||
Summary: Qt5 - QtTranslations module
|
||||
License: LGPLv2 with exceptions or GPLv3 with exceptions and GFDL
|
||||
Url: http://www.qt.io
|
||||
|
||||
Source0: https://download.qt.io/archive/qt/5.11/5.11.1/submodules/qttranslations-everywhere-src-5.11.1.tar.xz
|
||||
License: LGPLv2 with exceptions or GPLv3 with exceptions and GFDL-1.1-or-later
|
||||
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
|
||||
|
||||
%if 0%{?_qt5:1}
|
||||
@ -69,11 +72,24 @@ make install INSTALL_ROOT=%{buildroot}
|
||||
%lang(sk) %{_qt5_translationdir}/*_sk.qm
|
||||
%lang(sl) %{_qt5_translationdir}/*_sl.qm
|
||||
%lang(sv) %{_qt5_translationdir}/*_sv.qm
|
||||
%lang(sv) %{_qt5_translationdir}/*_tr.qm
|
||||
%lang(uk) %{_qt5_translationdir}/*_uk.qm
|
||||
%lang(zh_CN) %{_qt5_translationdir}/*_zh_CN.qm
|
||||
%lang(zh_TW) %{_qt5_translationdir}/*_zh_TW.qm
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed May 31 2023 peijiankang <peijiankang@kylinos.cn> - 5.15.2-3
|
||||
- add translation about QPlatformTheme
|
||||
|
||||
* Wed Jul 13 2022 Chenyx <chenyixiong3@huawei.com> - 5.15.2-2
|
||||
- License compliance rectification
|
||||
|
||||
* Wed Oct 13 2021 peijiankang <peijiankang@kylinos.cn> - 5.15.2-1
|
||||
- update to upstream version 5.15.2
|
||||
|
||||
* Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-5
|
||||
- Fix Source0
|
||||
|
||||
* Fri Feb 14 2020 lingsheng <lingsheng@huawei.com> - 5.11.1-4
|
||||
- Package init
|
||||
|
||||
4
qt5-qttranslations.yaml
Normal file
4
qt5-qttranslations.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: git
|
||||
src_repo: https://code.qt.io/qt/qttranslations.git
|
||||
tag_prefix: "^v"
|
||||
separator: "."
|
||||
Binary file not shown.
BIN
qttranslations-everywhere-src-5.15.2.tar.xz
Normal file
BIN
qttranslations-everywhere-src-5.15.2.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user