summaryrefslogtreecommitdiffstats
path: root/src/paprefs.cc
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-05-23 22:12:16 +0000
committerLennart Poettering <lennart@poettering.net>2007-05-23 22:12:16 +0000
commit86dc32df289663c2e2ba5926f49fdee9c98108fe (patch)
tree787f0d7769f3239421d7128a73084833a02c8852 /src/paprefs.cc
parent10d5884e5da51b2ab5ceece242e64f5a3f5dd3d4 (diff)
Add i18n support
git-svn-id: file:///home/lennart/svn/public/paprefs/trunk@15 54a58c19-9419-0410-9bbb-d8fa3e5d54ff
Diffstat (limited to 'src/paprefs.cc')
-rw-r--r--src/paprefs.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/paprefs.cc b/src/paprefs.cc
index 1fa7381..a2abfd5 100644
--- a/src/paprefs.cc
+++ b/src/paprefs.cc
@@ -304,7 +304,14 @@ void MainWindow::readFromGConf() {
}
int main(int argc, char *argv[]) {
+
+ /* Initialize the i18n stuff */
+ bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
+ bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
+ textdomain(GETTEXT_PACKAGE);
+
signal(SIGPIPE, SIG_IGN);
+
Gtk::Main kit(argc, argv);
Gnome::Conf::init();