Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Coudoin <bcoudoin@src.gnome.org>2006-10-31 18:02:12 (GMT)
committer Bruno Coudoin <bcoudoin@src.gnome.org>2006-10-31 18:02:12 (GMT)
commit951948e41a2eee759451a44e2db5b48818a1b893 (patch)
treefe441cfdc44700e30d8dfa8abebc6bcd9b671318
parent3bf6a089d3689b3f47a47f389c9f6da9c7ae3662 (diff)
Fixed non relative call to bindtextdomain(). It was breaking translation
* src/gcompris/gcompris.c: (gc_locale_set): Fixed non relative call to bindtextdomain(). It was breaking translation with autopackage. Need to be tested.
-rw-r--r--ChangeLog5
-rw-r--r--src/gcompris/gcompris.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 48c0e40..34d2133 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-31 Bruno Coudoin
+
+ * src/gcompris/gcompris.c: (gc_locale_set): Fixed non relative call to bindtextdomain(). It was breaking translation with autopackage.
+ Need to be tested.
+
2006-10-28 Bruno coudoin <bruno.coudoin@free.fr>
- Added support for Somali
diff --git a/src/gcompris/gcompris.c b/src/gcompris/gcompris.c
index 609bd92..9a4c18e 100644
--- a/src/gcompris/gcompris.c
+++ b/src/gcompris/gcompris.c
@@ -1196,7 +1196,7 @@ gc_locale_set(gchar *locale)
/* This does update gettext translation uppon next gettext call */
/* Call for localization startup */
- bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
+ bindtextdomain (GETTEXT_PACKAGE, properties->package_locale_dir);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);