Merge pull request #41 from SpeedProg/master

fixe gettext I hope
experimental
Nils Dagsson Moskopp 2011-07-30 14:08:18 -07:00
commit 2f6e931921
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@
inline void init_gettext(const char *path) {
#if USE_GETTEXT
#if MSVC
#else
setlocale(LC_MESSAGES, "");
#endif
bindtextdomain(PROJECT_NAME, path);
textdomain(PROJECT_NAME);
#endif