|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
From 3bf1f830f6f816b00cf3b3449cb94df744d9295a Mon Sep 17 00:00:00 2001
|
|
|
|
|
From: Dmitry Samoylik <Dmitriy.Samoylik@softline.com>
|
|
|
|
|
Date: Thu, 26 Sep 2024 16:57:48 +0300
|
|
|
|
|
From 00f15fb27e60cdebfc39f0f2813a662af929eeb8 Mon Sep 17 00:00:00 2001
|
|
|
|
|
From: Sergey Cherevko <s.cherevko@msvsphere-os.ru>
|
|
|
|
|
Date: Wed, 15 Jan 2025 01:26:24 +0300
|
|
|
|
|
Subject: [PATCH 14/15] Implement show EULA before installation
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
@ -32,12 +32,12 @@ index 498601b..51d10e9 100644
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/po/ru.po b/po/ru.po
|
|
|
|
|
index 70bd42b..46eaef4 100644
|
|
|
|
|
index b930cf0..021f249 100644
|
|
|
|
|
--- a/po/ru.po
|
|
|
|
|
+++ b/po/ru.po
|
|
|
|
|
@@ -7383,6 +7383,37 @@ msgstr "К системе прикреплено {} подписок"
|
|
|
|
|
msgid "{}. {}"
|
|
|
|
|
msgstr "{}. {}"
|
|
|
|
|
@@ -7361,6 +7361,37 @@ msgstr ""
|
|
|
|
|
"качестве временной системы. Установку можно начать в любое время, нажав на "
|
|
|
|
|
"значок установки в разделе Действия."
|
|
|
|
|
|
|
|
|
|
+msgid "LICENSING"
|
|
|
|
|
+msgstr "ЛИЦЕНЗИРОВАНИЕ"
|
|
|
|
@ -70,8 +70,8 @@ index 70bd42b..46eaef4 100644
|
|
|
|
|
+msgid "License Agreement:"
|
|
|
|
|
+msgstr "Лицензионное соглашение:"
|
|
|
|
|
+
|
|
|
|
|
#~ msgid "Btrfs file system is not supported."
|
|
|
|
|
#~ msgstr "Файловая система btrfs не поддерживается."
|
|
|
|
|
#~ msgid "1 subscription attached to the system"
|
|
|
|
|
#~ msgstr "1 подписка прикреплена к системе"
|
|
|
|
|
|
|
|
|
|
diff --git a/pyanaconda/core/configuration/eula.py b/pyanaconda/core/configuration/eula.py
|
|
|
|
|
new file mode 100644
|
|
|
|
@ -278,7 +278,7 @@ index 0000000..1d340f0
|
|
|
|
|
+</interface>
|
|
|
|
|
diff --git a/pyanaconda/ui/gui/spokes/eula.py b/pyanaconda/ui/gui/spokes/eula.py
|
|
|
|
|
new file mode 100644
|
|
|
|
|
index 0000000..a487c6b
|
|
|
|
|
index 0000000..37cc4cb
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ b/pyanaconda/ui/gui/spokes/eula.py
|
|
|
|
|
@@ -0,0 +1,107 @@
|
|
|
|
@ -287,7 +287,7 @@ index 0000000..a487c6b
|
|
|
|
|
+from pyanaconda.ui.common import FirstbootOnlySpokeMixIn
|
|
|
|
|
+from pyanaconda.ui.gui.spokes import NormalSpoke
|
|
|
|
|
+from pyanaconda.core.i18n import _, CN_
|
|
|
|
|
+from pyanaconda.core import eula
|
|
|
|
|
+from pyanaconda.core.configuration import eula
|
|
|
|
|
+from pyanaconda.ui.categories.eula import LicensingCategory
|
|
|
|
|
+from pyanaconda.anaconda_loggers import get_module_logger
|
|
|
|
|
+from pykickstart.constants import FIRSTBOOT_RECONFIG
|
|
|
|
@ -391,7 +391,7 @@ index 0000000..a487c6b
|
|
|
|
|
+ self._agree_label.set_markup(self._agree_text)
|
|
|
|
|
diff --git a/pyanaconda/ui/tui/spokes/eula.py b/pyanaconda/ui/tui/spokes/eula.py
|
|
|
|
|
new file mode 100644
|
|
|
|
|
index 0000000..a3e8e62
|
|
|
|
|
index 0000000..c8e194b
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ b/pyanaconda/ui/tui/spokes/eula.py
|
|
|
|
|
@@ -0,0 +1,128 @@
|
|
|
|
@ -403,7 +403,7 @@ index 0000000..a3e8e62
|
|
|
|
|
+from simpleline.render.screen import UIScreen, InputState
|
|
|
|
|
+from simpleline.render.screen_handler import ScreenHandler
|
|
|
|
|
+from pyanaconda.ui.common import FirstbootOnlySpokeMixIn
|
|
|
|
|
+from pyanaconda.core import eula
|
|
|
|
|
+from pyanaconda.core.configuration import eula
|
|
|
|
|
+from pyanaconda.ui.categories.eula import LicensingCategory
|
|
|
|
|
+from pyanaconda.core.i18n import _, N_
|
|
|
|
|
+from pykickstart.constants import FIRSTBOOT_RECONFIG
|
|
|
|
|