Fix translation string with format
This commit is contained in:
parent
731bd1efd4
commit
ec7d8adde2
8
po/cs.po
8
po/cs.po
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: diffuse-svn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-27 17:44-0500\n"
|
||||
"POT-Creation-Date: 2021-11-27 18:30-0500\n"
|
||||
"PO-Revision-Date: 2020-06-29 14:49-0400\n"
|
||||
"Last-Translator: Jindřich Šesták <khagaroth@gmail.com>\n"
|
||||
"Language-Team: NONE <NONE>\n"
|
||||
|
@ -887,9 +887,9 @@ msgid "Preferences"
|
|||
msgstr "Předvolby"
|
||||
|
||||
#: src/diffuse/resources.py:465
|
||||
#, fuzzy
|
||||
msgid "Error processing line {i + 1} of {file_name}."
|
||||
msgstr "Při zpracování řádku %(line)d souboru %(file)s došlo k chybě."
|
||||
#, python-brace-format
|
||||
msgid "Error processing line {line} of {file}."
|
||||
msgstr "Při zpracování řádku {line} souboru {file} došlo k chybě."
|
||||
|
||||
#: src/diffuse/utils.py:60
|
||||
msgid "Auto Detect"
|
||||
|
|
8
po/de.po
8
po/de.po
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: diffuse-svn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-27 17:44-0500\n"
|
||||
"POT-Creation-Date: 2021-11-27 18:30-0500\n"
|
||||
"PO-Revision-Date: 2021-01-26 04:29+0100\n"
|
||||
"Last-Translator: Henri Menke <henrimenke4@aim.com>\n"
|
||||
"Language-Team: German <henrimenke4@aim.com>\n"
|
||||
|
@ -882,9 +882,9 @@ msgid "Preferences"
|
|||
msgstr "Einstellungen"
|
||||
|
||||
#: src/diffuse/resources.py:465
|
||||
#, fuzzy
|
||||
msgid "Error processing line {i + 1} of {file_name}."
|
||||
msgstr "Fehler bei der Analyse der Zeilen %(line)d von %(file)s."
|
||||
#, python-brace-format
|
||||
msgid "Error processing line {line} of {file}."
|
||||
msgstr "Fehler bei der Analyse der Zeilen {line} von {file}."
|
||||
|
||||
#: src/diffuse/utils.py:60
|
||||
msgid "Auto Detect"
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-27 17:44-0500\n"
|
||||
"POT-Creation-Date: 2021-11-27 18:30-0500\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -814,7 +814,8 @@ msgid "Preferences"
|
|||
msgstr ""
|
||||
|
||||
#: src/diffuse/resources.py:465
|
||||
msgid "Error processing line {i + 1} of {file_name}."
|
||||
#, python-brace-format
|
||||
msgid "Error processing line {line} of {file}."
|
||||
msgstr ""
|
||||
|
||||
#: src/diffuse/utils.py:60
|
||||
|
|
8
po/es.po
8
po/es.po
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: diffuse-svn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-27 17:44-0500\n"
|
||||
"POT-Creation-Date: 2021-11-27 18:30-0500\n"
|
||||
"PO-Revision-Date: 2020-06-29 14:49-0400\n"
|
||||
"Last-Translator: David Marín Carreño <davefx@gmail.com>\n"
|
||||
"Language-Team: Spanish <henrimenke4@aim.com>\n"
|
||||
|
@ -876,9 +876,9 @@ msgid "Preferences"
|
|||
msgstr "Preferencias"
|
||||
|
||||
#: src/diffuse/resources.py:465
|
||||
#, fuzzy
|
||||
msgid "Error processing line {i + 1} of {file_name}."
|
||||
msgstr "Error procesando línea %(line)d de %(file)s."
|
||||
#, python-brace-format
|
||||
msgid "Error processing line {line} of {file}."
|
||||
msgstr "Error procesando línea {line} de {file}."
|
||||
|
||||
#: src/diffuse/utils.py:60
|
||||
msgid "Auto Detect"
|
||||
|
|
8
po/it.po
8
po/it.po
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: Diffuse 0.4.4\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-27 17:44-0500\n"
|
||||
"POT-Creation-Date: 2021-11-27 18:30-0500\n"
|
||||
"PO-Revision-Date: 2020-06-29 14:49-0400\n"
|
||||
"Last-Translator: Cristian Marchi <cri.penta@gmail.com>\n"
|
||||
"Language-Team: Italian\n"
|
||||
|
@ -879,9 +879,9 @@ msgid "Preferences"
|
|||
msgstr "Preferenze"
|
||||
|
||||
#: src/diffuse/resources.py:465
|
||||
#, fuzzy
|
||||
msgid "Error processing line {i + 1} of {file_name}."
|
||||
msgstr "Errore nell'elaborare la riga %(line)d di «%(file)s»."
|
||||
#, python-brace-format
|
||||
msgid "Error processing line {line} of {file}."
|
||||
msgstr "Errore nell'elaborare la riga {line} di «{file}»."
|
||||
|
||||
#: src/diffuse/utils.py:60
|
||||
msgid "Auto Detect"
|
||||
|
|
8
po/ja.po
8
po/ja.po
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: diffuse-svn r316\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-27 17:44-0500\n"
|
||||
"POT-Creation-Date: 2021-11-27 18:30-0500\n"
|
||||
"PO-Revision-Date: 2020-06-29 14:49-0400\n"
|
||||
"Last-Translator: Derrick Moser <derrick_moser@yahoo.com>\n"
|
||||
"Language-Team: Japanese\n"
|
||||
|
@ -875,9 +875,9 @@ msgid "Preferences"
|
|||
msgstr "設定"
|
||||
|
||||
#: src/diffuse/resources.py:465
|
||||
#, fuzzy
|
||||
msgid "Error processing line {i + 1} of {file_name}."
|
||||
msgstr "%(file)s の %(line)d行 を処理しているときにエラーが生じました。"
|
||||
#, python-brace-format
|
||||
msgid "Error processing line {line} of {file}."
|
||||
msgstr "{file} の {line}行 を処理しているときにエラーが生じました。"
|
||||
|
||||
#: src/diffuse/utils.py:60
|
||||
msgid "Auto Detect"
|
||||
|
|
8
po/ko.po
8
po/ko.po
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: diffuse-svn r316\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-27 17:44-0500\n"
|
||||
"POT-Creation-Date: 2021-11-27 18:30-0500\n"
|
||||
"PO-Revision-Date: 2020-06-29 14:49-0400\n"
|
||||
"Last-Translator: Kang Bundo <bundo@bundo.biz>\n"
|
||||
"Language-Team: Korean\n"
|
||||
|
@ -871,9 +871,9 @@ msgid "Preferences"
|
|||
msgstr "기본 설정"
|
||||
|
||||
#: src/diffuse/resources.py:465
|
||||
#, fuzzy
|
||||
msgid "Error processing line {i + 1} of {file_name}."
|
||||
msgstr "%(file)s %(line)d 행을 처리하는 도중 오류가 발생했습니다."
|
||||
#, python-brace-format
|
||||
msgid "Error processing line {line} of {file}."
|
||||
msgstr "{file} {line} 행을 처리하는 도중 오류가 발생했습니다."
|
||||
|
||||
#: src/diffuse/utils.py:60
|
||||
msgid "Auto Detect"
|
||||
|
|
8
po/pl.po
8
po/pl.po
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: diffuse-0.4.8\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-27 17:44-0500\n"
|
||||
"POT-Creation-Date: 2021-11-27 18:30-0500\n"
|
||||
"PO-Revision-Date: 2020-06-29 14:49-0400\n"
|
||||
"Last-Translator: Miś Uszatek <adres.email@ymail.com>, 2012\n"
|
||||
"Language-Team: Polish <manpages-pl-list@lists.sourceforge.net>\n"
|
||||
|
@ -865,9 +865,9 @@ msgid "Preferences"
|
|||
msgstr "Preferencje"
|
||||
|
||||
#: src/diffuse/resources.py:465
|
||||
#, fuzzy
|
||||
msgid "Error processing line {i + 1} of {file_name}."
|
||||
msgstr "Błąd przetwarzania linii %(line)d w %(file)s."
|
||||
#, python-brace-format
|
||||
msgid "Error processing line {line} of {file}."
|
||||
msgstr "Błąd przetwarzania linii {line} w {file}."
|
||||
|
||||
#: src/diffuse/utils.py:60
|
||||
msgid "Auto Detect"
|
||||
|
|
8
po/pt.po
8
po/pt.po
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: diffuse-svn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-27 17:44-0500\n"
|
||||
"POT-Creation-Date: 2021-11-27 18:30-0500\n"
|
||||
"PO-Revision-Date: 2020-06-29 14:49-0400\n"
|
||||
"Last-Translator: Pedro Albuquerque <pmra@gmx.com>\n"
|
||||
"Language-Team: Português <pmra@gmx.com>\n"
|
||||
|
@ -882,9 +882,9 @@ msgid "Preferences"
|
|||
msgstr "Preferências"
|
||||
|
||||
#: src/diffuse/resources.py:465
|
||||
#, fuzzy
|
||||
msgid "Error processing line {i + 1} of {file_name}."
|
||||
msgstr "Erro ao processar a linha %(line)d de %(file)s."
|
||||
#, python-brace-format
|
||||
msgid "Error processing line {line} of {file}."
|
||||
msgstr "Erro ao processar a linha {line} de {file}."
|
||||
|
||||
#: src/diffuse/utils.py:60
|
||||
msgid "Auto Detect"
|
||||
|
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: diffuse-svn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-27 17:44-0500\n"
|
||||
"POT-Creation-Date: 2021-11-27 18:30-0500\n"
|
||||
"PO-Revision-Date: 2021-11-05 14:49-0400\n"
|
||||
"Last-Translator: Pedro Albuquerque <pmra@gmx.com>\n"
|
||||
"Language-Team: Português <pmra@gmx.com>\n"
|
||||
|
@ -884,9 +884,9 @@ msgid "Preferences"
|
|||
msgstr "Preferências"
|
||||
|
||||
#: src/diffuse/resources.py:465
|
||||
#, fuzzy
|
||||
msgid "Error processing line {i + 1} of {file_name}."
|
||||
msgstr "Erro ao processar a linha %(line)d de %(file)s."
|
||||
#, python-brace-format
|
||||
msgid "Error processing line {line} of {file}."
|
||||
msgstr "Erro ao processar a linha {line} de {file}."
|
||||
|
||||
#: src/diffuse/utils.py:60
|
||||
msgid "Auto Detect"
|
||||
|
|
8
po/ru.po
8
po/ru.po
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: diffuse-svn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-27 17:44-0500\n"
|
||||
"POT-Creation-Date: 2021-11-27 18:30-0500\n"
|
||||
"PO-Revision-Date: 2020-06-29 14:49-0400\n"
|
||||
"Last-Translator: Oleg Pakhtusov <opakhtusov@gmail.com>\n"
|
||||
"Language-Team: Russian <opakhtusov@gmail.com>\n"
|
||||
|
@ -886,9 +886,9 @@ msgid "Preferences"
|
|||
msgstr "Предпочтения"
|
||||
|
||||
#: src/diffuse/resources.py:465
|
||||
#, fuzzy
|
||||
msgid "Error processing line {i + 1} of {file_name}."
|
||||
msgstr "Ошибка обработки строки %(line)d из %(file)s."
|
||||
#, python-brace-format
|
||||
msgid "Error processing line {line} of {file}."
|
||||
msgstr "Ошибка обработки строки {line} из {file}."
|
||||
|
||||
#: src/diffuse/utils.py:60
|
||||
msgid "Auto Detect"
|
||||
|
|
9
po/sv.po
9
po/sv.po
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-27 17:44-0500\n"
|
||||
"POT-Creation-Date: 2021-11-27 18:30-0500\n"
|
||||
"PO-Revision-Date: 2021-01-17 22:14+0100\n"
|
||||
"Last-Translator: Åke Engelbrektson <eson@svenskasprakfiler.se>\n"
|
||||
"Language-Team: Svenska Språkfiler <contactform@svenskasprakfiler.se>\n"
|
||||
|
@ -188,7 +188,6 @@ msgid "Line Number: "
|
|||
msgstr "Radnummer: "
|
||||
|
||||
#: src/diffuse/main.py:645
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"Press the enter key or double click to edit. Press the space bar or use the RMB "
|
||||
"menu to manually align."
|
||||
|
@ -875,9 +874,9 @@ msgid "Preferences"
|
|||
msgstr "Inställningar"
|
||||
|
||||
#: src/diffuse/resources.py:465
|
||||
#, fuzzy
|
||||
msgid "Error processing line {i + 1} of {file_name}."
|
||||
msgstr "Fel vid bearbetning av rad %(line)d i %(file)s."
|
||||
#, python-brace-format
|
||||
msgid "Error processing line {line} of {file}."
|
||||
msgstr "Fel vid bearbetning av rad {line} i {file}."
|
||||
|
||||
#: src/diffuse/utils.py:60
|
||||
msgid "Auto Detect"
|
||||
|
|
8
po/th.po
8
po/th.po
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: diffuse 0.4.7\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-27 17:44-0500\n"
|
||||
"POT-Creation-Date: 2021-11-27 18:30-0500\n"
|
||||
"PO-Revision-Date: 2020-06-29 14:49-0400\n"
|
||||
"Last-Translator: Akom Chotiphantawanon <knight2000@gmail.com>\n"
|
||||
"Language-Team: Thai <thai-l10n@googlegroups.com>\n"
|
||||
|
@ -868,9 +868,9 @@ msgid "Preferences"
|
|||
msgstr "ปรับแต่ง"
|
||||
|
||||
#: src/diffuse/resources.py:465
|
||||
#, fuzzy
|
||||
msgid "Error processing line {i + 1} of {file_name}."
|
||||
msgstr "เกิดข้อผิดพลาดขณะประมวลผลบรรทัดที่ %(line)d ของ %(file)s"
|
||||
#, python-brace-format
|
||||
msgid "Error processing line {line} of {file}."
|
||||
msgstr "เกิดข้อผิดพลาดขณะประมวลผลบรรทัดที่ {line} ของ {file}"
|
||||
|
||||
#: src/diffuse/utils.py:60
|
||||
msgid "Auto Detect"
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: Diffuse svn 316\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-27 17:44-0500\n"
|
||||
"POT-Creation-Date: 2021-11-27 18:30-0500\n"
|
||||
"PO-Revision-Date: 2020-06-29 14:49-0400\n"
|
||||
"Last-Translator: <jarryson@gmail.com>\n"
|
||||
"Language-Team: Chinese (simplified)\n"
|
||||
|
@ -852,9 +852,9 @@ msgid "Preferences"
|
|||
msgstr "首选项"
|
||||
|
||||
#: src/diffuse/resources.py:465
|
||||
#, fuzzy
|
||||
msgid "Error processing line {i + 1} of {file_name}."
|
||||
msgstr "处理到文件%(file)s的%(line)d行时出错。"
|
||||
#, python-brace-format
|
||||
msgid "Error processing line {line} of {file}."
|
||||
msgstr "处理到文件{file}的{line}行时出错。"
|
||||
|
||||
#: src/diffuse/utils.py:60
|
||||
msgid "Auto Detect"
|
||||
|
|
|
@ -9,7 +9,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: diffuse 0.4.8\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-27 17:44-0500\n"
|
||||
"POT-Creation-Date: 2021-11-27 18:30-0500\n"
|
||||
"PO-Revision-Date: 2020-06-29 14:49-0400\n"
|
||||
"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
|
||||
"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
|
||||
|
@ -869,9 +869,9 @@ msgid "Preferences"
|
|||
msgstr "選項"
|
||||
|
||||
#: src/diffuse/resources.py:465
|
||||
#, fuzzy
|
||||
msgid "Error processing line {i + 1} of {file_name}."
|
||||
msgstr "處理到檔案 %(file)s 的第 %(line)d 列時出錯。"
|
||||
#, python-brace-format
|
||||
msgid "Error processing line {line} of {file}."
|
||||
msgstr "處理到檔案 {file} 的第 {line} 列時出錯。"
|
||||
|
||||
#: src/diffuse/utils.py:60
|
||||
msgid "Auto Detect"
|
||||
|
|
|
@ -462,7 +462,10 @@ class Resources:
|
|||
raise ValueError()
|
||||
# except ValueError:
|
||||
except: # noqa: E722 # Grr... the 're' module throws weird errors
|
||||
utils.logError(_(f'Error processing line {i + 1} of {file_name}.'))
|
||||
utils.logError(_('Error processing line {line} of {file}.'.format(
|
||||
line=i + 1,
|
||||
file=file_name
|
||||
)))
|
||||
|
||||
|
||||
# colour resources
|
||||
|
|
Loading…
Reference in New Issue