From 9876a8d0a78a118f65a020c727c1fb079b9adcbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 6 Jan 2018 13:58:26 +0100 Subject: core: update translations (issue #128) --- src/plugins/javascript/weechat-js.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/plugins/javascript/weechat-js.cpp') 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; -- cgit v1.2.3