]> granicus.if.org Git - neomutt/commitdiff
too few
authorRichard Russon <rich@flatcap.org>
Sun, 18 Mar 2018 13:36:46 +0000 (13:36 +0000)
committerRichard Russon <rich@flatcap.org>
Sun, 18 Mar 2018 13:36:46 +0000 (13:36 +0000)
35 files changed:
color.c
hook.c
init.c
keymap.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
score.c

diff --git a/color.c b/color.c
index 5e5a32231fe3105abd48f378b74f1e0a83e8ab4a..f545d981c6b53a0b978e595e60332851f32ed14c 100644 (file)
--- 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 7b8bbeec7e10ab5337113d798726574c1bc3e969..ce43290d765559cc39243e9155ebfb51c0f1b37d 100644 (file)
--- 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 52394b80dc262af297c2adafd7afa56d80c2952e..fd16c76ddb3c58147b101bfba5ddc1f6dcdb8aee 100644 (file)
--- 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;
   }
 
index fb6dc1d84389b9a81ca6d98326b15bfede3a1be1..00b72ed3d9c34819651996a003cd4dcdbd5d2a8e 100644 (file)
--- 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: <menu-string>,<menu-string>,... <key-string>
  */
-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;
 
index 474c9b32297c6ebb323ab8d7343e25d2d01bc2d6..f871e5181e9c3a35161e321ee2b6675b09b7b2d7 100644 (file)
--- 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 "твърде много аргументи"
index 96cdaf4c97d634820407c732a64ca105b0ea97c1..4bd44c640e9a2757fd29342bc55805322fc71dac 100644 (file)
--- 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
index 9fd9df85de45cadef9304d839e8e9ba8aa286e29..b2d45c4dbbb45058796f034c2c82f63f057cbbeb 100644 (file)
--- 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ů"
index 71716e1802c66778ade6d7b38ff8383fd70291e0..a9cbdb4a7b5d3df184adb8db1417b374f14b46c6 100644 (file)
--- 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"
index 3f2ce36730e2b2857d8dc2c534a4900295e70a9e..bbcb1dbae261c531d72567c5abb1633394f5daa7 100644 (file)
--- 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"
index 7a27dbbac6a259fdae2f0dbf060fb536b827d839..a2d2e9c10c0fc829cf1f703aec2a618548aa5ab7 100644 (file)
--- 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 "πάρα πολλά ορίσματα"
index e2929e1426c34911586754a076e524bf247160dd..1a317f559ed5a1ba965ba1ee37512334284647a7 100644 (file)
@@ -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"
index 005013f8379820aa4851d2022c53e05c312f3e51..a7e04ee83b2c40a3416f8bb0c24e9df247f3a05c 100644 (file)
--- 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"
index f9b93e0dac104fd839f24e0eb3243f4e30a72392..cdd8d5e7c5e19c9c8dd5afa9a3efc10aecac89c8 100644 (file)
--- 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"
index 6cb66569f51cc342fa2be2cd213715c6698d0609..df915eadc93005d4017a418ac800f7849b347e1a 100644 (file)
--- 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"
index 1df2cde52c106ed6c62d0e2185528be4cba25a1d..5ee99e6a9f16f04f83eb04aa6b631a798176c97b 100644 (file)
--- 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"
index 2b6bf5e3635f0dd3cf1234dcc8dcf9cb2c1d5575..881d7f59c62e1a6dd5b90df8ab07acb502777c23 100644 (file)
--- 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"
index 96729f07a410a53e9069376f81edc8879c9d6647..9935554edbd190cf8051007e4a1cf141938e3ea0 100644 (file)
--- 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í"
index ce78bd926693d4a7cd55c9cfaee607a0808cfcf4..4ca66f64e7259b66ff612de0ba399c48148390d9 100644 (file)
--- 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"
index 9b170af846bc58417a4c9dd81a7b72f74199e20a..46e3df48b9869623ca291fc49e5d5bafa609c4d6 100644 (file)
--- 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"
index 7fa6bc5fe10385860685ec101b67555931b2564f..a22f779c8849e75ef6f89170a5fd3bd701a8724e 100644 (file)
--- 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"
index 28be04959624176f2c5f09633b74eb3f3d4b3af7..e5a00307903588a15fbeee0cbdec8837288074e7 100644 (file)
--- 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"
index df7bb4d4a5b2b0e45bf0db31abc98155703aa671..b12a606884ead7bbf7f960bdcc74133696aeb82c 100644 (file)
--- 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 "引数が多すぎる"
index a005e4599c5ccb3c573895d2e4ab9c0167f170bd..8efb21fb19fca11173610232959e8a5968edceda 100644 (file)
--- 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 "인수가 너무 많음"
index 7f2b1af14534d205606d7a0a193cd4845dc4c34b..a065236b815a002c96925ca8e1ac3abe558d0828 100644 (file)
--- 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ų"
index e8ee64ad01664086861dece22cfdf906388fcd52..2d1aab6ddc856123d6ac3839afc915ea64cb684c 100644 (file)
--- 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"
index 74299561f0eb9178bbdd4af1b3eee5b120a4e1ad..02de191c1c8f8052cb007dbe215341d489ab7a22 100644 (file)
--- 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"
index b72c303d597f631efa337648910a79871fb2c5fd..beb43a6371f2b9695170ec371754f45d59557aa1 100644 (file)
@@ -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"
index ac79d1107f27d985ba0da438d4088395f165cc18..ba3d3f8a40529bf153c0b36ce95b848b38d81047 100644 (file)
--- 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 "слишком много аргументов"
index 321c8a96c473d39a9fc120a2088a0c57435a447f..29f33370ede0a2e240e4470cf19a123f7dd55d2e 100644 (file)
--- 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"
index dff5e79057cb9941b4a8a5a2b2db974d3dc97201..9579fcb44df98726c7a992ad36a34c28aa6be5d0 100644 (file)
--- 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"
index 2eac12f8f5840ca388dfc681307c165e5482d4d8..88ff3b8abc1746ffb2dc16ce1d9f7836dc2b97b7 100644 (file)
--- 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"
index e89c4c653b88713930de2f26069cefa580499470..7c4008ada26881f3bf2ff59c764a7c7613b29e07 100644 (file)
--- 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 "забагато аргументів"
index 4c2aba9f0a1b6d4ecbe3068d85f648b3c26f71fa..b845f38d9045addd118682f895d095dd829ed658 100644 (file)
@@ -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 "参数太多"
index 4d41b6afaa1ba08b0cf96135ce4dd1b8d444e2ea..1fea37ac847875c2416d954b895ae075a1772bba 100644 (file)
@@ -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 0b24478ad2c96533fe564e6c813a84f924f351cf..fe88a221a472eff1985126674a51971bae4cfa10 100644 (file)
--- 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;