plug dgettext 43/12543/2
Antoine ELIAS [Mon, 16 Sep 2013 07:51:49 +0000 (09:51 +0200)]
Change-Id: I94e8c8110260a9f96172eaa55df9d6cae044ac24

scilab/modules/localization/sci_gateway/cpp/localization_gw.cpp

index 2cd033c..c60c1b0 100644 (file)
@@ -31,5 +31,6 @@ int LocalizationModule::Load()
     symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"getdefaultlanguage", &sci_getdefaultlanguage, MODULE_NAME));
     symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"setlanguage", &sci_setlanguage, MODULE_NAME));
     symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"getlanguage", &sci_getlanguage, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"dgettext", &sci_dgettext, MODULE_NAME));
     return 1;
 }