mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 21:06:38 +02:00
Fix typos in 2 error messages
This commit is contained in:
@@ -95,7 +95,7 @@ weechat_python_exec (struct t_plugin_script *script,
|
||||
if ( !(evFunc && PyCallable_Check (evFunc)) )
|
||||
{
|
||||
weechat_printf (NULL,
|
||||
weechat_gettext ("%s%s unable to run function \"%s\""),
|
||||
weechat_gettext ("%s%s: unable to run function \"%s\""),
|
||||
weechat_prefix ("error"), PYTHON_PLUGIN_NAME, function);
|
||||
/* PyEval_ReleaseThread (python_current_script->interpreter); */
|
||||
if (old_interpreter)
|
||||
|
||||
@@ -144,7 +144,7 @@ weechat_tcl_exec (struct t_plugin_script *script,
|
||||
Tcl_ListObjReplace(interp,cmdlist,0,llength,0,NULL); /* remove elements, decrement their ref count */
|
||||
Tcl_DecrRefCount(cmdlist); /* -1 */
|
||||
weechat_printf (NULL,
|
||||
weechat_gettext ("%s%s unable to run function \"%s\": %s"),
|
||||
weechat_gettext ("%s%s: unable to run function \"%s\": %s"),
|
||||
weechat_prefix ("error"), TCL_PLUGIN_NAME, function,
|
||||
Tcl_GetStringFromObj (Tcl_GetObjResult (interp), &i));
|
||||
tcl_current_script = old_tcl_script;
|
||||
|
||||
Reference in New Issue
Block a user