diff --git a/0001-fix-desktop-Add-Chinese-name-translation-to-desktop-.patch b/0001-fix-desktop-Add-Chinese-name-translation-to-desktop-.patch new file mode 100644 index 0000000000000000000000000000000000000000..8768891415c7243b7115092ff75f26e9c4a87a03 --- /dev/null +++ b/0001-fix-desktop-Add-Chinese-name-translation-to-desktop-.patch @@ -0,0 +1,29 @@ +From 2e401e51b4a4755bd77932b4a13e82c834905fc8 Mon Sep 17 00:00:00 2001 +From: wangxiaoqing +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 +--- + 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 + diff --git a/caja.spec b/caja.spec index 7316db79ab96a5b43f4f85051c595a174cc77c6f..d1bd5dd9caf601d8e976aff0924176a80e46635a 100755 --- a/caja.spec +++ b/caja.spec @@ -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 - 1.24.1-10 +- Add Chinese name translation to desktop files + * Fri Jul 29 2022 wangxiaoqing - 1.24.1-9 - Fix the file can be rename to only container space name - Let the location bar background change with theme