!14 kylin user guide desktop add bo translate

From: @jackssir 
Reviewed-by: @dou33 
Signed-off-by: @dou33
This commit is contained in:
openeuler-ci-bot 2022-09-23 02:06:27 +00:00 committed by Gitee
commit 7ad0e521b7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 56 additions and 1 deletions

View File

@ -0,0 +1,49 @@
From b814f9fec6560cf0892c54061d495a47e19cb9ff Mon Sep 17 00:00:00 2001
From: lvfei <lvfei@kylinos.cn>
Date: Wed, 21 Sep 2022 09:33:32 +0800
Subject: [PATCH] kylin user guide add bo desktop translate
---
src/data/kylin-user-guide-daemon.desktop | 3 +++
src/data/kylin-user-guide.desktop | 3 +++
2 files changed, 6 insertions(+)
diff --git a/src/data/kylin-user-guide-daemon.desktop b/src/data/kylin-user-guide-daemon.desktop
index 2760441..14625f5 100644
--- a/src/data/kylin-user-guide-daemon.desktop
+++ b/src/data/kylin-user-guide-daemon.desktop
@@ -1,10 +1,13 @@
[Desktop Entry]
Name=KYLIN USER GUIDE
Name[zh_CN]=kylin-user-guide.desktop
+Name[bo_CN]=སྤྱད་མཁན་ལག་དེབ།
GenericName=kylin user guide
GenericName[zh_CN]=用户手册
+GenericName[bo_CN]=སྤྱད་མཁན་ལག་དེབ།
Comment=kylin user guide
Comment[zh_CN]=银河麒麟用户手册
+Comment[bo_CN]=ཆི་ལིན་སྤྱད་མཁན་ཡིག་དེབ།
Keywords=guide;
Exec=/usr/bin/user-guide-daemon
Icon=kylin-user-guide
diff --git a/src/data/kylin-user-guide.desktop b/src/data/kylin-user-guide.desktop
index 133dc36..8a35bac 100644
--- a/src/data/kylin-user-guide.desktop
+++ b/src/data/kylin-user-guide.desktop
@@ -1,10 +1,13 @@
[Desktop Entry]
Name=Kylin User Guide
Name[zh_CN]=用户手册
+Name[bo_CN]=སྤྱད་མཁན་ལག་དེབ།
GenericName=kylin user guide
GenericName[zh_CN]=用户手册
+GenericName[bo_CN]=སྤྱད་མཁན་ལག་དེབ།
Comment=kylin user guide
Comment[zh_CN]=麒麟用户手册
+Comment[bo_CN]=ཆི་ལིན་སྤྱད་མཁན་ཡིག་དེབ།
Keywords=guide;
Exec=/usr/bin/kylin-user-guide -A %u
Icon=kylin-user-guide
--
2.27.0

View File

@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: kylin-user-guide
Version: 1.0.4
Release: 5
Release: 6
Summary: A component of the ukui desktop environment that provides convenient text
License: CC-BY-SA-4.0 and GPL-3.0-or-later
URL: http://www.ukui.org
@ -10,6 +10,7 @@ Patch01: 0001-modify-compile-error-of-None.patch
Patch02: 0002-Fix-kylin-user-guide-version-is-empty.patch
Patch03: 0003-Fix-no-response-of-interface.patch
Patch04: 0001-kylin-user-guide-add-bo-translate.patch
Patch05: 0001-kylin-user-guide-add-bo-desktop-translate.patch
BuildRequires: cmake
BuildRequires: qt5-qtbase-devel
@ -46,6 +47,7 @@ this packages contains the picture of application
%patch02 -p1
%patch03 -p1
%patch04 -p1
%patch05 -p1
%build
mkdir build && cd build
@ -87,6 +89,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Sep 21 2022 lvfei <lvfei@kylinos.cn> - 1.0.4-6
- add patch:0001-kylin-user-guide-add-bo-desktop-translate.patch
- kylin user guide add desktop zangwen support
* Fri Sep 9 2022 lvfei <lvfei@kylinos.cn> - 1.0.4-5
- add patch:0001-kylin-user-guide-add-bo-translate.patch
- kylin user guide add zangwen support