diff --git a/SOURCES/0008-Replace-Fedora-references-and-update-translations.patch b/SOURCES/0008-Replace-Fedora-references-and-update-translations.patch index 482a6cb..33862b4 100644 --- a/SOURCES/0008-Replace-Fedora-references-and-update-translations.patch +++ b/SOURCES/0008-Replace-Fedora-references-and-update-translations.patch @@ -1,16 +1,15 @@ -From e02c546fc470816562c2572313a623fc313ca25f Mon Sep 17 00:00:00 2001 +From 35f26b9d5cc7cad04f2dd981fe445170a6f36c9b Mon Sep 17 00:00:00 2001 From: Eugene Zamriy Date: Fri, 14 Apr 2023 18:23:29 +0300 -Subject: [PATCH 8/9] Replace Fedora references and update translations +Subject: [PATCH 1/2] Replace Fedora references and update translations --- - data/liveinst/gnome/fedora-welcome.desktop | 3 +- - data/liveinst/gnome/fedora-welcome.js | 6 +-- - docs/intro.rst | 4 +- - docs/iscsi.rst | 2 +- - po/ru.po | 46 +++++++++++----------- - pyanaconda/core/constants.py | 4 +- - 6 files changed, 33 insertions(+), 32 deletions(-) + data/liveinst/gnome/fedora-welcome.desktop | 3 ++- + data/liveinst/gnome/fedora-welcome.js | 6 +++--- + docs/intro.rst | 4 ++-- + docs/iscsi.rst | 2 +- + pyanaconda/core/constants.py | 4 ++-- + 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/data/liveinst/gnome/fedora-welcome.desktop b/data/liveinst/gnome/fedora-welcome.desktop index 60e5c38..90f5678 100644 @@ -83,142 +82,11 @@ index 847078d..6d9c4b3 100644 and so the issues can often be reproduced and debugged. -diff --git a/po/ru.po b/po/ru.po -index e461fe9..fcf49d1 100644 ---- a/po/ru.po -+++ b/po/ru.po -@@ -987,7 +987,7 @@ msgid "" - "recommended for a normal %(productName)s install." - msgstr "" - "Размер раздела %(mount)s меньше %(size)s, что меньше рекомендованного " --"размера для обычной установки %(productName)s." -+"размера для обычной установки МСВСфера." - - #: pyanaconda/modules/storage/checker/utils.py:131 - #, python-format -@@ -1477,13 +1477,13 @@ msgstr "" - - #: pyanaconda/core/constants.py:159 - msgid "" --"This hardware (or a combination thereof) is not supported by Red Hat. For " --"more information on supported hardware, please refer to http://www.redhat." --"com/hardware." -+"This hardware (or a combination thereof) is not supported by MSVSphere. " -+"For more information on supported hardware, please refer to " -+"https://msvsphere.ru." - msgstr "" --"Это аппаратное обеспечение (или их комбинация) не поддерживается Red Hat. " --"Для получения дополнительной информации о поддерживаемом оборудовании см. " --"http://www.redhat.com/hardware." -+"Это аппаратное обеспечение (или их комбинация) не поддерживается " -+"МСВСфера. Для получения дополнительной информации о поддерживаемом " -+"оборудовании см. https://msvsphere.ru." - - #: pyanaconda/core/constants.py:165 - msgid "" -@@ -2027,12 +2027,12 @@ msgstr "Сетевые устройства недоступны" - #: pyanaconda/vnc.py:79 - #, python-format - msgid "%(productName)s %(productVersion)s installation" --msgstr "Установка %(productName)s %(productVersion)s" -+msgstr "Установка МСВСфера %(productVersion)s" - - #: pyanaconda/vnc.py:148 - #, python-format - msgid "%(productName)s %(productVersion)s installation on host %(name)s" --msgstr "Установка %(productName)s %(productVersion)s на %(name)s" -+msgstr "Установка МСВСфера %(productVersion)s на %(name)s" - - #: pyanaconda/vnc.py:167 - #, python-format -@@ -2153,7 +2153,7 @@ msgstr "" - #: pyanaconda/product.py:69 - #, python-format - msgid "%(productName)s %(productVersion)s INSTALLATION" --msgstr "УСТАНОВКА %(productName)s %(productVersion)s" -+msgstr "УСТАНОВКА МСВСфера %(productVersion)s" - - #: pyanaconda/payload/live/payload_base.py:73 - #: pyanaconda/payload/live/payload_liveos.py:93 -@@ -2261,7 +2261,7 @@ msgid "" - "\"\">Click for details." - msgstr "" - "Предупреждение: в процессоре включена одновременная многопоточность (SMT). " --"Нжмите для получения дополнительной информации." -+"Нажмите для получения дополнительной информации." - - #: pyanaconda/ui/gui/hubs/summary.py:103 - msgid "" -@@ -2286,7 +2286,7 @@ msgstr "Заполните отмеченные секции, прежде че - #: pyanaconda/ui/gui/spokes/welcome.py:274 - #, python-format - msgid "WELCOME TO %(name)s %(version)s." --msgstr "ДОБРО ПОЖАЛОВАТЬ В %(name)s %(version)s." -+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s." - - #: pyanaconda/ui/gui/spokes/user.py:68 - msgid "Invalid group name." -@@ -2456,10 +2456,10 @@ msgid "" - "could add more disks for additional space, modify your software selection to " - "install a smaller version of %(productName)s, or quit the installer." - msgstr "" --"Недостаточно места для установки %(productName)s, даже если " -+"Недостаточно места для установки МСВСфера, даже если " - "использовать всё свободное место на выбранных дисках. Можно добавить ещё " - "диски, чтобы получить дополнительное место, изменить выбор программного " --"обеспечения, чтобы установить меньший вариант %(productName)s, или " -+"обеспечения, чтобы установить меньший вариант МСВСфера, или " - "покинуть программу установки." - - #: pyanaconda/ui/gui/spokes/lib/accordion.py:423 -@@ -3699,7 +3699,7 @@ msgstr[2] "Выбраны {} устройств _хранения" - - #: pyanaconda/ui/gui/__init__.py:365 widgets/src/BaseWindow.c:151 - msgid "Help!" --msgstr "Помогите!" -+msgstr "Справка" - - #: pyanaconda/ui/gui/__init__.py:870 - msgctxt "GUI|Yes No Dialog" -@@ -7442,25 +7442,25 @@ msgstr "Установить Live CD на жёсткий диск" - - #: data/liveinst/gnome/fedora-welcome.desktop:3 - #: data/liveinst/gnome/fedora-welcome.js:65 --msgid "Welcome to Fedora" --msgstr "Добро пожаловать в Fedora" -+msgid "Welcome to MSVSphere" -+msgstr "Добро пожаловать в МСВСфера" - - #: data/liveinst/liveinst-setup.desktop:4 - msgid "Liveinst Setup" - msgstr "Настройка Liveinst" - - #: data/liveinst/gnome/fedora-welcome.js:94 --msgid "Try Fedora" --msgstr "Попробуйте Fedora" -+msgid "Try MSVSphere" -+msgstr "Попробуйте МСВСфера" - - #: data/liveinst/gnome/fedora-welcome.js:110 - msgid "" --"You are currently running Fedora from live media.\n" --"You can install Fedora now, or choose \"Install to Hard Drive\" in the " -+"You are currently running MSVSphere from live media.\n" -+"You can install MSVSphere now, or choose \"Install to Hard Drive\" in the " - "Activities Overview at any later time." - msgstr "" --"Fedora запущена с установочного диска.\n" --"Вы можете установить Fedora сейчас или в любое время выбрать «Установить на " -+"МСВСфера запущена с установочного диска.\n" -+"Вы можете установить МСВСфера сейчас или в любое время выбрать «Установить на " - "жесткий диск» в меню «Обзор»." - - #: data/liveinst/gnome/fedora-welcome.js:130 diff --git a/pyanaconda/core/constants.py b/pyanaconda/core/constants.py -index 5122035..b3c574c 100644 +index 2f62cce..446fa0b 100644 --- a/pyanaconda/core/constants.py +++ b/pyanaconda/core/constants.py -@@ -157,8 +157,8 @@ WARNING_SUPPORT_REMOVED = N_( +@@ -156,8 +156,8 @@ WARNING_SUPPORT_REMOVED = N_( ) WARNING_HARDWARE_UNSUPPORTED = N_( diff --git a/SOURCES/0011-Update-Russian-translation.patch b/SOURCES/0011-Update-Russian-translation.patch new file mode 100644 index 0000000..56c2928 --- /dev/null +++ b/SOURCES/0011-Update-Russian-translation.patch @@ -0,0 +1,145 @@ +From 92b8e6936f568e64751314f42a09672db567b442 Mon Sep 17 00:00:00 2001 +From: Sergey Cherevko +Date: Thu, 18 May 2023 11:38:45 +0300 +Subject: [PATCH 2/2] Update Russian translation + +--- + po/ru.po | 44 ++++++++++++++++++++++---------------------- + 1 file changed, 22 insertions(+), 22 deletions(-) + +diff --git a/po/ru.po b/po/ru.po +index c478f3f..18ad5e4 100644 +--- a/po/ru.po ++++ b/po/ru.po +@@ -378,7 +378,7 @@ msgstr "" + #: pyanaconda/product.py:69 + #, python-format + msgid "%(productName)s %(productVersion)s INSTALLATION" +-msgstr "УСТАНОВКА %(productName)s %(productVersion)s" ++msgstr "УСТАНОВКА МСВСфера %(productVersion)s" + + #: pyanaconda/ui/tui/hubs/__init__.py:54 + msgid "Default HUB title" +@@ -1152,7 +1152,7 @@ msgstr "" + + #: pyanaconda/ui/gui/__init__.py:365 widgets/src/BaseWindow.c:151 + msgid "Help!" +-msgstr "Помогите!" ++msgstr "Справка" + + #: pyanaconda/ui/gui/__init__.py:854 + #: pyanaconda/ui/gui/spokes/lib/detailederror.py:58 +@@ -1182,7 +1182,7 @@ msgid "" + "\"\">Click for details." + msgstr "" + "Предупреждение: в процессоре включена одновременная многопоточность (SMT). " +-"Нжмите для получения дополнительной информации." ++"Нажмите для получения дополнительной информации." + + #: pyanaconda/ui/gui/hubs/summary.py:103 + msgid "" +@@ -1427,7 +1427,7 @@ msgstr "О_ставить текущий выбор" + #: pyanaconda/ui/gui/spokes/welcome.py:274 + #, python-format + msgid "WELCOME TO %(name)s %(version)s." +-msgstr "ДОБРО ПОЖАЛОВАТЬ В %(name)s %(version)s." ++msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s." + + #: pyanaconda/ui/gui/spokes/root_password.py:52 + msgctxt "GUI|Spoke" +@@ -2060,7 +2060,7 @@ msgid "" + " You don't have enough space available to install %(product)s, even " + "if you used all of the free space available on the selected disks." + msgstr "" +-" Недостаточно места для установки %(product)s, даже если " ++" Недостаточно места для установки МСВСфера, даже если " + "использовать все свободное место на выбранных дисках." + + #: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:178 +@@ -2071,10 +2071,10 @@ msgid "" + "could add more disks for additional space, modify your software selection to " + "install a smaller version of %(productName)s, or quit the installer." + msgstr "" +-"Недостаточно места для установки %(productName)s, даже если " ++"Недостаточно места для установки МСВСфера, даже если " + "использовать всё свободное место на выбранных дисках. Можно добавить ещё " + "диски, чтобы получить дополнительное место, изменить выбор программного " +-"обеспечения, чтобы установить меньший вариант %(productName)s, или " ++"обеспечения, чтобы установить меньший вариант МСВСфера, или " + "покинуть программу установки." + + #: pyanaconda/ui/gui/spokes/lib/detailederror.py:48 +@@ -2868,7 +2868,7 @@ msgid "" + "recommended for a normal %(productName)s install." + msgstr "" + "Размер раздела %(mount)s меньше %(size)s, что меньше рекомендованного " +-"размера для обычной установки %(productName)s." ++"размера для обычной установки МСВСфера." + + #: pyanaconda/modules/storage/checker/utils.py:131 + #, python-format +@@ -3959,13 +3959,13 @@ msgstr "" + + #: pyanaconda/core/constants.py:159 + msgid "" +-"This hardware (or a combination thereof) is not supported by Red Hat. For " +-"more information on supported hardware, please refer to http://www.redhat." +-"com/hardware." ++"This hardware (or a combination thereof) is not supported by MSVSphere. " ++"For more information on supported hardware, please refer to " ++"https://msvsphere.ru." + msgstr "" +-"Это аппаратное обеспечение (или их комбинация) не поддерживается Red Hat. " +-"Для получения дополнительной информации о поддерживаемом оборудовании см. " +-"http://www.redhat.com/hardware." ++"Это аппаратное обеспечение (или их комбинация) не поддерживается " ++"МСВСфера. Для получения дополнительной информации о поддерживаемом " ++"оборудовании см. https://msvsphere.ru." + + #: pyanaconda/core/constants.py:165 + msgid "" +@@ -4306,12 +4306,12 @@ msgstr "Полное имя не может содержать двоеточи + #: pyanaconda/vnc.py:79 + #, python-format + msgid "%(productName)s %(productVersion)s installation" +-msgstr "Установка %(productName)s %(productVersion)s" ++msgstr "Установка МСВСфера %(productVersion)s" + + #: pyanaconda/vnc.py:148 + #, python-format + msgid "%(productName)s %(productVersion)s installation on host %(name)s" +-msgstr "Установка %(productName)s %(productVersion)s на %(name)s" ++msgstr "Установка МСВСфера %(productVersion)s на %(name)s" + + #: pyanaconda/vnc.py:167 + #, python-format +@@ -7557,20 +7557,20 @@ msgstr "Установить Live CD на жёсткий диск" + #: data/liveinst/gnome/fedora-welcome.desktop:3 + #: data/liveinst/gnome/fedora-welcome.js:65 + msgid "Welcome to Fedora" +-msgstr "Добро пожаловать в Fedora" ++msgstr "Добро пожаловать в МСВСфера" + + #: data/liveinst/gnome/fedora-welcome.js:94 + msgid "Try Fedora" +-msgstr "Попробуйте Fedora" ++msgstr "Попробуйте МСВСфера" + + #: data/liveinst/gnome/fedora-welcome.js:110 + msgid "" +-"You are currently running Fedora from live media.\n" +-"You can install Fedora now, or choose \"Install to Hard Drive\" in the " ++"You are currently running MSVSphere from live media.\n" ++"You can install MSVSphere now, or choose \"Install to Hard Drive\" in the " + "Activities Overview at any later time." + msgstr "" +-"Fedora запущена с установочного диска.\n" +-"Вы можете установить Fedora сейчас или в любое время выбрать «Установить на " ++"МСВСфера запущена с установочного диска.\n" ++"Вы можете установить МСВСфера сейчас или в любое время выбрать «Установить на " + "жесткий диск» в меню «Обзор»." + + #: data/liveinst/gnome/fedora-welcome.js:130 +-- +2.39.2 + diff --git a/SPECS/anaconda.spec b/SPECS/anaconda.spec index 87fea92..9219096 100644 --- a/SPECS/anaconda.spec +++ b/SPECS/anaconda.spec @@ -1,7 +1,7 @@ Summary: Graphical system installer Name: anaconda Version: 34.25.2.10 -Release: 1%{?dist} +Release: 1%{?dist}.inferit License: GPLv2+ and MIT URL: http://fedoraproject.org/wiki/Anaconda @@ -23,6 +23,7 @@ Patch1007: 0007-Set-Russian-language-as-default.patch Patch1008: 0008-Replace-Fedora-references-and-update-translations.patch Patch1009: 0009-Set-Russian-as-default-language-for-new-regions.patch Patch1010: 0010-Set-English-as-fallback-language-for-help.patch +Patch1011: 0011-Update-Russian-translation.patch # Versions of required components (done so we make sure the buildrequires # match the requires versions of things). @@ -427,6 +428,34 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_d %{_prefix}/libexec/anaconda/dd_* %changelog +* Thu May 18 2023 Sergey Cherevko - 34.25.2.10-1.inferit +- Update Russian translation +- Rebuilt for MSVSphere 9.2 + +* Wed Apr 19 2023 Eugene Zamriy - 34.25.1.14-1.inferit.5 +* Set English as fallback language for anaconda help + +* Mon Apr 17 2023 Eugene Zamriy - 34.25.1.14-1.inferit.4 +- Set Russian as default language for new regions +- Updated Russian translation patch + +* Sun Apr 16 2023 Eugene Zamriy - 34.25.1.14-1.inferit.3 +- Updated Russian translation patch + +* Fri Apr 14 2023 Eugene Zamriy - 34.25.1.14-1.inferit.2 +- Set default language to ru_RU.UTF-8 +- Translated distribution name in Russian translation + +* Mon Apr 03 2023 Eugene Zamriy - 34.25.1.14-1.inferit.1 +- Set default time zone to Europe/Moscow + +* Thu Mar 30 2023 Eugene Zamriy - 34.25.1.14-1.inferit +- Added MSVSphere product config +- Added Minimal repository support +- Adjusted installer background colors +- Hide CDN button +- Rebuilt for MSVSphere 9.1 + * Wed Mar 22 2023 Martin Kolman - 34.25.2.10-1 - Update translations Resolves: rhbz#2139640