|
|
@ -0,0 +1,679 @@
|
|
|
|
|
|
|
|
From b5103f457ae40c5a448bdc9728e76cff7d4a51bd Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
|
|
From: tigro <tigro@msvsphere-os.ru>
|
|
|
|
|
|
|
|
Date: Wed, 3 Apr 2024 10:11:15 +0300
|
|
|
|
|
|
|
|
Subject: [PATCH 11/15] Add MSVSphere identification support
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
data/liveinst/gnome/fedora-welcome.desktop | 4 +-
|
|
|
|
|
|
|
|
data/liveinst/gnome/fedora-welcome.js | 2 +-
|
|
|
|
|
|
|
|
po/ru.po | 216 ++++++++++++++----
|
|
|
|
|
|
|
|
pyanaconda/product.py | 36 ++-
|
|
|
|
|
|
|
|
.../ui/gui/spokes/installation_progress.py | 8 +-
|
|
|
|
|
|
|
|
pyanaconda/ui/gui/spokes/lib/accordion.py | 2 +-
|
|
|
|
|
|
|
|
.../ui/gui/spokes/lib/storage_dialogs.py | 4 +-
|
|
|
|
|
|
|
|
pyanaconda/ui/gui/spokes/welcome.py | 21 +-
|
|
|
|
|
|
|
|
pyanaconda/vnc.py | 41 +++-
|
|
|
|
|
|
|
|
9 files changed, 273 insertions(+), 61 deletions(-)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/data/liveinst/gnome/fedora-welcome.desktop b/data/liveinst/gnome/fedora-welcome.desktop
|
|
|
|
|
|
|
|
index 90f5678..8ca72a7 100644
|
|
|
|
|
|
|
|
--- a/data/liveinst/gnome/fedora-welcome.desktop
|
|
|
|
|
|
|
|
+++ b/data/liveinst/gnome/fedora-welcome.desktop
|
|
|
|
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
|
|
|
|
[Desktop Entry]
|
|
|
|
|
|
|
|
-Name=Welcome to MSVSphere
|
|
|
|
|
|
|
|
-Name[ru]=Добро пожаловать в МСВСфера
|
|
|
|
|
|
|
|
+Name=Welcome to MSVSphere ARM 9.4
|
|
|
|
|
|
|
|
+Name[ru]=Добро пожаловать в МСВСфера АРМ 9.4
|
|
|
|
|
|
|
|
Exec=/usr/share/anaconda/gnome/fedora-welcome
|
|
|
|
|
|
|
|
Terminal=false
|
|
|
|
|
|
|
|
Type=Application
|
|
|
|
|
|
|
|
diff --git a/data/liveinst/gnome/fedora-welcome.js b/data/liveinst/gnome/fedora-welcome.js
|
|
|
|
|
|
|
|
index 4c0a66a..e313403 100755
|
|
|
|
|
|
|
|
--- a/data/liveinst/gnome/fedora-welcome.js
|
|
|
|
|
|
|
|
+++ b/data/liveinst/gnome/fedora-welcome.js
|
|
|
|
|
|
|
|
@@ -62,7 +62,7 @@ const WelcomeWindow = new Lang.Class({
|
|
|
|
|
|
|
|
default_width: 600,
|
|
|
|
|
|
|
|
default_height: 550,
|
|
|
|
|
|
|
|
skip_taskbar_hint: true,
|
|
|
|
|
|
|
|
- title: _("Welcome to MSVSphere"),
|
|
|
|
|
|
|
|
+ title: _("Welcome to MSVSphere ARM 9.3"),
|
|
|
|
|
|
|
|
window_position: Gtk.WindowPosition.CENTER });
|
|
|
|
|
|
|
|
this.window.connect('key-press-event', Lang.bind(this,
|
|
|
|
|
|
|
|
function(w, event) {
|
|
|
|
|
|
|
|
diff --git a/po/ru.po b/po/ru.po
|
|
|
|
|
|
|
|
index 1edb03d..1f8915b 100644
|
|
|
|
|
|
|
|
--- a/po/ru.po
|
|
|
|
|
|
|
|
+++ b/po/ru.po
|
|
|
|
|
|
|
|
@@ -197,7 +197,37 @@ msgstr "Выбор корня"
|
|
|
|
|
|
|
|
msgid "The following installations were discovered on your system."
|
|
|
|
|
|
|
|
msgstr "В вашей системе обнаружены следующие установки."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/product.py:69
|
|
|
|
|
|
|
|
+#: pyanaconda/product.py:83
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s Server INSTALLATION"
|
|
|
|
|
|
|
|
+msgstr "УСТАНОВКА МСВСфера %(productVersion)s Сервер"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/product.py:85
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s ARM INSTALLATION"
|
|
|
|
|
|
|
|
+msgstr "УСТАНОВКА МСВСфера %(productVersion)s АРМ"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/product.py:87
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s Cinnamon INSTALLATION"
|
|
|
|
|
|
|
|
+msgstr "УСТАНОВКА МСВСфера %(productVersion)s Cinnamon"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/product.py:89
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s KDE INSTALLATION"
|
|
|
|
|
|
|
|
+msgstr "УСТАНОВКА МСВСфера %(productVersion)s KDE"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/product.py:91
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s XFCE INSTALLATION"
|
|
|
|
|
|
|
|
+msgstr "УСТАНОВКА МСВСфера %(productVersion)s XFCE"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/product.py:93
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s OS INSTALLATION"
|
|
|
|
|
|
|
|
+msgstr "УСТАНОВКА МСВСфера %(productVersion)s ОС"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/product.py:95
|
|
|
|
|
|
|
|
#, python-format
|
|
|
|
|
|
|
|
msgid "%(productName)s %(productVersion)s INSTALLATION"
|
|
|
|
|
|
|
|
msgstr "УСТАНОВКА %(productName)s %(productVersion)s"
|
|
|
|
|
|
|
|
@@ -288,31 +318,91 @@ msgstr "Сервера NTP:"
|
|
|
|
|
|
|
|
msgid "not configured"
|
|
|
|
|
|
|
|
msgstr "не настроено"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:79
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:81
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s Server installation"
|
|
|
|
|
|
|
|
+msgstr "Установка МСВСфера %(productVersion)s Сервер"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:83
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s ARM installation"
|
|
|
|
|
|
|
|
+msgstr "Установка МСВСфера %(productVersion)s АРМ"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:85
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s Cinnamon installation"
|
|
|
|
|
|
|
|
+msgstr "Установка МСВСфера %(productVersion)s Cinnamon"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:87
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s KDE installation"
|
|
|
|
|
|
|
|
+msgstr "Установка МСВСфера %(productVersion)s KDE"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:89
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s XFCE installation"
|
|
|
|
|
|
|
|
+msgstr "Установка МСВСфера %(productVersion)s XFCE"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:91
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s OS installation"
|
|
|
|
|
|
|
|
+msgstr "Установка МСВСфера %(productVersion)s ОС"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:93
|
|
|
|
|
|
|
|
#, python-format
|
|
|
|
|
|
|
|
msgid "%(productName)s %(productVersion)s installation"
|
|
|
|
|
|
|
|
msgstr "Установка %(productName)s %(productVersion)s"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:148
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:159
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s Server installation on host %(name)s"
|
|
|
|
|
|
|
|
+msgstr "Установка МСВСфера %(productVersion)s Сервер на %(name)s"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:162
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s ARM installation on host %(name)s"
|
|
|
|
|
|
|
|
+msgstr "Установка МСВСфера %(productVersion)s АРМ на %(name)s"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:162
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s Cinnamon installation on host %(name)s"
|
|
|
|
|
|
|
|
+msgstr "Установка МСВСфера %(productVersion)s Cinnamon на %(name)s"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:162
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s KDE installation on host %(name)s"
|
|
|
|
|
|
|
|
+msgstr "Установка МСВСфера %(productVersion)s KDE на %(name)s"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:162
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s XFCE installation on host %(name)s"
|
|
|
|
|
|
|
|
+msgstr "Установка МСВСфера %(productVersion)s XFCE на %(name)s"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:165
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "MSVSphere %(productVersion)s OS installation on host %(name)s"
|
|
|
|
|
|
|
|
+msgstr "Установка МСВСфера %(productVersion)s ОС на %(name)s"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:168
|
|
|
|
|
|
|
|
#, python-format
|
|
|
|
|
|
|
|
msgid "%(productName)s %(productVersion)s installation on host %(name)s"
|
|
|
|
|
|
|
|
msgstr "Установка %(productName)s %(productVersion)s на %(name)s"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:167
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:204
|
|
|
|
|
|
|
|
#, python-format
|
|
|
|
|
|
|
|
msgid "Attempting to connect to vnc client on host %s..."
|
|
|
|
|
|
|
|
msgstr "Попытка соединения с VNC-клиентом на узле %s..."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:181
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:218
|
|
|
|
|
|
|
|
msgid "Connected!"
|
|
|
|
|
|
|
|
msgstr "Подключено!"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:184
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:221
|
|
|
|
|
|
|
|
msgid "Will try to connect again in 15 seconds..."
|
|
|
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
"Повторная попытка установить соединение будет предпринята через 15 секунд..."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:191
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:228
|
|
|
|
|
|
|
|
#, python-format
|
|
|
|
|
|
|
|
msgid "Giving up attempting to connect after %d try!\n"
|
|
|
|
|
|
|
|
msgid_plural "Giving up attempting to connect after %d tries!\n"
|
|
|
|
|
|
|
|
@@ -320,16 +410,16 @@ msgstr[0] "Установка соединения прекращена посл
|
|
|
|
|
|
|
|
msgstr[1] "Установка соединения прекращена после %d попыток!\n"
|
|
|
|
|
|
|
|
msgstr[2] "Установка соединения прекращена после %d попыток!\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:199
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:236
|
|
|
|
|
|
|
|
msgid "Attempting to start vncconfig"
|
|
|
|
|
|
|
|
msgstr "Попытка запустить vncconfig"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:212
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:249
|
|
|
|
|
|
|
|
#, python-format
|
|
|
|
|
|
|
|
msgid "Please manually connect your vnc client to %s to begin the install."
|
|
|
|
|
|
|
|
msgstr "Для начала установки подключите VNC-клиент к %s вручную."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:214
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:251
|
|
|
|
|
|
|
|
#, python-format
|
|
|
|
|
|
|
|
msgid ""
|
|
|
|
|
|
|
|
"Please manually connect your vnc client to IP-ADDRESS:%s to begin the "
|
|
|
|
|
|
|
|
@@ -340,15 +430,15 @@ msgstr ""
|
|
|
|
|
|
|
|
"Переключитесь на оболочку (Ctrl-B 2) и выполните команду 'ip addr', чтобы "
|
|
|
|
|
|
|
|
"найти IP-ADDRESS."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:219
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:256
|
|
|
|
|
|
|
|
msgid "Starting VNC..."
|
|
|
|
|
|
|
|
msgstr "Запуск VNC..."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:256
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:293
|
|
|
|
|
|
|
|
msgid "The VNC server is now running."
|
|
|
|
|
|
|
|
msgstr "Сервер VNC запущен."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:260
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:297
|
|
|
|
|
|
|
|
msgid ""
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
@@ -366,7 +456,7 @@ msgstr ""
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:265
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:302
|
|
|
|
|
|
|
|
msgid ""
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
@@ -382,7 +472,7 @@ msgstr ""
|
|
|
|
|
|
|
|
"для ограничения доступа к серверу.\n"
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:269
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:306
|
|
|
|
|
|
|
|
msgid ""
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
@@ -394,7 +484,7 @@ msgstr ""
|
|
|
|
|
|
|
|
"Вы выбрали запуск VNC с паролем.\n"
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:271
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:308
|
|
|
|
|
|
|
|
msgid ""
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
@@ -406,7 +496,7 @@ msgstr ""
|
|
|
|
|
|
|
|
"Неизвестная ошибка. Остановка работы.\n"
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#: pyanaconda/vnc.py:293
|
|
|
|
|
|
|
|
+#: pyanaconda/vnc.py:330
|
|
|
|
|
|
|
|
msgid ""
|
|
|
|
|
|
|
|
"VNC password must be six to eight characters long.\n"
|
|
|
|
|
|
|
|
"Please enter a new one, or leave blank for no password."
|
|
|
|
|
|
|
|
@@ -750,13 +840,13 @@ msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: pyanaconda/core/constants.py:157
|
|
|
|
|
|
|
|
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-os.ru."
|
|
|
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
-"Это аппаратное обеспечение (или их комбинация) не поддерживается Red Hat. "
|
|
|
|
|
|
|
|
-"Для получения дополнительной информации о поддерживаемом оборудовании см. "
|
|
|
|
|
|
|
|
-"http://www.redhat.com/hardware."
|
|
|
|
|
|
|
|
+"Это аппаратное обеспечение (или их комбинация) не поддерживается "
|
|
|
|
|
|
|
|
+"МСВСфера ОС. Для получения дополнительной информации о поддерживаемом "
|
|
|
|
|
|
|
|
+"оборудовании см. https://msvsphere-os.ru."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: pyanaconda/core/constants.py:163
|
|
|
|
|
|
|
|
msgid ""
|
|
|
|
|
|
|
|
@@ -1507,7 +1597,7 @@ msgstr "Не удалось добавить устройство."
|
|
|
|
|
|
|
|
#: pyanaconda/modules/storage/partitioning/interactive/utils.py:213
|
|
|
|
|
|
|
|
#, python-brace-format
|
|
|
|
|
|
|
|
msgid "New {name} {version} Installation"
|
|
|
|
|
|
|
|
-msgstr "Новая установка {name} {version}"
|
|
|
|
|
|
|
|
+msgstr "Новая установка МСВСфера {version}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: pyanaconda/modules/storage/partitioning/interactive/utils.py:275
|
|
|
|
|
|
|
|
msgid "Cannot set label on file system."
|
|
|
|
|
|
|
|
@@ -1937,7 +2027,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
|
|
|
|
|
|
|
|
@@ -3455,7 +3545,7 @@ msgid ""
|
|
|
|
|
|
|
|
"You haven't created any mount points for your %(product)s %(version)s "
|
|
|
|
|
|
|
|
"installation yet. You can:"
|
|
|
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
-"Вы еще не создали точки монтирования для установки %(product)s %(version)s. "
|
|
|
|
|
|
|
|
+"Вы еще не создали точки монтирования для установки МСВСфера ОС %(version)s. "
|
|
|
|
|
|
|
|
"Вы можете:"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: pyanaconda/ui/gui/spokes/lib/accordion.py:479
|
|
|
|
|
|
|
|
@@ -3487,6 +3577,10 @@ msgstr ""
|
|
|
|
|
|
|
|
"_Автоматически созданные точки монтирования могут быть зашифрованы по "
|
|
|
|
|
|
|
|
"умолчанию:"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+#: pyanaconda/ui/gui/spokes/lib/accordion.py:547
|
|
|
|
|
|
|
|
+msgid "Encrypt my data."
|
|
|
|
|
|
|
|
+msgstr "Зашифровать данные."
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:69
|
|
|
|
|
|
|
|
msgid "Please wait... software metadata still loading."
|
|
|
|
|
|
|
|
msgstr "Подождите… Всё ещё загружаются метаданные ПО."
|
|
|
|
|
|
|
|
@@ -3498,7 +3592,7 @@ msgid ""
|
|
|
|
|
|
|
|
"of available space, including <b>%(software)s</b> for software and "
|
|
|
|
|
|
|
|
"<b>%(swap)s</b> for swap space."
|
|
|
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
-"Для установки <b>%(product)s</b> требуется <b>%(total)s</b>, в том числе "
|
|
|
|
|
|
|
|
+"Для установки <b>МСВСфера ОС</b> требуется <b>%(total)s</b>, в том числе "
|
|
|
|
|
|
|
|
"<b>%(software)s</b> для программ и <b>%(swap)s</b> для подкачки."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:81
|
|
|
|
|
|
|
|
@@ -3509,7 +3603,7 @@ msgid ""
|
|
|
|
|
|
|
|
"<b>%(software)s</b> for software and <b>%(swap)s</b> for swap space."
|
|
|
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
"Для <a href=\"\" title=\"%(tooltip)s\">программного обеспечения "
|
|
|
|
|
|
|
|
-"<b>%(product)s</b></a> требуется <b>%(total)s</b> пространства, в том числе "
|
|
|
|
|
|
|
|
+"<b>МСВСфера ОС</b></a> требуется <b>%(total)s</b> пространства, в том числе "
|
|
|
|
|
|
|
|
"<b>%(software)s</b> для программ и <b>%(swap)s</b> для подкачки."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:132
|
|
|
|
|
|
|
|
@@ -3520,11 +3614,11 @@ msgstr "%s На выбранных дисках доступно:"
|
|
|
|
|
|
|
|
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:142
|
|
|
|
|
|
|
|
#, python-format
|
|
|
|
|
|
|
|
msgid ""
|
|
|
|
|
|
|
|
-"<b>You don't have enough space available to install %s</b>. You can shrink "
|
|
|
|
|
|
|
|
+"<b>You don't have enough space available to install %(name)s</b>. You can shrink "
|
|
|
|
|
|
|
|
"or remove existing partitions via our guided reclaim space tool, or you can "
|
|
|
|
|
|
|
|
"adjust your partitions on your own in the custom partitioning interface."
|
|
|
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
-"<b>Недостаточно места для установки %s</b>. Можно уменьшить или удалить "
|
|
|
|
|
|
|
|
+"<b>Недостаточно места для установки %(name)s</b>. Можно уменьшить или удалить "
|
|
|
|
|
|
|
|
"существующие разделы с помощью помощника или самостоятельно выбрать размеры "
|
|
|
|
|
|
|
|
"разделов в окне настройки разделов."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -3534,7 +3628,7 @@ msgid ""
|
|
|
|
|
|
|
|
" You don't have enough space available to install <b>%(product)s</b>, even "
|
|
|
|
|
|
|
|
"if you used all of the free space available on the selected disks."
|
|
|
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
-" Недостаточно места для установки <b>%(product)s</b>, даже если "
|
|
|
|
|
|
|
|
+" Недостаточно места для установки <b>МСВСфера ОС</b>, даже если "
|
|
|
|
|
|
|
|
"использовать все свободное место на выбранных дисках."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:178
|
|
|
|
|
|
|
|
@@ -3545,10 +3639,10 @@ msgid ""
|
|
|
|
|
|
|
|
"could add more disks for additional space, modify your software selection to "
|
|
|
|
|
|
|
|
"install a smaller version of <b>%(productName)s</b>, or quit the installer."
|
|
|
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
-"<b>Недостаточно места для установки %(productName)s</b>, даже если "
|
|
|
|
|
|
|
|
+"<b>Недостаточно места для установки МСВСфера ОС</b>, даже если "
|
|
|
|
|
|
|
|
"использовать всё свободное место на выбранных дисках. Можно добавить ещё "
|
|
|
|
|
|
|
|
"диски, чтобы получить дополнительное место, изменить выбор программного "
|
|
|
|
|
|
|
|
-"обеспечения, чтобы установить меньший вариант <b>%(productName)s</b>, или "
|
|
|
|
|
|
|
|
+"обеспечения, чтобы установить меньший вариант <b>МСВСфера ОС</b>, или "
|
|
|
|
|
|
|
|
"покинуть программу установки."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: pyanaconda/ui/gui/spokes/lib/subscription.py:66
|
|
|
|
|
|
|
|
@@ -4096,7 +4190,7 @@ msgid ""
|
|
|
|
|
|
|
|
"you'll be able to view their details here."
|
|
|
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
"Здесь будет показана информация о созданных точках монтирования для "
|
|
|
|
|
|
|
|
-"установки %(name)s %(version)s."
|
|
|
|
|
|
|
|
+"установки МСВСфера %(version)s OC."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: pyanaconda/ui/gui/spokes/custom_storage.py:615
|
|
|
|
|
|
|
|
#: pyanaconda/ui/gui/spokes/advstorage/nvdimm.glade:178
|
|
|
|
|
|
|
|
@@ -4431,6 +4525,36 @@ msgstr "Рабочий сервер NTP не настроен"
|
|
|
|
|
|
|
|
msgid "What language would you like to use during the installation process?"
|
|
|
|
|
|
|
|
msgstr "Какой язык вы хотите использовать в процессе установки?"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+#: pyanaconda/ui/gui/spokes/welcome.py:278
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "WELCOME TO MSVSphere %(version)s Server"
|
|
|
|
|
|
|
|
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s Сервер"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/ui/gui/spokes/welcome.py:280
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "WELCOME TO MSVSphere %(version)s ARM"
|
|
|
|
|
|
|
|
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s АРМ"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/ui/gui/spokes/welcome.py:282
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "WELCOME TO MSVSphere %(version)s Cinnamon"
|
|
|
|
|
|
|
|
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s Cinnamon"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/ui/gui/spokes/welcome.py:284
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "WELCOME TO MSVSphere %(version)s KDE"
|
|
|
|
|
|
|
|
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s KDE"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/ui/gui/spokes/welcome.py:286
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "WELCOME TO MSVSphere %(version)s XFCE"
|
|
|
|
|
|
|
|
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s XFCE"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+#: pyanaconda/ui/gui/spokes/welcome.py:288
|
|
|
|
|
|
|
|
+#, python-format
|
|
|
|
|
|
|
|
+msgid "WELCOME TO MSVSphere %(version)s OS"
|
|
|
|
|
|
|
|
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s ОС"
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
#: pyanaconda/ui/gui/spokes/welcome.py:209
|
|
|
|
|
|
|
|
#, python-format
|
|
|
|
|
|
|
|
msgid "WELCOME TO %(name)s %(version)s."
|
|
|
|
|
|
|
|
@@ -4482,8 +4606,8 @@ msgid ""
|
|
|
|
|
|
|
|
"%s is now successfully installed and ready for you to use!\n"
|
|
|
|
|
|
|
|
"Go ahead and reboot your system to start using it!"
|
|
|
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
-"%s успешно установлена и готова к использованию!\n"
|
|
|
|
|
|
|
|
-"Давайте, перезагружайте систему и начинайте использовать ее!"
|
|
|
|
|
|
|
|
+"МСВСфера ОС установлена и готова к работе.\n"
|
|
|
|
|
|
|
|
+"Необходимо перезагрузить систему чтобы приступить к использованию."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: pyanaconda/ui/gui/spokes/installation_progress.py:163
|
|
|
|
|
|
|
|
#, python-format
|
|
|
|
|
|
|
|
@@ -4491,8 +4615,8 @@ msgid ""
|
|
|
|
|
|
|
|
"%s is now successfully installed and ready for you to use!\n"
|
|
|
|
|
|
|
|
"Go ahead and quit the application to start using it!"
|
|
|
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
-"%s успешно установлено и готово к использованию!\n"
|
|
|
|
|
|
|
|
-"Выйдите из приложения и начните использовать его!"
|
|
|
|
|
|
|
|
+"МСВСфера ОС установлена и готова к работе.\n"
|
|
|
|
|
|
|
|
+"Необходимо выйти из приложения чтобы приступить к использованию."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: pyanaconda/ui/gui/spokes/installation_source.py:73
|
|
|
|
|
|
|
|
msgid "Setting up installation source..."
|
|
|
|
|
|
|
|
@@ -7614,21 +7738,21 @@ msgstr "Настройка Liveinst"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: data/liveinst/gnome/fedora-welcome.desktop:3
|
|
|
|
|
|
|
|
#: data/liveinst/gnome/fedora-welcome.js:65
|
|
|
|
|
|
|
|
-msgid "Welcome to Fedora"
|
|
|
|
|
|
|
|
-msgstr "Добро пожаловать в Fedora"
|
|
|
|
|
|
|
|
+msgid "Welcome to MSVSphere ARM 9.4"
|
|
|
|
|
|
|
|
+msgstr "Добро пожаловать в МСВСфера АРМ 9.4"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: data/liveinst/gnome/fedora-welcome.js:94
|
|
|
|
|
|
|
|
-msgid "Try Fedora"
|
|
|
|
|
|
|
|
-msgstr "Попробуйте Fedora"
|
|
|
|
|
|
|
|
+msgid "Try MSVSphere ARM 9.4"
|
|
|
|
|
|
|
|
+msgstr "Попробуйте МСВСфера АРМ 9.4"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: 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 сейчас или в любое время выбрать «Установить на "
|
|
|
|
|
|
|
|
+"МСВСфера АРМ 9.4 запущена с установочного диска.\n"
|
|
|
|
|
|
|
|
+"Вы можете установить операционную систему сейчас или в любое время выбрать "
|
|
|
|
|
|
|
|
"жесткий диск» в меню «Обзор»."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: data/liveinst/gnome/fedora-welcome.js:130
|
|
|
|
|
|
|
|
diff --git a/pyanaconda/product.py b/pyanaconda/product.py
|
|
|
|
|
|
|
|
index 9dbfe1f..140dbee 100644
|
|
|
|
|
|
|
|
--- a/pyanaconda/product.py
|
|
|
|
|
|
|
|
+++ b/pyanaconda/product.py
|
|
|
|
|
|
|
|
@@ -19,6 +19,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import configparser
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
+import re
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from pyanaconda.core.i18n import _
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -64,9 +65,42 @@ def trim_product_version_for_ui(version):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
productVersion = trim_product_version_for_ui(productVersion)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+if productName.startswith("MSVSphere"):
|
|
|
|
|
|
|
|
+ productBase = "MSVSphere"
|
|
|
|
|
|
|
|
+ if productName == "MSVSphere Server" or \
|
|
|
|
|
|
|
|
+ (productName == "MSVSphere" and productVariant == "Minimal"):
|
|
|
|
|
|
|
|
+ productFlavor = "Server"
|
|
|
|
|
|
|
|
+ elif productName == "MSVSphere" and productVariant == "BaseOS":
|
|
|
|
|
|
|
|
+ productFlavor = "OS"
|
|
|
|
|
|
|
|
+ elif productName == "MSVSphere":
|
|
|
|
|
|
|
|
+ os_release = open("/etc/os-release", "r")
|
|
|
|
|
|
|
|
+ for line in os_release:
|
|
|
|
|
|
|
|
+ match = re.match("VERSION=.*\((.*?)\)", line)
|
|
|
|
|
|
|
|
+ if match:
|
|
|
|
|
|
|
|
+ productFlavor = match.group(1)
|
|
|
|
|
|
|
|
+ else:
|
|
|
|
|
|
|
|
+ productFlavor = "OS"
|
|
|
|
|
|
|
|
+else:
|
|
|
|
|
|
|
|
+ productBase = productName
|
|
|
|
|
|
|
|
+ productFlavor = None
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def distributionText():
|
|
|
|
|
|
|
|
- return _("%(productName)s %(productVersion)s INSTALLATION") % {
|
|
|
|
|
|
|
|
+ if productBase == "MSVSphere" and productFlavor == "Server":
|
|
|
|
|
|
|
|
+ distro_text = _("MSVSphere %(productVersion)s Server INSTALLATION")
|
|
|
|
|
|
|
|
+ elif productBase == "MSVSphere" and productFlavor == "ARM":
|
|
|
|
|
|
|
|
+ distro_text = _("MSVSphere %(productVersion)s ARM INSTALLATION")
|
|
|
|
|
|
|
|
+ elif productBase == "MSVSphere" and productFlavor == "Cinnamon":
|
|
|
|
|
|
|
|
+ distro_text = _("MSVSphere %(productVersion)s Cinnamon INSTALLATION")
|
|
|
|
|
|
|
|
+ elif productBase == "MSVSphere" and productFlavor == "KDE":
|
|
|
|
|
|
|
|
+ distro_text = _("MSVSphere %(productVersion)s KDE INSTALLATION")
|
|
|
|
|
|
|
|
+ elif productBase == "MSVSphere" and productFlavor == "XFCE":
|
|
|
|
|
|
|
|
+ distro_text = _("MSVSphere %(productVersion)s XFCE INSTALLATION")
|
|
|
|
|
|
|
|
+ elif productBase == "MSVSphere" and productFlavor == "OS":
|
|
|
|
|
|
|
|
+ distro_text = _("MSVSphere %(productVersion)s OS INSTALLATION")
|
|
|
|
|
|
|
|
+ else:
|
|
|
|
|
|
|
|
+ distro_text = _("%(productName)s %(productVersion)s INSTALLATION")
|
|
|
|
|
|
|
|
+ return distro_text % {
|
|
|
|
|
|
|
|
"productName": productName.upper(),
|
|
|
|
|
|
|
|
"productVersion": productVersion.upper()
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
diff --git a/pyanaconda/ui/gui/spokes/installation_progress.py b/pyanaconda/ui/gui/spokes/installation_progress.py
|
|
|
|
|
|
|
|
index c2dfbaf..de1fe76 100644
|
|
|
|
|
|
|
|
--- a/pyanaconda/ui/gui/spokes/installation_progress.py
|
|
|
|
|
|
|
|
+++ b/pyanaconda/ui/gui/spokes/installation_progress.py
|
|
|
|
|
|
|
|
@@ -155,14 +155,14 @@ class ProgressSpoke(StandaloneSpoke):
|
|
|
|
|
|
|
|
# Set the reboot label.
|
|
|
|
|
|
|
|
if conf.target.is_hardware:
|
|
|
|
|
|
|
|
continue_text = _(
|
|
|
|
|
|
|
|
- "%s is now successfully installed and ready for you to use!\n"
|
|
|
|
|
|
|
|
+ "%(name)s is now successfully installed and ready for you to use!\n"
|
|
|
|
|
|
|
|
"Go ahead and reboot your system to start using it!"
|
|
|
|
|
|
|
|
- ) % productName
|
|
|
|
|
|
|
|
+ ) % {"name": productName}
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
continue_text = _(
|
|
|
|
|
|
|
|
- "%s is now successfully installed and ready for you to use!\n"
|
|
|
|
|
|
|
|
+ "%(name)s is now successfully installed and ready for you to use!\n"
|
|
|
|
|
|
|
|
"Go ahead and quit the application to start using it!"
|
|
|
|
|
|
|
|
- ) % productName
|
|
|
|
|
|
|
|
+ ) % {"name": productName}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
label = self.builder.get_object("rebootLabel")
|
|
|
|
|
|
|
|
label.set_text(continue_text)
|
|
|
|
|
|
|
|
diff --git a/pyanaconda/ui/gui/spokes/lib/accordion.py b/pyanaconda/ui/gui/spokes/lib/accordion.py
|
|
|
|
|
|
|
|
index 32801df..5e2e2b1 100644
|
|
|
|
|
|
|
|
--- a/pyanaconda/ui/gui/spokes/lib/accordion.py
|
|
|
|
|
|
|
|
+++ b/pyanaconda/ui/gui/spokes/lib/accordion.py
|
|
|
|
|
|
|
|
@@ -544,7 +544,7 @@ class CreateNewPage(BasePage):
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
self._createBox.attach(label, 0, 6, 2, 1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- checkbox = Gtk.CheckButton(label="Encrypt my data.")
|
|
|
|
|
|
|
|
+ checkbox = Gtk.CheckButton(label=_("Encrypt my data."))
|
|
|
|
|
|
|
|
checkbox.connect("toggled", encrypted_changed_cb)
|
|
|
|
|
|
|
|
checkbox.set_active(default_encryption)
|
|
|
|
|
|
|
|
checkbox.set_margin_start(18)
|
|
|
|
|
|
|
|
diff --git a/pyanaconda/ui/gui/spokes/lib/storage_dialogs.py b/pyanaconda/ui/gui/spokes/lib/storage_dialogs.py
|
|
|
|
|
|
|
|
index 2f8338b..e330641 100644
|
|
|
|
|
|
|
|
--- a/pyanaconda/ui/gui/spokes/lib/storage_dialogs.py
|
|
|
|
|
|
|
|
+++ b/pyanaconda/ui/gui/spokes/lib/storage_dialogs.py
|
|
|
|
|
|
|
|
@@ -140,10 +140,10 @@ class NeedSpaceDialog(InstallOptionsDialogBase):
|
|
|
|
|
|
|
|
self._set_free_space_labels(disk_free, fs_free)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
label_text = _("<b>You don't have enough space available to install "
|
|
|
|
|
|
|
|
- "%s</b>. You can shrink or remove existing partitions "
|
|
|
|
|
|
|
|
+ "%(name)s</b>. You can shrink or remove existing partitions "
|
|
|
|
|
|
|
|
"via our guided reclaim space tool, or you can adjust your "
|
|
|
|
|
|
|
|
"partitions on your own in the custom partitioning "
|
|
|
|
|
|
|
|
- "interface.") % escape_markup(productName)
|
|
|
|
|
|
|
|
+ "interface.") % {"name": escape_markup(productName)}
|
|
|
|
|
|
|
|
self.builder.get_object("need_space_options_label").set_markup(label_text)
|
|
|
|
|
|
|
|
self._add_modify_watcher(label)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/pyanaconda/ui/gui/spokes/welcome.py b/pyanaconda/ui/gui/spokes/welcome.py
|
|
|
|
|
|
|
|
index de71615..7937f2c 100644
|
|
|
|
|
|
|
|
--- a/pyanaconda/ui/gui/spokes/welcome.py
|
|
|
|
|
|
|
|
+++ b/pyanaconda/ui/gui/spokes/welcome.py
|
|
|
|
|
|
|
|
@@ -35,7 +35,10 @@ from pyanaconda.ui.gui.spokes.lib.lang_locale_handler import LangLocaleHandler
|
|
|
|
|
|
|
|
from pyanaconda.ui.gui.spokes.lib.unsupported_hardware import UnsupportedHardwareDialog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from pyanaconda import localization
|
|
|
|
|
|
|
|
-from pyanaconda.product import distributionText, isFinal, productName, productVersion
|
|
|
|
|
|
|
|
+from pyanaconda.product import (
|
|
|
|
|
|
|
|
+ distributionText, isFinal, productName, productVersion, productBase,
|
|
|
|
|
|
|
|
+ productFlavor
|
|
|
|
|
|
|
|
+)
|
|
|
|
|
|
|
|
from pyanaconda import flags
|
|
|
|
|
|
|
|
from pyanaconda.core.i18n import _
|
|
|
|
|
|
|
|
from pyanaconda.core.util import ipmi_abort
|
|
|
|
|
|
|
|
@@ -206,7 +209,21 @@ class WelcomeLanguageSpoke(StandaloneSpoke, LangLocaleHandler):
|
|
|
|
|
|
|
|
# The welcome label is special - it has text that needs to be substituted.
|
|
|
|
|
|
|
|
welcomeLabel = self.builder.get_object("welcomeLabel")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- welcomeLabel.set_text(_("WELCOME TO %(name)s %(version)s.") %
|
|
|
|
|
|
|
|
+ if productBase == "MSVSphere" and productFlavor == "Server":
|
|
|
|
|
|
|
|
+ welcome_text = _("WELCOME TO MSVSphere %(version)s Server")
|
|
|
|
|
|
|
|
+ elif productBase == "MSVSphere" and productFlavor == "ARM":
|
|
|
|
|
|
|
|
+ welcome_text = _("WELCOME TO MSVSphere %(version)s ARM")
|
|
|
|
|
|
|
|
+ elif productBase == "MSVSphere" and productFlavor == "Cinnamon":
|
|
|
|
|
|
|
|
+ welcome_text = _("WELCOME TO MSVSphere %(version)s Cinnamon")
|
|
|
|
|
|
|
|
+ elif productBase == "MSVSphere" and productFlavor == "KDE":
|
|
|
|
|
|
|
|
+ welcome_text = _("WELCOME TO MSVSphere %(version)s KDE")
|
|
|
|
|
|
|
|
+ elif productBase == "MSVSphere" and productFlavor == "XFCE":
|
|
|
|
|
|
|
|
+ welcome_text = _("WELCOME TO MSVSphere %(version)s XFCE")
|
|
|
|
|
|
|
|
+ elif productBase == "MSVSphere" and productFlavor == "OS":
|
|
|
|
|
|
|
|
+ welcome_text = _("WELCOME TO MSVSphere %(version)s OS")
|
|
|
|
|
|
|
|
+ else:
|
|
|
|
|
|
|
|
+ welcome_text = _("WELCOME TO %(name)s %(version)s")
|
|
|
|
|
|
|
|
+ welcomeLabel.set_text(welcome_text %
|
|
|
|
|
|
|
|
{"name" : productName.upper(), "version" : productVersion}) # pylint: disable=no-member
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Retranslate the language (filtering) entry's placeholder text
|
|
|
|
|
|
|
|
diff --git a/pyanaconda/vnc.py b/pyanaconda/vnc.py
|
|
|
|
|
|
|
|
index 5fadcde..d0cdbb9 100644
|
|
|
|
|
|
|
|
--- a/pyanaconda/vnc.py
|
|
|
|
|
|
|
|
+++ b/pyanaconda/vnc.py
|
|
|
|
|
|
|
|
@@ -76,7 +76,22 @@ class VncServer(object):
|
|
|
|
|
|
|
|
self.anaconda = None
|
|
|
|
|
|
|
|
self.log = get_stdout_logger()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- self.desktop = _("%(productName)s %(productVersion)s installation")\
|
|
|
|
|
|
|
|
+ is_sphere = product.productBase == "MSVSphere"
|
|
|
|
|
|
|
|
+ if is_sphere and product.productFlavor == "Server":
|
|
|
|
|
|
|
|
+ desktop_text = _("MSVSphere %(productVersion)s Server installation")
|
|
|
|
|
|
|
|
+ elif is_sphere and product.productFlavor == "ARM":
|
|
|
|
|
|
|
|
+ desktop_text = _("MSVSphere %(productVersion)s ARM installation")
|
|
|
|
|
|
|
|
+ elif is_sphere and product.productFlavor == "Cinnamon":
|
|
|
|
|
|
|
|
+ desktop_text = _("MSVSphere %(productVersion)s Cinnamon installation")
|
|
|
|
|
|
|
|
+ elif is_sphere and product.productFlavor == "KDE":
|
|
|
|
|
|
|
|
+ desktop_text = _("MSVSphere %(productVersion)s KDE installation")
|
|
|
|
|
|
|
|
+ elif is_sphere and product.productFlavor == "XFCE":
|
|
|
|
|
|
|
|
+ desktop_text = _("MSVSphere %(productVersion)s XFCE installation")
|
|
|
|
|
|
|
|
+ elif is_sphere and product.productFlavor == "OS":
|
|
|
|
|
|
|
|
+ desktop_text = _("MSVSphere %(productVersion)s OS installation")
|
|
|
|
|
|
|
|
+ else:
|
|
|
|
|
|
|
|
+ desktop_text = _("%(productName)s %(productVersion)s installation")
|
|
|
|
|
|
|
|
+ self.desktop = desktop_text \
|
|
|
|
|
|
|
|
% {'productName': product.productName,
|
|
|
|
|
|
|
|
'productVersion': product.productVersion}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -145,7 +160,29 @@ class VncServer(object):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# figure out product info
|
|
|
|
|
|
|
|
if host:
|
|
|
|
|
|
|
|
- self.desktop = _("%(productName)s %(productVersion)s installation "
|
|
|
|
|
|
|
|
+ is_sphere = product.productBase == "MSVSphere"
|
|
|
|
|
|
|
|
+ if is_sphere and product.productFlavor == "Server":
|
|
|
|
|
|
|
|
+ desktop_text = _("MSVSphere %(productVersion)s Server "
|
|
|
|
|
|
|
|
+ "installation on host %(name)s")
|
|
|
|
|
|
|
|
+ elif is_sphere and product.productFlavor == "ARM":
|
|
|
|
|
|
|
|
+ desktop_text = _("MSVSphere %(productVersion)s ARM "
|
|
|
|
|
|
|
|
+ "installation on host %(name)s")
|
|
|
|
|
|
|
|
+ elif is_sphere and product.productFlavor == "Cinnamon":
|
|
|
|
|
|
|
|
+ desktop_text = _("MSVSphere %(productVersion)s Cinnamon "
|
|
|
|
|
|
|
|
+ "installation on host %(name)s")
|
|
|
|
|
|
|
|
+ elif is_sphere and product.productFlavor == "KDE":
|
|
|
|
|
|
|
|
+ desktop_text = _("MSVSphere %(productVersion)s KDE "
|
|
|
|
|
|
|
|
+ "installation on host %(name)s")
|
|
|
|
|
|
|
|
+ elif is_sphere and product.productFlavor == "XFCE":
|
|
|
|
|
|
|
|
+ desktop_text = _("MSVSphere %(productVersion)s XFCE "
|
|
|
|
|
|
|
|
+ "installation on host %(name)s")
|
|
|
|
|
|
|
|
+ elif is_sphere and product.productFlavor == "OS":
|
|
|
|
|
|
|
|
+ desktop_text = _("MSVSphere %(productVersion)s OS "
|
|
|
|
|
|
|
|
+ "installation on host %(name)s")
|
|
|
|
|
|
|
|
+ else:
|
|
|
|
|
|
|
|
+ desktop_text = _("%(productName)s %(productVersion)s "
|
|
|
|
|
|
|
|
+ "installation on host %(name)s")
|
|
|
|
|
|
|
|
+ self.desktop = desktop_text \
|
|
|
|
|
|
|
|
"on host %(name)s") \
|
|
|
|
|
|
|
|
% {'productName': product.productName,
|
|
|
|
|
|
|
|
'productVersion': product.productVersion,
|
|
|
|
|
|
|
|
--
|
|
|
|
|
|
|
|
2.44.0
|
|
|
|
|
|
|
|
|