From 4a75c5e66a2a5b0a7fcb8f077dadf98003534918 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Sat, 21 Jul 2018 17:51:17 +0200 Subject: [PATCH] Restore gettext calls (it's ok with emscripten too) --- src/blupi.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/blupi.cxx b/src/blupi.cxx index 41d79fa..fc67efc 100644 --- a/src/blupi.cxx +++ b/src/blupi.cxx @@ -1046,9 +1046,9 @@ static void initGettext () { setlocale (LC_ALL, ""); - // textdomain ("planetblupi"); - // bindtextdomain ("planetblupi", (GetShareDir () + "locale").c_str ()); - // bind_textdomain_codeset ("planetblupi", "UTF-8"); + textdomain ("planetblupi"); + bindtextdomain ("planetblupi", (GetShareDir () + "locale").c_str ()); + bind_textdomain_codeset ("planetblupi", "UTF-8"); } int