diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-03-08 11:47:05 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-03-08 11:47:05 +0000 |
commit | 9f2042a4ef343d14997dac02038e6cc6aeeafc4d (patch) | |
tree | 58fed1b3c2ff78882737ddcb1f39d6d1fd0d6182 /src/main.c | |
parent | 4073ac25ea4f0b38bef0ad09664e4e66e6fe7f00 (diff) |
our first localisation, German, kindly contributed by Julian. some autotools and main() changes to get this working.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -88,6 +88,11 @@ int main(int argc, char *argv[]) gdk_threads_init(); gtk_init(&argc, &argv); + setlocale( LC_ALL, "" ); + bindtextdomain( GETTEXT_PACKAGE, TRGLOCALEDIR ); + bind_textdomain_codeset( GETTEXT_PACKAGE, "UTF-8" ); + textdomain( GETTEXT_PACKAGE ); + textdomain(PACKAGE_NAME); if ((withUnique = g_getenv("TRG_NOUNIQUE") == NULL)) |