forked from Mirrorlandia_minetest/minetest
052bb24c7f
german translation file and bashscript to update translations
13 lines
277 B
C
13 lines
277 B
C
#include <libintl.h>
|
|
#define _(String) gettext(String)
|
|
#define gettext_noop(String) String
|
|
#define N_(String) gettext_noop (String)
|
|
|
|
inline wchar_t* chartowchar_t(char *str)
|
|
{
|
|
size_t l = strlen(str)+1;
|
|
wchar_t* nstr = new wchar_t[l];
|
|
mbstowcs(nstr, str, l);
|
|
return nstr;
|
|
}
|