summaryrefslogtreecommitdiff
path: root/src/plugins/javascript/weechat-js.cpp
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/javascript/weechat-js.cpp
parentbab307bf1b5ac07c45fd2ddb78930831bddb9c4b (diff)
downloadweechat-9876a8d0a78a118f65a020c727c1fb079b9adcbd.zip
core: update translations (issue #128)
Diffstat (limited to 'src/plugins/javascript/weechat-js.cpp')
-rw-r--r--src/plugins/javascript/weechat-js.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/javascript/weechat-js.cpp b/src/plugins/javascript/weechat-js.cpp
index 59da4cc23..eda9b052a 100644
--- a/src/plugins/javascript/weechat-js.cpp
+++ b/src/plugins/javascript/weechat-js.cpp
@@ -528,7 +528,7 @@ weechat_js_reload_name (const char *name)
}
/*
- * Evaluates javascript code.
+ * Evaluates javascript source code.
*
* Returns:
* 1: OK
@@ -683,8 +683,9 @@ weechat_js_command_cb (const void *pointer, void *data,
WEECHAT_COMMAND_ERROR;
/* TODO: implement /javascript eval */
weechat_printf (NULL,
- "%sCommand \"/javascript eval\" is not yet implemented",
- weechat_prefix ("error"));
+ _("%sCommand \"/%s eval\" is not yet implemented"),
+ weechat_prefix ("error"),
+ weechat_js_plugin->name);
}
else
WEECHAT_COMMAND_ERROR;