From: Richard Russon Date: Fri, 17 Aug 2018 00:13:05 +0000 (+0100) Subject: trans: add missing ngettext X-Git-Tag: 2019-10-25~663^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b0cabcff05941648a5c6f9a50413164b2544647;p=neomutt trans: add missing ngettext --- diff --git a/copy.c b/copy.c index b52b40451..6a41373cc 100644 --- a/copy.c +++ b/copy.c @@ -641,7 +641,9 @@ int mutt_copy_message_fp(FILE *fpout, FILE *fpin, struct Header *hdr, int flags, LOFF_T fail = ((ftello(fpout) - new_offset) - new_length); if (fail) { - mutt_error(_("The length calculation was wrong by %ld bytes"), fail); + mutt_error(ngettext("The length calculation was wrong by %ld byte", + "The length calculation was wrong by %ld bytes", fail), + fail); new_length += fail; } diff --git a/po/bg.po b/po/bg.po index 133e03be4..fbaae2294 100644 --- a/po/bg.po +++ b/po/bg.po @@ -1307,8 +1307,10 @@ msgstr "Грешка в комуникацията с %s (%s)" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/ca.po b/po/ca.po index 52ed8adac..cd257a35d 100644 --- a/po/ca.po +++ b/po/ca.po @@ -1360,8 +1360,10 @@ msgstr "Error al túnel establert amb «%s»: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/cs.po b/po/cs.po index 5ba41e78e..c512c32f4 100644 --- a/po/cs.po +++ b/po/cs.po @@ -1259,8 +1259,11 @@ msgstr "Chyba při komunikaci tunelem s %s (%s)" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/da.po b/po/da.po index bb3c01afb..cef1b72f1 100644 --- a/po/da.po +++ b/po/da.po @@ -1280,8 +1280,10 @@ msgstr "Fejl i tunnel under kommunikation med %s: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/de.po b/po/de.po index e4db734ff..998acceb0 100644 --- a/po/de.po +++ b/po/de.po @@ -1247,8 +1247,10 @@ msgstr "Tunnel-Fehler bei Verbindung mit %s: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/el.po b/po/el.po index f8579af6f..86c89e9f1 100644 --- a/po/el.po +++ b/po/el.po @@ -1306,8 +1306,10 @@ msgstr "Σφάλμα στη συνομιλία με το %s (%s)" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/en_GB.po b/po/en_GB.po index f6ad32d72..c01b487b6 100644 --- a/po/en_GB.po +++ b/po/en_GB.po @@ -1241,8 +1241,10 @@ msgstr "Tunnel error talking to %s: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "The length calculation was wrong by %ld bytes" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "The length calculation was wrong by %ld byte" +msgstr[1] "The length calculation was wrong by %ld bytes" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/eo.po b/po/eo.po index 4e9e8064f..6532ac422 100644 --- a/po/eo.po +++ b/po/eo.po @@ -1279,8 +1279,10 @@ msgstr "Tuneleraro dum komunikado kun %s: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/es.po b/po/es.po index 57f033fa2..18cd276be 100644 --- a/po/es.po +++ b/po/es.po @@ -1305,8 +1305,10 @@ msgstr "Error al hablar con %s (%s)" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/et.po b/po/et.po index 67faf2d4d..c3e0c4029 100644 --- a/po/et.po +++ b/po/et.po @@ -1301,8 +1301,10 @@ msgstr "Viga serveriga %s suhtlemisel (%s)" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/eu.po b/po/eu.po index cbeeacdd0..b6d600e2e 100644 --- a/po/eu.po +++ b/po/eu.po @@ -1292,8 +1292,10 @@ msgstr "Tunel errorea %s-rekiko konexioan: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/fr.po b/po/fr.po index 8a18cd4a7..29bdeee89 100644 --- a/po/fr.po +++ b/po/fr.po @@ -1341,8 +1341,10 @@ msgstr "Erreur de tunnel en parlant à %s : %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/ga.po b/po/ga.po index e0f60a561..67c78ff70 100644 --- a/po/ga.po +++ b/po/ga.po @@ -1313,8 +1313,13 @@ msgstr "Earráid tolláin i rith déanamh teagmháil le %s: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/gl.po b/po/gl.po index f9a5d6c26..c9ff3a877 100644 --- a/po/gl.po +++ b/po/gl.po @@ -1306,8 +1306,10 @@ msgstr "Erro ó conectar có servidor: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/hu.po b/po/hu.po index e39922d23..8728f68b6 100644 --- a/po/hu.po +++ b/po/hu.po @@ -1302,8 +1302,10 @@ msgstr "Hiba a %s kapcsolat közben (%s)" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/id.po b/po/id.po index 5949533a1..dacb19a36 100644 --- a/po/id.po +++ b/po/id.po @@ -1289,8 +1289,9 @@ msgstr "Kesalahan tunnel saat berbicara dg %s: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/it.po b/po/it.po index 114af0153..055bf7f07 100644 --- a/po/it.po +++ b/po/it.po @@ -1286,8 +1286,10 @@ msgstr "Errore del tunnel nella comunicazione con %s: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/ja.po b/po/ja.po index 7ca81d7e1..25dfe43e5 100644 --- a/po/ja.po +++ b/po/ja.po @@ -1271,8 +1271,9 @@ msgstr "%s へのトンネル交信エラー: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/ko.po b/po/ko.po index ab7345dd5..306d9ea9d 100644 --- a/po/ko.po +++ b/po/ko.po @@ -1297,8 +1297,9 @@ msgstr "%s (%s) 오류" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/lt.po b/po/lt.po index beef0f600..68cd74a26 100644 --- a/po/lt.po +++ b/po/lt.po @@ -1247,12 +1247,13 @@ msgstr "Tunelis į %s grąžino klaidą %d (%s)" msgid "Tunnel error talking to %s: %s" msgstr "Tunelio klaida kalbant su %s: %s" -# FIXME: this should use ngettext(), see -# https://github.com/neomutt/neomutt/issues/1276#issuecomment-411729048 #: copy.c:642 -#, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "Ilgio skaičiavimas suklydo %ld baitais" +#, fuzzy, c-format +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "Ilgio skaičiavimas suklydo %ld baitais" +msgstr[1] "Ilgio skaičiavimas suklydo %ld baitais" +msgstr[2] "Ilgio skaičiavimas suklydo %ld baitais" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/nl.po b/po/nl.po index 08b424437..4af8b73a2 100644 --- a/po/nl.po +++ b/po/nl.po @@ -1279,8 +1279,10 @@ msgstr "Fout in tunnel in communicatie met %s: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/pl.po b/po/pl.po index cdfac76a6..51f72346f 100644 --- a/po/pl.po +++ b/po/pl.po @@ -1275,8 +1275,11 @@ msgstr "Zestawianie tunelu: błąd komunikacji z %s: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/pt_BR.po b/po/pt_BR.po index f15d93a35..cac04f084 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -1243,8 +1243,10 @@ msgstr "Erro de tunel ao comunicar com %s: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/ru.po b/po/ru.po index aacd12b5f..b5d5289a4 100644 --- a/po/ru.po +++ b/po/ru.po @@ -1286,8 +1286,11 @@ msgstr "Ошибка туннеля при взаимодействии с %s: % #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/sk.po b/po/sk.po index 735e9f17c..a96619128 100644 --- a/po/sk.po +++ b/po/sk.po @@ -1277,8 +1277,11 @@ msgstr "Pripájam sa na %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/sv.po b/po/sv.po index 5e160fc50..dbebe39a0 100644 --- a/po/sv.po +++ b/po/sv.po @@ -1292,8 +1292,10 @@ msgstr "Tunnelfel vid förbindelsen till %s: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/tr.po b/po/tr.po index d1d7d5207..a1ae2d69b 100644 --- a/po/tr.po +++ b/po/tr.po @@ -1275,8 +1275,10 @@ msgstr "%s ile konuşurken tünel hatası oluştu: %s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/uk.po b/po/uk.po index 3640b90c1..91d91eeb2 100644 --- a/po/uk.po +++ b/po/uk.po @@ -1284,8 +1284,11 @@ msgstr "Помилка тунелю у з’єднанні з сервером % #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/zh_CN.po b/po/zh_CN.po index a790a00fd..7997a8eba 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -1241,8 +1241,9 @@ msgstr "与 %s 通话时隧道错误:%s" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" #: copy.c:721 msgid "No decryption engine available for message" diff --git a/po/zh_TW.po b/po/zh_TW.po index e5aeb6766..0015a165d 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -1300,8 +1300,9 @@ msgstr "連線到 %s (%s) 時失敗" #: copy.c:642 #, c-format -msgid "The length calculation was wrong by %ld bytes" -msgstr "" +msgid "The length calculation was wrong by %ld byte" +msgid_plural "The length calculation was wrong by %ld bytes" +msgstr[0] "" #: copy.c:721 msgid "No decryption engine available for message"