add support for translations..
authorDana Jansens <danakj@orodu.net>
Sun, 3 Jun 2007 20:08:35 +0000 (20:08 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 3 Jun 2007 20:08:35 +0000 (20:08 +0000)
src/main.c

index 27144d7..112df7f 100644 (file)
@@ -116,6 +116,10 @@ int main(int argc, char **argv)
 {
     gchar *p;
 
+    bindtextdomain(PACKAGE_NAME, LOCALEDIR);
+    bind_textdomain_codeset(PACKAGE_NAME, "UTF-8");
+    textdomain(PACKAGE_NAME);
+
     gtk_init(&argc, &argv);
     parse_args(argc, argv);