aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2023-01-26 10:32:39 +0100
committerPapoteur <papoteur@mageia.org>2023-01-26 10:32:39 +0100
commit75cb9cc75401080c1f6f519cf9350364fd271aab (patch)
treee612b1df2c1f181c99f926a281a6606bf1cca319
parente291478b1b8f5a0e35607b8e7c29535d73a44db5 (diff)
downloadisodumper-75cb9cc75401080c1f6f519cf9350364fd271aab.tar
isodumper-75cb9cc75401080c1f6f519cf9350364fd271aab.tar.gz
isodumper-75cb9cc75401080c1f6f519cf9350364fd271aab.tar.bz2
isodumper-75cb9cc75401080c1f6f519cf9350364fd271aab.tar.xz
isodumper-75cb9cc75401080c1f6f519cf9350364fd271aab.zip
fix translation string: not translate variables included
-rwxr-xr-xlib/isodumper.py7
-rw-r--r--po/es.po6
-rw-r--r--po/es_419.po6
-rw-r--r--po/es_MX.po6
-rw-r--r--po/nb.po6
5 files changed, 16 insertions, 15 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))
diff --git a/po/es.po b/po/es.po
index 0fe2062..4f38e3f 100644
--- a/po/es.po
+++ b/po/es.po
@@ -142,7 +142,7 @@ msgstr "Contiene esta/estas partición(es)"
#: lib/isodumper.py:270
#, python-brace-format
msgid "{device}: Type={type}, Label={label}"
-msgstr "{dispositivo}: Tipo={tipo}, Etiqueta={etiqueta}"
+msgstr "{device}: Tipo={type}, Etiqueta={label}"
#. I18N: None refers to partition (no partitions on the selected device)
#: lib/isodumper.py:275
@@ -266,12 +266,12 @@ msgstr "Escribiendo {source} a {target}"
#: lib/isodumper.py:530
#, python-brace-format
msgid "Executing copy from {source} to {target}"
-msgstr "Ejecutando copia de {fuente} a {destino}"
+msgstr "Ejecutando copia de {source} a {target}"
#: lib/isodumper.py:548
#, python-brace-format
msgid "Image {source} written to {target}"
-msgstr "Imagen {fuente} escrita en {objetivo}"
+msgstr "Imagen {source} escrita en {target}"
#: lib/isodumper.py:550
msgid "Bytes written: {}"
diff --git a/po/es_419.po b/po/es_419.po
index 20703d2..2b5ce8f 100644
--- a/po/es_419.po
+++ b/po/es_419.po
@@ -124,7 +124,7 @@ msgstr "Contiene esta(s) partición(es)"
#: lib/isodumper.py:270
#, python-brace-format
msgid "{device}: Type={type}, Label={label}"
-msgstr "{dispositivo}: Tipo={tipo}, Etiqueta={etiqueta}"
+msgstr "{device}: Tipo={type}, Etiqueta={label}"
#. I18N: None refers to partition (no partitions on the selected device)
#: lib/isodumper.py:275
@@ -248,12 +248,12 @@ msgstr "Escribiendo {source} a {target}"
#: lib/isodumper.py:530
#, python-brace-format
msgid "Executing copy from {source} to {target}"
-msgstr "Ejecutando copia de {fuente} a {destino}"
+msgstr "Ejecutando copia de {source} a {target}"
#: lib/isodumper.py:548
#, python-brace-format
msgid "Image {source} written to {target}"
-msgstr "Imagen {fuente} escrita en {objetivo}"
+msgstr "Imagen {source} escrita en {target}"
#: lib/isodumper.py:550
msgid "Bytes written: {}"
diff --git a/po/es_MX.po b/po/es_MX.po
index c2937ca..8de2504 100644
--- a/po/es_MX.po
+++ b/po/es_MX.po
@@ -123,7 +123,7 @@ msgstr "Contiene esta(s) partición(es)"
#: lib/isodumper.py:270
#, python-brace-format
msgid "{device}: Type={type}, Label={label}"
-msgstr "{dispositivo}: Tipo={tipo}, Etiqueta={etiqueta}"
+msgstr "{device}: Tipo={type}, Etiqueta={label}"
#. I18N: None refers to partition (no partitions on the selected device)
#: lib/isodumper.py:275
@@ -247,12 +247,12 @@ msgstr "Escribiendo {source} a {target}"
#: lib/isodumper.py:530
#, python-brace-format
msgid "Executing copy from {source} to {target}"
-msgstr "Ejecutando copia de {fuente} a {destino}"
+msgstr "Ejecutando copia de {source} a {target}"
#: lib/isodumper.py:548
#, python-brace-format
msgid "Image {source} written to {target}"
-msgstr "Imagen {fuente} escrita en {objetivo}"
+msgstr "Imagen {source} escrita en {target}"
#: lib/isodumper.py:550
msgid "Bytes written: {}"
diff --git a/po/nb.po b/po/nb.po
index 4d1c08b..27c2736 100644
--- a/po/nb.po
+++ b/po/nb.po
@@ -124,7 +124,7 @@ msgstr "Inneholder denne/disse partisjonen(e)"
#: lib/isodumper.py:270
#, python-brace-format
msgid "{device}: Type={type}, Label={label}"
-msgstr "{enhet}: Type={type}, Etikett={etikett}"
+msgstr "{device}: Type={type}, Etikett={label}"
#. I18N: None refers to partition (no partitions on the selected device)
#: lib/isodumper.py:275
@@ -246,12 +246,12 @@ msgstr "Skriver {source} til {target}"
#: lib/isodumper.py:530
#, python-brace-format
msgid "Executing copy from {source} to {target}"
-msgstr "Utfører kopi fra {kilde} til {mål}"
+msgstr "Utfører kopi fra {source} til {target}"
#: lib/isodumper.py:548
#, python-brace-format
msgid "Image {source} written to {target}"
-msgstr "Bilde {kilde} skrevet til {målet}"
+msgstr "Bilde {source} skrevet til {target}"
#: lib/isodumper.py:550
msgid "Bytes written: {}"