1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Restore gettext calls (it's ok with emscripten too)

This commit is contained in:
Mathieu Schroeter 2018-07-21 17:51:17 +02:00
parent ea4158e8ac
commit 4a75c5e66a

View File

@ -1046,9 +1046,9 @@ static void
initGettext () initGettext ()
{ {
setlocale (LC_ALL, ""); setlocale (LC_ALL, "");
// textdomain ("planetblupi"); textdomain ("planetblupi");
// bindtextdomain ("planetblupi", (GetShareDir () + "locale").c_str ()); bindtextdomain ("planetblupi", (GetShareDir () + "locale").c_str ());
// bind_textdomain_codeset ("planetblupi", "UTF-8"); bind_textdomain_codeset ("planetblupi", "UTF-8");
} }
int int