summaryrefslogtreecommitdiff
path: root/mh
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2008-01-13 18:18:20 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2008-01-13 18:18:20 +0000
commita68e43adf5e389f3dfe874eb036b6dadda1393dd (patch)
treedaab2569ae5883e47bbcb090f50f6698bd3310b5 /mh
parent264a0e474abb473014fc6cc2814feb49690a30fd (diff)
downloadmailutils-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.c5
-rw-r--r--mh/anno.c4
-rw-r--r--mh/burst.c4
-rw-r--r--mh/comp.c5
-rw-r--r--mh/fmtcheck.c4
-rw-r--r--mh/folder.c4
-rw-r--r--mh/forw.c5
-rw-r--r--mh/inc.c4
-rw-r--r--mh/install-mh.c4
-rw-r--r--mh/mark.c4
-rw-r--r--mh/mhl.c4
-rw-r--r--mh/mhn.c4
-rw-r--r--mh/mhparam.c4
-rw-r--r--mh/mhpath.c4
-rw-r--r--mh/pick.c4
-rw-r--r--mh/refile.c4
-rw-r--r--mh/repl.c5
-rw-r--r--mh/rmf.c4
-rw-r--r--mh/rmm.c4
-rw-r--r--mh/scan.c4
-rw-r--r--mh/send.c4
-rw-r--r--mh/sortm.c4
-rw-r--r--mh/whatnow.c4
-rw-r--r--mh/whom.c4
24 files changed, 52 insertions, 48 deletions
diff --git a/mh/ali.c b/mh/ali.c
index 7e1c0ae99..21264ef00 100644
--- a/mh/ali.c
+++ b/mh/ali.c
@@ -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,
diff --git a/mh/anno.c b/mh/anno.c
index 87bc8f0f9..df30c0a19 100644
--- a/mh/anno.c
+++ b/mh/anno.c
@@ -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,
diff --git a/mh/comp.c b/mh/comp.c
index 69ae0b338..148fed8ca 100644
--- a/mh/comp.c
+++ b/mh/comp.c
@@ -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,
diff --git a/mh/forw.c b/mh/forw.c
index dd57f8666..977c347b9 100644
--- a/mh/forw.c
+++ b/mh/forw.c
@@ -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,
diff --git a/mh/inc.c b/mh/inc.c
index ecbabb82c..3ebd4aee7 100644
--- a/mh/inc.c
+++ b/mh/inc.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
@@ -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;
diff --git a/mh/mark.c b/mh/mark.c
index 7957f1a3c..78f826059 100644
--- a/mh/mark.c
+++ b/mh/mark.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
@@ -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);
diff --git a/mh/mhl.c b/mh/mhl.c
index de3d308d0..ebc23807e 100644
--- a/mh/mhl.c
+++ b/mh/mhl.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
@@ -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);
diff --git a/mh/mhn.c b/mh/mhn.c
index dc868aa71..26ac0d071 100644
--- a/mh/mhn.c
+++ b/mh/mhn.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
@@ -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,
diff --git a/mh/pick.c b/mh/pick.c
index bdd57bde4..3b8a04d4a 100644
--- a/mh/pick.c
+++ b/mh/pick.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
@@ -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,
diff --git a/mh/repl.c b/mh/repl.c
index 235b4c76a..52d3ec872 100644
--- a/mh/repl.c
+++ b/mh/repl.c
@@ -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);
diff --git a/mh/rmf.c b/mh/rmf.c
index f5b6123a9..95467519e 100644
--- a/mh/rmf.c
+++ b/mh/rmf.c
@@ -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,
diff --git a/mh/rmm.c b/mh/rmm.c
index 5f2d79e71..b77120c86 100644
--- a/mh/rmm.c
+++ b/mh/rmm.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
@@ -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,
diff --git a/mh/scan.c b/mh/scan.c
index 8e3e5d0e0..04df7585d 100644
--- a/mh/scan.c
+++ b/mh/scan.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
@@ -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,
diff --git a/mh/send.c b/mh/send.c
index ef236e734..42a60fc73 100644
--- a/mh/send.c
+++ b/mh/send.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
@@ -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,
diff --git a/mh/whom.c b/mh/whom.c
index a9e286bd2..06ed57785 100644
--- a/mh/whom.c
+++ b/mh/whom.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
@@ -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,

Return to:

Send suggestions and report system problems to the System administrator.