diff --git a/SOURCES/0001-Fixed-Russian-translation.patch b/SOURCES/0001-Fixed-Russian-translation.patch new file mode 100644 index 0000000..f7c44d6 --- /dev/null +++ b/SOURCES/0001-Fixed-Russian-translation.patch @@ -0,0 +1,50 @@ +From 6505a8eba1421f241cc1af83b3f759071fe6c5ca Mon Sep 17 00:00:00 2001 +From: Sergey Cherevko +Date: Mon, 9 Sep 2024 16:33:04 +0300 +Subject: [PATCH] Fixed Russian translation + +--- + fileItem.js | 2 +- + po/ru.po | 6 +++++- + 2 files changed, 6 insertions(+), 2 deletions(-) + +diff --git a/fileItem.js b/fileItem.js +index 13435ec..b09611d 100644 +--- a/fileItem.js ++++ b/fileItem.js +@@ -363,7 +363,7 @@ var FileItem = class extends desktopIconItem.desktopIconItem { + } + + if (!this.trustedDesktopFile) { +- let title = 'Untrusted Desktop File'; ++ let title = _('Untrusted Desktop File'); + let error = _('This .desktop file is not trusted, it can not be launched. To enable launching, right-click, then:\n\nEnable "Allow Launching"'); + this._showerrorpopup(title, error); + } +diff --git a/po/ru.po b/po/ru.po +index be719ed..a8cf9c5 100644 +--- a/po/ru.po ++++ b/po/ru.po +@@ -232,7 +232,7 @@ msgstr "Изменить фон…" + + #: desktopManager.js:1038 + msgid "Desktop Icons Settings" +-msgstr "Параметры Desktop Icons" ++msgstr "Параметры" + + #: desktopManager.js:1042 + msgid "Display Settings" +@@ -339,6 +339,10 @@ msgstr "" + "\n" + "Включить параметр «Разрешить выполнение файла как программы»" + ++#: fileItem.js:366 ++msgid "Untrusted Desktop File" ++msgstr "Недоверенный .desktop файл" ++ + #: fileItem.js:367 + msgid "" + "This .desktop file is not trusted, it can not be launched. To enable " +-- +2.43.5 + diff --git a/SPECS/gnome-shell-extension-desktop-icons-ng.spec b/SPECS/gnome-shell-extension-desktop-icons-ng.spec index d27d9d2..8377d52 100644 --- a/SPECS/gnome-shell-extension-desktop-icons-ng.spec +++ b/SPECS/gnome-shell-extension-desktop-icons-ng.spec @@ -5,12 +5,13 @@ Name: gnome-shell-extension-%{extname_full} Version: 47.0.4 -Release: 1%{?dist} +Release: 1%{?dist}.inferit Summary: GNOME Shell extension (next gen) for providing desktop icons License: GPLv3+ URL: https://gitlab.com/rastersoft/desktop-icons-ng Source0: %{url}/-/archive/%{version}/desktop-icons-ng-%{version}.tar.gz +Patch0: 0001-Fixed-Russian-translation.patch BuildArch: noarch BuildRequires: gobject-introspection @@ -54,6 +55,9 @@ sed -e "/meson_post_install/d" -i meson.build %changelog +* Mon Dec 23 2024 Arkady L. Shane - 47.0.4-1.inferit +- Update Russian Translation + * Mon Dec 23 2024 Arkady L. Shane - 47.0.4-1 - Update to 47.0.4