aboutsummaryrefslogtreecommitdiffstats
path: root/src/prefs-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prefs-dialog.c')
-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"),