diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-24 09:01:10 -0700 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-24 09:01:10 -0700 |
commit | 71b7d925970f38a993ff9f7c3f3939a0c0b8112b (patch) | |
tree | b8bf1e95011a901b0e20e1cb283b7d0ed98a9030 /src/main.cpp | |
parent | f4a08f7fb3c9a249ad1256e2cf1a2e2ca3f2a709 (diff) | |
parent | e034f8a2a372279edfc5a6c69dc14fb31c9a7685 (diff) | |
download | minetest-71b7d925970f38a993ff9f7c3f3939a0c0b8112b.tar.gz minetest-71b7d925970f38a993ff9f7c3f3939a0c0b8112b.tar.bz2 minetest-71b7d925970f38a993ff9f7c3f3939a0c0b8112b.zip |
Merge pull request #35 from Oblomov/master
some more gettext fixes
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index 11941a43f..bdfbc35f7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1132,11 +1132,7 @@ int main(int argc, char *argv[]) // Create user data directory
fs::CreateDir(porting::path_userdata);
-#ifdef LC_MESSAGES
- setlocale(LC_MESSAGES, ""); - bindtextdomain("minetest", (porting::path_userdata+"/locale").c_str());
- textdomain("minetest");
-#endif
+ init_gettext((porting::path_userdata+"/locale").c_str());
// Initialize debug streams
#ifdef RUN_IN_PLACE
|