From 8edb3efb671cef0c762dac6a67de549f88382479 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 11 Jul 2005 20:23:10 +0000 Subject: Init the gettext domain. 2005-07-11 Christian Persch * src/prefs-dialog.c: (prefs_dialog_init): Init the gettext domain. --- ChangeLog | 6 ++++++ src/prefs-dialog.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7aafd0bde..31947ef6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-07-11 Christian Persch + + * src/prefs-dialog.c: (prefs_dialog_init): + + Init the gettext domain. + 2005-07-11 Christian Persch * lib/widgets/ephy-node-view.c: (check_node_is_drag_source), 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"), -- cgit v1.2.3