diff options
Diffstat (limited to 'plugins/MirLua/src/m_core.cpp')
-rw-r--r-- | plugins/MirLua/src/m_core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/m_core.cpp b/plugins/MirLua/src/m_core.cpp index e71c20471d..72d899e5b9 100644 --- a/plugins/MirLua/src/m_core.cpp +++ b/plugins/MirLua/src/m_core.cpp @@ -169,8 +169,8 @@ static int lua_Translate(lua_State *L) {
char *what = (char*)luaL_checkstring(L, 1);
- ptrT value(mir_utf8decodeT(what, NULL));
- lua_pushstring(L, T2Utf(TranslateTS(value)));
+ ptrT value(mir_utf8decodeT(what));
+ lua_pushstring(L, T2Utf(TranslateW_LP(value, hScriptsLangpack)));
return 1;
}
|