Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/installer.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/installer.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/installer.py')
-rw-r--r--archinstall/lib/installer.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index cde1ec1d..daac340b 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -141,8 +141,8 @@ class Installer:
# We avoid printing /mnt/<log path> because that might confuse people if they note it down
# and then reboot, and a identical log file will be found in the ISO medium anyway.
- print(f"[!] A log file has been created here: {os.path.join(storage['LOG_PATH'], storage['LOG_FILE'])}")
- print(" Please submit this issue (and file) to https://github.com/archlinux/archinstall/issues")
+ print(_("[!] A log file has been created here: {} {}").format(os.path.join(storage['LOG_PATH'], storage['LOG_FILE'])))
+ print(_(" Please submit this issue (and file) to https://github.com/archlinux/archinstall/issues"))
raise args[1]
self.genfstab()
@@ -282,7 +282,7 @@ class Installer:
partition.mount(f'{self.target}{mountpoint}')
- def post_install_check(self, *args :str, **kwargs :str) -> List[bool]:
+ def post_install_check(self, *args :str, **kwargs :str) -> List[str]:
return [step for step, flag in self.helper_flags.items() if flag is False]
def pacstrap(self, *packages :str, **kwargs :str) -> bool: