aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/isodumper.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index efb6b51..c28791d 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -266,6 +266,7 @@ class IsoDumper(basedialog.BaseDialog):
partitions = self.u.get_partitions(self.dev.split('(')[1].split(')')[0])
# I18N: verb in singular 3rd person
self.logger(_("Contains this/these partition(s)"))
+ # I18N: don't translate keywords inside {}
for partition in partitions:
self.logger(_("{device}: Type={type}, Label={label}").format(device=partition['device'],
type=partition['type'],
@@ -485,7 +486,7 @@ class IsoDumper(basedialog.BaseDialog):
time.sleep(.2)
success, message = self.iface.end()
if success:
- #: don't translate source or target
+ # I18N: don't translate source nor target
message = _('{source} successfully written to {target}').format(source=source.split('/')[-1], target=dest)
self.logger(message)
logging.info(message)
@@ -524,7 +525,7 @@ class IsoDumper(basedialog.BaseDialog):
pass
else:
return
- #: don't translate source or target
+ # I18N: don't translate source nor target
self.progress.setLabel(_('Writing {source} to {target}').format(source=source.split('/')[-1],
target=target.split('/')[-1]))
message = _('Executing copy from {source} to {target}').format(source=source, target=target)
@@ -544,7 +545,7 @@ class IsoDumper(basedialog.BaseDialog):
time.sleep(.5)
success, message = self.iface.end()
if success:
- #: don't translate source or target
+ # I18N: don't translate source nor target
message = _('Image {source} written to {target}').format(source=source.split('/')[-1],
target=target)
message += "\n" + _('Bytes written: {}').format(str(b))