1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Gettext domain should match the project name

This partially reverts 023cc0d37776976b4b192b7363f73a5d2debdef6, goes
back to using PROJECT_NAME for the filename and also uses PROJECT_NAME
as text domain in the source code.
This commit is contained in:
Giuseppe Bilotta 2011-07-23 15:49:06 +02:00
parent 4ffba76bb3
commit d4e7faca21
2 changed files with 3 additions and 3 deletions

View file

@ -1134,8 +1134,8 @@ int main(int argc, char *argv[])
#ifdef LC_MESSAGES
setlocale(LC_MESSAGES, "");
bindtextdomain("minetest", (porting::path_userdata+"/locale").c_str());
textdomain("minetest");
bindtextdomain(PROJECT_NAME, (porting::path_userdata+"/locale").c_str());
textdomain(PROJECT_NAME);
#endif
// Initialize debug streams