index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | profiles/desktop.py | 4 | ||||
-rw-r--r-- | profiles/minimal.py | 2 | ||||
-rw-r--r-- | profiles/server.py | 6 | ||||
-rw-r--r-- | profiles/xorg.py | 2 |
diff --git a/profiles/desktop.py b/profiles/desktop.py index 977fe2de..eaece9f5 100644 --- a/profiles/desktop.py +++ b/profiles/desktop.py @@ -4,7 +4,7 @@ from archinstall import log is_top_level_profile = True -__description__ = 'Provides a selection of desktop environments and tiling window managers, e.g. gnome, kde, sway' +__description__ = str(_('Provides a selection of desktop environments and tiling window managers, e.g. gnome, kde, sway')) # New way of defining packages for a profile, which is iterable and can be used out side # of the profile to get a list of "what packages will be installed". @@ -46,7 +46,7 @@ def _prep_function(*args, **kwargs) -> bool: other code in this stage. So it's a safe way to ask the user for more input before any other installer steps start. """ - desktop = archinstall.Menu('Select your desired desktop environment', __supported__).run() + desktop = archinstall.Menu(str(_('Select your desired desktop environment')), __supported__).run() if desktop: # Temporarily store the selected desktop profile diff --git a/profiles/minimal.py b/profiles/minimal.py index c7df517c..3b161511 100644 --- a/profiles/minimal.py +++ b/profiles/minimal.py @@ -2,7 +2,7 @@ is_top_level_profile = True -__description__ = 'A very basic installation that allows you to customize Arch Linux as you see fit.' +__description__ = str(_('A very basic installation that allows you to customize Arch Linux as you see fit.')) def _prep_function(*args, **kwargs): diff --git a/profiles/server.py b/profiles/server.py index bbeece12..91ac7cf2 100644 --- a/profiles/server.py +++ b/profiles/server.py @@ -6,7 +6,7 @@ import archinstall is_top_level_profile = True -__description__ = 'Provides a selection of various server packages to install and enable, e.g. httpd, nginx, mariadb' +__description__ = str(_('Provides a selection of various server packages to install and enable, e.g. httpd, nginx, mariadb')) available_servers = [ "cockpit", @@ -26,8 +26,8 @@ def _prep_function(*args, **kwargs): Magic function called by the importing installer before continuing any further. """ - servers = archinstall.Menu( - 'Choose which servers to install, if none then a minimal installation wil be done', + servers = archinstall.Menu(str(_( + 'Choose which servers to install, if none then a minimal installation wil be done')), available_servers, preset_values=archinstall.storage.get('_selected_servers', []), multi=True diff --git a/profiles/xorg.py b/profiles/xorg.py index 237e4350..2ce8dcc2 100644 --- a/profiles/xorg.py +++ b/profiles/xorg.py @@ -6,7 +6,7 @@ from archinstall.lib.hardware import __packages__ as __hwd__packages__ is_top_level_profile = True -__description__ = 'Installs a minimal system as well as xorg and graphics drivers.' +__description__ = str(_('Installs a minimal system as well as xorg and graphics drivers.')) __packages__ = [ 'dkms', |