Skip to content

Commit

Permalink
Fix GetText translation loading
Browse files Browse the repository at this point in the history
  • 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
#endif #endif


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


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

0 comments on commit 5659434

Please sign in to comment.