From 5fb0a9f97ac63d39df08c7e6d3668faeb0fd91d5 Mon Sep 17 00:00:00 2001 From: pangqing Date: Fri, 1 Apr 2022 16:55:48 +0800 Subject: [PATCH] internationalization Signed-off-by: pangqing --- ...me-shell-anolis-internationalization.patch | 36 +++++++++++++++++++ gnome-shell.spec | 8 +++-- 2 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 0007-gnome-shell-anolis-internationalization.patch diff --git a/0007-gnome-shell-anolis-internationalization.patch b/0007-gnome-shell-anolis-internationalization.patch new file mode 100644 index 0000000..958399d --- /dev/null +++ b/0007-gnome-shell-anolis-internationalization.patch @@ -0,0 +1,36 @@ +From 3036e97ff6bdf1c8b77d9012400b6b571062f944 Mon Sep 17 00:00:00 2001 +From: rpm-build +Date: Fri, 25 Mar 2022 18:31:22 +0800 +Subject: [PATCH] internationalization + +Signed-off-by: rpm-build +--- + po/zh_CN.po | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/po/zh_CN.po b/po/zh_CN.po +index 4dc1a9c..c9b9717 100644 +--- a/po/zh_CN.po ++++ b/po/zh_CN.po +@@ -63,6 +63,18 @@ msgstr "打开应用程序菜单" + msgid "Shell Extensions" + msgstr "Shell 扩展" + ++#: js/ui/main.js:249 ++msgid "Logged in as a privileged user" ++msgstr "作为特权用户登录" ++ ++#: js/ui/main.js:250 ++msgid "" ++"Running a session as a privileged user should be avoided for " ++"security reasons. If possible, you should log in as a normal user." ++msgstr "" ++"出于安全原因,应该避免以特权用户的身份运行会话。如果可能," ++"您应该以普通用户的身份登录。" ++ + #: data/gnome-shell-extension-prefs.desktop.in.in:5 + msgid "Configure GNOME Shell Extensions" + msgstr "配置 GNOME Shell 扩展" +-- +2.18.4 + diff --git a/gnome-shell.spec b/gnome-shell.spec index ce18ea8..725a72c 100644 --- a/gnome-shell.spec +++ b/gnome-shell.spec @@ -1,6 +1,7 @@ +%define anolis_release .0.1 Name: gnome-shell Version: 3.32.2 -Release: 40%{?dist} +Release: 40%{anolis_release}%{?dist} Summary: Window management and application launching for GNOME Group: User Interface/Desktops @@ -74,7 +75,7 @@ Patch62: 0003-shell-app-system-Monitor-for-icon-theme-changes.patch Patch63: 0004-global-force-fsync-to-worker-thread-when-saving-stat.patch Patch64: 0005-app-cache-add-ShellAppCache-for-GAppInfo-caching.patch Patch65: 0006-js-Always-use-AppSystem-to-lookup-apps.patch - +Patch66: 0007-gnome-shell-anolis-internationalization.patch # Stop screen recording on monitor changes (#1705392) Patch70: 0001-screencast-Stop-recording-when-screen-size-or-resour.patch @@ -271,6 +272,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/evolution-calendar.de %{_mandir}/man1/%{name}.1.gz %changelog +* Fri Mar 25 2022 pangqing - 3.32.2-40.0.1 +- Internationalization + * Tue Aug 31 2021 Ray Strode - 3.32.2-40 - Add bugs introduced in backport for #1651378 Related: #1999758 -- Gitee