gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-95


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-95-gcf78439
Date: Fri, 21 Jan 2011 14:00:48 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".

The branch, master has been updated
       via  cf78439ee759b7ba6cf4d75b307880a71febf41c (commit)
      from  6e780672a36d899bd9983277cb0a6bb2a1cd0e32 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=cf78439ee759b7ba6cf4d75b307880a71febf41c


commit cf78439ee759b7ba6cf4d75b307880a71febf41c
Author: Daniele Forsi <address@hidden>
Date:   Fri Jan 21 12:32:38 2011 +0100

    Do not alter translation settings of the calling program
    
    I was using the "initialization code for a program"; for details see:
    http://www.gnu.org/software/hello/manual/gettext/Libraries.html
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=638380

diff --git a/ChangeLog b/ChangeLog
index 8ea2f3c..9c5de3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -27,6 +27,9 @@
                                                            (Paweł Kot)
     o add BM memory for Cell Broadcast Messages, untested
       reportedly supported by some AT phones        (Daniele Forsi)
+    o do not change the translation domain of the calling program;
+      this didn't affect gnokii, xgnokii or smsd because they use
+      the same translation domain as libgnokii      (Daniele Forsi)
  * nk6510 driver updates
     o fix parsing SMS date from saved messages, bug #29830
                                                         (Paweł Kot)
diff --git a/common/libfunctions.c b/common/libfunctions.c
index d1a2d4b..3c5ca40 100644
--- a/common/libfunctions.c
+++ b/common/libfunctions.c
@@ -69,9 +69,7 @@ GNOKII_API gn_error gn_lib_init()
                return GN_ERR_NONE;
 
 #ifdef ENABLE_NLS
-       setlocale (LC_ALL, "");
        bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
-       textdomain (GETTEXT_PACKAGE);
 #endif
        initialized = true;
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    3 +++
 common/libfunctions.c |    2 --
 2 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]