Skip to content
Permalink
Browse files

Fix GetText translation loading

  • Loading branch information
ShadowNinja committed Mar 28, 2015
1 parent 3007546 commit 5659434d3286634dcf96c0ce503ec5367b140f6b
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/gettext.cpp
@@ -236,8 +236,9 @@ void init_gettext(const char *path, const std::string &configured_language) {
#endif
#endif

bindtextdomain(PROJECT_NAME, path);
textdomain(PROJECT_NAME);
static const char *name = lowercase(PROJECT_NAME).c_str();
bindtextdomain(name, path);
textdomain(name);

#if defined(_WIN32)
// Set character encoding for Win32

0 comments on commit 5659434

Please sign in to comment.