summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarlosg <carlosg>2005-02-12 13:48:44 +0000
committercarlosg <carlosg>2005-02-12 13:48:44 +0000
commit31dec2e47909276b1b56b0f173c1205f59ce6305 (patch)
tree7a3f5243728e88d12644193d2e5aef60c326cd36
parent321751a37b5e324386308817260e346f8f4f7d79 (diff)
2005-02-12 Carlos Garnacho Parro <carlosg@gnome.org>
* general.pl.in: added stupid missing function in i18n initialization. Fixes #167095 * xml.pl.in: cosmetic fix
-rw-r--r--ChangeLog6
-rw-r--r--configure.in2
-rw-r--r--general.pl.in1
-rw-r--r--xml.pl.in4
4 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e6854e9..1802754 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-02-12 Carlos Garnacho Parro <carlosg@gnome.org>
+
+ * general.pl.in: added stupid missing function in i18n initialization.
+ Fixes #167095
+ * xml.pl.in: cosmetic fix
+
2005-02-08 Carlos Garnacho Parro <carlosg@gnome.org>
* Release 1.1.91
diff --git a/configure.in b/configure.in
index 36d986c..b6c83eb 100644
--- a/configure.in
+++ b/configure.in
@@ -32,7 +32,7 @@ dnl ==============================================================
GETTEXT_PACKAGE=setup-tools-backends
AC_SUBST(GETTEXT_PACKAGE)
-ALL_LINGUAS="ar az bg bn bs ca cs da de el en_CA en_GB es eu fi fr gu hr id it ja ko lt ms nb nl no pa pl pt pt_BR ro sk sq sr sr@Latn sv ta tr uk zh_CN zh_TW"
+ALL_LINGUAS="ar az bg bn bs ca cs da de el en_CA en_GB es eu fi fr gu hr id it ja ko lt ms nb nl no pa pl pt pt_BR ro sk sq sr sr@Latn sv ta th tr uk zh_CN zh_TW"
AM_GLIB_GNU_GETTEXT
AC_OUTPUT([
diff --git a/general.pl.in b/general.pl.in
index d878a58..0b72eeb 100644
--- a/general.pl.in
+++ b/general.pl.in
@@ -47,6 +47,7 @@ if ($has_i18n)
# set up i18n stuff
&setlocale (LC_MESSAGES, "");
&bindtextdomain ("@GETTEXT_PACKAGE@", "@localedir@");
+ &bind_textdomain_codeset ("@GETTEXT_PACKAGE@", "UTF-8");
&textdomain ("@GETTEXT_PACKAGE@");
eval "sub _ { return gettext (shift); }";
diff --git a/xml.pl.in b/xml.pl.in
index 447e8a4..9ebbde5 100644
--- a/xml.pl.in
+++ b/xml.pl.in
@@ -118,11 +118,11 @@ sub gst_xml_print_string
{
if ($has_encode)
{
- if (decode_utf8 ($_[0]) eq undef)
+ if (&decode_utf8 ($_[0]) eq undef)
{
# we first decode the string, if it's not
# utf-8 (returns undef), then encode it
- print "" . encode_utf8 ($_[0]);
+ print "" . &encode_utf8 ($_[0]);
return;
}
}