diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-01-13 18:18:20 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-01-13 18:18:20 +0000 |
commit | a68e43adf5e389f3dfe874eb036b6dadda1393dd (patch) | |
tree | daab2569ae5883e47bbcb090f50f6698bd3310b5 /mh | |
parent | 264a0e474abb473014fc6cc2814feb49690a30fd (diff) | |
download | mailutils-a68e43adf5e389f3dfe874eb036b6dadda1393dd.tar.gz mailutils-a68e43adf5e389f3dfe874eb036b6dadda1393dd.tar.bz2 |
Fix NLS issues.
* configure.ac: Define DEFAULT_TEXT_DOMAIN
* comsat/comsat.c, dotlock/dotlock.c, frm/frm.c, frm/from.c,
guimb/main.c, imap4d/imap4d.c, maidag/maidag.c, mail/mail.c,
mail.local/main.c, mail.remote/mail.remote.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/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,
Use MU_APP_INIT_NLS instead of mu_init_nls.
* mailbox/nls.c (mu_init_nls): Do not call textdomain.
Diffstat (limited to 'mh')
-rw-r--r-- | mh/ali.c | 5 | ||||
-rw-r--r-- | mh/anno.c | 4 | ||||
-rw-r--r-- | mh/burst.c | 4 | ||||
-rw-r--r-- | mh/comp.c | 5 | ||||
-rw-r--r-- | mh/fmtcheck.c | 4 | ||||
-rw-r--r-- | mh/folder.c | 4 | ||||
-rw-r--r-- | mh/forw.c | 5 | ||||
-rw-r--r-- | mh/inc.c | 4 | ||||
-rw-r--r-- | mh/install-mh.c | 4 | ||||
-rw-r--r-- | mh/mark.c | 4 | ||||
-rw-r--r-- | mh/mhl.c | 4 | ||||
-rw-r--r-- | mh/mhn.c | 4 | ||||
-rw-r--r-- | mh/mhparam.c | 4 | ||||
-rw-r--r-- | mh/mhpath.c | 4 | ||||
-rw-r--r-- | mh/pick.c | 4 | ||||
-rw-r--r-- | mh/refile.c | 4 | ||||
-rw-r--r-- | mh/repl.c | 5 | ||||
-rw-r--r-- | mh/rmf.c | 4 | ||||
-rw-r--r-- | mh/rmm.c | 4 | ||||
-rw-r--r-- | mh/scan.c | 4 | ||||
-rw-r--r-- | mh/send.c | 4 | ||||
-rw-r--r-- | mh/sortm.c | 4 | ||||
-rw-r--r-- | mh/whatnow.c | 4 | ||||
-rw-r--r-- | mh/whom.c | 4 |
24 files changed, 52 insertions, 48 deletions
@@ -1,5 +1,6 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2005, 2006, 2007, + 2008 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 @@ -192,7 +193,7 @@ main (int argc, char **argv) int index; /* Native Language Support */ - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2003, 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2005, 2007, 2008 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 @@ -116,7 +116,7 @@ main (int argc, char **argv) mh_msgset_t msgset; size_t len; - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, diff --git a/mh/burst.c b/mh/burst.c index a5177107b..1c0c796df 100644 --- a/mh/burst.c +++ b/mh/burst.c @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2005, 2006, 2007, 2008 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 @@ -548,7 +548,7 @@ main (int argc, char **argv) const char *tempfolder = mh_global_profile_get ("Temp-Folder", ".temp"); /* Native Language Support */ - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, @@ -1,5 +1,6 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2003, 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2005, 2006, 2007, + 2008 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 @@ -210,7 +211,7 @@ main (int argc, char **argv) int index; /* Native Language Support */ - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, diff --git a/mh/fmtcheck.c b/mh/fmtcheck.c index 0522c1849..51491c0bb 100644 --- a/mh/fmtcheck.c +++ b/mh/fmtcheck.c @@ -1,6 +1,6 @@ /* GNU Mailutils -- a suite of utilities for electronic mail Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005, - 2006, 2007 Free Software Foundation, Inc. + 2006, 2007, 2008 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 @@ -103,7 +103,7 @@ int main (int argc, char **argv) { /* Native Language Support */ - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, diff --git a/mh/folder.c b/mh/folder.c index c88c42556..72f86f5b7 100644 --- a/mh/folder.c +++ b/mh/folder.c @@ -1,6 +1,6 @@ /* GNU Mailutils -- a suite of utilities for electronic mail Copyright (C) 1999, 2000, 2001, 2002, 2003, - 2005, 2006, 2007 Free Software Foundation, Inc. + 2005, 2006, 2007, 2008 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 @@ -935,7 +935,7 @@ main (int argc, char **argv) mh_msgset_t msgset; /* Native Language Support */ - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, @@ -1,5 +1,6 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2003, 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2005, 2006, 2007, + 2008 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 @@ -423,7 +424,7 @@ main (int argc, char **argv) int index, rc; /* Native Language Support */ - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, @@ -1,6 +1,6 @@ /* GNU Mailutils -- a suite of utilities for electronic mail Copyright (C) 1999, 2000, 2001, 2002, 2003, - 2005, 2006, 2007 Free Software Foundation, Inc. + 2005, 2006, 2007, 2008 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 @@ -179,7 +179,7 @@ main (int argc, char **argv) int rc; /* Native Language Support */ - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, diff --git a/mh/install-mh.c b/mh/install-mh.c index c9f8d7409..ae15451f8 100644 --- a/mh/install-mh.c +++ b/mh/install-mh.c @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2003, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2007, 2008 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 @@ -69,7 +69,7 @@ main (int argc, char **argv) extern int mh_auto_install; /* Native Language Support */ - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_auto_install = 0; @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2003, 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2005, 2006, 2007, 2008 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 @@ -193,7 +193,7 @@ main (int argc, char **argv) mu_mailbox_t mbox; mu_url_t url; - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, opt_handler, NULL, &index); @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2003, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2007, 2008 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 @@ -222,7 +222,7 @@ main (int argc, char **argv) interactive = isatty (1) && isatty (0); - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, opt_handler, NULL, &index); @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2003, 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2005, 2006, 2007, 2008 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 @@ -2761,7 +2761,7 @@ main (int argc, char **argv) int rc; int index; - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, diff --git a/mh/mhparam.c b/mh/mhparam.c index 593d50ee5..d4b7fe5c4 100644 --- a/mh/mhparam.c +++ b/mh/mhparam.c @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2003, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2007, 2008 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 @@ -123,7 +123,7 @@ main (int argc, char **argv) int index; /* Native Language Support */ - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, diff --git a/mh/mhpath.c b/mh/mhpath.c index dc2e0f542..53f32e35a 100644 --- a/mh/mhpath.c +++ b/mh/mhpath.c @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2002, 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 2002, 2005, 2007, 2008 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 @@ -80,7 +80,7 @@ main (int argc, char **argv) const char *current_folder; /* Native Language Support */ - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2003, 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2005, 2006, 2007, 2008 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 @@ -347,7 +347,7 @@ main (int argc, char **argv) int flags; flags = mh_interactive_mode_p () ? 0 : ARGP_NO_ERRS; - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, flags, options, mh_option, args_doc, doc, opt_handler, NULL, &index); diff --git a/mh/refile.c b/mh/refile.c index 8f44e12e7..aa816047a 100644 --- a/mh/refile.c +++ b/mh/refile.c @@ -1,6 +1,6 @@ /* GNU Mailutils -- a suite of utilities for electronic mail Copyright (C) 2002, 2003, 2004, 2005, 2006, - 2007 Free Software Foundation, Inc. + 2007, 2008 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 @@ -229,7 +229,7 @@ main (int argc, char **argv) int status, i, j; /* Native Language Support */ - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, @@ -1,5 +1,6 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2005, 2006, 2007, + 2008 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 @@ -403,7 +404,7 @@ main (int argc, char **argv) int index, rc; /* Native Language Support */ - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2002, 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2002, 2005, 2006, 2007, 2008 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 @@ -192,7 +192,7 @@ main (int argc, char **argv) char *name; /* Native Language Support */ - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2002, 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 2002, 2005, 2007, 2008 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 @@ -75,7 +75,7 @@ main (int argc, char **argv) int status; /* Native Language Support */ - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, @@ -1,6 +1,6 @@ /* GNU Mailutils -- a suite of utilities for electronic mail Copyright (C) 1999, 2000, 2001, 2002, 2003, - 2005, 2006, 2007 Free Software Foundation, Inc. + 2005, 2006, 2007, 2008 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 @@ -176,7 +176,7 @@ main (int argc, char **argv) size_t total = 0; /* Native Language Support */ - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2003, 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2005, 2006, 2007, 2008 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 @@ -732,7 +732,7 @@ main (int argc, char **argv) { int index; - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, diff --git a/mh/sortm.c b/mh/sortm.c index 284c6b419..231cdc06c 100644 --- a/mh/sortm.c +++ b/mh/sortm.c @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2003, 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2005, 2006, 2007, 2008 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 @@ -553,7 +553,7 @@ main (int argc, char **argv) int index; mu_url_t url; - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, opt_handler, NULL, &index); diff --git a/mh/whatnow.c b/mh/whatnow.c index ea79a75d0..55964ae47 100644 --- a/mh/whatnow.c +++ b/mh/whatnow.c @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2003 Free Software Foundation, Inc. + Copyright (C) 2003, 2008 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 @@ -106,7 +106,7 @@ main (int argc, char **argv) { int index; - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2003, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2007, 2008 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 @@ -111,7 +111,7 @@ main (int argc, char **argv) int index; char *name = "draft"; - mu_init_nls (); + MU_APP_INIT_NLS (); mh_argp_init (program_version); mh_argp_parse (&argc, &argv, 0, options, mh_option, args_doc, doc, |