From 8fbf2bd6a370d5852a0563289b52e3bfdfce83e2 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Sun, 18 Mar 2018 13:36:46 +0000 Subject: [PATCH] too few --- color.c | 12 ++++++------ hook.c | 4 ++-- init.c | 4 ++-- keymap.c | 8 ++++---- po/bg.po | 16 ---------------- po/ca.po | 18 ------------------ po/cs.po | 16 ---------------- po/da.po | 16 ---------------- po/de.po | 16 ---------------- po/el.po | 16 ---------------- po/en_GB.po | 16 ---------------- po/eo.po | 16 ---------------- po/es.po | 16 ---------------- po/et.po | 16 ---------------- po/eu.po | 16 ---------------- po/fr.po | 16 ---------------- po/ga.po | 16 ---------------- po/gl.po | 16 ---------------- po/hu.po | 16 ---------------- po/id.po | 16 ---------------- po/it.po | 16 ---------------- po/ja.po | 16 ---------------- po/ko.po | 16 ---------------- po/lt.po | 16 ---------------- po/nl.po | 16 ---------------- po/pl.po | 16 ---------------- po/pt_BR.po | 16 ---------------- po/ru.po | 16 ---------------- po/sk.po | 16 ---------------- po/sv.po | 16 ---------------- po/tr.po | 16 ---------------- po/uk.po | 16 ---------------- po/zh_CN.po | 16 ---------------- po/zh_TW.po | 16 ---------------- score.c | 2 +- 35 files changed, 15 insertions(+), 497 deletions(-) diff --git a/color.c b/color.c index 5e5a32231..f545d981c 100644 --- a/color.c +++ b/color.c @@ -705,7 +705,7 @@ static int parse_object(struct Buffer *buf, struct Buffer *s, int *o, int *ql, { if (!MoreArgs(s)) { - mutt_str_strfcpy(err->data, _("Missing arguments."), err->dsize); + mutt_buffer_printf(err, _("%s: too few arguments"), "color"); return -1; } @@ -731,7 +731,7 @@ static int parse_object(struct Buffer *buf, struct Buffer *s, int *o, int *ql, { if (!MoreArgs(s)) { - mutt_str_strfcpy(err->data, _("Missing arguments."), err->dsize); + mutt_buffer_printf(err, _("%s: too few arguments"), "color"); return -1; } @@ -763,7 +763,7 @@ static int parse_color_pair(struct Buffer *buf, struct Buffer *s, int *fg, { if (!MoreArgs(s)) { - mutt_str_strfcpy(err->data, _("color: too few arguments"), err->dsize); + mutt_buffer_printf(err, _("%s: too few arguments"), "color"); return -1; } @@ -774,7 +774,7 @@ static int parse_color_pair(struct Buffer *buf, struct Buffer *s, int *fg, if (!MoreArgs(s)) { - mutt_str_strfcpy(err->data, _("color: too few arguments"), err->dsize); + mutt_buffer_printf(err, _("%s: too few arguments"), "color"); return -1; } @@ -798,7 +798,7 @@ static int parse_attr_spec(struct Buffer *buf, struct Buffer *s, int *fg, if (!MoreArgs(s)) { - mutt_str_strfcpy(err->data, _("mono: too few arguments"), err->dsize); + mutt_buffer_printf(err, _("%s: too few arguments"), "mono"); return -1; } @@ -862,7 +862,7 @@ static int parse_color(struct Buffer *buf, struct Buffer *s, struct Buffer *err, { if (!MoreArgs(s)) { - mutt_str_strfcpy(err->data, _("too few arguments"), err->dsize); + mutt_buffer_printf(err, _("%s: too few arguments"), "color"); return -1; } diff --git a/hook.c b/hook.c index 7b8bbeec7..ce43290d7 100644 --- a/hook.c +++ b/hook.c @@ -85,7 +85,7 @@ int mutt_parse_hook(struct Buffer *buf, struct Buffer *s, unsigned long data, if (!MoreArgs(s)) { - mutt_str_strfcpy(err->data, _("too few arguments"), err->dsize); + mutt_buffer_printf(err, _("%s: too few arguments"), buf->data); goto error; } } @@ -98,7 +98,7 @@ int mutt_parse_hook(struct Buffer *buf, struct Buffer *s, unsigned long data, if (!command.data) { - mutt_str_strfcpy(err->data, _("too few arguments"), err->dsize); + mutt_buffer_printf(err, _("%s: too few arguments"), buf->data); goto error; } diff --git a/init.c b/init.c index 52394b80d..fd16c76dd 100644 --- a/init.c +++ b/init.c @@ -2133,7 +2133,7 @@ static int parse_setenv(struct Buffer *tmp, struct Buffer *s, if (!MoreArgs(s)) { - mutt_str_strfcpy(err->data, _("too few arguments"), err->dsize); + mutt_buffer_printf(err, _("%s: too few arguments"), "setenv"); return -1; } @@ -2209,7 +2209,7 @@ static int parse_setenv(struct Buffer *tmp, struct Buffer *s, if (!MoreArgs(s)) { - mutt_str_strfcpy(err->data, _("too few arguments"), err->dsize); + mutt_buffer_printf(err, _("%s: too few arguments"), "setenv"); return -1; } diff --git a/keymap.c b/keymap.c index fb6dc1d84..00b72ed3d 100644 --- a/keymap.c +++ b/keymap.c @@ -977,7 +977,7 @@ int mutt_parse_push(struct Buffer *buf, struct Buffer *s, unsigned long data, * * Expects to see: ,,... */ -char *parse_keymap(int *menu, struct Buffer *s, int maxmenus, int *nummenus, struct Buffer *err) +static char *parse_keymap(int *menu, struct Buffer *s, int maxmenus, int *nummenus, struct Buffer *err, bool bind) { struct Buffer buf; int i = 0; @@ -1021,7 +1021,7 @@ char *parse_keymap(int *menu, struct Buffer *s, int maxmenus, int *nummenus, str } else { - mutt_str_strfcpy(err->data, _("too few arguments"), err->dsize); + mutt_buffer_printf(err, _("%s: too few arguments"), bind ? "bind" : "macro"); } error: FREE(&buf.data); @@ -1101,7 +1101,7 @@ int mutt_parse_bind(struct Buffer *buf, struct Buffer *s, unsigned long data, char *key = NULL; int menu[sizeof(Menus) / sizeof(struct Mapping) - 1], r = 0, nummenus; - key = parse_keymap(menu, s, mutt_array_size(menu), &nummenus, err); + key = parse_keymap(menu, s, mutt_array_size(menu), &nummenus, err, true); if (!key) return -1; @@ -1159,7 +1159,7 @@ int mutt_parse_macro(struct Buffer *buf, struct Buffer *s, unsigned long data, char *seq = NULL; char *key = NULL; - key = parse_keymap(menu, s, mutt_array_size(menu), &nummenus, err); + key = parse_keymap(menu, s, mutt_array_size(menu), &nummenus, err, false); if (!key) return -1; diff --git a/po/bg.po b/po/bg.po index 474c9b322..f871e5181 100644 --- a/po/bg.po +++ b/po/bg.po @@ -403,27 +403,11 @@ msgstr "%s: командата е валидна само за индексен msgid "%s: too few arguments" msgstr "%s: недостатъчно аргументи" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Липсващи аргументи." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: недостатъчно аргументи" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: недостатъчно аргументи" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: няма такъв атрибут" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "недостатъчно аргументи" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "твърде много аргументи" diff --git a/po/ca.po b/po/ca.po index 96cdaf4c9..4bd44c640 100644 --- a/po/ca.po +++ b/po/ca.po @@ -443,29 +443,11 @@ msgstr "%s: L’ordre només és vàlida per a objectes «index», «body» i « msgid "%s: too few arguments" msgstr "%s: Manquen arguments." -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Manquen arguments." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: Manquen arguments." - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: Manquen arguments." - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: L’atribut no existeix." -# ivb (2001/12/08) -# ivb També apareix com a error aïllat. -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "Manquen arguments." - # ivb (2001/12/08) # ivb També apareix com a error aïllat. #: color.c:860 color.c:917 hook.c:108 diff --git a/po/cs.po b/po/cs.po index 9fd9df85d..b2d45c4db 100644 --- a/po/cs.po +++ b/po/cs.po @@ -393,27 +393,11 @@ msgstr "%s: příkaz je platný pouze pro objekt typu seznam, tělo, hlavička" msgid "%s: too few arguments" msgstr "příliš málo argumentů pro %s" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Chybí argumenty." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: příliš málo argumentů" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: příliš málo argumentů" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "Atribut %s není definován." -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "příliš málo argumentů" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "příliš mnoho argumentů" diff --git a/po/da.po b/po/da.po index 71716e180..a9cbdb4a7 100644 --- a/po/da.po +++ b/po/da.po @@ -391,27 +391,11 @@ msgstr "%s: kommandoen kan kun bruges på index-, body- og header-objekter" msgid "%s: too few arguments" msgstr "%s: for få parametre" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Manglende parameter." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: for få parametre" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: for få parametre" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: ukendt attribut" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "for få parametre" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "for mange parametre" diff --git a/po/de.po b/po/de.po index 3f2ce3673..bbcb1dbae 100644 --- a/po/de.po +++ b/po/de.po @@ -395,27 +395,11 @@ msgstr "%s: Kommando ist nur für Index-/Body-/Header-Objekte gültig" msgid "%s: too few arguments" msgstr "%s: Zu wenige Parameter" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Fehlende Parameter." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: Zu wenige Parameter" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: Zu wenige Parameter" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: Attribut unbekannt" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "Zu wenige Parameter" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "Zu viele Parameter" diff --git a/po/el.po b/po/el.po index 7a27dbbac..a2d2e9c10 100644 --- a/po/el.po +++ b/po/el.po @@ -399,27 +399,11 @@ msgstr "%s: η εντολή ισχύει μόνο για το χαρακτηρι msgid "%s: too few arguments" msgstr "%s: πολύ λίγα ορίσματα" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Ελλιπή ορίσματα." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "χρώμα: πολύ λίγα ορίσματα" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "μονόχρωμα: λίγα ορίσματα" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: δεν υπάρχει τέτοια ιδιότητα" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "πολύ λίγα ορίσματα" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "πάρα πολλά ορίσματα" diff --git a/po/en_GB.po b/po/en_GB.po index e2929e142..1a317f559 100644 --- a/po/en_GB.po +++ b/po/en_GB.po @@ -387,27 +387,11 @@ msgstr "%s: command valid only for index, body, header objects" msgid "%s: too few arguments" msgstr "%s: too few arguments" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Missing arguments." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: too few arguments" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: too few arguments" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: no such attribute" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "too few arguments" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "too many arguments" diff --git a/po/eo.po b/po/eo.po index 005013f83..a7e04ee83 100644 --- a/po/eo.po +++ b/po/eo.po @@ -392,27 +392,11 @@ msgstr "%s: komando validas nur por indeksaj, korpaj, kaj ĉapaj objektoj" msgid "%s: too few arguments" msgstr "%s: nesufiĉe da argumentoj" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Mankas argumentoj." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: nesufiĉe da argumentoj" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: nesufiĉe da argumentoj" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: nekonata trajto" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "nesufiĉe da argumentoj" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "tro da argumentoj" diff --git a/po/es.po b/po/es.po index f9b93e0da..cdd8d5e7c 100644 --- a/po/es.po +++ b/po/es.po @@ -400,27 +400,11 @@ msgstr "%s: comando sólo válido para objetos en el índice" msgid "%s: too few arguments" msgstr "%s: parámetros insuficientes" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Faltan parámetros." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: faltan parámetros" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: faltan parámetros" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: atributo desconocido" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "Faltan parámetros" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "Demasiados parámetros" diff --git a/po/et.po b/po/et.po index 6cb66569f..df915eadc 100644 --- a/po/et.po +++ b/po/et.po @@ -395,27 +395,11 @@ msgstr "%s: käsk kehtib ainult indekseeritud objektiga" msgid "%s: too few arguments" msgstr "%s: liiga vähe argumente" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Puuduvad argumendid." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: liiga vähe argumente" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: liiga vähe argumente" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s. sellist atribuuti pole" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "liiga vähe argumente" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "liiga palju argumente" diff --git a/po/eu.po b/po/eu.po index 1df2cde52..5ee99e6a9 100644 --- a/po/eu.po +++ b/po/eu.po @@ -390,27 +390,11 @@ msgstr "%s: komandoa sarrera objektutan bakarrik erabili daiteke" msgid "%s: too few arguments" msgstr "%s: argumentu gutxiegi" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Ez dira argumentuak aurkitzen." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "kolorea:argumentu gutxiegi" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: argumentu gutxiegi" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: ez da atributua aurkitu" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "argumentu gutxiegi" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "argumentu gehiegi" diff --git a/po/fr.po b/po/fr.po index 2b6bf5e36..881d7f59c 100644 --- a/po/fr.po +++ b/po/fr.po @@ -421,28 +421,12 @@ msgstr "%s : commande valide uniquement pour les objets index, body et header" msgid "%s: too few arguments" msgstr "%s : pas assez d'arguments" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Arguments manquants." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color : pas assez d'arguments" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono : pas assez d'arguments" - # , c-format #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s : cet attribut n'existe pas" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "pas assez d'arguments" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "trop d'arguments" diff --git a/po/ga.po b/po/ga.po index 96729f07a..9935554ed 100644 --- a/po/ga.po +++ b/po/ga.po @@ -395,27 +395,11 @@ msgstr "%s: is féidir an t-ordú seo a úsáid le réada innéacs amháin" msgid "%s: too few arguments" msgstr "%s: níl go leor argóintí ann" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Argóintí ar iarraidh." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: níl go leor argóintí ann" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: níl go leor argóintí ann" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: níl a leithéid d'aitreabúid ann" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "níl go leor argóintí ann" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "an iomarca argóintí" diff --git a/po/gl.po b/po/gl.po index ce78bd926..4ca66f64e 100644 --- a/po/gl.po +++ b/po/gl.po @@ -399,27 +399,11 @@ msgstr "%s: comando válido só para o obxeto \"índice\"" msgid "%s: too few arguments" msgstr "%s: parámetros insuficientes" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Faltan parámetros." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: parámetros insuficientes" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: parámetros insuficientes" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: non hai tal atributo" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "parámetros insuficientes" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "demasiados parámetros" diff --git a/po/hu.po b/po/hu.po index 9b170af84..46e3df48b 100644 --- a/po/hu.po +++ b/po/hu.po @@ -396,27 +396,11 @@ msgstr "%s: a parancs csak index objektumra érvényes" msgid "%s: too few arguments" msgstr "%s: túl kevés paraméter" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Hiányzó paraméter." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: túl kevés paraméter" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: túl kevés paraméter" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: nincs ilyen attribútum" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "túl kevés paraméter" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "túl sok paraméter" diff --git a/po/id.po b/po/id.po index 7fa6bc5fe..a22f779c8 100644 --- a/po/id.po +++ b/po/id.po @@ -395,27 +395,11 @@ msgstr "%s: perintah hanya untuk objek indeks" msgid "%s: too few arguments" msgstr "%s: parameternya kurang" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Parameter tidak ditemukan" - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: parameternya kurang" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: parameternya kurang" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: tidak ada atribut begitu" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "parameternya kurang" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "parameternya terlalu banyak" diff --git a/po/it.po b/po/it.po index 28be04959..e5a003079 100644 --- a/po/it.po +++ b/po/it.po @@ -395,27 +395,11 @@ msgstr "%s: comando valido solo per gli oggetti index, body, header" msgid "%s: too few arguments" msgstr "%s: troppo pochi argomenti" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Mancano dei parametri." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: troppo pochi argomenti" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: troppo pochi argomenti" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: attributo inesistente" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "troppo pochi argomenti" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "troppi argomenti" diff --git a/po/ja.po b/po/ja.po index df7bb4d4a..b12a60688 100644 --- a/po/ja.po +++ b/po/ja.po @@ -389,27 +389,11 @@ msgstr "コマンド %s はインデックス、ボディ、ヘッダにのみ msgid "%s: too few arguments" msgstr "%s: 引数が少なすぎる" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "引数がない。" - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: 引数が少なすぎる" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: 引数が少なすぎる" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s という属性はない" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "引数が少なすぎる" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "引数が多すぎる" diff --git a/po/ko.po b/po/ko.po index a005e4599..8efb21fb1 100644 --- a/po/ko.po +++ b/po/ko.po @@ -396,27 +396,11 @@ msgstr "%s: 인덱스 항목에서만 사용 가능한 명령어." msgid "%s: too few arguments" msgstr "%s: 인수가 부족함" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "인수가 빠졌음." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: 인수가 부족함" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: 인수가 부족함" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: 속성 없음." -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "인수가 부족함" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "인수가 너무 많음" diff --git a/po/lt.po b/po/lt.po index 7f2b1af14..a065236b8 100644 --- a/po/lt.po +++ b/po/lt.po @@ -390,27 +390,11 @@ msgstr "%s: komanda teisinga tik indekso, teksto, antraštės objektams" msgid "%s: too few arguments" msgstr "%s: per mažai argumentų" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Trūksta argumentų." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: per mažai argumentų" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: per mažai argumentų" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: tokio atributo nėra" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "per mažai argumentų" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "per daug argumentų" diff --git a/po/nl.po b/po/nl.po index e8ee64ad0..2d1aab6dd 100644 --- a/po/nl.po +++ b/po/nl.po @@ -391,27 +391,11 @@ msgstr "%s: commando is alleen geldig voor index, body en headerobjecten" msgid "%s: too few arguments" msgstr "%s: te weinig argumenten" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Ontbrekende argumenten." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: te weinig argumenten" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: te weinig argumenten" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: onbekend attribuut" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "te weinig argumenten" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "te veel argumenten" diff --git a/po/pl.po b/po/pl.po index 74299561f..02de191c1 100644 --- a/po/pl.po +++ b/po/pl.po @@ -393,27 +393,11 @@ msgstr "%s: polecenia mogą dotyczyć tylko obiektów indeksu" msgid "%s: too few arguments" msgstr "%s: za mało argumentów" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Brakuje argumentów." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: za mało argumentów" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: za mało argumentów" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: nie ma takiego atrybutu" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "za mało argumentów" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "za dużo argumentów" diff --git a/po/pt_BR.po b/po/pt_BR.po index b72c303d5..beb43a637 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -397,27 +397,11 @@ msgstr "%s: comando válido apenas para o objeto índice" msgid "%s: too few arguments" msgstr "%s: poucos argumentos" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Faltam argumentos." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: poucos argumentos" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: poucos argumentos" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: não existe tal atributo" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "poucos argumentos" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "muitos argumentos" diff --git a/po/ru.po b/po/ru.po index ac79d1107..ba3d3f8a4 100644 --- a/po/ru.po +++ b/po/ru.po @@ -399,27 +399,11 @@ msgstr "%s: команда доступна только для индекса, msgid "%s: too few arguments" msgstr "%s: слишком мало аргументов" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Необходимые аргументы отсутствуют." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: слишком мало аргументов" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: слишком мало аргументов" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: нет такого атрибута" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "слишком мало аргументов" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "слишком много аргументов" diff --git a/po/sk.po b/po/sk.po index 321c8a96c..29f33370e 100644 --- a/po/sk.po +++ b/po/sk.po @@ -391,27 +391,11 @@ msgstr "%s: príkaz je platný iba pre index, telo, hlavičku" msgid "%s: too few arguments" msgstr "%s: príliš málo parametrov" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Chýbajúce parametre." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "farba: príliš málo parametrov" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: príliš málo parametrov" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: vlastnosť nenájdená" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "príliš málo argumentov" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "príliš veľa argumentov" diff --git a/po/sv.po b/po/sv.po index dff5e7905..9579fcb44 100644 --- a/po/sv.po +++ b/po/sv.po @@ -390,27 +390,11 @@ msgstr "%s: kommandot är endast giltigt för index-objekt" msgid "%s: too few arguments" msgstr "%s: för få parametrar" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Parametrar saknas." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: för få parametrar" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: för få parametrar" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: attributet finns inte" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "för få parametrar" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "för många parametrar" diff --git a/po/tr.po b/po/tr.po index 2eac12f8f..88ff3b8ab 100644 --- a/po/tr.po +++ b/po/tr.po @@ -393,27 +393,11 @@ msgstr "%s: komut sadece indeks nesneleri için geçerlidir" msgid "%s: too few arguments" msgstr "%s: eksik argüman" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Eksik argüman." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "renkli: eksik argüman" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "siyah-beyaz: eksik argüman" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: böyle bir nitelik yok" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "eksik argüman" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "fazla argüman" diff --git a/po/uk.po b/po/uk.po index e89c4c653..7c4008ada 100644 --- a/po/uk.po +++ b/po/uk.po @@ -393,27 +393,11 @@ msgstr "%s: команда можлива тільки для списку, ті msgid "%s: too few arguments" msgstr "%s: замало аргументів" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "Недостатньо аргументів." - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "color: замало аргументів" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "mono: замало аргументів" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s: такого атрібуту немає" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "змало аргументів" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "забагато аргументів" diff --git a/po/zh_CN.po b/po/zh_CN.po index 4c2aba9f0..b845f38d9 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -393,27 +393,11 @@ msgstr "%s:命令只对索引,正文,标头对象有效" msgid "%s: too few arguments" msgstr "%s:参数太少" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "缺少参数。" - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "色彩:参数太少" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "单色:参数太少" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s:没有这个属性" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "参数太少" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "参数太多" diff --git a/po/zh_TW.po b/po/zh_TW.po index 4d41b6afa..1fea37ac8 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -397,27 +397,11 @@ msgstr "%s:命令只提供索引物件" msgid "%s: too few arguments" msgstr "%s:太少參數" -#: color.c:695 color.c:720 -msgid "Missing arguments." -msgstr "缺少參數。" - -#: color.c:752 color.c:763 -msgid "color: too few arguments" -msgstr "色彩:太少引數" - -#: color.c:787 -msgid "mono: too few arguments" -msgstr "單色:太少引數" - #: color.c:807 #, c-format msgid "%s: no such attribute" msgstr "%s:沒有這個屬性" -#: color.c:851 hook.c:89 hook.c:102 init.c:2195 init.c:2270 keymap.c:1024 -msgid "too few arguments" -msgstr "太少參數" - #: color.c:860 color.c:917 hook.c:108 msgid "too many arguments" msgstr "太多參數" diff --git a/score.c b/score.c index 0b24478ad..fe88a221a 100644 --- a/score.c +++ b/score.c @@ -84,7 +84,7 @@ int mutt_parse_score(struct Buffer *buf, struct Buffer *s, unsigned long data, mutt_extract_token(buf, s, 0); if (!MoreArgs(s)) { - mutt_str_strfcpy(err->data, _("score: too few arguments"), err->dsize); + mutt_buffer_printf(err, _("%s: too few arguments"), "score"); return -1; } pattern = buf->data; -- 2.40.0