From d829bf4d1367a7447abfe5e643d434b5e98f4eec Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Fri, 23 Jun 2023 14:05:22 +0300 Subject: [PATCH] Updated Russian translation --- .../0001-Updated-Russian-translation.patch | 89 +++++++++++++++++++ SPECS/gnome-terminal.spec | 12 ++- 2 files changed, 100 insertions(+), 1 deletion(-) create mode 100644 SOURCES/0001-Updated-Russian-translation.patch diff --git a/SOURCES/0001-Updated-Russian-translation.patch b/SOURCES/0001-Updated-Russian-translation.patch new file mode 100644 index 0000000..193cf2d --- /dev/null +++ b/SOURCES/0001-Updated-Russian-translation.patch @@ -0,0 +1,89 @@ +From 8172dbb9c9afcb259af8f74ea43ea7ef4e361347 Mon Sep 17 00:00:00 2001 +From: Sergey Cherevko +Date: Fri, 23 Jun 2023 11:17:14 +0300 +Subject: [PATCH] Updated Russian translation + +--- + po/ru.po | 39 +++++++++++++++++++++++++++++++++++---- + 1 file changed, 35 insertions(+), 4 deletions(-) + +diff --git a/po/ru.po b/po/ru.po +index 814ba61..1bbb804 100644 +--- a/po/ru.po ++++ b/po/ru.po +@@ -1115,6 +1115,10 @@ msgstr "Установить по умолчанию" + msgid "Cancel" + msgstr "Отменить" + ++#: src/preferences.ui:462 ++msgid "New tab _position:" ++msgstr "Позиция _новой вкладки:" ++ + #: ../src/profile-editor.c:158 + msgid "Black on light yellow" + msgstr "Чёрный на светло-жёлтом" +@@ -1698,10 +1702,6 @@ msgstr "_Убрать подсветку" + msgid "_Terminal" + msgstr "_Терминал" + +-#: ../src/terminal-menubar.ui.in.h:31 ../src/terminal-notebook-menu.ui.h:4 +-msgid "Set _Title…" +-msgstr "Установить _заголовок…" +- + #: ../src/terminal-menubar.ui.in.h:32 + msgid "Set _Character Encoding" + msgstr "Установить _кодировку символов" +@@ -1778,6 +1778,11 @@ msgstr "_Открепить терминал" + msgid "C_lose Terminal" + msgstr "_Закрыть терминал" + ++#: ../src/terminal-notebook-menu.ui.h:36 ../src/terminal-headermenu.ui:54 ../src/terminal-menubar.ui.in:148 ++msgid "Set _Title…" ++msgstr "_Установить Заголовок…" ++ ++ + #: ../src/terminal-options.c:281 + #, c-format + msgid "" +@@ -2553,12 +2558,38 @@ msgstr "_Закрыть окно" + #~ msgid "_Add or Remove…" + #~ msgstr "_Добавить или удалить…" + ++#: ../src/preferences.ui:2030 ++msgid "When terminal commands set their o_wn titles:" ++msgstr "Когда команды терминала устанавливают свои собственные заголовки:" ++ ++#: ../src/preferences.ui:1418 + msgid "Transparent background" + msgstr "Прозрачный фон" + ++#: ../src/preferences.ui:1979 + msgid "Title" + msgstr "Заголовок" + ++#: ../src/preferences.ui:2005 ++msgid "Initial _title:" ++msgstr "Первоначальный заголовок:" ++ ++#: ../src/preferences.ui:2163 ++msgid "_Preserve working directory:" ++msgstr "_Сохранить рабочий каталог:" ++ ++#: ../src/preferences.ui:277 ++msgid "Shell only" ++msgstr "Только оболочка" ++ ++#: ../src/preferences.ui:32 ++msgid "Last" ++msgstr "Последняя" ++ ++#: ../src/preferences.ui:36 ++msgid "Next" ++msgstr "Следующая" ++ + msgid "_Title:" + msgstr "За_головок:" + +-- +2.39.2 + diff --git a/SPECS/gnome-terminal.spec b/SPECS/gnome-terminal.spec index 4035624..b87d318 100644 --- a/SPECS/gnome-terminal.spec +++ b/SPECS/gnome-terminal.spec @@ -8,7 +8,7 @@ Name: gnome-terminal Version: 3.40.3 -Release: 1%{?dist} +Release: 1%{?dist}.inferit Summary: Terminal emulator for GNOME License: GPLv3+ and GFDL and LGPLv2+ @@ -17,6 +17,8 @@ Source0: https://download.gnome.org/sources/%{name}/3.40/%{name}-%{version}.tar. Source1: org.gnome.Terminal.gschema.override Patch100: gnome-terminal-cntr-ntfy-autottl-ts.patch +#MSVSphere +Patch500: 0001-Updated-Russian-translation.patch BuildRequires: pkgconfig(dconf) BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} @@ -60,6 +62,10 @@ option to the right-click context menu in Nautilus. %prep %autosetup -p1 +#MSVSphere: forced compilation of *.po +pushd %{_builddir}/%{name}-%{version}/po/ +for name_po in $(ls *.po) ; do msgfmt -o ${name_po%.*}.gmo ${name_po%.*}.po ; done +popd %build %configure \ @@ -111,6 +117,10 @@ make check %changelog +* Fri Jun 23 2023 Sergey Cherevko - 3.40.3-1.inferit +- Updated Russian translation +- Rebuilt for MSVSphere 9.2 + * Wed Mar 15 2023 MSVSphere Packaging Team - 3.40.3-1 - Rebuilt for MSVSphere 9.1.