]> granicus.if.org Git - neomutt/commitdiff
trans: add missing ngettext
authorRichard Russon <rich@flatcap.org>
Fri, 17 Aug 2018 00:13:05 +0000 (01:13 +0100)
committerRichard Russon <rich@flatcap.org>
Tue, 4 Sep 2018 01:20:52 +0000 (02:20 +0100)
31 files changed:
copy.c
po/bg.po
po/ca.po
po/cs.po
po/da.po
po/de.po
po/el.po
po/en_GB.po
po/eo.po
po/es.po
po/et.po
po/eu.po
po/fr.po
po/ga.po
po/gl.po
po/hu.po
po/id.po
po/it.po
po/ja.po
po/ko.po
po/lt.po
po/nl.po
po/pl.po
po/pt_BR.po
po/ru.po
po/sk.po
po/sv.po
po/tr.po
po/uk.po
po/zh_CN.po
po/zh_TW.po

diff --git a/copy.c b/copy.c
index b52b404512f6b42bbfecdf5575c835782786810a..6a41373cca1a97e622be4b3b5aa49c3c4ffbcb95 100644 (file)
--- 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;
       }
 
index 133e03be4ece537d8b6b54d340482183388e49e0..fbaae22946204452044cc66a71b1b1724140f9dd 100644 (file)
--- 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"
index 52ed8adac1463a072207d2ea5a36a437e578f2b3..cd257a35d40ed8acb0a541b83c048e053fa8c9d6 100644 (file)
--- 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"
index 5ba41e78ee876c69df0b39dd3978ee0824a9f874..c512c32f4f1afd4416ca878379004bad2b19a665 100644 (file)
--- 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"
index bb3c01afb431a7108da017715c42a84720789862..cef1b72f1b6baec9266abfe6c6063e04e1ab4bac 100644 (file)
--- 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"
index e4db734ff187b640f0bc4788942ba2939725723f..998acceb0101f187fe29852a730201d5599d3dd9 100644 (file)
--- 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"
index f8579af6f5c0869f1df3086e3a9f745a5661a838..86c89e9f113c5dfd9b30ee1edaf632833562bda6 100644 (file)
--- 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"
index f6ad32d72a836f8e146d0fe44ac6305a1bb93819..c01b487b6f0bafbdf079f7065dc018eef63f2026 100644 (file)
@@ -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"
index 4e9e8064fc26295348aca1fe63628a44f64b079b..6532ac4220d9a5b5cc22020dc7f35f7ffcb38e54 100644 (file)
--- 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"
index 57f033fa2fd42c6df2b5ceef626ff98cadb0ad63..18cd276be70e13b526a87565fe7acd7cf9e2a8b0 100644 (file)
--- 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"
index 67faf2d4dcd75465e8beb90108acf350d582c96d..c3e0c4029711e7d54c2e5c0ef2ea447ca67a2344 100644 (file)
--- 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"
index cbeeacdd05fabf3f16ecb836ff8503c3b196b6e5..b6d600e2e0580e390b40cee5c5d0336e3c88c736 100644 (file)
--- 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"
index 8a18cd4a79230de6d034f33b03def81394de3eff..29bdeee89502192de9ab2ddf06009d81833d80f6 100644 (file)
--- 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"
index e0f60a561731b261c872d66226792bc9a02efc8b..67c78ff7034b84f9dba1b00a2586c92d0f718c0c 100644 (file)
--- 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"
index f9a5d6c26f98ec2a8ca98841ef8cd1cce322253f..c9ff3a8777fdb1a50a7272de62cdc24b101d3c97 100644 (file)
--- 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"
index e39922d23b84c914a06519eef3ed58623ccb6505..8728f68b69b7e3672ecadebdc1955f4d3ec0c3d8 100644 (file)
--- 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"
index 5949533a1efc3e4f1f963ee62cfd8d969db0c2a8..dacb19a36dc4f4a1bd6ebe147ab3ee6d5637ae7f 100644 (file)
--- 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"
index 114af01539f9beb979ade99384a965853a8df198..055bf7f07edd83d0cb7ed15daa911bc4768a6820 100644 (file)
--- 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"
index 7ca81d7e17dcec051ffa4776f5bcdc7b19b8d63d..25dfe43e55bcb86e4c014ef3d911c50c66795028 100644 (file)
--- 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"
index ab7345dd5b803a3f4545a7fdde3823c40ae8aec0..306d9ea9d8d4b9aa5b8d83d520bccc882921a56a 100644 (file)
--- 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"
index beef0f600897bd17a4f6e6a9538049dc4418208e..68cd74a269be924e81562f879a93743025bb7c64 100644 (file)
--- 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"
index 08b4244375e12f95df4a80084743d437fc1379fa..4af8b73a2c10c5c20ea861baca2a95e499672764 100644 (file)
--- 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"
index cdfac76a6e4c766dab2e2405ea94ceb4fc55659e..51f72346f1164b74a729e841ee51c131d9d5cb05 100644 (file)
--- 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"
index f15d93a3551b99627c974d92f55c3ecfeaf5dddb..cac04f084c0f446553331bf8961cac6fa9a62983 100644 (file)
@@ -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"
index aacd12b5f1246536520da4e823ccafde85571a82..b5d5289a469eb28834fe8d317fb5e5aa75aea2b7 100644 (file)
--- 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"
index 735e9f17c504a25219ed421f8850929801148f74..a96619128a3c2220b07cec3845785e56fede6e9f 100644 (file)
--- 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"
index 5e160fc5037dcc26d98afc787b73ab0573e6bd1d..dbebe39a0f4924f00deccc5e80bc8971186d378a 100644 (file)
--- 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"
index d1d7d520780048218f308963737fcc23f38429d7..a1ae2d69b94cd53a9bfa8a942d5b9c647fe654e3 100644 (file)
--- 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"
index 3640b90c1aa1cd7627ad48aebdfe3546d850b4df..91d91eeb28a49f1e1da255e617eeda4b0967d50e 100644 (file)
--- 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"
index a790a00fd37770978e571bcfd173ecc63d76e3ae..7997a8eba471f59c2c39c57fd0d910a50b01e796 100644 (file)
@@ -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"
index e5aeb6766e6994546eb2a123bf2fcdd750d8284f..0015a165d5ae13a43c9c059f1255ad3189e0988a 100644 (file)
@@ -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"