Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/profiles.py
diff options
context:
space:
mode:
authorDaniel <blackrabbit256@gmail.com>2022-02-06 21:30:26 +1100
committerGitHub <noreply@github.com>2022-02-06 11:30:26 +0100
commit9fb8d3164ce07e6cd08fe60f2e6f1203ccb8991a (patch)
tree8e525e9d65ab48da74602bec20e68e5cae51d754 /archinstall/lib/profiles.py
parentec73bdab4cf124aba16e10293e5e75a3bc89afb8 (diff)
Update nationalization (#944)
* Update nationalization * Update translations * Finish german translation * Fix errors #943 * Add remaining translations * Fix alignment in menu * Update README * Update translations: * Fix flake8 * Update tz function Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Diffstat (limited to 'archinstall/lib/profiles.py')
-rw-r--r--archinstall/lib/profiles.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index 9befd3d5..4295fa8f 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -86,10 +86,10 @@ def list_profiles(
try:
profile_list = json.loads(grab_url_data(profiles_url))
except urllib.error.HTTPError as err:
- print(f'Error: Listing profiles on URL "{profiles_url}" resulted in:', err)
+ print(_('Error: Listing profiles on URL "{}" resulted in:').format(profiles_url), err)
return cache
except json.decoder.JSONDecodeError as err:
- print(f'Error: Could not decode "{profiles_url}" result as JSON:', err)
+ print(_('Error: Could not decode "{}" result as JSON:').format(profiles_url), err)
return cache
for profile in profile_list: