summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2009-04-11 17:14:01 -0400
committerDavid Zeuthen <davidz@redhat.com>2009-04-11 17:14:01 -0400
commit94f27580d508812b533bc85170d48e3c33a8625c (patch)
tree055abdbfa8eb85dc6cffd7e1af8d8db24b8b6bfe
parent53cf4a6635586e68c7a45030b381bc98d4f9eb1c (diff)
downloadgnome-disk-utility-94f27580d508812b533bc85170d48e3c33a8625c.tar.gz
gnome-disk-utility-94f27580d508812b533bc85170d48e3c33a8625c.tar.xz
gnome-disk-utility-94f27580d508812b533bc85170d48e3c33a8625c.zip
setup textdomain so translations work
-rw-r--r--src/palimpsest/gdu-main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/palimpsest/gdu-main.c b/src/palimpsest/gdu-main.c
index 22ae7f8..fc0b9c0 100644
--- a/src/palimpsest/gdu-main.c
+++ b/src/palimpsest/gdu-main.c
@@ -142,6 +142,10 @@ main (int argc, char **argv)
exit (1);
}
+ bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+ textdomain (GETTEXT_PACKAGE);
+
gtk_window_set_default_icon_name ("palimpsest");
unique_app = unique_app_new_with_commands ("org.gnome.Palimpsest",