summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_core.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-06-21 18:40:46 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-06-21 18:40:46 +0000
commitb048ea322fac0d6cb59b9f1645fad9d7a898fc57 (patch)
tree77cab073f0cca54369cf47dadb973bf45d640e15 /plugins/MirLua/src/m_core.cpp
parent78f36745d03f03d4772e09720eef976cff5a4d9b (diff)
MirLua: Scripts reloading pt.2
git-svn-id: http://svn.miranda-ng.org/main/trunk@14304 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_core.cpp')
-rw-r--r--plugins/MirLua/src/m_core.cpp4
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;
}