diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-12-09 19:03:11 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-02-03 22:52:43 +0100 |
commit | 3fd534c3f9d83029eb113cdbc32f65fe56f3c3d0 (patch) | |
tree | e0470209fa0a71051a196b65aa164012b936c61e | |
parent | efae38628bff2b77096db677c4feaacde1dc5438 (diff) | |
download | tdelibs-3fd534c3f9d83029eb113cdbc32f65fe56f3c3d0.tar.gz tdelibs-3fd534c3f9d83029eb113cdbc32f65fe56f3c3d0.zip |
Fix function name in LUA indentation script error message.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 6f0a5983467358a325740c689c1fd546c3752b52)
-rw-r--r-- | kate/part/kateluaindentscript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kate/part/kateluaindentscript.cpp b/kate/part/kateluaindentscript.cpp index dbc7d1fa4..ac7bd1607 100644 --- a/kate/part/kateluaindentscript.cpp +++ b/kate/part/kateluaindentscript.cpp @@ -153,7 +153,7 @@ static int katelua_document_insertText(lua_State *L) { lua_error(L); } if ((!lua_isnumber(L,1)) || (!lua_isnumber(L,2)) ||(!lua_isstring(L,3)) ) { - lua_pushstring(L,i18n("document.removeText:Three parameters needed (line,col,text) (number,number,string)").utf8().data()); + lua_pushstring(L,i18n("document.insertText:Three parameters needed (line,col,text) (number,number,string)").utf8().data()); lua_error(L); } lua_pushboolean(L,katelua_doc->insertText((uint)lua_tonumber(L,1),(uint)lua_tonumber(L,2),TQString::fromUtf8(lua_tostring(L,3)))); |