!21 桌面快捷方式添加对蒙古语的支持

From: @chenguanglee 
Reviewed-by: @dou33 
Signed-off-by: @dou33
This commit is contained in:
openeuler-ci-bot 2024-05-09 05:37:19 +00:00 committed by Gitee
commit 30326e2ce0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,32 @@
From 8d8a254b063603e89e89dc380c43d76596c54c84 Mon Sep 17 00:00:00 2001
From: chenguanglee <lichenguang@kylinos.cn>
Date: Thu, 9 May 2024 11:19:14 +0800
Subject: [PATCH] support mongolian in shortcut icon
---
UIControl/kylin-usb-creator.desktop | 3 +++
1 file changed, 3 insertions(+)
diff --git a/UIControl/kylin-usb-creator.desktop b/UIControl/kylin-usb-creator.desktop
index cc299f4..5b96e0f 100644
--- a/UIControl/kylin-usb-creator.desktop
+++ b/UIControl/kylin-usb-creator.desktop
@@ -2,12 +2,15 @@
Name=USB Boot Maker
Name[zh_CN]=U盘启动器
Name[bo_CN]=ཆི་ལིན་Uསྡེར་སྒུལ ཆས་
+Name[mn_MN]=U ᠳ᠋ᠠᠢᠢᠰᠺ ᠬᠥᠳᠡᠯᠭᠡᠭᠦᠷ
Comment=A tool for making USB flash disk made by Kylin software
Comment[zh_CN]=由麒麟软件开发的一款制作U盘启动盘的软件
Comment[bo_CN]=ཆི་ལིན་མཉེན་ཆས་གསར་སྤེལ་གྱི་ནང་གསེས་དོན་ཚན་གཅིག་བཟོས་Uསྡེར་འགོ་བརྩམས་པའི་མཉེན་ཆས།
+Comment[mn_MN]=ᠪᠢᠯᠢᠭᠲᠦ ᠭᠥᠷᠥᠭᠡᠰᠦ ᠶᠢᠨ ᠰᠣᠹᠲ ᠠᠴᠠ ᠨᠡᠭᠡᠭᠡᠭᠰᠡᠨ U ᠳ᠋ᠠᠢᠢᠰᠺ ᠤᠨ ᠬᠥᠳᠡᠯᠭᠡᠬᠦ ᠲᠠᠪᠠᠭ ᠢ ᠬᠢᠳᠡᠭ ᠰᠣᠹᠲ ᠤᠨ
GenericName=Startup disk making tool
GenericName[zh_CN]=启动盘制作工具
GenericName[bo_CN]=འགོ་སློང་སྡེར་ལས་ལག་ཆ་
+GenericName[mn_MN]=ᠬᠥᠳᠡᠯᠭᠡᠬᠦ ᠲᠠᠪᠠᠭ ᠦᠢᠯᠡᠳᠬᠦ ᠪᠠᠭᠠᠵᠢ
Exec=/usr/bin/kylin-usb-creator %u
Icon=kylin-usb-creator
Type=Application
--
2.27.0

View File

@ -1,6 +1,6 @@
Name: kylin-usb-creator
Version: 1.1.2
Release: 3
Release: 4
Summary: kylin-usb-creator
License: GPL-3+
URL: http://www.ukui.org
@ -9,6 +9,7 @@ Patch01: 0001-fix-version-of-kylin-usb-creator.patch
Patch02: 0002-add-kylin-user-guide-of-kylin-usb-creator.patch
Patch03: 0003-fix-clang.patch
Patch04: 0001-misc-fixes-deprecated-func-memory-leaks-code-error.patch
Patch05: 0005-support-mongolian-in-shortcut-icon.patch
BuildRequires: qt5-qttools-devel
BuildRequires: qt5-qtscript-devel
@ -31,6 +32,7 @@ BuildRequires: ukui-interface
%patch 2 -p1
%patch 3 -p1
%patch 4 -p1
%patch 5 -p1
%build
%{qmake_qt5} %{_qt5_qmake_flags} CONFIG+=enable-by-default kylin-usb-creator.pro
@ -66,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu May 09 2024 chenguanglee <lichenguang@kylinos.cn> 1.1.2-4
- support mongolian in shortcut icon
* Mon May 06 2024 houhongxun <houhongxun@kylinos.cn> - 1.1.2-3
- misc fixes: memory leaks, deprecated funcs, code errors