!10 translate date to chinese

From: @ikernel-mryao 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2022-12-15 04:10:42 +00:00 committed by Gitee
commit bad72cc8f2
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,30 @@
From d6146318dc313ff0576d256edb06ef3378b3c8e8 Mon Sep 17 00:00:00 2001
From: wangweichao <wangweichao@xfusion.com>
Date: Fri, 2 Sep 2022 16:11:06 +0800
Subject: [PATCH] translate date on gnome desktop to chinese
---
po/zh_CN.po | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 8b1c01e..7df1d83 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -144,6 +144,12 @@ msgstr "%-m月%-e日 %A, %p %-l:%M:%S"
msgid "%a %b %e, %l:%M %p"
msgstr "%-m月%-e日 %A, %p %-l:%M"
+msgid "%b %-e_%R"
+msgstr "%b%-e日_%R"
+
+msgid "%b %-e_%l:%M %p"
+msgstr "%b %-e日_%l:%M %p"
+
#. Translators: This is a time format with day used
#. for AM/PM.
#: ../libgnome-desktop/gnome-wall-clock.c:320
--
2.33.0

View File

@ -1,6 +1,6 @@
Name: gnome-desktop3
Version: 3.30.1
Release: 3
Release: 4
Summary: GNOME is designed to help you use your computer in control.
License: GPLv2+ and LGPLv2+
URL: http://www.gnome.org
@ -17,6 +17,8 @@ Requires: gdk-pixbuf2 >= 2.36.5 gsettings-desktop-schemas >= 3.27.0
Conflicts: gnome-shell < 3.7.90
Obsoletes: compat-gnome-desktop310 < 3.12
Patch1: gnome-desktop-translate-date-to-chinese.patch
%description
The gnome-desktop3 package has been designed from the ground up to help you have
the best computing experience.
@ -65,6 +67,11 @@ Development files for gnome-desktop3.
%exclude %{_libdir}/*.la
%changelog
* Wed Dec 14 2022 yaoguangzhong <yaoguangzhong@xfusion.com> - 3.30.1-4
- Type:bugfix
- CVE:
- DESC:translate date on gnome desktop to chinese with 12-hour time system
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.30.1-3
- change the path of files