[gnome-disk-utility: 1/4] setup textdomain so translations work
- From: David Zeuthen <davidz src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-disk-utility: 1/4] setup textdomain so translations work
- Date: Sat, 11 Apr 2009 17:24:23 -0400 (EDT)
commit 94f27580d508812b533bc85170d48e3c33a8625c
Author: David Zeuthen <davidz redhat com>
Date: Sat Apr 11 17:14:01 2009 -0400
setup textdomain so translations work
---
src/palimpsest/gdu-main.c | 4 ++++
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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]