summaryrefslogtreecommitdiff
path: root/src/plugins/lua
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-01-06 13:58:26 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-01-06 14:07:57 +0100
commit9876a8d0a78a118f65a020c727c1fb079b9adcbd (patch)
treeb55504f846ebfcbcc70766dc00f9ad6164ae14d1 /src/plugins/lua
parentbab307bf1b5ac07c45fd2ddb78930831bddb9c4b (diff)
downloadweechat-9876a8d0a78a118f65a020c727c1fb079b9adcbd.zip
core: update translations (issue #128)
Diffstat (limited to 'src/plugins/lua')
-rw-r--r--src/plugins/lua/weechat-lua.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/plugins/lua/weechat-lua.c b/src/plugins/lua/weechat-lua.c
index f5bc30195..037c09209 100644
--- a/src/plugins/lua/weechat-lua.c
+++ b/src/plugins/lua/weechat-lua.c
@@ -63,7 +63,7 @@ char *lua_eval_output = NULL;
"end\n" \
"\n" \
"weechat.register('" WEECHAT_SCRIPT_EVAL_NAME "', '', '1.0', " \
- "'" WEECHAT_LICENSE "', 'Evaluation of script code', '', '')\n"
+ "'" WEECHAT_LICENSE "', 'Evaluation of source code', '', '')\n"
struct t_plugin_script *lua_scripts = NULL;
struct t_plugin_script *last_lua_script = NULL;
@@ -562,7 +562,8 @@ weechat_lua_load (const char *filename, const char *code)
if (luaL_loadstring (lua_current_interpreter, code) != 0)
{
weechat_printf (NULL,
- weechat_gettext ("%s%s: unable to load code"),
+ weechat_gettext ("%s%s: unable to load source "
+ "code"),
weechat_prefix ("error"), LUA_PLUGIN_NAME);
weechat_printf (NULL,
weechat_gettext ("%s%s: error: %s"),
@@ -595,7 +596,8 @@ weechat_lua_load (const char *filename, const char *code)
if (code)
{
weechat_printf (NULL,
- weechat_gettext ("%s%s: unable to execute code"),
+ weechat_gettext ("%s%s: unable to execute source "
+ "code"),
weechat_prefix ("error"), LUA_PLUGIN_NAME);
}
else
@@ -796,7 +798,7 @@ weechat_lua_unload_all ()
}
/*
- * Evaluates lua code.
+ * Evaluates lua source code.
*
* Returns:
* 1: OK