diff options
author | Papoteur <papoteur@mageia.org> | 2023-01-26 10:32:39 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2023-01-26 10:32:39 +0100 |
commit | 75cb9cc75401080c1f6f519cf9350364fd271aab (patch) | |
tree | e612b1df2c1f181c99f926a281a6606bf1cca319 | |
parent | e291478b1b8f5a0e35607b8e7c29535d73a44db5 (diff) | |
download | isodumper-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-x | lib/isodumper.py | 7 | ||||
-rw-r--r-- | po/es.po | 6 | ||||
-rw-r--r-- | po/es_419.po | 6 | ||||
-rw-r--r-- | po/es_MX.po | 6 | ||||
-rw-r--r-- | po/nb.po | 6 |
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)) @@ -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: {}" @@ -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: {}" |