aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-07-12 04:23:10 +0800
committerChristian Persch <chpe@src.gnome.org>2005-07-12 04:23:10 +0800
commit8edb3efb671cef0c762dac6a67de549f88382479 (patch)
tree74a3994e41a3aeb53402b9dc42a60da4093dcd39 /src
parent9f25938b8101d5ea10d547d709bc136d4aeddb6b (diff)
downloadgsoc2013-epiphany-8edb3efb671cef0c762dac6a67de549f88382479.tar
gsoc2013-epiphany-8edb3efb671cef0c762dac6a67de549f88382479.tar.gz
gsoc2013-epiphany-8edb3efb671cef0c762dac6a67de549f88382479.tar.bz2
gsoc2013-epiphany-8edb3efb671cef0c762dac6a67de549f88382479.tar.lz
gsoc2013-epiphany-8edb3efb671cef0c762dac6a67de549f88382479.tar.xz
gsoc2013-epiphany-8edb3efb671cef0c762dac6a67de549f88382479.tar.zst
gsoc2013-epiphany-8edb3efb671cef0c762dac6a67de549f88382479.zip
Init the gettext domain.
2005-07-11 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (prefs_dialog_init): Init the gettext domain.
Diffstat (limited to 'src')
-rw-r--r--src/prefs-dialog.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 8f853ce19..7fda4913d 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -1192,6 +1192,12 @@ prefs_dialog_init (PrefsDialog *pd)
pd->priv = EPHY_PREFS_DIALOG_GET_PRIVATE (pd);
+#ifdef ENABLE_NLS
+ /* Initialize the control centre domain */
+ bindtextdomain (GTK_DOMAIN, GNOMELOCALEDIR);
+ bind_textdomain_codeset(GTK_DOMAIN, "UTF-8");
+#endif
+
ephy_dialog_construct (dialog,
properties,
ephy_file ("prefs-dialog.glade"),