diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-03-12 22:41:04 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-03-12 22:41:04 +0000 |
commit | e7c6d40d0432c9c7065bcce471420b335a3e9b83 (patch) | |
tree | 205709cab62d5e57f28970c48bdc77b685f35310 | |
parent | 8633da4900e96b2c24fbe043a93634ff869306a4 (diff) | |
download | wyslij-po-e7c6d40d0432c9c7065bcce471420b335a3e9b83.tar.gz wyslij-po-e7c6d40d0432c9c7065bcce471420b335a3e9b83.tar.bz2 |
Fix NLS initialization.
* src/main.c: Include configmake.h
(main): Init NLS system.
* bootstrap.conf: Require configmake.
* configure.ac, NEWS: Set version number 2.2.1
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | NEWS | 7 | ||||
-rw-r--r-- | bootstrap.conf | 3 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/main.c | 7 |
5 files changed, 25 insertions, 3 deletions
@@ -1,3 +1,12 @@ +2010-03-13 Sergey Poznyakoff <gray@gnu.org.ua> + + Fix NLS initialization. + + * src/main.c: Include configmake.h + (main): Init NLS system. + * bootstrap.conf: Require configmake. + * configure.ac, NEWS: Set version number 2.2.1 + 2010-03-11 Sergey Poznyakoff <gray@gnu.org.ua> Version 2.2 @@ -1,10 +1,15 @@ -Wyslij-po NEWS -- history of user-visible changes. 2010-03-11 +Wyslij-po NEWS -- history of user-visible changes. 2010-03-13 Copyright (C) 2007, 2009, 2010 Sergey Poznyakoff See the end of file for copying conditions. Please send mailfromd bug reports to <bug-wyslij-po@gnu.org.ua> +Version 2.2.1 - 2010-03-13 + +* Fixed NLS initialization. + + Version 2.2 - 2010-03-11 * New translations: Finnish, Indonesian, Dutch and Vietnamese. diff --git a/bootstrap.conf b/bootstrap.conf index 5e1e8e4..9aa8320 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -1,6 +1,6 @@ # Bootstrap configuration. -# Copyright (C) 2007, 2009 Sergey Poznyakoff +# Copyright (C) 2007, 2009, 2010 Sergey Poznyakoff # Wyslij-po is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -20,6 +20,7 @@ gnulib_name=libgnu gnulib_modules="\ argp\ + configmake\ gettext-h\ malloc\ realloc\ diff --git a/configure.ac b/configure.ac index d156e3f..c8095fe 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ # along with Wyslij-po. If not, see <http://www.gnu.org/licenses/>. */ AC_PREREQ(2.60) -AC_INIT([wyslij-po], [2.2], [bug-wyslij-po@gnu.org.ua]) +AC_INIT([wyslij-po], [2.2.1], [bug-wyslij-po@gnu.org.ua]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_SRCDIR([src/wyslij-po.h]) AM_INIT_AUTOMAKE(gnits 1.9 tar-ustar std-options) @@ -16,6 +16,7 @@ #include "wyslij-po.h" #include <mailutils/libargp.h> +#include "configmake.h" const char *program_version = "wyslij-po (" PACKAGE_STRING ")"; static char doc[] = N_("wyslij-po -- submit PO files to the Translation Project"); @@ -552,6 +553,12 @@ main (int argc, char **argv) int index; mu_debug_t debug; +#ifdef ENABLE_NLS + mu_init_nls (); + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); +#endif mu_register_all_mailer_formats (); if (!program_invocation_short_name) program_invocation_short_name = argv[0]; |