Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix GetText translation loading
  • Loading branch information
ShadowNinja committed Mar 28, 2015
1 parent 3007546 commit 5659434
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gettext.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 5659434

Please sign in to comment.