diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-08-25 19:23:12 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-08-25 19:23:55 +0300 |
commit | 2141acfb58732dab8cdb6ffff18550c0ebf016b5 (patch) | |
tree | 0f6668ed42e48d6b8e81498c553c72ce96e16d7f /frm/frm.c | |
parent | 8619a1cb3b5a4b84b365571b711cf792e12ab620 (diff) | |
download | mailutils-2141acfb58732dab8cdb6ffff18550c0ebf016b5.tar.gz mailutils-2141acfb58732dab8cdb6ffff18550c0ebf016b5.tar.bz2 |
Fix help messages.
Option descriptions in `--help' output do not constitute
conceptual sentences. Therefore, they should not begin
with a capital letter, nor end with a final point.
Affected files:
comsat/comsat.c, config/mailutils-config.c, dotlock/dotlock.c,
frm/frm.c, frm/from.c, guimb/main.c, imap4d/imap4d.c,
libmu_argp/auth.c, libmu_argp/common.c, libmu_argp/gsasl.c,
libmu_argp/pam.c, libmu_argp/radius.c, libmu_argp/sieve.c,
libmu_argp/sql.c, libmu_argp/tls.c, libmu_argp/virtdomain.c,
libmu_auth/sql.c, libmu_cfg/sql.c, maidag/maidag.c,
maidag/mailquota.c, maidag/mailtmp.c, mail/mail.c,
messages/messages.c, mh/ali.c, mh/anno.c, mh/burst.c, mh/comp.c,
mh/fmtcheck.c, mh/folder.c, mh/forw.c, mh/inc.c, mh/install-mh.c,
mh/mark.c, mh/mh_init.c, mh/mhl.c, mh/mhn.c, mh/mhparam.c,
mh/mhpath.c, mh/pick.c, mh/refile.c, mh/repl.c, mh/rmf.c, mh/rmm.c,
mh/scan.c, mh/send.c, mh/sortm.c, mh/whatnow.c, mh/whom.c,
mimeview/mimeview.c, movemail/movemail.c, pop3d/pop3d.c,
pop3d/popauth.c, readmsg/readmsg.c, sieve/sieve.c
Diffstat (limited to 'frm/frm.c')
-rw-r--r-- | frm/frm.c | 52 |
1 files changed, 21 insertions, 31 deletions
@@ -1,6 +1,6 @@ /* GNU Mailutils -- a suite of utilities for electronic mail Copyright (C) 1999, 2000, 2001, 2002, 2003, - 2004, 2005, 2007, 2008 Free Software Foundation, Inc. + 2004, 2005, 2007, 2008, 2009 Free Software Foundation, Inc. GNU Mailutils is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -39,29 +39,19 @@ static struct attr_tab { int code; /* Corresponding IS_.* flag */ size_t len; /* Minimum abbreviation length */ } attr_tab[] = { - /* TRANSLATORS: See comment marked [frm status] below */ - { N_("new"), IS_NEW, 0 }, - /* TRANSLATORS: See comment marked [frm status] below */ - { N_("old"), IS_OLD, 0 }, - /* TRANSLATORS: See comment marked [frm status] below */ - { N_("unread"), IS_OLD, 0 }, - /* TRANSLATORS: See comment marked [frm status] below */ - { N_("read"), IS_READ, 0 }, + { "new", IS_NEW, 0 }, + { "old", IS_OLD, 0 }, + { "unread", IS_OLD, 0 }, + { "read", IS_READ, 0 }, { NULL } }; static char attr_help[] = -/* TRANSLATORS: [frm status] - - 1) Please make sure the words "new", "unread", "old" and - "read" are translated exactly as in four preceeding messages. - - 2) If possible, select such translations for these words, that - differ by the first letter. -*/ -N_("Select messages with the specific attribute. STATUS is one \ -of the following: new, unread, old (same as unread) or read. Any unambiguous \ -abbreviation of those is also accepted."); +/* TRANSLATORS: Please do *not* translate the words "new", "unread", + "old" and "read". They are keywords. */ +N_("select messages with the specific attribute: \ +new, unread, old (same as unread) or read (or any unambiguous \ +abbreviation of these)"); /* Attribute table handling */ @@ -74,7 +64,7 @@ prepare_attrs (void) for (p = attr_tab; p->name; p++) { - const char *name = gettext (p->name); + const char *name = p->name; size_t len = strlen (name); size_t n = 1; @@ -82,7 +72,7 @@ prepare_attrs (void) { if (p != q) { - const char *str = gettext (q->name); + const char *str = q->name; size_t slen = strlen (str); if (memcmp (name, str, n) == 0) @@ -112,7 +102,7 @@ decode_attr (char *arg) for (p = attr_tab; p->name; p++) { - const char *str = gettext (p->name); + const char *str = p->name; if (str[0] == arg[0]) { if (len < p->len) @@ -133,15 +123,15 @@ decode_attr (char *arg) static struct argp_option options[] = { - {"debug", 'd', NULL, 0, N_("Enable debugging output"), 0}, - {"field", 'f', N_("NAME"), 0, N_("Header field to display"), 0}, - {"to", 'l', NULL, 0, N_("Include the To: information"), 0}, - {"number", 'n', NULL, 0, N_("Display message numbers"), 0}, - {"Quiet", 'Q', NULL, 0, N_("Very quiet"), 0}, - {"query", 'q', NULL, 0, N_("Print a message if the mailbox contains some unread mail"), 0}, - {"summary",'S', NULL, 0, N_("Print a summary of messages"), 0}, + {"debug", 'd', NULL, 0, N_("enable debugging output"), 0}, + {"field", 'f', N_("NAME"), 0, N_("header field to display"), 0}, + {"to", 'l', NULL, 0, N_("include the To: information"), 0}, + {"number", 'n', NULL, 0, N_("display message numbers"), 0}, + {"Quiet", 'Q', NULL, 0, N_("very quiet"), 0}, + {"query", 'q', NULL, 0, N_("print a message if the mailbox contains some unread mail"), 0}, + {"summary",'S', NULL, 0, N_("print a summary of messages"), 0}, {"status", 's', N_("STATUS"), 0, attr_help, 0}, - {"align", 't', NULL, 0, N_("Tidy mode: align subject lines"), 0}, + {"align", 't', NULL, 0, N_("tidy mode: align subject lines"), 0}, {0, 0, 0, 0} }; |