From 9fb8d3164ce07e6cd08fe60f2e6f1203ccb8991a Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 6 Feb 2022 21:30:26 +1100 Subject: 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 --- archinstall/lib/profiles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archinstall/lib/profiles.py') 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: -- cgit v1.2.3-70-g09d2