Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/menu/list_manager.py
diff options
context:
space:
mode:
authorDaniel Girtler <blackrabbit256@gmail.com>2022-05-11 00:20:53 +1000
committerGitHub <noreply@github.com>2022-05-10 16:20:53 +0200
commitf80144e7c709013184c7a5536ac2ae9487af690f (patch)
treedc5507ea1979983021851346efd6696f973ac782 /archinstall/lib/menu/list_manager.py
parent1320057218ea575bca2854e2f349a684369fc7c9 (diff)
Fixes #1048 and translation updates (#1156)
* Remove comments from translation files * Add german translations Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Diffstat (limited to 'archinstall/lib/menu/list_manager.py')
-rw-r--r--archinstall/lib/menu/list_manager.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/archinstall/lib/menu/list_manager.py b/archinstall/lib/menu/list_manager.py
index f3927e6f..4c7e9907 100644
--- a/archinstall/lib/menu/list_manager.py
+++ b/archinstall/lib/menu/list_manager.py
@@ -260,14 +260,14 @@ class ListManager:
self._data.append(self.target)
if self.action == str(_('Copy')):
while True:
- target = TextInput(_('Copy to :'),self.target).run()
+ target = TextInput(_('Copy to: '),self.target).run()
if target != self.target:
self._data.append(self.target)
break
elif self.action == str(_('Edit')):
tgt = self.target
idx = self._data.index(self.target)
- result = TextInput(_('Edite :'),tgt).run()
+ result = TextInput(_('Edit: '),tgt).run()
self._data[idx] = result
elif self.action == str(_('Delete')):
del self._data[self._data.index(self.target)]
@@ -279,7 +279,7 @@ class ListManager:
origkey = None
origval = None
if self.action == str(_('Add')):
- key = TextInput(_('Key :'),None).run()
+ key = TextInput(_('Key: '),None).run()
value = TextInput(_('Value :'),None).run()
self._data[key] = value
if self.action == str(_('Copy')):
@@ -289,7 +289,7 @@ class ListManager:
self._data[key] = origval
break
elif self.action == str(_('Edit')):
- value = TextInput(_(f'Edit {origkey} :'),origval).run()
+ value = TextInput(_('Edit {}: ').format(origkey), origval).run()
self._data[origkey] = value
elif self.action == str(_('Delete')):
del self._data[origkey]