aboutsummaryrefslogtreecommitdiff
path: root/src/gettext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gettext.cpp')
-rw-r--r--src/gettext.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gettext.cpp b/src/gettext.cpp
index 81621ba89..6818004df 100644
--- a/src/gettext.cpp
+++ b/src/gettext.cpp
@@ -217,7 +217,10 @@ void init_gettext(const char *path, const std::string &configured_language,
#endif
#endif
- static std::string name = lowercase(PROJECT_NAME);
+ std::string name = lowercase(PROJECT_NAME);
+ infostream << "Gettext: domainname=\"" << name
+ << "\" path=\"" << path << "\"" << std::endl;
+
bindtextdomain(name.c_str(), path);
textdomain(name.c_str());