mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
added gettext support
german translation file and bashscript to update translations
This commit is contained in:
parent
d0810b0156
commit
052bb24c7f
11 changed files with 237 additions and 42 deletions
|
@ -401,6 +401,8 @@ Doing currently:
|
|||
#include "keycode.h"
|
||||
#include "tile.h"
|
||||
|
||||
#include "gettext.h"
|
||||
|
||||
// This makes textures
|
||||
ITextureSource *g_texturesource = NULL;
|
||||
|
||||
|
@ -1058,6 +1060,9 @@ int main(int argc, char *argv[])
|
|||
std::locale::global(std::locale("C"));
|
||||
// This enables printing all characters in bitmap font
|
||||
setlocale(LC_CTYPE, "en_US");
|
||||
setlocale(LC_ALL, "");
|
||||
bindtextdomain("minetest-c55", "./../locale");
|
||||
textdomain("minetest-c55");
|
||||
|
||||
/*
|
||||
Parse command line
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue