!54 修改鼠标移至文件资源管理器图标上方,提示语未汉化

From: @wangxiaoqing987 
Reviewed-by: @tangjie02 
Signed-off-by: @tangjie02
This commit is contained in:
openeuler-ci-bot 2022-09-02 05:29:47 +00:00 committed by Gitee
commit eedd3214b5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,29 @@
From 2e401e51b4a4755bd77932b4a13e82c834905fc8 Mon Sep 17 00:00:00 2001
From: wangxiaoqing <wangxiaoqing@kylinsec.com.cn>
Date: Fri, 2 Sep 2022 09:40:03 +0800
Subject: [PATCH] fix(desktop): Add Chinese name translation to desktop files
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 给桌面文件添加中文名称翻译, 使得面板上图标的提示语为文件管理器
Signed-off-by: wangxiaoqing <wangxiaoqing@kylinsec.com.cn>
---
data/caja.desktop.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/data/caja.desktop.in b/data/caja.desktop.in
index 3d8a122..b1fb931 100644
--- a/data/caja.desktop.in
+++ b/data/caja.desktop.in
@@ -1,5 +1,6 @@
[Desktop Entry]
Name=Caja
+Name[zh_CN]=文件管理器
GenericName[af]=Lêerbestuurder
GenericName[am]=የ ፋይል አስተዳዳሪ
GenericName[ar]=مدير الملفات
--
2.36.1

View File

@ -16,7 +16,7 @@ Name: caja
Summary: File manager for MATE
Version: %{branch}.1
%if 0%{?rel_build}
Release: 9
Release: 10
%else
Release: 0.15%{?git_rel}
%endif
@ -39,6 +39,7 @@ Patch6: 0001-Fix-the-file-can-be-rename-to-only-container-space-n.patch
Patch7: 0002-Let-the-location-bar-background-change-with-theme.patch
Patch8: 0003-Fix-the-background-image-can-not-draw-all-when-rotat.patch
Patch9: 0004-Not-draw-icon-and-text-hight-light-color-when-icon-n.patch
Patch10: 0001-fix-desktop-Add-Chinese-name-translation-to-desktop-.patch
BuildRequires: dbus-glib-devel
BuildRequires: desktop-file-utils
@ -190,6 +191,9 @@ EOF
%changelog
* Fri Sep 02 2022 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 1.24.1-10
- Add Chinese name translation to desktop files
* Fri Jul 29 2022 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 1.24.1-9
- Fix the file can be rename to only container space name
- Let the location bar background change with theme