summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2012-10-07 17:41:26 +0000
committerJazzyNico <nicoduf@yahoo.fr>2012-10-07 17:41:26 +0000
commitc37bac565d73ab069263873307286eb19641b99c (patch)
tree675dcc77a510aeeb6650328dff0fe80252010180 /src/main.cpp
parentpowerstroke: arc extrapolate fix (diff)
downloadinkscape-c37bac565d73ab069263873307286eb19641b99c.tar.gz
inkscape-c37bac565d73ab069263873307286eb19641b99c.zip
Translations. Fix for Bug #425202 (Script messages not translated).
(bzr r11749)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d1e087cac..578279929 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -625,6 +625,8 @@ main(int argc, char **argv)
bindtextdomain(GETTEXT_PACKAGE, BR_LOCALEDIR(""));
# else
bindtextdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
+ // needed by Python/Gettext
+ g_setenv("PACKAGE_LOCALE_DIR", PACKAGE_LOCALE_DIR, TRUE);
# endif
#endif