Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorAlexmelman88 <99257010+Alexmelman88@users.noreply.github.com>2022-05-09 10:58:06 +0300
committerGitHub <noreply@github.com>2022-05-09 09:58:06 +0200
commit20ffebac50478554a7582de5e5c1d8b4504ea8be (patch)
tree730beaba5f54421d646b71427b7ba9c7e629f64f /profiles
parent80cee500e0ef0cf4de84b8b60b35c25f667e7a34 (diff)
Updated base.pot, added new translation strings from *.py files, updated ru locale (#1146)
* Create base.po * Add files via upload * Delete base.po * Add files via upload * Delete base.mo * Add files via upload * Update base.pot * Update base.po * Delete base.mo * Add files via upload * Delete base.mo * Add files via upload * Update base.po * Delete base.mo * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Update desktop.py * Update minimal.py * Update xorg.py * Update server.py * Update desktop.py * Update server.py * Update guided.py * Add files via upload * Add files via upload * Update guided.py * Add files via upload * Add files via upload
Diffstat (limited to 'profiles')
-rw-r--r--profiles/desktop.py4
-rw-r--r--profiles/minimal.py2
-rw-r--r--profiles/server.py6
-rw-r--r--profiles/xorg.py2
4 files changed, 7 insertions, 7 deletions
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',