From 32c76fd4976790d41bd1adc51d84c9a7706f6a8e Mon Sep 17 00:00:00 2001 From: pangqing Date: Tue, 26 Apr 2022 17:37:00 +0800 Subject: [PATCH] International modification Signed-off-by: pangqing --- ...ll-anolis-international-modification.patch | 35 +++++++++++++++++++ gnome-shell.spec | 7 +++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 0007-gnome-shell-anolis-international-modification.patch diff --git a/0007-gnome-shell-anolis-international-modification.patch b/0007-gnome-shell-anolis-international-modification.patch new file mode 100644 index 0000000..91f2cc9 --- /dev/null +++ b/0007-gnome-shell-anolis-international-modification.patch @@ -0,0 +1,35 @@ +From c113000beae22d02e6c319b26b4ac103b332793e Mon Sep 17 00:00:00 2001 +From: pangqing +Date: Tue, 26 Apr 2022 17:29:16 +0800 +Subject: [PATCH] international modification + +--- + 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 762b958..a98ccbd 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: 44%{?dist} +Release: 44%{anolis_release}%{?dist} Summary: Window management and application launching for GNOME Group: User Interface/Desktops @@ -75,6 +76,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-international-modification.patch # Stop screen recording on monitor changes (#1705392) Patch70: 0001-screencast-Stop-recording-when-screen-size-or-resour.patch @@ -275,6 +277,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/evolution-calendar.de %{_mandir}/man1/%{name}.1.gz %changelog +* Tue Apr 26 2022 pangqing - 3.32.2-44.0.1 +- International modification + * Fri Nov 26 2021 Florian Müllner - 3.32.2-44 - Fix more JS warnings Resolves: #2025940 -- Gitee