diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2012-10-07 17:41:26 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2012-10-07 17:41:26 +0000 |
| commit | c37bac565d73ab069263873307286eb19641b99c (patch) | |
| tree | 675dcc77a510aeeb6650328dff0fe80252010180 /src/main.cpp | |
| parent | powerstroke: arc extrapolate fix (diff) | |
| download | inkscape-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.cpp | 2 |
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 |
