diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2003-11-30 15:09:04 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2003-11-30 15:09:04 +0000 |
commit | c8c5ff3d68b9e33da1ab0235e8608a6ce2b66659 (patch) | |
tree | 1a541e341734ba37d993afa73f1fc723b45cfb45 /src | |
parent | e2e384df49739fde08e25428d0fc72bcfb2cfca8 (diff) | |
download | weechat-c8c5ff3d68b9e33da1ab0235e8608a6ce2b66659.zip |
Added "Perl scripts unloaded" message when unloading all Perl scripts
Diffstat (limited to 'src')
-rw-r--r-- | src/common/command.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/command.c b/src/common/command.c index 27e36acc3..bcf8e8156 100644 --- a/src/common/command.c +++ b/src/common/command.c @@ -1031,7 +1031,7 @@ weechat_cmd_perl (int argc, char **argv) { handler_found = 1; irc_display_prefix (NULL, PREFIX_PLUGIN); - gui_printf (NULL, " IRC(%s) => Perl(%s)\n", + gui_printf (NULL, _(" IRC(%s) => Perl(%s)\n"), ptr_plugin_handler->name, ptr_plugin_handler->function_name); } @@ -1053,7 +1053,7 @@ weechat_cmd_perl (int argc, char **argv) { handler_found = 1; irc_display_prefix (NULL, PREFIX_PLUGIN); - gui_printf (NULL, " Command /%s => Perl(%s)\n", + gui_printf (NULL, _(" Command /%s => Perl(%s)\n"), ptr_plugin_handler->name, ptr_plugin_handler->function_name); } @@ -1070,6 +1070,8 @@ weechat_cmd_perl (int argc, char **argv) { /* unload all Perl scripts */ plugin_unload (PLUGIN_TYPE_PERL, NULL); + irc_display_prefix (NULL, PREFIX_PLUGIN); + gui_printf (NULL, _("Perl scripts unloaded\n")); } break; case 2: |