From 83bdd9791679fbf777b83616fc565876d79b58a5 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 30 Mar 2006 12:08:55 +0000 Subject: [PATCH] Added keyboard handler to plugin API --- ChangeLog | 3 +- doc/en/weechat.en.xml | 376 +++++++- doc/fr/weechat.fr.xml | 378 +++++++- po/cs.po | 841 +++++++++-------- po/es.po | 855 +++++++++--------- po/fr.po | 835 +++++++++-------- po/hu.po | 839 ++++++++--------- po/weechat.pot | 835 +++++++++-------- src/common/command.c | 43 + src/common/completion.c | 9 + src/gui/curses/gui-display.c | 107 ++- src/gui/curses/gui-input.c | 37 +- src/gui/gtk/gui-display.c | 23 +- src/gui/gui-action.c | 92 +- src/gui/gui-common.c | 119 ++- src/gui/gui-keyboard.c | 19 +- src/gui/gui.h | 23 +- src/irc/irc-recv.c | 3 + src/plugins/plugins-interface.c | 89 +- src/plugins/plugins.c | 121 ++- src/plugins/plugins.h | 4 + src/plugins/scripts/lua/weechat-lua.c | 404 ++++++--- src/plugins/scripts/perl/weechat-perl.c | 248 ++++- src/plugins/scripts/python/weechat-python.c | 182 +++- src/plugins/scripts/ruby/weechat-ruby.c | 208 ++++- src/plugins/scripts/weechat-script.c | 31 +- src/plugins/scripts/weechat-script.h | 3 + src/plugins/weechat-plugin.h | 14 +- weechat/ChangeLog | 3 +- weechat/doc/en/weechat.en.xml | 376 +++++++- weechat/doc/fr/weechat.fr.xml | 378 +++++++- weechat/po/cs.po | 841 +++++++++-------- weechat/po/es.po | 855 +++++++++--------- weechat/po/fr.po | 835 +++++++++-------- weechat/po/hu.po | 839 ++++++++--------- weechat/po/weechat.pot | 835 +++++++++-------- weechat/src/common/command.c | 43 + weechat/src/common/completion.c | 9 + weechat/src/gui/curses/gui-display.c | 107 ++- weechat/src/gui/curses/gui-input.c | 37 +- weechat/src/gui/gtk/gui-display.c | 23 +- weechat/src/gui/gui-action.c | 92 +- weechat/src/gui/gui-common.c | 119 ++- weechat/src/gui/gui-keyboard.c | 19 +- weechat/src/gui/gui.h | 23 +- weechat/src/irc/irc-recv.c | 3 + weechat/src/plugins/plugins-interface.c | 89 +- weechat/src/plugins/plugins.c | 121 ++- weechat/src/plugins/plugins.h | 4 + weechat/src/plugins/scripts/lua/weechat-lua.c | 404 ++++++--- .../src/plugins/scripts/perl/weechat-perl.c | 248 ++++- .../plugins/scripts/python/weechat-python.c | 182 +++- .../src/plugins/scripts/ruby/weechat-ruby.c | 208 ++++- weechat/src/plugins/scripts/weechat-script.c | 31 +- weechat/src/plugins/scripts/weechat-script.h | 3 + weechat/src/plugins/weechat-plugin.h | 14 +- 56 files changed, 8810 insertions(+), 4672 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7306344c5..a24c86616 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,11 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2006-03-26 +ChangeLog - 2006-03-30 Version 0.1.9 (under dev!): + * added keyboard handler to plugin API * improved script plugin loader * added hostname/IP option for connection to server * fixed --disable-plugins option in configure script diff --git a/doc/en/weechat.en.xml b/doc/en/weechat.en.xml index c14ca98df..d04f78bdb 100644 --- a/doc/en/weechat.en.xml +++ b/doc/en/weechat.en.xml @@ -35,7 +35,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - WeeChat 0.1.8 - User guide + WeeChat 0.1.9-cvs - User guide Fast, light and extensible IRC client @@ -1801,6 +1801,29 @@ plugin->log (plugin, "freenode", "#weechat", "test"); : function called when message is received + + It uses following prototype: + + int my_function (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Argument argc is set to 3, following values are set in + argv array: + + + argv[0] = server name + + + argv[1] = IRC message + + + argv[2] = command arguments + + + @@ -2036,6 +2059,29 @@ plugin->msg_handler_add (plugin, "KICK", &msg_kick, NULL, NULL); : function called when command is executed + + It uses following prototype: + + int my_function (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Argument argc is set to 3, following values are set in + argc array: + + + argv[0] = server name + + + argv[1] = command + + + argv[2] = command arguments + + + @@ -2123,6 +2169,119 @@ plugin->cmd_handler_add (plugin, "test", "Test command", : function called + + It uses following prototype: + + int my_function (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Argument argc is set to 0, and argv is set to NULL. + + + + + : arguments given to function + when called + + + + + : pointer given to function + when called + + + + + + Return value: pointer to new timer handler. + + + Note: function called has to return one of following values: + + + + PLUGIN_RC_KO: function failed + + + + + PLUGIN_RC_OK: function successfully + completed + + + + + + Example: + +int my_timer (t_weechat_plugin *plugin, char *server, char *command, + char *arguments, char *handler_args, void *handler_pointer) +{ + plugin->print (plugin, NULL, NULL, "my timer"); + return PLUGIN_RC_OK; +} +... +plugin->timer_handler_add (plugin, 60, &my_timer); + + + + +
+ keyboard_handler_add + + + Prototype: + + t_plugin_handler *keyboard_handler_add (t_weechat_plugin + *plugin, t_plugin_handler_func *function, + char *handler_args, void *handler_pointer) + + + + Add a keyboard handler, called for any key pressed. + + + Arguments: + + + + : pointer to plugin structure + + + + + : function called + + + It uses following prototype: + + int my_function (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Le paramtre argc vaut 2 et les arguments suivants sont + passs dans le tableau argv : + + + + argv[0] = touche appuye (nom d'une fonction interne + ou bien '*' suivi du code d'une touche si la touche + n'est pas associe une fonction) + + + + + argv[1] = "1" si la ligne de commande a chang suite + l'action de cette touche, "0" sinon + + + + @@ -2160,14 +2319,21 @@ plugin->cmd_handler_add (plugin, "test", "Test command", Example: -int my_timer (t_weechat_plugin *plugin, char *server, char *command, - char *arguments, char *handler_args, void *handler_pointer) +int keyb_handler (t_weechat_plugin *plugin, int argc, char **argv, + char *handler_args, void *handler_pointer) { - plugin->print (plugin, NULL, NULL, "my timer"); + if (argc == 2) + { + plugin->print (plugin, NULL, NULL, "key pressed: %s", argv[0]); + if (argv[1] && (argv[1][0] == '1')) + plugin->print (plugin, NULL, NULL, "input text changed"); + else + plugin->print (plugin, NULL, NULL, "input text not changed"); + } return PLUGIN_RC_OK; } ... -plugin->timer_handler_add (plugin, 60, &my_timer); +plugin->keyboard_handler_add (plugin, &keyb_handler);
@@ -2183,7 +2349,7 @@ plugin->timer_handler_add (plugin, 60, &my_timer); - Remove a handler. + Remove a command or message handler. Arguments: @@ -2353,6 +2519,24 @@ plugin->exec_command (plugin, "freenode", "#weechat", "hello"); number of seconds since last key was pressed + + input + + content of command line for current window + + + + input_mask + + content of color mask for command line + + + + input_pos + + cursor position in command line + + weechat_dir @@ -2400,9 +2584,12 @@ plugin->print (plugin, NULL, NULL, "(inactive for %s seconds)", version, nick, inactivity); -free (version); -free (nick); -free (inactivity); +if (version) + free (version); +if (nick) + free (nick); +if (inactivity) + free (inactivity); @@ -4288,20 +4475,20 @@ sub my_timer # python weechat.add_timer_handler(60, "my_timer") -def my_timer(server, args): +def my_timer(): weechat.prnt("this is timer handler") return weechat.PLUGIN_RC_OK # ruby Weechat.add_timer_handler(60, "my_timer") -def my_timer(server, args) +def my_timer() Weechat.print("this is timer handler") return Weechat::PLUGIN_RC_OK end -- lua weechat.add_timer_handler(60, "my_timer") -function my_timer(server, args) +function my_timer() weechat.print("this is timer handler) return weechat.PLUGIN_RC_OK() end @@ -4325,6 +4512,110 @@ end +
+ add_keyboard_handler + + + Perl prototype: + + weechat::add_keyboard_handler(message, function); + + + + Python prototype: + + weechat.add_keyboard_handler(message, function) + + + + Ruby prototype: + + Weechat.add_keyboard_handler(message, function) + + + + Lua prototype: + + weechat.add_keyboard_handler(message, function) + + + + Add a keyboard handler, called for any key pressed. + + + Arguments: + + + + : function called + + + + + + Return value: 1 if success, 0 if an error occurred. + + + Examples: + +# perl +weechat::add_keyboard_handler("my_keyboard"); +sub my_keyboard +{ + my $key = shift; + my $input_before = shift; + my $input_after = shift; + weechat::print("keyboard handler: key = '$key', " + ."input before = '$input_before' " + ."after = '$input_after'"); + return weechat::PLUGIN_RC_OK; +} + +# python +weechat.add_keyboard_handler("my_keyboard") +def my_keyboard(key, input_before, input_after): + weechat.prnt("keyboard handler: key = '%s', " \ + "input before = '%s' after = '%s'" + %(key, input_before, input_after)) + return weechat.PLUGIN_RC_OK + +# ruby +Weechat.add_keyboard_handler("my_keyboard") +def my_keyboard(server, input_before, input_after) + Weechat.print("keyboard handler: key = '#{key}', " \ + "input before = '#{input_before}' " \ + "after = '#{input_after}'") + return Weechat::PLUGIN_RC_OK +end + +-- lua +weechat.add_keyboard_handler("my_keyboard") +function my_keyboard(server, input_before, input_after) + weechat.print("keyboard handler: key = '"..key.. + "', input before = '"..input_before.. + "' after = '"..input_after.."'") + return weechat.PLUGIN_RC_OK() +end + + + + Note: function called has to return one of following values: + + + + PLUGIN_RC_KO: function failed + + + + + PLUGIN_RC_OK: function successfully + completed + + + + +
+
remove_handler @@ -4452,6 +4743,67 @@ weechat.remove_timer_handler("my_timer")
+
+ remove_keyboard_handler + + + Perl prototype: + + weechat::remove_keyboard_handler(function); + + + + Python prototype: + + weechat.remove_keyboard_handler(function) + + + + Ruby prototype: + + Weechat.remove_keyboard_handler(function) + + + + Lua prototype: + + weechat.remove_keyboard_handler(function) + + + + Remove a keyboard handler. + + + Arguments: + + + + : function + + + + + + Return value: 1 if success, 0 if an error occurred. + + + Examples: + +# perl +weechat::remove_keyboard_handler("my_keyboard"); + +# python +weechat.remove_keyboard_handler("my_keyboard") + +# ruby +Weechat.remove_keyboard_handler("my_keyboard") + +-- lua +weechat.remove_keyboard_handler("my_keyboard") + + +
+
command diff --git a/doc/fr/weechat.fr.xml b/doc/fr/weechat.fr.xml index da3b661fd..d58825634 100644 --- a/doc/fr/weechat.fr.xml +++ b/doc/fr/weechat.fr.xml @@ -35,7 +35,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - WeeChat 0.1.8 - Guide utilisateur + WeeChat 0.1.9-cvs - Guide utilisateur Client IRC rapide, lger et extensible @@ -1839,6 +1839,29 @@ plugin->log (plugin, "freenode", "#weechat", "test"); : fonction appele lorsque le message est reu + + Elle a le prototype suivant : + + int ma_fonction (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Le paramtre argc vaut 3 et les arguments suivants sont + passs dans le tableau argv : + + + argv[0] = nom du serveur + + + argv[1] = message IRC + + + argv[2] = arguments de la commande + + + @@ -2075,7 +2098,30 @@ plugin->msg_handler_add (plugin, "KICK", &msg_kick, NULL, NULL); : fonction appele lorsque la - commande est excute + commande est excute. + + + Elle a le prototype suivant : + + int ma_fonction (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Le paramtre argc vaut 3 et les arguments suivants sont + passs dans le tableau argv : + + + argv[0] = nom du serveur + + + argv[1] = commande + + + argv[2] = arguments de la commande + + @@ -2166,6 +2212,17 @@ plugin->cmd_handler_add (plugin, "test", "Commande test", : fonction appele + + Elle a le prototype suivant : + + int ma_fonction (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Le paramtre argc vaut 0 et argv vaut NULL. + @@ -2183,7 +2240,7 @@ plugin->cmd_handler_add (plugin, "test", "Commande test", Valeur renvoye : le pointeur vers le nouveau gestionnaire de - messages. + temps. Note : la fonction appele doit renvoyer une des valeurs @@ -2216,6 +2273,118 @@ plugin->timer_handler_add (plugin, 60, &mon_timer);
+
+ keyboard_handler_add + + + Prototype : + + t_plugin_handler *keyboard_handler_add (t_weechat_plugin + *plugin, t_plugin_handler_func *fonction, + char *handler_args, void *handler_pointer) + + + + Ajoute un gestionnaire de clavier, appel ds qu'une touche est + presse. + + + Paramtres : + + + + : pointeur vers la structure + de l'extension + + + + + : fonction appele + + + Elle a le prototype suivant : + + int ma_fonction (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Le paramtre argc vaut 2 et les arguments suivants sont + passs dans le tableau argv : + + + + argv[0] = touche appuye (nom d'une fonction interne + ou bien '*' suivi du code d'une touche si la touche + n'est pas associe une fonction) + + + + + argv[1] = "1" si la ligne de commande a chang suite + l'action de cette touche, "0" sinon + + + + + + + + : paramtres passs la + fonction appele + + + + + : pointeur pass la + fonction appele + + + + + + Valeur renvoye : le pointeur vers le nouveau gestionnaire de + clavier. + + + Note : la fonction appele doit renvoyer une des valeurs + suivantes : + + + + PLUGIN_RC_KO : la fonction a chou + + + + + PLUGIN_RC_OK : la fonction a russi + + + + + + Exemple : + +int keyb_handler (t_weechat_plugin *plugin, int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc == 2) + { + plugin->print (plugin, NULL, NULL, "touche appuye: %s", argv[0]); + if (argv[1] && (argv[1][0] == '1')) + plugin->print (plugin, NULL, NULL, "le texte d'entre a chang"); + else + plugin->print (plugin, NULL, NULL, "le texte d'entre n'a pas chang"); + } + return PLUGIN_RC_OK; +} +... +plugin->keyboard_handler_add (plugin, &keyb_handler); + + +
+
handler_remove @@ -2227,7 +2396,7 @@ plugin->timer_handler_add (plugin, 60, &mon_timer); - Supprime un gestionnaire. + Supprime un gestionnaire de commande ou message. Paramtres : @@ -2402,6 +2571,26 @@ plugin->exec_command (plugin, "freenode", "#weechat", "bonjour"); touche a t appuye + + input + + contenu de la ligne de commande de la fentre + courante + + + + input_mask + + contenu du masque de couleur de la ligne de + commande + + + + input_pos + + position du curseur dans la ligne de commande + + weechat_dir @@ -2449,9 +2638,12 @@ plugin->print (plugin, NULL, NULL, "(inactif depuis %s secondes)", version, nick, inactivity); -free (version); -free (nick); -free (inactivity); +if (version) + free (version); +if (nick) + free (nick); +if (inactivity) + free (inactivity);
@@ -4369,20 +4561,20 @@ sub mon_timer # python weechat.add_timer_handler(60, "mon_timer") -def mon_timer(serveur, args): +def mon_timer(): weechat.prnt("ceci est le timer handler") return weechat.PLUGIN_RC_OK # ruby Weechat.add_timer_handler(60, "mon_timer") -def mon_timer(server, args) +def mon_timer() Weechat.print("ceci est le timer handler") return Weechat::PLUGIN_RC_OK end -- lua weechat.add_timer_handler(60, "mon_timer") -function mon_timer(server, args) +function mon_timer() weechat.print("ceci est le timer handler") return weechat.PLUGIN_RC_OK() end @@ -4406,6 +4598,111 @@ end +
+ add_keyboard_handler + + + Prototype Perl : + + weechat::add_keyboard_handler(fonction); + + + + Prototype Python : + + weechat.add_keyboard_handler(fonction) + + + + Prototype Ruby : + + Weechat.add_keyboard_handler(fonction) + + + + Prototype Lua : + + weechat.add_keyboard_handler(fonction) + + + + Ajoute un gestionnaire de clavier, appel ds qu'une touche est + presse. + + + Paramtres : + + + + : fonction appele + + + + + + Valeur renvoye : 1 si succs, 0 si une erreur s'est produite. + + + Exemples : + +# perl +weechat::add_keyboard_handler("mon_clavier"); +sub mon_clavier +{ + my $key = shift; + my $input_before = shift; + my $input_after = shift; + weechat::print("gestionnaire clavier: key = '$key', " + ."entre avant = '$input_before' " + ."aprs = '$input_after'"); + return weechat::PLUGIN_RC_OK; +} + +# python +weechat.add_keyboard_handler("mon_clavier") +def mon_clavier(key, input_before, input_after): + weechat.prnt("gestionnaire clavier: touche = '%s', " \ + "entre avant = '%s' aprs = '%s'" + %(key, input_before, input_after)) + return weechat.PLUGIN_RC_OK + +# ruby +Weechat.add_clavier_handler("mon_clavier") +def mon_clavier(server, input_before, input_after) + Weechat.print("gestionnaire clavier: touche = '#{key}', " \ + "entre avant = '#{input_before}' " \ + "aprs = '#{input_after}'") + return Weechat::PLUGIN_RC_OK +end + +-- lua +weechat.add_clavier_handler("mon_clavier") +function mon_clavier(server, input_before, input_after) + weechat.print("gestionnaire clavier: touche = '"..key.. + "', entre avant = '"..input_before.. + "' aprs = '"..input_after.."'") + return weechat.PLUGIN_RC_OK() +end + + + + Note : la fonction appele doit renvoyer une des valeurs + suivantes : + + + + PLUGIN_RC_KO : la fonction a chou + + + + + PLUGIN_RC_OK : la fonction a russi + + + + +
+
remove_handler @@ -4533,6 +4830,67 @@ weechat.remove_timer_handler("mon_timer")
+
+ remove_keyboard_handler + + + Prototype Perl : + + weechat::remove_keyboard_handler(fonction); + + + + Prototype Python : + + weechat.remove_keyboard_handler(fonction) + + + + Prototype Ruby : + + Weechat.remove_keyboard_handler(fonction) + + + + Prototype Lua : + + weechat.remove_keyboard_handler(fonction) + + + + Supprime un gestionnaire de clavier. + + + Paramtres : + + + + : fonction + + + + + + Valeur renvoye : 1 si succs, 0 si une erreur s'est produite. + + + Exemples : + +# perl +weechat::remove_keyboard_handler("mon_clavier"); + +# python +weechat.remove_keyboard_handler("mon_clavier") + +# ruby +Weechat.remove_keyboard_handler("mon_clavier") + +-- lua +weechat.remove_keyboard_handler("mon_clavier") + + +
+
command diff --git a/po/cs.po b/po/cs.po index 9cb063f02..24b968479 100644 --- a/po/cs.po +++ b/po/cs.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.9-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2006-03-25 11:52+0100\n" +"POT-Creation-Date: 2006-03-29 20:06+0200\n" "PO-Revision-Date: 2006-03-18 11:45+0100\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -1399,7 +1399,7 @@ msgstr "off" msgid " (temporary server, will not be saved)" msgstr " (dočasný server, nebude uložen)" -#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3423 +#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3426 msgid "seconds" msgstr "sekund" @@ -1407,7 +1407,7 @@ msgstr "sekund" msgid "(hidden)" msgstr "(skrytý)" -#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4993 +#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4996 msgid "unknown" msgstr "neznámý" @@ -1416,7 +1416,7 @@ msgstr "neznámý" msgid "%s: using hostname \"%s\"\n" msgstr "%s: používám lokální jméno hosta \"%s\"\n" -#: src/irc/irc-send.c:221 src/common/command.c:1036 +#: src/irc/irc-send.c:221 src/common/command.c:1039 #, c-format msgid "%s cannot find nick for sending message\n" msgstr "%s nemohu najít přezdívku pro poslání zprávy\n" @@ -1438,8 +1438,8 @@ msgstr "%s \"%s\" příkaz nemůže být spuštěn v bufferu serveru\n" #: src/irc/irc-send.c:634 src/irc/irc-send.c:646 src/irc/irc-send.c:664 #: src/irc/irc-send.c:1371 src/irc/irc-send.c:1509 src/irc/irc-send.c:2104 -#: src/common/command.c:1922 src/common/command.c:2435 -#: src/common/command.c:2576 +#: src/common/command.c:1925 src/common/command.c:2438 +#: src/common/command.c:2617 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s špatný počet parametrů pro příkaz \"%s\"\n" @@ -1456,7 +1456,7 @@ msgstr "" "%s \"%s\" příkaz může být spuštěn pouze v bufferu kanálu nebo soukromého " "rozhovoru\n" -#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:511 +#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:514 #, c-format msgid "%s nick \"%s\" not found for \"%s\" command\n" msgstr "%s přezdívka \"%s\" nebyla nalezena pro příkaz \"%s\"\n" @@ -1471,481 +1471,481 @@ msgstr "%s nemohu vytvořít nové soukromý buffer\"%s\"\n" msgid "%s, compiled on %s %s\n" msgstr "%s, kompilováno na %s %s\n" -#: src/irc/irc-recv.c:371 +#: src/irc/irc-recv.c:374 #, c-format msgid "You have been invited to %s%s%s by %s%s\n" msgstr "Byl jsi pozván na %s%s%s od %s%s\n" -#: src/irc/irc-recv.c:385 src/irc/irc-recv.c:480 src/irc/irc-recv.c:1103 -#: src/irc/irc-recv.c:1525 src/irc/irc-recv.c:1805 src/irc/irc-recv.c:3795 -#: src/irc/irc-recv.c:3816 src/irc/irc-recv.c:3877 src/irc/irc-recv.c:3948 +#: src/irc/irc-recv.c:388 src/irc/irc-recv.c:483 src/irc/irc-recv.c:1106 +#: src/irc/irc-recv.c:1528 src/irc/irc-recv.c:1808 src/irc/irc-recv.c:3798 +#: src/irc/irc-recv.c:3819 src/irc/irc-recv.c:3880 src/irc/irc-recv.c:3951 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "%s kanál \"%s\" nebyl nalezen příkazem \"%s\"\n" -#: src/irc/irc-recv.c:413 +#: src/irc/irc-recv.c:416 #, c-format msgid "%s cannot create new channel \"%s\"\n" msgstr "%s nemohu vytvořit nový kanál \"%s\"\n" -#: src/irc/irc-recv.c:426 +#: src/irc/irc-recv.c:429 #, c-format msgid "%s%s %s(%s%s%s)%s has joined %s%s\n" msgstr "%s%s %s(%s%s%s)%s se připojil %s%s\n" -#: src/irc/irc-recv.c:488 +#: src/irc/irc-recv.c:491 #, c-format msgid "%s%s%s has kicked %s%s%s from %s%s" msgstr "%s%s%s byl vykopnut %s%s%s z %s%s" -#: src/irc/irc-recv.c:578 +#: src/irc/irc-recv.c:581 #, c-format msgid "%s%s%s has killed %s%s%s from server" msgstr "%s%s%s byl zabit %s%s%s ze serveru" -#: src/irc/irc-recv.c:600 +#: src/irc/irc-recv.c:603 #, c-format msgid "%s host \"%s\" not found for \"%s\" command\n" msgstr "%s host \"%s\" nenalezen pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:641 +#: src/irc/irc-recv.c:644 msgid "sets ban on" msgstr "tě zakázal" -#: src/irc/irc-recv.c:642 +#: src/irc/irc-recv.c:645 msgid "removes ban on" msgstr "odebral zakázaní" -#: src/irc/irc-recv.c:666 +#: src/irc/irc-recv.c:669 #, fuzzy msgid "sets realname ban on" msgstr "tě zakázal" -#: src/irc/irc-recv.c:667 +#: src/irc/irc-recv.c:670 #, fuzzy msgid "removes realname ban on" msgstr "odebral zakázaní" -#: src/irc/irc-recv.c:691 +#: src/irc/irc-recv.c:694 #, fuzzy msgid "sets ban exemtion on" msgstr "nastavena vyjímka na" -#: src/irc/irc-recv.c:692 +#: src/irc/irc-recv.c:695 #, fuzzy msgid "removes ban exemption on" msgstr "odstraněna vyjímka z" -#: src/irc/irc-recv.c:716 +#: src/irc/irc-recv.c:719 msgid "sets mode +f" msgstr "nastavil mód +f" -#: src/irc/irc-recv.c:717 +#: src/irc/irc-recv.c:720 msgid "removes mode +f" msgstr "odstranil mód +f" -#: src/irc/irc-recv.c:741 +#: src/irc/irc-recv.c:744 msgid "gives half channel operator status to" msgstr "dal poloviční status operátora na" -#: src/irc/irc-recv.c:742 +#: src/irc/irc-recv.c:745 msgid "removes half channel operator status from" msgstr "odebral poloviční status operátora z" -#: src/irc/irc-recv.c:769 +#: src/irc/irc-recv.c:772 msgid "sets invite-only channel flag" msgstr "nastavil zančku kanálu: pouze na pování" -#: src/irc/irc-recv.c:770 +#: src/irc/irc-recv.c:773 msgid "removes invite-only channel flag" msgstr "odebral značku kanálu: pouze na pozvání" -#: src/irc/irc-recv.c:787 +#: src/irc/irc-recv.c:790 #, fuzzy msgid "sets invite-only exemption on" msgstr "nastavena vyjímka na" -#: src/irc/irc-recv.c:788 +#: src/irc/irc-recv.c:791 #, fuzzy msgid "removes invite-only exemption on" msgstr "odstraněna vyjímka z" -#: src/irc/irc-recv.c:812 +#: src/irc/irc-recv.c:815 msgid "sets channel key to" msgstr "nastavil klíč kanálu na" -#: src/irc/irc-recv.c:813 +#: src/irc/irc-recv.c:816 msgid "removes channel key" msgstr "odebral klíč kanálu" -#: src/irc/irc-recv.c:844 +#: src/irc/irc-recv.c:847 msgid "sets the user limit to" msgstr "nastavil limit uživatelů na" -#: src/irc/irc-recv.c:845 +#: src/irc/irc-recv.c:848 msgid "removes user limit" msgstr "odebral limit uživatelů" -#: src/irc/irc-recv.c:867 +#: src/irc/irc-recv.c:870 msgid "sets moderated channel flag" msgstr "nastavil značku moderovaného kanálu" -#: src/irc/irc-recv.c:868 +#: src/irc/irc-recv.c:871 msgid "removes moderated channel flag" msgstr "odebral značku moderovaného kanálu" -#: src/irc/irc-recv.c:878 +#: src/irc/irc-recv.c:881 msgid "sets messages from channel only flag" msgstr "nastavil značku kanálu: zprávy pouze z kanálu" -#: src/irc/irc-recv.c:879 +#: src/irc/irc-recv.c:882 msgid "removes messages from channel only flag" msgstr "odebral značku kanálu: zprávy pouze z kanálu" -#: src/irc/irc-recv.c:896 +#: src/irc/irc-recv.c:899 msgid "gives channel operator status to" msgstr "dal status operátora na" -#: src/irc/irc-recv.c:897 +#: src/irc/irc-recv.c:900 msgid "removes channel operator status from" msgstr "odebral status operátora z" -#: src/irc/irc-recv.c:924 +#: src/irc/irc-recv.c:927 msgid "sets private channel flag" msgstr "nastavil značku soukromého kanálu" -#: src/irc/irc-recv.c:925 +#: src/irc/irc-recv.c:928 msgid "removes private channel flag" msgstr "odebral značku soukromého kanálu" -#: src/irc/irc-recv.c:942 +#: src/irc/irc-recv.c:945 msgid "sets quiet on" msgstr "nastavil ticho na" -#: src/irc/irc-recv.c:943 +#: src/irc/irc-recv.c:946 msgid "removes quiet on" msgstr "odebral ticho z" -#: src/irc/irc-recv.c:960 +#: src/irc/irc-recv.c:963 msgid "sets secret channel flag" msgstr "nastavil značku tajného kanálu" -#: src/irc/irc-recv.c:961 +#: src/irc/irc-recv.c:964 msgid "removes secret channel flag" msgstr "odebral značku tajného kanálu" -#: src/irc/irc-recv.c:971 +#: src/irc/irc-recv.c:974 msgid "sets topic protection" msgstr "nastavil protekci tématu" -#: src/irc/irc-recv.c:972 +#: src/irc/irc-recv.c:975 msgid "removes topic protection" msgstr "odebral protekci tématu" -#: src/irc/irc-recv.c:989 +#: src/irc/irc-recv.c:992 msgid "gives voice to" msgstr "dal voice na" -#: src/irc/irc-recv.c:990 +#: src/irc/irc-recv.c:993 msgid "removes voice from" msgstr "odebral voice z" -#: src/irc/irc-recv.c:1062 src/irc/irc-recv.c:1148 src/irc/irc-recv.c:1604 -#: src/irc/irc-recv.c:2429 +#: src/irc/irc-recv.c:1065 src/irc/irc-recv.c:1151 src/irc/irc-recv.c:1607 +#: src/irc/irc-recv.c:2432 #, c-format msgid "%s \"%s\" command received without host\n" msgstr "%s \"%s\" příkaz obdržen bez hosta\n" -#: src/irc/irc-recv.c:1072 +#: src/irc/irc-recv.c:1075 #, c-format msgid "%s \"%s\" command received without channel or nickname\n" msgstr "%s \"%s\" příkaz obdržen bez kanálu nebo přezdívky\n" -#: src/irc/irc-recv.c:1114 +#: src/irc/irc-recv.c:1117 #, c-format msgid "%s[%s%s%s/%s%s%s]%s mode changed by %s%s\n" msgstr "%s[%s%s%s/%s%s%s]%s mód změnil %s%s\n" -#: src/irc/irc-recv.c:1183 +#: src/irc/irc-recv.c:1186 #, c-format msgid "You are now known as %s%s\n" msgstr "Nyní známý jako %s%s\n" -#: src/irc/irc-recv.c:1187 +#: src/irc/irc-recv.c:1190 #, c-format msgid "%s%s%s is now known as %s%s\n" msgstr "%s%s%s nyní známý jako %s%s\n" -#: src/irc/irc-recv.c:1255 +#: src/irc/irc-recv.c:1258 #, c-format msgid "%s nickname not found for \"%s\" command\n" msgstr "%s přezdívka nenalezena pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:1269 +#: src/irc/irc-recv.c:1272 #, c-format msgid "CTCP %sVERSION%s reply from %s%s%s: %s\n" msgstr "CTCP %sVERSION%s odpověď od %s%s%s: %s\n" -#: src/irc/irc-recv.c:1303 +#: src/irc/irc-recv.c:1306 #, c-format msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "CTCP %sPING%s odpověď od %s%s%s: %ld.%ld sekund\n" -#: src/irc/irc-recv.c:1326 src/irc/irc-recv.c:2232 src/irc/irc-recv.c:2344 +#: src/irc/irc-recv.c:1329 src/irc/irc-recv.c:2235 src/irc/irc-recv.c:2347 #, c-format msgid "%s cannot create new private window \"%s\"\n" msgstr "%s nemohu vytvořít nové soukromé okno\"%s\"\n" -#: src/irc/irc-recv.c:1351 src/irc/irc-recv.c:2369 +#: src/irc/irc-recv.c:1354 src/irc/irc-recv.c:2372 msgid "Private" msgstr "Soukromý" -#: src/irc/irc-recv.c:1427 +#: src/irc/irc-recv.c:1430 #, c-format msgid "%s \"%s\" command received without host or channel\n" msgstr "%s \"%s\" příkaz obdržen bez hosta nebo kanálu\n" -#: src/irc/irc-recv.c:1455 +#: src/irc/irc-recv.c:1458 #, c-format msgid "%s%s %s(%s%s%s)%s has left %s%s" msgstr "%s%s %s(%s%s%s)%s opustil %s%s" -#: src/irc/irc-recv.c:1654 src/irc/irc-recv.c:1780 src/irc/irc-recv.c:2260 +#: src/irc/irc-recv.c:1657 src/irc/irc-recv.c:1783 src/irc/irc-recv.c:2263 msgid "Channel" msgstr "Kanálu" -#: src/irc/irc-recv.c:1688 +#: src/irc/irc-recv.c:1691 #, c-format msgid "Received a CTCP %sSOUND%s \"%s\" from %s%s\n" msgstr "Obdržen CTCP %sZVUK%s \"%s\" od %s%s\n" -#: src/irc/irc-recv.c:1718 src/irc/irc-recv.c:1904 +#: src/irc/irc-recv.c:1721 src/irc/irc-recv.c:1907 #, c-format msgid "CTCP %sPING%s received from %s%s\n" msgstr "CTCP %sPING%s obdržen od %s%s\n" -#: src/irc/irc-recv.c:1747 src/irc/irc-recv.c:2311 +#: src/irc/irc-recv.c:1750 src/irc/irc-recv.c:2314 #, c-format msgid "Unknown CTCP %s%s%s received from %s%s" msgstr "Neznámý CTCP %s%s%s obdržen od %s%s" -#: src/irc/irc-recv.c:1860 +#: src/irc/irc-recv.c:1863 #, c-format msgid "CTCP %sVERSION%s received from %s%s" msgstr "CTCP %sVERSION%s obdržen od %s%s" -#: src/irc/irc-recv.c:1927 src/irc/irc-recv.c:1948 src/irc/irc-recv.c:1964 -#: src/irc/irc-recv.c:1980 src/irc/irc-recv.c:2011 src/irc/irc-recv.c:2032 -#: src/irc/irc-recv.c:2048 src/irc/irc-recv.c:2078 src/irc/irc-recv.c:2099 -#: src/irc/irc-recv.c:2115 src/irc/irc-recv.c:2145 src/irc/irc-recv.c:2166 -#: src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2405 src/irc/irc-recv.c:2756 -#: src/irc/irc-recv.c:4155 src/irc/irc-recv.c:4170 src/irc/irc-recv.c:4185 -#: src/irc/irc-recv.c:4200 src/irc/irc-recv.c:4213 src/irc/irc-recv.c:4278 -#: src/irc/irc-recv.c:4292 src/irc/irc-recv.c:4526 src/irc/irc-recv.c:4584 -#: src/irc/irc-recv.c:4722 src/irc/irc-recv.c:4737 src/irc/irc-recv.c:4843 -#: src/irc/irc-recv.c:4857 +#: src/irc/irc-recv.c:1930 src/irc/irc-recv.c:1951 src/irc/irc-recv.c:1967 +#: src/irc/irc-recv.c:1983 src/irc/irc-recv.c:2014 src/irc/irc-recv.c:2035 +#: src/irc/irc-recv.c:2051 src/irc/irc-recv.c:2081 src/irc/irc-recv.c:2102 +#: src/irc/irc-recv.c:2118 src/irc/irc-recv.c:2148 src/irc/irc-recv.c:2169 +#: src/irc/irc-recv.c:2184 src/irc/irc-recv.c:2408 src/irc/irc-recv.c:2759 +#: src/irc/irc-recv.c:4158 src/irc/irc-recv.c:4173 src/irc/irc-recv.c:4188 +#: src/irc/irc-recv.c:4203 src/irc/irc-recv.c:4216 src/irc/irc-recv.c:4281 +#: src/irc/irc-recv.c:4295 src/irc/irc-recv.c:4529 src/irc/irc-recv.c:4587 +#: src/irc/irc-recv.c:4725 src/irc/irc-recv.c:4740 src/irc/irc-recv.c:4846 +#: src/irc/irc-recv.c:4860 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "%s nemohu rozpársovat příkaz \"%s\"\n" -#: src/irc/irc-recv.c:2194 +#: src/irc/irc-recv.c:2197 #, c-format msgid "%s unknown DCC CHAT type received from " msgstr "%s neznámý DCC CHAT typ obdržen od " -#: src/irc/irc-recv.c:2452 +#: src/irc/irc-recv.c:2455 #, c-format msgid "%s%s %s(%s%s%s)%s has quit" msgstr "%s%s %s(%s%s%s)%s skončil" -#: src/irc/irc-recv.c:2583 +#: src/irc/irc-recv.c:2586 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "%s \"%s\" příkaz obdržen bez kanálu\n" -#: src/irc/irc-recv.c:2612 +#: src/irc/irc-recv.c:2615 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "%s%s%s změnil téma pro %s%s%s na:" -#: src/irc/irc-recv.c:2623 +#: src/irc/irc-recv.c:2626 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "%s%s%s zrušil téma pro %s%s\n" -#: src/irc/irc-recv.c:2742 +#: src/irc/irc-recv.c:2745 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "Uživatelský mód %s[%s%s%s/%s%s%s]\n" -#: src/irc/irc-recv.c:2806 +#: src/irc/irc-recv.c:2809 #, c-format msgid "%s%s%s is away: %s\n" msgstr "%s%s%s je pryč: %s\n" -#: src/irc/irc-recv.c:2898 +#: src/irc/irc-recv.c:2901 msgid "Users online: " msgstr "Uživatelů online: " -#: src/irc/irc-recv.c:3274 +#: src/irc/irc-recv.c:3277 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "%s%s %s(%s%s@%s%s)%s byl %s\n" -#: src/irc/irc-recv.c:3395 +#: src/irc/irc-recv.c:3398 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s nečinný: " -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "days" msgstr "dní" -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "day" msgstr "den" -#: src/irc/irc-recv.c:3411 +#: src/irc/irc-recv.c:3414 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, přihlášen v: %s%s" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hours" msgstr "hodin" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hour" msgstr "hodina" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minutes" msgstr "minut" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minute" msgstr "minuta" -#: src/irc/irc-recv.c:3423 +#: src/irc/irc-recv.c:3426 msgid "second" msgstr "sekunda" -#: src/irc/irc-recv.c:3807 +#: src/irc/irc-recv.c:3810 #, c-format msgid "No topic set for %s%s\n" msgstr "Není nastaveno téma pro %s%s\n" -#: src/irc/irc-recv.c:3863 +#: src/irc/irc-recv.c:3866 #, c-format msgid "Topic for %s%s%s is: " msgstr "Téma pro %s%s%s je: " -#: src/irc/irc-recv.c:3887 src/irc/irc-recv.c:3975 src/irc/irc-recv.c:4030 +#: src/irc/irc-recv.c:3890 src/irc/irc-recv.c:3978 src/irc/irc-recv.c:4033 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "%s nemohu identifikovat kanál pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:3937 +#: src/irc/irc-recv.c:3940 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "Téma nastevil %s%s%s, %s" -#: src/irc/irc-recv.c:3957 +#: src/irc/irc-recv.c:3960 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "%s nemohu identofikovat datum/čas pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:3966 src/irc/irc-recv.c:4039 +#: src/irc/irc-recv.c:3969 src/irc/irc-recv.c:4042 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "%s nemohu identifikovat přezdívku pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:4015 +#: src/irc/irc-recv.c:4018 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "%s%s%s pozval %s%s%s na %s%s\n" -#: src/irc/irc-recv.c:4075 +#: src/irc/irc-recv.c:4078 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "Reop kanálu %s%s%s: %s%s\n" -#: src/irc/irc-recv.c:4572 +#: src/irc/irc-recv.c:4575 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "%s nemohu vztvořit přezdívku \"%s\" pro kanál \"%s\"\n" -#: src/irc/irc-recv.c:4630 +#: src/irc/irc-recv.c:4633 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "Přezdívkz %s%s%s: %s[" -#: src/irc/irc-recv.c:4651 +#: src/irc/irc-recv.c:4654 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" "Kanál %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nicks" msgstr "přezdívky" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nick" msgstr "přezdívka" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "ops" msgstr "ops" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "op" msgstr "op" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfops" msgstr "částeční-ops" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfop" msgstr "částečný-op" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voices" msgstr "voices" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voice" msgstr "voice" -#: src/irc/irc-recv.c:4676 +#: src/irc/irc-recv.c:4679 msgid "normal" msgstr "normální" -#: src/irc/irc-recv.c:4777 +#: src/irc/irc-recv.c:4780 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "%s[%s%s%s] %s%s%s zakázal " -#: src/irc/irc-recv.c:4812 +#: src/irc/irc-recv.c:4815 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "%s[%s%s%s] %s%s%s takázaný\n" -#: src/irc/irc-recv.c:4947 +#: src/irc/irc-recv.c:4950 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" "%s: přezdívka \"%s\" je již používaná, zkouším druhou přezdívku \"%s\"\n" -#: src/irc/irc-recv.c:4959 +#: src/irc/irc-recv.c:4962 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" "%s: přezdívka \"%s\" je již používaná, zkouším třetí přezdívku \"%s\"\n" -#: src/irc/irc-recv.c:4971 +#: src/irc/irc-recv.c:4974 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " @@ -1954,7 +1954,7 @@ msgstr "" "%s: všechny deklarované přezdívky jsou již používány, zavírám spojení se " "serverem!\n" -#: src/irc/irc-recv.c:4981 +#: src/irc/irc-recv.c:4984 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -2205,25 +2205,32 @@ msgstr "" "%s plugin %s: nemůžu přidat obsluhovač pro \"%s\" příkaz (nedostatek " "paměti)\n" -#: src/plugins/plugins.c:657 +#: src/plugins/plugins.c:422 +#, fuzzy, c-format +msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n" +msgstr "" +"%s plugin %s: nemůžu přidat obsluhovač pro \"%s\" příkaz (nedostatek " +"paměti)\n" + +#: src/plugins/plugins.c:758 #, c-format msgid "%s unable to load plugin \"%s\": %s\n" msgstr "%s nemůžu načist plugin \"%s\": %s\n" -#: src/plugins/plugins.c:668 +#: src/plugins/plugins.c:769 #, c-format msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n" msgstr "" "%s symbol \"plugin_name\" nebyl v pluginu \"%s\" nalezen, načtení selhalo\n" -#: src/plugins/plugins.c:679 +#: src/plugins/plugins.c:780 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" msgstr "" "%s nemohu načíst plugin \"%s\": plugin se stejným jménem již existuje\n" -#: src/plugins/plugins.c:691 +#: src/plugins/plugins.c:792 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" @@ -2231,7 +2238,7 @@ msgstr "" "%s symbol \"plugin_description\" nebyl v pluginu \"%s\" nalezen, načtení " "selhalo\n" -#: src/plugins/plugins.c:702 +#: src/plugins/plugins.c:803 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" @@ -2239,7 +2246,7 @@ msgstr "" "%s symbol \"plugin_version\" nebyl v pluginu \"%s\" nalezen, načtení " "selhalo\n" -#: src/plugins/plugins.c:713 +#: src/plugins/plugins.c:814 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " @@ -2248,32 +2255,32 @@ msgstr "" "%s funkce \"weechat_plugin_init\" nebyla v pluginu \"%s\" nalezena, načtení " "selhalo\n" -#: src/plugins/plugins.c:776 +#: src/plugins/plugins.c:879 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "Inicializuji plugin \"%s\" %s\n" -#: src/plugins/plugins.c:784 +#: src/plugins/plugins.c:887 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "%s nemohu načíst plugin \"%s\"\n" -#: src/plugins/plugins.c:795 +#: src/plugins/plugins.c:898 #, c-format msgid "%s unable to load plugin \"%s\" (not enough memory)\n" msgstr "%s nemohu načíst plugin \"%s\" (nedostatek paměti)\n" -#: src/plugins/plugins.c:803 +#: src/plugins/plugins.c:906 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "Plugin \"%s\" (%s) načten.\n" -#: src/plugins/plugins.c:970 +#: src/plugins/plugins.c:1073 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "Plugin \"%s\" odebrán.\n" -#: src/plugins/plugins.c:976 src/common/command.c:3384 +#: src/plugins/plugins.c:1079 src/common/command.c:3427 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "%s plugin \"%s\" nenalezen\n" @@ -2284,7 +2291,7 @@ msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "%s %s, řádek %d: nevalidní syntax, chybí \"=\"\n" #: src/plugins/plugins-config.c:352 src/common/weeconfig.c:2078 -#: src/common/weeconfig.c:2284 +#: src/common/weeconfig.c:2285 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "%s nemohu vytvořit soubor \"%s\"\n" @@ -2309,316 +2316,316 @@ msgstr "" "tento soubor při aktualizaci nastavení.\n" "#\n" -#: src/plugins/plugins-interface.c:360 +#: src/plugins/plugins-interface.c:376 #, c-format msgid "%s server/channel (%s/%s) not found for plugin exec command\n" msgstr "%s server/kanál (%s/%s) nenaleyen pro exec příkaz pluginu\n" -#: src/gui/curses/gui-input.c:353 +#: src/gui/curses/gui-input.c:386 #, c-format msgid "Day changed to %s\n" msgstr "Změnil se den na %s\n" -#: src/gui/curses/gui-input.c:458 +#: src/gui/curses/gui-input.c:491 #, c-format msgid "%s lag is high, disconnecting from server...\n" msgstr "%s zpoždění je veliké, odpojuji se od serveru...\n" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "bytes" msgstr "bajtů" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Kb" msgstr "Kb" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Mb" msgstr "Mb" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Gb" msgstr "Gb" -#: src/gui/curses/gui-display.c:1603 +#: src/gui/curses/gui-display.c:1644 msgid "ETA" msgstr "ETA" -#: src/gui/curses/gui-display.c:1965 +#: src/gui/curses/gui-display.c:2006 msgid "" msgstr "" -#: src/gui/curses/gui-display.c:1977 +#: src/gui/curses/gui-display.c:2018 msgid "(away)" msgstr "(pryč)" -#: src/gui/curses/gui-display.c:2111 +#: src/gui/curses/gui-display.c:2152 msgid "[not connected] " msgstr "[nepřipojen] " -#: src/gui/curses/gui-display.c:2117 +#: src/gui/curses/gui-display.c:2158 msgid " " msgstr "" -#: src/gui/curses/gui-display.c:2129 +#: src/gui/curses/gui-display.c:2170 msgid "Act: " msgstr "Aktivní: " -#: src/gui/curses/gui-display.c:2210 +#: src/gui/curses/gui-display.c:2251 msgid "RAW_IRC" msgstr "" -#: src/gui/curses/gui-display.c:2231 +#: src/gui/curses/gui-display.c:2272 #, c-format msgid "Lag: %.1f" msgstr "Zpoždění: %.1f" -#: src/gui/curses/gui-display.c:2247 +#: src/gui/curses/gui-display.c:2288 msgid "-MORE-" msgstr "-VÍCE-" -#: src/gui/curses/gui-display.c:2506 +#: src/gui/curses/gui-display.c:2587 msgid " [A] Accept" msgstr " [A] Akceptovat" -#: src/gui/curses/gui-display.c:2507 src/gui/curses/gui-display.c:2511 +#: src/gui/curses/gui-display.c:2588 src/gui/curses/gui-display.c:2592 msgid " [C] Cancel" msgstr " [C] Storno" -#: src/gui/curses/gui-display.c:2516 +#: src/gui/curses/gui-display.c:2597 msgid " [R] Remove" msgstr " [R] Odebrat" -#: src/gui/curses/gui-display.c:2520 +#: src/gui/curses/gui-display.c:2601 msgid " [P] Purge old DCC" msgstr " [P] Pročistit staré DCC" -#: src/gui/curses/gui-display.c:2521 +#: src/gui/curses/gui-display.c:2602 msgid " [Q] Close DCC view" msgstr " [Q] Zavřít DCC pohled" -#: src/gui/curses/gui-display.c:2529 +#: src/gui/curses/gui-display.c:2610 msgid " [Q] Close raw data view" msgstr "" -#: src/gui/gtk/gui-display.c:2263 +#: src/gui/gtk/gui-display.c:2276 msgid "server" msgstr "server" -#: src/gui/gui-common.c:770 +#: src/gui/gui-common.c:777 msgid "Not enough memory for new line\n" msgstr "Nedostatek paměti pro nový řádek\n" -#: src/gui/gui-common.c:1139 +#: src/gui/gui-common.c:1146 msgid "Not enough memory for infobar message\n" msgstr "Nedostatek paměti pro infobar zprávu\n" -#: src/gui/gui-keyboard.c:45 +#: src/gui/gui-keyboard.c:49 msgid "terminate line" msgstr "uknočit řádek" -#: src/gui/gui-keyboard.c:47 +#: src/gui/gui-keyboard.c:51 msgid "complete word" msgstr "dokončit slovo" -#: src/gui/gui-keyboard.c:49 +#: src/gui/gui-keyboard.c:53 msgid "delete previous char" msgstr "smazat předchozí znak" -#: src/gui/gui-keyboard.c:51 +#: src/gui/gui-keyboard.c:55 msgid "delete next char" msgstr "smazat další zank" -#: src/gui/gui-keyboard.c:53 +#: src/gui/gui-keyboard.c:57 msgid "delete until end of line" msgstr "smazat do konce řádku" -#: src/gui/gui-keyboard.c:55 +#: src/gui/gui-keyboard.c:59 msgid "delete until beginning of line" msgstr "smazat do začátku řádku" -#: src/gui/gui-keyboard.c:57 +#: src/gui/gui-keyboard.c:61 msgid "delete entire line" msgstr "smazat celý řádek" -#: src/gui/gui-keyboard.c:59 +#: src/gui/gui-keyboard.c:63 msgid "delete previous word" msgstr "smazat předchozí slovo" -#: src/gui/gui-keyboard.c:61 +#: src/gui/gui-keyboard.c:65 msgid "delete next word" msgstr "smazat další slovo" -#: src/gui/gui-keyboard.c:63 +#: src/gui/gui-keyboard.c:67 msgid "paste current clipboard content" msgstr "vložit aktuální obsah schránky" -#: src/gui/gui-keyboard.c:65 +#: src/gui/gui-keyboard.c:69 msgid "transpose chars" msgstr "přesunout znaky" -#: src/gui/gui-keyboard.c:67 +#: src/gui/gui-keyboard.c:71 msgid "go to beginning of line" msgstr "jdi na začátek řádky" -#: src/gui/gui-keyboard.c:69 +#: src/gui/gui-keyboard.c:73 msgid "go to end of line" msgstr "jdi na konec řádky" -#: src/gui/gui-keyboard.c:71 +#: src/gui/gui-keyboard.c:75 msgid "move one char left" msgstr "posuň jeden znak vlevo" -#: src/gui/gui-keyboard.c:73 +#: src/gui/gui-keyboard.c:77 msgid "move to previous word" msgstr "posuň na předchozí slovo" -#: src/gui/gui-keyboard.c:75 +#: src/gui/gui-keyboard.c:79 msgid "move one char right" msgstr "posuň jeden znak vpravo" -#: src/gui/gui-keyboard.c:77 +#: src/gui/gui-keyboard.c:81 msgid "move to next word" msgstr "posuň na další slovo" -#: src/gui/gui-keyboard.c:79 +#: src/gui/gui-keyboard.c:83 msgid "call previous command in history" msgstr "zavolej předchozí příkaz v historii" -#: src/gui/gui-keyboard.c:81 +#: src/gui/gui-keyboard.c:85 msgid "call previous command in global history" msgstr "zavolej předchozí příkaz v globální historii" -#: src/gui/gui-keyboard.c:83 +#: src/gui/gui-keyboard.c:87 msgid "call next command in history" msgstr "zavolej další příkaz v historii" -#: src/gui/gui-keyboard.c:85 +#: src/gui/gui-keyboard.c:89 msgid "call next command in global history" msgstr "zavolej další příkaz v globální historii" -#: src/gui/gui-keyboard.c:87 +#: src/gui/gui-keyboard.c:91 msgid "scroll one page up" msgstr "posuň o stránku nahoru" -#: src/gui/gui-keyboard.c:89 +#: src/gui/gui-keyboard.c:93 msgid "scroll one page down" msgstr "posuň o stránku dolů" -#: src/gui/gui-keyboard.c:91 +#: src/gui/gui-keyboard.c:95 msgid "scroll a few lines up" msgstr "posuň o několik řádek nahoru" -#: src/gui/gui-keyboard.c:93 +#: src/gui/gui-keyboard.c:97 msgid "scroll a few lines down" msgstr "posuň o několik řádek dolů" -#: src/gui/gui-keyboard.c:95 +#: src/gui/gui-keyboard.c:99 #, fuzzy msgid "scroll to top of buffer" msgstr "přesunout na další zvýraznění v bufferu" -#: src/gui/gui-keyboard.c:97 +#: src/gui/gui-keyboard.c:101 #, fuzzy msgid "scroll to bottom of buffer" msgstr "přesunout na další zvýraznění v bufferu" -#: src/gui/gui-keyboard.c:99 +#: src/gui/gui-keyboard.c:103 msgid "display beginning of nicklist" msgstr "zobrazit začátek seznam přezdívek" -#: src/gui/gui-keyboard.c:101 +#: src/gui/gui-keyboard.c:105 msgid "display end of nicklist" msgstr "zobrazit konec seznamu přezdívek" -#: src/gui/gui-keyboard.c:103 +#: src/gui/gui-keyboard.c:107 msgid "scroll nicklist one page up" msgstr "posuň seznam přezdívek o stránku nahoru" -#: src/gui/gui-keyboard.c:105 +#: src/gui/gui-keyboard.c:109 msgid "scroll nicklist one page down" msgstr "posuň seznam přezdívek o stránku dolů" -#: src/gui/gui-keyboard.c:107 +#: src/gui/gui-keyboard.c:111 msgid "jump to buffer with activity" msgstr "skoč na buffer s aktivitou" -#: src/gui/gui-keyboard.c:109 +#: src/gui/gui-keyboard.c:113 msgid "jump to DCC buffer" msgstr "skoč na DCC buffer" -#: src/gui/gui-keyboard.c:111 +#: src/gui/gui-keyboard.c:115 msgid "jump to raw IRC data buffer" msgstr "" -#: src/gui/gui-keyboard.c:113 +#: src/gui/gui-keyboard.c:117 msgid "jump to last buffer" msgstr "skoč na poslední buffer" -#: src/gui/gui-keyboard.c:115 +#: src/gui/gui-keyboard.c:119 msgid "jump to server buffer" msgstr "skoč na buffer serveru" -#: src/gui/gui-keyboard.c:117 +#: src/gui/gui-keyboard.c:121 msgid "jump to next server" msgstr "skoč na další server" -#: src/gui/gui-keyboard.c:119 +#: src/gui/gui-keyboard.c:123 msgid "switch active server on servers buffer" msgstr "přepnout aktivní server na buffer serverů" -#: src/gui/gui-keyboard.c:121 +#: src/gui/gui-keyboard.c:125 msgid "scroll to previous highlight in buffer" msgstr "přesunout na předchozí zvýraznění v bufferu" -#: src/gui/gui-keyboard.c:123 +#: src/gui/gui-keyboard.c:127 msgid "scroll to next highlight in buffer" msgstr "přesunout na další zvýraznění v bufferu" -#: src/gui/gui-keyboard.c:125 +#: src/gui/gui-keyboard.c:129 msgid "scroll to first unread line in buffer" msgstr "přesunout na první nepřečtenout řádku v bufferu" -#: src/gui/gui-keyboard.c:127 +#: src/gui/gui-keyboard.c:131 msgid "clear hotlist" msgstr "vyčisti hotlist" -#: src/gui/gui-keyboard.c:129 +#: src/gui/gui-keyboard.c:133 msgid "clear infobar" msgstr "vyčisti infobar" -#: src/gui/gui-keyboard.c:131 +#: src/gui/gui-keyboard.c:135 msgid "refresh screen" msgstr "obnov obrazovku" -#: src/gui/gui-keyboard.c:133 +#: src/gui/gui-keyboard.c:137 msgid "grab a key" msgstr "zachytit klávesu" -#: src/gui/gui-keyboard.c:444 src/common/command.c:2450 +#: src/gui/gui-keyboard.c:448 src/common/command.c:2453 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s nemohu napojit kalávesu \"%s\"\n" -#: src/gui/gui-keyboard.c:455 +#: src/gui/gui-keyboard.c:459 #, c-format msgid "%s unable to bind key \"%s\" (invalid function name: \"%s\")\n" msgstr "%s nemohu napojit kalávesu \"%s\" (nevalidní jméno funkce: \"%s\")\n" -#: src/gui/gui-keyboard.c:468 +#: src/gui/gui-keyboard.c:472 #, c-format msgid "%s not enough memory for key binding\n" msgstr "%s nedostatek paměti pro klávesovou zkratku\n" -#: src/common/command.c:45 +#: src/common/command.c:48 msgid "create an alias for a command" msgstr "vytvoří alias pro příkaz" -#: src/common/command.c:46 +#: src/common/command.c:49 msgid "[alias_name [command [arguments]]" msgstr "[jméno_aliasu [příkaz [argumenty]]" -#: src/common/command.c:47 +#: src/common/command.c:50 msgid "" "alias_name: name of alias\n" " command: command name (WeeChat or IRC command, without first '/')\n" @@ -2628,16 +2635,16 @@ msgstr "" " příkaz: jméno příkazu (WeeChat nebo IRC příkaz, bez prvního '/')\n" " argumenty: argumenty příkazu" -#: src/common/command.c:52 +#: src/common/command.c:55 msgid "manage buffers" msgstr "řídit buffery" -#: src/common/command.c:53 +#: src/common/command.c:56 #, fuzzy msgid "[action [args] | number | [[server] [channel]]]" msgstr "[akce | číslo | [[server] [kanál]]]" -#: src/common/command.c:54 +#: src/common/command.c:57 #, fuzzy msgid "" " action: action to do:\n" @@ -2661,32 +2668,32 @@ msgstr "" " kanál: skočit na bufer podle jména serveru a/nebo kanálu\n" " číslo: skočí na buffer, podle čísla" -#: src/common/command.c:63 +#: src/common/command.c:66 msgid "" "launch WeeChat/IRC builtin command (do not look at plugins handlers or " "aliases)" msgstr "" -#: src/common/command.c:64 +#: src/common/command.c:67 #, fuzzy msgid "command" msgstr "[příkaz]" -#: src/common/command.c:65 +#: src/common/command.c:68 msgid "" "command: command to execute (a '/' is automatically added if not found at " "beginning of command)\n" msgstr "" -#: src/common/command.c:67 +#: src/common/command.c:70 msgid "change charset for server or channel" msgstr "změní znakovou sadu pro server" -#: src/common/command.c:68 +#: src/common/command.c:71 msgid "[(decode_iso | decode_utf | encode) charset]" msgstr "[(decode_iso | decode_utf | encode) charset]" -#: src/common/command.c:69 +#: src/common/command.c:72 msgid "" "decode_iso: charset used for decoding ISO\n" "decode_utf: charset used for decoding UTF\n" @@ -2698,47 +2705,47 @@ msgstr "" " encode: znaková sada pro kódování zpráv\n" " charset: znaková sada pro použití (např.: ISO-8859-15, UTF-8,..)" -#: src/common/command.c:74 +#: src/common/command.c:77 msgid "clear window(s)" msgstr "vyčistí okno/okna" -#: src/common/command.c:75 +#: src/common/command.c:78 msgid "[-all]" msgstr "[-all]" -#: src/common/command.c:76 +#: src/common/command.c:79 msgid "-all: clear all windows" msgstr "-all: vyčistí všechna okna" -#: src/common/command.c:78 +#: src/common/command.c:81 msgid "connect to a server" msgstr "připojit na server" -#: src/common/command.c:79 src/common/command.c:83 +#: src/common/command.c:82 src/common/command.c:86 msgid "[servername]" msgstr "[jméno_serveru]" -#: src/common/command.c:80 +#: src/common/command.c:83 msgid "servername: server name to connect" msgstr "jméno_serveru: jméno serveru pro přípojení" -#: src/common/command.c:82 +#: src/common/command.c:85 msgid "disconnect from a server" msgstr "odpojit ze serveru" -#: src/common/command.c:84 +#: src/common/command.c:87 msgid "servername: server name to disconnect" msgstr "jméno_serveru: jméno serveru pro odpojení" -#: src/common/command.c:86 +#: src/common/command.c:89 msgid "print debug messages" msgstr "vypsat debug zprávy" -#: src/common/command.c:87 +#: src/common/command.c:90 msgid "dump | windows" msgstr "dump | windows" -#: src/common/command.c:88 +#: src/common/command.c:91 msgid "" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" @@ -2748,27 +2755,27 @@ msgstr "" "Weechat havaruje)\n" "windows: zobrazit strom oken" -#: src/common/command.c:91 +#: src/common/command.c:94 msgid "display help about commands" msgstr "zobrazí nápovědu k příkazům" -#: src/common/command.c:92 +#: src/common/command.c:95 msgid "[command]" msgstr "[příkaz]" -#: src/common/command.c:93 +#: src/common/command.c:96 msgid "command: name of a WeeChat or IRC command" msgstr "příkaz: jméno WeeChat nebo IRC příkazu" -#: src/common/command.c:95 +#: src/common/command.c:98 msgid "show buffer command history" msgstr "zobrazit historii příkazů bufferu" -#: src/common/command.c:96 +#: src/common/command.c:99 msgid "[clear | value]" msgstr "[clear | value]" -#: src/common/command.c:97 +#: src/common/command.c:100 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2776,15 +2783,15 @@ msgstr "" "clear: vyčistit historii\n" "value: číslo z položek historie kterou ukazat" -#: src/common/command.c:100 +#: src/common/command.c:103 msgid "ignore IRC messages and/or hosts" msgstr "ignoruje IRC příkaz a/nebo hosta" -#: src/common/command.c:101 +#: src/common/command.c:104 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[maska [[typ | příkaz] [kanál [server]]]]" -#: src/common/command.c:102 +#: src/common/command.c:105 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2804,15 +2811,15 @@ msgstr "" "Pro každý argument, znamená '*' vše.\n" "Bez arumentů vypíše příkaz /ignore seznam všech definovaných ignorování." -#: src/common/command.c:111 +#: src/common/command.c:114 msgid "bind/unbind keys" msgstr "napojit/odpojit klávesy" -#: src/common/command.c:112 +#: src/common/command.c:115 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "[klávesa funkce/příkaz] [unbind klávesa] [functions] [reset -yes]" -#: src/common/command.c:113 +#: src/common/command.c:116 msgid "" " key: bind this key to an internal function or a command (beginning by " "\"/\")\n" @@ -2827,15 +2834,15 @@ msgstr "" " reset: obnoví klávesy na výchozí hodnoty a smaže uživatlské zkratky " "(používejte opatrně)" -#: src/common/command.c:120 +#: src/common/command.c:123 msgid "list/load/unload plugins" msgstr "seznam/načíst/odebrat pluginy" -#: src/common/command.c:121 +#: src/common/command.c:124 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[load jméno_souboru] | [autoload] | [reload] | [unload]" -#: src/common/command.c:122 +#: src/common/command.c:125 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2845,11 +2852,11 @@ msgstr "" "\n" "Příkaz /plugin bez argumentů vypíše seznam všech načtených pluginů." -#: src/common/command.c:125 +#: src/common/command.c:128 msgid "list, add or remove servers" msgstr "vypíše, přídá nebo odebere servery" -#: src/common/command.c:126 +#: src/common/command.c:129 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2861,7 +2868,7 @@ msgstr "" "uživatelské_jméno] [-realname pravé_jméno] [-command příkaz] [-autojoin kanál" "[,kanál]] ] | [del jméno_serveru]" -#: src/common/command.c:131 +#: src/common/command.c:134 msgid "" "servername: server name, for internal and display use\n" " hostname: name or IP address of server\n" @@ -2887,28 +2894,28 @@ msgstr "" "uživatelské_jméno: uživatelské jméno\n" " pravé_jméno: pravé jméno uživatele" -#: src/common/command.c:143 +#: src/common/command.c:146 msgid "save config to disk" msgstr "uloží nastavení na disk" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "[file]" msgstr "[soubor]" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "file: filename for writing config" msgstr "soubor: jméno souboru pro zapsání" -#: src/common/command.c:146 +#: src/common/command.c:149 #, fuzzy msgid "set config options" msgstr "nastaví konfigurační parametry" -#: src/common/command.c:147 src/common/command.c:155 +#: src/common/command.c:150 src/common/command.c:158 msgid "[option [ = value]]" msgstr "[volba [ = hodnota]]" -#: src/common/command.c:148 +#: src/common/command.c:151 #, fuzzy msgid "" "option: name of an option (if name is full and no value is given, then help " @@ -2922,12 +2929,12 @@ msgstr "" "zobrazena nápověda pro volby)\n" "hodnota: hodnota volby" -#: src/common/command.c:154 +#: src/common/command.c:157 #, fuzzy msgid "set plugin config options" msgstr "nastaví konfigurační parametry" -#: src/common/command.c:156 +#: src/common/command.c:159 msgid "" "option: name of a plugin option\n" " value: value for option\n" @@ -2935,27 +2942,27 @@ msgid "" "Option is format: plugin.option, example: perl.myscript.item1" msgstr "" -#: src/common/command.c:160 +#: src/common/command.c:163 msgid "remove an alias" msgstr "odebere alias" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name" msgstr "jméno_aliasu" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name: name of alias to remove" msgstr "jméno_aliasu: jméno aliasu pro odebrání" -#: src/common/command.c:163 +#: src/common/command.c:166 msgid "unignore IRC messages and/or hosts" msgstr "zruší ignorování IRC zprávy a/nebo hosta" -#: src/common/command.c:164 +#: src/common/command.c:167 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[číslo | [maska [[typ | příkaz] [kanál [server]]]]]" -#: src/common/command.c:165 +#: src/common/command.c:168 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2978,11 +2985,11 @@ msgstr "" "Pro každý argument znamená '*' všechno.\n" "Bez argunetů, vypíše příkaz /unignore seznam definovaných ignorací." -#: src/common/command.c:175 +#: src/common/command.c:178 msgid "upgrade WeeChat without disconnecting from servers" msgstr "aktualizovat WeeChat bez odpojení od serveru" -#: src/common/command.c:177 +#: src/common/command.c:180 msgid "" "This command run again WeeChat binary, so it should have been compiled " "installed with a package manager before running this command." @@ -2990,23 +2997,23 @@ msgstr "" "Tento příkaz znovu spustí binární soubor WeeChat, je třeba mít WeeChat " "předem zkompilovaný a nainstalovaný pomocí balíčkovacího systému." -#: src/common/command.c:180 +#: src/common/command.c:183 msgid "show WeeChat uptime" msgstr "zobrazit jak dlouho WeeChat běží" -#: src/common/command.c:181 +#: src/common/command.c:184 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:182 +#: src/common/command.c:185 msgid "-o: send uptime on current channel as an IRC message" msgstr "-o: poslat čas běhu na aktuální kanál jako IRC zprávu" -#: src/common/command.c:184 +#: src/common/command.c:187 msgid "manage windows" msgstr "spravuje okna" -#: src/common/command.c:185 +#: src/common/command.c:188 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" @@ -3014,7 +3021,7 @@ msgstr "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" -#: src/common/command.c:187 +#: src/common/command.c:190 #, c-format msgid "" " list: list opened windows (no parameter implies this list)\n" @@ -3051,23 +3058,23 @@ msgstr "" "spočítána s aktuálním oknem jako velikost reference. Např. 25 znamená " "vytvořít nové okno s velikostí = aktuální_velikost / 4" -#: src/common/command.c:384 src/common/command.c:738 +#: src/common/command.c:387 src/common/command.c:741 #, c-format msgid "%s circular reference when calling alias \"/%s\"\n" msgstr "" -#: src/common/command.c:718 src/common/command.c:854 src/common/command.c:925 +#: src/common/command.c:721 src/common/command.c:857 src/common/command.c:928 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s příkaz \"%s\" selhal\n" -#: src/common/command.c:820 +#: src/common/command.c:823 #, c-format msgid "%s wrong argument count for %s command \"%s\" (expected: %d arg%s)\n" msgstr "" "%s špatný počet argumentů pro %s příkaz \"%s\" (očekáváno: %d argumentů%s)\n" -#: src/common/command.c:832 +#: src/common/command.c:835 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -3076,13 +3083,13 @@ msgstr "" "%s špatyný počet argumentů pro %s příkaz \"%s\" (očekáváno: mezi %d a %d " "argumenty%s)\n" -#: src/common/command.c:881 +#: src/common/command.c:884 #, c-format msgid "%s wrong argument count for IRC command \"%s\" (expected: %d arg%s)\n" msgstr "" "%s chybný počet argumentů pro IRC příkaz \"%s\" (očekáváno: %d argumentů%s)\n" -#: src/common/command.c:893 +#: src/common/command.c:896 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -3091,324 +3098,354 @@ msgstr "" "%s špatný počet argumentů pro IRC příkaz \"%s\" (očekáváno: mezi %d a %d " "argumenty%s)\n" -#: src/common/command.c:908 +#: src/common/command.c:911 #, c-format msgid "%s command \"%s\" needs a server connection!\n" msgstr "%s příkaz \"%s\" potřebuje připojení na server!\n" -#: src/common/command.c:938 +#: src/common/command.c:941 #, c-format msgid "%s unknown command \"%s\" (type /help for help)\n" msgstr "%s neznámý příkaz \"%s\" (zadejte /help pro nápovědu)\n" -#: src/common/command.c:1083 +#: src/common/command.c:1086 msgid "This window is not a channel!\n" msgstr "Tohe není okno kanálu!\n" -#: src/common/command.c:1116 src/common/command.c:1153 -#: src/common/command.c:1288 +#: src/common/command.c:1119 src/common/command.c:1156 +#: src/common/command.c:1291 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s chybí argumenty pro příkaz \"%s\"\n" -#: src/common/command.c:1125 +#: src/common/command.c:1128 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" vytvořen\n" -#: src/common/command.c:1131 +#: src/common/command.c:1134 #, c-format msgid "Failed to create alias \"%s\" => \"%s\" (not enough memory)\n" msgstr "Selhalo vytvoření aliasu \"%s\" => \"%s\" (nedostatek paměti)\n" -#: src/common/command.c:1143 src/common/command.c:1164 +#: src/common/command.c:1146 src/common/command.c:1167 msgid "List of aliases:\n" msgstr "Seznam pro aliasy:\n" -#: src/common/command.c:1178 +#: src/common/command.c:1181 msgid "No alias defined.\n" msgstr "Žádné aliasy nejsou definovány.\n" -#: src/common/command.c:1197 +#: src/common/command.c:1200 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServer: %s%s\n" -#: src/common/command.c:1202 +#: src/common/command.c:1205 #, c-format msgid "%snot connected\n" msgstr "%snepřipojen\n" -#: src/common/command.c:1206 +#: src/common/command.c:1209 #, c-format msgid "%sChannel: %s%s %s(server: %s%s%s)\n" msgstr "%sKanál: %s%s %s(server: %s%s%s)\n" -#: src/common/command.c:1215 +#: src/common/command.c:1218 #, c-format msgid "%sPrivate with: %s%s %s(server: %s%s%s)\n" msgstr "%sSoukromý s: %s%s %s(server: %s%s%s)\n" -#: src/common/command.c:1224 src/common/command.c:1236 +#: src/common/command.c:1227 src/common/command.c:1239 #, c-format msgid "%sunknown\n" msgstr "%sneznámý\n" -#: src/common/command.c:1232 +#: src/common/command.c:1235 #, c-format msgid "%sraw IRC data\n" msgstr "" -#: src/common/command.c:1267 +#: src/common/command.c:1270 msgid "Opened buffers:\n" msgstr "Otevřené buffery:\n" -#: src/common/command.c:1312 +#: src/common/command.c:1315 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s nekorektní číslo bufferu\n" -#: src/common/command.c:1329 +#: src/common/command.c:1332 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s nemohu zavřít jediný buffer\n" -#: src/common/command.c:1340 +#: src/common/command.c:1343 #, c-format msgid "%s can not close server buffer while channels are opened\n" msgstr "%s nemohu zavřít buffer serveru dokud jsou otevřeny kanály\n" -#: src/common/command.c:1398 +#: src/common/command.c:1401 msgid "Notify levels: " msgstr "Level upozornění: " -#: src/common/command.c:1404 +#: src/common/command.c:1407 msgid "Raw IRC data" msgstr "" -#: src/common/command.c:1428 src/common/command.c:1478 +#: src/common/command.c:1431 src/common/command.c:1481 #, c-format msgid "%s incorrect notify level (must be between %d and %d)\n" msgstr "%s nekorektní level upozornění (musí být mezi %d a %d)\n" -#: src/common/command.c:1438 +#: src/common/command.c:1441 #, c-format msgid "%s incorrect buffer for notify (must be channel or private)\n" msgstr "%s nekorektní buffer pro upozornění (musí být kanál nebo soukromý)\n" -#: src/common/command.c:1448 +#: src/common/command.c:1451 #, c-format msgid "New notify level for %s%s%s: %s%d %s" msgstr "Nový level upozornění %s%s%s: %s%d %s" -#: src/common/command.c:1458 +#: src/common/command.c:1461 msgid "(hotlist: never)\n" msgstr "(hotlist: nikdy)\n" -#: src/common/command.c:1461 +#: src/common/command.c:1464 msgid "(hotlist: highlights)\n" msgstr "(hotlist: zvýraznění)\n" -#: src/common/command.c:1464 +#: src/common/command.c:1467 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: zvýraznění + zprávy)\n" -#: src/common/command.c:1467 +#: src/common/command.c:1470 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "(hotlist: zvýrazění + zprávy + připojení/odpojení (vše))\n" -#: src/common/command.c:1598 +#: src/common/command.c:1601 #, c-format msgid "Charsets for server %s%s%s: " msgstr "Znaková sada pro server %s%s%s: " -#: src/common/command.c:1606 +#: src/common/command.c:1609 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "Znaková sada pro kanál %s%s%s: " -#: src/common/command.c:1614 +#: src/common/command.c:1617 #, c-format msgid "Charsets for private %s%s%s: " msgstr "Znaková sada pro soukromé %s%s%s: " -#: src/common/command.c:1642 src/common/command.c:1672 -#: src/common/command.c:1702 +#: src/common/command.c:1645 src/common/command.c:1675 +#: src/common/command.c:1705 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr " (zděděno: \"%s%s%s\")" -#: src/common/command.c:1771 src/common/command.c:1799 -#: src/common/command.c:1941 src/common/command.c:2569 -#: src/common/command.c:3833 src/common/command.c:3876 +#: src/common/command.c:1774 src/common/command.c:1802 +#: src/common/command.c:1944 src/common/command.c:2610 +#: src/common/command.c:3876 src/common/command.c:3919 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "%s neznámá volba pro příkaz \"%s\"\n" -#: src/common/command.c:1834 +#: src/common/command.c:1837 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s již vytvořený server \"%s\"!\n" -#: src/common/command.c:1842 +#: src/common/command.c:1845 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "%s zrovna připojuji k serveru \"%s\"!\n" -#: src/common/command.c:1861 src/common/command.c:1990 +#: src/common/command.c:1864 src/common/command.c:1993 #, c-format msgid "%s server not found\n" msgstr "%s server nenalezen\n" -#: src/common/command.c:1974 +#: src/common/command.c:1977 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s nepřipojen k serveru \"%s\"!\n" -#: src/common/command.c:1982 +#: src/common/command.c:1985 msgid "Auto-reconnection is cancelled\n" msgstr "Automatické znovupřipojené je zrušeno\n" -#: src/common/command.c:2018 src/common/weechat.c:489 +#: src/common/command.c:2021 src/common/weechat.c:489 #, c-format msgid "%s internal commands:\n" msgstr "%s vnitřní příkazy:\n" -#: src/common/command.c:2028 src/common/weechat.c:509 +#: src/common/command.c:2031 src/common/weechat.c:509 #, c-format msgid "IRC commands:\n" msgstr "IRC příkazy:\n" -#: src/common/command.c:2042 +#: src/common/command.c:2045 msgid "Plugin commands:\n" msgstr "Příkazy pluginu:\n" -#: src/common/command.c:2158 +#: src/common/command.c:2161 #, c-format msgid "No help available, \"%s\" is an unknown command\n" msgstr "Není dostupná žádná nápověda, \"%s\" je neznámý příkaz\n" -#: src/common/command.c:2227 +#: src/common/command.c:2230 #, c-format msgid "%son %s%s%s/%s%s%s:%s ignoring %s%s%s from %s%s\n" msgstr "%sna %s%s%s/%s%s%s:%s ignoruji %s%s%s od %s%s\n" -#: src/common/command.c:2265 +#: src/common/command.c:2268 msgid "List of ignore:\n" msgstr "Seznam ignorování:\n" -#: src/common/command.c:2282 +#: src/common/command.c:2285 msgid "No ignore defined.\n" msgstr "Žádné ignorování není definováno.\n" -#: src/common/command.c:2308 +#: src/common/command.c:2311 msgid "New ignore:" msgstr "Nové ignorování:" -#: src/common/command.c:2328 +#: src/common/command.c:2331 #, c-format msgid "New key binding: %s" msgstr "Nová klávesová zkratka: %s" -#: src/common/command.c:2367 +#: src/common/command.c:2370 msgid "Key bindings:\n" msgstr "Klávesové zkratky:\n" -#: src/common/command.c:2381 +#: src/common/command.c:2384 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Klávesa \"%s\" odpojena\n" -#: src/common/command.c:2387 +#: src/common/command.c:2390 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "%s nemohu odpojit klávesu \"%s\"\n" -#: src/common/command.c:2395 src/common/weechat.c:541 +#: src/common/command.c:2398 src/common/weechat.c:541 #, c-format msgid "Internal key functions:\n" msgstr "Vnitřní klávesové funkce:\n" -#: src/common/command.c:2415 +#: src/common/command.c:2418 msgid "Default key bindings restored\n" msgstr "Výchozí klávesové zkratky obnoveny\n" -#: src/common/command.c:2421 +#: src/common/command.c:2424 #, c-format msgid "%s \"-yes\" argument is required for keys reset (securuty reason)\n" msgstr "" "%s \"-yes\" argument je požadován pro reset kaláves (bezpečnostní opatření)\n" -#: src/common/command.c:2482 +#: src/common/command.c:2485 msgid "Plugins loaded:\n" msgstr "Načtené pluginy:\n" -#: src/common/command.c:2498 +#: src/common/command.c:2501 msgid " message handlers:\n" msgstr " obsluhovače zpráv:\n" -#: src/common/command.c:2507 +#: src/common/command.c:2510 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:2514 +#: src/common/command.c:2517 msgid " (no message handler)\n" msgstr " (není obsluhovač zprávy)\n" -#: src/common/command.c:2519 +#: src/common/command.c:2522 msgid " command handlers:\n" msgstr " obsluhovače příkazu:\n" -#: src/common/command.c:2540 +#: src/common/command.c:2543 msgid " (no command handler)\n" msgstr " (není obsluhovač příkazu)\n" -#: src/common/command.c:2546 +#: src/common/command.c:2548 +#, fuzzy +msgid " timer handlers:\n" +msgstr " obsluhovače zpráv:\n" + +#: src/common/command.c:2557 +#, fuzzy, c-format +msgid " %d seconds\n" +msgstr " IRC(%s)\n" + +#: src/common/command.c:2564 +#, fuzzy +msgid " (no timer handler)\n" +msgstr " (není obsluhovač zprávy)\n" + +#: src/common/command.c:2569 +#, fuzzy +msgid " keyboard handlers:\n" +msgstr " obsluhovače příkazu:\n" + +#: src/common/command.c:2579 +#, fuzzy +msgid " (no keyboard handler)\n" +msgstr " (není obsluhovač příkazu)\n" + +#: src/common/command.c:2581 +#, c-format +msgid " %d defined\n" +msgstr "" + +#: src/common/command.c:2587 msgid " (no plugin)\n" msgstr " (není plugin)\n" -#: src/common/command.c:2582 src/common/command.c:3462 +#: src/common/command.c:2623 src/common/command.c:3505 #, fuzzy, c-format msgid "" "Command \"%s\" is not available, WeeChat was built without plugins support.\n" msgstr "" "Příkaz \"plugin\" není dostupný, WeeChat byl přeložen bez podpory pluginů.\n" -#: src/common/command.c:2611 +#: src/common/command.c:2654 msgid "Configuration file saved\n" msgstr "Konfigurační soubor uložen\n" -#: src/common/command.c:2616 +#: src/common/command.c:2659 #, c-format msgid "%s failed to save configuration file\n" msgstr "%s selhalo uložení konfiguračního souboru\n" -#: src/common/command.c:2655 +#: src/common/command.c:2698 msgid "No server.\n" msgstr "žádný server.\n" -#: src/common/command.c:2666 +#: src/common/command.c:2709 #, c-format msgid "Server '%s' not found.\n" msgstr "Server '%s' nenalezen.\n" -#: src/common/command.c:2678 +#: src/common/command.c:2721 #, c-format msgid "%s missing servername for \"%s\" command\n" msgstr "%s chybí jméno serveru pro příkaz \"%s\"\n" -#: src/common/command.c:2686 +#: src/common/command.c:2729 #, c-format msgid "%s too much arguments for \"%s\" command, ignoring arguments\n" msgstr "%s příliž mnoho argumentů pro příkaz \"%s\", ignoruji argumety\n" -#: src/common/command.c:2696 +#: src/common/command.c:2739 #, c-format msgid "%s server \"%s\" not found for \"%s\" command\n" msgstr "%s server \"%s\" nenalezen pro příkaz \"%s\"\n" -#: src/common/command.c:2704 +#: src/common/command.c:2747 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3417,198 +3454,198 @@ msgstr "" "%s nemůžete odebrat server \"%s\", protože jste k němu připojent. Skuste " "nejprve /dissconnect %s.\n" -#: src/common/command.c:2724 +#: src/common/command.c:2767 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "Server %s%s%s byl odebrán\n" -#: src/common/command.c:2743 +#: src/common/command.c:2786 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s chybí parametry pro příkaz \"%s\"\n" -#: src/common/command.c:2753 +#: src/common/command.c:2796 #, c-format msgid "%s server \"%s\" already exists, can't create it!\n" msgstr "%s server \"%s\" již existuje, nemohu jej vytvořít!\n" -#: src/common/command.c:2782 src/common/command.c:2810 -#: src/common/command.c:2823 src/common/command.c:2849 +#: src/common/command.c:2825 src/common/command.c:2853 +#: src/common/command.c:2866 src/common/command.c:2892 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s chybí heslo pro parametr \"%s\"\n" -#: src/common/command.c:2795 +#: src/common/command.c:2838 #, c-format msgid "%s missing nick(s) for \"%s\" parameter\n" msgstr "%s chybí přezdívka/přezdívky pro parametr \"%s\"\n" -#: src/common/command.c:2836 +#: src/common/command.c:2879 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s chybí příkaz pro parametr \"%s\"\n" -#: src/common/command.c:2874 +#: src/common/command.c:2917 #, c-format msgid "Server %s%s%s created\n" msgstr "Server %s%s%s vytvořen\n" -#: src/common/command.c:2883 +#: src/common/command.c:2926 #, c-format msgid "%s unable to create server\n" msgstr "%s nemohu vytvořit server\n" -#: src/common/command.c:2943 +#: src/common/command.c:2986 msgid "(unknown)" msgstr "(neznámý)" -#: src/common/command.c:2966 +#: src/common/command.c:3009 #, c-format msgid "%s(password hidden) " msgstr "%s(heslo schováno) " -#: src/common/command.c:3064 +#: src/common/command.c:3107 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s server \"%s\" nenalezen\n" -#: src/common/command.c:3097 src/common/command.c:3145 +#: src/common/command.c:3140 src/common/command.c:3188 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s volba nastavení \"%s\" nenalezena\n" -#: src/common/command.c:3102 src/common/command.c:3137 +#: src/common/command.c:3145 src/common/command.c:3180 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s nekorektní hodnota pro volbu \"%s\"\n" -#: src/common/command.c:3118 +#: src/common/command.c:3161 #, c-format msgid "%s option \"%s\" can not be changed while WeeChat is running\n" msgstr "%s volba \"%s\" nemůže být změněna dokud WeeChat běží\n" -#: src/common/command.c:3228 +#: src/common/command.c:3271 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Nebyla nalezena žádná volba nastavení s \"%s\"\n" -#: src/common/command.c:3231 +#: src/common/command.c:3274 msgid "No config option found\n" msgstr "Nebyla nalezena žádná volba nastavení\n" -#: src/common/command.c:3238 +#: src/common/command.c:3281 #, c-format msgid "%sDetail:\n" msgstr "%sDetail:\n" -#: src/common/command.c:3243 +#: src/common/command.c:3286 msgid " . type boolean (values: 'on' or 'off')\n" msgstr " . typ boolean (hodnota: 'on' nebo 'off')\n" -#: src/common/command.c:3244 src/common/command.c:3267 -#: src/common/command.c:3273 src/common/command.c:3279 +#: src/common/command.c:3287 src/common/command.c:3310 +#: src/common/command.c:3316 src/common/command.c:3322 #: src/common/weechat.c:425 src/common/weechat.c:450 src/common/weechat.c:457 #: src/common/weechat.c:464 #, c-format msgid " . default value: '%s'\n" msgstr " . výchozí hodnota: '%s'\n" -#: src/common/command.c:3249 +#: src/common/command.c:3292 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr " . typ celočíselný (hodnoty: mezi %d a %d)\n" -#: src/common/command.c:3252 src/common/weechat.c:434 +#: src/common/command.c:3295 src/common/weechat.c:434 #, c-format msgid " . default value: %d\n" msgstr " . výchozí hodnota: %d\n" -#: src/common/command.c:3256 +#: src/common/command.c:3299 msgid " . type string (values: " msgstr " . typ řetězec (hodnoty: " -#: src/common/command.c:3269 src/common/command.c:3275 -#: src/common/command.c:3281 src/common/weechat.c:452 src/common/weechat.c:459 +#: src/common/command.c:3312 src/common/command.c:3318 +#: src/common/command.c:3324 src/common/weechat.c:452 src/common/weechat.c:459 #: src/common/weechat.c:466 msgid "empty" msgstr "prázdný" -#: src/common/command.c:3272 +#: src/common/command.c:3315 msgid " . type color (Curses or Gtk color, look at WeeChat doc)\n" msgstr " . typ barva (Curses nebo Gtk barva, viz WeeChat dokumentace)\n" -#: src/common/command.c:3278 +#: src/common/command.c:3321 msgid " . type string (any string)\n" msgstr " . typ řetězec (jakýkoliv řetězec)\n" -#: src/common/command.c:3284 src/common/weechat.c:469 +#: src/common/command.c:3327 src/common/weechat.c:469 #, c-format msgid " . description: %s\n" msgstr " . popis: %s\n" -#: src/common/command.c:3295 +#: src/common/command.c:3338 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "volba/volby nastavení nalezeny s \"%s\"\n" -#: src/common/command.c:3298 +#: src/common/command.c:3341 msgid "config option(s) found\n" msgstr "volba/volby nastavení nalezeny\n" -#: src/common/command.c:3406 +#: src/common/command.c:3449 #, fuzzy, c-format msgid "%s incorrect value for plugin option \"%s\"\n" msgstr "%s nekorektní hodnota pro volbu \"%s\"\n" -#: src/common/command.c:3435 +#: src/common/command.c:3478 #, fuzzy, c-format msgid "No plugin option found with \"%s\"\n" msgstr "Nebyla nalezena žádná volba nastavení s \"%s\"\n" -#: src/common/command.c:3438 +#: src/common/command.c:3481 #, fuzzy msgid "No plugin option found\n" msgstr "Nebyla nalezena žádná volba nastavení\n" -#: src/common/command.c:3448 +#: src/common/command.c:3491 #, fuzzy, c-format msgid "plugin option(s) found with \"%s\"\n" msgstr "volba/volby nastavení nalezeny s \"%s\"\n" -#: src/common/command.c:3451 +#: src/common/command.c:3494 #, fuzzy msgid "plugin option(s) found\n" msgstr "volba/volby nastavení nalezeny\n" -#: src/common/command.c:3489 +#: src/common/command.c:3532 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias nebo příkaz \"%s\" nenalezen\n" -#: src/common/command.c:3499 +#: src/common/command.c:3542 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" odebrán\n" -#: src/common/command.c:3559 +#: src/common/command.c:3602 msgid "ignore were removed.\n" msgstr "ignorování bylo odebráno.\n" -#: src/common/command.c:3561 +#: src/common/command.c:3604 msgid "ignore was removed.\n" msgstr "ignorování bylo odebrán\n" -#: src/common/command.c:3566 +#: src/common/command.c:3609 #, c-format msgid "%s no ignore found\n" msgstr "%s žádné ignorování nenaleyeno\n" -#: src/common/command.c:3600 +#: src/common/command.c:3643 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "%s nemůžu aktualizovat: existují nevyřešená spojení na server\n" -#: src/common/command.c:3610 +#: src/common/command.c:3653 #, c-format msgid "" "%s can't upgrade: connection to at least one SSL server is active (should be " @@ -3617,35 +3654,35 @@ msgstr "" "%s nemohu aktualiyovat: je aktuvní jedno nebo více připojení na SSL server " "(mělo by být opraveno v budoucnosti)\n" -#: src/common/command.c:3626 +#: src/common/command.c:3669 msgid "Upgrading WeeChat...\n" msgstr "Aktualizuji WeeChat...\n" -#: src/common/command.c:3633 +#: src/common/command.c:3676 #, c-format msgid "%s unable to save session in file\n" msgstr "%s nemohu uložit sezení do souboru\n" -#: src/common/command.c:3659 +#: src/common/command.c:3702 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "%s exec selhal (program: \"%s\"), ukončuji WeeChat\n" -#: src/common/command.c:3699 +#: src/common/command.c:3742 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "Čas běhu WeeChat: %d %s %02d:%02d:%02d, spuštěn %s" -#: src/common/command.c:3713 +#: src/common/command.c:3756 #, c-format msgid "WeeChat uptime: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, started on %s%s" msgstr "Čas běhu WeeChat: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, spuštěn %s%s" -#: src/common/command.c:3757 +#: src/common/command.c:3800 msgid "Opened windows:\n" msgstr "Otevřené okna:\n" -#: src/common/command.c:3844 +#: src/common/command.c:3887 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -5432,7 +5469,7 @@ msgstr "%s: vytvářím výchozí konfigurační soubor...\n" msgid "Creating default config file\n" msgstr "Vytvářím výchozí konfigurační soubor\n" -#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2293 +#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2294 #, c-format msgid "" "#\n" @@ -5441,7 +5478,7 @@ msgstr "" "#\n" "# %s konfigurační soubor, vytvořil %s v%s %s" -#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2297 +#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2298 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -5452,7 +5489,7 @@ msgstr "" "tento soubor při ukončení.\n" "#\n" -#: src/common/weeconfig.c:2290 +#: src/common/weeconfig.c:2291 msgid "Saving config to disk\n" msgstr "Ukládám konfiguraci na disk\n" diff --git a/po/es.po b/po/es.po index d0c1bee9d..a89b4f2e6 100644 --- a/po/es.po +++ b/po/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.9-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2006-03-25 11:52+0100\n" +"POT-Creation-Date: 2006-03-29 20:06+0200\n" "PO-Revision-Date: 2006-03-18 11:45+0100\n" "Last-Translator: Roberto Gonzlez Cardenete \n" "Language-Team: weechat-dev \n" @@ -1411,7 +1411,7 @@ msgstr "inactivo" msgid " (temporary server, will not be saved)" msgstr " (servidor temporal, no ser guardado)" -#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3423 +#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3426 msgid "seconds" msgstr "segundos" @@ -1419,7 +1419,7 @@ msgstr "segundos" msgid "(hidden)" msgstr "(oculto)" -#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4993 +#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4996 msgid "unknown" msgstr "desconocido" @@ -1428,7 +1428,7 @@ msgstr "desconocido" msgid "%s: using hostname \"%s\"\n" msgstr "%s: utilizacin del nombre de mquina local \"%s\"\n" -#: src/irc/irc-send.c:221 src/common/command.c:1036 +#: src/irc/irc-send.c:221 src/common/command.c:1039 #, c-format msgid "%s cannot find nick for sending message\n" msgstr "%s no ha sido posible encontrar el usuario al que enviar el mensaje\n" @@ -1451,8 +1451,8 @@ msgstr "%s el comando \"%s\" no puede ejecutarse en una ventana de servidor\n" #: src/irc/irc-send.c:634 src/irc/irc-send.c:646 src/irc/irc-send.c:664 #: src/irc/irc-send.c:1371 src/irc/irc-send.c:1509 src/irc/irc-send.c:2104 -#: src/common/command.c:1922 src/common/command.c:2435 -#: src/common/command.c:2576 +#: src/common/command.c:1925 src/common/command.c:2438 +#: src/common/command.c:2617 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s nmero de argumentos incorrecto para el comando \"%s\"\n" @@ -1468,7 +1468,7 @@ msgid "%s \"%s\" command can only be executed in a channel or private buffer\n" msgstr "" "%s el comando \"%s\" slo puede ser ejecutado en una ventana de canal\n" -#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:511 +#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:514 #, c-format msgid "%s nick \"%s\" not found for \"%s\" command\n" msgstr "%s usuario \"%s\" no encontrado para el comando \"%s\"\n" @@ -1483,484 +1483,484 @@ msgstr "%s no es posible crear una nueva ventana privada \"%s\"\n" msgid "%s, compiled on %s %s\n" msgstr "%s, compilado en %s %s\n" -#: src/irc/irc-recv.c:371 +#: src/irc/irc-recv.c:374 #, c-format msgid "You have been invited to %s%s%s by %s%s\n" msgstr "Usted ha sido invitado a %s%s%s por %s%s\n" -#: src/irc/irc-recv.c:385 src/irc/irc-recv.c:480 src/irc/irc-recv.c:1103 -#: src/irc/irc-recv.c:1525 src/irc/irc-recv.c:1805 src/irc/irc-recv.c:3795 -#: src/irc/irc-recv.c:3816 src/irc/irc-recv.c:3877 src/irc/irc-recv.c:3948 +#: src/irc/irc-recv.c:388 src/irc/irc-recv.c:483 src/irc/irc-recv.c:1106 +#: src/irc/irc-recv.c:1528 src/irc/irc-recv.c:1808 src/irc/irc-recv.c:3798 +#: src/irc/irc-recv.c:3819 src/irc/irc-recv.c:3880 src/irc/irc-recv.c:3951 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "%s canal \"%s\" no encontrado para el comando \"%s\"\n" -#: src/irc/irc-recv.c:413 +#: src/irc/irc-recv.c:416 #, c-format msgid "%s cannot create new channel \"%s\"\n" msgstr "%s no es posible crear un nuevo canal \"%s\"\n" -#: src/irc/irc-recv.c:426 +#: src/irc/irc-recv.c:429 #, c-format msgid "%s%s %s(%s%s%s)%s has joined %s%s\n" msgstr "%s%s %s(%s%s%s)%s se ha unido %s%s\n" -#: src/irc/irc-recv.c:488 +#: src/irc/irc-recv.c:491 #, c-format msgid "%s%s%s has kicked %s%s%s from %s%s" msgstr "%s%s%s ha pateado a %s%s%s de %s%s" -#: src/irc/irc-recv.c:578 +#: src/irc/irc-recv.c:581 #, c-format msgid "%s%s%s has killed %s%s%s from server" msgstr "%s%s%s ha expulsado a %s%s%s del servidor" -#: src/irc/irc-recv.c:600 +#: src/irc/irc-recv.c:603 #, c-format msgid "%s host \"%s\" not found for \"%s\" command\n" msgstr "%s anfitrin \"%s\" no encontrado para el comando \"%s\"\n" -#: src/irc/irc-recv.c:641 +#: src/irc/irc-recv.c:644 msgid "sets ban on" msgstr "poner baneo en" -#: src/irc/irc-recv.c:642 +#: src/irc/irc-recv.c:645 msgid "removes ban on" msgstr "quita el baneo en" -#: src/irc/irc-recv.c:666 +#: src/irc/irc-recv.c:669 #, fuzzy msgid "sets realname ban on" msgstr "poner baneo en" -#: src/irc/irc-recv.c:667 +#: src/irc/irc-recv.c:670 #, fuzzy msgid "removes realname ban on" msgstr "quita el baneo en" -#: src/irc/irc-recv.c:691 +#: src/irc/irc-recv.c:694 #, fuzzy msgid "sets ban exemtion on" msgstr "pone una excepcin en" -#: src/irc/irc-recv.c:692 +#: src/irc/irc-recv.c:695 #, fuzzy msgid "removes ban exemption on" msgstr "quita una excepcin en" -#: src/irc/irc-recv.c:716 +#: src/irc/irc-recv.c:719 msgid "sets mode +f" msgstr "pone modo +f" -#: src/irc/irc-recv.c:717 +#: src/irc/irc-recv.c:720 msgid "removes mode +f" msgstr "quita modo +f" -#: src/irc/irc-recv.c:741 +#: src/irc/irc-recv.c:744 msgid "gives half channel operator status to" msgstr "da estado de operador de medio canal a" -#: src/irc/irc-recv.c:742 +#: src/irc/irc-recv.c:745 msgid "removes half channel operator status from" msgstr "quita el estado de operador de medio canal a" -#: src/irc/irc-recv.c:769 +#: src/irc/irc-recv.c:772 msgid "sets invite-only channel flag" msgstr "pone el canal en modo slo-por-invitacin" -#: src/irc/irc-recv.c:770 +#: src/irc/irc-recv.c:773 msgid "removes invite-only channel flag" msgstr "quita el indicador de canal slo-por-invitacin" -#: src/irc/irc-recv.c:787 +#: src/irc/irc-recv.c:790 #, fuzzy msgid "sets invite-only exemption on" msgstr "pone una excepcin en" -#: src/irc/irc-recv.c:788 +#: src/irc/irc-recv.c:791 #, fuzzy msgid "removes invite-only exemption on" msgstr "quita una excepcin en" -#: src/irc/irc-recv.c:812 +#: src/irc/irc-recv.c:815 msgid "sets channel key to" msgstr "pone clave de canal en" -#: src/irc/irc-recv.c:813 +#: src/irc/irc-recv.c:816 msgid "removes channel key" msgstr "elimina la clave de canal" -#: src/irc/irc-recv.c:844 +#: src/irc/irc-recv.c:847 msgid "sets the user limit to" msgstr "define el lmite de usuarios en" -#: src/irc/irc-recv.c:845 +#: src/irc/irc-recv.c:848 msgid "removes user limit" msgstr "elimina el lmite de usuarios" -#: src/irc/irc-recv.c:867 +#: src/irc/irc-recv.c:870 msgid "sets moderated channel flag" msgstr "establece la moderacin en el canal" -#: src/irc/irc-recv.c:868 +#: src/irc/irc-recv.c:871 msgid "removes moderated channel flag" msgstr "elimina la moderacin en el canal" -#: src/irc/irc-recv.c:878 +#: src/irc/irc-recv.c:881 msgid "sets messages from channel only flag" msgstr "establece el modo slo mensajes de usuarios del canal" -#: src/irc/irc-recv.c:879 +#: src/irc/irc-recv.c:882 msgid "removes messages from channel only flag" msgstr "autoriza a todos los usuarios a escribir en el canal" -#: src/irc/irc-recv.c:896 +#: src/irc/irc-recv.c:899 msgid "gives channel operator status to" msgstr "dar estado de operador de canal a" -#: src/irc/irc-recv.c:897 +#: src/irc/irc-recv.c:900 msgid "removes channel operator status from" msgstr "eliminar el estado de operador de canal a" -#: src/irc/irc-recv.c:924 +#: src/irc/irc-recv.c:927 msgid "sets private channel flag" msgstr "establece el canal como privado" -#: src/irc/irc-recv.c:925 +#: src/irc/irc-recv.c:928 msgid "removes private channel flag" msgstr "elimina el modo privado para el canal" -#: src/irc/irc-recv.c:942 +#: src/irc/irc-recv.c:945 msgid "sets quiet on" msgstr "pone el modo silencio" -#: src/irc/irc-recv.c:943 +#: src/irc/irc-recv.c:946 msgid "removes quiet on" msgstr "quita el modo silencio" -#: src/irc/irc-recv.c:960 +#: src/irc/irc-recv.c:963 msgid "sets secret channel flag" msgstr "establece el canal como secreto" -#: src/irc/irc-recv.c:961 +#: src/irc/irc-recv.c:964 msgid "removes secret channel flag" msgstr "elimina el modo secreto para el canal" -#: src/irc/irc-recv.c:971 +#: src/irc/irc-recv.c:974 msgid "sets topic protection" msgstr "activa la proteccin de tema" -#: src/irc/irc-recv.c:972 +#: src/irc/irc-recv.c:975 msgid "removes topic protection" msgstr "elimina la proteccin de tema" -#: src/irc/irc-recv.c:989 +#: src/irc/irc-recv.c:992 msgid "gives voice to" msgstr "da voz a" -#: src/irc/irc-recv.c:990 +#: src/irc/irc-recv.c:993 msgid "removes voice from" msgstr "quita la voz a" -#: src/irc/irc-recv.c:1062 src/irc/irc-recv.c:1148 src/irc/irc-recv.c:1604 -#: src/irc/irc-recv.c:2429 +#: src/irc/irc-recv.c:1065 src/irc/irc-recv.c:1151 src/irc/irc-recv.c:1607 +#: src/irc/irc-recv.c:2432 #, c-format msgid "%s \"%s\" command received without host\n" msgstr "%s comando \"%s\" recibido sin host \n" -#: src/irc/irc-recv.c:1072 +#: src/irc/irc-recv.c:1075 #, c-format msgid "%s \"%s\" command received without channel or nickname\n" msgstr "%s comando \"%s\" recibido sin canal o usuario\n" -#: src/irc/irc-recv.c:1114 +#: src/irc/irc-recv.c:1117 #, c-format msgid "%s[%s%s%s/%s%s%s]%s mode changed by %s%s\n" msgstr "modo %s[%s%s%s/%s%s%s]%s cambiado por %s%s\n" -#: src/irc/irc-recv.c:1183 +#: src/irc/irc-recv.c:1186 #, c-format msgid "You are now known as %s%s\n" msgstr "Usted es conocido ahora como %s%s\n" -#: src/irc/irc-recv.c:1187 +#: src/irc/irc-recv.c:1190 #, c-format msgid "%s%s%s is now known as %s%s\n" msgstr "%s%s%s es conocido ahora como %s%s\n" -#: src/irc/irc-recv.c:1255 +#: src/irc/irc-recv.c:1258 #, c-format msgid "%s nickname not found for \"%s\" command\n" msgstr "%s nombre de usuario no encontrado para el comando \"%s\"\n" -#: src/irc/irc-recv.c:1269 +#: src/irc/irc-recv.c:1272 #, c-format msgid "CTCP %sVERSION%s reply from %s%s%s: %s\n" msgstr "CTCP %sVERSION%s respuesta de %s%s%s: %s\n" -#: src/irc/irc-recv.c:1303 +#: src/irc/irc-recv.c:1306 #, c-format msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "CTCP %sPING%s respuesta de %s%s%s: %ld.%ld segundos\n" -#: src/irc/irc-recv.c:1326 src/irc/irc-recv.c:2232 src/irc/irc-recv.c:2344 +#: src/irc/irc-recv.c:1329 src/irc/irc-recv.c:2235 src/irc/irc-recv.c:2347 #, c-format msgid "%s cannot create new private window \"%s\"\n" msgstr "%s no es posible crear una nueva ventana privada \"%s\"\n" -#: src/irc/irc-recv.c:1351 src/irc/irc-recv.c:2369 +#: src/irc/irc-recv.c:1354 src/irc/irc-recv.c:2372 msgid "Private" msgstr "Privado" -#: src/irc/irc-recv.c:1427 +#: src/irc/irc-recv.c:1430 #, c-format msgid "%s \"%s\" command received without host or channel\n" msgstr "%s comando \"%s\" recibido sin host o canal\n" -#: src/irc/irc-recv.c:1455 +#: src/irc/irc-recv.c:1458 #, c-format msgid "%s%s %s(%s%s%s)%s has left %s%s" msgstr "%s%s %s(%s%s%s)%s ha abandonado %s%s" -#: src/irc/irc-recv.c:1654 src/irc/irc-recv.c:1780 src/irc/irc-recv.c:2260 +#: src/irc/irc-recv.c:1657 src/irc/irc-recv.c:1783 src/irc/irc-recv.c:2263 msgid "Channel" msgstr "Canal" -#: src/irc/irc-recv.c:1688 +#: src/irc/irc-recv.c:1691 #, c-format msgid "Received a CTCP %sSOUND%s \"%s\" from %s%s\n" msgstr "Recibido un CTCP %sSOUND%s \"%s\" de %s%s\n" -#: src/irc/irc-recv.c:1718 src/irc/irc-recv.c:1904 +#: src/irc/irc-recv.c:1721 src/irc/irc-recv.c:1907 #, c-format msgid "CTCP %sPING%s received from %s%s\n" msgstr "CTCP %sPING%s recibido de %s%s\n" -#: src/irc/irc-recv.c:1747 src/irc/irc-recv.c:2311 +#: src/irc/irc-recv.c:1750 src/irc/irc-recv.c:2314 #, c-format msgid "Unknown CTCP %s%s%s received from %s%s" msgstr "CTCP desconocido %s%s%s recibido de %s%s" -#: src/irc/irc-recv.c:1860 +#: src/irc/irc-recv.c:1863 #, c-format msgid "CTCP %sVERSION%s received from %s%s" msgstr "CTCP %sVERSION%s recibido de %s%s" -#: src/irc/irc-recv.c:1927 src/irc/irc-recv.c:1948 src/irc/irc-recv.c:1964 -#: src/irc/irc-recv.c:1980 src/irc/irc-recv.c:2011 src/irc/irc-recv.c:2032 -#: src/irc/irc-recv.c:2048 src/irc/irc-recv.c:2078 src/irc/irc-recv.c:2099 -#: src/irc/irc-recv.c:2115 src/irc/irc-recv.c:2145 src/irc/irc-recv.c:2166 -#: src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2405 src/irc/irc-recv.c:2756 -#: src/irc/irc-recv.c:4155 src/irc/irc-recv.c:4170 src/irc/irc-recv.c:4185 -#: src/irc/irc-recv.c:4200 src/irc/irc-recv.c:4213 src/irc/irc-recv.c:4278 -#: src/irc/irc-recv.c:4292 src/irc/irc-recv.c:4526 src/irc/irc-recv.c:4584 -#: src/irc/irc-recv.c:4722 src/irc/irc-recv.c:4737 src/irc/irc-recv.c:4843 -#: src/irc/irc-recv.c:4857 +#: src/irc/irc-recv.c:1930 src/irc/irc-recv.c:1951 src/irc/irc-recv.c:1967 +#: src/irc/irc-recv.c:1983 src/irc/irc-recv.c:2014 src/irc/irc-recv.c:2035 +#: src/irc/irc-recv.c:2051 src/irc/irc-recv.c:2081 src/irc/irc-recv.c:2102 +#: src/irc/irc-recv.c:2118 src/irc/irc-recv.c:2148 src/irc/irc-recv.c:2169 +#: src/irc/irc-recv.c:2184 src/irc/irc-recv.c:2408 src/irc/irc-recv.c:2759 +#: src/irc/irc-recv.c:4158 src/irc/irc-recv.c:4173 src/irc/irc-recv.c:4188 +#: src/irc/irc-recv.c:4203 src/irc/irc-recv.c:4216 src/irc/irc-recv.c:4281 +#: src/irc/irc-recv.c:4295 src/irc/irc-recv.c:4529 src/irc/irc-recv.c:4587 +#: src/irc/irc-recv.c:4725 src/irc/irc-recv.c:4740 src/irc/irc-recv.c:4846 +#: src/irc/irc-recv.c:4860 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "%s no es posible analizar el comando \"%s\"\n" -#: src/irc/irc-recv.c:2194 +#: src/irc/irc-recv.c:2197 #, c-format msgid "%s unknown DCC CHAT type received from " msgstr "%s tipo DCC CHAT desconocido recibido de " -#: src/irc/irc-recv.c:2452 +#: src/irc/irc-recv.c:2455 #, c-format msgid "%s%s %s(%s%s%s)%s has quit" msgstr "%s%s %s(%s%s%s)%s ha salido" -#: src/irc/irc-recv.c:2583 +#: src/irc/irc-recv.c:2586 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "%s comando \"%s\" recibido sin canal\n" -#: src/irc/irc-recv.c:2612 +#: src/irc/irc-recv.c:2615 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "%s%s%s ha cambiado el tema para %s%s%s a:" -#: src/irc/irc-recv.c:2623 +#: src/irc/irc-recv.c:2626 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "%s%s%s ha quitado el tema para %s%s\n" -#: src/irc/irc-recv.c:2742 +#: src/irc/irc-recv.c:2745 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "Modo de usuario %s[%s%s%s/%s%s%s]\n" -#: src/irc/irc-recv.c:2806 +#: src/irc/irc-recv.c:2809 #, c-format msgid "%s%s%s is away: %s\n" msgstr "%s%s%s est ausente: %s\n" -#: src/irc/irc-recv.c:2898 +#: src/irc/irc-recv.c:2901 msgid "Users online: " msgstr "Usuarios conectados: " -#: src/irc/irc-recv.c:3274 +#: src/irc/irc-recv.c:3277 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "%s%s %s(%s%s@%s%s)%s estaba %s\n" -#: src/irc/irc-recv.c:3395 +#: src/irc/irc-recv.c:3398 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s inactividad: " -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "days" msgstr "das" -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "day" msgstr "da" -#: src/irc/irc-recv.c:3411 +#: src/irc/irc-recv.c:3414 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, firm en: %s%s" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hours" msgstr "horas" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hour" msgstr "hora" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minutes" msgstr "minutos" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minute" msgstr "minuto" -#: src/irc/irc-recv.c:3423 +#: src/irc/irc-recv.c:3426 msgid "second" msgstr "segundo" -#: src/irc/irc-recv.c:3807 +#: src/irc/irc-recv.c:3810 #, c-format msgid "No topic set for %s%s\n" msgstr "Sin tema establecido para %s%s\n" -#: src/irc/irc-recv.c:3863 +#: src/irc/irc-recv.c:3866 #, c-format msgid "Topic for %s%s%s is: " msgstr "El tema para %s%s%s es: " -#: src/irc/irc-recv.c:3887 src/irc/irc-recv.c:3975 src/irc/irc-recv.c:4030 +#: src/irc/irc-recv.c:3890 src/irc/irc-recv.c:3978 src/irc/irc-recv.c:4033 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "%s no es posible identificar el canal para el comando \"%s\"\n" -#: src/irc/irc-recv.c:3937 +#: src/irc/irc-recv.c:3940 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "Tema establecido por %s%s%s, %s" -#: src/irc/irc-recv.c:3957 +#: src/irc/irc-recv.c:3960 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "%s no es posible identificar la fecha/hora para el comando \"%s\"\n" -#: src/irc/irc-recv.c:3966 src/irc/irc-recv.c:4039 +#: src/irc/irc-recv.c:3969 src/irc/irc-recv.c:4042 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "" "%s no es posible determinar el nombre de usuario para el comando \"%s\"\n" -#: src/irc/irc-recv.c:4015 +#: src/irc/irc-recv.c:4018 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "%s%s%s ha invitado a %s%s%s en %s%s\n" -#: src/irc/irc-recv.c:4075 +#: src/irc/irc-recv.c:4078 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "reop canal %s%s%s: %s%s\n" -#: src/irc/irc-recv.c:4572 +#: src/irc/irc-recv.c:4575 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "%s no es posible crear el usuario \"%s\" para el canal \"%s\"\n" -#: src/irc/irc-recv.c:4630 +#: src/irc/irc-recv.c:4633 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "Usuarios %s%s%s: %s[" -#: src/irc/irc-recv.c:4651 +#: src/irc/irc-recv.c:4654 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" "Canal %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nicks" msgstr "usuarios" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nick" msgstr "usuario" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "ops" msgstr "operadores" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "op" msgstr "operador" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfops" msgstr "semi-operadores" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfop" msgstr "semi-operador" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voices" msgstr "voces" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voice" msgstr "voz" -#: src/irc/irc-recv.c:4676 +#: src/irc/irc-recv.c:4679 msgid "normal" msgstr "normal" -#: src/irc/irc-recv.c:4777 +#: src/irc/irc-recv.c:4780 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "%s[%s%s%s] %s%s%s baneado por " -#: src/irc/irc-recv.c:4812 +#: src/irc/irc-recv.c:4815 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "%s[%s%s%s] %s%s%s baneado\n" -#: src/irc/irc-recv.c:4947 +#: src/irc/irc-recv.c:4950 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" "%s: el nombre de usuario \"%s\" ya est en uso, probando con el 2 nombre de " "usuario \"%s\"\n" -#: src/irc/irc-recv.c:4959 +#: src/irc/irc-recv.c:4962 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" "%s: el nombre de usuario \"%s\" ya est en uso, probando con el 3 nombre de " "usuario \"%s\"\n" -#: src/irc/irc-recv.c:4971 +#: src/irc/irc-recv.c:4974 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " @@ -1969,7 +1969,7 @@ msgstr "" "%s: todos los nombres de usuario declarados ya estn en uso, cerrando la " "conexin con el servidor!\n" -#: src/irc/irc-recv.c:4981 +#: src/irc/irc-recv.c:4984 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -2225,19 +2225,26 @@ msgstr "" "%s plugin %s: no ha sido posible aadir un manejador para el comando \"%s" "\" (no hay suficiente memoria)\n" -#: src/plugins/plugins.c:657 +#: src/plugins/plugins.c:422 +#, fuzzy, c-format +msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n" +msgstr "" +"%s plugin %s: no ha sido posible aadir un manejador para el comando \"%s" +"\" (no hay suficiente memoria)\n" + +#: src/plugins/plugins.c:758 #, c-format msgid "%s unable to load plugin \"%s\": %s\n" msgstr "%s no ha sido posible cargar el plugin \"%s\": %s\n" -#: src/plugins/plugins.c:668 +#: src/plugins/plugins.c:769 #, c-format msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n" msgstr "" "%s smbolo \"plugin_name\" no encontrado en el plugin \"%s\", fall al " "cargar\n" -#: src/plugins/plugins.c:679 +#: src/plugins/plugins.c:780 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" @@ -2245,7 +2252,7 @@ msgstr "" "%s no ha sido posible cargar el plugin \"%s\": un plugin con el mismo nombre " "ya existe\n" -#: src/plugins/plugins.c:691 +#: src/plugins/plugins.c:792 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" @@ -2253,7 +2260,7 @@ msgstr "" "%s smbolo \"plugin_description\" no encontrado en el plugin \"%s\", fall " "al cargar\n" -#: src/plugins/plugins.c:702 +#: src/plugins/plugins.c:803 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" @@ -2261,7 +2268,7 @@ msgstr "" "%s smbolo \"plugin_version\" no encontrado en el plugin \"%s\", fall al " "cargar\n" -#: src/plugins/plugins.c:713 +#: src/plugins/plugins.c:814 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " @@ -2270,33 +2277,33 @@ msgstr "" "%s funcin \"weechat_plugin_init\" no encontrada en el plugin \"%s\", fall " "al cargar\n" -#: src/plugins/plugins.c:776 +#: src/plugins/plugins.c:879 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "Inicializando plugin \"%s\" %s\n" -#: src/plugins/plugins.c:784 +#: src/plugins/plugins.c:887 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "%s no ha sido posible inicializar el plugin \"%s\"\n" -#: src/plugins/plugins.c:795 +#: src/plugins/plugins.c:898 #, c-format msgid "%s unable to load plugin \"%s\" (not enough memory)\n" msgstr "" "%s no ha sido posible cargar el plugin \"%s\" (no hay suficiente memoria)\n" -#: src/plugins/plugins.c:803 +#: src/plugins/plugins.c:906 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "Plugin \"%s\" (%s) cargado.\n" -#: src/plugins/plugins.c:970 +#: src/plugins/plugins.c:1073 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "Plugin \"%s\" descargado.\n" -#: src/plugins/plugins.c:976 src/common/command.c:3384 +#: src/plugins/plugins.c:1079 src/common/command.c:3427 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "%s plugin \"%s\" no encontrado\n" @@ -2307,7 +2314,7 @@ msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "%s %s, lnea %d: sintaxis invlida, falta \"=\"\n" #: src/plugins/plugins-config.c:352 src/common/weeconfig.c:2078 -#: src/common/weeconfig.c:2284 +#: src/common/weeconfig.c:2285 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "%s no es posible crear el fichero \"%s\"\n" @@ -2332,320 +2339,320 @@ msgstr "" "archivo cuando se actualizan las opciones.\n" "#\n" -#: src/plugins/plugins-interface.c:360 +#: src/plugins/plugins-interface.c:376 #, c-format msgid "%s server/channel (%s/%s) not found for plugin exec command\n" msgstr "" -#: src/gui/curses/gui-input.c:353 +#: src/gui/curses/gui-input.c:386 #, c-format msgid "Day changed to %s\n" msgstr "Da cambiado a %s\n" -#: src/gui/curses/gui-input.c:458 +#: src/gui/curses/gui-input.c:491 #, c-format msgid "%s lag is high, disconnecting from server...\n" msgstr "%s el lag (retraso) es alto, desconectando del servidor...\n" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "bytes" msgstr "bytes" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Kb" msgstr "KB" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Mb" msgstr "MB" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Gb" msgstr "GB" -#: src/gui/curses/gui-display.c:1603 +#: src/gui/curses/gui-display.c:1644 msgid "ETA" msgstr "Tiempo estimado de llegada" -#: src/gui/curses/gui-display.c:1965 +#: src/gui/curses/gui-display.c:2006 msgid "" msgstr "" -#: src/gui/curses/gui-display.c:1977 +#: src/gui/curses/gui-display.c:2018 msgid "(away)" msgstr "(ausente)" -#: src/gui/curses/gui-display.c:2111 +#: src/gui/curses/gui-display.c:2152 msgid "[not connected] " msgstr "[no conectado] " -#: src/gui/curses/gui-display.c:2117 +#: src/gui/curses/gui-display.c:2158 msgid " " msgstr "" -#: src/gui/curses/gui-display.c:2129 +#: src/gui/curses/gui-display.c:2170 msgid "Act: " msgstr "Act: " -#: src/gui/curses/gui-display.c:2210 +#: src/gui/curses/gui-display.c:2251 msgid "RAW_IRC" msgstr "" -#: src/gui/curses/gui-display.c:2231 +#: src/gui/curses/gui-display.c:2272 #, c-format msgid "Lag: %.1f" msgstr "Lag: %.1f" -#: src/gui/curses/gui-display.c:2247 +#: src/gui/curses/gui-display.c:2288 msgid "-MORE-" msgstr "-MS-" -#: src/gui/curses/gui-display.c:2506 +#: src/gui/curses/gui-display.c:2587 msgid " [A] Accept" msgstr " [A] Aceptar" -#: src/gui/curses/gui-display.c:2507 src/gui/curses/gui-display.c:2511 +#: src/gui/curses/gui-display.c:2588 src/gui/curses/gui-display.c:2592 msgid " [C] Cancel" msgstr " [C] Cancelar" -#: src/gui/curses/gui-display.c:2516 +#: src/gui/curses/gui-display.c:2597 msgid " [R] Remove" msgstr " [R] Eliminar" -#: src/gui/curses/gui-display.c:2520 +#: src/gui/curses/gui-display.c:2601 msgid " [P] Purge old DCC" msgstr " [P] Purgar los viejos DCC" -#: src/gui/curses/gui-display.c:2521 +#: src/gui/curses/gui-display.c:2602 msgid " [Q] Close DCC view" msgstr " [Q] Cerrar la vista DCC" -#: src/gui/curses/gui-display.c:2529 +#: src/gui/curses/gui-display.c:2610 msgid " [Q] Close raw data view" msgstr "" -#: src/gui/gtk/gui-display.c:2263 +#: src/gui/gtk/gui-display.c:2276 msgid "server" msgstr "servidor" -#: src/gui/gui-common.c:770 +#: src/gui/gui-common.c:777 msgid "Not enough memory for new line\n" msgstr "No hay suficiente memoria para una nueva lnea\n" -#: src/gui/gui-common.c:1139 +#: src/gui/gui-common.c:1146 msgid "Not enough memory for infobar message\n" msgstr "No hay suficiente memoria para el mensaje de la barra de informacin\n" -#: src/gui/gui-keyboard.c:45 +#: src/gui/gui-keyboard.c:49 msgid "terminate line" msgstr "terminar lnea" -#: src/gui/gui-keyboard.c:47 +#: src/gui/gui-keyboard.c:51 msgid "complete word" msgstr "completar palabra" -#: src/gui/gui-keyboard.c:49 +#: src/gui/gui-keyboard.c:53 msgid "delete previous char" msgstr "borrar el carcter anterior" -#: src/gui/gui-keyboard.c:51 +#: src/gui/gui-keyboard.c:55 msgid "delete next char" msgstr "borrar el carcter siguiente" -#: src/gui/gui-keyboard.c:53 +#: src/gui/gui-keyboard.c:57 msgid "delete until end of line" msgstr "borrar hasta fin de lnea" -#: src/gui/gui-keyboard.c:55 +#: src/gui/gui-keyboard.c:59 msgid "delete until beginning of line" msgstr "borrar hasta principio de lnea" -#: src/gui/gui-keyboard.c:57 +#: src/gui/gui-keyboard.c:61 msgid "delete entire line" msgstr "borrar lnea entera" -#: src/gui/gui-keyboard.c:59 +#: src/gui/gui-keyboard.c:63 msgid "delete previous word" msgstr "borrar la palabra anterior" -#: src/gui/gui-keyboard.c:61 +#: src/gui/gui-keyboard.c:65 msgid "delete next word" msgstr "borrar la palabra siguiente" -#: src/gui/gui-keyboard.c:63 +#: src/gui/gui-keyboard.c:67 msgid "paste current clipboard content" msgstr "pegar el contenido actual del portapapeles" -#: src/gui/gui-keyboard.c:65 +#: src/gui/gui-keyboard.c:69 msgid "transpose chars" msgstr "transponer caracteres" -#: src/gui/gui-keyboard.c:67 +#: src/gui/gui-keyboard.c:71 msgid "go to beginning of line" msgstr "ir al principio de lnea" -#: src/gui/gui-keyboard.c:69 +#: src/gui/gui-keyboard.c:73 msgid "go to end of line" msgstr "ir al final de lnea" -#: src/gui/gui-keyboard.c:71 +#: src/gui/gui-keyboard.c:75 msgid "move one char left" msgstr "mover un carcter a la izquierda" -#: src/gui/gui-keyboard.c:73 +#: src/gui/gui-keyboard.c:77 msgid "move to previous word" msgstr "mover a la palabra anterior" -#: src/gui/gui-keyboard.c:75 +#: src/gui/gui-keyboard.c:79 msgid "move one char right" msgstr "mover un carcter a la derecha" -#: src/gui/gui-keyboard.c:77 +#: src/gui/gui-keyboard.c:81 msgid "move to next word" msgstr "mover a la palabra siguiente" -#: src/gui/gui-keyboard.c:79 +#: src/gui/gui-keyboard.c:83 msgid "call previous command in history" msgstr "llamar al comando anterior en el historial" -#: src/gui/gui-keyboard.c:81 +#: src/gui/gui-keyboard.c:85 msgid "call previous command in global history" msgstr "llamar al comando anterior en el historial global" -#: src/gui/gui-keyboard.c:83 +#: src/gui/gui-keyboard.c:87 msgid "call next command in history" msgstr "llamar al comando siguiente en el historial" -#: src/gui/gui-keyboard.c:85 +#: src/gui/gui-keyboard.c:89 msgid "call next command in global history" msgstr "llamar al comando siguiente en el historial global" -#: src/gui/gui-keyboard.c:87 +#: src/gui/gui-keyboard.c:91 msgid "scroll one page up" msgstr "desplazarse una pgina hacia arriba" -#: src/gui/gui-keyboard.c:89 -msgid "scroll one page down" -msgstr "desplazarse una pgina hacia abajo" - -#: src/gui/gui-keyboard.c:91 -#, fuzzy -msgid "scroll a few lines up" -msgstr "desplazarse una pgina hacia arriba" - #: src/gui/gui-keyboard.c:93 -#, fuzzy -msgid "scroll a few lines down" +msgid "scroll one page down" msgstr "desplazarse una pgina hacia abajo" #: src/gui/gui-keyboard.c:95 #, fuzzy +msgid "scroll a few lines up" +msgstr "desplazarse una pgina hacia arriba" + +#: src/gui/gui-keyboard.c:97 +#, fuzzy +msgid "scroll a few lines down" +msgstr "desplazarse una pgina hacia abajo" + +#: src/gui/gui-keyboard.c:99 +#, fuzzy msgid "scroll to top of buffer" msgstr "desplazarse al resaltado siguiente en el bfer" -#: src/gui/gui-keyboard.c:97 +#: src/gui/gui-keyboard.c:101 #, fuzzy msgid "scroll to bottom of buffer" msgstr "desplazarse al resaltado siguiente en el bfer" -#: src/gui/gui-keyboard.c:99 +#: src/gui/gui-keyboard.c:103 msgid "display beginning of nicklist" msgstr "mostrar el principio de la lista de nicks" -#: src/gui/gui-keyboard.c:101 +#: src/gui/gui-keyboard.c:105 msgid "display end of nicklist" msgstr "mostrar el final de la lista de nicks" -#: src/gui/gui-keyboard.c:103 +#: src/gui/gui-keyboard.c:107 msgid "scroll nicklist one page up" msgstr "desplazar la lista de nicks una pgina hacia arriba" -#: src/gui/gui-keyboard.c:105 +#: src/gui/gui-keyboard.c:109 msgid "scroll nicklist one page down" msgstr "desplazar la lista de nicks una pgina hacia abajo" -#: src/gui/gui-keyboard.c:107 +#: src/gui/gui-keyboard.c:111 msgid "jump to buffer with activity" msgstr "saltar al bfer con actividad" -#: src/gui/gui-keyboard.c:109 +#: src/gui/gui-keyboard.c:113 msgid "jump to DCC buffer" msgstr "saltar al bfer DCC" -#: src/gui/gui-keyboard.c:111 +#: src/gui/gui-keyboard.c:115 msgid "jump to raw IRC data buffer" msgstr "" -#: src/gui/gui-keyboard.c:113 +#: src/gui/gui-keyboard.c:117 msgid "jump to last buffer" msgstr "saltar al ltimo bfer" -#: src/gui/gui-keyboard.c:115 +#: src/gui/gui-keyboard.c:119 msgid "jump to server buffer" msgstr "saltar al bfer del servidor" -#: src/gui/gui-keyboard.c:117 +#: src/gui/gui-keyboard.c:121 msgid "jump to next server" msgstr "saltar al servidor siguiente" -#: src/gui/gui-keyboard.c:119 +#: src/gui/gui-keyboard.c:123 msgid "switch active server on servers buffer" msgstr "seleccionar servidor activo en el bfer de servidores" -#: src/gui/gui-keyboard.c:121 +#: src/gui/gui-keyboard.c:125 msgid "scroll to previous highlight in buffer" msgstr "desplazarse al resaltado anterior en el bfer" -#: src/gui/gui-keyboard.c:123 +#: src/gui/gui-keyboard.c:127 msgid "scroll to next highlight in buffer" msgstr "desplazarse al resaltado siguiente en el bfer" -#: src/gui/gui-keyboard.c:125 +#: src/gui/gui-keyboard.c:129 msgid "scroll to first unread line in buffer" msgstr "desplazarse a la primera lnea sin leer en el bfer" -#: src/gui/gui-keyboard.c:127 +#: src/gui/gui-keyboard.c:131 msgid "clear hotlist" msgstr "limpiar hotlist" -#: src/gui/gui-keyboard.c:129 +#: src/gui/gui-keyboard.c:133 msgid "clear infobar" msgstr "limpiar barra de informacin" -#: src/gui/gui-keyboard.c:131 +#: src/gui/gui-keyboard.c:135 msgid "refresh screen" msgstr "recargar la pantalla" -#: src/gui/gui-keyboard.c:133 +#: src/gui/gui-keyboard.c:137 msgid "grab a key" msgstr "capturar una clave" -#: src/gui/gui-keyboard.c:444 src/common/command.c:2450 +#: src/gui/gui-keyboard.c:448 src/common/command.c:2453 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s No ha sido posible atar la clave \"%s\"\n" -#: src/gui/gui-keyboard.c:455 +#: src/gui/gui-keyboard.c:459 #, c-format msgid "%s unable to bind key \"%s\" (invalid function name: \"%s\")\n" msgstr "" "%s No ha sido posible atar la clave \"%s\" (nombre de funcin invlido: \"%s" "\")\n" -#: src/gui/gui-keyboard.c:468 +#: src/gui/gui-keyboard.c:472 #, c-format msgid "%s not enough memory for key binding\n" msgstr "%s no hay suficiente memoria para atar la clave\n" -#: src/common/command.c:45 +#: src/common/command.c:48 msgid "create an alias for a command" msgstr "crear un alias para un comando" -#: src/common/command.c:46 +#: src/common/command.c:49 msgid "[alias_name [command [arguments]]" msgstr "[nombre_alias [comando [argumentos]]" -#: src/common/command.c:47 +#: src/common/command.c:50 msgid "" "alias_name: name of alias\n" " command: command name (WeeChat or IRC command, without first '/')\n" @@ -2655,16 +2662,16 @@ msgstr "" " comando: nombre del comando (comando WeeChat o IRC, sin el primer '/')\n" " argumentos: parmetros para el comando" -#: src/common/command.c:52 +#: src/common/command.c:55 msgid "manage buffers" msgstr "gestionar los bfers" -#: src/common/command.c:53 +#: src/common/command.c:56 #, fuzzy msgid "[action [args] | number | [[server] [channel]]]" msgstr "[accin | nmero | [[servidor] [canal]]]" -#: src/common/command.c:54 +#: src/common/command.c:57 #, fuzzy msgid "" " action: action to do:\n" @@ -2690,32 +2697,32 @@ msgstr "" " canal: saltar al bfer por el nombre del servidor o canal\n" " nmero: saltar al bfer por nmero" -#: src/common/command.c:63 +#: src/common/command.c:66 msgid "" "launch WeeChat/IRC builtin command (do not look at plugins handlers or " "aliases)" msgstr "" -#: src/common/command.c:64 +#: src/common/command.c:67 #, fuzzy msgid "command" msgstr "[comando]" -#: src/common/command.c:65 +#: src/common/command.c:68 msgid "" "command: command to execute (a '/' is automatically added if not found at " "beginning of command)\n" msgstr "" -#: src/common/command.c:67 +#: src/common/command.c:70 msgid "change charset for server or channel" msgstr "cambiar juego de caracteres para el servidor o canal" -#: src/common/command.c:68 +#: src/common/command.c:71 msgid "[(decode_iso | decode_utf | encode) charset]" msgstr "[(decode_iso | decode_utf | encode) juego_de_caracteres]" -#: src/common/command.c:69 +#: src/common/command.c:72 msgid "" "decode_iso: charset used for decoding ISO\n" "decode_utf: charset used for decoding UTF\n" @@ -2728,47 +2735,47 @@ msgstr "" "juego_de_caracteres: juego de caracteres a utilizar (por ejemplo: ISO-8859-" "15, UTF-8...)" -#: src/common/command.c:74 +#: src/common/command.c:77 msgid "clear window(s)" msgstr "limpiar la(s) ventana(s)" -#: src/common/command.c:75 +#: src/common/command.c:78 msgid "[-all]" msgstr "[-all]" -#: src/common/command.c:76 +#: src/common/command.c:79 msgid "-all: clear all windows" msgstr "-all: limpiar todas las ventanas" -#: src/common/command.c:78 +#: src/common/command.c:81 msgid "connect to a server" msgstr "conectarse a un servidor" -#: src/common/command.c:79 src/common/command.c:83 +#: src/common/command.c:82 src/common/command.c:86 msgid "[servername]" msgstr "[nombre_del_servidor]" -#: src/common/command.c:80 +#: src/common/command.c:83 msgid "servername: server name to connect" msgstr "nombre_del_servidor: nombre del servidor al que conectarse" -#: src/common/command.c:82 +#: src/common/command.c:85 msgid "disconnect from a server" msgstr "desconectarse de un servidor" -#: src/common/command.c:84 +#: src/common/command.c:87 msgid "servername: server name to disconnect" msgstr "nombre_del_servidor: nombre del servidor del que desconectarse" -#: src/common/command.c:86 +#: src/common/command.c:89 msgid "print debug messages" msgstr "imprime mensajes de depuracin" -#: src/common/command.c:87 +#: src/common/command.c:90 msgid "dump | windows" msgstr "volcar | ventanas" -#: src/common/command.c:88 +#: src/common/command.c:91 msgid "" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" @@ -2778,27 +2785,27 @@ msgstr "" "(el mismo volcado se escribe cuando Weechat se cuelga)\n" "ventanas: mostrar rbol de ventanas" -#: src/common/command.c:91 +#: src/common/command.c:94 msgid "display help about commands" msgstr "mostrar ayuda sobre los comandos" -#: src/common/command.c:92 +#: src/common/command.c:95 msgid "[command]" msgstr "[comando]" -#: src/common/command.c:93 +#: src/common/command.c:96 msgid "command: name of a WeeChat or IRC command" msgstr "comando: nombre de un comando de Weechat o de IRC" -#: src/common/command.c:95 +#: src/common/command.c:98 msgid "show buffer command history" msgstr "mostrar historial de comandos de bfer" -#: src/common/command.c:96 +#: src/common/command.c:99 msgid "[clear | value]" msgstr "[limpiar | valor]" -#: src/common/command.c:97 +#: src/common/command.c:100 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2806,15 +2813,15 @@ msgstr "" "limpiar: limpiar historial\n" "valor: nmero de entradas del historial para mostrar" -#: src/common/command.c:100 +#: src/common/command.c:103 msgid "ignore IRC messages and/or hosts" msgstr "ignorar los mensajes IRC y/o los hosts" -#: src/common/command.c:101 +#: src/common/command.c:104 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[mscara [[tipo | comando] [canal [servidor]]]]" -#: src/common/command.c:102 +#: src/common/command.c:105 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2834,15 +2841,15 @@ msgstr "" "Para cada argumento, '*' significa todo.\n" "Sin argumentos, el comando /ignore lista todos los ignores definidos." -#: src/common/command.c:111 +#: src/common/command.c:114 msgid "bind/unbind keys" msgstr "atar/desatar claves" -#: src/common/command.c:112 +#: src/common/command.c:115 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "[clave funcin/comando] [desatar clave] [funciones] [reset -yes]" -#: src/common/command.c:113 +#: src/common/command.c:116 msgid "" " key: bind this key to an internal function or a command (beginning by " "\"/\")\n" @@ -2858,15 +2865,15 @@ msgstr "" " reset: restaura anclajes a los valores por defecto y elimina todos los " "anclajes personales (usar cuidadosamente)" -#: src/common/command.c:120 +#: src/common/command.c:123 msgid "list/load/unload plugins" msgstr "listar/cargar/descargar plugins" -#: src/common/command.c:121 +#: src/common/command.c:124 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[cargar fichero] | [autocargar] | [recargar] | [descargar]" -#: src/common/command.c:122 +#: src/common/command.c:125 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2876,11 +2883,11 @@ msgstr "" "\n" "Sin argumentos, el comando /plugin lista todos los plugins cargados." -#: src/common/command.c:125 +#: src/common/command.c:128 msgid "list, add or remove servers" msgstr "lista, ade o elimina servidores" -#: src/common/command.c:126 +#: src/common/command.c:129 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2892,7 +2899,7 @@ msgstr "" "username nombre de usuario] [-realname nombre_real] [-command comando] [-" "autojoin canal[,canal]] ] | [del nombre_de_servidor]" -#: src/common/command.c:131 +#: src/common/command.c:134 msgid "" "servername: server name, for internal and display use\n" " hostname: name or IP address of server\n" @@ -2918,28 +2925,28 @@ msgstr "" " nombre_de_usuario: nombre de usuario\n" " nombre_real: nombre real del usuario" -#: src/common/command.c:143 +#: src/common/command.c:146 msgid "save config to disk" msgstr "guardar configuracin a disco" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "[file]" msgstr "[archivo]" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "file: filename for writing config" msgstr "archivo: fichero en el que guardar la configuracin" -#: src/common/command.c:146 +#: src/common/command.c:149 #, fuzzy msgid "set config options" msgstr "modificar parmetros de configuracin" -#: src/common/command.c:147 src/common/command.c:155 +#: src/common/command.c:150 src/common/command.c:158 msgid "[option [ = value]]" msgstr "[opcin [ = valor]]" -#: src/common/command.c:148 +#: src/common/command.c:151 #, fuzzy msgid "" "option: name of an option (if name is full and no value is given, then help " @@ -2953,12 +2960,12 @@ msgstr "" "valor, entonces se muestra la ayuda de la opcin)\n" "valor: valor para una opcin" -#: src/common/command.c:154 +#: src/common/command.c:157 #, fuzzy msgid "set plugin config options" msgstr "modificar parmetros de configuracin" -#: src/common/command.c:156 +#: src/common/command.c:159 msgid "" "option: name of a plugin option\n" " value: value for option\n" @@ -2966,27 +2973,27 @@ msgid "" "Option is format: plugin.option, example: perl.myscript.item1" msgstr "" -#: src/common/command.c:160 +#: src/common/command.c:163 msgid "remove an alias" msgstr "eliminar un alias" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name" msgstr "alias" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name: name of alias to remove" msgstr "alias: nombre del alias a suprimir" -#: src/common/command.c:163 +#: src/common/command.c:166 msgid "unignore IRC messages and/or hosts" msgstr "no ignorar mensajes IRC y/o hosts" -#: src/common/command.c:164 +#: src/common/command.c:167 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[nmero | [mscara [[tipo | comando] [canal [servidor]]]]]" -#: src/common/command.c:165 +#: src/common/command.c:168 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -3009,33 +3016,33 @@ msgstr "" "Para cada argumento, '*' significa todo.\n" "Sin argumentos, el comando /unignore lista todos los ignores definidos." -#: src/common/command.c:175 +#: src/common/command.c:178 msgid "upgrade WeeChat without disconnecting from servers" msgstr "actualizar Weechat sin desconectarse de los servidores" -#: src/common/command.c:177 +#: src/common/command.c:180 msgid "" "This command run again WeeChat binary, so it should have been compiled " "installed with a package manager before running this command." msgstr "" -#: src/common/command.c:180 +#: src/common/command.c:183 msgid "show WeeChat uptime" msgstr "muestra el tiempo de uso de WeeChat" -#: src/common/command.c:181 +#: src/common/command.c:184 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:182 +#: src/common/command.c:185 msgid "-o: send uptime on current channel as an IRC message" msgstr "-o: enva el tiempo de uso en el canal actual como un mensaje IRC" -#: src/common/command.c:184 +#: src/common/command.c:187 msgid "manage windows" msgstr "gestin de ventanas" -#: src/common/command.c:185 +#: src/common/command.c:188 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" @@ -3043,7 +3050,7 @@ msgstr "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" -#: src/common/command.c:187 +#: src/common/command.c:190 #, c-format msgid "" " list: list opened windows (no parameter implies this list)\n" @@ -3081,24 +3088,24 @@ msgstr "" "nueva ventana, tomando como referencia el tamao de la ventana actual. Por " "ejemplo 25 significa crear una nueva ventana con tamao = tamao_actual / 4" -#: src/common/command.c:384 src/common/command.c:738 +#: src/common/command.c:387 src/common/command.c:741 #, c-format msgid "%s circular reference when calling alias \"/%s\"\n" msgstr "" -#: src/common/command.c:718 src/common/command.c:854 src/common/command.c:925 +#: src/common/command.c:721 src/common/command.c:857 src/common/command.c:928 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s el comando \"%s\" ha fallado\n" -#: src/common/command.c:820 +#: src/common/command.c:823 #, c-format msgid "%s wrong argument count for %s command \"%s\" (expected: %d arg%s)\n" msgstr "" "%s nmero de argumentos incorrecto para el comando %s \"%s\" (esperado: %d " "parmetro%s)\n" -#: src/common/command.c:832 +#: src/common/command.c:835 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -3107,14 +3114,14 @@ msgstr "" "%s nmero de argumentos incorrecto para el comando %s \"%s\" (esperado: " "entre %d y %d parmetro%s)\n" -#: src/common/command.c:881 +#: src/common/command.c:884 #, c-format msgid "%s wrong argument count for IRC command \"%s\" (expected: %d arg%s)\n" msgstr "" "%s nmero de argumentos incorrecto para el comando IRC \"%s\" (esperado: %d " "parmetro%s)\n" -#: src/common/command.c:893 +#: src/common/command.c:896 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -3123,288 +3130,318 @@ msgstr "" "%s nmero de argumentos incorrecto para el comando IRC \"%s\" (esperado: " "entre %d y %d parmetro%s)\n" -#: src/common/command.c:908 +#: src/common/command.c:911 #, c-format msgid "%s command \"%s\" needs a server connection!\n" msgstr "%s el comando \"%s\" requiere una conexin a servidor!\n" -#: src/common/command.c:938 +#: src/common/command.c:941 #, c-format msgid "%s unknown command \"%s\" (type /help for help)\n" msgstr "%s comando \"%s\" desconocido (escriba /help para la ayuda)\n" -#: src/common/command.c:1083 +#: src/common/command.c:1086 msgid "This window is not a channel!\n" msgstr "Esta ventana no es un canal!\n" -#: src/common/command.c:1116 src/common/command.c:1153 -#: src/common/command.c:1288 +#: src/common/command.c:1119 src/common/command.c:1156 +#: src/common/command.c:1291 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s faltan argumentos para el comando \"%s\"\n" -#: src/common/command.c:1125 +#: src/common/command.c:1128 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" creado\n" -#: src/common/command.c:1131 +#: src/common/command.c:1134 #, c-format msgid "Failed to create alias \"%s\" => \"%s\" (not enough memory)\n" msgstr "" "No ha sido posible crear el alias \"%s\" => \"%s\" (no hay suficiente " "memoria)\n" -#: src/common/command.c:1143 src/common/command.c:1164 +#: src/common/command.c:1146 src/common/command.c:1167 msgid "List of aliases:\n" msgstr "Lista de alias:\n" -#: src/common/command.c:1178 +#: src/common/command.c:1181 msgid "No alias defined.\n" msgstr "Ningn alias definido.\n" -#: src/common/command.c:1197 +#: src/common/command.c:1200 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServidor: %s%s\n" -#: src/common/command.c:1202 +#: src/common/command.c:1205 #, c-format msgid "%snot connected\n" msgstr "%sno conectado\n" -#: src/common/command.c:1206 +#: src/common/command.c:1209 #, c-format msgid "%sChannel: %s%s %s(server: %s%s%s)\n" msgstr "%s Canal: %s%s %s(servidor: %s%s%s)\n" -#: src/common/command.c:1215 +#: src/common/command.c:1218 #, c-format msgid "%sPrivate with: %s%s %s(server: %s%s%s)\n" msgstr "%sPrivado con: %s%s %s(servidor: %s%s%s)\n" -#: src/common/command.c:1224 src/common/command.c:1236 +#: src/common/command.c:1227 src/common/command.c:1239 #, c-format msgid "%sunknown\n" msgstr "%sdesconocido\n" -#: src/common/command.c:1232 +#: src/common/command.c:1235 #, c-format msgid "%sraw IRC data\n" msgstr "" -#: src/common/command.c:1267 +#: src/common/command.c:1270 msgid "Opened buffers:\n" msgstr "Bfers abiertos:\n" -#: src/common/command.c:1312 +#: src/common/command.c:1315 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s nmero de bfer incorrecto\n" -#: src/common/command.c:1329 +#: src/common/command.c:1332 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s no es posible cerrar el nico bfer\n" -#: src/common/command.c:1340 +#: src/common/command.c:1343 #, c-format msgid "%s can not close server buffer while channels are opened\n" msgstr "" "%s no se puede cerrar el bfer de servidor mientras haya canales abiertos\n" -#: src/common/command.c:1398 +#: src/common/command.c:1401 msgid "Notify levels: " msgstr "Niveles de notificacin: " -#: src/common/command.c:1404 +#: src/common/command.c:1407 msgid "Raw IRC data" msgstr "" -#: src/common/command.c:1428 src/common/command.c:1478 +#: src/common/command.c:1431 src/common/command.c:1481 #, c-format msgid "%s incorrect notify level (must be between %d and %d)\n" msgstr "%s nivel de notificacin incorrecto (debe estar entre %d y %d)\n" -#: src/common/command.c:1438 +#: src/common/command.c:1441 #, c-format msgid "%s incorrect buffer for notify (must be channel or private)\n" msgstr "%s bfer incorrecto para notificar (debe ser canal o privado)\n" -#: src/common/command.c:1448 +#: src/common/command.c:1451 #, c-format msgid "New notify level for %s%s%s: %s%d %s" msgstr "Nuevo nivel de notificacin para %s%s%s: %s%d %s" -#: src/common/command.c:1458 +#: src/common/command.c:1461 msgid "(hotlist: never)\n" msgstr "(hotlist: nunca)\n" -#: src/common/command.c:1461 +#: src/common/command.c:1464 msgid "(hotlist: highlights)\n" msgstr "(hotlist: resaltados)\n" -#: src/common/command.c:1464 +#: src/common/command.c:1467 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: resaltados + mensajes)\n" -#: src/common/command.c:1467 +#: src/common/command.c:1470 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "(hotlist: resaltados + mensajes + join/part (todos))\n" -#: src/common/command.c:1598 +#: src/common/command.c:1601 #, c-format msgid "Charsets for server %s%s%s: " msgstr "Juegos de caracteres para el servidor %s%s%s: " -#: src/common/command.c:1606 +#: src/common/command.c:1609 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "Juegos de caracteres para el canal %s%s%s: " -#: src/common/command.c:1614 +#: src/common/command.c:1617 #, c-format msgid "Charsets for private %s%s%s: " msgstr "Juegos de caracteres para el privado %s%s%s: " -#: src/common/command.c:1642 src/common/command.c:1672 -#: src/common/command.c:1702 +#: src/common/command.c:1645 src/common/command.c:1675 +#: src/common/command.c:1705 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr " (heredado: \"%s%s%s\")" -#: src/common/command.c:1771 src/common/command.c:1799 -#: src/common/command.c:1941 src/common/command.c:2569 -#: src/common/command.c:3833 src/common/command.c:3876 +#: src/common/command.c:1774 src/common/command.c:1802 +#: src/common/command.c:1944 src/common/command.c:2610 +#: src/common/command.c:3876 src/common/command.c:3919 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "%s opcin desconocida para el comando \"%s\"\n" -#: src/common/command.c:1834 +#: src/common/command.c:1837 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s ya conectado al servidor \"%s\"!\n" -#: src/common/command.c:1842 +#: src/common/command.c:1845 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "%s actualmente conectando al servidor \"%s\"!\n" -#: src/common/command.c:1861 src/common/command.c:1990 +#: src/common/command.c:1864 src/common/command.c:1993 #, c-format msgid "%s server not found\n" msgstr "%s servidor no encontrado\n" -#: src/common/command.c:1974 +#: src/common/command.c:1977 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s no conectado al servidor \"%s\"!\n" -#: src/common/command.c:1982 +#: src/common/command.c:1985 msgid "Auto-reconnection is cancelled\n" msgstr "La reconexin automtica est anulada\n" -#: src/common/command.c:2018 src/common/weechat.c:489 +#: src/common/command.c:2021 src/common/weechat.c:489 #, c-format msgid "%s internal commands:\n" msgstr "Comandos internos %s :\n" -#: src/common/command.c:2028 src/common/weechat.c:509 +#: src/common/command.c:2031 src/common/weechat.c:509 #, c-format msgid "IRC commands:\n" msgstr "Comandos IRC :\n" -#: src/common/command.c:2042 +#: src/common/command.c:2045 msgid "Plugin commands:\n" msgstr "Comandos de plugin:\n" -#: src/common/command.c:2158 +#: src/common/command.c:2161 #, c-format msgid "No help available, \"%s\" is an unknown command\n" msgstr "No hay ayuda disponible, el comando \"%s\" es desconocido\n" -#: src/common/command.c:2227 +#: src/common/command.c:2230 #, c-format msgid "%son %s%s%s/%s%s%s:%s ignoring %s%s%s from %s%s\n" msgstr "%sen %s%s%s/%s%s%s:%s ignorando %s%s%s de %s%s\n" -#: src/common/command.c:2265 +#: src/common/command.c:2268 msgid "List of ignore:\n" msgstr "Lista de ignores:\n" -#: src/common/command.c:2282 +#: src/common/command.c:2285 msgid "No ignore defined.\n" msgstr "Sin ignores definidos.\n" -#: src/common/command.c:2308 +#: src/common/command.c:2311 msgid "New ignore:" msgstr "Nuevo ignore:" -#: src/common/command.c:2328 +#: src/common/command.c:2331 #, c-format msgid "New key binding: %s" msgstr "Nueva anclaje de clave: %s" -#: src/common/command.c:2367 +#: src/common/command.c:2370 msgid "Key bindings:\n" msgstr "Anclajes de clave:\n" -#: src/common/command.c:2381 +#: src/common/command.c:2384 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Clave \"%s\" desatada\n" -#: src/common/command.c:2387 +#: src/common/command.c:2390 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "%s No ha sido posible desatar la clave \"%s\"\n" -#: src/common/command.c:2395 src/common/weechat.c:541 +#: src/common/command.c:2398 src/common/weechat.c:541 #, c-format msgid "Internal key functions:\n" msgstr "Funciones de clave internas:\n" -#: src/common/command.c:2415 +#: src/common/command.c:2418 msgid "Default key bindings restored\n" msgstr "Anclajes de clave por defecto restaurados\n" -#: src/common/command.c:2421 +#: src/common/command.c:2424 #, c-format msgid "%s \"-yes\" argument is required for keys reset (securuty reason)\n" msgstr "" "%s \"-yes\" se requiere argumento para resetear las claves (por razones de " "seguridad)\n" -#: src/common/command.c:2482 +#: src/common/command.c:2485 msgid "Plugins loaded:\n" msgstr "Plugins cargados:\n" -#: src/common/command.c:2498 +#: src/common/command.c:2501 msgid " message handlers:\n" msgstr " manejadores de mensaje:\n" -#: src/common/command.c:2507 +#: src/common/command.c:2510 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:2514 +#: src/common/command.c:2517 msgid " (no message handler)\n" msgstr " (sin manejador de mensaje)\n" -#: src/common/command.c:2519 +#: src/common/command.c:2522 msgid " command handlers:\n" msgstr " manejadores de comando:\n" -#: src/common/command.c:2540 +#: src/common/command.c:2543 msgid " (no command handler)\n" msgstr " (sin manejador de comando)\n" -#: src/common/command.c:2546 +#: src/common/command.c:2548 +#, fuzzy +msgid " timer handlers:\n" +msgstr " manejadores de mensaje:\n" + +#: src/common/command.c:2557 +#, fuzzy, c-format +msgid " %d seconds\n" +msgstr " IRC(%s)\n" + +#: src/common/command.c:2564 +#, fuzzy +msgid " (no timer handler)\n" +msgstr " (sin manejador de mensaje)\n" + +#: src/common/command.c:2569 +#, fuzzy +msgid " keyboard handlers:\n" +msgstr " manejadores de comando:\n" + +#: src/common/command.c:2579 +#, fuzzy +msgid " (no keyboard handler)\n" +msgstr " (sin manejador de comando)\n" + +#: src/common/command.c:2581 +#, c-format +msgid " %d defined\n" +msgstr "" + +#: src/common/command.c:2587 msgid " (no plugin)\n" msgstr " (sin plugins)\n" -#: src/common/command.c:2582 src/common/command.c:3462 +#: src/common/command.c:2623 src/common/command.c:3505 #, fuzzy, c-format msgid "" "Command \"%s\" is not available, WeeChat was built without plugins support.\n" @@ -3412,41 +3449,41 @@ msgstr "" "El comando \"plugin\" no est disponible, Weechat fue compilado sin soporte " "para plugins.\n" -#: src/common/command.c:2611 +#: src/common/command.c:2654 msgid "Configuration file saved\n" msgstr "" -#: src/common/command.c:2616 +#: src/common/command.c:2659 #, c-format msgid "%s failed to save configuration file\n" msgstr "" -#: src/common/command.c:2655 +#: src/common/command.c:2698 msgid "No server.\n" msgstr "Ningn servidor.\n" -#: src/common/command.c:2666 +#: src/common/command.c:2709 #, c-format msgid "Server '%s' not found.\n" msgstr "Servidor '%s' no encontrado.\n" -#: src/common/command.c:2678 +#: src/common/command.c:2721 #, c-format msgid "%s missing servername for \"%s\" command\n" msgstr "%s falta el nombre de servidor para el comando \"%s\"\n" -#: src/common/command.c:2686 +#: src/common/command.c:2729 #, c-format msgid "%s too much arguments for \"%s\" command, ignoring arguments\n" msgstr "" "%s demasiados argumentos para el comando \"%s\", ignorando parmetros\n" -#: src/common/command.c:2696 +#: src/common/command.c:2739 #, c-format msgid "%s server \"%s\" not found for \"%s\" command\n" msgstr "%s servidor \"%s\" no encontrado para el comando \"%s\"\n" -#: src/common/command.c:2704 +#: src/common/command.c:2747 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3455,200 +3492,200 @@ msgstr "" "%s usted no puede eliminar el servidor \"%s\" ya que est usted conectado a " "l. Pruebe /disconnect %s antes.\n" -#: src/common/command.c:2724 +#: src/common/command.c:2767 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "El servidor %s%s%s ha sido borrado\n" -#: src/common/command.c:2743 +#: src/common/command.c:2786 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s faltan parmetros para el comando \"%s\"\n" -#: src/common/command.c:2753 +#: src/common/command.c:2796 #, c-format msgid "%s server \"%s\" already exists, can't create it!\n" msgstr "%s el servidor \"%s\" ya existe, no se puede crear!\n" -#: src/common/command.c:2782 src/common/command.c:2810 -#: src/common/command.c:2823 src/common/command.c:2849 +#: src/common/command.c:2825 src/common/command.c:2853 +#: src/common/command.c:2866 src/common/command.c:2892 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s falta contrasea para el comando \"%s\"\n" -#: src/common/command.c:2795 +#: src/common/command.c:2838 #, c-format msgid "%s missing nick(s) for \"%s\" parameter\n" msgstr "%s falta(n) usuario(s) para el parmetro \"%s\"\n" -#: src/common/command.c:2836 +#: src/common/command.c:2879 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s falta comando para el parmetro \"%s\"\n" -#: src/common/command.c:2874 +#: src/common/command.c:2917 #, c-format msgid "Server %s%s%s created\n" msgstr "Servidor %s%s%s creado\n" -#: src/common/command.c:2883 +#: src/common/command.c:2926 #, c-format msgid "%s unable to create server\n" msgstr "%s no es posible crear el servidor\n" -#: src/common/command.c:2943 +#: src/common/command.c:2986 msgid "(unknown)" msgstr "(desconocido)" -#: src/common/command.c:2966 +#: src/common/command.c:3009 #, c-format msgid "%s(password hidden) " msgstr "%s(contrasea oculta) " -#: src/common/command.c:3064 +#: src/common/command.c:3107 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s servidor \"%s\" no encontrado\n" -#: src/common/command.c:3097 src/common/command.c:3145 +#: src/common/command.c:3140 src/common/command.c:3188 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s opcin de configuracin \"%s\" no encontrada\n" -#: src/common/command.c:3102 src/common/command.c:3137 +#: src/common/command.c:3145 src/common/command.c:3180 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s valor incorrecto para la opcin \"%s\"\n" -#: src/common/command.c:3118 +#: src/common/command.c:3161 #, c-format msgid "%s option \"%s\" can not be changed while WeeChat is running\n" msgstr "" "%s la opcin \"%s\" no puede ser modificada mientras WeeChat est en " "ejecucin\n" -#: src/common/command.c:3228 +#: src/common/command.c:3271 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Ninguna opcin de configuracin encontrada con \"%s\"\n" -#: src/common/command.c:3231 +#: src/common/command.c:3274 msgid "No config option found\n" msgstr "Ninguna opcin de configuracin encontrada\n" -#: src/common/command.c:3238 +#: src/common/command.c:3281 #, c-format msgid "%sDetail:\n" msgstr "%sDetalle:\n" -#: src/common/command.c:3243 +#: src/common/command.c:3286 msgid " . type boolean (values: 'on' or 'off')\n" msgstr " . tipo booleano (valores: 'on' u 'off')\n" -#: src/common/command.c:3244 src/common/command.c:3267 -#: src/common/command.c:3273 src/common/command.c:3279 +#: src/common/command.c:3287 src/common/command.c:3310 +#: src/common/command.c:3316 src/common/command.c:3322 #: src/common/weechat.c:425 src/common/weechat.c:450 src/common/weechat.c:457 #: src/common/weechat.c:464 #, c-format msgid " . default value: '%s'\n" msgstr " . valor por defecto: '%s'\n" -#: src/common/command.c:3249 +#: src/common/command.c:3292 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr " . tipo entero (valores: entre %d y %d)\n" -#: src/common/command.c:3252 src/common/weechat.c:434 +#: src/common/command.c:3295 src/common/weechat.c:434 #, c-format msgid " . default value: %d\n" msgstr " . valor por defecto: %d\n" -#: src/common/command.c:3256 +#: src/common/command.c:3299 msgid " . type string (values: " msgstr " . tipo cadena (valores: " -#: src/common/command.c:3269 src/common/command.c:3275 -#: src/common/command.c:3281 src/common/weechat.c:452 src/common/weechat.c:459 +#: src/common/command.c:3312 src/common/command.c:3318 +#: src/common/command.c:3324 src/common/weechat.c:452 src/common/weechat.c:459 #: src/common/weechat.c:466 msgid "empty" msgstr "vaco" -#: src/common/command.c:3272 +#: src/common/command.c:3315 msgid " . type color (Curses or Gtk color, look at WeeChat doc)\n" msgstr " . tipo color (color Curses o Gtk, ver la documentacin de WeeChat)\n" -#: src/common/command.c:3278 +#: src/common/command.c:3321 msgid " . type string (any string)\n" msgstr " . tipo cadena (cualquier cadena)\n" -#: src/common/command.c:3284 src/common/weechat.c:469 +#: src/common/command.c:3327 src/common/weechat.c:469 #, c-format msgid " . description: %s\n" msgstr " . descripcin: %s\n" -#: src/common/command.c:3295 +#: src/common/command.c:3338 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "opcin/opciones de configuracin encontrada(s) con \"%s\"\n" -#: src/common/command.c:3298 +#: src/common/command.c:3341 msgid "config option(s) found\n" msgstr "opcin/opciones de configuracin encontrada(s)\n" -#: src/common/command.c:3406 +#: src/common/command.c:3449 #, fuzzy, c-format msgid "%s incorrect value for plugin option \"%s\"\n" msgstr "%s valor incorrecto para la opcin \"%s\"\n" -#: src/common/command.c:3435 +#: src/common/command.c:3478 #, fuzzy, c-format msgid "No plugin option found with \"%s\"\n" msgstr "Ninguna opcin de configuracin encontrada con \"%s\"\n" -#: src/common/command.c:3438 +#: src/common/command.c:3481 #, fuzzy msgid "No plugin option found\n" msgstr "Ninguna opcin de configuracin encontrada\n" -#: src/common/command.c:3448 +#: src/common/command.c:3491 #, fuzzy, c-format msgid "plugin option(s) found with \"%s\"\n" msgstr "opcin/opciones de configuracin encontrada(s) con \"%s\"\n" -#: src/common/command.c:3451 +#: src/common/command.c:3494 #, fuzzy msgid "plugin option(s) found\n" msgstr "opcin/opciones de configuracin encontrada(s)\n" -#: src/common/command.c:3489 +#: src/common/command.c:3532 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias o comando \"%s\" no encontrado\n" -#: src/common/command.c:3499 +#: src/common/command.c:3542 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" eliminado\n" -#: src/common/command.c:3559 +#: src/common/command.c:3602 msgid "ignore were removed.\n" msgstr "los ignores fueron eliminados.\n" -#: src/common/command.c:3561 +#: src/common/command.c:3604 msgid "ignore was removed.\n" msgstr "el ignore fue eliminado.\n" -#: src/common/command.c:3566 +#: src/common/command.c:3609 #, c-format msgid "%s no ignore found\n" msgstr "%s no se encontraron ignores\n" -#: src/common/command.c:3600 +#: src/common/command.c:3643 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "%s no se puede actualizar: conexin pendiente a un servidor al menos\n" -#: src/common/command.c:3610 +#: src/common/command.c:3653 #, c-format msgid "" "%s can't upgrade: connection to at least one SSL server is active (should be " @@ -3657,37 +3694,37 @@ msgstr "" "%s no se puede actualizar: conexin activa a un servidor SSL por lo menos " "(debera ser corregido en una futura versin)\n" -#: src/common/command.c:3626 +#: src/common/command.c:3669 msgid "Upgrading WeeChat...\n" msgstr "Actualizando Weechat...\n" -#: src/common/command.c:3633 +#: src/common/command.c:3676 #, c-format msgid "%s unable to save session in file\n" msgstr "%s no ha sido posible guardar la sesin en el archivo\n" -#: src/common/command.c:3659 +#: src/common/command.c:3702 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "%s exec ha fallado (programa: \"%s\"), saliendo de Weechat\n" -#: src/common/command.c:3699 +#: src/common/command.c:3742 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "Tiempo de uso de WeeChat: %d %s %02d:%02d:%02d, empez en %s" -#: src/common/command.c:3713 +#: src/common/command.c:3756 #, c-format msgid "WeeChat uptime: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, started on %s%s" msgstr "" "Tiempo de uso de WeeChat: %s%d %s%s %s%02d%s: %s%02d%s:%s%02d%s, empez en %s" "%s" -#: src/common/command.c:3757 +#: src/common/command.c:3800 msgid "Opened windows:\n" msgstr "Ventanas abiertas:\n" -#: src/common/command.c:3844 +#: src/common/command.c:3887 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -5506,7 +5543,7 @@ msgstr "%s: creando fichero de configuraci msgid "Creating default config file\n" msgstr "Creando fichero de configuracin por defecto\n" -#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2293 +#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2294 #, c-format msgid "" "#\n" @@ -5515,7 +5552,7 @@ msgstr "" "#\n" "# %s: fichero de configuracin, creado por %s v%s el %s" -#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2297 +#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2298 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -5526,7 +5563,7 @@ msgstr "" "fichero al salir.\n" "#\n" -#: src/common/weeconfig.c:2290 +#: src/common/weeconfig.c:2291 msgid "Saving config to disk\n" msgstr "Guardar configuracin a disco\n" diff --git a/po/fr.po b/po/fr.po index c307b016b..198db6b40 100644 --- a/po/fr.po +++ b/po/fr.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.9-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2006-03-25 12:24+0100\n" -"PO-Revision-Date: 2006-03-25 12:32+0100\n" +"POT-Creation-Date: 2006-03-29 20:06+0200\n" +"PO-Revision-Date: 2006-03-29 20:07+0200\n" "Last-Translator: FlashCode \n" "Language-Team: weechat-dev \n" "MIME-Version: 1.0\n" @@ -1403,7 +1403,7 @@ msgstr "d msgid " (temporary server, will not be saved)" msgstr " (serveur temporaire, ne sera pas sauv)" -#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3423 +#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3426 msgid "seconds" msgstr "secondes" @@ -1411,7 +1411,7 @@ msgstr "secondes" msgid "(hidden)" msgstr "(cach)" -#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4993 +#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4996 msgid "unknown" msgstr "inconnu" @@ -1420,7 +1420,7 @@ msgstr "inconnu" msgid "%s: using hostname \"%s\"\n" msgstr "%s: utilisation du nom de machine \"%s\"\n" -#: src/irc/irc-send.c:221 src/common/command.c:1036 +#: src/irc/irc-send.c:221 src/common/command.c:1039 #, c-format msgid "%s cannot find nick for sending message\n" msgstr "%s impossible de trouver le pseudo pour envoyer le message\n" @@ -1444,8 +1444,8 @@ msgstr "" #: src/irc/irc-send.c:634 src/irc/irc-send.c:646 src/irc/irc-send.c:664 #: src/irc/irc-send.c:1371 src/irc/irc-send.c:1509 src/irc/irc-send.c:2104 -#: src/common/command.c:1922 src/common/command.c:2435 -#: src/common/command.c:2576 +#: src/common/command.c:1925 src/common/command.c:2438 +#: src/common/command.c:2617 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s nombre de paramtres erron pour la commande \"%s\"\n" @@ -1462,7 +1462,7 @@ msgstr "" "%s la commande \"%s\" peut seulement tre excute dans un tampon canal ou " "priv\n" -#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:511 +#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:514 #, c-format msgid "%s nick \"%s\" not found for \"%s\" command\n" msgstr "%s pseudo \"%s\" non trouv pour la commande \"%s\"\n" @@ -1477,478 +1477,478 @@ msgstr "%s impossible de cr msgid "%s, compiled on %s %s\n" msgstr "%s, compil le %s %s\n" -#: src/irc/irc-recv.c:371 +#: src/irc/irc-recv.c:374 #, c-format msgid "You have been invited to %s%s%s by %s%s\n" msgstr "Vous avez t invit sur %s%s%s par %s%s\n" -#: src/irc/irc-recv.c:385 src/irc/irc-recv.c:480 src/irc/irc-recv.c:1103 -#: src/irc/irc-recv.c:1525 src/irc/irc-recv.c:1805 src/irc/irc-recv.c:3795 -#: src/irc/irc-recv.c:3816 src/irc/irc-recv.c:3877 src/irc/irc-recv.c:3948 +#: src/irc/irc-recv.c:388 src/irc/irc-recv.c:483 src/irc/irc-recv.c:1106 +#: src/irc/irc-recv.c:1528 src/irc/irc-recv.c:1808 src/irc/irc-recv.c:3798 +#: src/irc/irc-recv.c:3819 src/irc/irc-recv.c:3880 src/irc/irc-recv.c:3951 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "%s canal \"%s\" non trouv pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:413 +#: src/irc/irc-recv.c:416 #, c-format msgid "%s cannot create new channel \"%s\"\n" msgstr "%s impossible de crer le nouveau canal \"%s\"\n" -#: src/irc/irc-recv.c:426 +#: src/irc/irc-recv.c:429 #, c-format msgid "%s%s %s(%s%s%s)%s has joined %s%s\n" msgstr "%s%s %s(%s%s%s)%s a rejoint %s%s\n" -#: src/irc/irc-recv.c:488 +#: src/irc/irc-recv.c:491 #, c-format msgid "%s%s%s has kicked %s%s%s from %s%s" msgstr "%s%s%s a pouss dehors %s%s%s de %s%s" -#: src/irc/irc-recv.c:578 +#: src/irc/irc-recv.c:581 #, c-format msgid "%s%s%s has killed %s%s%s from server" msgstr "%s%s%s a tu %s%s%s du serveur" -#: src/irc/irc-recv.c:600 +#: src/irc/irc-recv.c:603 #, c-format msgid "%s host \"%s\" not found for \"%s\" command\n" msgstr "%s la machine \"%s\" n'existe pas pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:641 +#: src/irc/irc-recv.c:644 msgid "sets ban on" msgstr "instaure un bannissement sur" -#: src/irc/irc-recv.c:642 +#: src/irc/irc-recv.c:645 msgid "removes ban on" msgstr "supprime le banissement sur" -#: src/irc/irc-recv.c:666 +#: src/irc/irc-recv.c:669 msgid "sets realname ban on" msgstr "instaure un bannissement sur le nom rel" -#: src/irc/irc-recv.c:667 +#: src/irc/irc-recv.c:670 msgid "removes realname ban on" msgstr "supprime le banissement sur le nom rel" -#: src/irc/irc-recv.c:691 +#: src/irc/irc-recv.c:694 msgid "sets ban exemtion on" msgstr "dfinit une exception de banissement sur" -#: src/irc/irc-recv.c:692 +#: src/irc/irc-recv.c:695 msgid "removes ban exemption on" msgstr "supprime l'exception de banissement sur" -#: src/irc/irc-recv.c:716 +#: src/irc/irc-recv.c:719 msgid "sets mode +f" msgstr "dfinit le mode +f" -#: src/irc/irc-recv.c:717 +#: src/irc/irc-recv.c:720 msgid "removes mode +f" msgstr "supprime le mode +f" -#: src/irc/irc-recv.c:741 +#: src/irc/irc-recv.c:744 msgid "gives half channel operator status to" msgstr "donne le droit demi-oprateur " -#: src/irc/irc-recv.c:742 +#: src/irc/irc-recv.c:745 msgid "removes half channel operator status from" msgstr "supprime le droit demi-oprateur " -#: src/irc/irc-recv.c:769 +#: src/irc/irc-recv.c:772 msgid "sets invite-only channel flag" msgstr "dfinit le canal en mode invit seulement" -#: src/irc/irc-recv.c:770 +#: src/irc/irc-recv.c:773 msgid "removes invite-only channel flag" msgstr "supprime le mode invit seulement pour le canal" -#: src/irc/irc-recv.c:787 +#: src/irc/irc-recv.c:790 msgid "sets invite-only exemption on" msgstr "dfinit une exception d'invitation sur" -#: src/irc/irc-recv.c:788 +#: src/irc/irc-recv.c:791 msgid "removes invite-only exemption on" msgstr "supprime l'exception d'invitation sur" -#: src/irc/irc-recv.c:812 +#: src/irc/irc-recv.c:815 msgid "sets channel key to" msgstr "dfinit la cl du canal " -#: src/irc/irc-recv.c:813 +#: src/irc/irc-recv.c:816 msgid "removes channel key" msgstr "supprime la cl du canal" -#: src/irc/irc-recv.c:844 +#: src/irc/irc-recv.c:847 msgid "sets the user limit to" msgstr "dfinit la limite d'utilisateurs " -#: src/irc/irc-recv.c:845 +#: src/irc/irc-recv.c:848 msgid "removes user limit" msgstr "supprime la limite d'utilisateurs" -#: src/irc/irc-recv.c:867 +#: src/irc/irc-recv.c:870 msgid "sets moderated channel flag" msgstr "instaure la modration sur le canal" -#: src/irc/irc-recv.c:868 +#: src/irc/irc-recv.c:871 msgid "removes moderated channel flag" msgstr "supprime la modration sur le canal" -#: src/irc/irc-recv.c:878 +#: src/irc/irc-recv.c:881 msgid "sets messages from channel only flag" msgstr "interdit aux utilisateurs en dehors du canal d'y crire" -#: src/irc/irc-recv.c:879 +#: src/irc/irc-recv.c:882 msgid "removes messages from channel only flag" msgstr "autorise tout utilisateur crire sur le canal" -#: src/irc/irc-recv.c:896 +#: src/irc/irc-recv.c:899 msgid "gives channel operator status to" msgstr "donne le droit oprateur " -#: src/irc/irc-recv.c:897 +#: src/irc/irc-recv.c:900 msgid "removes channel operator status from" msgstr "supprime le droit oprateur " -#: src/irc/irc-recv.c:924 +#: src/irc/irc-recv.c:927 msgid "sets private channel flag" msgstr "dfinit le canal comme priv" -#: src/irc/irc-recv.c:925 +#: src/irc/irc-recv.c:928 msgid "removes private channel flag" msgstr "supprime le mode priv pour le canal" -#: src/irc/irc-recv.c:942 +#: src/irc/irc-recv.c:945 msgid "sets quiet on" msgstr "dfinit le mode muet sur" -#: src/irc/irc-recv.c:943 +#: src/irc/irc-recv.c:946 msgid "removes quiet on" msgstr "supprime le mode muet sur" -#: src/irc/irc-recv.c:960 +#: src/irc/irc-recv.c:963 msgid "sets secret channel flag" msgstr "dfinit le canal comme secret" -#: src/irc/irc-recv.c:961 +#: src/irc/irc-recv.c:964 msgid "removes secret channel flag" msgstr "supprime le mode secret pour le canal" -#: src/irc/irc-recv.c:971 +#: src/irc/irc-recv.c:974 msgid "sets topic protection" msgstr "active la protection du titre" -#: src/irc/irc-recv.c:972 +#: src/irc/irc-recv.c:975 msgid "removes topic protection" msgstr "supprime la protection du titre" -#: src/irc/irc-recv.c:989 +#: src/irc/irc-recv.c:992 msgid "gives voice to" msgstr "donne la voix " -#: src/irc/irc-recv.c:990 +#: src/irc/irc-recv.c:993 msgid "removes voice from" msgstr "supprime la voix de" -#: src/irc/irc-recv.c:1062 src/irc/irc-recv.c:1148 src/irc/irc-recv.c:1604 -#: src/irc/irc-recv.c:2429 +#: src/irc/irc-recv.c:1065 src/irc/irc-recv.c:1151 src/irc/irc-recv.c:1607 +#: src/irc/irc-recv.c:2432 #, c-format msgid "%s \"%s\" command received without host\n" msgstr "%s commande \"%s\" reue sans host\n" -#: src/irc/irc-recv.c:1072 +#: src/irc/irc-recv.c:1075 #, c-format msgid "%s \"%s\" command received without channel or nickname\n" msgstr "%s commande \"%s\" reue sans canal ou utilisateur\n" -#: src/irc/irc-recv.c:1114 +#: src/irc/irc-recv.c:1117 #, c-format msgid "%s[%s%s%s/%s%s%s]%s mode changed by %s%s\n" msgstr "%s[%s%s%s/%s%s%s]%s mode chang par %s%s\n" -#: src/irc/irc-recv.c:1183 +#: src/irc/irc-recv.c:1186 #, c-format msgid "You are now known as %s%s\n" msgstr "Vous tes maintenant connu sous le nom %s%s\n" -#: src/irc/irc-recv.c:1187 +#: src/irc/irc-recv.c:1190 #, c-format msgid "%s%s%s is now known as %s%s\n" msgstr "%s%s%s est maintenant connu sous le nom %s%s\n" -#: src/irc/irc-recv.c:1255 +#: src/irc/irc-recv.c:1258 #, c-format msgid "%s nickname not found for \"%s\" command\n" msgstr "%s utilisateur non trouv pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:1269 +#: src/irc/irc-recv.c:1272 #, c-format msgid "CTCP %sVERSION%s reply from %s%s%s: %s\n" msgstr "CTCP %sVERSION%s rponse de %s%s%s: %s\n" -#: src/irc/irc-recv.c:1303 +#: src/irc/irc-recv.c:1306 #, c-format msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "CTCP %sPING%s rponse de %s%s%s: %ld.%ld secondes\n" -#: src/irc/irc-recv.c:1326 src/irc/irc-recv.c:2232 src/irc/irc-recv.c:2344 +#: src/irc/irc-recv.c:1329 src/irc/irc-recv.c:2235 src/irc/irc-recv.c:2347 #, c-format msgid "%s cannot create new private window \"%s\"\n" msgstr "%s impossible de crer la fentre prive \"%s\"\n" -#: src/irc/irc-recv.c:1351 src/irc/irc-recv.c:2369 +#: src/irc/irc-recv.c:1354 src/irc/irc-recv.c:2372 msgid "Private" msgstr "Priv" -#: src/irc/irc-recv.c:1427 +#: src/irc/irc-recv.c:1430 #, c-format msgid "%s \"%s\" command received without host or channel\n" msgstr "%s commande \"%s\" reue sans host ou canal\n" -#: src/irc/irc-recv.c:1455 +#: src/irc/irc-recv.c:1458 #, c-format msgid "%s%s %s(%s%s%s)%s has left %s%s" msgstr "%s%s %s(%s%s%s)%s a quitt %s%s" -#: src/irc/irc-recv.c:1654 src/irc/irc-recv.c:1780 src/irc/irc-recv.c:2260 +#: src/irc/irc-recv.c:1657 src/irc/irc-recv.c:1783 src/irc/irc-recv.c:2263 msgid "Channel" msgstr "Canal" -#: src/irc/irc-recv.c:1688 +#: src/irc/irc-recv.c:1691 #, c-format msgid "Received a CTCP %sSOUND%s \"%s\" from %s%s\n" msgstr "CTCP %sSOUND%s \"%s\" reu de %s%s\n" -#: src/irc/irc-recv.c:1718 src/irc/irc-recv.c:1904 +#: src/irc/irc-recv.c:1721 src/irc/irc-recv.c:1907 #, c-format msgid "CTCP %sPING%s received from %s%s\n" msgstr "CTCP %sPING%s reu de %s%s\n" -#: src/irc/irc-recv.c:1747 src/irc/irc-recv.c:2311 +#: src/irc/irc-recv.c:1750 src/irc/irc-recv.c:2314 #, c-format msgid "Unknown CTCP %s%s%s received from %s%s" msgstr "CTCP inconnu %s%s%s reu de %s%s" -#: src/irc/irc-recv.c:1860 +#: src/irc/irc-recv.c:1863 #, c-format msgid "CTCP %sVERSION%s received from %s%s" msgstr "CTCP %sVERSION%s reu de %s%s" -#: src/irc/irc-recv.c:1927 src/irc/irc-recv.c:1948 src/irc/irc-recv.c:1964 -#: src/irc/irc-recv.c:1980 src/irc/irc-recv.c:2011 src/irc/irc-recv.c:2032 -#: src/irc/irc-recv.c:2048 src/irc/irc-recv.c:2078 src/irc/irc-recv.c:2099 -#: src/irc/irc-recv.c:2115 src/irc/irc-recv.c:2145 src/irc/irc-recv.c:2166 -#: src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2405 src/irc/irc-recv.c:2756 -#: src/irc/irc-recv.c:4155 src/irc/irc-recv.c:4170 src/irc/irc-recv.c:4185 -#: src/irc/irc-recv.c:4200 src/irc/irc-recv.c:4213 src/irc/irc-recv.c:4278 -#: src/irc/irc-recv.c:4292 src/irc/irc-recv.c:4526 src/irc/irc-recv.c:4584 -#: src/irc/irc-recv.c:4722 src/irc/irc-recv.c:4737 src/irc/irc-recv.c:4843 -#: src/irc/irc-recv.c:4857 +#: src/irc/irc-recv.c:1930 src/irc/irc-recv.c:1951 src/irc/irc-recv.c:1967 +#: src/irc/irc-recv.c:1983 src/irc/irc-recv.c:2014 src/irc/irc-recv.c:2035 +#: src/irc/irc-recv.c:2051 src/irc/irc-recv.c:2081 src/irc/irc-recv.c:2102 +#: src/irc/irc-recv.c:2118 src/irc/irc-recv.c:2148 src/irc/irc-recv.c:2169 +#: src/irc/irc-recv.c:2184 src/irc/irc-recv.c:2408 src/irc/irc-recv.c:2759 +#: src/irc/irc-recv.c:4158 src/irc/irc-recv.c:4173 src/irc/irc-recv.c:4188 +#: src/irc/irc-recv.c:4203 src/irc/irc-recv.c:4216 src/irc/irc-recv.c:4281 +#: src/irc/irc-recv.c:4295 src/irc/irc-recv.c:4529 src/irc/irc-recv.c:4587 +#: src/irc/irc-recv.c:4725 src/irc/irc-recv.c:4740 src/irc/irc-recv.c:4846 +#: src/irc/irc-recv.c:4860 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "%s impossible d'analyser la commande \"%s\"\n" -#: src/irc/irc-recv.c:2194 +#: src/irc/irc-recv.c:2197 #, c-format msgid "%s unknown DCC CHAT type received from " msgstr "%s type de DCC CHAT inconnu reu de " -#: src/irc/irc-recv.c:2452 +#: src/irc/irc-recv.c:2455 #, c-format msgid "%s%s %s(%s%s%s)%s has quit" msgstr "%s%s %s(%s%s%s)%s a quitt" -#: src/irc/irc-recv.c:2583 +#: src/irc/irc-recv.c:2586 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "%s commande \"%s\" reue sans canal\n" -#: src/irc/irc-recv.c:2612 +#: src/irc/irc-recv.c:2615 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "%s%s%s a chang le titre pour %s%s%s en:" -#: src/irc/irc-recv.c:2623 +#: src/irc/irc-recv.c:2626 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "%s%s%s a retir le titre pour %s%s\n" -#: src/irc/irc-recv.c:2742 +#: src/irc/irc-recv.c:2745 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "Mode utilisateur %s[%s%s%s/%s%s%s]\n" -#: src/irc/irc-recv.c:2806 +#: src/irc/irc-recv.c:2809 #, c-format msgid "%s%s%s is away: %s\n" msgstr "%s%s%s est absent: %s\n" -#: src/irc/irc-recv.c:2898 +#: src/irc/irc-recv.c:2901 msgid "Users online: " msgstr "Utilisateurs en ligne: " -#: src/irc/irc-recv.c:3274 +#: src/irc/irc-recv.c:3277 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "%s%s %s(%s%s@%s%s)%s tait %s\n" -#: src/irc/irc-recv.c:3395 +#: src/irc/irc-recv.c:3398 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s inactivit: " -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "days" msgstr "jours" -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "day" msgstr "jour" -#: src/irc/irc-recv.c:3411 +#: src/irc/irc-recv.c:3414 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, sign le: %s%s" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hours" msgstr "heures" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hour" msgstr "heure" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minutes" msgstr "minutes" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minute" msgstr "minute" -#: src/irc/irc-recv.c:3423 +#: src/irc/irc-recv.c:3426 msgid "second" msgstr "seconde" -#: src/irc/irc-recv.c:3807 +#: src/irc/irc-recv.c:3810 #, c-format msgid "No topic set for %s%s\n" msgstr "Pas de titre dfini pour %s%s\n" -#: src/irc/irc-recv.c:3863 +#: src/irc/irc-recv.c:3866 #, c-format msgid "Topic for %s%s%s is: " msgstr "Le titre pour %s%s%s est: " -#: src/irc/irc-recv.c:3887 src/irc/irc-recv.c:3975 src/irc/irc-recv.c:4030 +#: src/irc/irc-recv.c:3890 src/irc/irc-recv.c:3978 src/irc/irc-recv.c:4033 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "%s impossible de dterminer le canal pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:3937 +#: src/irc/irc-recv.c:3940 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "Titre dfini par %s%s%s, %s" -#: src/irc/irc-recv.c:3957 +#: src/irc/irc-recv.c:3960 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "%s impossible d'identifier la date/heure pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:3966 src/irc/irc-recv.c:4039 +#: src/irc/irc-recv.c:3969 src/irc/irc-recv.c:4042 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "" "%s impossible de dterminer le nom d'utilisateur pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:4015 +#: src/irc/irc-recv.c:4018 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "%s%s%s a invit %s%s%s sur %s%s\n" -#: src/irc/irc-recv.c:4075 +#: src/irc/irc-recv.c:4078 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "Reop canal %s%s%s: %s%s\n" -#: src/irc/irc-recv.c:4572 +#: src/irc/irc-recv.c:4575 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "%s impossible de crer l'utilisateur \"%s\" pour le canal \"%s\"\n" -#: src/irc/irc-recv.c:4630 +#: src/irc/irc-recv.c:4633 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "Utilisateurs %s%s%s: %s[" -#: src/irc/irc-recv.c:4651 +#: src/irc/irc-recv.c:4654 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" "Canal %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nicks" msgstr "utilisateurs" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nick" msgstr "utilisateur" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "ops" msgstr "ops" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "op" msgstr "op" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfops" msgstr "halfops" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfop" msgstr "halfop" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voices" msgstr "voices" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voice" msgstr "voice" -#: src/irc/irc-recv.c:4676 +#: src/irc/irc-recv.c:4679 msgid "normal" msgstr "normal" -#: src/irc/irc-recv.c:4777 +#: src/irc/irc-recv.c:4780 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "%s[%s%s%s] %s%s%s banni par " -#: src/irc/irc-recv.c:4812 +#: src/irc/irc-recv.c:4815 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "%s[%s%s%s] %s%s%s banni\n" -#: src/irc/irc-recv.c:4947 +#: src/irc/irc-recv.c:4950 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" "%s: l'utilisateur \"%s\" est dj en cours d'utilisation, essai avec le 2me " "nom d'utilisateur \"%s\"\n" -#: src/irc/irc-recv.c:4959 +#: src/irc/irc-recv.c:4962 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" "%s: l'utilisateur \"%s\" est dj en cours d'utilisation, essai avec le 3me " "nom d'utilisateur \"%s\"\n" -#: src/irc/irc-recv.c:4971 +#: src/irc/irc-recv.c:4974 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " @@ -1957,7 +1957,7 @@ msgstr "" "%s: tous les noms d'utilisateurs dclars sont dj en cours d'utilisation, " "fermeture de la connexion avec le serveur !\n" -#: src/irc/irc-recv.c:4981 +#: src/irc/irc-recv.c:4984 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -2213,19 +2213,26 @@ msgstr "" "%s extension %s: impossible d'ajouter le gestionnaire de temps (mmoire " "insuffisante)\n" -#: src/plugins/plugins.c:657 +#: src/plugins/plugins.c:422 +#, c-format +msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n" +msgstr "" +"%s extension %s: impossible d'ajouter le gestionnaire de clavier (mmoire " +"insuffisante)\n" + +#: src/plugins/plugins.c:758 #, c-format msgid "%s unable to load plugin \"%s\": %s\n" msgstr "%s impossible de charger l'extension \"%s\": %s\n" -#: src/plugins/plugins.c:668 +#: src/plugins/plugins.c:769 #, c-format msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n" msgstr "" "%s le symbole \"plugin_name\" est introuvable dans l'extension \"%s\", chec " "de chargement\n" -#: src/plugins/plugins.c:679 +#: src/plugins/plugins.c:780 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" @@ -2233,7 +2240,7 @@ msgstr "" "%s impossible de charger l'extension \"%s\": une extension avec le mme nom " "existe dj\n" -#: src/plugins/plugins.c:691 +#: src/plugins/plugins.c:792 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" @@ -2241,7 +2248,7 @@ msgstr "" "%s le symbole \"plugin_description\" est introuvable dans l'extension \"%s" "\", chec de chargement\n" -#: src/plugins/plugins.c:702 +#: src/plugins/plugins.c:803 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" @@ -2249,7 +2256,7 @@ msgstr "" "%s le symbole \"plugin_version\" est introuvable dans l'extension \"%s\", " "chec de chargement\n" -#: src/plugins/plugins.c:713 +#: src/plugins/plugins.c:814 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " @@ -2258,32 +2265,32 @@ msgstr "" "%s la fonction \"weechat_plugin_init\" est introuvable dans l'extension \"%s" "\", chec de chargement\n" -#: src/plugins/plugins.c:776 +#: src/plugins/plugins.c:879 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "Initialisation de l'extension \"%s\" %s\n" -#: src/plugins/plugins.c:784 +#: src/plugins/plugins.c:887 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "%s impossible d'initialiser l'extension \"%s\"\n" -#: src/plugins/plugins.c:795 +#: src/plugins/plugins.c:898 #, c-format msgid "%s unable to load plugin \"%s\" (not enough memory)\n" msgstr "%s impossible de charger l'extension \"%s\" (mmoire insuffisante)\n" -#: src/plugins/plugins.c:803 +#: src/plugins/plugins.c:906 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "Extension \"%s\" (%s) charge.\n" -#: src/plugins/plugins.c:970 +#: src/plugins/plugins.c:1073 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "Extension \"%s\" dcharge.\n" -#: src/plugins/plugins.c:976 src/common/command.c:3384 +#: src/plugins/plugins.c:1079 src/common/command.c:3427 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "%s extension \"%s\" non trouve\n" @@ -2319,317 +2326,317 @@ msgstr "" "des options sont modifies.\n" "#\n" -#: src/plugins/plugins-interface.c:360 +#: src/plugins/plugins-interface.c:376 #, c-format msgid "%s server/channel (%s/%s) not found for plugin exec command\n" msgstr "" "%s serveur/canal (%s/%s) non trouv pour l'excution de commande de " "l'extension\n" -#: src/gui/curses/gui-input.c:353 +#: src/gui/curses/gui-input.c:386 #, c-format msgid "Day changed to %s\n" msgstr "Jour chang: %s\n" -#: src/gui/curses/gui-input.c:458 +#: src/gui/curses/gui-input.c:491 #, c-format msgid "%s lag is high, disconnecting from server...\n" msgstr "%s le lag est lev, dconnexion du serveur...\n" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "bytes" msgstr "octets" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Kb" msgstr "Ko" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Mb" msgstr "Mo" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Gb" msgstr "Go" -#: src/gui/curses/gui-display.c:1603 +#: src/gui/curses/gui-display.c:1644 msgid "ETA" msgstr "ETA" -#: src/gui/curses/gui-display.c:1965 +#: src/gui/curses/gui-display.c:2006 msgid "" msgstr "" -#: src/gui/curses/gui-display.c:1977 +#: src/gui/curses/gui-display.c:2018 msgid "(away)" msgstr "(absent)" -#: src/gui/curses/gui-display.c:2111 +#: src/gui/curses/gui-display.c:2152 msgid "[not connected] " msgstr "[non connect] " -#: src/gui/curses/gui-display.c:2117 +#: src/gui/curses/gui-display.c:2158 msgid " " msgstr " " -#: src/gui/curses/gui-display.c:2129 +#: src/gui/curses/gui-display.c:2170 msgid "Act: " msgstr "Act: " -#: src/gui/curses/gui-display.c:2210 +#: src/gui/curses/gui-display.c:2251 msgid "RAW_IRC" msgstr "IRC_BRUT" -#: src/gui/curses/gui-display.c:2231 +#: src/gui/curses/gui-display.c:2272 #, c-format msgid "Lag: %.1f" msgstr "Lag: %.1f" -#: src/gui/curses/gui-display.c:2247 +#: src/gui/curses/gui-display.c:2288 msgid "-MORE-" msgstr "-PLUS-" -#: src/gui/curses/gui-display.c:2506 +#: src/gui/curses/gui-display.c:2587 msgid " [A] Accept" msgstr " [A] Accepter" -#: src/gui/curses/gui-display.c:2507 src/gui/curses/gui-display.c:2511 +#: src/gui/curses/gui-display.c:2588 src/gui/curses/gui-display.c:2592 msgid " [C] Cancel" msgstr " [C] Annuler" -#: src/gui/curses/gui-display.c:2516 +#: src/gui/curses/gui-display.c:2597 msgid " [R] Remove" msgstr " [R] Retirer" -#: src/gui/curses/gui-display.c:2520 +#: src/gui/curses/gui-display.c:2601 msgid " [P] Purge old DCC" msgstr " [P] Purger anciens DCC" -#: src/gui/curses/gui-display.c:2521 +#: src/gui/curses/gui-display.c:2602 msgid " [Q] Close DCC view" msgstr " [Q] Fermer la vue DCC" -#: src/gui/curses/gui-display.c:2529 +#: src/gui/curses/gui-display.c:2610 msgid " [Q] Close raw data view" msgstr " [Q] Fermer la vue IRC brut" -#: src/gui/gtk/gui-display.c:2263 +#: src/gui/gtk/gui-display.c:2276 msgid "server" msgstr "serveur" -#: src/gui/gui-common.c:770 +#: src/gui/gui-common.c:777 msgid "Not enough memory for new line\n" msgstr "Pas assez de mmoire pour une nouvelle ligne !\n" -#: src/gui/gui-common.c:1139 +#: src/gui/gui-common.c:1146 msgid "Not enough memory for infobar message\n" msgstr "Pas assez de mmoire pour un message de la barre d'infos\n" -#: src/gui/gui-keyboard.c:45 +#: src/gui/gui-keyboard.c:49 msgid "terminate line" msgstr "terminer la ligne" -#: src/gui/gui-keyboard.c:47 +#: src/gui/gui-keyboard.c:51 msgid "complete word" msgstr "complter le mot" -#: src/gui/gui-keyboard.c:49 +#: src/gui/gui-keyboard.c:53 msgid "delete previous char" msgstr "effacer le caractre prcdent" -#: src/gui/gui-keyboard.c:51 +#: src/gui/gui-keyboard.c:55 msgid "delete next char" msgstr "effacer le caractre suivant" -#: src/gui/gui-keyboard.c:53 +#: src/gui/gui-keyboard.c:57 msgid "delete until end of line" msgstr "effacer jusqu' la fin de la ligne" -#: src/gui/gui-keyboard.c:55 +#: src/gui/gui-keyboard.c:59 msgid "delete until beginning of line" msgstr "effacer jusqu'au dbut de la ligne" -#: src/gui/gui-keyboard.c:57 +#: src/gui/gui-keyboard.c:61 msgid "delete entire line" msgstr "effacer la ligne entire" -#: src/gui/gui-keyboard.c:59 +#: src/gui/gui-keyboard.c:63 msgid "delete previous word" msgstr "effacer le mot prcdent" -#: src/gui/gui-keyboard.c:61 +#: src/gui/gui-keyboard.c:65 msgid "delete next word" msgstr "effacer le mot suivant" -#: src/gui/gui-keyboard.c:63 +#: src/gui/gui-keyboard.c:67 msgid "paste current clipboard content" msgstr "coller le contenu du presse-papier" -#: src/gui/gui-keyboard.c:65 +#: src/gui/gui-keyboard.c:69 msgid "transpose chars" msgstr "inverser les caractres" -#: src/gui/gui-keyboard.c:67 +#: src/gui/gui-keyboard.c:71 msgid "go to beginning of line" msgstr "aller au dbut de la ligne" -#: src/gui/gui-keyboard.c:69 +#: src/gui/gui-keyboard.c:73 msgid "go to end of line" msgstr "aller la fin de la ligne" -#: src/gui/gui-keyboard.c:71 +#: src/gui/gui-keyboard.c:75 msgid "move one char left" msgstr "se dplacer d'un caractre gauche" -#: src/gui/gui-keyboard.c:73 +#: src/gui/gui-keyboard.c:77 msgid "move to previous word" msgstr "se dplacer au mot prcdent" -#: src/gui/gui-keyboard.c:75 +#: src/gui/gui-keyboard.c:79 msgid "move one char right" msgstr "se dplacer d'un caractre droite" -#: src/gui/gui-keyboard.c:77 +#: src/gui/gui-keyboard.c:81 msgid "move to next word" msgstr "se dplacer au mot suivant" -#: src/gui/gui-keyboard.c:79 +#: src/gui/gui-keyboard.c:83 msgid "call previous command in history" msgstr "appeler la commande prcdente dans l'historique" -#: src/gui/gui-keyboard.c:81 +#: src/gui/gui-keyboard.c:85 msgid "call previous command in global history" msgstr "appeler la commande prcdente dans l'historique global" -#: src/gui/gui-keyboard.c:83 +#: src/gui/gui-keyboard.c:87 msgid "call next command in history" msgstr "appeler la commande suivante dans l'historique" -#: src/gui/gui-keyboard.c:85 +#: src/gui/gui-keyboard.c:89 msgid "call next command in global history" msgstr "appeler la commande suivante dans l'historique global" -#: src/gui/gui-keyboard.c:87 +#: src/gui/gui-keyboard.c:91 msgid "scroll one page up" msgstr "faire dfiler d'une page vers le haut" -#: src/gui/gui-keyboard.c:89 +#: src/gui/gui-keyboard.c:93 msgid "scroll one page down" msgstr "faire dfiler d'une page vers le bas" -#: src/gui/gui-keyboard.c:91 +#: src/gui/gui-keyboard.c:95 msgid "scroll a few lines up" msgstr "faire dfiler de quelques lignes vers le haut" -#: src/gui/gui-keyboard.c:93 +#: src/gui/gui-keyboard.c:97 msgid "scroll a few lines down" msgstr "faire dfiler de quelques lignes vers le bas" -#: src/gui/gui-keyboard.c:95 +#: src/gui/gui-keyboard.c:99 msgid "scroll to top of buffer" msgstr "faire dfiler jusqu'au dbut du tampon" -#: src/gui/gui-keyboard.c:97 +#: src/gui/gui-keyboard.c:101 msgid "scroll to bottom of buffer" msgstr "faire dfiler jusqu' la fin du tampon" -#: src/gui/gui-keyboard.c:99 +#: src/gui/gui-keyboard.c:103 msgid "display beginning of nicklist" msgstr "afficher le dbut de la liste des pseudos" -#: src/gui/gui-keyboard.c:101 +#: src/gui/gui-keyboard.c:105 msgid "display end of nicklist" msgstr "afficher la fin de la liste des pseudos" -#: src/gui/gui-keyboard.c:103 +#: src/gui/gui-keyboard.c:107 msgid "scroll nicklist one page up" msgstr "faire dfiler la liste des pseudos d'une page vers le haut" -#: src/gui/gui-keyboard.c:105 +#: src/gui/gui-keyboard.c:109 msgid "scroll nicklist one page down" msgstr "faire dfiler la liste des pseudos d'une page vers le bas" -#: src/gui/gui-keyboard.c:107 +#: src/gui/gui-keyboard.c:111 msgid "jump to buffer with activity" msgstr "sauter au tampon avec de l'activit" -#: src/gui/gui-keyboard.c:109 +#: src/gui/gui-keyboard.c:113 msgid "jump to DCC buffer" msgstr "sauter au tampon DCC" -#: src/gui/gui-keyboard.c:111 +#: src/gui/gui-keyboard.c:115 msgid "jump to raw IRC data buffer" msgstr "sauter au tampon IRC brut" -#: src/gui/gui-keyboard.c:113 +#: src/gui/gui-keyboard.c:117 msgid "jump to last buffer" msgstr "sauter au dernier tampon" -#: src/gui/gui-keyboard.c:115 +#: src/gui/gui-keyboard.c:119 msgid "jump to server buffer" msgstr "sauter au tampon du serveur" -#: src/gui/gui-keyboard.c:117 +#: src/gui/gui-keyboard.c:121 msgid "jump to next server" msgstr "sauter au prochain serveur" -#: src/gui/gui-keyboard.c:119 +#: src/gui/gui-keyboard.c:123 msgid "switch active server on servers buffer" msgstr "bascule de serveur actif sur le tampon des serveurs" -#: src/gui/gui-keyboard.c:121 +#: src/gui/gui-keyboard.c:125 msgid "scroll to previous highlight in buffer" msgstr "scroller jusqu'au highlight prcdent du tampon" -#: src/gui/gui-keyboard.c:123 +#: src/gui/gui-keyboard.c:127 msgid "scroll to next highlight in buffer" msgstr "scroller jusqu'au highlight suivant du tampon" -#: src/gui/gui-keyboard.c:125 +#: src/gui/gui-keyboard.c:129 msgid "scroll to first unread line in buffer" msgstr "scroller jusqu' la premire ligne non lue du tampon" -#: src/gui/gui-keyboard.c:127 +#: src/gui/gui-keyboard.c:131 msgid "clear hotlist" msgstr "effacer la liste d'activit" -#: src/gui/gui-keyboard.c:129 +#: src/gui/gui-keyboard.c:133 msgid "clear infobar" msgstr "effacer la barre d'infos" -#: src/gui/gui-keyboard.c:131 +#: src/gui/gui-keyboard.c:135 msgid "refresh screen" msgstr "rafrachir l'cran" -#: src/gui/gui-keyboard.c:133 +#: src/gui/gui-keyboard.c:137 msgid "grab a key" msgstr "capturer une touche" -#: src/gui/gui-keyboard.c:444 src/common/command.c:2450 +#: src/gui/gui-keyboard.c:448 src/common/command.c:2453 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s impossible de crer la touche \"%s\"\n" -#: src/gui/gui-keyboard.c:455 +#: src/gui/gui-keyboard.c:459 #, c-format msgid "%s unable to bind key \"%s\" (invalid function name: \"%s\")\n" msgstr "" "%s impossible de crer la touche \"%s\" (nom fonction incorrect: \"%s\")\n" -#: src/gui/gui-keyboard.c:468 +#: src/gui/gui-keyboard.c:472 #, c-format msgid "%s not enough memory for key binding\n" msgstr "%s pas assez de mmoire pour la touche\n" -#: src/common/command.c:45 +#: src/common/command.c:48 msgid "create an alias for a command" msgstr "crer un alias pour une commande" -#: src/common/command.c:46 +#: src/common/command.c:49 msgid "[alias_name [command [arguments]]" msgstr "[nom_alias [commande [paramtres]]" -#: src/common/command.c:47 +#: src/common/command.c:50 msgid "" "alias_name: name of alias\n" " command: command name (WeeChat or IRC command, without first '/')\n" @@ -2640,15 +2647,15 @@ msgstr "" "'/')\n" "paramtres: paramtres pour la commande" -#: src/common/command.c:52 +#: src/common/command.c:55 msgid "manage buffers" msgstr "gestion des tampons" -#: src/common/command.c:53 +#: src/common/command.c:56 msgid "[action [args] | number | [[server] [channel]]]" msgstr "[action [args] | nombre | [[serveur] [canal]]]" -#: src/common/command.c:54 +#: src/common/command.c:57 msgid "" " action: action to do:\n" " move: move buffer in the list (may be relative, for example -1)\n" @@ -2672,7 +2679,7 @@ msgstr "" " canal: sauter au tampon par serveur et/ou nom de canal\n" " nombre: sauter au tampon qui a ce numro" -#: src/common/command.c:63 +#: src/common/command.c:66 msgid "" "launch WeeChat/IRC builtin command (do not look at plugins handlers or " "aliases)" @@ -2680,11 +2687,11 @@ msgstr "" "lance une commande WeeChat/IRC interne (sans regarder les gestionnaires de " "commandes et les alias)" -#: src/common/command.c:64 +#: src/common/command.c:67 msgid "command" msgstr "commande" -#: src/common/command.c:65 +#: src/common/command.c:68 msgid "" "command: command to execute (a '/' is automatically added if not found at " "beginning of command)\n" @@ -2692,15 +2699,15 @@ msgstr "" "commande: commande excuter (un '/' est automatiquement ajout s'il n'est " "pas trouv au dbut de la commande)\n" -#: src/common/command.c:67 +#: src/common/command.c:70 msgid "change charset for server or channel" msgstr "changer le jeu de caractres pour le serveur ou le canal" -#: src/common/command.c:68 +#: src/common/command.c:71 msgid "[(decode_iso | decode_utf | encode) charset]" msgstr "[(decode_iso | decode_utf | encode) charset]" -#: src/common/command.c:69 +#: src/common/command.c:72 msgid "" "decode_iso: charset used for decoding ISO\n" "decode_utf: charset used for decoding UTF\n" @@ -2712,47 +2719,47 @@ msgstr "" " encode: jeu de caractres utilis pour encoder les messages\n" " charset: jeu de caractres utiliser (par exemple: ISO-8859-15, UTF-8,..)" -#: src/common/command.c:74 +#: src/common/command.c:77 msgid "clear window(s)" msgstr "effacer la/les fentre(s)" -#: src/common/command.c:75 +#: src/common/command.c:78 msgid "[-all]" msgstr "[-all]" -#: src/common/command.c:76 +#: src/common/command.c:79 msgid "-all: clear all windows" msgstr "-all: effacer toutes les fentres" -#: src/common/command.c:78 +#: src/common/command.c:81 msgid "connect to a server" msgstr "se connecter un serveur" -#: src/common/command.c:79 src/common/command.c:83 +#: src/common/command.c:82 src/common/command.c:86 msgid "[servername]" msgstr "[nom_serveur]" -#: src/common/command.c:80 +#: src/common/command.c:83 msgid "servername: server name to connect" msgstr "nom_serveur: nom du serveur pour se connecter" -#: src/common/command.c:82 +#: src/common/command.c:85 msgid "disconnect from a server" msgstr "se dconnecter d'un serveur" -#: src/common/command.c:84 +#: src/common/command.c:87 msgid "servername: server name to disconnect" msgstr "nom_serveur: nom du serveur pour se dconnecter" -#: src/common/command.c:86 +#: src/common/command.c:89 msgid "print debug messages" msgstr "affiche des messages de debogage" -#: src/common/command.c:87 +#: src/common/command.c:90 msgid "dump | windows" msgstr "dump | windows" -#: src/common/command.c:88 +#: src/common/command.c:91 msgid "" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" @@ -2762,27 +2769,27 @@ msgstr "" "mmes messages sont affichs lorsque WeeChat plante)\n" "windows: affiche l'arbre des fentres" -#: src/common/command.c:91 +#: src/common/command.c:94 msgid "display help about commands" msgstr "afficher l'aide sur les commandes" -#: src/common/command.c:92 +#: src/common/command.c:95 msgid "[command]" msgstr "[commande]" -#: src/common/command.c:93 +#: src/common/command.c:96 msgid "command: name of a WeeChat or IRC command" msgstr "commande: nom d'une commande WeeChat ou IRC" -#: src/common/command.c:95 +#: src/common/command.c:98 msgid "show buffer command history" msgstr "affiche l'historique des commandes du tampon" -#: src/common/command.c:96 +#: src/common/command.c:99 msgid "[clear | value]" msgstr "[clear | valeur]" -#: src/common/command.c:97 +#: src/common/command.c:100 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2790,15 +2797,15 @@ msgstr "" "clear: effacer l'historique\n" "valeur: nombre d'entres dans l'historique afficher" -#: src/common/command.c:100 +#: src/common/command.c:103 msgid "ignore IRC messages and/or hosts" msgstr "ignorer des messages IRC et/ou des masques" -#: src/common/command.c:101 +#: src/common/command.c:104 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[masque [[type | commande] [canal [serveur]]]]" -#: src/common/command.c:102 +#: src/common/command.c:105 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2818,15 +2825,15 @@ msgstr "" "Pour chaque paramtre, '*' signifie tou(te)s.\n" "Sans paramtres, la commande /ignore liste les ignore dfinis." -#: src/common/command.c:111 +#: src/common/command.c:114 msgid "bind/unbind keys" msgstr "associer/librer des touches" -#: src/common/command.c:112 +#: src/common/command.c:115 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "[touche fonction/commande] [unbind touche] [functions] [reset -yes]" -#: src/common/command.c:113 +#: src/common/command.c:116 msgid "" " key: bind this key to an internal function or a command (beginning by " "\"/\")\n" @@ -2843,15 +2850,15 @@ msgstr "" " reset: restaure les touches aux valeurs par dfaut et supprime TOUTES " "les touches personnelles (utiliser avec prcaution !)" -#: src/common/command.c:120 +#: src/common/command.c:123 msgid "list/load/unload plugins" msgstr "liste/charge/dcharge des extensions" -#: src/common/command.c:121 +#: src/common/command.c:124 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[load fichier] | [autoload] | [reload] | [unload]" -#: src/common/command.c:122 +#: src/common/command.c:125 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2861,11 +2868,11 @@ msgstr "" "\n" "Sans paramtre, la commande /plugin liste toutes les extensions charges." -#: src/common/command.c:125 +#: src/common/command.c:128 msgid "list, add or remove servers" msgstr "liste, ajoute ou retire des serveurs" -#: src/common/command.c:126 +#: src/common/command.c:129 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2877,7 +2884,7 @@ msgstr "" "nom_utilisateur] [-realname nom_rel] [-command commande] [-autojoin canal[," "canal]] ] | [del nom_serveur]" -#: src/common/command.c:131 +#: src/common/command.c:134 msgid "" "servername: server name, for internal and display use\n" " hostname: name or IP address of server\n" @@ -2903,27 +2910,27 @@ msgstr "" "nom_utilisateur: nom d'utilisateur\n" " nom_rel: nom rel de l'utilisateur" -#: src/common/command.c:143 +#: src/common/command.c:146 msgid "save config to disk" msgstr "sauvegarder la configuration sur disque" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "[file]" msgstr "[fichier]" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "file: filename for writing config" msgstr "fichier: fichier pour sauvegarder la configuration" -#: src/common/command.c:146 +#: src/common/command.c:149 msgid "set config options" msgstr "modifier des options de configuration" -#: src/common/command.c:147 src/common/command.c:155 +#: src/common/command.c:150 src/common/command.c:158 msgid "[option [ = value]]" msgstr "[option [ = valeur]]" -#: src/common/command.c:148 +#: src/common/command.c:151 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2939,11 +2946,11 @@ msgstr "" "L'option peut tre: nomserveur.server_xxx o \"nomserveur\" est le nom " "interne d'un serveur et \"xxx\" une option pour ce serveur." -#: src/common/command.c:154 +#: src/common/command.c:157 msgid "set plugin config options" msgstr "modifier des options de configuration des extensions" -#: src/common/command.c:156 +#: src/common/command.c:159 msgid "" "option: name of a plugin option\n" " value: value for option\n" @@ -2956,27 +2963,27 @@ msgstr "" "L'option est au format: extension.option, par exemple: perl.monscript." "variable1" -#: src/common/command.c:160 +#: src/common/command.c:163 msgid "remove an alias" msgstr "supprimer un alias" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name" msgstr "nom_alias" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name: name of alias to remove" msgstr "nom_alias: nom de l'alias supprimer" -#: src/common/command.c:163 +#: src/common/command.c:166 msgid "unignore IRC messages and/or hosts" msgstr "supprimer le ignore des messages IRC et/ou des masques" -#: src/common/command.c:164 +#: src/common/command.c:167 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[nombre | [masque [[type | commande] [canal [serveur]]]]]" -#: src/common/command.c:165 +#: src/common/command.c:168 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2999,11 +3006,11 @@ msgstr "" "Pour chaque paramtre, '*' signifie tou(te)s.\n" "Sans paramtre, /ignore liste les ignore dfinis." -#: src/common/command.c:175 +#: src/common/command.c:178 msgid "upgrade WeeChat without disconnecting from servers" msgstr "mettre jour WeeChat sans se dconnecter des serveurs" -#: src/common/command.c:177 +#: src/common/command.c:180 msgid "" "This command run again WeeChat binary, so it should have been compiled " "installed with a package manager before running this command." @@ -3012,23 +3019,23 @@ msgstr "" "compil ou install via un gestionnaire de paquet avant de lancer cette " "commande." -#: src/common/command.c:180 +#: src/common/command.c:183 msgid "show WeeChat uptime" msgstr "montrer l'uptime de WeeChat" -#: src/common/command.c:181 +#: src/common/command.c:184 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:182 +#: src/common/command.c:185 msgid "-o: send uptime on current channel as an IRC message" msgstr "-o: envoyer l'uptime sur le canal courant en tant que message IRC" -#: src/common/command.c:184 +#: src/common/command.c:187 msgid "manage windows" msgstr "gestion des fentres" -#: src/common/command.c:185 +#: src/common/command.c:188 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" @@ -3036,7 +3043,7 @@ msgstr "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[ptc] | resize pct | merge [all]]" -#: src/common/command.c:187 +#: src/common/command.c:190 #, c-format msgid "" " list: list opened windows (no parameter implies this list)\n" @@ -3075,24 +3082,24 @@ msgstr "" "Par exemple 25 signifie crer une fentre qui a pour taille: " "taille_courante / 4" -#: src/common/command.c:384 src/common/command.c:738 +#: src/common/command.c:387 src/common/command.c:741 #, c-format msgid "%s circular reference when calling alias \"/%s\"\n" msgstr "%s rfrence circulaire lors de l'appel l'alias \"%s\"\n" -#: src/common/command.c:718 src/common/command.c:854 src/common/command.c:925 +#: src/common/command.c:721 src/common/command.c:857 src/common/command.c:928 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s la commande \"%s\" a chou\n" -#: src/common/command.c:820 +#: src/common/command.c:823 #, c-format msgid "%s wrong argument count for %s command \"%s\" (expected: %d arg%s)\n" msgstr "" "%s nombre de paramtres incorrect pour la commande %s \"%s\" (attendu: %d " "paramtre%s)\n" -#: src/common/command.c:832 +#: src/common/command.c:835 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -3101,14 +3108,14 @@ msgstr "" "%s nombre de paramtres incorrect pour la commande %s \"%s\" (attendu: entre " "%d et %d paramtre%s)\n" -#: src/common/command.c:881 +#: src/common/command.c:884 #, c-format msgid "%s wrong argument count for IRC command \"%s\" (expected: %d arg%s)\n" msgstr "" "%s nombre de paramtres incorrect pour la commande IRC \"%s\" (attendu: %d " "paramtre%s)\n" -#: src/common/command.c:893 +#: src/common/command.c:896 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -3117,288 +3124,314 @@ msgstr "" "%s nombre de paramtres incorrect pour la commande IRC \"%s\" (attendu: " "entre %d et %d paramtre%s)\n" -#: src/common/command.c:908 +#: src/common/command.c:911 #, c-format msgid "%s command \"%s\" needs a server connection!\n" msgstr "%s la commande \"%s\" ncessite une connexion au serveur !\n" -#: src/common/command.c:938 +#: src/common/command.c:941 #, c-format msgid "%s unknown command \"%s\" (type /help for help)\n" msgstr "%s commande \"%s\" inconnue (tapez /help pour l'aide)\n" -#: src/common/command.c:1083 +#: src/common/command.c:1086 msgid "This window is not a channel!\n" msgstr "Cette fentre n'est pas un canal !\n" -#: src/common/command.c:1116 src/common/command.c:1153 -#: src/common/command.c:1288 +#: src/common/command.c:1119 src/common/command.c:1156 +#: src/common/command.c:1291 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s paramtres manquants pour la commande \"%s\"\n" -#: src/common/command.c:1125 +#: src/common/command.c:1128 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" cr\n" -#: src/common/command.c:1131 +#: src/common/command.c:1134 #, c-format msgid "Failed to create alias \"%s\" => \"%s\" (not enough memory)\n" msgstr "Impossible de crer l'alias \"%s\" => \"%s\" (pas assez de mmoire)\n" -#: src/common/command.c:1143 src/common/command.c:1164 +#: src/common/command.c:1146 src/common/command.c:1167 msgid "List of aliases:\n" msgstr "Liste des alias:\n" -#: src/common/command.c:1178 +#: src/common/command.c:1181 msgid "No alias defined.\n" msgstr "Aucun alias dfini.\n" -#: src/common/command.c:1197 +#: src/common/command.c:1200 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServeur: %s%s\n" -#: src/common/command.c:1202 +#: src/common/command.c:1205 #, c-format msgid "%snot connected\n" msgstr "%snon connect\n" -#: src/common/command.c:1206 +#: src/common/command.c:1209 #, c-format msgid "%sChannel: %s%s %s(server: %s%s%s)\n" msgstr "%sCanal: %s%s %s(serveur: %s%s%s)\n" -#: src/common/command.c:1215 +#: src/common/command.c:1218 #, c-format msgid "%sPrivate with: %s%s %s(server: %s%s%s)\n" msgstr "%sPriv avec: %s%s %s(serveur: %s%s%s)\n" -#: src/common/command.c:1224 src/common/command.c:1236 +#: src/common/command.c:1227 src/common/command.c:1239 #, c-format msgid "%sunknown\n" msgstr "%sinconnu\n" -#: src/common/command.c:1232 +#: src/common/command.c:1235 #, c-format msgid "%sraw IRC data\n" msgstr "%sdonnes IRC brutes\n" -#: src/common/command.c:1267 +#: src/common/command.c:1270 msgid "Opened buffers:\n" msgstr "Tampons ouverts:\n" -#: src/common/command.c:1312 +#: src/common/command.c:1315 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s numro de tampon incorrect\n" -#: src/common/command.c:1329 +#: src/common/command.c:1332 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s impossible de fermer le tampon unique\n" -#: src/common/command.c:1340 +#: src/common/command.c:1343 #, c-format msgid "%s can not close server buffer while channels are opened\n" msgstr "" "%s impossible de fermer le tampon du serveur tant que des canaux sont " "ouverts\n" -#: src/common/command.c:1398 +#: src/common/command.c:1401 msgid "Notify levels: " msgstr "Niveaux de notification: " -#: src/common/command.c:1404 +#: src/common/command.c:1407 msgid "Raw IRC data" msgstr "Donnes IRC brutes" -#: src/common/command.c:1428 src/common/command.c:1478 +#: src/common/command.c:1431 src/common/command.c:1481 #, c-format msgid "%s incorrect notify level (must be between %d and %d)\n" msgstr "%s niveau de notification incorrect (doit tre entre %d et %d)\n" -#: src/common/command.c:1438 +#: src/common/command.c:1441 #, c-format msgid "%s incorrect buffer for notify (must be channel or private)\n" msgstr "" "%s tampon incorrect pour la notification (doit tre un canal ou un priv)\n" -#: src/common/command.c:1448 +#: src/common/command.c:1451 #, c-format msgid "New notify level for %s%s%s: %s%d %s" msgstr "Nouveau niveau de notification pour %s%s%s: %s%d %s" -#: src/common/command.c:1458 +#: src/common/command.c:1461 msgid "(hotlist: never)\n" msgstr "(hotlist: jamais)\n" -#: src/common/command.c:1461 +#: src/common/command.c:1464 msgid "(hotlist: highlights)\n" msgstr "(hotlist: highlights)\n" -#: src/common/command.c:1464 +#: src/common/command.c:1467 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: highlights + messages)\n" -#: src/common/command.c:1467 +#: src/common/command.c:1470 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "(hotlist: highlights + messages + join/part (tous))\n" -#: src/common/command.c:1598 +#: src/common/command.c:1601 #, c-format msgid "Charsets for server %s%s%s: " msgstr "Jeux de caractres pour le serveur %s%s%s: " -#: src/common/command.c:1606 +#: src/common/command.c:1609 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "Jeux de caractres pour le canal %s%s%s: " -#: src/common/command.c:1614 +#: src/common/command.c:1617 #, c-format msgid "Charsets for private %s%s%s: " msgstr "Jeux de caractres pour le priv %s%s%s: " -#: src/common/command.c:1642 src/common/command.c:1672 -#: src/common/command.c:1702 +#: src/common/command.c:1645 src/common/command.c:1675 +#: src/common/command.c:1705 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr " (hrit: \"%s%s%s\")" -#: src/common/command.c:1771 src/common/command.c:1799 -#: src/common/command.c:1941 src/common/command.c:2569 -#: src/common/command.c:3833 src/common/command.c:3876 +#: src/common/command.c:1774 src/common/command.c:1802 +#: src/common/command.c:1944 src/common/command.c:2610 +#: src/common/command.c:3876 src/common/command.c:3919 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "%s option inconnue pour la commande \"%s\"\n" -#: src/common/command.c:1834 +#: src/common/command.c:1837 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s dj connect au serveur \"%s\" !\n" -#: src/common/command.c:1842 +#: src/common/command.c:1845 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "%s une connexion vers le serveur \"%s\" est en cours !\n" -#: src/common/command.c:1861 src/common/command.c:1990 +#: src/common/command.c:1864 src/common/command.c:1993 #, c-format msgid "%s server not found\n" msgstr "%s serveur non trouv\n" -#: src/common/command.c:1974 +#: src/common/command.c:1977 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s non connect au serveur \"%s\" !\n" -#: src/common/command.c:1982 +#: src/common/command.c:1985 msgid "Auto-reconnection is cancelled\n" msgstr "La reconnexion automatique est annule\n" -#: src/common/command.c:2018 src/common/weechat.c:489 +#: src/common/command.c:2021 src/common/weechat.c:489 #, c-format msgid "%s internal commands:\n" msgstr "Commandes internes %s :\n" -#: src/common/command.c:2028 src/common/weechat.c:509 +#: src/common/command.c:2031 src/common/weechat.c:509 #, c-format msgid "IRC commands:\n" msgstr "Commandes IRC :\n" -#: src/common/command.c:2042 +#: src/common/command.c:2045 msgid "Plugin commands:\n" msgstr "Commandes d'extension :\n" -#: src/common/command.c:2158 +#: src/common/command.c:2161 #, c-format msgid "No help available, \"%s\" is an unknown command\n" msgstr "Pas d'aide disponible, la commande \"%s\" est inconnue\n" -#: src/common/command.c:2227 +#: src/common/command.c:2230 #, c-format msgid "%son %s%s%s/%s%s%s:%s ignoring %s%s%s from %s%s\n" msgstr "%ssur %s%s%s/%s%s%s:%s ignore %s%s%s de %s%s\n" -#: src/common/command.c:2265 +#: src/common/command.c:2268 msgid "List of ignore:\n" msgstr "Liste des ignore:\n" -#: src/common/command.c:2282 +#: src/common/command.c:2285 msgid "No ignore defined.\n" msgstr "Aucun ignore dfini.\n" -#: src/common/command.c:2308 +#: src/common/command.c:2311 msgid "New ignore:" msgstr "Nouveau ignore:" -#: src/common/command.c:2328 +#: src/common/command.c:2331 #, c-format msgid "New key binding: %s" msgstr "Nouvelle touche: %s" -#: src/common/command.c:2367 +#: src/common/command.c:2370 msgid "Key bindings:\n" msgstr "Associations de touches:\n" -#: src/common/command.c:2381 +#: src/common/command.c:2384 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Touche \"%s\" supprime\n" -#: src/common/command.c:2387 +#: src/common/command.c:2390 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "%s impossible de supprimer la touche \"%s\"\n" -#: src/common/command.c:2395 src/common/weechat.c:541 +#: src/common/command.c:2398 src/common/weechat.c:541 #, c-format msgid "Internal key functions:\n" msgstr "Fonctions internes pour les touches:\n" -#: src/common/command.c:2415 +#: src/common/command.c:2418 msgid "Default key bindings restored\n" msgstr "Touches par dfaut restaures\n" -#: src/common/command.c:2421 +#: src/common/command.c:2424 #, c-format msgid "%s \"-yes\" argument is required for keys reset (securuty reason)\n" msgstr "" "%s le paramtre \"-yes\" est requis pour la rinitialisation des touches " "(raison de scurit)\n" -#: src/common/command.c:2482 +#: src/common/command.c:2485 msgid "Plugins loaded:\n" msgstr "Extensions charges :\n" -#: src/common/command.c:2498 +#: src/common/command.c:2501 msgid " message handlers:\n" msgstr " fonctions de message :\n" -#: src/common/command.c:2507 +#: src/common/command.c:2510 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:2514 +#: src/common/command.c:2517 msgid " (no message handler)\n" msgstr " (aucune fonction de message)\n" -#: src/common/command.c:2519 +#: src/common/command.c:2522 msgid " command handlers:\n" msgstr " commandes :\n" -#: src/common/command.c:2540 +#: src/common/command.c:2543 msgid " (no command handler)\n" msgstr " (aucune commande)\n" -#: src/common/command.c:2546 +#: src/common/command.c:2548 +msgid " timer handlers:\n" +msgstr " gestionnaires de temps :\n" + +#: src/common/command.c:2557 +#, c-format +msgid " %d seconds\n" +msgstr " %d secondes\n" + +#: src/common/command.c:2564 +msgid " (no timer handler)\n" +msgstr " (pas de gestionnaire de temps)\n" + +#: src/common/command.c:2569 +msgid " keyboard handlers:\n" +msgstr " gestionnaires de clavier :\n" + +#: src/common/command.c:2579 +msgid " (no keyboard handler)\n" +msgstr " (pas de gestionnaire de clavier)\n" + +#: src/common/command.c:2581 +#, c-format +msgid " %d defined\n" +msgstr " %d dfinis\n" + +#: src/common/command.c:2587 msgid " (no plugin)\n" msgstr " (aucune extension)\n" -#: src/common/command.c:2582 src/common/command.c:3462 +#: src/common/command.c:2623 src/common/command.c:3505 #, c-format msgid "" "Command \"%s\" is not available, WeeChat was built without plugins support.\n" @@ -3406,40 +3439,40 @@ msgstr "" "La commande \"%s\" n'est pas disponible, WeeChat a t compil sans le " "support des extensions.\n" -#: src/common/command.c:2611 +#: src/common/command.c:2654 msgid "Configuration file saved\n" msgstr "Fichier de configuration sauv\n" -#: src/common/command.c:2616 +#: src/common/command.c:2659 #, c-format msgid "%s failed to save configuration file\n" msgstr "%s impossible de sauver le fichier de configuration\n" -#: src/common/command.c:2655 +#: src/common/command.c:2698 msgid "No server.\n" msgstr "Pas de serveur.\n" -#: src/common/command.c:2666 +#: src/common/command.c:2709 #, c-format msgid "Server '%s' not found.\n" msgstr "Serveur '%s' non trouv.\n" -#: src/common/command.c:2678 +#: src/common/command.c:2721 #, c-format msgid "%s missing servername for \"%s\" command\n" msgstr "%s il manque le nom du serveur pour la commande \"%s\"\n" -#: src/common/command.c:2686 +#: src/common/command.c:2729 #, c-format msgid "%s too much arguments for \"%s\" command, ignoring arguments\n" msgstr "%s trop de paramtres pour la commande \"%s\", paramtres ignors\n" -#: src/common/command.c:2696 +#: src/common/command.c:2739 #, c-format msgid "%s server \"%s\" not found for \"%s\" command\n" msgstr "%s le serveur \"%s\" n'existe pas pour la commande \"%s\"\n" -#: src/common/command.c:2704 +#: src/common/command.c:2747 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3448,198 +3481,198 @@ msgstr "" "%s vous ne pouvez pas supprimer le server \"%s\" car vous tes connect " "dessus. Essayez /disconnect %s avant.\n" -#: src/common/command.c:2724 +#: src/common/command.c:2767 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "Le serveur %s%s%s a t supprim\n" -#: src/common/command.c:2743 +#: src/common/command.c:2786 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s paramtres manquants pour la commande \"%s\"\n" -#: src/common/command.c:2753 +#: src/common/command.c:2796 #, c-format msgid "%s server \"%s\" already exists, can't create it!\n" msgstr "%s le serveur \"%s\" existe dj, impossible de le crer !\n" -#: src/common/command.c:2782 src/common/command.c:2810 -#: src/common/command.c:2823 src/common/command.c:2849 +#: src/common/command.c:2825 src/common/command.c:2853 +#: src/common/command.c:2866 src/common/command.c:2892 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s mot de passe manquant pour le paramtre \"%s\"\n" -#: src/common/command.c:2795 +#: src/common/command.c:2838 #, c-format msgid "%s missing nick(s) for \"%s\" parameter\n" msgstr "%s pseudo(s) manquant(s) pour le paramtre \"%s\"\n" -#: src/common/command.c:2836 +#: src/common/command.c:2879 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s commande manquante pour le paramtre \"%s\"\n" -#: src/common/command.c:2874 +#: src/common/command.c:2917 #, c-format msgid "Server %s%s%s created\n" msgstr "Serveur %s%s%s cr\n" -#: src/common/command.c:2883 +#: src/common/command.c:2926 #, c-format msgid "%s unable to create server\n" msgstr "%s impossible de crer le serveur\n" -#: src/common/command.c:2943 +#: src/common/command.c:2986 msgid "(unknown)" msgstr "(inconnu)" -#: src/common/command.c:2966 +#: src/common/command.c:3009 #, c-format msgid "%s(password hidden) " msgstr "%s(mot de passe cach) " -#: src/common/command.c:3064 +#: src/common/command.c:3107 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s serveur \"%s\" non trouv\n" -#: src/common/command.c:3097 src/common/command.c:3145 +#: src/common/command.c:3140 src/common/command.c:3188 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s option de configuration \"%s\" non trouve\n" -#: src/common/command.c:3102 src/common/command.c:3137 +#: src/common/command.c:3145 src/common/command.c:3180 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s valeur incorrecte pour l'option \"%s\"\n" -#: src/common/command.c:3118 +#: src/common/command.c:3161 #, c-format msgid "%s option \"%s\" can not be changed while WeeChat is running\n" msgstr "%s l'option \"%s\" ne peut pas tre change lorsque WeeChat tourne\n" -#: src/common/command.c:3228 +#: src/common/command.c:3271 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Aucune option de configuration trouve avec \"%s\"\n" -#: src/common/command.c:3231 +#: src/common/command.c:3274 msgid "No config option found\n" msgstr "Aucune option de configuration trouve\n" -#: src/common/command.c:3238 +#: src/common/command.c:3281 #, c-format msgid "%sDetail:\n" msgstr "%sDtail :\n" -#: src/common/command.c:3243 +#: src/common/command.c:3286 msgid " . type boolean (values: 'on' or 'off')\n" msgstr " . type boolen (valeurs: 'on' ou 'off')\n" -#: src/common/command.c:3244 src/common/command.c:3267 -#: src/common/command.c:3273 src/common/command.c:3279 +#: src/common/command.c:3287 src/common/command.c:3310 +#: src/common/command.c:3316 src/common/command.c:3322 #: src/common/weechat.c:425 src/common/weechat.c:450 src/common/weechat.c:457 #: src/common/weechat.c:464 #, c-format msgid " . default value: '%s'\n" msgstr " . valeur par dfaut: '%s'\n" -#: src/common/command.c:3249 +#: src/common/command.c:3292 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr " . type entier (valeurs: entre %d et %d)\n" -#: src/common/command.c:3252 src/common/weechat.c:434 +#: src/common/command.c:3295 src/common/weechat.c:434 #, c-format msgid " . default value: %d\n" msgstr " . valeur par dfaut: %d\n" -#: src/common/command.c:3256 +#: src/common/command.c:3299 msgid " . type string (values: " msgstr " . type chane (valeurs: " -#: src/common/command.c:3269 src/common/command.c:3275 -#: src/common/command.c:3281 src/common/weechat.c:452 src/common/weechat.c:459 +#: src/common/command.c:3312 src/common/command.c:3318 +#: src/common/command.c:3324 src/common/weechat.c:452 src/common/weechat.c:459 #: src/common/weechat.c:466 msgid "empty" msgstr "vide" -#: src/common/command.c:3272 +#: src/common/command.c:3315 msgid " . type color (Curses or Gtk color, look at WeeChat doc)\n" msgstr " . type couleur (couleur Curses ou Gtk, voir la doc WeeChat)\n" -#: src/common/command.c:3278 +#: src/common/command.c:3321 msgid " . type string (any string)\n" msgstr " . type chane (toute chane)\n" -#: src/common/command.c:3284 src/common/weechat.c:469 +#: src/common/command.c:3327 src/common/weechat.c:469 #, c-format msgid " . description: %s\n" msgstr " . description: %s\n" -#: src/common/command.c:3295 +#: src/common/command.c:3338 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "option(s) de configuration trouve(s) avec \"%s\"\n" -#: src/common/command.c:3298 +#: src/common/command.c:3341 msgid "config option(s) found\n" msgstr "option(s) de configuration trouve(s)\n" -#: src/common/command.c:3406 +#: src/common/command.c:3449 #, c-format msgid "%s incorrect value for plugin option \"%s\"\n" msgstr "%s valeur incorrecte pour l'option d'extension \"%s\"\n" -#: src/common/command.c:3435 +#: src/common/command.c:3478 #, c-format msgid "No plugin option found with \"%s\"\n" msgstr "Aucune option de configuration d'extension trouve avec \"%s\"\n" -#: src/common/command.c:3438 +#: src/common/command.c:3481 msgid "No plugin option found\n" msgstr "Aucune option de configuration d'extension trouve\n" -#: src/common/command.c:3448 +#: src/common/command.c:3491 #, c-format msgid "plugin option(s) found with \"%s\"\n" msgstr "option(s) de configuration d'extension trouve(s) avec \"%s\"\n" -#: src/common/command.c:3451 +#: src/common/command.c:3494 msgid "plugin option(s) found\n" msgstr "option(s) de configuration d'extension trouve(s)\n" -#: src/common/command.c:3489 +#: src/common/command.c:3532 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias ou commande \"%s\" non trouv\n" -#: src/common/command.c:3499 +#: src/common/command.c:3542 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" supprim\n" -#: src/common/command.c:3559 +#: src/common/command.c:3602 msgid "ignore were removed.\n" msgstr "ignore ont t supprims.\n" -#: src/common/command.c:3561 +#: src/common/command.c:3604 msgid "ignore was removed.\n" msgstr "ignore a t supprim.\n" -#: src/common/command.c:3566 +#: src/common/command.c:3609 #, c-format msgid "%s no ignore found\n" msgstr "%s aucun ignore trouv\n" -#: src/common/command.c:3600 +#: src/common/command.c:3643 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "" "%s impossible de mettre jour: une connexion au moins un serveur est en " "cours\n" -#: src/common/command.c:3610 +#: src/common/command.c:3653 #, c-format msgid "" "%s can't upgrade: connection to at least one SSL server is active (should be " @@ -3648,35 +3681,35 @@ msgstr "" "%s impossible de mettre jour: une connexion au moins un serveur SSL est " "active (devrait tre corrig dans une future version)\n" -#: src/common/command.c:3626 +#: src/common/command.c:3669 msgid "Upgrading WeeChat...\n" msgstr "Mise jour de WeeChat...\n" -#: src/common/command.c:3633 +#: src/common/command.c:3676 #, c-format msgid "%s unable to save session in file\n" msgstr "%s impossible de sauver la session dans le fichier\n" -#: src/common/command.c:3659 +#: src/common/command.c:3702 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "%s l'excution a chou (programme: \"%s\"), sortie de WeeChat\n" -#: src/common/command.c:3699 +#: src/common/command.c:3742 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "Uptime WeeChat: %d %s %02d:%02d:%02d, dmarr le %s" -#: src/common/command.c:3713 +#: src/common/command.c:3756 #, c-format msgid "WeeChat uptime: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, started on %s%s" msgstr "Uptime WeeChat: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, dmarr le %s%s" -#: src/common/command.c:3757 +#: src/common/command.c:3800 msgid "Opened windows:\n" msgstr "Fentres ouvertes:\n" -#: src/common/command.c:3844 +#: src/common/command.c:3887 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -5308,7 +5341,9 @@ msgstr "nom de machine/IP personnalis #: src/common/weeconfig.c:951 msgid "" "custom hostname/IP for server (optional, if empty local hostname is used)" -msgstr "nom de machine/IP personnalis pour le serveur (optionnel, si non renseign, le nom de machine local est utilis)" +msgstr "" +"nom de machine/IP personnalis pour le serveur (optionnel, si non renseign, " +"le nom de machine local est utilis)" #: src/common/weeconfig.c:954 msgid "command(s) to run when connected to server" diff --git a/po/hu.po b/po/hu.po index df7ecef4b..e19ace2c0 100644 --- a/po/hu.po +++ b/po/hu.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.9-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2006-03-25 11:52+0100\n" +"POT-Creation-Date: 2006-03-29 20:06+0200\n" "PO-Revision-Date: 2006-03-18 11:46+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -1412,7 +1412,7 @@ msgstr "ki" msgid " (temporary server, will not be saved)" msgstr " (átmeneti szerver, nem lesz mentve)" -#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3423 +#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3426 msgid "seconds" msgstr "másodperc" @@ -1420,7 +1420,7 @@ msgstr "másodperc" msgid "(hidden)" msgstr "(rejtett)" -#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4993 +#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4996 msgid "unknown" msgstr "ismeretlen" @@ -1429,7 +1429,7 @@ msgstr "ismeretlen" msgid "%s: using hostname \"%s\"\n" msgstr "%s: helyi hosztnév \"%s\"\n" -#: src/irc/irc-send.c:221 src/common/command.c:1036 +#: src/irc/irc-send.c:221 src/common/command.c:1039 #, c-format msgid "%s cannot find nick for sending message\n" msgstr "%s nem található név az üzenet küldéséhez\n" @@ -1451,8 +1451,8 @@ msgstr "%s \"%s\" parancs nem futtatható a szerverablakban\n" #: src/irc/irc-send.c:634 src/irc/irc-send.c:646 src/irc/irc-send.c:664 #: src/irc/irc-send.c:1371 src/irc/irc-send.c:1509 src/irc/irc-send.c:2104 -#: src/common/command.c:1922 src/common/command.c:2435 -#: src/common/command.c:2576 +#: src/common/command.c:1925 src/common/command.c:2438 +#: src/common/command.c:2617 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s rossz argumentum szám a \"%s\" parancsnak\n" @@ -1467,7 +1467,7 @@ msgstr "%s rossz argumentum a \"%s\" parancsnak\n" msgid "%s \"%s\" command can only be executed in a channel or private buffer\n" msgstr "%s \"%s\" parancs csak a szobaablakban futtatható\n" -#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:511 +#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:514 #, c-format msgid "%s nick \"%s\" not found for \"%s\" command\n" msgstr "%s név \"%s\" nem található a \"%s\" parancshoz\n" @@ -1482,480 +1482,480 @@ msgstr "%s nem sikerült új privát ablakot nyitni \"%s\"\n" msgid "%s, compiled on %s %s\n" msgstr "%s, lefordítva: %s %s\n" -#: src/irc/irc-recv.c:371 +#: src/irc/irc-recv.c:374 #, c-format msgid "You have been invited to %s%s%s by %s%s\n" msgstr "Meghívást kapott a %s%s%s szobába %s%s felhasználótól\n" -#: src/irc/irc-recv.c:385 src/irc/irc-recv.c:480 src/irc/irc-recv.c:1103 -#: src/irc/irc-recv.c:1525 src/irc/irc-recv.c:1805 src/irc/irc-recv.c:3795 -#: src/irc/irc-recv.c:3816 src/irc/irc-recv.c:3877 src/irc/irc-recv.c:3948 +#: src/irc/irc-recv.c:388 src/irc/irc-recv.c:483 src/irc/irc-recv.c:1106 +#: src/irc/irc-recv.c:1528 src/irc/irc-recv.c:1808 src/irc/irc-recv.c:3798 +#: src/irc/irc-recv.c:3819 src/irc/irc-recv.c:3880 src/irc/irc-recv.c:3951 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "%s a \"%s\" szoba nem található a \"%s\" parancshoz\n" -#: src/irc/irc-recv.c:413 +#: src/irc/irc-recv.c:416 #, c-format msgid "%s cannot create new channel \"%s\"\n" msgstr "%s nem sikerült új szobát nyitni \"%s\"\n" -#: src/irc/irc-recv.c:426 +#: src/irc/irc-recv.c:429 #, c-format msgid "%s%s %s(%s%s%s)%s has joined %s%s\n" msgstr "%s%s %s(%s%s%s)%s belépett a(z) %s%s szobába\n" -#: src/irc/irc-recv.c:488 +#: src/irc/irc-recv.c:491 #, c-format msgid "%s%s%s has kicked %s%s%s from %s%s" msgstr "%s%s%s kirúgva %s%s%s a %s%s szobából" -#: src/irc/irc-recv.c:578 +#: src/irc/irc-recv.c:581 #, c-format msgid "%s%s%s has killed %s%s%s from server" msgstr "" -#: src/irc/irc-recv.c:600 +#: src/irc/irc-recv.c:603 #, c-format msgid "%s host \"%s\" not found for \"%s\" command\n" msgstr "%s a(z) \"%s\" hoszt nem található a \"%s\" parancshoz\n" -#: src/irc/irc-recv.c:641 +#: src/irc/irc-recv.c:644 msgid "sets ban on" msgstr "" -#: src/irc/irc-recv.c:642 +#: src/irc/irc-recv.c:645 msgid "removes ban on" msgstr "" -#: src/irc/irc-recv.c:666 +#: src/irc/irc-recv.c:669 msgid "sets realname ban on" msgstr "" -#: src/irc/irc-recv.c:667 +#: src/irc/irc-recv.c:670 msgid "removes realname ban on" msgstr "" -#: src/irc/irc-recv.c:691 +#: src/irc/irc-recv.c:694 msgid "sets ban exemtion on" msgstr "" -#: src/irc/irc-recv.c:692 +#: src/irc/irc-recv.c:695 msgid "removes ban exemption on" msgstr "" -#: src/irc/irc-recv.c:716 +#: src/irc/irc-recv.c:719 msgid "sets mode +f" msgstr "bekapcsolja az +f módot" -#: src/irc/irc-recv.c:717 +#: src/irc/irc-recv.c:720 msgid "removes mode +f" msgstr "kikapcsolja az +f módot" -#: src/irc/irc-recv.c:741 +#: src/irc/irc-recv.c:744 msgid "gives half channel operator status to" msgstr "féloperátori jogot ad a következő felhasználónak:" -#: src/irc/irc-recv.c:742 +#: src/irc/irc-recv.c:745 msgid "removes half channel operator status from" msgstr "elveszi a féloperátori jogot a következő felhasználótól:" -#: src/irc/irc-recv.c:769 +#: src/irc/irc-recv.c:772 msgid "sets invite-only channel flag" msgstr "bekapcsolja a meghívásos szoba kapcsolót" -#: src/irc/irc-recv.c:770 +#: src/irc/irc-recv.c:773 msgid "removes invite-only channel flag" msgstr "kikapcsolja a meghívásos szoba kapcsolót" -#: src/irc/irc-recv.c:787 +#: src/irc/irc-recv.c:790 msgid "sets invite-only exemption on" msgstr "" -#: src/irc/irc-recv.c:788 +#: src/irc/irc-recv.c:791 msgid "removes invite-only exemption on" msgstr "" -#: src/irc/irc-recv.c:812 +#: src/irc/irc-recv.c:815 msgid "sets channel key to" msgstr "a szoba kulcsát a következőre változtatta:" -#: src/irc/irc-recv.c:813 +#: src/irc/irc-recv.c:816 msgid "removes channel key" msgstr "megszünteti a szoba kulcsát" -#: src/irc/irc-recv.c:844 +#: src/irc/irc-recv.c:847 msgid "sets the user limit to" msgstr "kérésére a felhasználói limit:" -#: src/irc/irc-recv.c:845 +#: src/irc/irc-recv.c:848 msgid "removes user limit" msgstr "megszünteti a felhasználói limitet" -#: src/irc/irc-recv.c:867 +#: src/irc/irc-recv.c:870 msgid "sets moderated channel flag" msgstr "bekapcsolja a moderált szoba kapcsolót" -#: src/irc/irc-recv.c:868 +#: src/irc/irc-recv.c:871 msgid "removes moderated channel flag" msgstr "kikapcsolja a moderált szoba kapcsolót" -#: src/irc/irc-recv.c:878 +#: src/irc/irc-recv.c:881 msgid "sets messages from channel only flag" msgstr "bekapcsolja az üzenet csak ebből a szobából kapcsolót" -#: src/irc/irc-recv.c:879 +#: src/irc/irc-recv.c:882 msgid "removes messages from channel only flag" msgstr "kikapcsolja az üzenet csak ebből a szobából kapcsolót" -#: src/irc/irc-recv.c:896 +#: src/irc/irc-recv.c:899 msgid "gives channel operator status to" msgstr "operátori jogot ad a következőnek:" -#: src/irc/irc-recv.c:897 +#: src/irc/irc-recv.c:900 msgid "removes channel operator status from" msgstr "elveszi az operátori jogot a következőktől:" -#: src/irc/irc-recv.c:924 +#: src/irc/irc-recv.c:927 msgid "sets private channel flag" msgstr "bekapcsolja a privát szoba kapcsolót" -#: src/irc/irc-recv.c:925 +#: src/irc/irc-recv.c:928 msgid "removes private channel flag" msgstr "kikapcsolja a privát szoba kapcsolót" -#: src/irc/irc-recv.c:942 +#: src/irc/irc-recv.c:945 msgid "sets quiet on" msgstr "bekapcsolja a csendes módot" -#: src/irc/irc-recv.c:943 +#: src/irc/irc-recv.c:946 msgid "removes quiet on" msgstr "kikapcsolja a csendes módot" -#: src/irc/irc-recv.c:960 +#: src/irc/irc-recv.c:963 msgid "sets secret channel flag" msgstr "bekapcsolja a titkos szoba kapcsolót" -#: src/irc/irc-recv.c:961 +#: src/irc/irc-recv.c:964 msgid "removes secret channel flag" msgstr "kikapcsolja a titkos szoba kapcsolót" -#: src/irc/irc-recv.c:971 +#: src/irc/irc-recv.c:974 msgid "sets topic protection" msgstr "bekapcsolja a témavédelmet" -#: src/irc/irc-recv.c:972 +#: src/irc/irc-recv.c:975 msgid "removes topic protection" msgstr "kikapcsolja a témavédelmet" -#: src/irc/irc-recv.c:989 +#: src/irc/irc-recv.c:992 msgid "gives voice to" msgstr "voice jogot biztosít a következőnek:" -#: src/irc/irc-recv.c:990 +#: src/irc/irc-recv.c:993 msgid "removes voice from" msgstr "elveszi a voice jogot a következőtől:" -#: src/irc/irc-recv.c:1062 src/irc/irc-recv.c:1148 src/irc/irc-recv.c:1604 -#: src/irc/irc-recv.c:2429 +#: src/irc/irc-recv.c:1065 src/irc/irc-recv.c:1151 src/irc/irc-recv.c:1607 +#: src/irc/irc-recv.c:2432 #, c-format msgid "%s \"%s\" command received without host\n" msgstr "" -#: src/irc/irc-recv.c:1072 +#: src/irc/irc-recv.c:1075 #, c-format msgid "%s \"%s\" command received without channel or nickname\n" msgstr "" -#: src/irc/irc-recv.c:1114 +#: src/irc/irc-recv.c:1117 #, c-format msgid "%s[%s%s%s/%s%s%s]%s mode changed by %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1183 +#: src/irc/irc-recv.c:1186 #, c-format msgid "You are now known as %s%s\n" msgstr "Az új neved: %s%s\n" -#: src/irc/irc-recv.c:1187 +#: src/irc/irc-recv.c:1190 #, c-format msgid "%s%s%s is now known as %s%s\n" msgstr "%s%s%s új neve: %s%s\n" -#: src/irc/irc-recv.c:1255 +#: src/irc/irc-recv.c:1258 #, c-format msgid "%s nickname not found for \"%s\" command\n" msgstr "%s nem található név a \"%s\" parancshoz\n" -#: src/irc/irc-recv.c:1269 +#: src/irc/irc-recv.c:1272 #, c-format msgid "CTCP %sVERSION%s reply from %s%s%s: %s\n" msgstr "" -#: src/irc/irc-recv.c:1303 +#: src/irc/irc-recv.c:1306 #, c-format msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "" -#: src/irc/irc-recv.c:1326 src/irc/irc-recv.c:2232 src/irc/irc-recv.c:2344 +#: src/irc/irc-recv.c:1329 src/irc/irc-recv.c:2235 src/irc/irc-recv.c:2347 #, c-format msgid "%s cannot create new private window \"%s\"\n" msgstr "%s nem sikerült új privát ablakot nyitni \"%s\"\n" -#: src/irc/irc-recv.c:1351 src/irc/irc-recv.c:2369 +#: src/irc/irc-recv.c:1354 src/irc/irc-recv.c:2372 msgid "Private" msgstr "Privát" -#: src/irc/irc-recv.c:1427 +#: src/irc/irc-recv.c:1430 #, c-format msgid "%s \"%s\" command received without host or channel\n" msgstr "" -#: src/irc/irc-recv.c:1455 +#: src/irc/irc-recv.c:1458 #, c-format msgid "%s%s %s(%s%s%s)%s has left %s%s" msgstr "%s%s %s(%s%s%s)%s elhagyta a(z) %s%s szobát" -#: src/irc/irc-recv.c:1654 src/irc/irc-recv.c:1780 src/irc/irc-recv.c:2260 +#: src/irc/irc-recv.c:1657 src/irc/irc-recv.c:1783 src/irc/irc-recv.c:2263 msgid "Channel" msgstr "Szoba" -#: src/irc/irc-recv.c:1688 +#: src/irc/irc-recv.c:1691 #, c-format msgid "Received a CTCP %sSOUND%s \"%s\" from %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1718 src/irc/irc-recv.c:1904 +#: src/irc/irc-recv.c:1721 src/irc/irc-recv.c:1907 #, c-format msgid "CTCP %sPING%s received from %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1747 src/irc/irc-recv.c:2311 +#: src/irc/irc-recv.c:1750 src/irc/irc-recv.c:2314 #, c-format msgid "Unknown CTCP %s%s%s received from %s%s" msgstr "" -#: src/irc/irc-recv.c:1860 +#: src/irc/irc-recv.c:1863 #, c-format msgid "CTCP %sVERSION%s received from %s%s" msgstr "" -#: src/irc/irc-recv.c:1927 src/irc/irc-recv.c:1948 src/irc/irc-recv.c:1964 -#: src/irc/irc-recv.c:1980 src/irc/irc-recv.c:2011 src/irc/irc-recv.c:2032 -#: src/irc/irc-recv.c:2048 src/irc/irc-recv.c:2078 src/irc/irc-recv.c:2099 -#: src/irc/irc-recv.c:2115 src/irc/irc-recv.c:2145 src/irc/irc-recv.c:2166 -#: src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2405 src/irc/irc-recv.c:2756 -#: src/irc/irc-recv.c:4155 src/irc/irc-recv.c:4170 src/irc/irc-recv.c:4185 -#: src/irc/irc-recv.c:4200 src/irc/irc-recv.c:4213 src/irc/irc-recv.c:4278 -#: src/irc/irc-recv.c:4292 src/irc/irc-recv.c:4526 src/irc/irc-recv.c:4584 -#: src/irc/irc-recv.c:4722 src/irc/irc-recv.c:4737 src/irc/irc-recv.c:4843 -#: src/irc/irc-recv.c:4857 +#: src/irc/irc-recv.c:1930 src/irc/irc-recv.c:1951 src/irc/irc-recv.c:1967 +#: src/irc/irc-recv.c:1983 src/irc/irc-recv.c:2014 src/irc/irc-recv.c:2035 +#: src/irc/irc-recv.c:2051 src/irc/irc-recv.c:2081 src/irc/irc-recv.c:2102 +#: src/irc/irc-recv.c:2118 src/irc/irc-recv.c:2148 src/irc/irc-recv.c:2169 +#: src/irc/irc-recv.c:2184 src/irc/irc-recv.c:2408 src/irc/irc-recv.c:2759 +#: src/irc/irc-recv.c:4158 src/irc/irc-recv.c:4173 src/irc/irc-recv.c:4188 +#: src/irc/irc-recv.c:4203 src/irc/irc-recv.c:4216 src/irc/irc-recv.c:4281 +#: src/irc/irc-recv.c:4295 src/irc/irc-recv.c:4529 src/irc/irc-recv.c:4587 +#: src/irc/irc-recv.c:4725 src/irc/irc-recv.c:4740 src/irc/irc-recv.c:4846 +#: src/irc/irc-recv.c:4860 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "%s nem sikerült végrehajtani a \"%s\" parancsot\n" -#: src/irc/irc-recv.c:2194 +#: src/irc/irc-recv.c:2197 #, c-format msgid "%s unknown DCC CHAT type received from " msgstr "" -#: src/irc/irc-recv.c:2452 +#: src/irc/irc-recv.c:2455 #, c-format msgid "%s%s %s(%s%s%s)%s has quit" msgstr "%s%s %s(%s%s%s)%s kilépett" -#: src/irc/irc-recv.c:2583 +#: src/irc/irc-recv.c:2586 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "" -#: src/irc/irc-recv.c:2612 +#: src/irc/irc-recv.c:2615 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "%s%s%s megváltoztatta a %s%s%s szoba témáját:" -#: src/irc/irc-recv.c:2623 +#: src/irc/irc-recv.c:2626 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "%s%s%s törölte a %s%s szoba témáját\n" -#: src/irc/irc-recv.c:2742 +#: src/irc/irc-recv.c:2745 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "Felhasználói mód %s[%s%s%s/%s%s%s]\n" -#: src/irc/irc-recv.c:2806 +#: src/irc/irc-recv.c:2809 #, c-format msgid "%s%s%s is away: %s\n" msgstr "%s%s%s távol: %s\n" -#: src/irc/irc-recv.c:2898 +#: src/irc/irc-recv.c:2901 msgid "Users online: " msgstr "Online felhasználók: " -#: src/irc/irc-recv.c:3274 +#: src/irc/irc-recv.c:3277 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "" -#: src/irc/irc-recv.c:3395 +#: src/irc/irc-recv.c:3398 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s tétlen: " -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "days" msgstr "nap" -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "day" msgstr "nap" -#: src/irc/irc-recv.c:3411 +#: src/irc/irc-recv.c:3414 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, bejelentkezett: %s%s" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hours" msgstr "óra" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hour" msgstr "óra" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minutes" msgstr "perc" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minute" msgstr "perc" -#: src/irc/irc-recv.c:3423 +#: src/irc/irc-recv.c:3426 msgid "second" msgstr "másodperc" -#: src/irc/irc-recv.c:3807 +#: src/irc/irc-recv.c:3810 #, c-format msgid "No topic set for %s%s\n" msgstr "Nincs téma beállítva a %s%s szobában\n" -#: src/irc/irc-recv.c:3863 +#: src/irc/irc-recv.c:3866 #, c-format msgid "Topic for %s%s%s is: " msgstr "A %s%s%s szoba témája: " -#: src/irc/irc-recv.c:3887 src/irc/irc-recv.c:3975 src/irc/irc-recv.c:4030 +#: src/irc/irc-recv.c:3890 src/irc/irc-recv.c:3978 src/irc/irc-recv.c:4033 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "%s nem sikerült azonosítani a szobát a \"%s\" parancshoz\n" -#: src/irc/irc-recv.c:3937 +#: src/irc/irc-recv.c:3940 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "A témát beállította: %s%s%s, %s" -#: src/irc/irc-recv.c:3957 +#: src/irc/irc-recv.c:3960 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "%s nem sikerült a dátumot/időt meghatározni a \"%s\" parancshoz\n" -#: src/irc/irc-recv.c:3966 src/irc/irc-recv.c:4039 +#: src/irc/irc-recv.c:3969 src/irc/irc-recv.c:4042 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "%s nem sikerült a felhasználót meghatározni a \"%s\" parancshoz\n" -#: src/irc/irc-recv.c:4015 +#: src/irc/irc-recv.c:4018 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "%s%s%s meghívta %s%s%s-t %s%s-kor\n" -#: src/irc/irc-recv.c:4075 +#: src/irc/irc-recv.c:4078 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "" -#: src/irc/irc-recv.c:4572 +#: src/irc/irc-recv.c:4575 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:4630 +#: src/irc/irc-recv.c:4633 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "Felhasználók a %s%s%s szobában: %s[" -#: src/irc/irc-recv.c:4651 +#: src/irc/irc-recv.c:4654 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" "%s%s%s szoba: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nicks" msgstr "név" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nick" msgstr "név" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "ops" msgstr "operátor" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "op" msgstr "operátor" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfops" msgstr "féloperátor" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfop" msgstr "féloperátor" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voices" msgstr "" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voice" msgstr "" -#: src/irc/irc-recv.c:4676 +#: src/irc/irc-recv.c:4679 msgid "normal" msgstr "normál" -#: src/irc/irc-recv.c:4777 +#: src/irc/irc-recv.c:4780 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "%s[%s%s%s] %s%s%s-t kitiltotta " -#: src/irc/irc-recv.c:4812 +#: src/irc/irc-recv.c:4815 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "%s[%s%s%s] %s%s%s kitiltva\n" -#: src/irc/irc-recv.c:4947 +#: src/irc/irc-recv.c:4950 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "%s: a(z) \"%s\" név már foglalt, próbálom a második nevet: \"%s\"\n" -#: src/irc/irc-recv.c:4959 +#: src/irc/irc-recv.c:4962 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "%s: a(z) \"%s\" név már foglalt, próbálom a harmadik nevet: \"%s\"\n" -#: src/irc/irc-recv.c:4971 +#: src/irc/irc-recv.c:4974 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " "server!\n" msgstr "%s: minden megadott név foglalt, kapcsolat bontása a szerverrel!\n" -#: src/irc/irc-recv.c:4981 +#: src/irc/irc-recv.c:4984 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "%s: a(z) \"%s\" név már foglalt, próbálom az első nevet: \"%s\"\n" @@ -2183,29 +2183,34 @@ msgid "" msgstr "" #: src/plugins/plugins.c:366 -#, c-format +#, fuzzy, c-format msgid "%s plugin %s: unable to add timer handler (not enough memory)\n" -msgstr "" +msgstr "%s nem sikerült a modult betölteni \"%s\" (nincs elég memória)\n" -#: src/plugins/plugins.c:657 +#: src/plugins/plugins.c:422 +#, fuzzy, c-format +msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n" +msgstr "%s nem sikerült a modult betölteni \"%s\" (nincs elég memória)\n" + +#: src/plugins/plugins.c:758 #, c-format msgid "%s unable to load plugin \"%s\": %s\n" msgstr "%s nem sikerült a modult betölteni \"%s\": %s\n" -#: src/plugins/plugins.c:668 +#: src/plugins/plugins.c:769 #, c-format msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n" msgstr "" "%s a \"plugin_name\" szimbólum nem található a \"%s\" modulban, betöltés " "sikertelen\n" -#: src/plugins/plugins.c:679 +#: src/plugins/plugins.c:780 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" msgstr "%s nem sikerült a \"%s\" modult betölteni: már van ilyen nevű modul\n" -#: src/plugins/plugins.c:691 +#: src/plugins/plugins.c:792 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" @@ -2213,7 +2218,7 @@ msgstr "" "%s a \"plugin_description\" szimbólum nem található a \"%s\" modulban, " "betöltés sikertelen\n" -#: src/plugins/plugins.c:702 +#: src/plugins/plugins.c:803 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" @@ -2221,7 +2226,7 @@ msgstr "" "%s a \"plugin_version\" szimbólum nem található a \"%s\" modulban, betöltés " "sikertelen\n" -#: src/plugins/plugins.c:713 +#: src/plugins/plugins.c:814 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " @@ -2230,32 +2235,32 @@ msgstr "" "%s a \"weechat_plugin_init\" függvény nem található a \"%s\" modulban, " "betöltés sikertelen\n" -#: src/plugins/plugins.c:776 +#: src/plugins/plugins.c:879 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "Modul betöltése: \"%s\" %s\n" -#: src/plugins/plugins.c:784 +#: src/plugins/plugins.c:887 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "%s nem sikerült a modult betölteni \"%s\"\n" -#: src/plugins/plugins.c:795 +#: src/plugins/plugins.c:898 #, c-format msgid "%s unable to load plugin \"%s\" (not enough memory)\n" msgstr "%s nem sikerült a modult betölteni \"%s\" (nincs elég memória)\n" -#: src/plugins/plugins.c:803 +#: src/plugins/plugins.c:906 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "A \"%s\" (%s) modul betöltve.\n" -#: src/plugins/plugins.c:970 +#: src/plugins/plugins.c:1073 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "A \"%s\" modul eltávolítva.\n" -#: src/plugins/plugins.c:976 src/common/command.c:3384 +#: src/plugins/plugins.c:1079 src/common/command.c:3427 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "%s a \"%s\" modul nem található\n" @@ -2266,7 +2271,7 @@ msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "%s %s, %d. sor: érvénytelen szintaxis, hiányzó \"=\"\n" #: src/plugins/plugins-config.c:352 src/common/weeconfig.c:2078 -#: src/common/weeconfig.c:2284 +#: src/common/weeconfig.c:2285 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "%s nem sikerült a \"%s\" fájlt létrehozni\n" @@ -2290,314 +2295,314 @@ msgstr "" "# FIGYELEM! A WeeChat felülírja ezt a fájlt, ha a beállítások megváltoznak.\n" "#\n" -#: src/plugins/plugins-interface.c:360 +#: src/plugins/plugins-interface.c:376 #, c-format msgid "%s server/channel (%s/%s) not found for plugin exec command\n" msgstr "%s (%s/%s) szerver/szoba nem található a modul futtatása parancshoz\n" -#: src/gui/curses/gui-input.c:353 +#: src/gui/curses/gui-input.c:386 #, c-format msgid "Day changed to %s\n" msgstr "A mai dátum: %s\n" -#: src/gui/curses/gui-input.c:458 +#: src/gui/curses/gui-input.c:491 #, c-format msgid "%s lag is high, disconnecting from server...\n" msgstr "%s túl nagy a késés(lag), lecsatlakozás a szerverről...\n" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "bytes" msgstr "byte" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Kb" msgstr "Kb" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Mb" msgstr "Mb" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Gb" msgstr "Gb" -#: src/gui/curses/gui-display.c:1603 +#: src/gui/curses/gui-display.c:1644 msgid "ETA" msgstr "" -#: src/gui/curses/gui-display.c:1965 +#: src/gui/curses/gui-display.c:2006 msgid "" msgstr "" -#: src/gui/curses/gui-display.c:1977 +#: src/gui/curses/gui-display.c:2018 msgid "(away)" msgstr "(távol)" -#: src/gui/curses/gui-display.c:2111 +#: src/gui/curses/gui-display.c:2152 msgid "[not connected] " msgstr "[nincs csatlakozva]" -#: src/gui/curses/gui-display.c:2117 +#: src/gui/curses/gui-display.c:2158 msgid " " msgstr " " -#: src/gui/curses/gui-display.c:2129 +#: src/gui/curses/gui-display.c:2170 msgid "Act: " msgstr "Akt: " -#: src/gui/curses/gui-display.c:2210 +#: src/gui/curses/gui-display.c:2251 msgid "RAW_IRC" msgstr "" -#: src/gui/curses/gui-display.c:2231 +#: src/gui/curses/gui-display.c:2272 #, c-format msgid "Lag: %.1f" msgstr "Lag: %.1f" -#: src/gui/curses/gui-display.c:2247 +#: src/gui/curses/gui-display.c:2288 msgid "-MORE-" msgstr "-TOVÁBB-" -#: src/gui/curses/gui-display.c:2506 +#: src/gui/curses/gui-display.c:2587 msgid " [A] Accept" msgstr " [A] Elfogadás" -#: src/gui/curses/gui-display.c:2507 src/gui/curses/gui-display.c:2511 +#: src/gui/curses/gui-display.c:2588 src/gui/curses/gui-display.c:2592 msgid " [C] Cancel" msgstr " [C] Mégsem" -#: src/gui/curses/gui-display.c:2516 +#: src/gui/curses/gui-display.c:2597 msgid " [R] Remove" msgstr " [R] Eltávolítás" -#: src/gui/curses/gui-display.c:2520 +#: src/gui/curses/gui-display.c:2601 msgid " [P] Purge old DCC" msgstr " [P] Régi DCC törlése" -#: src/gui/curses/gui-display.c:2521 +#: src/gui/curses/gui-display.c:2602 msgid " [Q] Close DCC view" msgstr " [Q] DCC nézet bezárása" -#: src/gui/curses/gui-display.c:2529 +#: src/gui/curses/gui-display.c:2610 msgid " [Q] Close raw data view" msgstr " [Q] Nyers adat nézet bezárása" -#: src/gui/gtk/gui-display.c:2263 +#: src/gui/gtk/gui-display.c:2276 msgid "server" msgstr "szerver" -#: src/gui/gui-common.c:770 +#: src/gui/gui-common.c:777 msgid "Not enough memory for new line\n" msgstr "Nincs elég memória az új sorhoz\n" -#: src/gui/gui-common.c:1139 +#: src/gui/gui-common.c:1146 msgid "Not enough memory for infobar message\n" msgstr "Nincs elég memória az információs pult üzenethez\n" -#: src/gui/gui-keyboard.c:45 +#: src/gui/gui-keyboard.c:49 msgid "terminate line" msgstr "sor megszakítása" -#: src/gui/gui-keyboard.c:47 +#: src/gui/gui-keyboard.c:51 msgid "complete word" msgstr "szó kiegészítése" -#: src/gui/gui-keyboard.c:49 +#: src/gui/gui-keyboard.c:53 msgid "delete previous char" msgstr "előző karakter törlése" -#: src/gui/gui-keyboard.c:51 +#: src/gui/gui-keyboard.c:55 msgid "delete next char" msgstr "következő karakter törlése" -#: src/gui/gui-keyboard.c:53 +#: src/gui/gui-keyboard.c:57 msgid "delete until end of line" msgstr "törlés a sor végéig" -#: src/gui/gui-keyboard.c:55 +#: src/gui/gui-keyboard.c:59 msgid "delete until beginning of line" msgstr "törlés a sor elejéig" -#: src/gui/gui-keyboard.c:57 +#: src/gui/gui-keyboard.c:61 msgid "delete entire line" msgstr "egész sor törlése" -#: src/gui/gui-keyboard.c:59 +#: src/gui/gui-keyboard.c:63 msgid "delete previous word" msgstr "előző szó törlése" -#: src/gui/gui-keyboard.c:61 +#: src/gui/gui-keyboard.c:65 msgid "delete next word" msgstr "következő szó törlése" -#: src/gui/gui-keyboard.c:63 +#: src/gui/gui-keyboard.c:67 msgid "paste current clipboard content" msgstr "következő vágólapelem beillesztése" -#: src/gui/gui-keyboard.c:65 +#: src/gui/gui-keyboard.c:69 msgid "transpose chars" msgstr "karakterek felcserélése" -#: src/gui/gui-keyboard.c:67 +#: src/gui/gui-keyboard.c:71 msgid "go to beginning of line" msgstr "ugrás a sor elejére" -#: src/gui/gui-keyboard.c:69 +#: src/gui/gui-keyboard.c:73 msgid "go to end of line" msgstr "ugrás a sor végére" -#: src/gui/gui-keyboard.c:71 +#: src/gui/gui-keyboard.c:75 msgid "move one char left" msgstr "egy karaktert balra" -#: src/gui/gui-keyboard.c:73 +#: src/gui/gui-keyboard.c:77 msgid "move to previous word" msgstr "ugrás az előző szóra" -#: src/gui/gui-keyboard.c:75 +#: src/gui/gui-keyboard.c:79 msgid "move one char right" msgstr "egy karaktert balra" -#: src/gui/gui-keyboard.c:77 +#: src/gui/gui-keyboard.c:81 msgid "move to next word" msgstr "ugrás a következő szóra" -#: src/gui/gui-keyboard.c:79 +#: src/gui/gui-keyboard.c:83 msgid "call previous command in history" msgstr "előző parancs hívása az előzményekből" -#: src/gui/gui-keyboard.c:81 +#: src/gui/gui-keyboard.c:85 msgid "call previous command in global history" msgstr "előző parancs hívása a globális előzményekből" -#: src/gui/gui-keyboard.c:83 +#: src/gui/gui-keyboard.c:87 msgid "call next command in history" msgstr "kövezkező parancs hívása az előzményekből" -#: src/gui/gui-keyboard.c:85 +#: src/gui/gui-keyboard.c:89 msgid "call next command in global history" msgstr "következő parancs hívása a globális előzményekből" -#: src/gui/gui-keyboard.c:87 +#: src/gui/gui-keyboard.c:91 msgid "scroll one page up" msgstr "ugrás egy oldallal feljebb" -#: src/gui/gui-keyboard.c:89 +#: src/gui/gui-keyboard.c:93 msgid "scroll one page down" msgstr "ugrás egy oldallal lejjebb" -#: src/gui/gui-keyboard.c:91 +#: src/gui/gui-keyboard.c:95 msgid "scroll a few lines up" msgstr "ugrás néhány sorral feljebb" -#: src/gui/gui-keyboard.c:93 +#: src/gui/gui-keyboard.c:97 msgid "scroll a few lines down" msgstr "ugrás néhány sorral lejjebb" -#: src/gui/gui-keyboard.c:95 +#: src/gui/gui-keyboard.c:99 msgid "scroll to top of buffer" msgstr "ugrás a puffer tetejére" -#: src/gui/gui-keyboard.c:97 +#: src/gui/gui-keyboard.c:101 msgid "scroll to bottom of buffer" msgstr "ugrás a puffer végére" -#: src/gui/gui-keyboard.c:99 +#: src/gui/gui-keyboard.c:103 msgid "display beginning of nicklist" msgstr "névlista elejének mutatása" -#: src/gui/gui-keyboard.c:101 +#: src/gui/gui-keyboard.c:105 msgid "display end of nicklist" msgstr "névlista végének mutatása" -#: src/gui/gui-keyboard.c:103 +#: src/gui/gui-keyboard.c:107 msgid "scroll nicklist one page up" msgstr "névlista görgetése egy oldallal feljebb" -#: src/gui/gui-keyboard.c:105 +#: src/gui/gui-keyboard.c:109 msgid "scroll nicklist one page down" msgstr "névlista görgetése egy oldallal lejjebb" -#: src/gui/gui-keyboard.c:107 +#: src/gui/gui-keyboard.c:111 msgid "jump to buffer with activity" msgstr "ugrás aktív pufferre" -#: src/gui/gui-keyboard.c:109 +#: src/gui/gui-keyboard.c:113 msgid "jump to DCC buffer" msgstr "ugrás a DCC pufferre" -#: src/gui/gui-keyboard.c:111 +#: src/gui/gui-keyboard.c:115 msgid "jump to raw IRC data buffer" msgstr "ugrás a nyers IRC adat pufferre" -#: src/gui/gui-keyboard.c:113 +#: src/gui/gui-keyboard.c:117 msgid "jump to last buffer" msgstr "ugrás az utolsó pufferre" -#: src/gui/gui-keyboard.c:115 +#: src/gui/gui-keyboard.c:119 msgid "jump to server buffer" msgstr "ugrás a szerver pufferre" -#: src/gui/gui-keyboard.c:117 +#: src/gui/gui-keyboard.c:121 msgid "jump to next server" msgstr "ugrás a következő szerverre" -#: src/gui/gui-keyboard.c:119 +#: src/gui/gui-keyboard.c:123 msgid "switch active server on servers buffer" msgstr "aktív szerverek változtatása a szerver pufferben" -#: src/gui/gui-keyboard.c:121 +#: src/gui/gui-keyboard.c:125 msgid "scroll to previous highlight in buffer" msgstr "ugrás az előző kiemelésre a pufferben" -#: src/gui/gui-keyboard.c:123 +#: src/gui/gui-keyboard.c:127 msgid "scroll to next highlight in buffer" msgstr "ugrás a következő kiemelésre a pufferben" -#: src/gui/gui-keyboard.c:125 +#: src/gui/gui-keyboard.c:129 msgid "scroll to first unread line in buffer" msgstr "ugrás az első olvasatlan sorra a pufferben" -#: src/gui/gui-keyboard.c:127 +#: src/gui/gui-keyboard.c:131 msgid "clear hotlist" msgstr "hotlist törlése" -#: src/gui/gui-keyboard.c:129 +#: src/gui/gui-keyboard.c:133 msgid "clear infobar" msgstr "információs pult törlése" -#: src/gui/gui-keyboard.c:131 +#: src/gui/gui-keyboard.c:135 msgid "refresh screen" msgstr "képernyő frissítése" -#: src/gui/gui-keyboard.c:133 +#: src/gui/gui-keyboard.c:137 msgid "grab a key" msgstr "" -#: src/gui/gui-keyboard.c:444 src/common/command.c:2450 +#: src/gui/gui-keyboard.c:448 src/common/command.c:2453 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "" -#: src/gui/gui-keyboard.c:455 +#: src/gui/gui-keyboard.c:459 #, c-format msgid "%s unable to bind key \"%s\" (invalid function name: \"%s\")\n" msgstr "" -#: src/gui/gui-keyboard.c:468 +#: src/gui/gui-keyboard.c:472 #, c-format msgid "%s not enough memory for key binding\n" msgstr "" -#: src/common/command.c:45 +#: src/common/command.c:48 msgid "create an alias for a command" msgstr "alias készítése egy parancshoz" -#: src/common/command.c:46 +#: src/common/command.c:49 msgid "[alias_name [command [arguments]]" msgstr "[alias_név [parancs [paraméterek]]]" -#: src/common/command.c:47 +#: src/common/command.c:50 msgid "" "alias_name: name of alias\n" " command: command name (WeeChat or IRC command, without first '/')\n" @@ -2607,16 +2612,16 @@ msgstr "" " parancs: parancs neve (WeeChat vagy IRC parancs, a kezdő '/' nélkül)\n" "paraméterek: a parancs paraméterei" -#: src/common/command.c:52 +#: src/common/command.c:55 msgid "manage buffers" msgstr "pufferek kezelése" -#: src/common/command.c:53 +#: src/common/command.c:56 #, fuzzy msgid "[action [args] | number | [[server] [channel]]]" msgstr "[utasítás | szám | [[szerver] [szoba]]]" -#: src/common/command.c:54 +#: src/common/command.c:57 #, fuzzy msgid "" " action: action to do:\n" @@ -2639,32 +2644,32 @@ msgstr "" "szoba: ugrás pufferre szerver- és/vagy szobanév alapján\n" " szám: ugrás az adott sorszámú pufferre" -#: src/common/command.c:63 +#: src/common/command.c:66 msgid "" "launch WeeChat/IRC builtin command (do not look at plugins handlers or " "aliases)" msgstr "" -#: src/common/command.c:64 +#: src/common/command.c:67 #, fuzzy msgid "command" msgstr "[parancs]" -#: src/common/command.c:65 +#: src/common/command.c:68 msgid "" "command: command to execute (a '/' is automatically added if not found at " "beginning of command)\n" msgstr "" -#: src/common/command.c:67 +#: src/common/command.c:70 msgid "change charset for server or channel" msgstr "szoba vagy szerver karakterkódolásának módosítása" -#: src/common/command.c:68 +#: src/common/command.c:71 msgid "[(decode_iso | decode_utf | encode) charset]" msgstr "[(dekód_iso | dekód_utf | kódolás) karakterkészlet" -#: src/common/command.c:69 +#: src/common/command.c:72 msgid "" "decode_iso: charset used for decoding ISO\n" "decode_utf: charset used for decoding UTF\n" @@ -2677,74 +2682,74 @@ msgstr "" "karakterkészlet: használni kívánt karakterkészlet (például: ISO-8859-2, UTF-" "8,..)" -#: src/common/command.c:74 +#: src/common/command.c:77 msgid "clear window(s)" msgstr "ablak(ok) törlése" -#: src/common/command.c:75 +#: src/common/command.c:78 msgid "[-all]" msgstr "[-all]" -#: src/common/command.c:76 +#: src/common/command.c:79 msgid "-all: clear all windows" msgstr "-all: minden ablak törlése" -#: src/common/command.c:78 +#: src/common/command.c:81 msgid "connect to a server" msgstr "csatlakozás egy szerverhez" -#: src/common/command.c:79 src/common/command.c:83 +#: src/common/command.c:82 src/common/command.c:86 msgid "[servername]" msgstr "[szervernév]" -#: src/common/command.c:80 +#: src/common/command.c:83 msgid "servername: server name to connect" msgstr "szervernév: a szerver neve ahová csatlakozik" -#: src/common/command.c:82 +#: src/common/command.c:85 msgid "disconnect from a server" msgstr "kilépés a szerverről" -#: src/common/command.c:84 +#: src/common/command.c:87 msgid "servername: server name to disconnect" msgstr "szervernév: a szerver neve ahonnan lecsatlakozunk" -#: src/common/command.c:86 +#: src/common/command.c:89 msgid "print debug messages" msgstr "hibakereső üzenetek megjelenítése" -#: src/common/command.c:87 +#: src/common/command.c:90 msgid "dump | windows" msgstr "" -#: src/common/command.c:88 +#: src/common/command.c:91 msgid "" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" "windows: display windows tree" msgstr "" -#: src/common/command.c:91 +#: src/common/command.c:94 msgid "display help about commands" msgstr "segítség megjelenítése a parancsokhoz" -#: src/common/command.c:92 +#: src/common/command.c:95 msgid "[command]" msgstr "[parancs]" -#: src/common/command.c:93 +#: src/common/command.c:96 msgid "command: name of a WeeChat or IRC command" msgstr "parancs: WeeChat vagy IRC parancs neve" -#: src/common/command.c:95 +#: src/common/command.c:98 msgid "show buffer command history" msgstr "" -#: src/common/command.c:96 +#: src/common/command.c:99 msgid "[clear | value]" msgstr "[clear | érték]" -#: src/common/command.c:97 +#: src/common/command.c:100 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2752,15 +2757,15 @@ msgstr "" "clear: előzmények törlése\n" "érték: mutatandó előzménybejegyzések száma" -#: src/common/command.c:100 +#: src/common/command.c:103 msgid "ignore IRC messages and/or hosts" msgstr "IRC üzenetek és/vagy gépek figyelmen kívül hagyása" -#: src/common/command.c:101 +#: src/common/command.c:104 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[maszk [[típus | parancs] [szoba [szerver]]]]" -#: src/common/command.c:102 +#: src/common/command.c:105 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2772,15 +2777,15 @@ msgid "" "Without argument, /ignore command lists all defined ignore." msgstr "" -#: src/common/command.c:111 +#: src/common/command.c:114 msgid "bind/unbind keys" msgstr "" -#: src/common/command.c:112 +#: src/common/command.c:115 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "" -#: src/common/command.c:113 +#: src/common/command.c:116 msgid "" " key: bind this key to an internal function or a command (beginning by " "\"/\")\n" @@ -2790,15 +2795,15 @@ msgid "" "bindings (use carefully!)" msgstr "" -#: src/common/command.c:120 +#: src/common/command.c:123 msgid "list/load/unload plugins" msgstr "modulok listázása/betöltése/eltávolítása" -#: src/common/command.c:121 +#: src/common/command.c:124 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "" -#: src/common/command.c:122 +#: src/common/command.c:125 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2808,11 +2813,11 @@ msgstr "" "\n" "Paraméter nélkül a /plugin parancs kilistázza a betöltött modulokat." -#: src/common/command.c:125 +#: src/common/command.c:128 msgid "list, add or remove servers" msgstr "szerverek listázása, hozzáadása vagy eltávolítása" -#: src/common/command.c:126 +#: src/common/command.c:129 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2823,7 +2828,7 @@ msgstr "" "pwd jelszó] [-nicks név1 név2 név3] [-username felhasználónév] [-realname " "valódi név] [-command parancs] [-autojoin szoba[,szoba]] ] | [del szervernév]" -#: src/common/command.c:131 +#: src/common/command.c:134 msgid "" "servername: server name, for internal and display use\n" " hostname: name or IP address of server\n" @@ -2849,28 +2854,28 @@ msgstr "" "felhasználónév: felhasználónév a szerveren\n" " valódi név: a felhasználó valódi neve" -#: src/common/command.c:143 +#: src/common/command.c:146 msgid "save config to disk" msgstr "beállítások lemezre mentése" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "[file]" msgstr "[fájl]" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "file: filename for writing config" msgstr "fájl: fájlnév a beállítások mentéséhez" -#: src/common/command.c:146 +#: src/common/command.c:149 #, fuzzy msgid "set config options" msgstr "beállítja a konfigurációs paramétereket" -#: src/common/command.c:147 src/common/command.c:155 +#: src/common/command.c:150 src/common/command.c:158 msgid "[option [ = value]]" msgstr "[opció [ = érték]]" -#: src/common/command.c:148 +#: src/common/command.c:151 #, fuzzy msgid "" "option: name of an option (if name is full and no value is given, then help " @@ -2884,12 +2889,12 @@ msgstr "" "megjeleníti az opcióhoz tartozó segítséget\n" "érték: az opcióhoz tartozó érték" -#: src/common/command.c:154 +#: src/common/command.c:157 #, fuzzy msgid "set plugin config options" msgstr "beállítja a konfigurációs paramétereket" -#: src/common/command.c:156 +#: src/common/command.c:159 msgid "" "option: name of a plugin option\n" " value: value for option\n" @@ -2897,27 +2902,27 @@ msgid "" "Option is format: plugin.option, example: perl.myscript.item1" msgstr "" -#: src/common/command.c:160 +#: src/common/command.c:163 msgid "remove an alias" msgstr "alias eltávolítása" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name" msgstr "alias_név" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name: name of alias to remove" msgstr "alias_név: az eltávolítandó alias neve" -#: src/common/command.c:163 +#: src/common/command.c:166 msgid "unignore IRC messages and/or hosts" msgstr "" -#: src/common/command.c:164 +#: src/common/command.c:167 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[szám | [maszk [[típus | parancs] [szoba [szerver]]]]]" -#: src/common/command.c:165 +#: src/common/command.c:168 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2930,33 +2935,33 @@ msgid "" "Without argument, /unignore command lists all defined ignore." msgstr "" -#: src/common/command.c:175 +#: src/common/command.c:178 msgid "upgrade WeeChat without disconnecting from servers" msgstr "WeeChat frissítése a szerverekről való lecsatlakozás nélkül" -#: src/common/command.c:177 +#: src/common/command.c:180 msgid "" "This command run again WeeChat binary, so it should have been compiled " "installed with a package manager before running this command." msgstr "" -#: src/common/command.c:180 +#: src/common/command.c:183 msgid "show WeeChat uptime" msgstr "a WeeChat futásidejének mutatása" -#: src/common/command.c:181 +#: src/common/command.c:184 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:182 +#: src/common/command.c:185 msgid "-o: send uptime on current channel as an IRC message" msgstr "-o: a futásidő mint IRC üzenet elküldése az aktuális szobába" -#: src/common/command.c:184 +#: src/common/command.c:187 msgid "manage windows" msgstr "ablakok kezelése" -#: src/common/command.c:185 +#: src/common/command.c:188 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" @@ -2964,7 +2969,7 @@ msgstr "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" -#: src/common/command.c:187 +#: src/common/command.c:190 #, c-format msgid "" " list: list opened windows (no parameter implies this list)\n" @@ -3001,323 +3006,349 @@ msgstr "" "hogy az új ablak hány százaléka lesz a szülőablaknak. Például 25 esetén a " "szülőablak negyedét kapjuk." -#: src/common/command.c:384 src/common/command.c:738 +#: src/common/command.c:387 src/common/command.c:741 #, c-format msgid "%s circular reference when calling alias \"/%s\"\n" msgstr "" -#: src/common/command.c:718 src/common/command.c:854 src/common/command.c:925 +#: src/common/command.c:721 src/common/command.c:857 src/common/command.c:928 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s a \"%s\" parancs végrehajtása sikertelen\n" -#: src/common/command.c:820 +#: src/common/command.c:823 #, c-format msgid "%s wrong argument count for %s command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:832 +#: src/common/command.c:835 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:881 +#: src/common/command.c:884 #, c-format msgid "%s wrong argument count for IRC command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:893 +#: src/common/command.c:896 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:908 +#: src/common/command.c:911 #, c-format msgid "%s command \"%s\" needs a server connection!\n" msgstr "%s a \"%s\" parancs futtatásához csatlakozni kell a szerverhez!\n" -#: src/common/command.c:938 +#: src/common/command.c:941 #, c-format msgid "%s unknown command \"%s\" (type /help for help)\n" msgstr "%s ismeretlen parancs: \"%s\" (segítséget a /help parancstól kaphat)\n" -#: src/common/command.c:1083 +#: src/common/command.c:1086 msgid "This window is not a channel!\n" msgstr "Ez az ablak nem egy szoba!\n" -#: src/common/command.c:1116 src/common/command.c:1153 -#: src/common/command.c:1288 +#: src/common/command.c:1119 src/common/command.c:1156 +#: src/common/command.c:1291 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s hiányzó argumentum a \"%s\" parancsnak\n" -#: src/common/command.c:1125 +#: src/common/command.c:1128 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "A \"%s\" => \"%s\" aliasz elkészült\n" -#: src/common/command.c:1131 +#: src/common/command.c:1134 #, c-format msgid "Failed to create alias \"%s\" => \"%s\" (not enough memory)\n" msgstr "" "A \"%s\" => \"%s\" aliasz elkészítése sikertelen (nincs elég memória)\n" -#: src/common/command.c:1143 src/common/command.c:1164 +#: src/common/command.c:1146 src/common/command.c:1167 msgid "List of aliases:\n" msgstr "Aliaszok listája:\n" -#: src/common/command.c:1178 +#: src/common/command.c:1181 msgid "No alias defined.\n" msgstr "Nincs aliasz definiálva.\n" -#: src/common/command.c:1197 +#: src/common/command.c:1200 #, c-format msgid "%sServer: %s%s\n" msgstr "%sSzerver: %s%s\n" -#: src/common/command.c:1202 +#: src/common/command.c:1205 #, c-format msgid "%snot connected\n" msgstr "%snincs csatlakozva\n" -#: src/common/command.c:1206 +#: src/common/command.c:1209 #, c-format msgid "%sChannel: %s%s %s(server: %s%s%s)\n" msgstr "%sSzoba: %s%s %s(szerver: %s%s%s)\n" -#: src/common/command.c:1215 +#: src/common/command.c:1218 #, c-format msgid "%sPrivate with: %s%s %s(server: %s%s%s)\n" msgstr "%sPrivát beszélgetés: %s%s %s(szerver: %s%s%s)\n" -#: src/common/command.c:1224 src/common/command.c:1236 +#: src/common/command.c:1227 src/common/command.c:1239 #, c-format msgid "%sunknown\n" msgstr "%sismeretlen\n" -#: src/common/command.c:1232 +#: src/common/command.c:1235 #, c-format msgid "%sraw IRC data\n" msgstr "" -#: src/common/command.c:1267 +#: src/common/command.c:1270 msgid "Opened buffers:\n" msgstr "Nyitott pufferek:\n" -#: src/common/command.c:1312 +#: src/common/command.c:1315 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s helytelen pufferszám\n" -#: src/common/command.c:1329 +#: src/common/command.c:1332 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s az utolsó puffert nem lehet bezárni\n" -#: src/common/command.c:1340 +#: src/common/command.c:1343 #, c-format msgid "%s can not close server buffer while channels are opened\n" msgstr "%s nem lehet szerverpuffert bezárni, míg a szobákban tartózkodunk\n" -#: src/common/command.c:1398 +#: src/common/command.c:1401 msgid "Notify levels: " msgstr "Értesítési szintek: " -#: src/common/command.c:1404 +#: src/common/command.c:1407 msgid "Raw IRC data" msgstr "" -#: src/common/command.c:1428 src/common/command.c:1478 +#: src/common/command.c:1431 src/common/command.c:1481 #, c-format msgid "%s incorrect notify level (must be between %d and %d)\n" msgstr "" "%s helytelen értesítési szint (az értéknek %d és %d között kell lennie)\n" -#: src/common/command.c:1438 +#: src/common/command.c:1441 #, c-format msgid "%s incorrect buffer for notify (must be channel or private)\n" msgstr "" "%s helytelen puffer az értesítéshez (szobát vagy privát beszélgetést kell " "megjelölnie)\n" -#: src/common/command.c:1448 +#: src/common/command.c:1451 #, c-format msgid "New notify level for %s%s%s: %s%d %s" msgstr "A %s%s%s új értesítési szintje: %s%d %s" -#: src/common/command.c:1458 +#: src/common/command.c:1461 msgid "(hotlist: never)\n" msgstr "" -#: src/common/command.c:1461 +#: src/common/command.c:1464 msgid "(hotlist: highlights)\n" msgstr "" -#: src/common/command.c:1464 +#: src/common/command.c:1467 msgid "(hotlist: highlights + messages)\n" msgstr "" -#: src/common/command.c:1467 +#: src/common/command.c:1470 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "" -#: src/common/command.c:1598 +#: src/common/command.c:1601 #, c-format msgid "Charsets for server %s%s%s: " msgstr "Karakterkészlet a %s%s%s szerveren: " -#: src/common/command.c:1606 +#: src/common/command.c:1609 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "Karakterkészlet a %s%s%s szobában: " -#: src/common/command.c:1614 +#: src/common/command.c:1617 #, c-format msgid "Charsets for private %s%s%s: " msgstr "Karakterkészlet a %s%s%s privát beszélgetéshez: " -#: src/common/command.c:1642 src/common/command.c:1672 -#: src/common/command.c:1702 +#: src/common/command.c:1645 src/common/command.c:1675 +#: src/common/command.c:1705 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr " (örökölt: \"%s%s%s\")" -#: src/common/command.c:1771 src/common/command.c:1799 -#: src/common/command.c:1941 src/common/command.c:2569 -#: src/common/command.c:3833 src/common/command.c:3876 +#: src/common/command.c:1774 src/common/command.c:1802 +#: src/common/command.c:1944 src/common/command.c:2610 +#: src/common/command.c:3876 src/common/command.c:3919 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "%s ismeretlen opció a \"%s\" parancsnak\n" -#: src/common/command.c:1834 +#: src/common/command.c:1837 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s már csatlakozott a \"%s\" szerverhez!\n" -#: src/common/command.c:1842 +#: src/common/command.c:1845 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1861 src/common/command.c:1990 +#: src/common/command.c:1864 src/common/command.c:1993 #, c-format msgid "%s server not found\n" msgstr "%s a szerver nem található\n" -#: src/common/command.c:1974 +#: src/common/command.c:1977 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s nincs csatlakozva a \"%s\" szerverhez!\n" -#: src/common/command.c:1982 +#: src/common/command.c:1985 msgid "Auto-reconnection is cancelled\n" msgstr "automata újracsatlakozás megszakítva\n" -#: src/common/command.c:2018 src/common/weechat.c:489 +#: src/common/command.c:2021 src/common/weechat.c:489 #, c-format msgid "%s internal commands:\n" msgstr "%s belső parancsok:\n" -#: src/common/command.c:2028 src/common/weechat.c:509 +#: src/common/command.c:2031 src/common/weechat.c:509 #, c-format msgid "IRC commands:\n" msgstr "IRC parancsok:\n" -#: src/common/command.c:2042 +#: src/common/command.c:2045 msgid "Plugin commands:\n" msgstr "Modul parancsok:\n" -#: src/common/command.c:2158 +#: src/common/command.c:2161 #, c-format msgid "No help available, \"%s\" is an unknown command\n" msgstr "Nem érhető el segítség, a \"%s\" ismeretlen parancs\n" -#: src/common/command.c:2227 +#: src/common/command.c:2230 #, c-format msgid "%son %s%s%s/%s%s%s:%s ignoring %s%s%s from %s%s\n" msgstr "" -#: src/common/command.c:2265 +#: src/common/command.c:2268 msgid "List of ignore:\n" msgstr "" -#: src/common/command.c:2282 +#: src/common/command.c:2285 msgid "No ignore defined.\n" msgstr "" -#: src/common/command.c:2308 +#: src/common/command.c:2311 msgid "New ignore:" msgstr "" -#: src/common/command.c:2328 +#: src/common/command.c:2331 #, c-format msgid "New key binding: %s" msgstr "" -#: src/common/command.c:2367 +#: src/common/command.c:2370 msgid "Key bindings:\n" msgstr "" -#: src/common/command.c:2381 +#: src/common/command.c:2384 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "" -#: src/common/command.c:2387 +#: src/common/command.c:2390 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "" -#: src/common/command.c:2395 src/common/weechat.c:541 +#: src/common/command.c:2398 src/common/weechat.c:541 #, c-format msgid "Internal key functions:\n" msgstr "" -#: src/common/command.c:2415 +#: src/common/command.c:2418 msgid "Default key bindings restored\n" msgstr "Alapértelmezett billentyűparancsok visszaállítva\n" -#: src/common/command.c:2421 +#: src/common/command.c:2424 #, c-format msgid "%s \"-yes\" argument is required for keys reset (securuty reason)\n" msgstr "" "%s \"-yes\" paraméter megadása kötelező a billentyűparancsok " "visszaállításához (biztonsági okokból)\n" -#: src/common/command.c:2482 +#: src/common/command.c:2485 msgid "Plugins loaded:\n" msgstr "Betöltött modulok:\n" -#: src/common/command.c:2498 +#: src/common/command.c:2501 msgid " message handlers:\n" msgstr "" -#: src/common/command.c:2507 +#: src/common/command.c:2510 #, c-format msgid " IRC(%s)\n" msgstr "" -#: src/common/command.c:2514 +#: src/common/command.c:2517 msgid " (no message handler)\n" msgstr "" -#: src/common/command.c:2519 +#: src/common/command.c:2522 msgid " command handlers:\n" msgstr "" -#: src/common/command.c:2540 +#: src/common/command.c:2543 msgid " (no command handler)\n" msgstr "" -#: src/common/command.c:2546 +#: src/common/command.c:2548 +msgid " timer handlers:\n" +msgstr "" + +#: src/common/command.c:2557 +#, c-format +msgid " %d seconds\n" +msgstr "" + +#: src/common/command.c:2564 +msgid " (no timer handler)\n" +msgstr "" + +#: src/common/command.c:2569 +msgid " keyboard handlers:\n" +msgstr "" + +#: src/common/command.c:2579 +msgid " (no keyboard handler)\n" +msgstr "" + +#: src/common/command.c:2581 +#, c-format +msgid " %d defined\n" +msgstr "" + +#: src/common/command.c:2587 msgid " (no plugin)\n" msgstr " (nem található bővítőmodul)\n" -#: src/common/command.c:2582 src/common/command.c:3462 +#: src/common/command.c:2623 src/common/command.c:3505 #, fuzzy, c-format msgid "" "Command \"%s\" is not available, WeeChat was built without plugins support.\n" @@ -3325,40 +3356,40 @@ msgstr "" "A \"plugin\" parancs nem elérhető, a WeeChat modultámogatás nélkül lett " "lefordítva.\n" -#: src/common/command.c:2611 +#: src/common/command.c:2654 msgid "Configuration file saved\n" msgstr "Konfigurációs fájl elmentve\n" -#: src/common/command.c:2616 +#: src/common/command.c:2659 #, c-format msgid "%s failed to save configuration file\n" msgstr "%s nem sikerült a konfigurációs fájlt elmenteni\n" -#: src/common/command.c:2655 +#: src/common/command.c:2698 msgid "No server.\n" msgstr "Nincs szerver.\n" -#: src/common/command.c:2666 +#: src/common/command.c:2709 #, c-format msgid "Server '%s' not found.\n" msgstr "A '%s' szerver nem található.\n" -#: src/common/command.c:2678 +#: src/common/command.c:2721 #, c-format msgid "%s missing servername for \"%s\" command\n" msgstr "%s hiányzó szervernév a \"%s\" parancshoz\n" -#: src/common/command.c:2686 +#: src/common/command.c:2729 #, c-format msgid "%s too much arguments for \"%s\" command, ignoring arguments\n" msgstr "%s túl sok paraméter a \"%s\" parancsnak, paraméterek mellőzve\n" -#: src/common/command.c:2696 +#: src/common/command.c:2739 #, c-format msgid "%s server \"%s\" not found for \"%s\" command\n" msgstr "%s a \"%s\" szerver nem található a \"%s\" parancshoz\n" -#: src/common/command.c:2704 +#: src/common/command.c:2747 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3367,200 +3398,200 @@ msgstr "" "%s nem tudja törölni a \"%s\" szervert, mert csatlakozva van hozzá. Próbálja " "a /disconnect %s parancsot előbb.\n" -#: src/common/command.c:2724 +#: src/common/command.c:2767 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "A %s%s%s szerver törölve\n" -#: src/common/command.c:2743 +#: src/common/command.c:2786 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s hiányzó paraméter a \"%s\" parancsnak\n" -#: src/common/command.c:2753 +#: src/common/command.c:2796 #, c-format msgid "%s server \"%s\" already exists, can't create it!\n" msgstr "%s a \"%s\" szerver már létezik, nem hozhatja létre!\n" -#: src/common/command.c:2782 src/common/command.c:2810 -#: src/common/command.c:2823 src/common/command.c:2849 +#: src/common/command.c:2825 src/common/command.c:2853 +#: src/common/command.c:2866 src/common/command.c:2892 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s hiányzó jelszó a \"%s\" paraméterhez\n" -#: src/common/command.c:2795 +#: src/common/command.c:2838 #, c-format msgid "%s missing nick(s) for \"%s\" parameter\n" msgstr "%s hiányzó név a \"%s\" paraméterhez\n" -#: src/common/command.c:2836 +#: src/common/command.c:2879 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s hiányzó parancs a \"%s\" paraméterhez\n" -#: src/common/command.c:2874 +#: src/common/command.c:2917 #, c-format msgid "Server %s%s%s created\n" msgstr "A %s%s%s szerver létrehozva\n" -#: src/common/command.c:2883 +#: src/common/command.c:2926 #, c-format msgid "%s unable to create server\n" msgstr "%s nem sikerült a szervert létrehozni\n" -#: src/common/command.c:2943 +#: src/common/command.c:2986 msgid "(unknown)" msgstr "(ismeretlen)" -#: src/common/command.c:2966 +#: src/common/command.c:3009 #, c-format msgid "%s(password hidden) " msgstr "%s(jelszó rejtve) " -#: src/common/command.c:3064 +#: src/common/command.c:3107 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s a \"%s\" szerver nem található\n" -#: src/common/command.c:3097 src/common/command.c:3145 +#: src/common/command.c:3140 src/common/command.c:3188 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s a \"%s\" opció nem található\n" -#: src/common/command.c:3102 src/common/command.c:3137 +#: src/common/command.c:3145 src/common/command.c:3180 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s helytelen érték a \"%s\" paraméternek\n" -#: src/common/command.c:3118 +#: src/common/command.c:3161 #, c-format msgid "%s option \"%s\" can not be changed while WeeChat is running\n" msgstr "%s a \"%s\" opció nem módosítható a WeeChat futása közben\n" -#: src/common/command.c:3228 +#: src/common/command.c:3271 #, c-format msgid "No config option found with \"%s\"\n" msgstr "" -#: src/common/command.c:3231 +#: src/common/command.c:3274 msgid "No config option found\n" msgstr "Nem található az opció\n" -#: src/common/command.c:3238 +#: src/common/command.c:3281 #, c-format msgid "%sDetail:\n" msgstr "%sRészletek:\n" -#: src/common/command.c:3243 +#: src/common/command.c:3286 msgid " . type boolean (values: 'on' or 'off')\n" msgstr " . típus logikai (értékek: 'on' vagy 'off')\n" -#: src/common/command.c:3244 src/common/command.c:3267 -#: src/common/command.c:3273 src/common/command.c:3279 +#: src/common/command.c:3287 src/common/command.c:3310 +#: src/common/command.c:3316 src/common/command.c:3322 #: src/common/weechat.c:425 src/common/weechat.c:450 src/common/weechat.c:457 #: src/common/weechat.c:464 #, c-format msgid " . default value: '%s'\n" msgstr " . alapérték: '%s'\n" -#: src/common/command.c:3249 +#: src/common/command.c:3292 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr " . típus szám (értékek: %d és %d között)\n" -#: src/common/command.c:3252 src/common/weechat.c:434 +#: src/common/command.c:3295 src/common/weechat.c:434 #, c-format msgid " . default value: %d\n" msgstr " . alapérték: %d\n" -#: src/common/command.c:3256 +#: src/common/command.c:3299 msgid " . type string (values: " msgstr " . típus szöveg (értékek: " -#: src/common/command.c:3269 src/common/command.c:3275 -#: src/common/command.c:3281 src/common/weechat.c:452 src/common/weechat.c:459 +#: src/common/command.c:3312 src/common/command.c:3318 +#: src/common/command.c:3324 src/common/weechat.c:452 src/common/weechat.c:459 #: src/common/weechat.c:466 msgid "empty" msgstr "üres" -#: src/common/command.c:3272 +#: src/common/command.c:3315 msgid " . type color (Curses or Gtk color, look at WeeChat doc)\n" msgstr " . típus szín (Curses vagy Gtk szín, lásd WeeChat dokumentáció)\n" -#: src/common/command.c:3278 +#: src/common/command.c:3321 msgid " . type string (any string)\n" msgstr " . típus szöveg (bármilyen szöveg)\n" -#: src/common/command.c:3284 src/common/weechat.c:469 +#: src/common/command.c:3327 src/common/weechat.c:469 #, c-format msgid " . description: %s\n" msgstr " . leírás : %s\n" -#: src/common/command.c:3295 +#: src/common/command.c:3338 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "a \"%s\" kifejezéshez tartozó opciók\n" -#: src/common/command.c:3298 +#: src/common/command.c:3341 msgid "config option(s) found\n" msgstr "megtalált opciók\n" -#: src/common/command.c:3406 +#: src/common/command.c:3449 #, fuzzy, c-format msgid "%s incorrect value for plugin option \"%s\"\n" msgstr "%s helytelen érték a \"%s\" paraméternek\n" -#: src/common/command.c:3435 +#: src/common/command.c:3478 #, fuzzy, c-format msgid "No plugin option found with \"%s\"\n" msgstr "a \"%s\" kifejezéshez tartozó opciók\n" -#: src/common/command.c:3438 +#: src/common/command.c:3481 #, fuzzy msgid "No plugin option found\n" msgstr "Nem található az opció\n" -#: src/common/command.c:3448 +#: src/common/command.c:3491 #, fuzzy, c-format msgid "plugin option(s) found with \"%s\"\n" msgstr "a \"%s\" kifejezéshez tartozó opciók\n" -#: src/common/command.c:3451 +#: src/common/command.c:3494 #, fuzzy msgid "plugin option(s) found\n" msgstr "megtalált opciók\n" -#: src/common/command.c:3489 +#: src/common/command.c:3532 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s a \"%s\" aliasz vagy parancs nem található\n" -#: src/common/command.c:3499 +#: src/common/command.c:3542 #, c-format msgid "Alias \"%s\" removed\n" msgstr "A \"%s\" aliasz eltávolítva\n" -#: src/common/command.c:3559 +#: src/common/command.c:3602 msgid "ignore were removed.\n" msgstr "mellőzés eltávolítva.\n" -#: src/common/command.c:3561 +#: src/common/command.c:3604 msgid "ignore was removed.\n" msgstr "mellőzés eltávolítva.\n" -#: src/common/command.c:3566 +#: src/common/command.c:3609 #, c-format msgid "%s no ignore found\n" msgstr "%s nem található ilyen mellőzés\n" -#: src/common/command.c:3600 +#: src/common/command.c:3643 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "" "%s nem sikerült frissíteni: a kapcsolat egy vagy több szerverrel még " "folyamatban van\n" -#: src/common/command.c:3610 +#: src/common/command.c:3653 #, c-format msgid "" "%s can't upgrade: connection to at least one SSL server is active (should be " @@ -3569,36 +3600,36 @@ msgstr "" "%s nem sikerült frissíteni: a kapcsolat legalább egy SSL szerverrel aktív (a " "következő verziókban javítva lesz)\n" -#: src/common/command.c:3626 +#: src/common/command.c:3669 msgid "Upgrading WeeChat...\n" msgstr "WeeChat frissítése...\n" -#: src/common/command.c:3633 +#: src/common/command.c:3676 #, c-format msgid "%s unable to save session in file\n" msgstr "" -#: src/common/command.c:3659 +#: src/common/command.c:3702 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:3699 +#: src/common/command.c:3742 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "WeeChat futásidő: %d %s %02d:%02d:%02d, elindítva: %s" -#: src/common/command.c:3713 +#: src/common/command.c:3756 #, c-format msgid "WeeChat uptime: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, started on %s%s" msgstr "" "WeeChat futásidő: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, elindítva: %s%s" -#: src/common/command.c:3757 +#: src/common/command.c:3800 msgid "Opened windows:\n" msgstr "Nyitott ablakok:\n" -#: src/common/command.c:3844 +#: src/common/command.c:3887 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -5379,7 +5410,7 @@ msgstr "%s: alapértelmezett konfigurációs fájl elkészítése\n" msgid "Creating default config file\n" msgstr "Alapértelmezett konfigurációs fájl elkészítése\n" -#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2293 +#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2294 #, c-format msgid "" "#\n" @@ -5388,7 +5419,7 @@ msgstr "" "#\n" "# %s konfigurációs fájl, készítette: %s v%s - %s" -#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2297 +#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2298 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -5399,7 +5430,7 @@ msgstr "" "írja.\n" "#\n" -#: src/common/weeconfig.c:2290 +#: src/common/weeconfig.c:2291 msgid "Saving config to disk\n" msgstr "Beállítások mentése a lemezre\n" diff --git a/po/weechat.pot b/po/weechat.pot index c9d8e8541..3acc5253b 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2006-03-25 11:52+0100\n" +"POT-Creation-Date: 2006-03-29 20:06+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1289,7 +1289,7 @@ msgstr "" msgid " (temporary server, will not be saved)" msgstr "" -#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3423 +#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3426 msgid "seconds" msgstr "" @@ -1297,7 +1297,7 @@ msgstr "" msgid "(hidden)" msgstr "" -#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4993 +#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4996 msgid "unknown" msgstr "" @@ -1306,7 +1306,7 @@ msgstr "" msgid "%s: using hostname \"%s\"\n" msgstr "" -#: src/irc/irc-send.c:221 src/common/command.c:1036 +#: src/irc/irc-send.c:221 src/common/command.c:1039 #, c-format msgid "%s cannot find nick for sending message\n" msgstr "" @@ -1328,8 +1328,8 @@ msgstr "" #: src/irc/irc-send.c:634 src/irc/irc-send.c:646 src/irc/irc-send.c:664 #: src/irc/irc-send.c:1371 src/irc/irc-send.c:1509 src/irc/irc-send.c:2104 -#: src/common/command.c:1922 src/common/command.c:2435 -#: src/common/command.c:2576 +#: src/common/command.c:1925 src/common/command.c:2438 +#: src/common/command.c:2617 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "" @@ -1344,7 +1344,7 @@ msgstr "" msgid "%s \"%s\" command can only be executed in a channel or private buffer\n" msgstr "" -#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:511 +#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:514 #, c-format msgid "%s nick \"%s\" not found for \"%s\" command\n" msgstr "" @@ -1359,479 +1359,479 @@ msgstr "" msgid "%s, compiled on %s %s\n" msgstr "" -#: src/irc/irc-recv.c:371 +#: src/irc/irc-recv.c:374 #, c-format msgid "You have been invited to %s%s%s by %s%s\n" msgstr "" -#: src/irc/irc-recv.c:385 src/irc/irc-recv.c:480 src/irc/irc-recv.c:1103 -#: src/irc/irc-recv.c:1525 src/irc/irc-recv.c:1805 src/irc/irc-recv.c:3795 -#: src/irc/irc-recv.c:3816 src/irc/irc-recv.c:3877 src/irc/irc-recv.c:3948 +#: src/irc/irc-recv.c:388 src/irc/irc-recv.c:483 src/irc/irc-recv.c:1106 +#: src/irc/irc-recv.c:1528 src/irc/irc-recv.c:1808 src/irc/irc-recv.c:3798 +#: src/irc/irc-recv.c:3819 src/irc/irc-recv.c:3880 src/irc/irc-recv.c:3951 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:413 +#: src/irc/irc-recv.c:416 #, c-format msgid "%s cannot create new channel \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:426 +#: src/irc/irc-recv.c:429 #, c-format msgid "%s%s %s(%s%s%s)%s has joined %s%s\n" msgstr "" -#: src/irc/irc-recv.c:488 +#: src/irc/irc-recv.c:491 #, c-format msgid "%s%s%s has kicked %s%s%s from %s%s" msgstr "" -#: src/irc/irc-recv.c:578 +#: src/irc/irc-recv.c:581 #, c-format msgid "%s%s%s has killed %s%s%s from server" msgstr "" -#: src/irc/irc-recv.c:600 +#: src/irc/irc-recv.c:603 #, c-format msgid "%s host \"%s\" not found for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:641 +#: src/irc/irc-recv.c:644 msgid "sets ban on" msgstr "" -#: src/irc/irc-recv.c:642 +#: src/irc/irc-recv.c:645 msgid "removes ban on" msgstr "" -#: src/irc/irc-recv.c:666 +#: src/irc/irc-recv.c:669 msgid "sets realname ban on" msgstr "" -#: src/irc/irc-recv.c:667 +#: src/irc/irc-recv.c:670 msgid "removes realname ban on" msgstr "" -#: src/irc/irc-recv.c:691 +#: src/irc/irc-recv.c:694 msgid "sets ban exemtion on" msgstr "" -#: src/irc/irc-recv.c:692 +#: src/irc/irc-recv.c:695 msgid "removes ban exemption on" msgstr "" -#: src/irc/irc-recv.c:716 +#: src/irc/irc-recv.c:719 msgid "sets mode +f" msgstr "" -#: src/irc/irc-recv.c:717 +#: src/irc/irc-recv.c:720 msgid "removes mode +f" msgstr "" -#: src/irc/irc-recv.c:741 +#: src/irc/irc-recv.c:744 msgid "gives half channel operator status to" msgstr "" -#: src/irc/irc-recv.c:742 +#: src/irc/irc-recv.c:745 msgid "removes half channel operator status from" msgstr "" -#: src/irc/irc-recv.c:769 +#: src/irc/irc-recv.c:772 msgid "sets invite-only channel flag" msgstr "" -#: src/irc/irc-recv.c:770 +#: src/irc/irc-recv.c:773 msgid "removes invite-only channel flag" msgstr "" -#: src/irc/irc-recv.c:787 +#: src/irc/irc-recv.c:790 msgid "sets invite-only exemption on" msgstr "" -#: src/irc/irc-recv.c:788 +#: src/irc/irc-recv.c:791 msgid "removes invite-only exemption on" msgstr "" -#: src/irc/irc-recv.c:812 +#: src/irc/irc-recv.c:815 msgid "sets channel key to" msgstr "" -#: src/irc/irc-recv.c:813 +#: src/irc/irc-recv.c:816 msgid "removes channel key" msgstr "" -#: src/irc/irc-recv.c:844 +#: src/irc/irc-recv.c:847 msgid "sets the user limit to" msgstr "" -#: src/irc/irc-recv.c:845 +#: src/irc/irc-recv.c:848 msgid "removes user limit" msgstr "" -#: src/irc/irc-recv.c:867 +#: src/irc/irc-recv.c:870 msgid "sets moderated channel flag" msgstr "" -#: src/irc/irc-recv.c:868 +#: src/irc/irc-recv.c:871 msgid "removes moderated channel flag" msgstr "" -#: src/irc/irc-recv.c:878 +#: src/irc/irc-recv.c:881 msgid "sets messages from channel only flag" msgstr "" -#: src/irc/irc-recv.c:879 +#: src/irc/irc-recv.c:882 msgid "removes messages from channel only flag" msgstr "" -#: src/irc/irc-recv.c:896 +#: src/irc/irc-recv.c:899 msgid "gives channel operator status to" msgstr "" -#: src/irc/irc-recv.c:897 +#: src/irc/irc-recv.c:900 msgid "removes channel operator status from" msgstr "" -#: src/irc/irc-recv.c:924 +#: src/irc/irc-recv.c:927 msgid "sets private channel flag" msgstr "" -#: src/irc/irc-recv.c:925 +#: src/irc/irc-recv.c:928 msgid "removes private channel flag" msgstr "" -#: src/irc/irc-recv.c:942 +#: src/irc/irc-recv.c:945 msgid "sets quiet on" msgstr "" -#: src/irc/irc-recv.c:943 +#: src/irc/irc-recv.c:946 msgid "removes quiet on" msgstr "" -#: src/irc/irc-recv.c:960 +#: src/irc/irc-recv.c:963 msgid "sets secret channel flag" msgstr "" -#: src/irc/irc-recv.c:961 +#: src/irc/irc-recv.c:964 msgid "removes secret channel flag" msgstr "" -#: src/irc/irc-recv.c:971 +#: src/irc/irc-recv.c:974 msgid "sets topic protection" msgstr "" -#: src/irc/irc-recv.c:972 +#: src/irc/irc-recv.c:975 msgid "removes topic protection" msgstr "" -#: src/irc/irc-recv.c:989 +#: src/irc/irc-recv.c:992 msgid "gives voice to" msgstr "" -#: src/irc/irc-recv.c:990 +#: src/irc/irc-recv.c:993 msgid "removes voice from" msgstr "" -#: src/irc/irc-recv.c:1062 src/irc/irc-recv.c:1148 src/irc/irc-recv.c:1604 -#: src/irc/irc-recv.c:2429 +#: src/irc/irc-recv.c:1065 src/irc/irc-recv.c:1151 src/irc/irc-recv.c:1607 +#: src/irc/irc-recv.c:2432 #, c-format msgid "%s \"%s\" command received without host\n" msgstr "" -#: src/irc/irc-recv.c:1072 +#: src/irc/irc-recv.c:1075 #, c-format msgid "%s \"%s\" command received without channel or nickname\n" msgstr "" -#: src/irc/irc-recv.c:1114 +#: src/irc/irc-recv.c:1117 #, c-format msgid "%s[%s%s%s/%s%s%s]%s mode changed by %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1183 +#: src/irc/irc-recv.c:1186 #, c-format msgid "You are now known as %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1187 +#: src/irc/irc-recv.c:1190 #, c-format msgid "%s%s%s is now known as %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1255 +#: src/irc/irc-recv.c:1258 #, c-format msgid "%s nickname not found for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:1269 +#: src/irc/irc-recv.c:1272 #, c-format msgid "CTCP %sVERSION%s reply from %s%s%s: %s\n" msgstr "" -#: src/irc/irc-recv.c:1303 +#: src/irc/irc-recv.c:1306 #, c-format msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "" -#: src/irc/irc-recv.c:1326 src/irc/irc-recv.c:2232 src/irc/irc-recv.c:2344 +#: src/irc/irc-recv.c:1329 src/irc/irc-recv.c:2235 src/irc/irc-recv.c:2347 #, c-format msgid "%s cannot create new private window \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:1351 src/irc/irc-recv.c:2369 +#: src/irc/irc-recv.c:1354 src/irc/irc-recv.c:2372 msgid "Private" msgstr "" -#: src/irc/irc-recv.c:1427 +#: src/irc/irc-recv.c:1430 #, c-format msgid "%s \"%s\" command received without host or channel\n" msgstr "" -#: src/irc/irc-recv.c:1455 +#: src/irc/irc-recv.c:1458 #, c-format msgid "%s%s %s(%s%s%s)%s has left %s%s" msgstr "" -#: src/irc/irc-recv.c:1654 src/irc/irc-recv.c:1780 src/irc/irc-recv.c:2260 +#: src/irc/irc-recv.c:1657 src/irc/irc-recv.c:1783 src/irc/irc-recv.c:2263 msgid "Channel" msgstr "" -#: src/irc/irc-recv.c:1688 +#: src/irc/irc-recv.c:1691 #, c-format msgid "Received a CTCP %sSOUND%s \"%s\" from %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1718 src/irc/irc-recv.c:1904 +#: src/irc/irc-recv.c:1721 src/irc/irc-recv.c:1907 #, c-format msgid "CTCP %sPING%s received from %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1747 src/irc/irc-recv.c:2311 +#: src/irc/irc-recv.c:1750 src/irc/irc-recv.c:2314 #, c-format msgid "Unknown CTCP %s%s%s received from %s%s" msgstr "" -#: src/irc/irc-recv.c:1860 +#: src/irc/irc-recv.c:1863 #, c-format msgid "CTCP %sVERSION%s received from %s%s" msgstr "" -#: src/irc/irc-recv.c:1927 src/irc/irc-recv.c:1948 src/irc/irc-recv.c:1964 -#: src/irc/irc-recv.c:1980 src/irc/irc-recv.c:2011 src/irc/irc-recv.c:2032 -#: src/irc/irc-recv.c:2048 src/irc/irc-recv.c:2078 src/irc/irc-recv.c:2099 -#: src/irc/irc-recv.c:2115 src/irc/irc-recv.c:2145 src/irc/irc-recv.c:2166 -#: src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2405 src/irc/irc-recv.c:2756 -#: src/irc/irc-recv.c:4155 src/irc/irc-recv.c:4170 src/irc/irc-recv.c:4185 -#: src/irc/irc-recv.c:4200 src/irc/irc-recv.c:4213 src/irc/irc-recv.c:4278 -#: src/irc/irc-recv.c:4292 src/irc/irc-recv.c:4526 src/irc/irc-recv.c:4584 -#: src/irc/irc-recv.c:4722 src/irc/irc-recv.c:4737 src/irc/irc-recv.c:4843 -#: src/irc/irc-recv.c:4857 +#: src/irc/irc-recv.c:1930 src/irc/irc-recv.c:1951 src/irc/irc-recv.c:1967 +#: src/irc/irc-recv.c:1983 src/irc/irc-recv.c:2014 src/irc/irc-recv.c:2035 +#: src/irc/irc-recv.c:2051 src/irc/irc-recv.c:2081 src/irc/irc-recv.c:2102 +#: src/irc/irc-recv.c:2118 src/irc/irc-recv.c:2148 src/irc/irc-recv.c:2169 +#: src/irc/irc-recv.c:2184 src/irc/irc-recv.c:2408 src/irc/irc-recv.c:2759 +#: src/irc/irc-recv.c:4158 src/irc/irc-recv.c:4173 src/irc/irc-recv.c:4188 +#: src/irc/irc-recv.c:4203 src/irc/irc-recv.c:4216 src/irc/irc-recv.c:4281 +#: src/irc/irc-recv.c:4295 src/irc/irc-recv.c:4529 src/irc/irc-recv.c:4587 +#: src/irc/irc-recv.c:4725 src/irc/irc-recv.c:4740 src/irc/irc-recv.c:4846 +#: src/irc/irc-recv.c:4860 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:2194 +#: src/irc/irc-recv.c:2197 #, c-format msgid "%s unknown DCC CHAT type received from " msgstr "" -#: src/irc/irc-recv.c:2452 +#: src/irc/irc-recv.c:2455 #, c-format msgid "%s%s %s(%s%s%s)%s has quit" msgstr "" -#: src/irc/irc-recv.c:2583 +#: src/irc/irc-recv.c:2586 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "" -#: src/irc/irc-recv.c:2612 +#: src/irc/irc-recv.c:2615 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "" -#: src/irc/irc-recv.c:2623 +#: src/irc/irc-recv.c:2626 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "" -#: src/irc/irc-recv.c:2742 +#: src/irc/irc-recv.c:2745 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "" -#: src/irc/irc-recv.c:2806 +#: src/irc/irc-recv.c:2809 #, c-format msgid "%s%s%s is away: %s\n" msgstr "" -#: src/irc/irc-recv.c:2898 +#: src/irc/irc-recv.c:2901 msgid "Users online: " msgstr "" -#: src/irc/irc-recv.c:3274 +#: src/irc/irc-recv.c:3277 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "" -#: src/irc/irc-recv.c:3395 +#: src/irc/irc-recv.c:3398 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "" -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "days" msgstr "" -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "day" msgstr "" -#: src/irc/irc-recv.c:3411 +#: src/irc/irc-recv.c:3414 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hours" msgstr "" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hour" msgstr "" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minutes" msgstr "" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minute" msgstr "" -#: src/irc/irc-recv.c:3423 +#: src/irc/irc-recv.c:3426 msgid "second" msgstr "" -#: src/irc/irc-recv.c:3807 +#: src/irc/irc-recv.c:3810 #, c-format msgid "No topic set for %s%s\n" msgstr "" -#: src/irc/irc-recv.c:3863 +#: src/irc/irc-recv.c:3866 #, c-format msgid "Topic for %s%s%s is: " msgstr "" -#: src/irc/irc-recv.c:3887 src/irc/irc-recv.c:3975 src/irc/irc-recv.c:4030 +#: src/irc/irc-recv.c:3890 src/irc/irc-recv.c:3978 src/irc/irc-recv.c:4033 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:3937 +#: src/irc/irc-recv.c:3940 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "" -#: src/irc/irc-recv.c:3957 +#: src/irc/irc-recv.c:3960 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:3966 src/irc/irc-recv.c:4039 +#: src/irc/irc-recv.c:3969 src/irc/irc-recv.c:4042 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:4015 +#: src/irc/irc-recv.c:4018 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "" -#: src/irc/irc-recv.c:4075 +#: src/irc/irc-recv.c:4078 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "" -#: src/irc/irc-recv.c:4572 +#: src/irc/irc-recv.c:4575 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:4630 +#: src/irc/irc-recv.c:4633 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "" -#: src/irc/irc-recv.c:4651 +#: src/irc/irc-recv.c:4654 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nicks" msgstr "" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nick" msgstr "" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "ops" msgstr "" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "op" msgstr "" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfops" msgstr "" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfop" msgstr "" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voices" msgstr "" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voice" msgstr "" -#: src/irc/irc-recv.c:4676 +#: src/irc/irc-recv.c:4679 msgid "normal" msgstr "" -#: src/irc/irc-recv.c:4777 +#: src/irc/irc-recv.c:4780 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "" -#: src/irc/irc-recv.c:4812 +#: src/irc/irc-recv.c:4815 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "" -#: src/irc/irc-recv.c:4947 +#: src/irc/irc-recv.c:4950 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:4959 +#: src/irc/irc-recv.c:4962 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:4971 +#: src/irc/irc-recv.c:4974 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " "server!\n" msgstr "" -#: src/irc/irc-recv.c:4981 +#: src/irc/irc-recv.c:4984 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -2062,67 +2062,72 @@ msgstr "" msgid "%s plugin %s: unable to add timer handler (not enough memory)\n" msgstr "" -#: src/plugins/plugins.c:657 +#: src/plugins/plugins.c:422 +#, c-format +msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n" +msgstr "" + +#: src/plugins/plugins.c:758 #, c-format msgid "%s unable to load plugin \"%s\": %s\n" msgstr "" -#: src/plugins/plugins.c:668 +#: src/plugins/plugins.c:769 #, c-format msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n" msgstr "" -#: src/plugins/plugins.c:679 +#: src/plugins/plugins.c:780 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" msgstr "" -#: src/plugins/plugins.c:691 +#: src/plugins/plugins.c:792 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" msgstr "" -#: src/plugins/plugins.c:702 +#: src/plugins/plugins.c:803 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" msgstr "" -#: src/plugins/plugins.c:713 +#: src/plugins/plugins.c:814 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " "load\n" msgstr "" -#: src/plugins/plugins.c:776 +#: src/plugins/plugins.c:879 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "" -#: src/plugins/plugins.c:784 +#: src/plugins/plugins.c:887 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "" -#: src/plugins/plugins.c:795 +#: src/plugins/plugins.c:898 #, c-format msgid "%s unable to load plugin \"%s\" (not enough memory)\n" msgstr "" -#: src/plugins/plugins.c:803 +#: src/plugins/plugins.c:906 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "" -#: src/plugins/plugins.c:970 +#: src/plugins/plugins.c:1073 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "" -#: src/plugins/plugins.c:976 src/common/command.c:3384 +#: src/plugins/plugins.c:1079 src/common/command.c:3427 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "" @@ -2133,7 +2138,7 @@ msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "" #: src/plugins/plugins-config.c:352 src/common/weeconfig.c:2078 -#: src/common/weeconfig.c:2284 +#: src/common/weeconfig.c:2285 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "" @@ -2153,329 +2158,329 @@ msgid "" "#\n" msgstr "" -#: src/plugins/plugins-interface.c:360 +#: src/plugins/plugins-interface.c:376 #, c-format msgid "%s server/channel (%s/%s) not found for plugin exec command\n" msgstr "" -#: src/gui/curses/gui-input.c:353 +#: src/gui/curses/gui-input.c:386 #, c-format msgid "Day changed to %s\n" msgstr "" -#: src/gui/curses/gui-input.c:458 +#: src/gui/curses/gui-input.c:491 #, c-format msgid "%s lag is high, disconnecting from server...\n" msgstr "" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "bytes" msgstr "" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Kb" msgstr "" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Mb" msgstr "" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Gb" msgstr "" -#: src/gui/curses/gui-display.c:1603 +#: src/gui/curses/gui-display.c:1644 msgid "ETA" msgstr "" -#: src/gui/curses/gui-display.c:1965 +#: src/gui/curses/gui-display.c:2006 msgid "" msgstr "" -#: src/gui/curses/gui-display.c:1977 +#: src/gui/curses/gui-display.c:2018 msgid "(away)" msgstr "" -#: src/gui/curses/gui-display.c:2111 +#: src/gui/curses/gui-display.c:2152 msgid "[not connected] " msgstr "" -#: src/gui/curses/gui-display.c:2117 +#: src/gui/curses/gui-display.c:2158 msgid " " msgstr "" -#: src/gui/curses/gui-display.c:2129 +#: src/gui/curses/gui-display.c:2170 msgid "Act: " msgstr "" -#: src/gui/curses/gui-display.c:2210 +#: src/gui/curses/gui-display.c:2251 msgid "RAW_IRC" msgstr "" -#: src/gui/curses/gui-display.c:2231 +#: src/gui/curses/gui-display.c:2272 #, c-format msgid "Lag: %.1f" msgstr "" -#: src/gui/curses/gui-display.c:2247 +#: src/gui/curses/gui-display.c:2288 msgid "-MORE-" msgstr "" -#: src/gui/curses/gui-display.c:2506 +#: src/gui/curses/gui-display.c:2587 msgid " [A] Accept" msgstr "" -#: src/gui/curses/gui-display.c:2507 src/gui/curses/gui-display.c:2511 +#: src/gui/curses/gui-display.c:2588 src/gui/curses/gui-display.c:2592 msgid " [C] Cancel" msgstr "" -#: src/gui/curses/gui-display.c:2516 +#: src/gui/curses/gui-display.c:2597 msgid " [R] Remove" msgstr "" -#: src/gui/curses/gui-display.c:2520 +#: src/gui/curses/gui-display.c:2601 msgid " [P] Purge old DCC" msgstr "" -#: src/gui/curses/gui-display.c:2521 +#: src/gui/curses/gui-display.c:2602 msgid " [Q] Close DCC view" msgstr "" -#: src/gui/curses/gui-display.c:2529 +#: src/gui/curses/gui-display.c:2610 msgid " [Q] Close raw data view" msgstr "" -#: src/gui/gtk/gui-display.c:2263 +#: src/gui/gtk/gui-display.c:2276 msgid "server" msgstr "" -#: src/gui/gui-common.c:770 +#: src/gui/gui-common.c:777 msgid "Not enough memory for new line\n" msgstr "" -#: src/gui/gui-common.c:1139 +#: src/gui/gui-common.c:1146 msgid "Not enough memory for infobar message\n" msgstr "" -#: src/gui/gui-keyboard.c:45 +#: src/gui/gui-keyboard.c:49 msgid "terminate line" msgstr "" -#: src/gui/gui-keyboard.c:47 +#: src/gui/gui-keyboard.c:51 msgid "complete word" msgstr "" -#: src/gui/gui-keyboard.c:49 +#: src/gui/gui-keyboard.c:53 msgid "delete previous char" msgstr "" -#: src/gui/gui-keyboard.c:51 +#: src/gui/gui-keyboard.c:55 msgid "delete next char" msgstr "" -#: src/gui/gui-keyboard.c:53 +#: src/gui/gui-keyboard.c:57 msgid "delete until end of line" msgstr "" -#: src/gui/gui-keyboard.c:55 +#: src/gui/gui-keyboard.c:59 msgid "delete until beginning of line" msgstr "" -#: src/gui/gui-keyboard.c:57 +#: src/gui/gui-keyboard.c:61 msgid "delete entire line" msgstr "" -#: src/gui/gui-keyboard.c:59 +#: src/gui/gui-keyboard.c:63 msgid "delete previous word" msgstr "" -#: src/gui/gui-keyboard.c:61 +#: src/gui/gui-keyboard.c:65 msgid "delete next word" msgstr "" -#: src/gui/gui-keyboard.c:63 +#: src/gui/gui-keyboard.c:67 msgid "paste current clipboard content" msgstr "" -#: src/gui/gui-keyboard.c:65 +#: src/gui/gui-keyboard.c:69 msgid "transpose chars" msgstr "" -#: src/gui/gui-keyboard.c:67 +#: src/gui/gui-keyboard.c:71 msgid "go to beginning of line" msgstr "" -#: src/gui/gui-keyboard.c:69 +#: src/gui/gui-keyboard.c:73 msgid "go to end of line" msgstr "" -#: src/gui/gui-keyboard.c:71 +#: src/gui/gui-keyboard.c:75 msgid "move one char left" msgstr "" -#: src/gui/gui-keyboard.c:73 +#: src/gui/gui-keyboard.c:77 msgid "move to previous word" msgstr "" -#: src/gui/gui-keyboard.c:75 +#: src/gui/gui-keyboard.c:79 msgid "move one char right" msgstr "" -#: src/gui/gui-keyboard.c:77 +#: src/gui/gui-keyboard.c:81 msgid "move to next word" msgstr "" -#: src/gui/gui-keyboard.c:79 +#: src/gui/gui-keyboard.c:83 msgid "call previous command in history" msgstr "" -#: src/gui/gui-keyboard.c:81 +#: src/gui/gui-keyboard.c:85 msgid "call previous command in global history" msgstr "" -#: src/gui/gui-keyboard.c:83 +#: src/gui/gui-keyboard.c:87 msgid "call next command in history" msgstr "" -#: src/gui/gui-keyboard.c:85 +#: src/gui/gui-keyboard.c:89 msgid "call next command in global history" msgstr "" -#: src/gui/gui-keyboard.c:87 +#: src/gui/gui-keyboard.c:91 msgid "scroll one page up" msgstr "" -#: src/gui/gui-keyboard.c:89 +#: src/gui/gui-keyboard.c:93 msgid "scroll one page down" msgstr "" -#: src/gui/gui-keyboard.c:91 +#: src/gui/gui-keyboard.c:95 msgid "scroll a few lines up" msgstr "" -#: src/gui/gui-keyboard.c:93 +#: src/gui/gui-keyboard.c:97 msgid "scroll a few lines down" msgstr "" -#: src/gui/gui-keyboard.c:95 +#: src/gui/gui-keyboard.c:99 msgid "scroll to top of buffer" msgstr "" -#: src/gui/gui-keyboard.c:97 +#: src/gui/gui-keyboard.c:101 msgid "scroll to bottom of buffer" msgstr "" -#: src/gui/gui-keyboard.c:99 +#: src/gui/gui-keyboard.c:103 msgid "display beginning of nicklist" msgstr "" -#: src/gui/gui-keyboard.c:101 +#: src/gui/gui-keyboard.c:105 msgid "display end of nicklist" msgstr "" -#: src/gui/gui-keyboard.c:103 +#: src/gui/gui-keyboard.c:107 msgid "scroll nicklist one page up" msgstr "" -#: src/gui/gui-keyboard.c:105 +#: src/gui/gui-keyboard.c:109 msgid "scroll nicklist one page down" msgstr "" -#: src/gui/gui-keyboard.c:107 +#: src/gui/gui-keyboard.c:111 msgid "jump to buffer with activity" msgstr "" -#: src/gui/gui-keyboard.c:109 +#: src/gui/gui-keyboard.c:113 msgid "jump to DCC buffer" msgstr "" -#: src/gui/gui-keyboard.c:111 +#: src/gui/gui-keyboard.c:115 msgid "jump to raw IRC data buffer" msgstr "" -#: src/gui/gui-keyboard.c:113 +#: src/gui/gui-keyboard.c:117 msgid "jump to last buffer" msgstr "" -#: src/gui/gui-keyboard.c:115 +#: src/gui/gui-keyboard.c:119 msgid "jump to server buffer" msgstr "" -#: src/gui/gui-keyboard.c:117 +#: src/gui/gui-keyboard.c:121 msgid "jump to next server" msgstr "" -#: src/gui/gui-keyboard.c:119 +#: src/gui/gui-keyboard.c:123 msgid "switch active server on servers buffer" msgstr "" -#: src/gui/gui-keyboard.c:121 +#: src/gui/gui-keyboard.c:125 msgid "scroll to previous highlight in buffer" msgstr "" -#: src/gui/gui-keyboard.c:123 +#: src/gui/gui-keyboard.c:127 msgid "scroll to next highlight in buffer" msgstr "" -#: src/gui/gui-keyboard.c:125 +#: src/gui/gui-keyboard.c:129 msgid "scroll to first unread line in buffer" msgstr "" -#: src/gui/gui-keyboard.c:127 +#: src/gui/gui-keyboard.c:131 msgid "clear hotlist" msgstr "" -#: src/gui/gui-keyboard.c:129 +#: src/gui/gui-keyboard.c:133 msgid "clear infobar" msgstr "" -#: src/gui/gui-keyboard.c:131 +#: src/gui/gui-keyboard.c:135 msgid "refresh screen" msgstr "" -#: src/gui/gui-keyboard.c:133 +#: src/gui/gui-keyboard.c:137 msgid "grab a key" msgstr "" -#: src/gui/gui-keyboard.c:444 src/common/command.c:2450 +#: src/gui/gui-keyboard.c:448 src/common/command.c:2453 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "" -#: src/gui/gui-keyboard.c:455 +#: src/gui/gui-keyboard.c:459 #, c-format msgid "%s unable to bind key \"%s\" (invalid function name: \"%s\")\n" msgstr "" -#: src/gui/gui-keyboard.c:468 +#: src/gui/gui-keyboard.c:472 #, c-format msgid "%s not enough memory for key binding\n" msgstr "" -#: src/common/command.c:45 +#: src/common/command.c:48 msgid "create an alias for a command" msgstr "" -#: src/common/command.c:46 +#: src/common/command.c:49 msgid "[alias_name [command [arguments]]" msgstr "" -#: src/common/command.c:47 +#: src/common/command.c:50 msgid "" "alias_name: name of alias\n" " command: command name (WeeChat or IRC command, without first '/')\n" "arguments: arguments for command" msgstr "" -#: src/common/command.c:52 +#: src/common/command.c:55 msgid "manage buffers" msgstr "" -#: src/common/command.c:53 +#: src/common/command.c:56 msgid "[action [args] | number | [[server] [channel]]]" msgstr "" -#: src/common/command.c:54 +#: src/common/command.c:57 msgid "" " action: action to do:\n" " move: move buffer in the list (may be relative, for example -1)\n" @@ -2488,31 +2493,31 @@ msgid "" " number: jump to buffer by number" msgstr "" -#: src/common/command.c:63 +#: src/common/command.c:66 msgid "" "launch WeeChat/IRC builtin command (do not look at plugins handlers or " "aliases)" msgstr "" -#: src/common/command.c:64 +#: src/common/command.c:67 msgid "command" msgstr "" -#: src/common/command.c:65 +#: src/common/command.c:68 msgid "" "command: command to execute (a '/' is automatically added if not found at " "beginning of command)\n" msgstr "" -#: src/common/command.c:67 +#: src/common/command.c:70 msgid "change charset for server or channel" msgstr "" -#: src/common/command.c:68 +#: src/common/command.c:71 msgid "[(decode_iso | decode_utf | encode) charset]" msgstr "" -#: src/common/command.c:69 +#: src/common/command.c:72 msgid "" "decode_iso: charset used for decoding ISO\n" "decode_utf: charset used for decoding UTF\n" @@ -2520,88 +2525,88 @@ msgid "" " charset: charset to use (for example: ISO-8859-15, UTF-8,..)" msgstr "" -#: src/common/command.c:74 +#: src/common/command.c:77 msgid "clear window(s)" msgstr "" -#: src/common/command.c:75 +#: src/common/command.c:78 msgid "[-all]" msgstr "" -#: src/common/command.c:76 +#: src/common/command.c:79 msgid "-all: clear all windows" msgstr "" -#: src/common/command.c:78 +#: src/common/command.c:81 msgid "connect to a server" msgstr "" -#: src/common/command.c:79 src/common/command.c:83 +#: src/common/command.c:82 src/common/command.c:86 msgid "[servername]" msgstr "" -#: src/common/command.c:80 +#: src/common/command.c:83 msgid "servername: server name to connect" msgstr "" -#: src/common/command.c:82 +#: src/common/command.c:85 msgid "disconnect from a server" msgstr "" -#: src/common/command.c:84 +#: src/common/command.c:87 msgid "servername: server name to disconnect" msgstr "" -#: src/common/command.c:86 +#: src/common/command.c:89 msgid "print debug messages" msgstr "" -#: src/common/command.c:87 +#: src/common/command.c:90 msgid "dump | windows" msgstr "" -#: src/common/command.c:88 +#: src/common/command.c:91 msgid "" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" "windows: display windows tree" msgstr "" -#: src/common/command.c:91 +#: src/common/command.c:94 msgid "display help about commands" msgstr "" -#: src/common/command.c:92 +#: src/common/command.c:95 msgid "[command]" msgstr "" -#: src/common/command.c:93 +#: src/common/command.c:96 msgid "command: name of a WeeChat or IRC command" msgstr "" -#: src/common/command.c:95 +#: src/common/command.c:98 msgid "show buffer command history" msgstr "" -#: src/common/command.c:96 +#: src/common/command.c:99 msgid "[clear | value]" msgstr "" -#: src/common/command.c:97 +#: src/common/command.c:100 msgid "" "clear: clear history\n" "value: number of history entries to show" msgstr "" -#: src/common/command.c:100 +#: src/common/command.c:103 msgid "ignore IRC messages and/or hosts" msgstr "" -#: src/common/command.c:101 +#: src/common/command.c:104 msgid "[mask [[type | command] [channel [server]]]]" msgstr "" -#: src/common/command.c:102 +#: src/common/command.c:105 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2613,15 +2618,15 @@ msgid "" "Without argument, /ignore command lists all defined ignore." msgstr "" -#: src/common/command.c:111 +#: src/common/command.c:114 msgid "bind/unbind keys" msgstr "" -#: src/common/command.c:112 +#: src/common/command.c:115 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "" -#: src/common/command.c:113 +#: src/common/command.c:116 msgid "" " key: bind this key to an internal function or a command (beginning by " "\"/\")\n" @@ -2631,26 +2636,26 @@ msgid "" "bindings (use carefully!)" msgstr "" -#: src/common/command.c:120 +#: src/common/command.c:123 msgid "list/load/unload plugins" msgstr "" -#: src/common/command.c:121 +#: src/common/command.c:124 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "" -#: src/common/command.c:122 +#: src/common/command.c:125 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" "Without argument, /plugin command lists all loaded plugins." msgstr "" -#: src/common/command.c:125 +#: src/common/command.c:128 msgid "list, add or remove servers" msgstr "" -#: src/common/command.c:126 +#: src/common/command.c:129 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2658,7 +2663,7 @@ msgid "" "servername]" msgstr "" -#: src/common/command.c:131 +#: src/common/command.c:134 msgid "" "servername: server name, for internal and display use\n" " hostname: name or IP address of server\n" @@ -2673,27 +2678,27 @@ msgid "" " realname: real name of user" msgstr "" -#: src/common/command.c:143 +#: src/common/command.c:146 msgid "save config to disk" msgstr "" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "[file]" msgstr "" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "file: filename for writing config" msgstr "" -#: src/common/command.c:146 +#: src/common/command.c:149 msgid "set config options" msgstr "" -#: src/common/command.c:147 src/common/command.c:155 +#: src/common/command.c:150 src/common/command.c:158 msgid "[option [ = value]]" msgstr "" -#: src/common/command.c:148 +#: src/common/command.c:151 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2703,11 +2708,11 @@ msgid "" "server name and \"xxx\" an option for this server." msgstr "" -#: src/common/command.c:154 +#: src/common/command.c:157 msgid "set plugin config options" msgstr "" -#: src/common/command.c:156 +#: src/common/command.c:159 msgid "" "option: name of a plugin option\n" " value: value for option\n" @@ -2715,27 +2720,27 @@ msgid "" "Option is format: plugin.option, example: perl.myscript.item1" msgstr "" -#: src/common/command.c:160 +#: src/common/command.c:163 msgid "remove an alias" msgstr "" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name" msgstr "" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name: name of alias to remove" msgstr "" -#: src/common/command.c:163 +#: src/common/command.c:166 msgid "unignore IRC messages and/or hosts" msgstr "" -#: src/common/command.c:164 +#: src/common/command.c:167 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "" -#: src/common/command.c:165 +#: src/common/command.c:168 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2748,39 +2753,39 @@ msgid "" "Without argument, /unignore command lists all defined ignore." msgstr "" -#: src/common/command.c:175 +#: src/common/command.c:178 msgid "upgrade WeeChat without disconnecting from servers" msgstr "" -#: src/common/command.c:177 +#: src/common/command.c:180 msgid "" "This command run again WeeChat binary, so it should have been compiled " "installed with a package manager before running this command." msgstr "" -#: src/common/command.c:180 +#: src/common/command.c:183 msgid "show WeeChat uptime" msgstr "" -#: src/common/command.c:181 +#: src/common/command.c:184 msgid "[-o]" msgstr "" -#: src/common/command.c:182 +#: src/common/command.c:185 msgid "-o: send uptime on current channel as an IRC message" msgstr "" -#: src/common/command.c:184 +#: src/common/command.c:187 msgid "manage windows" msgstr "" -#: src/common/command.c:185 +#: src/common/command.c:188 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" msgstr "" -#: src/common/command.c:187 +#: src/common/command.c:190 #, c-format msgid "" " list: list opened windows (no parameter implies this list)\n" @@ -2801,587 +2806,613 @@ msgid "" "create a new window with size = current_size / 4" msgstr "" -#: src/common/command.c:384 src/common/command.c:738 +#: src/common/command.c:387 src/common/command.c:741 #, c-format msgid "%s circular reference when calling alias \"/%s\"\n" msgstr "" -#: src/common/command.c:718 src/common/command.c:854 src/common/command.c:925 +#: src/common/command.c:721 src/common/command.c:857 src/common/command.c:928 #, c-format msgid "%s command \"%s\" failed\n" msgstr "" -#: src/common/command.c:820 +#: src/common/command.c:823 #, c-format msgid "%s wrong argument count for %s command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:832 +#: src/common/command.c:835 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:881 +#: src/common/command.c:884 #, c-format msgid "%s wrong argument count for IRC command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:893 +#: src/common/command.c:896 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:908 +#: src/common/command.c:911 #, c-format msgid "%s command \"%s\" needs a server connection!\n" msgstr "" -#: src/common/command.c:938 +#: src/common/command.c:941 #, c-format msgid "%s unknown command \"%s\" (type /help for help)\n" msgstr "" -#: src/common/command.c:1083 +#: src/common/command.c:1086 msgid "This window is not a channel!\n" msgstr "" -#: src/common/command.c:1116 src/common/command.c:1153 -#: src/common/command.c:1288 +#: src/common/command.c:1119 src/common/command.c:1156 +#: src/common/command.c:1291 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "" -#: src/common/command.c:1125 +#: src/common/command.c:1128 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "" -#: src/common/command.c:1131 +#: src/common/command.c:1134 #, c-format msgid "Failed to create alias \"%s\" => \"%s\" (not enough memory)\n" msgstr "" -#: src/common/command.c:1143 src/common/command.c:1164 +#: src/common/command.c:1146 src/common/command.c:1167 msgid "List of aliases:\n" msgstr "" -#: src/common/command.c:1178 +#: src/common/command.c:1181 msgid "No alias defined.\n" msgstr "" -#: src/common/command.c:1197 +#: src/common/command.c:1200 #, c-format msgid "%sServer: %s%s\n" msgstr "" -#: src/common/command.c:1202 +#: src/common/command.c:1205 #, c-format msgid "%snot connected\n" msgstr "" -#: src/common/command.c:1206 +#: src/common/command.c:1209 #, c-format msgid "%sChannel: %s%s %s(server: %s%s%s)\n" msgstr "" -#: src/common/command.c:1215 +#: src/common/command.c:1218 #, c-format msgid "%sPrivate with: %s%s %s(server: %s%s%s)\n" msgstr "" -#: src/common/command.c:1224 src/common/command.c:1236 +#: src/common/command.c:1227 src/common/command.c:1239 #, c-format msgid "%sunknown\n" msgstr "" -#: src/common/command.c:1232 +#: src/common/command.c:1235 #, c-format msgid "%sraw IRC data\n" msgstr "" -#: src/common/command.c:1267 +#: src/common/command.c:1270 msgid "Opened buffers:\n" msgstr "" -#: src/common/command.c:1312 +#: src/common/command.c:1315 #, c-format msgid "%s incorrect buffer number\n" msgstr "" -#: src/common/command.c:1329 +#: src/common/command.c:1332 #, c-format msgid "%s can not close the single buffer\n" msgstr "" -#: src/common/command.c:1340 +#: src/common/command.c:1343 #, c-format msgid "%s can not close server buffer while channels are opened\n" msgstr "" -#: src/common/command.c:1398 +#: src/common/command.c:1401 msgid "Notify levels: " msgstr "" -#: src/common/command.c:1404 +#: src/common/command.c:1407 msgid "Raw IRC data" msgstr "" -#: src/common/command.c:1428 src/common/command.c:1478 +#: src/common/command.c:1431 src/common/command.c:1481 #, c-format msgid "%s incorrect notify level (must be between %d and %d)\n" msgstr "" -#: src/common/command.c:1438 +#: src/common/command.c:1441 #, c-format msgid "%s incorrect buffer for notify (must be channel or private)\n" msgstr "" -#: src/common/command.c:1448 +#: src/common/command.c:1451 #, c-format msgid "New notify level for %s%s%s: %s%d %s" msgstr "" -#: src/common/command.c:1458 +#: src/common/command.c:1461 msgid "(hotlist: never)\n" msgstr "" -#: src/common/command.c:1461 +#: src/common/command.c:1464 msgid "(hotlist: highlights)\n" msgstr "" -#: src/common/command.c:1464 +#: src/common/command.c:1467 msgid "(hotlist: highlights + messages)\n" msgstr "" -#: src/common/command.c:1467 +#: src/common/command.c:1470 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "" -#: src/common/command.c:1598 +#: src/common/command.c:1601 #, c-format msgid "Charsets for server %s%s%s: " msgstr "" -#: src/common/command.c:1606 +#: src/common/command.c:1609 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "" -#: src/common/command.c:1614 +#: src/common/command.c:1617 #, c-format msgid "Charsets for private %s%s%s: " msgstr "" -#: src/common/command.c:1642 src/common/command.c:1672 -#: src/common/command.c:1702 +#: src/common/command.c:1645 src/common/command.c:1675 +#: src/common/command.c:1705 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr "" -#: src/common/command.c:1771 src/common/command.c:1799 -#: src/common/command.c:1941 src/common/command.c:2569 -#: src/common/command.c:3833 src/common/command.c:3876 +#: src/common/command.c:1774 src/common/command.c:1802 +#: src/common/command.c:1944 src/common/command.c:2610 +#: src/common/command.c:3876 src/common/command.c:3919 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "" -#: src/common/command.c:1834 +#: src/common/command.c:1837 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1842 +#: src/common/command.c:1845 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1861 src/common/command.c:1990 +#: src/common/command.c:1864 src/common/command.c:1993 #, c-format msgid "%s server not found\n" msgstr "" -#: src/common/command.c:1974 +#: src/common/command.c:1977 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1982 +#: src/common/command.c:1985 msgid "Auto-reconnection is cancelled\n" msgstr "" -#: src/common/command.c:2018 src/common/weechat.c:489 +#: src/common/command.c:2021 src/common/weechat.c:489 #, c-format msgid "%s internal commands:\n" msgstr "" -#: src/common/command.c:2028 src/common/weechat.c:509 +#: src/common/command.c:2031 src/common/weechat.c:509 #, c-format msgid "IRC commands:\n" msgstr "" -#: src/common/command.c:2042 +#: src/common/command.c:2045 msgid "Plugin commands:\n" msgstr "" -#: src/common/command.c:2158 +#: src/common/command.c:2161 #, c-format msgid "No help available, \"%s\" is an unknown command\n" msgstr "" -#: src/common/command.c:2227 +#: src/common/command.c:2230 #, c-format msgid "%son %s%s%s/%s%s%s:%s ignoring %s%s%s from %s%s\n" msgstr "" -#: src/common/command.c:2265 +#: src/common/command.c:2268 msgid "List of ignore:\n" msgstr "" -#: src/common/command.c:2282 +#: src/common/command.c:2285 msgid "No ignore defined.\n" msgstr "" -#: src/common/command.c:2308 +#: src/common/command.c:2311 msgid "New ignore:" msgstr "" -#: src/common/command.c:2328 +#: src/common/command.c:2331 #, c-format msgid "New key binding: %s" msgstr "" -#: src/common/command.c:2367 +#: src/common/command.c:2370 msgid "Key bindings:\n" msgstr "" -#: src/common/command.c:2381 +#: src/common/command.c:2384 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "" -#: src/common/command.c:2387 +#: src/common/command.c:2390 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "" -#: src/common/command.c:2395 src/common/weechat.c:541 +#: src/common/command.c:2398 src/common/weechat.c:541 #, c-format msgid "Internal key functions:\n" msgstr "" -#: src/common/command.c:2415 +#: src/common/command.c:2418 msgid "Default key bindings restored\n" msgstr "" -#: src/common/command.c:2421 +#: src/common/command.c:2424 #, c-format msgid "%s \"-yes\" argument is required for keys reset (securuty reason)\n" msgstr "" -#: src/common/command.c:2482 +#: src/common/command.c:2485 msgid "Plugins loaded:\n" msgstr "" -#: src/common/command.c:2498 +#: src/common/command.c:2501 msgid " message handlers:\n" msgstr "" -#: src/common/command.c:2507 +#: src/common/command.c:2510 #, c-format msgid " IRC(%s)\n" msgstr "" -#: src/common/command.c:2514 +#: src/common/command.c:2517 msgid " (no message handler)\n" msgstr "" -#: src/common/command.c:2519 +#: src/common/command.c:2522 msgid " command handlers:\n" msgstr "" -#: src/common/command.c:2540 +#: src/common/command.c:2543 msgid " (no command handler)\n" msgstr "" -#: src/common/command.c:2546 +#: src/common/command.c:2548 +msgid " timer handlers:\n" +msgstr "" + +#: src/common/command.c:2557 +#, c-format +msgid " %d seconds\n" +msgstr "" + +#: src/common/command.c:2564 +msgid " (no timer handler)\n" +msgstr "" + +#: src/common/command.c:2569 +msgid " keyboard handlers:\n" +msgstr "" + +#: src/common/command.c:2579 +msgid " (no keyboard handler)\n" +msgstr "" + +#: src/common/command.c:2581 +#, c-format +msgid " %d defined\n" +msgstr "" + +#: src/common/command.c:2587 msgid " (no plugin)\n" msgstr "" -#: src/common/command.c:2582 src/common/command.c:3462 +#: src/common/command.c:2623 src/common/command.c:3505 #, c-format msgid "" "Command \"%s\" is not available, WeeChat was built without plugins support.\n" msgstr "" -#: src/common/command.c:2611 +#: src/common/command.c:2654 msgid "Configuration file saved\n" msgstr "" -#: src/common/command.c:2616 +#: src/common/command.c:2659 #, c-format msgid "%s failed to save configuration file\n" msgstr "" -#: src/common/command.c:2655 +#: src/common/command.c:2698 msgid "No server.\n" msgstr "" -#: src/common/command.c:2666 +#: src/common/command.c:2709 #, c-format msgid "Server '%s' not found.\n" msgstr "" -#: src/common/command.c:2678 +#: src/common/command.c:2721 #, c-format msgid "%s missing servername for \"%s\" command\n" msgstr "" -#: src/common/command.c:2686 +#: src/common/command.c:2729 #, c-format msgid "%s too much arguments for \"%s\" command, ignoring arguments\n" msgstr "" -#: src/common/command.c:2696 +#: src/common/command.c:2739 #, c-format msgid "%s server \"%s\" not found for \"%s\" command\n" msgstr "" -#: src/common/command.c:2704 +#: src/common/command.c:2747 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" "disconnect %s before.\n" msgstr "" -#: src/common/command.c:2724 +#: src/common/command.c:2767 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "" -#: src/common/command.c:2743 +#: src/common/command.c:2786 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "" -#: src/common/command.c:2753 +#: src/common/command.c:2796 #, c-format msgid "%s server \"%s\" already exists, can't create it!\n" msgstr "" -#: src/common/command.c:2782 src/common/command.c:2810 -#: src/common/command.c:2823 src/common/command.c:2849 +#: src/common/command.c:2825 src/common/command.c:2853 +#: src/common/command.c:2866 src/common/command.c:2892 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2795 +#: src/common/command.c:2838 #, c-format msgid "%s missing nick(s) for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2836 +#: src/common/command.c:2879 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2874 +#: src/common/command.c:2917 #, c-format msgid "Server %s%s%s created\n" msgstr "" -#: src/common/command.c:2883 +#: src/common/command.c:2926 #, c-format msgid "%s unable to create server\n" msgstr "" -#: src/common/command.c:2943 +#: src/common/command.c:2986 msgid "(unknown)" msgstr "" -#: src/common/command.c:2966 +#: src/common/command.c:3009 #, c-format msgid "%s(password hidden) " msgstr "" -#: src/common/command.c:3064 +#: src/common/command.c:3107 #, c-format msgid "%s server \"%s\" not found\n" msgstr "" -#: src/common/command.c:3097 src/common/command.c:3145 +#: src/common/command.c:3140 src/common/command.c:3188 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "" -#: src/common/command.c:3102 src/common/command.c:3137 +#: src/common/command.c:3145 src/common/command.c:3180 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "" -#: src/common/command.c:3118 +#: src/common/command.c:3161 #, c-format msgid "%s option \"%s\" can not be changed while WeeChat is running\n" msgstr "" -#: src/common/command.c:3228 +#: src/common/command.c:3271 #, c-format msgid "No config option found with \"%s\"\n" msgstr "" -#: src/common/command.c:3231 +#: src/common/command.c:3274 msgid "No config option found\n" msgstr "" -#: src/common/command.c:3238 +#: src/common/command.c:3281 #, c-format msgid "%sDetail:\n" msgstr "" -#: src/common/command.c:3243 +#: src/common/command.c:3286 msgid " . type boolean (values: 'on' or 'off')\n" msgstr "" -#: src/common/command.c:3244 src/common/command.c:3267 -#: src/common/command.c:3273 src/common/command.c:3279 +#: src/common/command.c:3287 src/common/command.c:3310 +#: src/common/command.c:3316 src/common/command.c:3322 #: src/common/weechat.c:425 src/common/weechat.c:450 src/common/weechat.c:457 #: src/common/weechat.c:464 #, c-format msgid " . default value: '%s'\n" msgstr "" -#: src/common/command.c:3249 +#: src/common/command.c:3292 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr "" -#: src/common/command.c:3252 src/common/weechat.c:434 +#: src/common/command.c:3295 src/common/weechat.c:434 #, c-format msgid " . default value: %d\n" msgstr "" -#: src/common/command.c:3256 +#: src/common/command.c:3299 msgid " . type string (values: " msgstr "" -#: src/common/command.c:3269 src/common/command.c:3275 -#: src/common/command.c:3281 src/common/weechat.c:452 src/common/weechat.c:459 +#: src/common/command.c:3312 src/common/command.c:3318 +#: src/common/command.c:3324 src/common/weechat.c:452 src/common/weechat.c:459 #: src/common/weechat.c:466 msgid "empty" msgstr "" -#: src/common/command.c:3272 +#: src/common/command.c:3315 msgid " . type color (Curses or Gtk color, look at WeeChat doc)\n" msgstr "" -#: src/common/command.c:3278 +#: src/common/command.c:3321 msgid " . type string (any string)\n" msgstr "" -#: src/common/command.c:3284 src/common/weechat.c:469 +#: src/common/command.c:3327 src/common/weechat.c:469 #, c-format msgid " . description: %s\n" msgstr "" -#: src/common/command.c:3295 +#: src/common/command.c:3338 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "" -#: src/common/command.c:3298 +#: src/common/command.c:3341 msgid "config option(s) found\n" msgstr "" -#: src/common/command.c:3406 +#: src/common/command.c:3449 #, c-format msgid "%s incorrect value for plugin option \"%s\"\n" msgstr "" -#: src/common/command.c:3435 +#: src/common/command.c:3478 #, c-format msgid "No plugin option found with \"%s\"\n" msgstr "" -#: src/common/command.c:3438 +#: src/common/command.c:3481 msgid "No plugin option found\n" msgstr "" -#: src/common/command.c:3448 +#: src/common/command.c:3491 #, c-format msgid "plugin option(s) found with \"%s\"\n" msgstr "" -#: src/common/command.c:3451 +#: src/common/command.c:3494 msgid "plugin option(s) found\n" msgstr "" -#: src/common/command.c:3489 +#: src/common/command.c:3532 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "" -#: src/common/command.c:3499 +#: src/common/command.c:3542 #, c-format msgid "Alias \"%s\" removed\n" msgstr "" -#: src/common/command.c:3559 +#: src/common/command.c:3602 msgid "ignore were removed.\n" msgstr "" -#: src/common/command.c:3561 +#: src/common/command.c:3604 msgid "ignore was removed.\n" msgstr "" -#: src/common/command.c:3566 +#: src/common/command.c:3609 #, c-format msgid "%s no ignore found\n" msgstr "" -#: src/common/command.c:3600 +#: src/common/command.c:3643 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "" -#: src/common/command.c:3610 +#: src/common/command.c:3653 #, c-format msgid "" "%s can't upgrade: connection to at least one SSL server is active (should be " "fixed in a future version)\n" msgstr "" -#: src/common/command.c:3626 +#: src/common/command.c:3669 msgid "Upgrading WeeChat...\n" msgstr "" -#: src/common/command.c:3633 +#: src/common/command.c:3676 #, c-format msgid "%s unable to save session in file\n" msgstr "" -#: src/common/command.c:3659 +#: src/common/command.c:3702 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:3699 +#: src/common/command.c:3742 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "" -#: src/common/command.c:3713 +#: src/common/command.c:3756 #, c-format msgid "WeeChat uptime: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, started on %s%s" msgstr "" -#: src/common/command.c:3757 +#: src/common/command.c:3800 msgid "Opened windows:\n" msgstr "" -#: src/common/command.c:3844 +#: src/common/command.c:3887 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -5057,14 +5088,14 @@ msgstr "" msgid "Creating default config file\n" msgstr "" -#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2293 +#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2294 #, c-format msgid "" "#\n" "# %s configuration file, created by %s v%s on %s" msgstr "" -#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2297 +#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2298 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -5072,6 +5103,6 @@ msgid "" "#\n" msgstr "" -#: src/common/weeconfig.c:2290 +#: src/common/weeconfig.c:2291 msgid "Saving config to disk\n" msgstr "" diff --git a/src/common/command.c b/src/common/command.c index 9f77b2ccb..ffe2f4eb7 100644 --- a/src/common/command.c +++ b/src/common/command.c @@ -36,7 +36,10 @@ #include "fifo.h" #include "../irc/irc.h" #include "../gui/gui.h" + +#ifdef PLUGINS #include "../plugins/plugins.h" +#endif /* WeeChat internal commands */ @@ -2539,6 +2542,44 @@ weechat_cmd_plugin (t_irc_server *server, t_irc_channel *channel, irc_display_prefix (NULL, NULL, PREFIX_PLUGIN); gui_printf (NULL, _(" (no command handler)\n")); } + + /* timer handlers */ + irc_display_prefix (NULL, NULL, PREFIX_PLUGIN); + gui_printf (NULL, _(" timer handlers:\n")); + handler_found = 0; + for (ptr_handler = ptr_plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if (ptr_handler->type == HANDLER_TIMER) + { + handler_found = 1; + irc_display_prefix (NULL, NULL, PREFIX_PLUGIN); + gui_printf (NULL, _(" %d seconds\n"), + ptr_handler->interval); + } + } + if (!handler_found) + { + irc_display_prefix (NULL, NULL, PREFIX_PLUGIN); + gui_printf (NULL, _(" (no timer handler)\n")); + } + + /* keyboard handlers */ + irc_display_prefix (NULL, NULL, PREFIX_PLUGIN); + gui_printf (NULL, _(" keyboard handlers:\n")); + handler_found = 0; + for (ptr_handler = ptr_plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if (ptr_handler->type == HANDLER_KEYBOARD) + handler_found++; + } + irc_display_prefix (NULL, NULL, PREFIX_PLUGIN); + if (!handler_found) + gui_printf (NULL, _(" (no keyboard handler)\n")); + else + gui_printf (NULL, _(" %d defined\n"), + handler_found); } if (!weechat_plugins) { @@ -2583,6 +2624,8 @@ weechat_cmd_plugin (t_irc_server *server, t_irc_channel *channel, "without plugins support.\n"), "plugin"); /* make gcc happy */ + (void) server; + (void) channel; (void) argc; (void) argv; #endif /* PLUGINS */ diff --git a/src/common/completion.c b/src/common/completion.c index 0ef9d61ea..1155b785c 100644 --- a/src/common/completion.c +++ b/src/common/completion.c @@ -424,6 +424,9 @@ completion_list_add_plugin_option (t_completion *completion) &completion->last_completion, ptr_option->name); } +#else + /* make gcc happy */ + (void) completion; #endif } @@ -457,6 +460,9 @@ completion_list_add_plugin (t_completion *completion) &completion->last_completion, ptr_plugin->name); } +#else + /* make gcc happy */ + (void) completion; #endif } @@ -634,6 +640,9 @@ completion_list_add_plugin_option_value (t_completion *completion) if (pos) pos[0] = ' '; } +#else + /* make gcc happy */ + (void) completion; #endif } diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c index aad6816ce..094521987 100644 --- a/src/gui/curses/gui-display.c +++ b/src/gui/curses/gui-display.c @@ -48,6 +48,18 @@ #include "../../irc/irc.h" +/* shift ncurses colors for compatibility with colors + in IRC messages (same as other IRC clients) */ + +#define WEECHAT_COLOR_BLACK COLOR_BLACK +#define WEECHAT_COLOR_RED COLOR_BLUE +#define WEECHAT_COLOR_GREEN COLOR_GREEN +#define WEECHAT_COLOR_YELLOW COLOR_CYAN +#define WEECHAT_COLOR_BLUE COLOR_RED +#define WEECHAT_COLOR_MAGENTA COLOR_MAGENTA +#define WEECHAT_COLOR_CYAN COLOR_YELLOW +#define WEECHAT_COLOR_WHITE COLOR_WHITE + t_gui_color gui_weechat_colors[] = { { -1, 0, 0, "default" }, { WEECHAT_COLOR_BLACK, 0, 0, "black" }, @@ -67,7 +79,7 @@ t_gui_color gui_weechat_colors[] = { 0, 0, 0, NULL } }; -int gui_irc_colors[16][2] = +int gui_irc_colors[GUI_NUM_IRC_COLORS][2] = { { /* 0 */ WEECHAT_COLOR_WHITE, A_BOLD }, { /* 1 */ WEECHAT_COLOR_BLACK, 0 }, { /* 2 */ WEECHAT_COLOR_BLUE, 0 }, @@ -86,7 +98,7 @@ int gui_irc_colors[16][2] = { /* 15 */ WEECHAT_COLOR_WHITE, A_BOLD } }; -t_gui_color *gui_color[NUM_COLORS]; +t_gui_color *gui_color[GUI_NUM_COLORS]; /* @@ -205,13 +217,13 @@ gui_color_decode (unsigned char *string, int keep_colors) if (str_fg[0]) { sscanf (str_fg, "%d", &fg); - fg %= 16; + fg %= GUI_NUM_IRC_COLORS; attr |= gui_irc_colors[fg][1]; } if (str_bg[0]) { sscanf (str_bg, "%d", &bg); - bg %= 16; + bg %= GUI_NUM_IRC_COLORS; attr |= gui_irc_colors[bg][1]; } if (attr & A_BOLD) @@ -465,7 +477,7 @@ gui_color_get_pair (int num_color) { int fg, bg; - if ((num_color < 0) || (num_color > NUM_COLORS - 1)) + if ((num_color < 0) || (num_color > GUI_NUM_COLORS - 1)) return WEECHAT_COLOR_WHITE; fg = gui_color[num_color]->foreground; @@ -489,7 +501,7 @@ gui_color_get_pair (int num_color) void gui_window_set_weechat_color (WINDOW *window, int num_color) { - if ((num_color >= 0) && (num_color <= NUM_COLORS - 1)) + if ((num_color >= 0) && (num_color <= GUI_NUM_COLORS - 1)) { wattroff (window, A_BOLD | A_UNDERLINE | A_REVERSE); wattron (window, COLOR_PAIR(gui_color_get_pair (num_color)) | @@ -620,6 +632,35 @@ gui_window_chat_set_weechat_color (t_gui_window *window, int weechat_color) gui_color[weechat_color]->background); } +/* + * gui_window_input_set_color: set color for an input window + */ + +void +gui_window_input_set_color (t_gui_window *window, int irc_color) +{ + int fg, bg; + + fg = gui_irc_colors[irc_color][0]; + bg = gui_color[COLOR_WIN_INPUT]->background; + + irc_color %= GUI_NUM_IRC_COLORS; + if (gui_irc_colors[irc_color][1] & A_BOLD) + wattron (window->win_input, A_BOLD); + + if (((fg == -1) || (fg == 99)) + && ((bg == -1) || (bg == 99))) + wattron (window->win_input, COLOR_PAIR(63)); + else + { + if ((fg == -1) || (fg == 99)) + fg = WEECHAT_COLOR_WHITE; + if ((bg == -1) || (bg == 99)) + bg = 0; + wattron (window->win_input, COLOR_PAIR((bg * 8) + fg)); + } +} + /* * gui_calculate_pos_size: calculate position and size for a buffer & subwindows */ @@ -2384,6 +2425,50 @@ gui_get_input_width (t_gui_window *window, char *nick) return (window->win_width - strlen (nick) - 3); } +/* + * gui_draw_buffer_input_text: display text in input buffer, according to color mask + */ + +void +gui_draw_buffer_input_text (t_gui_window *window, int input_width) +{ + char *ptr_start, *ptr_next, saved_char; + int pos_mask, size, last_color, color; + + ptr_start = utf8_add_offset (window->buffer->input_buffer, + window->buffer->input_buffer_1st_display); + pos_mask = ptr_start - window->buffer->input_buffer; + last_color = -1; + while ((input_width > 0) && ptr_start && ptr_start[0]) + { + ptr_next = utf8_next_char (ptr_start); + if (ptr_next) + { + saved_char = ptr_next[0]; + ptr_next[0] = '\0'; + size = ptr_next - ptr_start; + if (window->buffer->input_buffer_color_mask[pos_mask] != ' ') + color = window->buffer->input_buffer_color_mask[pos_mask] - '0'; + else + color = -1; + if (color != last_color) + { + if (color == -1) + gui_window_set_weechat_color (window->win_input, COLOR_WIN_INPUT); + else + gui_window_input_set_color (window, color); + } + last_color = color; + wprintw (window->win_input, "%s", ptr_start); + ptr_next[0] = saved_char; + ptr_start = ptr_next; + pos_mask += size; + } + else + ptr_start = NULL; + } +} + /* * gui_draw_buffer_input: draw input window for a buffer */ @@ -2456,9 +2541,7 @@ gui_draw_buffer_input (t_gui_buffer *buffer, int erase) gui_window_set_weechat_color (ptr_win->win_input, COLOR_WIN_INPUT); snprintf (format, 32, "%%-%ds", input_width); if (ptr_win == gui_current_window) - wprintw (ptr_win->win_input, format, - utf8_add_offset (buffer->input_buffer, - buffer->input_buffer_1st_display)); + gui_draw_buffer_input_text (ptr_win, input_width); else wprintw (ptr_win->win_input, format, ""); wclrtoeol (ptr_win->win_input); @@ -2480,9 +2563,7 @@ gui_draw_buffer_input (t_gui_buffer *buffer, int erase) gui_window_set_weechat_color (ptr_win->win_input, COLOR_WIN_INPUT); snprintf (format, 32, "%%-%ds", input_width); if (ptr_win == gui_current_window) - wprintw (ptr_win->win_input, format, - utf8_add_offset (buffer->input_buffer, - buffer->input_buffer_1st_display)); + gui_draw_buffer_input_text (ptr_win, input_width); else wprintw (ptr_win->win_input, format, ""); wclrtoeol (ptr_win->win_input); @@ -3503,7 +3584,7 @@ gui_rebuild_weechat_colors () if (has_colors ()) { - for (i = 0; i < NUM_COLORS; i++) + for (i = 0; i < GUI_NUM_COLORS; i++) { if (gui_color[i]) { diff --git a/src/gui/curses/gui-input.c b/src/gui/curses/gui-input.c index ff18657c6..450fef559 100644 --- a/src/gui/curses/gui-input.c +++ b/src/gui/curses/gui-input.c @@ -46,7 +46,10 @@ #include "../../common/fifo.h" #include "../../common/utf8.h" #include "../../irc/irc.h" + +#ifdef PLUGINS #include "../../plugins/plugins.h" +#endif /* @@ -154,7 +157,9 @@ gui_input_default_key_bindings () void gui_input_grab_end () { - char *expanded_key; + char *expanded_key, *expanded_key2; + int length; + char *buffer_before_key; /* get expanded name (for example: ^U => ctrl-u) */ expanded_key = gui_key_get_expanded_name (gui_key_buffer); @@ -163,9 +168,27 @@ gui_input_grab_end () { if (gui_current_window->buffer->has_input) { + buffer_before_key = + (gui_current_window->buffer->input_buffer) ? + strdup (gui_current_window->buffer->input_buffer) : strdup (""); gui_insert_string_input (gui_current_window, expanded_key, -1); gui_current_window->buffer->input_buffer_pos += utf8_strlen (expanded_key); gui_draw_buffer_input (gui_current_window->buffer, 1); + gui_current_window->buffer->completion.position = -1; +#ifdef PLUGINS + length = strlen (expanded_key) + 1 + 1; + expanded_key2 = (char *) malloc (length); + if (expanded_key2) + { + snprintf (expanded_key2, length, "*%s", expanded_key); + (void) plugin_keyboard_handler_exec (expanded_key2, + buffer_before_key, + gui_current_window->buffer->input_buffer); + free (expanded_key2); + } +#endif + if (buffer_before_key) + free (buffer_before_key); } free (expanded_key); } @@ -184,7 +207,8 @@ void gui_input_read () { int key, i, insert_ok; - char key_str[32]; + char key_str[32], key_str2[33]; + char *buffer_before_key; i = 0; /* do not loop too much here (for example when big paste was made), @@ -283,10 +307,19 @@ gui_input_read () switch (gui_current_window->buffer->type) { case BUFFER_TYPE_STANDARD: + buffer_before_key = + (gui_current_window->buffer->input_buffer) ? + strdup (gui_current_window->buffer->input_buffer) : strdup (""); gui_insert_string_input (gui_current_window, key_str, -1); gui_current_window->buffer->input_buffer_pos += utf8_strlen (key_str); gui_draw_buffer_input (gui_current_window->buffer, 0); gui_current_window->buffer->completion.position = -1; +#ifdef PLUGINS + snprintf (key_str2, sizeof (key_str2), "*%s", key_str); + (void) plugin_keyboard_handler_exec (key_str2, + buffer_before_key, + gui_current_window->buffer->input_buffer); +#endif break; case BUFFER_TYPE_DCC: gui_exec_action_dcc (gui_current_window, key_str); diff --git a/src/gui/gtk/gui-display.c b/src/gui/gtk/gui-display.c index ef8c21c0f..01041ee8e 100644 --- a/src/gui/gtk/gui-display.c +++ b/src/gui/gtk/gui-display.c @@ -57,6 +57,19 @@ #define COLOR_YELLOW 6 #define COLOR_WHITE 7 + +/* shift ncurses colors for compatibility with colors + in IRC messages (same as other IRC clients) */ + +#define WEECHAT_COLOR_BLACK COLOR_BLACK +#define WEECHAT_COLOR_RED COLOR_BLUE +#define WEECHAT_COLOR_GREEN COLOR_GREEN +#define WEECHAT_COLOR_YELLOW COLOR_CYAN +#define WEECHAT_COLOR_BLUE COLOR_RED +#define WEECHAT_COLOR_MAGENTA COLOR_MAGENTA +#define WEECHAT_COLOR_CYAN COLOR_YELLOW +#define WEECHAT_COLOR_WHITE COLOR_WHITE + t_gui_color gui_weechat_colors[] = { { -1, 0, 0, "default" }, { WEECHAT_COLOR_BLACK, 0, 0, "black" }, @@ -76,7 +89,7 @@ t_gui_color gui_weechat_colors[] = { 0, 0, 0, NULL } }; -int gui_irc_colors[16][2] = +int gui_irc_colors[GUI_NUM_IRC_COLORS][2] = { { /* 0 */ WEECHAT_COLOR_WHITE, A_BOLD }, { /* 1 */ WEECHAT_COLOR_BLACK, 0 }, { /* 2 */ WEECHAT_COLOR_BLUE, 0 }, @@ -95,7 +108,7 @@ int gui_irc_colors[16][2] = { /* 15 */ WEECHAT_COLOR_WHITE, A_BOLD } }; -t_gui_color *gui_color[NUM_COLORS]; +t_gui_color *gui_color[GUI_NUM_COLORS]; GtkWidget *gtk_main_window; GtkWidget *vbox1; @@ -486,7 +499,7 @@ gui_color_get_pair (int num_color) { int fg, bg; - if ((num_color < 0) || (num_color > NUM_COLORS - 1)) + if ((num_color < 0) || (num_color > GUI_NUM_COLORS - 1)) return WEECHAT_COLOR_WHITE; fg = gui_color[num_color]->foreground; @@ -511,7 +524,7 @@ gui_color_get_pair (int num_color) /*void gui_window_set_weechat_color (WINDOW *window, int num_color) { - if ((num_color >= 0) && (num_color <= NUM_COLORS - 1)) + if ((num_color >= 0) && (num_color <= GUI_NUM_COLORS - 1)) { wattroff (window, A_BOLD | A_UNDERLINE | A_REVERSE); wattron (window, COLOR_PAIR(gui_color_get_pair (num_color)) | @@ -2114,7 +2127,7 @@ gui_rebuild_weechat_colors () { int i; - for (i = 0; i < NUM_COLORS; i++) + for (i = 0; i < GUI_NUM_COLORS; i++) { if (gui_color[i]) { diff --git a/src/gui/gui-action.c b/src/gui/gui-action.c index d4308cd75..8d00f1ba1 100644 --- a/src/gui/gui-action.c +++ b/src/gui/gui-action.c @@ -95,18 +95,21 @@ gui_action_return (t_gui_window *window) if (window->buffer->input_buffer_size > 0) { window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; command = strdup (window->buffer->input_buffer); if (!command) return; history_buffer_add (window->buffer, window->buffer->input_buffer); history_global_add (window->buffer->input_buffer); window->buffer->input_buffer[0] = '\0'; + window->buffer->input_buffer_color_mask[0] = '\0'; window->buffer->input_buffer_size = 0; window->buffer->input_buffer_length = 0; window->buffer->input_buffer_pos = 0; window->buffer->input_buffer_1st_display = 0; window->buffer->completion.position = -1; window->buffer->ptr_history = NULL; + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); user_command (SERVER(window->buffer), CHANNEL(window->buffer), command, 0); @@ -141,32 +144,46 @@ gui_action_tab (t_gui_window *window) window->buffer->completion.diff_size; window->buffer->input_buffer_length += window->buffer->completion.diff_length; - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; for (i = window->buffer->input_buffer_size - 1; i >= window->buffer->completion.position_replace + (int)strlen (window->buffer->completion.word_found); i--) + { window->buffer->input_buffer[i] = window->buffer->input_buffer[i - window->buffer->completion.diff_size]; + window->buffer->input_buffer_color_mask[i] = + window->buffer->input_buffer_color_mask[i - window->buffer->completion.diff_size]; + } } else { for (i = window->buffer->completion.position_replace + strlen (window->buffer->completion.word_found); i < window->buffer->input_buffer_size; i++) + { window->buffer->input_buffer[i] = window->buffer->input_buffer[i - window->buffer->completion.diff_size]; + window->buffer->input_buffer_color_mask[i] = + window->buffer->input_buffer_color_mask[i - window->buffer->completion.diff_size]; + } window->buffer->input_buffer_size += window->buffer->completion.diff_size; window->buffer->input_buffer_length += window->buffer->completion.diff_length; - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; } strncpy (window->buffer->input_buffer + window->buffer->completion.position_replace, window->buffer->completion.word_found, strlen (window->buffer->completion.word_found)); + for (i = 0; i < (int)strlen (window->buffer->completion.word_found); i++) + { + window->buffer->input_buffer_color_mask[window->buffer->completion.position_replace + i] = ' '; + } window->buffer->input_buffer_pos = utf8_pos (window->buffer->input_buffer, window->buffer->completion.position_replace) + @@ -238,12 +255,13 @@ gui_action_backspace (t_gui_window *window) pos_last = utf8_prev_char (window->buffer->input_buffer, pos); char_size = pos - pos_last; size_to_move = strlen (pos); - memmove (pos_last, pos, size_to_move); + gui_input_move (window->buffer, pos_last, pos, size_to_move); window->buffer->input_buffer_size -= char_size; window->buffer->input_buffer_length--; window->buffer->input_buffer_pos--; window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; - gui_optimize_input_buffer_size (window->buffer); + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); window->buffer->completion.position = -1; } @@ -270,11 +288,12 @@ gui_action_delete (t_gui_window *window) pos_next = utf8_next_char (pos); char_size = pos_next - pos; size_to_move = strlen (pos_next); - memmove (pos, pos_next, size_to_move); + gui_input_move (window->buffer, pos, pos_next, size_to_move); window->buffer->input_buffer_size -= char_size; window->buffer->input_buffer_length--; window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; - gui_optimize_input_buffer_size (window->buffer); + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); window->buffer->completion.position = -1; } @@ -327,13 +346,14 @@ gui_action_delete_previous_word (t_gui_window *window) gui_action_clipboard_copy (string, size_deleted); - memmove (string, string + size_deleted, strlen (string + size_deleted)); + gui_input_move (window->buffer, string, string + size_deleted, strlen (string + size_deleted)); window->buffer->input_buffer_size -= size_deleted; window->buffer->input_buffer_length -= length_deleted; window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; window->buffer->input_buffer_pos -= length_deleted; - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); window->buffer->completion.position = -1; } @@ -367,12 +387,13 @@ gui_action_delete_next_word (t_gui_window *window) gui_action_clipboard_copy(start, size_deleted); - memmove (start, string, strlen (string)); + gui_input_move (window->buffer, start, string, strlen (string)); window->buffer->input_buffer_size -= size_deleted; window->buffer->input_buffer_length -= length_deleted; window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; - gui_optimize_input_buffer_size (window->buffer); + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); window->buffer->completion.position = -1; } @@ -385,7 +406,7 @@ gui_action_delete_next_word (t_gui_window *window) void gui_action_delete_begin_of_line (t_gui_window *window) { - int length_deleted, size_deleted; + int length_deleted, size_deleted, pos_start; char *start; if (window->buffer->has_input) @@ -394,18 +415,20 @@ gui_action_delete_begin_of_line (t_gui_window *window) { start = utf8_add_offset (window->buffer->input_buffer, window->buffer->input_buffer_pos); + pos_start = start - window->buffer->input_buffer; size_deleted = start - window->buffer->input_buffer; length_deleted = utf8_strnlen (window->buffer->input_buffer, size_deleted); gui_action_clipboard_copy (window->buffer->input_buffer, start - window->buffer->input_buffer); - memmove (window->buffer->input_buffer, start, strlen (start)); + gui_input_move (window->buffer, window->buffer->input_buffer, start, strlen (start)); window->buffer->input_buffer_size -= size_deleted; window->buffer->input_buffer_length -= length_deleted; window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; window->buffer->input_buffer_pos = 0; - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); window->buffer->completion.position = -1; } @@ -420,19 +443,21 @@ void gui_action_delete_end_of_line (t_gui_window *window) { char *start; - int size_deleted, length_deleted; + int size_deleted, length_deleted, pos_start; if (window->buffer->has_input) { start = utf8_add_offset (window->buffer->input_buffer, window->buffer->input_buffer_pos); + pos_start = start - window->buffer->input_buffer; size_deleted = strlen (start); length_deleted = utf8_strlen (start); gui_action_clipboard_copy (start, size_deleted); start[0] = '\0'; + window->buffer->input_buffer_color_mask[pos_start] = '\0'; window->buffer->input_buffer_size = strlen (window->buffer->input_buffer); window->buffer->input_buffer_length = utf8_strlen (window->buffer->input_buffer); - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); window->buffer->completion.position = -1; } @@ -448,10 +473,11 @@ gui_action_delete_line (t_gui_window *window) if (window->buffer->has_input) { window->buffer->input_buffer[0] = '\0'; + window->buffer->input_buffer_color_mask[0] = '\0'; window->buffer->input_buffer_size = 0; window->buffer->input_buffer_length = 0; window->buffer->input_buffer_pos = 0; - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); window->buffer->completion.position = -1; } @@ -465,7 +491,8 @@ void gui_action_transpose_chars (t_gui_window *window) { char *start, *prev_char, saved_char[4]; - int size_current_char; + int size_current_char, size_start_char; + int pos_prev_char, pos_start; if (window->buffer->has_input) { @@ -476,14 +503,23 @@ gui_action_transpose_chars (t_gui_window *window) start = utf8_add_offset (window->buffer->input_buffer, window->buffer->input_buffer_pos); + pos_start = start - window->buffer->input_buffer; prev_char = utf8_prev_char (window->buffer->input_buffer, start); + pos_prev_char = prev_char - window->buffer->input_buffer; size_current_char = start - prev_char; + size_start_char = utf8_char_size (start); + memcpy (saved_char, prev_char, size_current_char); - memcpy (prev_char, start, utf8_char_size (start)); - start = utf8_next_char (prev_char); + memcpy (prev_char, start, size_start_char); memcpy (start, saved_char, size_current_char); + memcpy (saved_char, window->buffer->input_buffer_color_mask + pos_prev_char, size_current_char); + memcpy (window->buffer->input_buffer_color_mask + pos_prev_char, + window->buffer->input_buffer_color_mask + pos_start, size_start_char); + memcpy (window->buffer->input_buffer_color_mask + pos_start, + saved_char, size_current_char); + window->buffer->input_buffer_pos++; gui_draw_buffer_input (window->buffer, 0); @@ -693,6 +729,7 @@ gui_action_up (t_gui_window *window) if (window->buffer->input_buffer_size > 0) { window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; history_buffer_add (window->buffer, window->buffer->input_buffer); history_global_add (window->buffer->input_buffer); } @@ -702,6 +739,7 @@ gui_action_up (t_gui_window *window) if (window->buffer->input_buffer_size > 0) { window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; if (window->buffer->ptr_history->prev_history->text) free(window->buffer->ptr_history->prev_history->text); window->buffer->ptr_history->prev_history->text = strdup (window->buffer->input_buffer); @@ -711,12 +749,13 @@ gui_action_up (t_gui_window *window) strlen (window->buffer->ptr_history->text); window->buffer->input_buffer_length = utf8_strlen (window->buffer->ptr_history->text); - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); window->buffer->input_buffer_pos = window->buffer->input_buffer_length; window->buffer->input_buffer_1st_display = 0; strcpy (window->buffer->input_buffer, window->buffer->ptr_history->text); + gui_input_init_color_mask (window->buffer); gui_draw_buffer_input (window->buffer, 0); } } @@ -745,12 +784,13 @@ gui_action_up_global (t_gui_window *window) strlen (history_global_ptr->text); window->buffer->input_buffer_length = utf8_strlen (history_global_ptr->text); - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); window->buffer->input_buffer_pos = window->buffer->input_buffer_length; window->buffer->input_buffer_1st_display = 0; strcpy (window->buffer->input_buffer, history_global_ptr->text); + gui_input_init_color_mask (window->buffer); gui_draw_buffer_input (window->buffer, 0); } } @@ -810,13 +850,16 @@ gui_action_down (t_gui_window *window) window->buffer->input_buffer_size = 0; window->buffer->input_buffer_length = 0; } - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); window->buffer->input_buffer_pos = window->buffer->input_buffer_length; window->buffer->input_buffer_1st_display = 0; if (window->buffer->ptr_history) + { strcpy (window->buffer->input_buffer, window->buffer->ptr_history->text); + gui_input_init_color_mask (window->buffer); + } gui_draw_buffer_input (window->buffer, 0); } } @@ -846,13 +889,16 @@ gui_action_down_global (t_gui_window *window) window->buffer->input_buffer_size = 0; window->buffer->input_buffer_length = 0; } - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); window->buffer->input_buffer_pos = window->buffer->input_buffer_length; window->buffer->input_buffer_1st_display = 0; if (history_global_ptr) + { strcpy (window->buffer->input_buffer, history_global_ptr->text); + gui_input_init_color_mask (window->buffer); + } gui_draw_buffer_input (window->buffer, 0); } } diff --git a/src/gui/gui-common.c b/src/gui/gui-common.c index 44f6f1aa7..01baca2e9 100644 --- a/src/gui/gui-common.c +++ b/src/gui/gui-common.c @@ -392,10 +392,15 @@ gui_buffer_new (t_gui_window *window, void *server, void *channel, int type, { new_buffer->input_buffer_alloc = INPUT_BUFFER_BLOCK_SIZE; new_buffer->input_buffer = (char *) malloc (INPUT_BUFFER_BLOCK_SIZE); + new_buffer->input_buffer_color_mask = (char *) malloc (INPUT_BUFFER_BLOCK_SIZE); new_buffer->input_buffer[0] = '\0'; + new_buffer->input_buffer_color_mask[0] = '\0'; } else + { new_buffer->input_buffer = NULL; + new_buffer->input_buffer_color_mask = NULL; + } new_buffer->input_buffer_size = 0; new_buffer->input_buffer_length = 0; new_buffer->input_buffer_pos = 0; @@ -709,6 +714,8 @@ gui_buffer_free (t_gui_buffer *buffer, int switch_to_another) if (buffer->input_buffer) free (buffer->input_buffer); + if (buffer->input_buffer_color_mask) + free (buffer->input_buffer_color_mask); completion_free (&(buffer->completion)); @@ -1206,12 +1213,12 @@ gui_infobar_remove_all () } /* - * gui_optimize_input_buffer_size: optimize input buffer size by adding - * or deleting data block (predefined size) + * gui_input_optimize_size: optimize input buffer size by adding + * or deleting data block (predefined size) */ void -gui_optimize_input_buffer_size (t_gui_buffer *buffer) +gui_input_optimize_size (t_gui_buffer *buffer) { int optimal_size; @@ -1223,10 +1230,46 @@ gui_optimize_input_buffer_size (t_gui_buffer *buffer) { buffer->input_buffer_alloc = optimal_size; buffer->input_buffer = realloc (buffer->input_buffer, optimal_size); + buffer->input_buffer_color_mask = realloc (buffer->input_buffer_color_mask, + optimal_size); } } } +/* + * gui_input_init_color_mask: initialize color mask for input buffer + */ + +void +gui_input_init_color_mask (t_gui_buffer *buffer) +{ + int i; + + if (buffer->has_input) + { + for (i = 0; i < buffer->input_buffer_size; i++) + buffer->input_buffer_color_mask[i] = ' '; + buffer->input_buffer_color_mask[buffer->input_buffer_size] = '\0'; + } +} + +/* + * gui_input_move: move data in input buffer + */ + +void +gui_input_move (t_gui_buffer *buffer, char *target, char *source, int size) +{ + int pos_source, pos_target; + + pos_target = target - buffer->input_buffer; + pos_source = source - buffer->input_buffer; + + memmove (target, source, size); + memmove (buffer->input_buffer_color_mask + pos_target, + buffer->input_buffer_color_mask + pos_source, size); +} + /* * gui_exec_action_dcc: execute an action on a DCC after a user input * return -1 if DCC buffer was closed due to action, @@ -1364,7 +1407,7 @@ gui_exec_action_raw_data (t_gui_window *window, char *actions) int gui_insert_string_input (t_gui_window *window, char *string, int pos) { - int size, length; + int i, pos_start, size, length; char *ptr_start; if (window->buffer->has_input) @@ -1378,15 +1421,26 @@ gui_insert_string_input (t_gui_window *window, char *string, int pos) /* increase buffer size */ window->buffer->input_buffer_size += size; window->buffer->input_buffer_length += length; - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; /* move end of string to the right */ ptr_start = utf8_add_offset (window->buffer->input_buffer, pos); + pos_start = ptr_start - window->buffer->input_buffer; memmove (ptr_start + size, ptr_start, strlen (ptr_start)); + memmove (window->buffer->input_buffer_color_mask + pos_start + size, + window->buffer->input_buffer_color_mask + pos_start, + strlen (window->buffer->input_buffer_color_mask + pos_start)); /* insert new string */ - strncpy (utf8_add_offset (window->buffer->input_buffer, pos), string, size); + ptr_start = utf8_add_offset (window->buffer->input_buffer, pos); + pos_start = ptr_start - window->buffer->input_buffer; + strncpy (ptr_start, string, size); + for (i = 0; i < size; i++) + { + window->buffer->input_buffer_color_mask[pos_start + i] = ' '; + } return length; } return 0; @@ -1869,32 +1923,33 @@ gui_buffer_print_log (t_gui_buffer *buffer) int num; weechat_log_printf ("[buffer (addr:0x%X)]\n", buffer); - weechat_log_printf (" num_displayed. . . . : %d\n", buffer->num_displayed); - weechat_log_printf (" number . . . . . . . : %d\n", buffer->number); - weechat_log_printf (" server . . . . . . . : 0x%X\n", buffer->server); - weechat_log_printf (" all_servers. . . . . : %d\n", buffer->all_servers); - weechat_log_printf (" channel. . . . . . . : 0x%X\n", buffer->channel); - weechat_log_printf (" type . . . . . . . . : %d\n", buffer->type); - weechat_log_printf (" lines. . . . . . . . : 0x%X\n", buffer->lines); - weechat_log_printf (" last_line. . . . . . : 0x%X\n", buffer->last_line); - weechat_log_printf (" last_read_line . . . : 0x%X\n", buffer->last_read_line); - weechat_log_printf (" num_lines. . . . . . : %d\n", buffer->num_lines); - weechat_log_printf (" line_complete. . . . : %d\n", buffer->line_complete); - weechat_log_printf (" notify_level . . . . : %d\n", buffer->notify_level); - weechat_log_printf (" log_filename . . . . : '%s'\n", buffer->log_filename); - weechat_log_printf (" log_file . . . . . . : 0x%X\n", buffer->log_file); - weechat_log_printf (" has_input. . . . . . : %d\n", buffer->has_input); - weechat_log_printf (" input_buffer . . . . : '%s'\n", buffer->input_buffer); - weechat_log_printf (" input_buffer_alloc . : %d\n", buffer->input_buffer_alloc); - weechat_log_printf (" input_buffer_size. . : %d\n", buffer->input_buffer_size); - weechat_log_printf (" input_buffer_length. : %d\n", buffer->input_buffer_length); - weechat_log_printf (" input_buffer_pos . . : %d\n", buffer->input_buffer_pos); - weechat_log_printf (" input_buffer_1st_disp: %d\n", buffer->input_buffer_1st_display); - weechat_log_printf (" history. . . . . . . : 0x%X\n", buffer->history); - weechat_log_printf (" last_history . . . . : 0x%X\n", buffer->last_history); - weechat_log_printf (" ptr_history. . . . . : 0x%X\n", buffer->ptr_history); - weechat_log_printf (" prev_buffer. . . . . : 0x%X\n", buffer->prev_buffer); - weechat_log_printf (" next_buffer. . . . . : 0x%X\n", buffer->next_buffer); + weechat_log_printf (" num_displayed. . . . . : %d\n", buffer->num_displayed); + weechat_log_printf (" number . . . . . . . . : %d\n", buffer->number); + weechat_log_printf (" server . . . . . . . . : 0x%X\n", buffer->server); + weechat_log_printf (" all_servers. . . . . . : %d\n", buffer->all_servers); + weechat_log_printf (" channel. . . . . . . . : 0x%X\n", buffer->channel); + weechat_log_printf (" type . . . . . . . . . : %d\n", buffer->type); + weechat_log_printf (" lines. . . . . . . . . : 0x%X\n", buffer->lines); + weechat_log_printf (" last_line. . . . . . . : 0x%X\n", buffer->last_line); + weechat_log_printf (" last_read_line . . . . : 0x%X\n", buffer->last_read_line); + weechat_log_printf (" num_lines. . . . . . . : %d\n", buffer->num_lines); + weechat_log_printf (" line_complete. . . . . : %d\n", buffer->line_complete); + weechat_log_printf (" notify_level . . . . . : %d\n", buffer->notify_level); + weechat_log_printf (" log_filename . . . . . : '%s'\n", buffer->log_filename); + weechat_log_printf (" log_file . . . . . . . : 0x%X\n", buffer->log_file); + weechat_log_printf (" has_input. . . . . . . : %d\n", buffer->has_input); + weechat_log_printf (" input_buffer . . . . . : '%s'\n", buffer->input_buffer); + weechat_log_printf (" input_buffer_color_mask: '%s'\n", buffer->input_buffer_color_mask); + weechat_log_printf (" input_buffer_alloc . . : %d\n", buffer->input_buffer_alloc); + weechat_log_printf (" input_buffer_size. . . : %d\n", buffer->input_buffer_size); + weechat_log_printf (" input_buffer_length. . : %d\n", buffer->input_buffer_length); + weechat_log_printf (" input_buffer_pos . . . : %d\n", buffer->input_buffer_pos); + weechat_log_printf (" input_buffer_1st_disp. : %d\n", buffer->input_buffer_1st_display); + weechat_log_printf (" history. . . . . . . . : 0x%X\n", buffer->history); + weechat_log_printf (" last_history . . . . . : 0x%X\n", buffer->last_history); + weechat_log_printf (" ptr_history. . . . . . : 0x%X\n", buffer->ptr_history); + weechat_log_printf (" prev_buffer. . . . . . : 0x%X\n", buffer->prev_buffer); + weechat_log_printf (" next_buffer. . . . . . : 0x%X\n", buffer->next_buffer); weechat_log_printf ("\n"); weechat_log_printf (" => last 100 lines:\n"); diff --git a/src/gui/gui-keyboard.c b/src/gui/gui-keyboard.c index a3821353d..47d570891 100644 --- a/src/gui/gui-keyboard.c +++ b/src/gui/gui-keyboard.c @@ -32,6 +32,10 @@ #include "gui.h" #include "../common/command.h" +#ifdef PLUGINS +#include "../plugins/plugins.h" +#endif + t_gui_key *gui_keys = NULL; t_gui_key *last_gui_key = NULL; @@ -506,7 +510,8 @@ gui_key_pressed (char *key_str) { int first_key; t_gui_key *ptr_key; - + char *buffer_before_key; + /* add key to buffer */ first_key = (gui_key_buffer[0] == '\0'); strcat (gui_key_buffer, key_str); @@ -525,6 +530,9 @@ gui_key_pressed (char *key_str) if (ascii_strcasecmp (ptr_key->key, gui_key_buffer) == 0) { /* exact combo found => execute function or command */ + buffer_before_key = + (gui_current_window->buffer->input_buffer) ? + strdup (gui_current_window->buffer->input_buffer) : strdup (""); gui_key_buffer[0] = '\0'; if (ptr_key->command) user_command (SERVER(gui_current_window->buffer), @@ -532,6 +540,15 @@ gui_key_pressed (char *key_str) ptr_key->command, 0); else (void)(ptr_key->function)(gui_current_window); +#ifdef PLUGINS + (void) plugin_keyboard_handler_exec ( + (ptr_key->command) ? + ptr_key->command : gui_key_function_search_by_ptr (ptr_key->function), + buffer_before_key, + gui_current_window->buffer->input_buffer); +#endif + if (buffer_before_key) + free (buffer_before_key); } return 0; } diff --git a/src/gui/gui.h b/src/gui/gui.h index 2c93b48f1..b7641b472 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -26,18 +26,6 @@ #define INPUT_BUFFER_BLOCK_SIZE 256 -/* shift ncurses colors for compatibility with colors - in IRC messages (same as other IRC clients) */ - -#define WEECHAT_COLOR_BLACK COLOR_BLACK -#define WEECHAT_COLOR_RED COLOR_BLUE -#define WEECHAT_COLOR_GREEN COLOR_GREEN -#define WEECHAT_COLOR_YELLOW COLOR_CYAN -#define WEECHAT_COLOR_BLUE COLOR_RED -#define WEECHAT_COLOR_MAGENTA COLOR_MAGENTA -#define WEECHAT_COLOR_CYAN COLOR_YELLOW -#define WEECHAT_COLOR_WHITE COLOR_WHITE - #define COLOR_WIN_NICK_NUMBER 10 typedef enum t_weechat_color t_weechat_color; @@ -103,9 +91,11 @@ enum t_weechat_color COLOR_DCC_DONE, COLOR_DCC_FAILED, COLOR_DCC_ABORTED, - NUM_COLORS + GUI_NUM_COLORS }; +#define GUI_NUM_IRC_COLORS 16 + /* attributes in IRC messages for color & style (bold, ..) */ #define GUI_ATTR_BOLD_CHAR '\x02' @@ -252,6 +242,7 @@ struct t_gui_buffer /* inupt buffer */ int has_input; /* = 1 if buffer has input (DCC has not)*/ char *input_buffer; /* input buffer */ + char *input_buffer_color_mask; /* color mask for input buffer */ int input_buffer_alloc; /* input buffer: allocated size in mem */ int input_buffer_size; /* buffer size in bytes */ int input_buffer_length; /* number of chars in buffer */ @@ -402,7 +393,7 @@ extern int gui_key_grab_count; extern char *gui_input_clipboard; extern time_t gui_last_activity_time; -extern t_gui_color *gui_color[NUM_COLORS]; +extern t_gui_color *gui_color[GUI_NUM_COLORS]; /* GUI independent functions: windows & buffers */ @@ -427,7 +418,9 @@ extern int gui_word_strlen (t_gui_window *, char *); extern int gui_word_real_pos (t_gui_window *, char *, int); extern void gui_printf_internal (t_gui_buffer *, int, int, char *, ...); extern void gui_printf_raw_data (void *, int, char *); -extern void gui_optimize_input_buffer_size (t_gui_buffer *); +extern void gui_input_optimize_size (t_gui_buffer *); +extern void gui_input_init_color_mask (t_gui_buffer *); +extern void gui_input_move (t_gui_buffer *, char *, char *, int ); extern void gui_exec_action_dcc (t_gui_window *, char *); extern void gui_exec_action_raw_data (t_gui_window *, char *); extern int gui_insert_string_input (t_gui_window *, char *, int); diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c index 2e777dd02..09dcf1b88 100644 --- a/src/irc/irc-recv.c +++ b/src/irc/irc-recv.c @@ -40,7 +40,10 @@ #include "../common/hotlist.h" #include "../common/weeconfig.h" #include "../gui/gui.h" + +#ifdef PLUGINS #include "../plugins/plugins.h" +#endif char *irc_last_command_received = NULL; diff --git a/src/plugins/plugins-interface.c b/src/plugins/plugins-interface.c index b0d83cdfe..0355036bf 100644 --- a/src/plugins/plugins-interface.c +++ b/src/plugins/plugins-interface.c @@ -316,6 +316,22 @@ weechat_plugin_timer_handler_add (t_weechat_plugin *plugin, int interval, return NULL; } +/* + * weechat_plugin_keyboard_handler_add: add a keyboard handler + */ + +t_plugin_handler * +weechat_plugin_keyboard_handler_add (t_weechat_plugin *plugin, + t_plugin_handler_func *handler_func, + char *handler_args, void *handler_pointer) +{ + if (plugin && handler_func) + return plugin_keyboard_handler_add (plugin, handler_func, + handler_args, handler_pointer); + + return NULL; +} + /* * weechat_plugin_handler_remove: remove a WeeChat handler */ @@ -385,7 +401,7 @@ weechat_plugin_get_info (t_weechat_plugin *plugin, char *info, char *server) t_irc_server *ptr_server; t_irc_channel *ptr_channel; time_t inactivity; - char *inactivity_str; + char *return_str; if (!plugin || !info) return NULL; @@ -420,11 +436,39 @@ weechat_plugin_get_info (t_weechat_plugin *plugin, char *info, char *server) inactivity = 0; else inactivity = time (NULL) - gui_last_activity_time; - inactivity_str = (char *) malloc (128); - if (!inactivity_str) + return_str = (char *) malloc (32); + if (!return_str) return NULL; - snprintf (inactivity_str, 128, "%ld", inactivity); - return inactivity_str; + snprintf (return_str, 32, "%ld", inactivity); + return return_str; + } + else if (ascii_strcasecmp (info, "input") == 0) + { + if (gui_current_window->buffer->has_input) + return strdup (gui_current_window->buffer->input_buffer); + else + return strdup (""); + } + else if (ascii_strcasecmp (info, "input_mask") == 0) + { + if (gui_current_window->buffer->has_input) + return strdup (gui_current_window->buffer->input_buffer_color_mask); + else + return strdup (""); + } + else if (ascii_strcasecmp (info, "input_pos") == 0) + { + if (gui_current_window->buffer->has_input) + { + return_str = (char *) malloc (32); + if (!return_str) + return NULL; + snprintf (return_str, 32, "%d", + gui_current_window->buffer->input_buffer_pos); + return return_str; + } + else + return strdup (""); } /* below are infos that need server to return value */ @@ -1009,3 +1053,38 @@ weechat_plugin_free_nick_info (t_weechat_plugin *plugin, t_plugin_nick_info *nic nick_info = new_nick_info; } } + +/* + * weechat_plugin_input_color: add color in input buffer + * if color < 0, input buffer is refresh + * if start < 0 or length <= 0, color mask is reinit + * otherwise, color is applied from start to start + length + */ + +void +weechat_plugin_input_color (t_weechat_plugin *plugin, int color, int start, int length) +{ + int i; + + if (!plugin + || (!gui_current_window->buffer->has_input) + || (gui_current_window->buffer->input_buffer_size == 0)) + return; + + if (color < 0) + gui_draw_buffer_input (gui_current_window->buffer, 0); + else + { + if ((start < 0) || (length <= 0)) + gui_input_init_color_mask (gui_current_window->buffer); + else + { + color %= GUI_NUM_IRC_COLORS; + for (i = start; i < start + length; i++) + { + gui_current_window->buffer->input_buffer_color_mask[i] = + '0' + color; + } + } + } +} diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c index cbd5b276a..b96ef0365 100644 --- a/src/plugins/plugins.c +++ b/src/plugins/plugins.c @@ -370,6 +370,62 @@ plugin_timer_handler_add (t_weechat_plugin *plugin, int interval, return new_handler; } +/* + * plugin_keyboard_handler_add: add a timer handler + * arguments: + * 1. the plugin pointer + * 2. the interval between two calls + * 3. the handler function + * 4. handler args: a string given to + * handler when called (used by scripts) + * 5. handler pointer: a pointer given to + * handler when called (used by scripts) + */ + +t_plugin_handler * +plugin_keyboard_handler_add (t_weechat_plugin *plugin, + t_plugin_handler_func *handler_func, + char *handler_args, void *handler_pointer) +{ + t_plugin_handler *new_handler; + + new_handler = (t_plugin_handler *)malloc (sizeof (t_plugin_handler)); + if (new_handler) + { + new_handler->type = HANDLER_KEYBOARD; + new_handler->irc_command = NULL; + new_handler->command = NULL; + new_handler->description = NULL; + new_handler->arguments = NULL; + new_handler->arguments_description = NULL; + new_handler->completion_template = NULL; + new_handler->interval = 0; + new_handler->remaining = 0; + new_handler->handler = handler_func; + new_handler->handler_args = (handler_args) ? strdup (handler_args) : NULL; + new_handler->handler_pointer = handler_pointer; + new_handler->running = 0; + + /* add new handler to list */ + new_handler->prev_handler = plugin->last_handler; + new_handler->next_handler = NULL; + if (plugin->handlers) + (plugin->last_handler)->next_handler = new_handler; + else + plugin->handlers = new_handler; + plugin->last_handler = new_handler; + } + else + { + irc_display_prefix (NULL, NULL, PREFIX_ERROR); + gui_printf (NULL, + _("%s plugin %s: unable to add keyboard handler (not enough memory)\n"), + WEECHAT_ERROR, plugin->name); + return NULL; + } + return new_handler; +} + /* * plugin_msg_handler_exec: execute a message handler * return: code for informing WeeChat whether message @@ -382,6 +438,11 @@ plugin_msg_handler_exec (char *server, char *irc_command, char *irc_message) t_weechat_plugin *ptr_plugin; t_plugin_handler *ptr_handler; int return_code, final_return_code; + char *argv[3] = { NULL, NULL, NULL }; + + argv[0] = server; + argv[1] = irc_command; + argv[2] = irc_message; final_return_code = PLUGIN_RC_OK; @@ -398,9 +459,7 @@ plugin_msg_handler_exec (char *server, char *irc_command, char *irc_message) { ptr_handler->running = 1; return_code = ((int) (ptr_handler->handler) (ptr_plugin, - server, - irc_command, - irc_message, + 3, argv, ptr_handler->handler_args, ptr_handler->handler_pointer)); ptr_handler->running = 0; @@ -432,6 +491,11 @@ plugin_cmd_handler_exec (char *server, char *command, char *arguments) t_weechat_plugin *ptr_plugin; t_plugin_handler *ptr_handler; int return_code; + char *argv[3] = { NULL, NULL, NULL }; + + argv[0] = server; + argv[1] = command; + argv[2] = arguments; for (ptr_plugin = weechat_plugins; ptr_plugin; ptr_plugin = ptr_plugin->next_plugin) @@ -446,9 +510,7 @@ plugin_cmd_handler_exec (char *server, char *command, char *arguments) { ptr_handler->running = 1; return_code = (int) (ptr_handler->handler) (ptr_plugin, - server, - command, - arguments, + 3, argv, ptr_handler->handler_args, ptr_handler->handler_pointer); ptr_handler->running = 0; @@ -488,9 +550,7 @@ plugin_timer_handler_exec () if (ptr_handler->remaining <= 0) { return_code = ((int) (ptr_handler->handler) (ptr_plugin, - "", - "", - "", + 0, NULL, ptr_handler->handler_args, ptr_handler->handler_pointer)); ptr_handler->remaining = ptr_handler->interval; @@ -504,6 +564,47 @@ plugin_timer_handler_exec () return final_return_code; } +/* + * plugin_keyboard_handler_exec: execute all keyboard handlers + * return: PLUGIN_RC_OK if all ok + * PLUGIN_RC_KO if at least one handler failed + */ + +int +plugin_keyboard_handler_exec (char *key, char *input_before, char *input_after) +{ + t_weechat_plugin *ptr_plugin; + t_plugin_handler *ptr_handler; + int return_code, final_return_code; + char *argv[3] = { NULL, NULL, NULL }; + + argv[0] = key; + argv[1] = input_before; + argv[2] = input_after; + + final_return_code = PLUGIN_RC_OK; + + for (ptr_plugin = weechat_plugins; ptr_plugin; + ptr_plugin = ptr_plugin->next_plugin) + { + for (ptr_handler = ptr_plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if (ptr_handler->type == HANDLER_KEYBOARD) + { + return_code = ((int) (ptr_handler->handler) (ptr_plugin, + 3, argv, + ptr_handler->handler_args, + ptr_handler->handler_pointer)); + if (return_code == PLUGIN_RC_KO) + final_return_code = PLUGIN_RC_KO; + } + } + } + + return final_return_code; +} + /* * plugin_handler_remove: remove a handler for a plugin */ @@ -736,6 +837,7 @@ plugin_load (char *filename) new_plugin->msg_handler_add = &weechat_plugin_msg_handler_add; new_plugin->cmd_handler_add = &weechat_plugin_cmd_handler_add; new_plugin->timer_handler_add = &weechat_plugin_timer_handler_add; + new_plugin->keyboard_handler_add = &weechat_plugin_keyboard_handler_add; new_plugin->handler_remove = &weechat_plugin_handler_remove; new_plugin->handler_remove_all = &weechat_plugin_handler_remove_all; new_plugin->print = &weechat_plugin_print; @@ -757,6 +859,7 @@ plugin_load (char *filename) new_plugin->free_channel_info = &weechat_plugin_free_channel_info; new_plugin->get_nick_info = &weechat_plugin_get_nick_info; new_plugin->free_nick_info = &weechat_plugin_free_nick_info; + new_plugin->input_color = &weechat_plugin_input_color; /* handlers */ new_plugin->handlers = NULL; diff --git a/src/plugins/plugins.h b/src/plugins/plugins.h index 2ca01aa5b..48eb16944 100644 --- a/src/plugins/plugins.h +++ b/src/plugins/plugins.h @@ -48,9 +48,13 @@ extern t_plugin_handler *plugin_cmd_handler_add (t_weechat_plugin *, char *, extern t_plugin_handler *plugin_timer_handler_add (t_weechat_plugin *, int, t_plugin_handler_func *, char *, void *); +extern t_plugin_handler *plugin_keyboard_handler_add (t_weechat_plugin *, + t_plugin_handler_func *, + char *, void *); extern int plugin_msg_handler_exec (char *, char *, char *); extern int plugin_cmd_handler_exec (char *, char *, char *); extern int plugin_timer_handler_exec (); +extern int plugin_keyboard_handler_exec (char *, char *, char *); extern void plugin_handler_remove (t_weechat_plugin *, t_plugin_handler *); extern void plugin_handler_remove_all (t_weechat_plugin *); diff --git a/src/plugins/scripts/lua/weechat-lua.c b/src/plugins/scripts/lua/weechat-lua.c index e2efb8d6b..889f2c300 100644 --- a/src/plugins/scripts/lua/weechat-lua.c +++ b/src/plugins/scripts/lua/weechat-lua.c @@ -54,7 +54,7 @@ lua_State *lua_current_interpreter = NULL; int weechat_lua_exec (t_weechat_plugin *plugin, t_plugin_script *script, - char *function, char *server, char *arguments) + char *function, char *arg1, char *arg2, char *arg3) { lua_current_interpreter = script->interpreter; @@ -62,10 +62,19 @@ weechat_lua_exec (t_weechat_plugin *plugin, lua_getglobal (lua_current_interpreter, function); lua_current_script = script; - lua_pushstring (lua_current_interpreter, server == NULL ? "" : server); - lua_pushstring (lua_current_interpreter, arguments == NULL ? "" : arguments); + if (arg1) + { + lua_pushstring (lua_current_interpreter, (arg1) ? arg1 : ""); + if (arg2) + { + lua_pushstring (lua_current_interpreter, (arg2) ? arg2 : ""); + if (arg3) + lua_pushstring (lua_current_interpreter, (arg3) ? arg3 : ""); + } + } - if ( lua_pcall(lua_current_interpreter, 2, 1, 0) != 0) + if (lua_pcall (lua_current_interpreter, + (arg1) ? ((arg2) ? ((arg3) ? 3 : 2) : 1) : 0, 1, 0) != 0) { plugin->print_server (plugin, "Lua error: unable to run function \"%s\"", @@ -80,19 +89,52 @@ weechat_lua_exec (t_weechat_plugin *plugin, } /* - * weechat_lua_handler: general message and command handler for Lua + * weechat_lua_cmd_msg_handler: general command/message handler for Lua */ int -weechat_lua_handler (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, - char *handler_args, void *handler_pointer) +weechat_lua_cmd_msg_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 3) + return weechat_lua_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[2], NULL); + else + return PLUGIN_RC_KO; +} + +/* + * weechat_lua_timer_handler: general timer handler for Lua + */ + +int +weechat_lua_timer_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) { /* make gcc happy */ - (void) command; + (void) argc; + (void) argv; return weechat_lua_exec (plugin, (t_plugin_script *)handler_pointer, - handler_args, server, arguments); + handler_args, NULL, NULL, NULL); +} + +/* + * weechat_lua_keyboard_handler: general keyboard handler for Lua + */ + +int +weechat_lua_keyboard_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 2) + return weechat_lua_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[1], argv[2]); + else + return PLUGIN_RC_KO; } /* @@ -104,6 +146,7 @@ weechat_lua_register (lua_State *L) { const char *name, *version, *shutdown_func, *description; int n; + /* make gcc happy */ (void) L; @@ -179,6 +222,7 @@ weechat_lua_print (lua_State *L) { const char *message, *channel_name, *server_name; int n; + /* make gcc happy */ (void) L; @@ -199,24 +243,24 @@ weechat_lua_print (lua_State *L) switch (n) { - case 1: - message = lua_tostring (lua_current_interpreter, -1); - break; - case 2: - channel_name = lua_tostring (lua_current_interpreter, -2); - message = lua_tostring (lua_current_interpreter, -1); - break; - case 3: - server_name = lua_tostring (lua_current_interpreter, -3); - channel_name = lua_tostring (lua_current_interpreter, -2); - message = lua_tostring (lua_current_interpreter, -1); - break; - default: - lua_plugin->print_server (lua_plugin, - "Lua error: wrong parameters for " - "\"print\" function"); - lua_pushnumber (lua_current_interpreter, 0); - return 1; + case 1: + message = lua_tostring (lua_current_interpreter, -1); + break; + case 2: + channel_name = lua_tostring (lua_current_interpreter, -2); + message = lua_tostring (lua_current_interpreter, -1); + break; + case 3: + server_name = lua_tostring (lua_current_interpreter, -3); + channel_name = lua_tostring (lua_current_interpreter, -2); + message = lua_tostring (lua_current_interpreter, -1); + break; + default: + lua_plugin->print_server (lua_plugin, + "Lua error: wrong parameters for " + "\"print\" function"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; } lua_plugin->print (lua_plugin, @@ -237,6 +281,7 @@ weechat_lua_print_infobar (lua_State *L) { const char *message; int delay, n; + /* make gcc happy */ (void) L; @@ -280,6 +325,7 @@ static int weechat_lua_remove_infobar (lua_State *L) { int n, how_many; + /* make gcc happy */ (void) L; @@ -314,6 +360,7 @@ weechat_lua_log (lua_State *L) { const char *message, *channel_name, *server_name; int n; + /* make gcc happy */ (void) L; @@ -334,24 +381,24 @@ weechat_lua_log (lua_State *L) switch (n) { - case 1: - message = lua_tostring (lua_current_interpreter, -1); - break; - case 2: - channel_name = lua_tostring (lua_current_interpreter, -2); - message = lua_tostring (lua_current_interpreter, -1); - break; - case 3: - server_name = lua_tostring (lua_current_interpreter, -3); - channel_name = lua_tostring (lua_current_interpreter, -2); - message = lua_tostring (lua_current_interpreter, -1); - break; - default: - lua_plugin->print_server (lua_plugin, - "Lua error: wrong parameters for " - "\"log\" function"); - lua_pushnumber (lua_current_interpreter, 0); - return 1; + case 1: + message = lua_tostring (lua_current_interpreter, -1); + break; + case 2: + channel_name = lua_tostring (lua_current_interpreter, -2); + message = lua_tostring (lua_current_interpreter, -1); + break; + case 3: + server_name = lua_tostring (lua_current_interpreter, -3); + channel_name = lua_tostring (lua_current_interpreter, -2); + message = lua_tostring (lua_current_interpreter, -1); + break; + default: + lua_plugin->print_server (lua_plugin, + "Lua error: wrong parameters for " + "\"log\" function"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; } lua_plugin->log (lua_plugin, @@ -372,6 +419,7 @@ weechat_lua_command (lua_State *L) { const char *command, *channel_name, *server_name; int n; + /* make gcc happy */ (void) L; @@ -392,24 +440,24 @@ weechat_lua_command (lua_State *L) switch (n) { - case 1: - command = lua_tostring (lua_current_interpreter, -1); - break; - case 2: - channel_name = lua_tostring (lua_current_interpreter, -2); - command = lua_tostring (lua_current_interpreter, -1); - break; - case 3: - server_name = lua_tostring (lua_current_interpreter, -3); - channel_name = lua_tostring (lua_current_interpreter, -2); - command = lua_tostring (lua_current_interpreter, -1); - break; - default: - lua_plugin->print_server (lua_plugin, - "Lua error: wrong parameters for " - "\"command\" function"); - lua_pushnumber (lua_current_interpreter, 0); - return 1; + case 1: + command = lua_tostring (lua_current_interpreter, -1); + break; + case 2: + channel_name = lua_tostring (lua_current_interpreter, -2); + command = lua_tostring (lua_current_interpreter, -1); + break; + case 3: + server_name = lua_tostring (lua_current_interpreter, -3); + channel_name = lua_tostring (lua_current_interpreter, -2); + command = lua_tostring (lua_current_interpreter, -1); + break; + default: + lua_plugin->print_server (lua_plugin, + "Lua error: wrong parameters for " + "\"command\" function"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; } lua_plugin->exec_command (lua_plugin, @@ -430,6 +478,7 @@ weechat_lua_add_message_handler (lua_State *L) { const char *irc_command, *function; int n; + /* make gcc happy */ (void) L; @@ -460,7 +509,8 @@ weechat_lua_add_message_handler (lua_State *L) function = lua_tostring (lua_current_interpreter, -1); if (!lua_plugin->msg_handler_add (lua_plugin, (char *) irc_command, - weechat_lua_handler, (char *) function, + weechat_lua_cmd_msg_handler, + (char *) function, (void *)lua_current_script)) { lua_pushnumber (lua_current_interpreter, 0); @@ -481,6 +531,7 @@ weechat_lua_add_command_handler (lua_State *L) const char *command, *function, *description, *arguments, *arguments_description; const char *completion_template; int n; + /* make gcc happy */ (void) L; @@ -504,24 +555,24 @@ weechat_lua_add_command_handler (lua_State *L) switch (n) { - case 2: - command = lua_tostring (lua_current_interpreter, -2); - function = lua_tostring (lua_current_interpreter, -1); - break; - case 6: - command = lua_tostring (lua_current_interpreter, -6); - function = lua_tostring (lua_current_interpreter, -5); - description = lua_tostring (lua_current_interpreter, -4); - arguments = lua_tostring (lua_current_interpreter, -3); - arguments_description = lua_tostring (lua_current_interpreter, -2); - completion_template = lua_tostring (lua_current_interpreter, -1); - break; - default: - lua_plugin->print_server (lua_plugin, - "Lua error: wrong parameters for " - "\"add_command_handler\" function"); - lua_pushnumber (lua_current_interpreter, 0); - return 1; + case 2: + command = lua_tostring (lua_current_interpreter, -2); + function = lua_tostring (lua_current_interpreter, -1); + break; + case 6: + command = lua_tostring (lua_current_interpreter, -6); + function = lua_tostring (lua_current_interpreter, -5); + description = lua_tostring (lua_current_interpreter, -4); + arguments = lua_tostring (lua_current_interpreter, -3); + arguments_description = lua_tostring (lua_current_interpreter, -2); + completion_template = lua_tostring (lua_current_interpreter, -1); + break; + default: + lua_plugin->print_server (lua_plugin, + "Lua error: wrong parameters for " + "\"add_command_handler\" function"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; } if (!lua_plugin->cmd_handler_add (lua_plugin, @@ -530,7 +581,7 @@ weechat_lua_add_command_handler (lua_State *L) (char *) arguments, (char *) arguments_description, (char *) completion_template, - weechat_lua_handler, + weechat_lua_cmd_msg_handler, (char *) function, (void *)lua_current_script)) { @@ -552,6 +603,7 @@ weechat_lua_add_timer_handler (lua_State *L) int interval; const char *function; int n; + /* make gcc happy */ (void) L; @@ -582,7 +634,8 @@ weechat_lua_add_timer_handler (lua_State *L) function = lua_tostring (lua_current_interpreter, -1); if (!lua_plugin->timer_handler_add (lua_plugin, interval, - weechat_lua_handler, (char *) function, + weechat_lua_timer_handler, + (char *) function, (void *)lua_current_script)) { lua_pushnumber (lua_current_interpreter, 0); @@ -594,7 +647,57 @@ weechat_lua_add_timer_handler (lua_State *L) } /* - * weechat_lua_remove_handler: remove a handler + * weechat_lua_add_keyboard_handler: add a keyboard handler + */ + +static int +weechat_lua_add_keyboard_handler (lua_State *L) +{ + const char *function; + int n; + + /* make gcc happy */ + (void) L; + + if (!lua_current_script) + { + lua_plugin->print_server (lua_plugin, + "Lua error: unable to add keyboard handler, " + "script not initialized"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; + } + + function = NULL; + + n = lua_gettop (lua_current_interpreter); + + if (n != 1) + { + lua_plugin->print_server (lua_plugin, + "Lua error: wrong parameters for " + "\"add_keyboard_handler\" function"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; + } + + function = lua_tostring (lua_current_interpreter, -1); + + if (!lua_plugin->keyboard_handler_add (lua_plugin, + weechat_lua_keyboard_handler, + (char *) function, + (void *)lua_current_script)) + { + lua_pushnumber (lua_current_interpreter, 0); + return 1; + } + + lua_pushnumber (lua_current_interpreter, 1); + return 1; +} + +/* + * weechat_lua_remove_handler: remove a command/message handler */ static int @@ -602,6 +705,7 @@ weechat_lua_remove_handler (lua_State *L) { const char *command, *function; int n; + /* make gcc happy */ (void) L; @@ -647,6 +751,7 @@ weechat_lua_remove_timer_handler (lua_State *L) { const char *function; int n; + /* make gcc happy */ (void) L; @@ -681,6 +786,50 @@ weechat_lua_remove_timer_handler (lua_State *L) return 1; } +/* + * weechat_lua_remove_keyboard_handler: remove a keyboard handler + */ + +static int +weechat_lua_remove_keyboard_handler (lua_State *L) +{ + const char *function; + int n; + + /* make gcc happy */ + (void) L; + + if (!lua_current_script) + { + lua_plugin->print_server (lua_plugin, + "Lua error: unable to remove keyboard handler, " + "script not initialized"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; + } + + function = NULL; + + n = lua_gettop (lua_current_interpreter); + + if (n != 1) + { + lua_plugin->print_server (lua_plugin, + "Lua error: wrong parameters for " + "\"remove_keyboard_handler\" function"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; + } + + function = lua_tostring (lua_current_interpreter, -1); + + weechat_script_remove_keyboard_handler (lua_plugin, lua_current_script, + (char *) function); + + lua_pushnumber (lua_current_interpreter, 1); + return 1; +} + /* * weechat_lua_get_info: get various infos */ @@ -691,6 +840,7 @@ weechat_lua_get_info (lua_State *L) const char *arg, *server_name; char *info; int n; + /* make gcc happy */ (void) L; @@ -710,19 +860,19 @@ weechat_lua_get_info (lua_State *L) switch (n) { - case 1: - arg = lua_tostring (lua_current_interpreter, -1); - break; - case 2: - arg = lua_tostring (lua_current_interpreter, -2); - server_name = lua_tostring (lua_current_interpreter, -1); - break; - default: - lua_plugin->print_server (lua_plugin, - "Lua error: wrong parameters for " - "\"get_info\" function"); - lua_pushnumber (lua_current_interpreter, 0); - return 1; + case 1: + arg = lua_tostring (lua_current_interpreter, -1); + break; + case 2: + arg = lua_tostring (lua_current_interpreter, -2); + server_name = lua_tostring (lua_current_interpreter, -1); + break; + default: + lua_plugin->print_server (lua_plugin, + "Lua error: wrong parameters for " + "\"get_info\" function"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; } info = lua_plugin->get_info (lua_plugin, (char *) arg, (char *) server_name); @@ -746,6 +896,7 @@ weechat_lua_get_dcc_info (lua_State *L) char timebuffer2[64]; struct in_addr in; int i; + /* make gcc happy */ (void) L; @@ -767,7 +918,7 @@ weechat_lua_get_dcc_info (lua_State *L) lua_newtable (lua_current_interpreter); - for(i=0, ptr_dcc = dcc_info; ptr_dcc; ptr_dcc = ptr_dcc->next_dcc, i++) + for (i = 0, ptr_dcc = dcc_info; ptr_dcc; ptr_dcc = ptr_dcc->next_dcc, i++) { strftime(timebuffer1, sizeof(timebuffer1), "%F %T", localtime(&ptr_dcc->start_time)); @@ -860,6 +1011,7 @@ weechat_lua_get_config (lua_State *L) const char *option; char *return_value; int n; + /* make gcc happy */ (void) L; @@ -905,6 +1057,7 @@ weechat_lua_set_config (lua_State *L) { const char *option, *value; int n; + /* make gcc happy */ (void) L; @@ -952,6 +1105,7 @@ weechat_lua_get_plugin_config (lua_State *L) const char *option; char *return_value; int n; + /* make gcc happy */ (void) L; @@ -999,6 +1153,7 @@ weechat_lua_set_plugin_config (lua_State *L) { const char *option, *value; int n; + /* make gcc happy */ (void) L; @@ -1047,6 +1202,7 @@ weechat_lua_get_server_info (lua_State *L) { t_plugin_server_info *server_info, *ptr_server; char timebuffer[64]; + /* make gcc happy */ (void) L; @@ -1067,7 +1223,7 @@ weechat_lua_get_server_info (lua_State *L) lua_newtable (lua_current_interpreter); - for(ptr_server = server_info; ptr_server; ptr_server = ptr_server->next_server) + for (ptr_server = server_info; ptr_server; ptr_server = ptr_server->next_server) { strftime(timebuffer, sizeof(timebuffer), "%F %T", localtime(&ptr_server->away_time)); @@ -1201,6 +1357,7 @@ weechat_lua_get_channel_info (lua_State *L) t_plugin_channel_info *channel_info, *ptr_channel; const char *server; int n; + /* make gcc happy */ (void) L; @@ -1237,7 +1394,7 @@ weechat_lua_get_channel_info (lua_State *L) lua_newtable (lua_current_interpreter); - for(ptr_channel = channel_info; ptr_channel; ptr_channel = ptr_channel->next_channel) + for (ptr_channel = channel_info; ptr_channel; ptr_channel = ptr_channel->next_channel) { lua_pushstring (lua_current_interpreter, ptr_channel->name); lua_newtable (lua_current_interpreter); @@ -1284,6 +1441,7 @@ weechat_lua_get_nick_info (lua_State *L) t_plugin_nick_info *nick_info, *ptr_nick; const char *server, *channel; int n; + /* make gcc happy */ (void) L; @@ -1349,6 +1507,7 @@ weechat_lua_constant_plugin_rc_ok (lua_State *L) { /* make gcc happy */ (void) L; + lua_pushnumber (lua_current_interpreter, PLUGIN_RC_OK); return 1; } @@ -1358,6 +1517,7 @@ weechat_lua_constant_plugin_rc_ko (lua_State *L) { /* make gcc happy */ (void) L; + lua_pushnumber (lua_current_interpreter, PLUGIN_RC_KO); return 1; } @@ -1367,6 +1527,7 @@ weechat_lua_constant_plugin_rc_ok_ignore_weechat (lua_State *L) { /* make gcc happy */ (void) L; + lua_pushnumber (lua_current_interpreter, PLUGIN_RC_OK_IGNORE_WEECHAT); return 1; } @@ -1376,6 +1537,7 @@ weechat_lua_constant_plugin_rc_ok_ignore_plugins (lua_State *L) { /* make gcc happy */ (void) L; + lua_pushnumber (lua_current_interpreter, PLUGIN_RC_OK_IGNORE_PLUGINS); return 1; } @@ -1385,6 +1547,7 @@ weechat_lua_constant_plugin_rc_ok_ignore_all (lua_State *L) { /* make gcc happy */ (void) L; + lua_pushnumber (lua_current_interpreter, PLUGIN_RC_OK_IGNORE_ALL); return 1; } @@ -1404,8 +1567,10 @@ const struct luaL_reg weechat_lua_funcs[] = { { "add_message_handler", weechat_lua_add_message_handler}, { "add_command_handler", weechat_lua_add_command_handler}, { "add_timer_handler", weechat_lua_add_timer_handler}, + { "add_keyboard_handler", weechat_lua_add_keyboard_handler}, { "remove_handler", weechat_lua_remove_handler}, { "remove_timer_handler", weechat_lua_remove_timer_handler}, + { "remove_keyboard_handler", weechat_lua_remove_keyboard_handler}, { "get_info", weechat_lua_get_info}, { "get_dcc_info", weechat_lua_get_dcc_info}, { "get_config", weechat_lua_get_config}, @@ -1536,7 +1701,7 @@ weechat_lua_unload (t_weechat_plugin *plugin, t_plugin_script *script) script->name); if (script->shutdown_func[0]) - weechat_lua_exec (plugin, script, script->shutdown_func, "", ""); + weechat_lua_exec (plugin, script, script->shutdown_func, "", "", ""); lua_close (script->interpreter); @@ -1590,8 +1755,8 @@ weechat_lua_unload_all (t_weechat_plugin *plugin) int weechat_lua_cmd (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, - char *handler_args, void *handler_pointer) + int cmd_argc, char **cmd_argv, + char *handler_args, void *handler_pointer) { int argc, handler_found; char **argv, *path_script; @@ -1599,13 +1764,14 @@ weechat_lua_cmd (t_weechat_plugin *plugin, t_plugin_handler *ptr_handler; /* make gcc happy */ - (void) server; - (void) command; (void) handler_args; (void) handler_pointer; - if (arguments) - argv = plugin->explode_string (plugin, arguments, " ", 0, &argc); + if (cmd_argc < 3) + return PLUGIN_RC_KO; + + if (cmd_argv[2]) + argv = plugin->explode_string (plugin, cmd_argv[2], " ", 0, &argc); else { argv = NULL; @@ -1687,6 +1853,24 @@ weechat_lua_cmd (t_weechat_plugin *plugin, ptr_handler->handler_args); } } + if (!handler_found) + plugin->print_server (plugin, " (none)"); + + /* list Lua keyboard handlers */ + plugin->print_server (plugin, ""); + plugin->print_server (plugin, "Lua keyboard handlers:"); + handler_found = 0; + for (ptr_handler = plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if ((ptr_handler->type == HANDLER_KEYBOARD) + && (ptr_handler->handler_args)) + { + handler_found = 1; + plugin->print_server (plugin, " Lua(%s)", + ptr_handler->handler_args); + } + } if (!handler_found) plugin->print_server (plugin, " (none)"); break; @@ -1730,7 +1914,7 @@ weechat_lua_cmd (t_weechat_plugin *plugin, if (argv) plugin->free_exploded_string (plugin, argv); - return 1; + return PLUGIN_RC_OK; } /* diff --git a/src/plugins/scripts/perl/weechat-perl.c b/src/plugins/scripts/perl/weechat-perl.c index c1605e22a..d2e3aa297 100644 --- a/src/plugins/scripts/perl/weechat-perl.c +++ b/src/plugins/scripts/perl/weechat-perl.c @@ -103,11 +103,11 @@ char *weechat_perl_code = int weechat_perl_exec (t_weechat_plugin *plugin, t_plugin_script *script, - char *function, char *server, char *arguments) + char *function, char *arg1, char *arg2, char *arg3) { - char empty_server[1] = { '\0' }; + char empty_arg[1] = { '\0' }; char *func; - char *argv[3]; + char *argv[4]; unsigned int count; int return_code; SV *sv; @@ -116,11 +116,11 @@ weechat_perl_exec (t_weechat_plugin *plugin, dSP; #ifndef MULTIPLICITY - int size = strlen(script->interpreter) + strlen(function) + 3; + int size = strlen (script->interpreter) + strlen(function) + 3; func = (char *) malloc ( size * sizeof(char)); - if (func == NULL) + if (!func) return PLUGIN_RC_KO; - snprintf(func, size, "%s::%s", (char *) script->interpreter, function); + snprintf (func, size, "%s::%s", (char *) script->interpreter, function); #else func = function; PERL_SET_CONTEXT (script->interpreter); @@ -129,12 +129,25 @@ weechat_perl_exec (t_weechat_plugin *plugin, ENTER; SAVETMPS; PUSHMARK(sp); - if (!server) - argv[0] = empty_server; + if (arg1) + { + argv[0] = (arg1) ? arg1 : empty_arg; + if (arg2) + { + argv[1] = (arg2) ? arg2 : empty_arg; + if (arg3) + { + argv[2] = (arg3) ? arg3 : empty_arg; + argv[3] = NULL; + } + else + argv[2] = NULL; + } + else + argv[1] = NULL; + } else - argv[0] = server; - argv[1] = arguments; - argv[2] = NULL; + argv[0] = NULL; perl_current_script = script; @@ -166,26 +179,59 @@ weechat_perl_exec (t_weechat_plugin *plugin, LEAVE; #ifndef MULTIPLICITY - free(func); + free (func); #endif return return_code; } /* - * weechat_perl_handler: general message and command handler for Perl + * weechat_perl_cmd_msg_handler: general command/message handler for Perl */ int -weechat_perl_handler (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, - char *handler_args, void *handler_pointer) +weechat_perl_cmd_msg_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 3) + return weechat_perl_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[2], NULL); + else + return PLUGIN_RC_KO; +} + +/* + * weechat_perl_timer_handler: general timer handler for Perl + */ + +int +weechat_perl_timer_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) { /* make gcc happy */ - (void) command; + (void) argc; + (void) argv; return weechat_perl_exec (plugin, (t_plugin_script *)handler_pointer, - handler_args, server, arguments); + handler_args, NULL, NULL, NULL); +} + +/* + * weechat_perl_keyboard_handler: general keyboard handler for Perl + */ + +int +weechat_perl_keyboard_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 3) + return weechat_perl_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[1], argv[2]); + else + return PLUGIN_RC_KO; } /* @@ -456,7 +502,7 @@ static XS (XS_weechat_command) } /* - * weechat::add_message_handler: add handler for messages (privmsg, ...) + * weechat::add_message_handler: add a handler for messages (privmsg, ...) */ static XS (XS_weechat_add_message_handler) @@ -488,7 +534,7 @@ static XS (XS_weechat_add_message_handler) function = SvPV (ST (1), integer); if (perl_plugin->msg_handler_add (perl_plugin, irc_command, - weechat_perl_handler, function, + weechat_perl_cmd_msg_handler, function, (void *)perl_current_script)) XSRETURN_YES; @@ -496,7 +542,7 @@ static XS (XS_weechat_add_message_handler) } /* - * weechat::add_command_handler: add command handler (define/redefine commands) + * weechat::add_command_handler: add a command handler (define/redefine commands) */ static XS (XS_weechat_add_command_handler) @@ -538,7 +584,7 @@ static XS (XS_weechat_add_command_handler) arguments, arguments_description, completion_template, - weechat_perl_handler, + weechat_perl_cmd_msg_handler, function, (void *)perl_current_script)) XSRETURN_YES; @@ -547,7 +593,7 @@ static XS (XS_weechat_add_command_handler) } /* - * weechat::add_timer_handler: add timer handler + * weechat::add_timer_handler: add a timer handler */ static XS (XS_weechat_add_timer_handler) @@ -579,16 +625,54 @@ static XS (XS_weechat_add_timer_handler) interval = SvIV (ST (0)); function = SvPV (ST (1), integer); - perl_plugin->print_server (perl_plugin, - "Perl add timer: interval = %d", interval); if (perl_plugin->timer_handler_add (perl_plugin, interval, - weechat_perl_handler, function, + weechat_perl_timer_handler, function, (void *)perl_current_script)) XSRETURN_YES; XSRETURN_NO; } +/* + * weechat::add_keyboard_handler: add a keyboard handler + */ + +static XS (XS_weechat_add_keyboard_handler) +{ + char *function; + unsigned int integer; + dXSARGS; + + /* make gcc happy */ + (void) cv; + + if (!perl_current_script) + { + perl_plugin->print_server (perl_plugin, + "Perl error: unable to add keyboard handler, " + "script not initialized"); + XSRETURN_NO; + } + + if (items < 1) + { + perl_plugin->print_server (perl_plugin, + "Perl error: wrong parameters for " + "\"add_keyboard_handler\" function"); + XSRETURN_NO; + } + + function = SvPV (ST (0), integer); + + if (perl_plugin->keyboard_handler_add (perl_plugin, + weechat_perl_keyboard_handler, + function, + (void *)perl_current_script)) + XSRETURN_YES; + + XSRETURN_NO; +} + /* * weechat::remove_handler: remove a message/command handler */ @@ -664,6 +748,43 @@ static XS (XS_weechat_remove_timer_handler) XSRETURN_YES; } +/* + * weechat::remove_keyboard_handler: remove a keyboard handler + */ + +static XS (XS_weechat_remove_keyboard_handler) +{ + char *function; + unsigned int integer; + dXSARGS; + + /* make gcc happy */ + (void) cv; + + if (!perl_current_script) + { + perl_plugin->print_server (perl_plugin, + "Perl error: unable to remove keyboard handler, " + "script not initialized"); + XSRETURN_NO; + } + + if (items < 1) + { + perl_plugin->print_server (perl_plugin, + "Perl error: wrong parameters for " + "\"remove_keyboard_handler\" function"); + XSRETURN_NO; + } + + function = SvPV (ST (0), integer); + + weechat_script_remove_keyboard_handler (perl_plugin, perl_current_script, + function); + + XSRETURN_YES; +} + /* * weechat::get_info: get various infos */ @@ -1170,6 +1291,43 @@ static XS (XS_weechat_get_nick_info) XSRETURN (1); } +/* + * weechat::color_input: add color in input buffer + */ + +static XS (XS_weechat_input_color) +{ + int color, start, length; + dXSARGS; + + /* make gcc happy */ + (void) cv; + + if (!perl_current_script) + { + perl_plugin->print_server (perl_plugin, + "Perl error: unable to colorize input, " + "script not initialized"); + XSRETURN_NO; + } + + if (items < 3) + { + perl_plugin->print_server (perl_plugin, + "Perl error: wrong parameters for " + "\"color_input\" function"); + XSRETURN_NO; + } + + color = SvIV (ST (0)); + start = SvIV (ST (1)); + length = SvIV (ST (2)); + + perl_plugin->input_color (perl_plugin, color, start, length); + + XSRETURN_YES; +} + /* * weechat_perl_xs_init: initialize subroutines */ @@ -1191,8 +1349,10 @@ weechat_perl_xs_init (pTHX) newXS ("weechat::add_message_handler", XS_weechat_add_message_handler, "weechat"); newXS ("weechat::add_command_handler", XS_weechat_add_command_handler, "weechat"); newXS ("weechat::add_timer_handler", XS_weechat_add_timer_handler, "weechat"); + newXS ("weechat::add_keyboard_handler", XS_weechat_add_keyboard_handler, "weechat"); newXS ("weechat::remove_handler", XS_weechat_remove_handler, "weechat"); newXS ("weechat::remove_timer_handler", XS_weechat_remove_timer_handler, "weechat"); + newXS ("weechat::remove_keyboard_handler", XS_weechat_remove_keyboard_handler, "weechat"); newXS ("weechat::get_info", XS_weechat_get_info, "weechat"); newXS ("weechat::get_dcc_info", XS_weechat_get_dcc_info, "weechat"); newXS ("weechat::get_config", XS_weechat_get_config, "weechat"); @@ -1202,6 +1362,7 @@ weechat_perl_xs_init (pTHX) newXS ("weechat::get_server_info", XS_weechat_get_server_info, "weechat"); newXS ("weechat::get_channel_info", XS_weechat_get_channel_info, "weechat"); newXS ("weechat::get_nick_info", XS_weechat_get_nick_info, "weechat"); + newXS ("weechat::input_color", XS_weechat_input_color, "weechat"); /* interface constants */ stash = gv_stashpv ("weechat", TRUE); @@ -1237,7 +1398,7 @@ weechat_perl_load (t_weechat_plugin *plugin, char *filename) snprintf(pkgname, sizeof(pkgname), "%s%d", PKG_NAME_PREFIX, packnum); packnum++; tempscript.interpreter = "WeechatPerlScriptLoader"; - eval = weechat_perl_exec (plugin, &tempscript, "weechat_perl_load_eval_file", filename, pkgname); + eval = weechat_perl_exec (plugin, &tempscript, "weechat_perl_load_eval_file", filename, pkgname, ""); #else perl_current_interpreter = perl_alloc(); @@ -1256,7 +1417,7 @@ weechat_perl_load (t_weechat_plugin *plugin, char *filename) perl_parse (perl_current_interpreter, weechat_perl_xs_init, 3, perl_args, NULL); eval_pv (weechat_perl_code, TRUE); - eval = weechat_perl_exec (plugin, &tempscript, "weechat_perl_load_eval_file", filename, ""); + eval = weechat_perl_exec (plugin, &tempscript, "weechat_perl_load_eval_file", filename, "", ""); free (perl_current_script_filename); @@ -1338,7 +1499,7 @@ weechat_perl_unload (t_weechat_plugin *plugin, t_plugin_script *script) #endif if (script->shutdown_func[0]) - weechat_perl_exec (plugin, script, script->shutdown_func, "", ""); + weechat_perl_exec (plugin, script, script->shutdown_func, "", "", ""); #ifndef MULTIPLICITY if (script->interpreter) @@ -1398,7 +1559,7 @@ weechat_perl_unload_all (t_weechat_plugin *plugin) int weechat_perl_cmd (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, + int cmd_argc, char **cmd_argv, char *handler_args, void *handler_pointer) { int argc, handler_found; @@ -1406,14 +1567,15 @@ weechat_perl_cmd (t_weechat_plugin *plugin, t_plugin_script *ptr_script; t_plugin_handler *ptr_handler; + if (cmd_argc < 3) + return PLUGIN_RC_KO; + /* make gcc happy */ - (void) server; - (void) command; (void) handler_args; (void) handler_pointer; - if (arguments) - argv = plugin->explode_string (plugin, arguments, " ", 0, &argc); + if (cmd_argv[2]) + argv = plugin->explode_string (plugin, cmd_argv[2], " ", 0, &argc); else { argv = NULL; @@ -1497,6 +1659,22 @@ weechat_perl_cmd (t_weechat_plugin *plugin, } if (!handler_found) plugin->print_server (plugin, " (none)"); + + /* list Perl keyboard handlers */ + plugin->print_server (plugin, ""); + plugin->print_server (plugin, "Perl keyboard handlers:"); + handler_found = 0; + for (ptr_handler = plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if ((ptr_handler->type == HANDLER_KEYBOARD) + && (ptr_handler->handler_args)) + { + handler_found = 1; + plugin->print_server (plugin, " Perl(%s)", + ptr_handler->handler_args); + } + } break; case 1: if (plugin->ascii_strcasecmp (plugin, argv[0], "autoload") == 0) @@ -1538,7 +1716,7 @@ weechat_perl_cmd (t_weechat_plugin *plugin, if (argv) plugin->free_exploded_string (plugin, argv); - return 1; + return PLUGIN_RC_OK; } /* diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c index cca2db855..572130906 100644 --- a/src/plugins/scripts/python/weechat-python.c +++ b/src/plugins/scripts/python/weechat-python.c @@ -50,7 +50,7 @@ PyThreadState *python_mainThreadState = NULL; int weechat_python_exec (t_weechat_plugin *plugin, t_plugin_script *script, - char *function, char *server, char *arguments) + char *function, char *arg1, char *arg2, char *arg3) { PyObject *evMain; PyObject *evDict; @@ -75,8 +75,21 @@ weechat_python_exec (t_weechat_plugin *plugin, ret = -1; python_current_script = script; - - rc = PyObject_CallFunction(evFunc, "ss", server == NULL ? "" : server, arguments == NULL ? "" : arguments); + + if (arg1) + { + if (arg2) + { + if (arg3) + rc = PyObject_CallFunction (evFunc, "sss", arg1, arg2, arg3); + else + rc = PyObject_CallFunction (evFunc, "ss", arg1, arg2); + } + else + rc = PyObject_CallFunction (evFunc, "s", arg1); + } + else + rc = PyObject_CallFunction (evFunc, ""); if (rc) { @@ -94,19 +107,52 @@ weechat_python_exec (t_weechat_plugin *plugin, } /* - * weechat_python_handler: general message and command handler for Python + * weechat_python_cmd_msg_handler: general command/message handler for Python */ int -weechat_python_handler (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, - char *handler_args, void *handler_pointer) +weechat_python_cmd_msg_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 3) + return weechat_python_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[2], NULL); + else + return PLUGIN_RC_KO; +} + +/* + * weechat_python_timer_handler: general timer handler for Python + */ + +int +weechat_python_timer_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) { /* make gcc happy */ - (void) command; + (void) argc; + (void) argv; return weechat_python_exec (plugin, (t_plugin_script *)handler_pointer, - handler_args, server, arguments); + handler_args, NULL, NULL, NULL); +} + +/* + * weechat_python_keyboard_handler: general keyboard handler for Python + */ + +int +weechat_python_keyboard_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 3) + return weechat_python_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[1], argv[2]); + else + return PLUGIN_RC_KO; } /* @@ -392,7 +438,8 @@ weechat_python_add_message_handler (PyObject *self, PyObject *args) } if (python_plugin->msg_handler_add (python_plugin, irc_command, - weechat_python_handler, function, + weechat_python_cmd_msg_handler, + function, (void *)python_current_script)) return Py_BuildValue ("i", 1); @@ -443,7 +490,7 @@ weechat_python_add_command_handler (PyObject *self, PyObject *args) arguments, arguments_description, completion_template, - weechat_python_handler, + weechat_python_cmd_msg_handler, function, (void *)python_current_script)) return Py_BuildValue ("i", 1); @@ -484,13 +531,53 @@ weechat_python_add_timer_handler (PyObject *self, PyObject *args) } if (python_plugin->timer_handler_add (python_plugin, interval, - weechat_python_handler, function, + weechat_python_timer_handler, + function, (void *)python_current_script)) return Py_BuildValue ("i", 1); return Py_BuildValue ("i", 0); } +/* + * weechat_python_add_keyboard_handler: add a keyboard handler + */ + +static PyObject * +weechat_python_add_keyboard_handler (PyObject *self, PyObject *args) +{ + char *function; + + /* make gcc happy */ + (void) self; + + if (!python_current_script) + { + python_plugin->print_server (python_plugin, + "Python error: unable to add keyboard handler, " + "script not initialized"); + return Py_BuildValue ("i", 0); + } + + function = NULL; + + if (!PyArg_ParseTuple (args, "s", &function)) + { + python_plugin->print_server (python_plugin, + "Python error: wrong parameters for " + "\"add_keyboard_handler\" function"); + return Py_BuildValue ("i", 0); + } + + if (python_plugin->keyboard_handler_add (python_plugin, + weechat_python_keyboard_handler, + function, + (void *)python_current_script)) + return Py_BuildValue ("i", 1); + + return Py_BuildValue ("i", 0); +} + /* * weechat_python_remove_handler: remove a handler */ @@ -564,6 +651,42 @@ weechat_python_remove_timer_handler (PyObject *self, PyObject *args) return Py_BuildValue ("i", 1); } +/* + * weechat_python_remove_keyboard_handler: remove a keyboard handler + */ + +static PyObject * +weechat_python_remove_keyboard_handler (PyObject *self, PyObject *args) +{ + char *function; + + /* make gcc happy */ + (void) self; + + if (!python_current_script) + { + python_plugin->print_server (python_plugin, + "Python error: unable to remove keyboard handler, " + "script not initialized"); + return Py_BuildValue ("i", 0); + } + + function = NULL; + + if (!PyArg_ParseTuple (args, "s", &function)) + { + python_plugin->print_server (python_plugin, + "Python error: wrong parameters for " + "\"remove_keyboard_handler\" function"); + return Py_BuildValue ("i", 0); + } + + weechat_script_remove_keyboard_handler (python_plugin, python_current_script, + function); + + return Py_BuildValue ("i", 1); +} + /* * weechat_python_get_info: get various infos */ @@ -1132,8 +1255,10 @@ PyMethodDef weechat_python_funcs[] = { { "add_message_handler", weechat_python_add_message_handler, METH_VARARGS, "" }, { "add_command_handler", weechat_python_add_command_handler, METH_VARARGS, "" }, { "add_timer_handler", weechat_python_add_timer_handler, METH_VARARGS, "" }, + { "add_keyboard_handler", weechat_python_add_keyboard_handler, METH_VARARGS, "" }, { "remove_handler", weechat_python_remove_handler, METH_VARARGS, "" }, { "remove_timer_handler", weechat_python_remove_timer_handler, METH_VARARGS, "" }, + { "remove_keyboard_handler", weechat_python_remove_keyboard_handler, METH_VARARGS, "" }, { "get_info", weechat_python_get_info, METH_VARARGS, "" }, { "get_dcc_info", weechat_python_get_dcc_info, METH_VARARGS, "" }, { "get_config", weechat_python_get_config, METH_VARARGS, "" }, @@ -1307,7 +1432,7 @@ weechat_python_unload (t_weechat_plugin *plugin, t_plugin_script *script) script->name); if (script->shutdown_func[0]) - weechat_python_exec (plugin, script, script->shutdown_func, "", ""); + weechat_python_exec (plugin, script, script->shutdown_func, "", "", ""); PyThreadState_Swap (script->interpreter); Py_EndInterpreter (script->interpreter); @@ -1362,7 +1487,7 @@ weechat_python_unload_all (t_weechat_plugin *plugin) int weechat_python_cmd (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, + int cmd_argc, char **cmd_argv, char *handler_args, void *handler_pointer) { int argc, handler_found; @@ -1371,13 +1496,14 @@ weechat_python_cmd (t_weechat_plugin *plugin, t_plugin_handler *ptr_handler; /* make gcc happy */ - (void) server; - (void) command; (void) handler_args; (void) handler_pointer; - if (arguments) - argv = plugin->explode_string (plugin, arguments, " ", 0, &argc); + if (cmd_argc < 3) + return PLUGIN_RC_KO; + + if (cmd_argv[2]) + argv = plugin->explode_string (plugin, cmd_argv[2], " ", 0, &argc); else { argv = NULL; @@ -1459,6 +1585,24 @@ weechat_python_cmd (t_weechat_plugin *plugin, ptr_handler->handler_args); } } + if (!handler_found) + plugin->print_server (plugin, " (none)"); + + /* list Python keyboard handlers */ + plugin->print_server (plugin, ""); + plugin->print_server (plugin, "Python keyboard handlers:"); + handler_found = 0; + for (ptr_handler = plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if ((ptr_handler->type == HANDLER_KEYBOARD) + && (ptr_handler->handler_args)) + { + handler_found = 1; + plugin->print_server (plugin, " Python(%s)", + ptr_handler->handler_args); + } + } if (!handler_found) plugin->print_server (plugin, " (none)"); break; @@ -1502,7 +1646,7 @@ weechat_python_cmd (t_weechat_plugin *plugin, if (argv) plugin->free_exploded_string (plugin, argv); - return 1; + return PLUGIN_RC_OK; } /* diff --git a/src/plugins/scripts/ruby/weechat-ruby.c b/src/plugins/scripts/ruby/weechat-ruby.c index 13f1e927f..1f6b8d933 100644 --- a/src/plugins/scripts/ruby/weechat-ruby.c +++ b/src/plugins/scripts/ruby/weechat-ruby.c @@ -104,7 +104,7 @@ rb_protect_funcall(VALUE recv, ID mid, int *state, int argc, ...) int weechat_ruby_exec (t_weechat_plugin *plugin, t_plugin_script *script, - char *function, char *server, char *arguments) + char *function, char *arg1, char *arg2, char *arg3) { VALUE ruby_retcode, err; int ruby_error; @@ -112,11 +112,32 @@ weechat_ruby_exec (t_weechat_plugin *plugin, (void) plugin; ruby_current_script = script; - - ruby_retcode = rb_protect_funcall ((VALUE) script->interpreter, rb_intern(function), - &ruby_error, 2, - rb_str_new2((server == NULL) ? "" : server), - rb_str_new2((arguments == NULL) ? "" : arguments)); + + if (arg1) + { + if (arg2) + { + if (arg3) + ruby_retcode = rb_protect_funcall ((VALUE) script->interpreter, rb_intern(function), + &ruby_error, 3, + rb_str_new2(arg1), + rb_str_new2(arg2), + rb_str_new2(arg3)); + else + ruby_retcode = rb_protect_funcall ((VALUE) script->interpreter, rb_intern(function), + &ruby_error, 2, + rb_str_new2(arg1), + rb_str_new2(arg2)); + } + else + ruby_retcode = rb_protect_funcall ((VALUE) script->interpreter, rb_intern(function), + &ruby_error, 1, + rb_str_new2(arg1)); + } + else + ruby_retcode = rb_protect_funcall ((VALUE) script->interpreter, rb_intern(function), + &ruby_error, 0); + if (ruby_error) { ruby_plugin->print_server (ruby_plugin, @@ -137,19 +158,52 @@ weechat_ruby_exec (t_weechat_plugin *plugin, } /* - * weechat_ruby_handler: general message and command handler for Ruby + * weechat_ruby_cmd_msg_handler: general command/message handler for Ruby */ int -weechat_ruby_handler (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, - char *handler_args, void *handler_pointer) +weechat_ruby_cmd_msg_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 3) + return weechat_ruby_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[2], NULL); + else + return PLUGIN_RC_KO; +} + +/* + * weechat_ruby_timer_handler: general timer handler for Ruby + */ + +int +weechat_ruby_timer_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) { /* make gcc happy */ - (void) command; + (void) argc; + (void) argv; return weechat_ruby_exec (plugin, (t_plugin_script *)handler_pointer, - handler_args, server, arguments); + handler_args, NULL, NULL, NULL); +} + +/* + * weechat_ruby_keyboard_handler: general keyboard handler for Ruby + */ + +int +weechat_ruby_keyboard_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 2) + return weechat_ruby_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[1], argv[2]); + else + return PLUGIN_RC_KO; } /* @@ -482,7 +536,7 @@ weechat_ruby_command (int argc, VALUE *argv, VALUE class) } /* - * weechat_ruby_add_message_handler: add handler for messages + * weechat_ruby_add_message_handler: add a handler for messages (privmsg, ...) */ static VALUE @@ -519,7 +573,8 @@ weechat_ruby_add_message_handler (VALUE class, VALUE message, VALUE function) c_function = STR2CSTR (function); if (ruby_plugin->msg_handler_add (ruby_plugin, c_message, - weechat_ruby_handler, c_function, + weechat_ruby_cmd_msg_handler, + c_function, (void *)ruby_current_script)) return INT2FIX (1); @@ -527,7 +582,7 @@ weechat_ruby_add_message_handler (VALUE class, VALUE message, VALUE function) } /* - * weechat_ruby_add_command_handler: define/redefines commands + * weechat_ruby_add_command_handler: add a command handler (define/redefine commands) */ static VALUE @@ -608,7 +663,7 @@ weechat_ruby_add_command_handler (int argc, VALUE *argv, VALUE class) c_arguments, c_arguments_description, c_completion_template, - weechat_ruby_handler, + weechat_ruby_cmd_msg_handler, c_function, (void *)ruby_current_script)) return INT2FIX (1); @@ -655,13 +710,57 @@ weechat_ruby_add_timer_handler (VALUE class, VALUE interval, VALUE function) c_function = STR2CSTR (function); if (ruby_plugin->timer_handler_add (ruby_plugin, c_interval, - weechat_ruby_handler, c_function, + weechat_ruby_timer_handler, + c_function, (void *)ruby_current_script)) return INT2FIX (1); return INT2FIX (0); } +/* + * weechat_ruby_add_keyboard_handler: add a keyboard handler + */ + +static VALUE +weechat_ruby_add_keyboard_handler (VALUE class, VALUE function) +{ + char *c_function; + + /* make gcc happy */ + (void) class; + + if (!ruby_current_script) + { + ruby_plugin->print_server (ruby_plugin, + "Ruby error: unable to add keyboard handler, " + "script not initialized"); + return INT2FIX (0); + } + + c_function = NULL; + + if (NIL_P (function)) + { + ruby_plugin->print_server (ruby_plugin, + "Ruby error: wrong parameters for " + "\"add_keyboard_handler\" function"); + return INT2FIX (0); + } + + Check_Type (function, T_STRING); + + c_function = STR2CSTR (function); + + if (ruby_plugin->keyboard_handler_add (ruby_plugin, + weechat_ruby_keyboard_handler, + c_function, + (void *)ruby_current_script)) + return INT2FIX (1); + + return INT2FIX (0); +} + /* * weechat_ruby_remove_handler: remove a handler */ @@ -745,6 +844,46 @@ weechat_ruby_remove_timer_handler (VALUE class, VALUE function) return INT2FIX (1); } +/* + * weechat_ruby_remove_keyboard_handler: remove a keyboard handler + */ + +static VALUE +weechat_ruby_remove_keyboard_handler (VALUE class, VALUE function) +{ + char *c_function; + + /* make gcc happy */ + (void) class; + + if (!ruby_current_script) + { + ruby_plugin->print_server (ruby_plugin, + "Ruby error: unable to remove keyboard handler, " + "script not initialized"); + return INT2FIX (0); + } + + c_function = NULL; + + if (NIL_P (function)) + { + ruby_plugin->print_server (ruby_plugin, + "Ruby error: wrong parameters for " + "\"remove_keyboard_handler\" function"); + return INT2FIX (0); + } + + Check_Type (function, T_STRING); + + c_function = STR2CSTR (function); + + weechat_script_remove_keyboard_handler (ruby_plugin, ruby_current_script, + c_function); + + return INT2FIX (1); +} + /* * weechat_ruby_get_info: get various infos */ @@ -1485,7 +1624,7 @@ weechat_ruby_unload (t_weechat_plugin *plugin, t_plugin_script *script) script->name); if (script->shutdown_func[0]) - weechat_ruby_exec (plugin, script, script->shutdown_func, "", ""); + weechat_ruby_exec (plugin, script, script->shutdown_func, "", "", ""); if (script->interpreter) rb_gc_unregister_address (script->interpreter); @@ -1541,7 +1680,7 @@ weechat_ruby_unload_all (t_weechat_plugin *plugin) int weechat_ruby_cmd (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, + int cmd_argc, char **cmd_argv, char *handler_args, void *handler_pointer) { int argc, handler_found; @@ -1550,13 +1689,14 @@ weechat_ruby_cmd (t_weechat_plugin *plugin, t_plugin_handler *ptr_handler; /* make gcc happy */ - (void) server; - (void) command; (void) handler_args; (void) handler_pointer; - if (arguments) - argv = plugin->explode_string (plugin, arguments, " ", 0, &argc); + if (cmd_argc < 3) + return PLUGIN_RC_KO; + + if (cmd_argv[2]) + argv = plugin->explode_string (plugin, cmd_argv[2], " ", 0, &argc); else { argv = NULL; @@ -1638,6 +1778,24 @@ weechat_ruby_cmd (t_weechat_plugin *plugin, ptr_handler->handler_args); } } + if (!handler_found) + plugin->print_server (plugin, " (none)"); + + /* list Ruby keyboard handlers */ + plugin->print_server (plugin, ""); + plugin->print_server (plugin, "Ruby keyboard handlers:"); + handler_found = 0; + for (ptr_handler = plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if ((ptr_handler->type == HANDLER_KEYBOARD) + && (ptr_handler->handler_args)) + { + handler_found = 1; + plugin->print_server (plugin, " Ruby(%s)", + ptr_handler->handler_args); + } + } if (!handler_found) plugin->print_server (plugin, " (none)"); break; @@ -1681,7 +1839,7 @@ weechat_ruby_cmd (t_weechat_plugin *plugin, if (argv) plugin->free_exploded_string (plugin, argv); - return 1; + return PLUGIN_RC_OK; } /* @@ -1758,8 +1916,10 @@ weechat_plugin_init (t_weechat_plugin *plugin) rb_define_module_function (mWeechat, "add_message_handler", weechat_ruby_add_message_handler, 2); rb_define_module_function (mWeechat, "add_command_handler", weechat_ruby_add_command_handler, -1); rb_define_module_function (mWeechat, "add_timer_handler", weechat_ruby_add_timer_handler, 2); + rb_define_module_function (mWeechat, "add_keyboard_handler", weechat_ruby_add_keyboard_handler, 1); rb_define_module_function (mWeechat, "remove_handler", weechat_ruby_remove_handler, 2); rb_define_module_function (mWeechat, "remove_timer_handler", weechat_ruby_remove_timer_handler, 1); + rb_define_module_function (mWeechat, "remove_keyboard_handler", weechat_ruby_remove_keyboard_handler, 1); rb_define_module_function (mWeechat, "get_info", weechat_ruby_get_info, -1); rb_define_module_function (mWeechat, "get_dcc_info", weechat_ruby_get_dcc_info, 0); rb_define_module_function (mWeechat, "get_config", weechat_ruby_get_config, 1); diff --git a/src/plugins/scripts/weechat-script.c b/src/plugins/scripts/weechat-script.c index f95809426..419b10adb 100644 --- a/src/plugins/scripts/weechat-script.c +++ b/src/plugins/scripts/weechat-script.c @@ -317,7 +317,36 @@ weechat_script_remove_timer_handler (t_weechat_plugin *plugin, ptr_handler = plugin->handlers; while (ptr_handler) { - if (((t_plugin_script *)ptr_handler->handler_pointer == script) + if ((ptr_handler->type == HANDLER_TIMER) + && ((t_plugin_script *)ptr_handler->handler_pointer == script) + && (plugin->ascii_strcasecmp (plugin, ptr_handler->handler_args, function) == 0)) + { + next_handler = ptr_handler->next_handler; + plugin->handler_remove (plugin, ptr_handler); + ptr_handler = next_handler; + } + else + ptr_handler = ptr_handler->next_handler; + } +} + +/* + * weechat_script_remove_keyboard_handler: remove a keyboard handler for a script + */ + +void +weechat_script_remove_keyboard_handler (t_weechat_plugin *plugin, + t_plugin_script *script, + char *function) +{ + t_plugin_handler *ptr_handler, *next_handler; + + /* search and remove keyboard handlers */ + ptr_handler = plugin->handlers; + while (ptr_handler) + { + if ((ptr_handler->type == HANDLER_KEYBOARD) + && ((t_plugin_script *)ptr_handler->handler_pointer == script) && (plugin->ascii_strcasecmp (plugin, ptr_handler->handler_args, function) == 0)) { next_handler = ptr_handler->next_handler; diff --git a/src/plugins/scripts/weechat-script.h b/src/plugins/scripts/weechat-script.h index 007bc8713..922eaab7f 100644 --- a/src/plugins/scripts/weechat-script.h +++ b/src/plugins/scripts/weechat-script.h @@ -56,6 +56,9 @@ extern void weechat_script_remove_handler (t_weechat_plugin *, extern void weechat_script_remove_timer_handler (t_weechat_plugin *, t_plugin_script *, char *); +extern void weechat_script_remove_keyboard_handler (t_weechat_plugin *, + t_plugin_script *, + char *); extern char *weechat_script_get_plugin_config (t_weechat_plugin *, t_plugin_script *, char *); diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index 57c01644c..107baf206 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -125,7 +125,7 @@ struct t_plugin_nick_info typedef struct t_weechat_plugin t_weechat_plugin; -typedef int (t_plugin_handler_func) (t_weechat_plugin *, char *, char *, char *, char *, void *); +typedef int (t_plugin_handler_func) (t_weechat_plugin *, int, char **, char *, void *); /* handlers */ @@ -135,7 +135,8 @@ enum t_handler_type { HANDLER_MESSAGE = 0, /* IRC message handler */ HANDLER_COMMAND, /* command handler */ - HANDLER_TIMER /* timer handler */ + HANDLER_TIMER, /* timer handler */ + HANDLER_KEYBOARD /* keyboard handler */ }; typedef struct t_plugin_handler t_plugin_handler; @@ -219,6 +220,9 @@ struct t_weechat_plugin t_plugin_handler *(*timer_handler_add) (t_weechat_plugin *, int, t_plugin_handler_func *, char *, void *); + t_plugin_handler *(*keyboard_handler_add) (t_weechat_plugin *, + t_plugin_handler_func *, + char *, void *); void (*handler_remove) (t_weechat_plugin *, t_plugin_handler *); void (*handler_remove_all) (t_weechat_plugin *); @@ -239,6 +243,8 @@ struct t_weechat_plugin void (*log) (t_weechat_plugin *, char *, char *, char *, ...); + void (*input_color) (t_weechat_plugin *, int, int, int); + /* WeeChat developers: ALWAYS add new functions at the end */ }; @@ -272,6 +278,9 @@ extern t_plugin_handler *weechat_plugin_cmd_handler_add (t_weechat_plugin *, cha extern t_plugin_handler *weechat_plugin_timer_handler_add (t_weechat_plugin *, int, t_plugin_handler_func *, char *, void *); +extern t_plugin_handler *weechat_plugin_keyboard_handler_add (t_weechat_plugin *, + t_plugin_handler_func *, + char *, void *); extern void weechat_plugin_handler_remove (t_weechat_plugin *, t_plugin_handler *); extern void weechat_plugin_handler_remove_all (t_weechat_plugin *); @@ -290,5 +299,6 @@ extern t_plugin_channel_info *weechat_plugin_get_channel_info (t_weechat_plugin extern void weechat_plugin_free_channel_info (t_weechat_plugin *, t_plugin_channel_info *); extern t_plugin_nick_info *weechat_plugin_get_nick_info (t_weechat_plugin *, char *, char *); extern void weechat_plugin_free_nick_info (t_weechat_plugin *, t_plugin_nick_info *); +extern void weechat_plugin_input_color (t_weechat_plugin *, int, int, int); #endif /* weechat-plugin.h */ diff --git a/weechat/ChangeLog b/weechat/ChangeLog index 7306344c5..a24c86616 100644 --- a/weechat/ChangeLog +++ b/weechat/ChangeLog @@ -1,10 +1,11 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2006-03-26 +ChangeLog - 2006-03-30 Version 0.1.9 (under dev!): + * added keyboard handler to plugin API * improved script plugin loader * added hostname/IP option for connection to server * fixed --disable-plugins option in configure script diff --git a/weechat/doc/en/weechat.en.xml b/weechat/doc/en/weechat.en.xml index c14ca98df..d04f78bdb 100644 --- a/weechat/doc/en/weechat.en.xml +++ b/weechat/doc/en/weechat.en.xml @@ -35,7 +35,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - WeeChat 0.1.8 - User guide + WeeChat 0.1.9-cvs - User guide Fast, light and extensible IRC client @@ -1801,6 +1801,29 @@ plugin->log (plugin, "freenode", "#weechat", "test"); : function called when message is received + + It uses following prototype: + + int my_function (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Argument argc is set to 3, following values are set in + argv array: + + + argv[0] = server name + + + argv[1] = IRC message + + + argv[2] = command arguments + + + @@ -2036,6 +2059,29 @@ plugin->msg_handler_add (plugin, "KICK", &msg_kick, NULL, NULL); : function called when command is executed + + It uses following prototype: + + int my_function (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Argument argc is set to 3, following values are set in + argc array: + + + argv[0] = server name + + + argv[1] = command + + + argv[2] = command arguments + + + @@ -2123,6 +2169,119 @@ plugin->cmd_handler_add (plugin, "test", "Test command", : function called + + It uses following prototype: + + int my_function (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Argument argc is set to 0, and argv is set to NULL. + + + + + : arguments given to function + when called + + + + + : pointer given to function + when called + + + + + + Return value: pointer to new timer handler. + + + Note: function called has to return one of following values: + + + + PLUGIN_RC_KO: function failed + + + + + PLUGIN_RC_OK: function successfully + completed + + + + + + Example: + +int my_timer (t_weechat_plugin *plugin, char *server, char *command, + char *arguments, char *handler_args, void *handler_pointer) +{ + plugin->print (plugin, NULL, NULL, "my timer"); + return PLUGIN_RC_OK; +} +... +plugin->timer_handler_add (plugin, 60, &my_timer); + + +
+ +
+ keyboard_handler_add + + + Prototype: + + t_plugin_handler *keyboard_handler_add (t_weechat_plugin + *plugin, t_plugin_handler_func *function, + char *handler_args, void *handler_pointer) + + + + Add a keyboard handler, called for any key pressed. + + + Arguments: + + + + : pointer to plugin structure + + + + + : function called + + + It uses following prototype: + + int my_function (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Le paramtre argc vaut 2 et les arguments suivants sont + passs dans le tableau argv : + + + + argv[0] = touche appuye (nom d'une fonction interne + ou bien '*' suivi du code d'une touche si la touche + n'est pas associe une fonction) + + + + + argv[1] = "1" si la ligne de commande a chang suite + l'action de cette touche, "0" sinon + + + + @@ -2160,14 +2319,21 @@ plugin->cmd_handler_add (plugin, "test", "Test command", Example: -int my_timer (t_weechat_plugin *plugin, char *server, char *command, - char *arguments, char *handler_args, void *handler_pointer) +int keyb_handler (t_weechat_plugin *plugin, int argc, char **argv, + char *handler_args, void *handler_pointer) { - plugin->print (plugin, NULL, NULL, "my timer"); + if (argc == 2) + { + plugin->print (plugin, NULL, NULL, "key pressed: %s", argv[0]); + if (argv[1] && (argv[1][0] == '1')) + plugin->print (plugin, NULL, NULL, "input text changed"); + else + plugin->print (plugin, NULL, NULL, "input text not changed"); + } return PLUGIN_RC_OK; } ... -plugin->timer_handler_add (plugin, 60, &my_timer); +plugin->keyboard_handler_add (plugin, &keyb_handler);
@@ -2183,7 +2349,7 @@ plugin->timer_handler_add (plugin, 60, &my_timer); - Remove a handler. + Remove a command or message handler. Arguments: @@ -2353,6 +2519,24 @@ plugin->exec_command (plugin, "freenode", "#weechat", "hello"); number of seconds since last key was pressed + + input + + content of command line for current window + + + + input_mask + + content of color mask for command line + + + + input_pos + + cursor position in command line + + weechat_dir @@ -2400,9 +2584,12 @@ plugin->print (plugin, NULL, NULL, "(inactive for %s seconds)", version, nick, inactivity); -free (version); -free (nick); -free (inactivity); +if (version) + free (version); +if (nick) + free (nick); +if (inactivity) + free (inactivity); @@ -4288,20 +4475,20 @@ sub my_timer # python weechat.add_timer_handler(60, "my_timer") -def my_timer(server, args): +def my_timer(): weechat.prnt("this is timer handler") return weechat.PLUGIN_RC_OK # ruby Weechat.add_timer_handler(60, "my_timer") -def my_timer(server, args) +def my_timer() Weechat.print("this is timer handler") return Weechat::PLUGIN_RC_OK end -- lua weechat.add_timer_handler(60, "my_timer") -function my_timer(server, args) +function my_timer() weechat.print("this is timer handler) return weechat.PLUGIN_RC_OK() end @@ -4325,6 +4512,110 @@ end +
+ add_keyboard_handler + + + Perl prototype: + + weechat::add_keyboard_handler(message, function); + + + + Python prototype: + + weechat.add_keyboard_handler(message, function) + + + + Ruby prototype: + + Weechat.add_keyboard_handler(message, function) + + + + Lua prototype: + + weechat.add_keyboard_handler(message, function) + + + + Add a keyboard handler, called for any key pressed. + + + Arguments: + + + + : function called + + + + + + Return value: 1 if success, 0 if an error occurred. + + + Examples: + +# perl +weechat::add_keyboard_handler("my_keyboard"); +sub my_keyboard +{ + my $key = shift; + my $input_before = shift; + my $input_after = shift; + weechat::print("keyboard handler: key = '$key', " + ."input before = '$input_before' " + ."after = '$input_after'"); + return weechat::PLUGIN_RC_OK; +} + +# python +weechat.add_keyboard_handler("my_keyboard") +def my_keyboard(key, input_before, input_after): + weechat.prnt("keyboard handler: key = '%s', " \ + "input before = '%s' after = '%s'" + %(key, input_before, input_after)) + return weechat.PLUGIN_RC_OK + +# ruby +Weechat.add_keyboard_handler("my_keyboard") +def my_keyboard(server, input_before, input_after) + Weechat.print("keyboard handler: key = '#{key}', " \ + "input before = '#{input_before}' " \ + "after = '#{input_after}'") + return Weechat::PLUGIN_RC_OK +end + +-- lua +weechat.add_keyboard_handler("my_keyboard") +function my_keyboard(server, input_before, input_after) + weechat.print("keyboard handler: key = '"..key.. + "', input before = '"..input_before.. + "' after = '"..input_after.."'") + return weechat.PLUGIN_RC_OK() +end + + + + Note: function called has to return one of following values: + + + + PLUGIN_RC_KO: function failed + + + + + PLUGIN_RC_OK: function successfully + completed + + + + +
+
remove_handler @@ -4452,6 +4743,67 @@ weechat.remove_timer_handler("my_timer")
+
+ remove_keyboard_handler + + + Perl prototype: + + weechat::remove_keyboard_handler(function); + + + + Python prototype: + + weechat.remove_keyboard_handler(function) + + + + Ruby prototype: + + Weechat.remove_keyboard_handler(function) + + + + Lua prototype: + + weechat.remove_keyboard_handler(function) + + + + Remove a keyboard handler. + + + Arguments: + + + + : function + + + + + + Return value: 1 if success, 0 if an error occurred. + + + Examples: + +# perl +weechat::remove_keyboard_handler("my_keyboard"); + +# python +weechat.remove_keyboard_handler("my_keyboard") + +# ruby +Weechat.remove_keyboard_handler("my_keyboard") + +-- lua +weechat.remove_keyboard_handler("my_keyboard") + + +
+
command diff --git a/weechat/doc/fr/weechat.fr.xml b/weechat/doc/fr/weechat.fr.xml index da3b661fd..d58825634 100644 --- a/weechat/doc/fr/weechat.fr.xml +++ b/weechat/doc/fr/weechat.fr.xml @@ -35,7 +35,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - WeeChat 0.1.8 - Guide utilisateur + WeeChat 0.1.9-cvs - Guide utilisateur Client IRC rapide, lger et extensible @@ -1839,6 +1839,29 @@ plugin->log (plugin, "freenode", "#weechat", "test"); : fonction appele lorsque le message est reu + + Elle a le prototype suivant : + + int ma_fonction (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Le paramtre argc vaut 3 et les arguments suivants sont + passs dans le tableau argv : + + + argv[0] = nom du serveur + + + argv[1] = message IRC + + + argv[2] = arguments de la commande + + + @@ -2075,7 +2098,30 @@ plugin->msg_handler_add (plugin, "KICK", &msg_kick, NULL, NULL); : fonction appele lorsque la - commande est excute + commande est excute. + + + Elle a le prototype suivant : + + int ma_fonction (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Le paramtre argc vaut 3 et les arguments suivants sont + passs dans le tableau argv : + + + argv[0] = nom du serveur + + + argv[1] = commande + + + argv[2] = arguments de la commande + + @@ -2166,6 +2212,17 @@ plugin->cmd_handler_add (plugin, "test", "Commande test", : fonction appele + + Elle a le prototype suivant : + + int ma_fonction (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Le paramtre argc vaut 0 et argv vaut NULL. + @@ -2183,7 +2240,7 @@ plugin->cmd_handler_add (plugin, "test", "Commande test", Valeur renvoye : le pointeur vers le nouveau gestionnaire de - messages. + temps. Note : la fonction appele doit renvoyer une des valeurs @@ -2216,6 +2273,118 @@ plugin->timer_handler_add (plugin, 60, &mon_timer);
+
+ keyboard_handler_add + + + Prototype : + + t_plugin_handler *keyboard_handler_add (t_weechat_plugin + *plugin, t_plugin_handler_func *fonction, + char *handler_args, void *handler_pointer) + + + + Ajoute un gestionnaire de clavier, appel ds qu'une touche est + presse. + + + Paramtres : + + + + : pointeur vers la structure + de l'extension + + + + + : fonction appele + + + Elle a le prototype suivant : + + int ma_fonction (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) + + + + Le paramtre argc vaut 2 et les arguments suivants sont + passs dans le tableau argv : + + + + argv[0] = touche appuye (nom d'une fonction interne + ou bien '*' suivi du code d'une touche si la touche + n'est pas associe une fonction) + + + + + argv[1] = "1" si la ligne de commande a chang suite + l'action de cette touche, "0" sinon + + + + + + + + : paramtres passs la + fonction appele + + + + + : pointeur pass la + fonction appele + + + + + + Valeur renvoye : le pointeur vers le nouveau gestionnaire de + clavier. + + + Note : la fonction appele doit renvoyer une des valeurs + suivantes : + + + + PLUGIN_RC_KO : la fonction a chou + + + + + PLUGIN_RC_OK : la fonction a russi + + + + + + Exemple : + +int keyb_handler (t_weechat_plugin *plugin, int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc == 2) + { + plugin->print (plugin, NULL, NULL, "touche appuye: %s", argv[0]); + if (argv[1] && (argv[1][0] == '1')) + plugin->print (plugin, NULL, NULL, "le texte d'entre a chang"); + else + plugin->print (plugin, NULL, NULL, "le texte d'entre n'a pas chang"); + } + return PLUGIN_RC_OK; +} +... +plugin->keyboard_handler_add (plugin, &keyb_handler); + + +
+
handler_remove @@ -2227,7 +2396,7 @@ plugin->timer_handler_add (plugin, 60, &mon_timer); - Supprime un gestionnaire. + Supprime un gestionnaire de commande ou message. Paramtres : @@ -2402,6 +2571,26 @@ plugin->exec_command (plugin, "freenode", "#weechat", "bonjour"); touche a t appuye + + input + + contenu de la ligne de commande de la fentre + courante + + + + input_mask + + contenu du masque de couleur de la ligne de + commande + + + + input_pos + + position du curseur dans la ligne de commande + + weechat_dir @@ -2449,9 +2638,12 @@ plugin->print (plugin, NULL, NULL, "(inactif depuis %s secondes)", version, nick, inactivity); -free (version); -free (nick); -free (inactivity); +if (version) + free (version); +if (nick) + free (nick); +if (inactivity) + free (inactivity);
@@ -4369,20 +4561,20 @@ sub mon_timer # python weechat.add_timer_handler(60, "mon_timer") -def mon_timer(serveur, args): +def mon_timer(): weechat.prnt("ceci est le timer handler") return weechat.PLUGIN_RC_OK # ruby Weechat.add_timer_handler(60, "mon_timer") -def mon_timer(server, args) +def mon_timer() Weechat.print("ceci est le timer handler") return Weechat::PLUGIN_RC_OK end -- lua weechat.add_timer_handler(60, "mon_timer") -function mon_timer(server, args) +function mon_timer() weechat.print("ceci est le timer handler") return weechat.PLUGIN_RC_OK() end @@ -4406,6 +4598,111 @@ end +
+ add_keyboard_handler + + + Prototype Perl : + + weechat::add_keyboard_handler(fonction); + + + + Prototype Python : + + weechat.add_keyboard_handler(fonction) + + + + Prototype Ruby : + + Weechat.add_keyboard_handler(fonction) + + + + Prototype Lua : + + weechat.add_keyboard_handler(fonction) + + + + Ajoute un gestionnaire de clavier, appel ds qu'une touche est + presse. + + + Paramtres : + + + + : fonction appele + + + + + + Valeur renvoye : 1 si succs, 0 si une erreur s'est produite. + + + Exemples : + +# perl +weechat::add_keyboard_handler("mon_clavier"); +sub mon_clavier +{ + my $key = shift; + my $input_before = shift; + my $input_after = shift; + weechat::print("gestionnaire clavier: key = '$key', " + ."entre avant = '$input_before' " + ."aprs = '$input_after'"); + return weechat::PLUGIN_RC_OK; +} + +# python +weechat.add_keyboard_handler("mon_clavier") +def mon_clavier(key, input_before, input_after): + weechat.prnt("gestionnaire clavier: touche = '%s', " \ + "entre avant = '%s' aprs = '%s'" + %(key, input_before, input_after)) + return weechat.PLUGIN_RC_OK + +# ruby +Weechat.add_clavier_handler("mon_clavier") +def mon_clavier(server, input_before, input_after) + Weechat.print("gestionnaire clavier: touche = '#{key}', " \ + "entre avant = '#{input_before}' " \ + "aprs = '#{input_after}'") + return Weechat::PLUGIN_RC_OK +end + +-- lua +weechat.add_clavier_handler("mon_clavier") +function mon_clavier(server, input_before, input_after) + weechat.print("gestionnaire clavier: touche = '"..key.. + "', entre avant = '"..input_before.. + "' aprs = '"..input_after.."'") + return weechat.PLUGIN_RC_OK() +end + + + + Note : la fonction appele doit renvoyer une des valeurs + suivantes : + + + + PLUGIN_RC_KO : la fonction a chou + + + + + PLUGIN_RC_OK : la fonction a russi + + + + +
+
remove_handler @@ -4533,6 +4830,67 @@ weechat.remove_timer_handler("mon_timer")
+
+ remove_keyboard_handler + + + Prototype Perl : + + weechat::remove_keyboard_handler(fonction); + + + + Prototype Python : + + weechat.remove_keyboard_handler(fonction) + + + + Prototype Ruby : + + Weechat.remove_keyboard_handler(fonction) + + + + Prototype Lua : + + weechat.remove_keyboard_handler(fonction) + + + + Supprime un gestionnaire de clavier. + + + Paramtres : + + + + : fonction + + + + + + Valeur renvoye : 1 si succs, 0 si une erreur s'est produite. + + + Exemples : + +# perl +weechat::remove_keyboard_handler("mon_clavier"); + +# python +weechat.remove_keyboard_handler("mon_clavier") + +# ruby +Weechat.remove_keyboard_handler("mon_clavier") + +-- lua +weechat.remove_keyboard_handler("mon_clavier") + + +
+
command diff --git a/weechat/po/cs.po b/weechat/po/cs.po index 9cb063f02..24b968479 100644 --- a/weechat/po/cs.po +++ b/weechat/po/cs.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.9-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2006-03-25 11:52+0100\n" +"POT-Creation-Date: 2006-03-29 20:06+0200\n" "PO-Revision-Date: 2006-03-18 11:45+0100\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -1399,7 +1399,7 @@ msgstr "off" msgid " (temporary server, will not be saved)" msgstr " (dočasný server, nebude uložen)" -#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3423 +#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3426 msgid "seconds" msgstr "sekund" @@ -1407,7 +1407,7 @@ msgstr "sekund" msgid "(hidden)" msgstr "(skrytý)" -#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4993 +#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4996 msgid "unknown" msgstr "neznámý" @@ -1416,7 +1416,7 @@ msgstr "neznámý" msgid "%s: using hostname \"%s\"\n" msgstr "%s: používám lokální jméno hosta \"%s\"\n" -#: src/irc/irc-send.c:221 src/common/command.c:1036 +#: src/irc/irc-send.c:221 src/common/command.c:1039 #, c-format msgid "%s cannot find nick for sending message\n" msgstr "%s nemohu najít přezdívku pro poslání zprávy\n" @@ -1438,8 +1438,8 @@ msgstr "%s \"%s\" příkaz nemůže být spuštěn v bufferu serveru\n" #: src/irc/irc-send.c:634 src/irc/irc-send.c:646 src/irc/irc-send.c:664 #: src/irc/irc-send.c:1371 src/irc/irc-send.c:1509 src/irc/irc-send.c:2104 -#: src/common/command.c:1922 src/common/command.c:2435 -#: src/common/command.c:2576 +#: src/common/command.c:1925 src/common/command.c:2438 +#: src/common/command.c:2617 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s špatný počet parametrů pro příkaz \"%s\"\n" @@ -1456,7 +1456,7 @@ msgstr "" "%s \"%s\" příkaz může být spuštěn pouze v bufferu kanálu nebo soukromého " "rozhovoru\n" -#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:511 +#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:514 #, c-format msgid "%s nick \"%s\" not found for \"%s\" command\n" msgstr "%s přezdívka \"%s\" nebyla nalezena pro příkaz \"%s\"\n" @@ -1471,481 +1471,481 @@ msgstr "%s nemohu vytvořít nové soukromý buffer\"%s\"\n" msgid "%s, compiled on %s %s\n" msgstr "%s, kompilováno na %s %s\n" -#: src/irc/irc-recv.c:371 +#: src/irc/irc-recv.c:374 #, c-format msgid "You have been invited to %s%s%s by %s%s\n" msgstr "Byl jsi pozván na %s%s%s od %s%s\n" -#: src/irc/irc-recv.c:385 src/irc/irc-recv.c:480 src/irc/irc-recv.c:1103 -#: src/irc/irc-recv.c:1525 src/irc/irc-recv.c:1805 src/irc/irc-recv.c:3795 -#: src/irc/irc-recv.c:3816 src/irc/irc-recv.c:3877 src/irc/irc-recv.c:3948 +#: src/irc/irc-recv.c:388 src/irc/irc-recv.c:483 src/irc/irc-recv.c:1106 +#: src/irc/irc-recv.c:1528 src/irc/irc-recv.c:1808 src/irc/irc-recv.c:3798 +#: src/irc/irc-recv.c:3819 src/irc/irc-recv.c:3880 src/irc/irc-recv.c:3951 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "%s kanál \"%s\" nebyl nalezen příkazem \"%s\"\n" -#: src/irc/irc-recv.c:413 +#: src/irc/irc-recv.c:416 #, c-format msgid "%s cannot create new channel \"%s\"\n" msgstr "%s nemohu vytvořit nový kanál \"%s\"\n" -#: src/irc/irc-recv.c:426 +#: src/irc/irc-recv.c:429 #, c-format msgid "%s%s %s(%s%s%s)%s has joined %s%s\n" msgstr "%s%s %s(%s%s%s)%s se připojil %s%s\n" -#: src/irc/irc-recv.c:488 +#: src/irc/irc-recv.c:491 #, c-format msgid "%s%s%s has kicked %s%s%s from %s%s" msgstr "%s%s%s byl vykopnut %s%s%s z %s%s" -#: src/irc/irc-recv.c:578 +#: src/irc/irc-recv.c:581 #, c-format msgid "%s%s%s has killed %s%s%s from server" msgstr "%s%s%s byl zabit %s%s%s ze serveru" -#: src/irc/irc-recv.c:600 +#: src/irc/irc-recv.c:603 #, c-format msgid "%s host \"%s\" not found for \"%s\" command\n" msgstr "%s host \"%s\" nenalezen pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:641 +#: src/irc/irc-recv.c:644 msgid "sets ban on" msgstr "tě zakázal" -#: src/irc/irc-recv.c:642 +#: src/irc/irc-recv.c:645 msgid "removes ban on" msgstr "odebral zakázaní" -#: src/irc/irc-recv.c:666 +#: src/irc/irc-recv.c:669 #, fuzzy msgid "sets realname ban on" msgstr "tě zakázal" -#: src/irc/irc-recv.c:667 +#: src/irc/irc-recv.c:670 #, fuzzy msgid "removes realname ban on" msgstr "odebral zakázaní" -#: src/irc/irc-recv.c:691 +#: src/irc/irc-recv.c:694 #, fuzzy msgid "sets ban exemtion on" msgstr "nastavena vyjímka na" -#: src/irc/irc-recv.c:692 +#: src/irc/irc-recv.c:695 #, fuzzy msgid "removes ban exemption on" msgstr "odstraněna vyjímka z" -#: src/irc/irc-recv.c:716 +#: src/irc/irc-recv.c:719 msgid "sets mode +f" msgstr "nastavil mód +f" -#: src/irc/irc-recv.c:717 +#: src/irc/irc-recv.c:720 msgid "removes mode +f" msgstr "odstranil mód +f" -#: src/irc/irc-recv.c:741 +#: src/irc/irc-recv.c:744 msgid "gives half channel operator status to" msgstr "dal poloviční status operátora na" -#: src/irc/irc-recv.c:742 +#: src/irc/irc-recv.c:745 msgid "removes half channel operator status from" msgstr "odebral poloviční status operátora z" -#: src/irc/irc-recv.c:769 +#: src/irc/irc-recv.c:772 msgid "sets invite-only channel flag" msgstr "nastavil zančku kanálu: pouze na pování" -#: src/irc/irc-recv.c:770 +#: src/irc/irc-recv.c:773 msgid "removes invite-only channel flag" msgstr "odebral značku kanálu: pouze na pozvání" -#: src/irc/irc-recv.c:787 +#: src/irc/irc-recv.c:790 #, fuzzy msgid "sets invite-only exemption on" msgstr "nastavena vyjímka na" -#: src/irc/irc-recv.c:788 +#: src/irc/irc-recv.c:791 #, fuzzy msgid "removes invite-only exemption on" msgstr "odstraněna vyjímka z" -#: src/irc/irc-recv.c:812 +#: src/irc/irc-recv.c:815 msgid "sets channel key to" msgstr "nastavil klíč kanálu na" -#: src/irc/irc-recv.c:813 +#: src/irc/irc-recv.c:816 msgid "removes channel key" msgstr "odebral klíč kanálu" -#: src/irc/irc-recv.c:844 +#: src/irc/irc-recv.c:847 msgid "sets the user limit to" msgstr "nastavil limit uživatelů na" -#: src/irc/irc-recv.c:845 +#: src/irc/irc-recv.c:848 msgid "removes user limit" msgstr "odebral limit uživatelů" -#: src/irc/irc-recv.c:867 +#: src/irc/irc-recv.c:870 msgid "sets moderated channel flag" msgstr "nastavil značku moderovaného kanálu" -#: src/irc/irc-recv.c:868 +#: src/irc/irc-recv.c:871 msgid "removes moderated channel flag" msgstr "odebral značku moderovaného kanálu" -#: src/irc/irc-recv.c:878 +#: src/irc/irc-recv.c:881 msgid "sets messages from channel only flag" msgstr "nastavil značku kanálu: zprávy pouze z kanálu" -#: src/irc/irc-recv.c:879 +#: src/irc/irc-recv.c:882 msgid "removes messages from channel only flag" msgstr "odebral značku kanálu: zprávy pouze z kanálu" -#: src/irc/irc-recv.c:896 +#: src/irc/irc-recv.c:899 msgid "gives channel operator status to" msgstr "dal status operátora na" -#: src/irc/irc-recv.c:897 +#: src/irc/irc-recv.c:900 msgid "removes channel operator status from" msgstr "odebral status operátora z" -#: src/irc/irc-recv.c:924 +#: src/irc/irc-recv.c:927 msgid "sets private channel flag" msgstr "nastavil značku soukromého kanálu" -#: src/irc/irc-recv.c:925 +#: src/irc/irc-recv.c:928 msgid "removes private channel flag" msgstr "odebral značku soukromého kanálu" -#: src/irc/irc-recv.c:942 +#: src/irc/irc-recv.c:945 msgid "sets quiet on" msgstr "nastavil ticho na" -#: src/irc/irc-recv.c:943 +#: src/irc/irc-recv.c:946 msgid "removes quiet on" msgstr "odebral ticho z" -#: src/irc/irc-recv.c:960 +#: src/irc/irc-recv.c:963 msgid "sets secret channel flag" msgstr "nastavil značku tajného kanálu" -#: src/irc/irc-recv.c:961 +#: src/irc/irc-recv.c:964 msgid "removes secret channel flag" msgstr "odebral značku tajného kanálu" -#: src/irc/irc-recv.c:971 +#: src/irc/irc-recv.c:974 msgid "sets topic protection" msgstr "nastavil protekci tématu" -#: src/irc/irc-recv.c:972 +#: src/irc/irc-recv.c:975 msgid "removes topic protection" msgstr "odebral protekci tématu" -#: src/irc/irc-recv.c:989 +#: src/irc/irc-recv.c:992 msgid "gives voice to" msgstr "dal voice na" -#: src/irc/irc-recv.c:990 +#: src/irc/irc-recv.c:993 msgid "removes voice from" msgstr "odebral voice z" -#: src/irc/irc-recv.c:1062 src/irc/irc-recv.c:1148 src/irc/irc-recv.c:1604 -#: src/irc/irc-recv.c:2429 +#: src/irc/irc-recv.c:1065 src/irc/irc-recv.c:1151 src/irc/irc-recv.c:1607 +#: src/irc/irc-recv.c:2432 #, c-format msgid "%s \"%s\" command received without host\n" msgstr "%s \"%s\" příkaz obdržen bez hosta\n" -#: src/irc/irc-recv.c:1072 +#: src/irc/irc-recv.c:1075 #, c-format msgid "%s \"%s\" command received without channel or nickname\n" msgstr "%s \"%s\" příkaz obdržen bez kanálu nebo přezdívky\n" -#: src/irc/irc-recv.c:1114 +#: src/irc/irc-recv.c:1117 #, c-format msgid "%s[%s%s%s/%s%s%s]%s mode changed by %s%s\n" msgstr "%s[%s%s%s/%s%s%s]%s mód změnil %s%s\n" -#: src/irc/irc-recv.c:1183 +#: src/irc/irc-recv.c:1186 #, c-format msgid "You are now known as %s%s\n" msgstr "Nyní známý jako %s%s\n" -#: src/irc/irc-recv.c:1187 +#: src/irc/irc-recv.c:1190 #, c-format msgid "%s%s%s is now known as %s%s\n" msgstr "%s%s%s nyní známý jako %s%s\n" -#: src/irc/irc-recv.c:1255 +#: src/irc/irc-recv.c:1258 #, c-format msgid "%s nickname not found for \"%s\" command\n" msgstr "%s přezdívka nenalezena pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:1269 +#: src/irc/irc-recv.c:1272 #, c-format msgid "CTCP %sVERSION%s reply from %s%s%s: %s\n" msgstr "CTCP %sVERSION%s odpověď od %s%s%s: %s\n" -#: src/irc/irc-recv.c:1303 +#: src/irc/irc-recv.c:1306 #, c-format msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "CTCP %sPING%s odpověď od %s%s%s: %ld.%ld sekund\n" -#: src/irc/irc-recv.c:1326 src/irc/irc-recv.c:2232 src/irc/irc-recv.c:2344 +#: src/irc/irc-recv.c:1329 src/irc/irc-recv.c:2235 src/irc/irc-recv.c:2347 #, c-format msgid "%s cannot create new private window \"%s\"\n" msgstr "%s nemohu vytvořít nové soukromé okno\"%s\"\n" -#: src/irc/irc-recv.c:1351 src/irc/irc-recv.c:2369 +#: src/irc/irc-recv.c:1354 src/irc/irc-recv.c:2372 msgid "Private" msgstr "Soukromý" -#: src/irc/irc-recv.c:1427 +#: src/irc/irc-recv.c:1430 #, c-format msgid "%s \"%s\" command received without host or channel\n" msgstr "%s \"%s\" příkaz obdržen bez hosta nebo kanálu\n" -#: src/irc/irc-recv.c:1455 +#: src/irc/irc-recv.c:1458 #, c-format msgid "%s%s %s(%s%s%s)%s has left %s%s" msgstr "%s%s %s(%s%s%s)%s opustil %s%s" -#: src/irc/irc-recv.c:1654 src/irc/irc-recv.c:1780 src/irc/irc-recv.c:2260 +#: src/irc/irc-recv.c:1657 src/irc/irc-recv.c:1783 src/irc/irc-recv.c:2263 msgid "Channel" msgstr "Kanálu" -#: src/irc/irc-recv.c:1688 +#: src/irc/irc-recv.c:1691 #, c-format msgid "Received a CTCP %sSOUND%s \"%s\" from %s%s\n" msgstr "Obdržen CTCP %sZVUK%s \"%s\" od %s%s\n" -#: src/irc/irc-recv.c:1718 src/irc/irc-recv.c:1904 +#: src/irc/irc-recv.c:1721 src/irc/irc-recv.c:1907 #, c-format msgid "CTCP %sPING%s received from %s%s\n" msgstr "CTCP %sPING%s obdržen od %s%s\n" -#: src/irc/irc-recv.c:1747 src/irc/irc-recv.c:2311 +#: src/irc/irc-recv.c:1750 src/irc/irc-recv.c:2314 #, c-format msgid "Unknown CTCP %s%s%s received from %s%s" msgstr "Neznámý CTCP %s%s%s obdržen od %s%s" -#: src/irc/irc-recv.c:1860 +#: src/irc/irc-recv.c:1863 #, c-format msgid "CTCP %sVERSION%s received from %s%s" msgstr "CTCP %sVERSION%s obdržen od %s%s" -#: src/irc/irc-recv.c:1927 src/irc/irc-recv.c:1948 src/irc/irc-recv.c:1964 -#: src/irc/irc-recv.c:1980 src/irc/irc-recv.c:2011 src/irc/irc-recv.c:2032 -#: src/irc/irc-recv.c:2048 src/irc/irc-recv.c:2078 src/irc/irc-recv.c:2099 -#: src/irc/irc-recv.c:2115 src/irc/irc-recv.c:2145 src/irc/irc-recv.c:2166 -#: src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2405 src/irc/irc-recv.c:2756 -#: src/irc/irc-recv.c:4155 src/irc/irc-recv.c:4170 src/irc/irc-recv.c:4185 -#: src/irc/irc-recv.c:4200 src/irc/irc-recv.c:4213 src/irc/irc-recv.c:4278 -#: src/irc/irc-recv.c:4292 src/irc/irc-recv.c:4526 src/irc/irc-recv.c:4584 -#: src/irc/irc-recv.c:4722 src/irc/irc-recv.c:4737 src/irc/irc-recv.c:4843 -#: src/irc/irc-recv.c:4857 +#: src/irc/irc-recv.c:1930 src/irc/irc-recv.c:1951 src/irc/irc-recv.c:1967 +#: src/irc/irc-recv.c:1983 src/irc/irc-recv.c:2014 src/irc/irc-recv.c:2035 +#: src/irc/irc-recv.c:2051 src/irc/irc-recv.c:2081 src/irc/irc-recv.c:2102 +#: src/irc/irc-recv.c:2118 src/irc/irc-recv.c:2148 src/irc/irc-recv.c:2169 +#: src/irc/irc-recv.c:2184 src/irc/irc-recv.c:2408 src/irc/irc-recv.c:2759 +#: src/irc/irc-recv.c:4158 src/irc/irc-recv.c:4173 src/irc/irc-recv.c:4188 +#: src/irc/irc-recv.c:4203 src/irc/irc-recv.c:4216 src/irc/irc-recv.c:4281 +#: src/irc/irc-recv.c:4295 src/irc/irc-recv.c:4529 src/irc/irc-recv.c:4587 +#: src/irc/irc-recv.c:4725 src/irc/irc-recv.c:4740 src/irc/irc-recv.c:4846 +#: src/irc/irc-recv.c:4860 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "%s nemohu rozpársovat příkaz \"%s\"\n" -#: src/irc/irc-recv.c:2194 +#: src/irc/irc-recv.c:2197 #, c-format msgid "%s unknown DCC CHAT type received from " msgstr "%s neznámý DCC CHAT typ obdržen od " -#: src/irc/irc-recv.c:2452 +#: src/irc/irc-recv.c:2455 #, c-format msgid "%s%s %s(%s%s%s)%s has quit" msgstr "%s%s %s(%s%s%s)%s skončil" -#: src/irc/irc-recv.c:2583 +#: src/irc/irc-recv.c:2586 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "%s \"%s\" příkaz obdržen bez kanálu\n" -#: src/irc/irc-recv.c:2612 +#: src/irc/irc-recv.c:2615 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "%s%s%s změnil téma pro %s%s%s na:" -#: src/irc/irc-recv.c:2623 +#: src/irc/irc-recv.c:2626 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "%s%s%s zrušil téma pro %s%s\n" -#: src/irc/irc-recv.c:2742 +#: src/irc/irc-recv.c:2745 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "Uživatelský mód %s[%s%s%s/%s%s%s]\n" -#: src/irc/irc-recv.c:2806 +#: src/irc/irc-recv.c:2809 #, c-format msgid "%s%s%s is away: %s\n" msgstr "%s%s%s je pryč: %s\n" -#: src/irc/irc-recv.c:2898 +#: src/irc/irc-recv.c:2901 msgid "Users online: " msgstr "Uživatelů online: " -#: src/irc/irc-recv.c:3274 +#: src/irc/irc-recv.c:3277 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "%s%s %s(%s%s@%s%s)%s byl %s\n" -#: src/irc/irc-recv.c:3395 +#: src/irc/irc-recv.c:3398 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s nečinný: " -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "days" msgstr "dní" -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "day" msgstr "den" -#: src/irc/irc-recv.c:3411 +#: src/irc/irc-recv.c:3414 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, přihlášen v: %s%s" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hours" msgstr "hodin" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hour" msgstr "hodina" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minutes" msgstr "minut" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minute" msgstr "minuta" -#: src/irc/irc-recv.c:3423 +#: src/irc/irc-recv.c:3426 msgid "second" msgstr "sekunda" -#: src/irc/irc-recv.c:3807 +#: src/irc/irc-recv.c:3810 #, c-format msgid "No topic set for %s%s\n" msgstr "Není nastaveno téma pro %s%s\n" -#: src/irc/irc-recv.c:3863 +#: src/irc/irc-recv.c:3866 #, c-format msgid "Topic for %s%s%s is: " msgstr "Téma pro %s%s%s je: " -#: src/irc/irc-recv.c:3887 src/irc/irc-recv.c:3975 src/irc/irc-recv.c:4030 +#: src/irc/irc-recv.c:3890 src/irc/irc-recv.c:3978 src/irc/irc-recv.c:4033 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "%s nemohu identifikovat kanál pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:3937 +#: src/irc/irc-recv.c:3940 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "Téma nastevil %s%s%s, %s" -#: src/irc/irc-recv.c:3957 +#: src/irc/irc-recv.c:3960 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "%s nemohu identofikovat datum/čas pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:3966 src/irc/irc-recv.c:4039 +#: src/irc/irc-recv.c:3969 src/irc/irc-recv.c:4042 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "%s nemohu identifikovat přezdívku pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:4015 +#: src/irc/irc-recv.c:4018 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "%s%s%s pozval %s%s%s na %s%s\n" -#: src/irc/irc-recv.c:4075 +#: src/irc/irc-recv.c:4078 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "Reop kanálu %s%s%s: %s%s\n" -#: src/irc/irc-recv.c:4572 +#: src/irc/irc-recv.c:4575 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "%s nemohu vztvořit přezdívku \"%s\" pro kanál \"%s\"\n" -#: src/irc/irc-recv.c:4630 +#: src/irc/irc-recv.c:4633 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "Přezdívkz %s%s%s: %s[" -#: src/irc/irc-recv.c:4651 +#: src/irc/irc-recv.c:4654 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" "Kanál %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nicks" msgstr "přezdívky" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nick" msgstr "přezdívka" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "ops" msgstr "ops" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "op" msgstr "op" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfops" msgstr "částeční-ops" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfop" msgstr "částečný-op" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voices" msgstr "voices" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voice" msgstr "voice" -#: src/irc/irc-recv.c:4676 +#: src/irc/irc-recv.c:4679 msgid "normal" msgstr "normální" -#: src/irc/irc-recv.c:4777 +#: src/irc/irc-recv.c:4780 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "%s[%s%s%s] %s%s%s zakázal " -#: src/irc/irc-recv.c:4812 +#: src/irc/irc-recv.c:4815 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "%s[%s%s%s] %s%s%s takázaný\n" -#: src/irc/irc-recv.c:4947 +#: src/irc/irc-recv.c:4950 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" "%s: přezdívka \"%s\" je již používaná, zkouším druhou přezdívku \"%s\"\n" -#: src/irc/irc-recv.c:4959 +#: src/irc/irc-recv.c:4962 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" "%s: přezdívka \"%s\" je již používaná, zkouším třetí přezdívku \"%s\"\n" -#: src/irc/irc-recv.c:4971 +#: src/irc/irc-recv.c:4974 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " @@ -1954,7 +1954,7 @@ msgstr "" "%s: všechny deklarované přezdívky jsou již používány, zavírám spojení se " "serverem!\n" -#: src/irc/irc-recv.c:4981 +#: src/irc/irc-recv.c:4984 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -2205,25 +2205,32 @@ msgstr "" "%s plugin %s: nemůžu přidat obsluhovač pro \"%s\" příkaz (nedostatek " "paměti)\n" -#: src/plugins/plugins.c:657 +#: src/plugins/plugins.c:422 +#, fuzzy, c-format +msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n" +msgstr "" +"%s plugin %s: nemůžu přidat obsluhovač pro \"%s\" příkaz (nedostatek " +"paměti)\n" + +#: src/plugins/plugins.c:758 #, c-format msgid "%s unable to load plugin \"%s\": %s\n" msgstr "%s nemůžu načist plugin \"%s\": %s\n" -#: src/plugins/plugins.c:668 +#: src/plugins/plugins.c:769 #, c-format msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n" msgstr "" "%s symbol \"plugin_name\" nebyl v pluginu \"%s\" nalezen, načtení selhalo\n" -#: src/plugins/plugins.c:679 +#: src/plugins/plugins.c:780 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" msgstr "" "%s nemohu načíst plugin \"%s\": plugin se stejným jménem již existuje\n" -#: src/plugins/plugins.c:691 +#: src/plugins/plugins.c:792 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" @@ -2231,7 +2238,7 @@ msgstr "" "%s symbol \"plugin_description\" nebyl v pluginu \"%s\" nalezen, načtení " "selhalo\n" -#: src/plugins/plugins.c:702 +#: src/plugins/plugins.c:803 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" @@ -2239,7 +2246,7 @@ msgstr "" "%s symbol \"plugin_version\" nebyl v pluginu \"%s\" nalezen, načtení " "selhalo\n" -#: src/plugins/plugins.c:713 +#: src/plugins/plugins.c:814 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " @@ -2248,32 +2255,32 @@ msgstr "" "%s funkce \"weechat_plugin_init\" nebyla v pluginu \"%s\" nalezena, načtení " "selhalo\n" -#: src/plugins/plugins.c:776 +#: src/plugins/plugins.c:879 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "Inicializuji plugin \"%s\" %s\n" -#: src/plugins/plugins.c:784 +#: src/plugins/plugins.c:887 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "%s nemohu načíst plugin \"%s\"\n" -#: src/plugins/plugins.c:795 +#: src/plugins/plugins.c:898 #, c-format msgid "%s unable to load plugin \"%s\" (not enough memory)\n" msgstr "%s nemohu načíst plugin \"%s\" (nedostatek paměti)\n" -#: src/plugins/plugins.c:803 +#: src/plugins/plugins.c:906 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "Plugin \"%s\" (%s) načten.\n" -#: src/plugins/plugins.c:970 +#: src/plugins/plugins.c:1073 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "Plugin \"%s\" odebrán.\n" -#: src/plugins/plugins.c:976 src/common/command.c:3384 +#: src/plugins/plugins.c:1079 src/common/command.c:3427 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "%s plugin \"%s\" nenalezen\n" @@ -2284,7 +2291,7 @@ msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "%s %s, řádek %d: nevalidní syntax, chybí \"=\"\n" #: src/plugins/plugins-config.c:352 src/common/weeconfig.c:2078 -#: src/common/weeconfig.c:2284 +#: src/common/weeconfig.c:2285 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "%s nemohu vytvořit soubor \"%s\"\n" @@ -2309,316 +2316,316 @@ msgstr "" "tento soubor při aktualizaci nastavení.\n" "#\n" -#: src/plugins/plugins-interface.c:360 +#: src/plugins/plugins-interface.c:376 #, c-format msgid "%s server/channel (%s/%s) not found for plugin exec command\n" msgstr "%s server/kanál (%s/%s) nenaleyen pro exec příkaz pluginu\n" -#: src/gui/curses/gui-input.c:353 +#: src/gui/curses/gui-input.c:386 #, c-format msgid "Day changed to %s\n" msgstr "Změnil se den na %s\n" -#: src/gui/curses/gui-input.c:458 +#: src/gui/curses/gui-input.c:491 #, c-format msgid "%s lag is high, disconnecting from server...\n" msgstr "%s zpoždění je veliké, odpojuji se od serveru...\n" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "bytes" msgstr "bajtů" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Kb" msgstr "Kb" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Mb" msgstr "Mb" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Gb" msgstr "Gb" -#: src/gui/curses/gui-display.c:1603 +#: src/gui/curses/gui-display.c:1644 msgid "ETA" msgstr "ETA" -#: src/gui/curses/gui-display.c:1965 +#: src/gui/curses/gui-display.c:2006 msgid "" msgstr "" -#: src/gui/curses/gui-display.c:1977 +#: src/gui/curses/gui-display.c:2018 msgid "(away)" msgstr "(pryč)" -#: src/gui/curses/gui-display.c:2111 +#: src/gui/curses/gui-display.c:2152 msgid "[not connected] " msgstr "[nepřipojen] " -#: src/gui/curses/gui-display.c:2117 +#: src/gui/curses/gui-display.c:2158 msgid " " msgstr "" -#: src/gui/curses/gui-display.c:2129 +#: src/gui/curses/gui-display.c:2170 msgid "Act: " msgstr "Aktivní: " -#: src/gui/curses/gui-display.c:2210 +#: src/gui/curses/gui-display.c:2251 msgid "RAW_IRC" msgstr "" -#: src/gui/curses/gui-display.c:2231 +#: src/gui/curses/gui-display.c:2272 #, c-format msgid "Lag: %.1f" msgstr "Zpoždění: %.1f" -#: src/gui/curses/gui-display.c:2247 +#: src/gui/curses/gui-display.c:2288 msgid "-MORE-" msgstr "-VÍCE-" -#: src/gui/curses/gui-display.c:2506 +#: src/gui/curses/gui-display.c:2587 msgid " [A] Accept" msgstr " [A] Akceptovat" -#: src/gui/curses/gui-display.c:2507 src/gui/curses/gui-display.c:2511 +#: src/gui/curses/gui-display.c:2588 src/gui/curses/gui-display.c:2592 msgid " [C] Cancel" msgstr " [C] Storno" -#: src/gui/curses/gui-display.c:2516 +#: src/gui/curses/gui-display.c:2597 msgid " [R] Remove" msgstr " [R] Odebrat" -#: src/gui/curses/gui-display.c:2520 +#: src/gui/curses/gui-display.c:2601 msgid " [P] Purge old DCC" msgstr " [P] Pročistit staré DCC" -#: src/gui/curses/gui-display.c:2521 +#: src/gui/curses/gui-display.c:2602 msgid " [Q] Close DCC view" msgstr " [Q] Zavřít DCC pohled" -#: src/gui/curses/gui-display.c:2529 +#: src/gui/curses/gui-display.c:2610 msgid " [Q] Close raw data view" msgstr "" -#: src/gui/gtk/gui-display.c:2263 +#: src/gui/gtk/gui-display.c:2276 msgid "server" msgstr "server" -#: src/gui/gui-common.c:770 +#: src/gui/gui-common.c:777 msgid "Not enough memory for new line\n" msgstr "Nedostatek paměti pro nový řádek\n" -#: src/gui/gui-common.c:1139 +#: src/gui/gui-common.c:1146 msgid "Not enough memory for infobar message\n" msgstr "Nedostatek paměti pro infobar zprávu\n" -#: src/gui/gui-keyboard.c:45 +#: src/gui/gui-keyboard.c:49 msgid "terminate line" msgstr "uknočit řádek" -#: src/gui/gui-keyboard.c:47 +#: src/gui/gui-keyboard.c:51 msgid "complete word" msgstr "dokončit slovo" -#: src/gui/gui-keyboard.c:49 +#: src/gui/gui-keyboard.c:53 msgid "delete previous char" msgstr "smazat předchozí znak" -#: src/gui/gui-keyboard.c:51 +#: src/gui/gui-keyboard.c:55 msgid "delete next char" msgstr "smazat další zank" -#: src/gui/gui-keyboard.c:53 +#: src/gui/gui-keyboard.c:57 msgid "delete until end of line" msgstr "smazat do konce řádku" -#: src/gui/gui-keyboard.c:55 +#: src/gui/gui-keyboard.c:59 msgid "delete until beginning of line" msgstr "smazat do začátku řádku" -#: src/gui/gui-keyboard.c:57 +#: src/gui/gui-keyboard.c:61 msgid "delete entire line" msgstr "smazat celý řádek" -#: src/gui/gui-keyboard.c:59 +#: src/gui/gui-keyboard.c:63 msgid "delete previous word" msgstr "smazat předchozí slovo" -#: src/gui/gui-keyboard.c:61 +#: src/gui/gui-keyboard.c:65 msgid "delete next word" msgstr "smazat další slovo" -#: src/gui/gui-keyboard.c:63 +#: src/gui/gui-keyboard.c:67 msgid "paste current clipboard content" msgstr "vložit aktuální obsah schránky" -#: src/gui/gui-keyboard.c:65 +#: src/gui/gui-keyboard.c:69 msgid "transpose chars" msgstr "přesunout znaky" -#: src/gui/gui-keyboard.c:67 +#: src/gui/gui-keyboard.c:71 msgid "go to beginning of line" msgstr "jdi na začátek řádky" -#: src/gui/gui-keyboard.c:69 +#: src/gui/gui-keyboard.c:73 msgid "go to end of line" msgstr "jdi na konec řádky" -#: src/gui/gui-keyboard.c:71 +#: src/gui/gui-keyboard.c:75 msgid "move one char left" msgstr "posuň jeden znak vlevo" -#: src/gui/gui-keyboard.c:73 +#: src/gui/gui-keyboard.c:77 msgid "move to previous word" msgstr "posuň na předchozí slovo" -#: src/gui/gui-keyboard.c:75 +#: src/gui/gui-keyboard.c:79 msgid "move one char right" msgstr "posuň jeden znak vpravo" -#: src/gui/gui-keyboard.c:77 +#: src/gui/gui-keyboard.c:81 msgid "move to next word" msgstr "posuň na další slovo" -#: src/gui/gui-keyboard.c:79 +#: src/gui/gui-keyboard.c:83 msgid "call previous command in history" msgstr "zavolej předchozí příkaz v historii" -#: src/gui/gui-keyboard.c:81 +#: src/gui/gui-keyboard.c:85 msgid "call previous command in global history" msgstr "zavolej předchozí příkaz v globální historii" -#: src/gui/gui-keyboard.c:83 +#: src/gui/gui-keyboard.c:87 msgid "call next command in history" msgstr "zavolej další příkaz v historii" -#: src/gui/gui-keyboard.c:85 +#: src/gui/gui-keyboard.c:89 msgid "call next command in global history" msgstr "zavolej další příkaz v globální historii" -#: src/gui/gui-keyboard.c:87 +#: src/gui/gui-keyboard.c:91 msgid "scroll one page up" msgstr "posuň o stránku nahoru" -#: src/gui/gui-keyboard.c:89 +#: src/gui/gui-keyboard.c:93 msgid "scroll one page down" msgstr "posuň o stránku dolů" -#: src/gui/gui-keyboard.c:91 +#: src/gui/gui-keyboard.c:95 msgid "scroll a few lines up" msgstr "posuň o několik řádek nahoru" -#: src/gui/gui-keyboard.c:93 +#: src/gui/gui-keyboard.c:97 msgid "scroll a few lines down" msgstr "posuň o několik řádek dolů" -#: src/gui/gui-keyboard.c:95 +#: src/gui/gui-keyboard.c:99 #, fuzzy msgid "scroll to top of buffer" msgstr "přesunout na další zvýraznění v bufferu" -#: src/gui/gui-keyboard.c:97 +#: src/gui/gui-keyboard.c:101 #, fuzzy msgid "scroll to bottom of buffer" msgstr "přesunout na další zvýraznění v bufferu" -#: src/gui/gui-keyboard.c:99 +#: src/gui/gui-keyboard.c:103 msgid "display beginning of nicklist" msgstr "zobrazit začátek seznam přezdívek" -#: src/gui/gui-keyboard.c:101 +#: src/gui/gui-keyboard.c:105 msgid "display end of nicklist" msgstr "zobrazit konec seznamu přezdívek" -#: src/gui/gui-keyboard.c:103 +#: src/gui/gui-keyboard.c:107 msgid "scroll nicklist one page up" msgstr "posuň seznam přezdívek o stránku nahoru" -#: src/gui/gui-keyboard.c:105 +#: src/gui/gui-keyboard.c:109 msgid "scroll nicklist one page down" msgstr "posuň seznam přezdívek o stránku dolů" -#: src/gui/gui-keyboard.c:107 +#: src/gui/gui-keyboard.c:111 msgid "jump to buffer with activity" msgstr "skoč na buffer s aktivitou" -#: src/gui/gui-keyboard.c:109 +#: src/gui/gui-keyboard.c:113 msgid "jump to DCC buffer" msgstr "skoč na DCC buffer" -#: src/gui/gui-keyboard.c:111 +#: src/gui/gui-keyboard.c:115 msgid "jump to raw IRC data buffer" msgstr "" -#: src/gui/gui-keyboard.c:113 +#: src/gui/gui-keyboard.c:117 msgid "jump to last buffer" msgstr "skoč na poslední buffer" -#: src/gui/gui-keyboard.c:115 +#: src/gui/gui-keyboard.c:119 msgid "jump to server buffer" msgstr "skoč na buffer serveru" -#: src/gui/gui-keyboard.c:117 +#: src/gui/gui-keyboard.c:121 msgid "jump to next server" msgstr "skoč na další server" -#: src/gui/gui-keyboard.c:119 +#: src/gui/gui-keyboard.c:123 msgid "switch active server on servers buffer" msgstr "přepnout aktivní server na buffer serverů" -#: src/gui/gui-keyboard.c:121 +#: src/gui/gui-keyboard.c:125 msgid "scroll to previous highlight in buffer" msgstr "přesunout na předchozí zvýraznění v bufferu" -#: src/gui/gui-keyboard.c:123 +#: src/gui/gui-keyboard.c:127 msgid "scroll to next highlight in buffer" msgstr "přesunout na další zvýraznění v bufferu" -#: src/gui/gui-keyboard.c:125 +#: src/gui/gui-keyboard.c:129 msgid "scroll to first unread line in buffer" msgstr "přesunout na první nepřečtenout řádku v bufferu" -#: src/gui/gui-keyboard.c:127 +#: src/gui/gui-keyboard.c:131 msgid "clear hotlist" msgstr "vyčisti hotlist" -#: src/gui/gui-keyboard.c:129 +#: src/gui/gui-keyboard.c:133 msgid "clear infobar" msgstr "vyčisti infobar" -#: src/gui/gui-keyboard.c:131 +#: src/gui/gui-keyboard.c:135 msgid "refresh screen" msgstr "obnov obrazovku" -#: src/gui/gui-keyboard.c:133 +#: src/gui/gui-keyboard.c:137 msgid "grab a key" msgstr "zachytit klávesu" -#: src/gui/gui-keyboard.c:444 src/common/command.c:2450 +#: src/gui/gui-keyboard.c:448 src/common/command.c:2453 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s nemohu napojit kalávesu \"%s\"\n" -#: src/gui/gui-keyboard.c:455 +#: src/gui/gui-keyboard.c:459 #, c-format msgid "%s unable to bind key \"%s\" (invalid function name: \"%s\")\n" msgstr "%s nemohu napojit kalávesu \"%s\" (nevalidní jméno funkce: \"%s\")\n" -#: src/gui/gui-keyboard.c:468 +#: src/gui/gui-keyboard.c:472 #, c-format msgid "%s not enough memory for key binding\n" msgstr "%s nedostatek paměti pro klávesovou zkratku\n" -#: src/common/command.c:45 +#: src/common/command.c:48 msgid "create an alias for a command" msgstr "vytvoří alias pro příkaz" -#: src/common/command.c:46 +#: src/common/command.c:49 msgid "[alias_name [command [arguments]]" msgstr "[jméno_aliasu [příkaz [argumenty]]" -#: src/common/command.c:47 +#: src/common/command.c:50 msgid "" "alias_name: name of alias\n" " command: command name (WeeChat or IRC command, without first '/')\n" @@ -2628,16 +2635,16 @@ msgstr "" " příkaz: jméno příkazu (WeeChat nebo IRC příkaz, bez prvního '/')\n" " argumenty: argumenty příkazu" -#: src/common/command.c:52 +#: src/common/command.c:55 msgid "manage buffers" msgstr "řídit buffery" -#: src/common/command.c:53 +#: src/common/command.c:56 #, fuzzy msgid "[action [args] | number | [[server] [channel]]]" msgstr "[akce | číslo | [[server] [kanál]]]" -#: src/common/command.c:54 +#: src/common/command.c:57 #, fuzzy msgid "" " action: action to do:\n" @@ -2661,32 +2668,32 @@ msgstr "" " kanál: skočit na bufer podle jména serveru a/nebo kanálu\n" " číslo: skočí na buffer, podle čísla" -#: src/common/command.c:63 +#: src/common/command.c:66 msgid "" "launch WeeChat/IRC builtin command (do not look at plugins handlers or " "aliases)" msgstr "" -#: src/common/command.c:64 +#: src/common/command.c:67 #, fuzzy msgid "command" msgstr "[příkaz]" -#: src/common/command.c:65 +#: src/common/command.c:68 msgid "" "command: command to execute (a '/' is automatically added if not found at " "beginning of command)\n" msgstr "" -#: src/common/command.c:67 +#: src/common/command.c:70 msgid "change charset for server or channel" msgstr "změní znakovou sadu pro server" -#: src/common/command.c:68 +#: src/common/command.c:71 msgid "[(decode_iso | decode_utf | encode) charset]" msgstr "[(decode_iso | decode_utf | encode) charset]" -#: src/common/command.c:69 +#: src/common/command.c:72 msgid "" "decode_iso: charset used for decoding ISO\n" "decode_utf: charset used for decoding UTF\n" @@ -2698,47 +2705,47 @@ msgstr "" " encode: znaková sada pro kódování zpráv\n" " charset: znaková sada pro použití (např.: ISO-8859-15, UTF-8,..)" -#: src/common/command.c:74 +#: src/common/command.c:77 msgid "clear window(s)" msgstr "vyčistí okno/okna" -#: src/common/command.c:75 +#: src/common/command.c:78 msgid "[-all]" msgstr "[-all]" -#: src/common/command.c:76 +#: src/common/command.c:79 msgid "-all: clear all windows" msgstr "-all: vyčistí všechna okna" -#: src/common/command.c:78 +#: src/common/command.c:81 msgid "connect to a server" msgstr "připojit na server" -#: src/common/command.c:79 src/common/command.c:83 +#: src/common/command.c:82 src/common/command.c:86 msgid "[servername]" msgstr "[jméno_serveru]" -#: src/common/command.c:80 +#: src/common/command.c:83 msgid "servername: server name to connect" msgstr "jméno_serveru: jméno serveru pro přípojení" -#: src/common/command.c:82 +#: src/common/command.c:85 msgid "disconnect from a server" msgstr "odpojit ze serveru" -#: src/common/command.c:84 +#: src/common/command.c:87 msgid "servername: server name to disconnect" msgstr "jméno_serveru: jméno serveru pro odpojení" -#: src/common/command.c:86 +#: src/common/command.c:89 msgid "print debug messages" msgstr "vypsat debug zprávy" -#: src/common/command.c:87 +#: src/common/command.c:90 msgid "dump | windows" msgstr "dump | windows" -#: src/common/command.c:88 +#: src/common/command.c:91 msgid "" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" @@ -2748,27 +2755,27 @@ msgstr "" "Weechat havaruje)\n" "windows: zobrazit strom oken" -#: src/common/command.c:91 +#: src/common/command.c:94 msgid "display help about commands" msgstr "zobrazí nápovědu k příkazům" -#: src/common/command.c:92 +#: src/common/command.c:95 msgid "[command]" msgstr "[příkaz]" -#: src/common/command.c:93 +#: src/common/command.c:96 msgid "command: name of a WeeChat or IRC command" msgstr "příkaz: jméno WeeChat nebo IRC příkazu" -#: src/common/command.c:95 +#: src/common/command.c:98 msgid "show buffer command history" msgstr "zobrazit historii příkazů bufferu" -#: src/common/command.c:96 +#: src/common/command.c:99 msgid "[clear | value]" msgstr "[clear | value]" -#: src/common/command.c:97 +#: src/common/command.c:100 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2776,15 +2783,15 @@ msgstr "" "clear: vyčistit historii\n" "value: číslo z položek historie kterou ukazat" -#: src/common/command.c:100 +#: src/common/command.c:103 msgid "ignore IRC messages and/or hosts" msgstr "ignoruje IRC příkaz a/nebo hosta" -#: src/common/command.c:101 +#: src/common/command.c:104 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[maska [[typ | příkaz] [kanál [server]]]]" -#: src/common/command.c:102 +#: src/common/command.c:105 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2804,15 +2811,15 @@ msgstr "" "Pro každý argument, znamená '*' vše.\n" "Bez arumentů vypíše příkaz /ignore seznam všech definovaných ignorování." -#: src/common/command.c:111 +#: src/common/command.c:114 msgid "bind/unbind keys" msgstr "napojit/odpojit klávesy" -#: src/common/command.c:112 +#: src/common/command.c:115 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "[klávesa funkce/příkaz] [unbind klávesa] [functions] [reset -yes]" -#: src/common/command.c:113 +#: src/common/command.c:116 msgid "" " key: bind this key to an internal function or a command (beginning by " "\"/\")\n" @@ -2827,15 +2834,15 @@ msgstr "" " reset: obnoví klávesy na výchozí hodnoty a smaže uživatlské zkratky " "(používejte opatrně)" -#: src/common/command.c:120 +#: src/common/command.c:123 msgid "list/load/unload plugins" msgstr "seznam/načíst/odebrat pluginy" -#: src/common/command.c:121 +#: src/common/command.c:124 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[load jméno_souboru] | [autoload] | [reload] | [unload]" -#: src/common/command.c:122 +#: src/common/command.c:125 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2845,11 +2852,11 @@ msgstr "" "\n" "Příkaz /plugin bez argumentů vypíše seznam všech načtených pluginů." -#: src/common/command.c:125 +#: src/common/command.c:128 msgid "list, add or remove servers" msgstr "vypíše, přídá nebo odebere servery" -#: src/common/command.c:126 +#: src/common/command.c:129 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2861,7 +2868,7 @@ msgstr "" "uživatelské_jméno] [-realname pravé_jméno] [-command příkaz] [-autojoin kanál" "[,kanál]] ] | [del jméno_serveru]" -#: src/common/command.c:131 +#: src/common/command.c:134 msgid "" "servername: server name, for internal and display use\n" " hostname: name or IP address of server\n" @@ -2887,28 +2894,28 @@ msgstr "" "uživatelské_jméno: uživatelské jméno\n" " pravé_jméno: pravé jméno uživatele" -#: src/common/command.c:143 +#: src/common/command.c:146 msgid "save config to disk" msgstr "uloží nastavení na disk" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "[file]" msgstr "[soubor]" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "file: filename for writing config" msgstr "soubor: jméno souboru pro zapsání" -#: src/common/command.c:146 +#: src/common/command.c:149 #, fuzzy msgid "set config options" msgstr "nastaví konfigurační parametry" -#: src/common/command.c:147 src/common/command.c:155 +#: src/common/command.c:150 src/common/command.c:158 msgid "[option [ = value]]" msgstr "[volba [ = hodnota]]" -#: src/common/command.c:148 +#: src/common/command.c:151 #, fuzzy msgid "" "option: name of an option (if name is full and no value is given, then help " @@ -2922,12 +2929,12 @@ msgstr "" "zobrazena nápověda pro volby)\n" "hodnota: hodnota volby" -#: src/common/command.c:154 +#: src/common/command.c:157 #, fuzzy msgid "set plugin config options" msgstr "nastaví konfigurační parametry" -#: src/common/command.c:156 +#: src/common/command.c:159 msgid "" "option: name of a plugin option\n" " value: value for option\n" @@ -2935,27 +2942,27 @@ msgid "" "Option is format: plugin.option, example: perl.myscript.item1" msgstr "" -#: src/common/command.c:160 +#: src/common/command.c:163 msgid "remove an alias" msgstr "odebere alias" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name" msgstr "jméno_aliasu" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name: name of alias to remove" msgstr "jméno_aliasu: jméno aliasu pro odebrání" -#: src/common/command.c:163 +#: src/common/command.c:166 msgid "unignore IRC messages and/or hosts" msgstr "zruší ignorování IRC zprávy a/nebo hosta" -#: src/common/command.c:164 +#: src/common/command.c:167 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[číslo | [maska [[typ | příkaz] [kanál [server]]]]]" -#: src/common/command.c:165 +#: src/common/command.c:168 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2978,11 +2985,11 @@ msgstr "" "Pro každý argument znamená '*' všechno.\n" "Bez argunetů, vypíše příkaz /unignore seznam definovaných ignorací." -#: src/common/command.c:175 +#: src/common/command.c:178 msgid "upgrade WeeChat without disconnecting from servers" msgstr "aktualizovat WeeChat bez odpojení od serveru" -#: src/common/command.c:177 +#: src/common/command.c:180 msgid "" "This command run again WeeChat binary, so it should have been compiled " "installed with a package manager before running this command." @@ -2990,23 +2997,23 @@ msgstr "" "Tento příkaz znovu spustí binární soubor WeeChat, je třeba mít WeeChat " "předem zkompilovaný a nainstalovaný pomocí balíčkovacího systému." -#: src/common/command.c:180 +#: src/common/command.c:183 msgid "show WeeChat uptime" msgstr "zobrazit jak dlouho WeeChat běží" -#: src/common/command.c:181 +#: src/common/command.c:184 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:182 +#: src/common/command.c:185 msgid "-o: send uptime on current channel as an IRC message" msgstr "-o: poslat čas běhu na aktuální kanál jako IRC zprávu" -#: src/common/command.c:184 +#: src/common/command.c:187 msgid "manage windows" msgstr "spravuje okna" -#: src/common/command.c:185 +#: src/common/command.c:188 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" @@ -3014,7 +3021,7 @@ msgstr "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" -#: src/common/command.c:187 +#: src/common/command.c:190 #, c-format msgid "" " list: list opened windows (no parameter implies this list)\n" @@ -3051,23 +3058,23 @@ msgstr "" "spočítána s aktuálním oknem jako velikost reference. Např. 25 znamená " "vytvořít nové okno s velikostí = aktuální_velikost / 4" -#: src/common/command.c:384 src/common/command.c:738 +#: src/common/command.c:387 src/common/command.c:741 #, c-format msgid "%s circular reference when calling alias \"/%s\"\n" msgstr "" -#: src/common/command.c:718 src/common/command.c:854 src/common/command.c:925 +#: src/common/command.c:721 src/common/command.c:857 src/common/command.c:928 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s příkaz \"%s\" selhal\n" -#: src/common/command.c:820 +#: src/common/command.c:823 #, c-format msgid "%s wrong argument count for %s command \"%s\" (expected: %d arg%s)\n" msgstr "" "%s špatný počet argumentů pro %s příkaz \"%s\" (očekáváno: %d argumentů%s)\n" -#: src/common/command.c:832 +#: src/common/command.c:835 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -3076,13 +3083,13 @@ msgstr "" "%s špatyný počet argumentů pro %s příkaz \"%s\" (očekáváno: mezi %d a %d " "argumenty%s)\n" -#: src/common/command.c:881 +#: src/common/command.c:884 #, c-format msgid "%s wrong argument count for IRC command \"%s\" (expected: %d arg%s)\n" msgstr "" "%s chybný počet argumentů pro IRC příkaz \"%s\" (očekáváno: %d argumentů%s)\n" -#: src/common/command.c:893 +#: src/common/command.c:896 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -3091,324 +3098,354 @@ msgstr "" "%s špatný počet argumentů pro IRC příkaz \"%s\" (očekáváno: mezi %d a %d " "argumenty%s)\n" -#: src/common/command.c:908 +#: src/common/command.c:911 #, c-format msgid "%s command \"%s\" needs a server connection!\n" msgstr "%s příkaz \"%s\" potřebuje připojení na server!\n" -#: src/common/command.c:938 +#: src/common/command.c:941 #, c-format msgid "%s unknown command \"%s\" (type /help for help)\n" msgstr "%s neznámý příkaz \"%s\" (zadejte /help pro nápovědu)\n" -#: src/common/command.c:1083 +#: src/common/command.c:1086 msgid "This window is not a channel!\n" msgstr "Tohe není okno kanálu!\n" -#: src/common/command.c:1116 src/common/command.c:1153 -#: src/common/command.c:1288 +#: src/common/command.c:1119 src/common/command.c:1156 +#: src/common/command.c:1291 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s chybí argumenty pro příkaz \"%s\"\n" -#: src/common/command.c:1125 +#: src/common/command.c:1128 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" vytvořen\n" -#: src/common/command.c:1131 +#: src/common/command.c:1134 #, c-format msgid "Failed to create alias \"%s\" => \"%s\" (not enough memory)\n" msgstr "Selhalo vytvoření aliasu \"%s\" => \"%s\" (nedostatek paměti)\n" -#: src/common/command.c:1143 src/common/command.c:1164 +#: src/common/command.c:1146 src/common/command.c:1167 msgid "List of aliases:\n" msgstr "Seznam pro aliasy:\n" -#: src/common/command.c:1178 +#: src/common/command.c:1181 msgid "No alias defined.\n" msgstr "Žádné aliasy nejsou definovány.\n" -#: src/common/command.c:1197 +#: src/common/command.c:1200 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServer: %s%s\n" -#: src/common/command.c:1202 +#: src/common/command.c:1205 #, c-format msgid "%snot connected\n" msgstr "%snepřipojen\n" -#: src/common/command.c:1206 +#: src/common/command.c:1209 #, c-format msgid "%sChannel: %s%s %s(server: %s%s%s)\n" msgstr "%sKanál: %s%s %s(server: %s%s%s)\n" -#: src/common/command.c:1215 +#: src/common/command.c:1218 #, c-format msgid "%sPrivate with: %s%s %s(server: %s%s%s)\n" msgstr "%sSoukromý s: %s%s %s(server: %s%s%s)\n" -#: src/common/command.c:1224 src/common/command.c:1236 +#: src/common/command.c:1227 src/common/command.c:1239 #, c-format msgid "%sunknown\n" msgstr "%sneznámý\n" -#: src/common/command.c:1232 +#: src/common/command.c:1235 #, c-format msgid "%sraw IRC data\n" msgstr "" -#: src/common/command.c:1267 +#: src/common/command.c:1270 msgid "Opened buffers:\n" msgstr "Otevřené buffery:\n" -#: src/common/command.c:1312 +#: src/common/command.c:1315 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s nekorektní číslo bufferu\n" -#: src/common/command.c:1329 +#: src/common/command.c:1332 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s nemohu zavřít jediný buffer\n" -#: src/common/command.c:1340 +#: src/common/command.c:1343 #, c-format msgid "%s can not close server buffer while channels are opened\n" msgstr "%s nemohu zavřít buffer serveru dokud jsou otevřeny kanály\n" -#: src/common/command.c:1398 +#: src/common/command.c:1401 msgid "Notify levels: " msgstr "Level upozornění: " -#: src/common/command.c:1404 +#: src/common/command.c:1407 msgid "Raw IRC data" msgstr "" -#: src/common/command.c:1428 src/common/command.c:1478 +#: src/common/command.c:1431 src/common/command.c:1481 #, c-format msgid "%s incorrect notify level (must be between %d and %d)\n" msgstr "%s nekorektní level upozornění (musí být mezi %d a %d)\n" -#: src/common/command.c:1438 +#: src/common/command.c:1441 #, c-format msgid "%s incorrect buffer for notify (must be channel or private)\n" msgstr "%s nekorektní buffer pro upozornění (musí být kanál nebo soukromý)\n" -#: src/common/command.c:1448 +#: src/common/command.c:1451 #, c-format msgid "New notify level for %s%s%s: %s%d %s" msgstr "Nový level upozornění %s%s%s: %s%d %s" -#: src/common/command.c:1458 +#: src/common/command.c:1461 msgid "(hotlist: never)\n" msgstr "(hotlist: nikdy)\n" -#: src/common/command.c:1461 +#: src/common/command.c:1464 msgid "(hotlist: highlights)\n" msgstr "(hotlist: zvýraznění)\n" -#: src/common/command.c:1464 +#: src/common/command.c:1467 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: zvýraznění + zprávy)\n" -#: src/common/command.c:1467 +#: src/common/command.c:1470 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "(hotlist: zvýrazění + zprávy + připojení/odpojení (vše))\n" -#: src/common/command.c:1598 +#: src/common/command.c:1601 #, c-format msgid "Charsets for server %s%s%s: " msgstr "Znaková sada pro server %s%s%s: " -#: src/common/command.c:1606 +#: src/common/command.c:1609 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "Znaková sada pro kanál %s%s%s: " -#: src/common/command.c:1614 +#: src/common/command.c:1617 #, c-format msgid "Charsets for private %s%s%s: " msgstr "Znaková sada pro soukromé %s%s%s: " -#: src/common/command.c:1642 src/common/command.c:1672 -#: src/common/command.c:1702 +#: src/common/command.c:1645 src/common/command.c:1675 +#: src/common/command.c:1705 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr " (zděděno: \"%s%s%s\")" -#: src/common/command.c:1771 src/common/command.c:1799 -#: src/common/command.c:1941 src/common/command.c:2569 -#: src/common/command.c:3833 src/common/command.c:3876 +#: src/common/command.c:1774 src/common/command.c:1802 +#: src/common/command.c:1944 src/common/command.c:2610 +#: src/common/command.c:3876 src/common/command.c:3919 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "%s neznámá volba pro příkaz \"%s\"\n" -#: src/common/command.c:1834 +#: src/common/command.c:1837 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s již vytvořený server \"%s\"!\n" -#: src/common/command.c:1842 +#: src/common/command.c:1845 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "%s zrovna připojuji k serveru \"%s\"!\n" -#: src/common/command.c:1861 src/common/command.c:1990 +#: src/common/command.c:1864 src/common/command.c:1993 #, c-format msgid "%s server not found\n" msgstr "%s server nenalezen\n" -#: src/common/command.c:1974 +#: src/common/command.c:1977 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s nepřipojen k serveru \"%s\"!\n" -#: src/common/command.c:1982 +#: src/common/command.c:1985 msgid "Auto-reconnection is cancelled\n" msgstr "Automatické znovupřipojené je zrušeno\n" -#: src/common/command.c:2018 src/common/weechat.c:489 +#: src/common/command.c:2021 src/common/weechat.c:489 #, c-format msgid "%s internal commands:\n" msgstr "%s vnitřní příkazy:\n" -#: src/common/command.c:2028 src/common/weechat.c:509 +#: src/common/command.c:2031 src/common/weechat.c:509 #, c-format msgid "IRC commands:\n" msgstr "IRC příkazy:\n" -#: src/common/command.c:2042 +#: src/common/command.c:2045 msgid "Plugin commands:\n" msgstr "Příkazy pluginu:\n" -#: src/common/command.c:2158 +#: src/common/command.c:2161 #, c-format msgid "No help available, \"%s\" is an unknown command\n" msgstr "Není dostupná žádná nápověda, \"%s\" je neznámý příkaz\n" -#: src/common/command.c:2227 +#: src/common/command.c:2230 #, c-format msgid "%son %s%s%s/%s%s%s:%s ignoring %s%s%s from %s%s\n" msgstr "%sna %s%s%s/%s%s%s:%s ignoruji %s%s%s od %s%s\n" -#: src/common/command.c:2265 +#: src/common/command.c:2268 msgid "List of ignore:\n" msgstr "Seznam ignorování:\n" -#: src/common/command.c:2282 +#: src/common/command.c:2285 msgid "No ignore defined.\n" msgstr "Žádné ignorování není definováno.\n" -#: src/common/command.c:2308 +#: src/common/command.c:2311 msgid "New ignore:" msgstr "Nové ignorování:" -#: src/common/command.c:2328 +#: src/common/command.c:2331 #, c-format msgid "New key binding: %s" msgstr "Nová klávesová zkratka: %s" -#: src/common/command.c:2367 +#: src/common/command.c:2370 msgid "Key bindings:\n" msgstr "Klávesové zkratky:\n" -#: src/common/command.c:2381 +#: src/common/command.c:2384 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Klávesa \"%s\" odpojena\n" -#: src/common/command.c:2387 +#: src/common/command.c:2390 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "%s nemohu odpojit klávesu \"%s\"\n" -#: src/common/command.c:2395 src/common/weechat.c:541 +#: src/common/command.c:2398 src/common/weechat.c:541 #, c-format msgid "Internal key functions:\n" msgstr "Vnitřní klávesové funkce:\n" -#: src/common/command.c:2415 +#: src/common/command.c:2418 msgid "Default key bindings restored\n" msgstr "Výchozí klávesové zkratky obnoveny\n" -#: src/common/command.c:2421 +#: src/common/command.c:2424 #, c-format msgid "%s \"-yes\" argument is required for keys reset (securuty reason)\n" msgstr "" "%s \"-yes\" argument je požadován pro reset kaláves (bezpečnostní opatření)\n" -#: src/common/command.c:2482 +#: src/common/command.c:2485 msgid "Plugins loaded:\n" msgstr "Načtené pluginy:\n" -#: src/common/command.c:2498 +#: src/common/command.c:2501 msgid " message handlers:\n" msgstr " obsluhovače zpráv:\n" -#: src/common/command.c:2507 +#: src/common/command.c:2510 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:2514 +#: src/common/command.c:2517 msgid " (no message handler)\n" msgstr " (není obsluhovač zprávy)\n" -#: src/common/command.c:2519 +#: src/common/command.c:2522 msgid " command handlers:\n" msgstr " obsluhovače příkazu:\n" -#: src/common/command.c:2540 +#: src/common/command.c:2543 msgid " (no command handler)\n" msgstr " (není obsluhovač příkazu)\n" -#: src/common/command.c:2546 +#: src/common/command.c:2548 +#, fuzzy +msgid " timer handlers:\n" +msgstr " obsluhovače zpráv:\n" + +#: src/common/command.c:2557 +#, fuzzy, c-format +msgid " %d seconds\n" +msgstr " IRC(%s)\n" + +#: src/common/command.c:2564 +#, fuzzy +msgid " (no timer handler)\n" +msgstr " (není obsluhovač zprávy)\n" + +#: src/common/command.c:2569 +#, fuzzy +msgid " keyboard handlers:\n" +msgstr " obsluhovače příkazu:\n" + +#: src/common/command.c:2579 +#, fuzzy +msgid " (no keyboard handler)\n" +msgstr " (není obsluhovač příkazu)\n" + +#: src/common/command.c:2581 +#, c-format +msgid " %d defined\n" +msgstr "" + +#: src/common/command.c:2587 msgid " (no plugin)\n" msgstr " (není plugin)\n" -#: src/common/command.c:2582 src/common/command.c:3462 +#: src/common/command.c:2623 src/common/command.c:3505 #, fuzzy, c-format msgid "" "Command \"%s\" is not available, WeeChat was built without plugins support.\n" msgstr "" "Příkaz \"plugin\" není dostupný, WeeChat byl přeložen bez podpory pluginů.\n" -#: src/common/command.c:2611 +#: src/common/command.c:2654 msgid "Configuration file saved\n" msgstr "Konfigurační soubor uložen\n" -#: src/common/command.c:2616 +#: src/common/command.c:2659 #, c-format msgid "%s failed to save configuration file\n" msgstr "%s selhalo uložení konfiguračního souboru\n" -#: src/common/command.c:2655 +#: src/common/command.c:2698 msgid "No server.\n" msgstr "žádný server.\n" -#: src/common/command.c:2666 +#: src/common/command.c:2709 #, c-format msgid "Server '%s' not found.\n" msgstr "Server '%s' nenalezen.\n" -#: src/common/command.c:2678 +#: src/common/command.c:2721 #, c-format msgid "%s missing servername for \"%s\" command\n" msgstr "%s chybí jméno serveru pro příkaz \"%s\"\n" -#: src/common/command.c:2686 +#: src/common/command.c:2729 #, c-format msgid "%s too much arguments for \"%s\" command, ignoring arguments\n" msgstr "%s příliž mnoho argumentů pro příkaz \"%s\", ignoruji argumety\n" -#: src/common/command.c:2696 +#: src/common/command.c:2739 #, c-format msgid "%s server \"%s\" not found for \"%s\" command\n" msgstr "%s server \"%s\" nenalezen pro příkaz \"%s\"\n" -#: src/common/command.c:2704 +#: src/common/command.c:2747 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3417,198 +3454,198 @@ msgstr "" "%s nemůžete odebrat server \"%s\", protože jste k němu připojent. Skuste " "nejprve /dissconnect %s.\n" -#: src/common/command.c:2724 +#: src/common/command.c:2767 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "Server %s%s%s byl odebrán\n" -#: src/common/command.c:2743 +#: src/common/command.c:2786 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s chybí parametry pro příkaz \"%s\"\n" -#: src/common/command.c:2753 +#: src/common/command.c:2796 #, c-format msgid "%s server \"%s\" already exists, can't create it!\n" msgstr "%s server \"%s\" již existuje, nemohu jej vytvořít!\n" -#: src/common/command.c:2782 src/common/command.c:2810 -#: src/common/command.c:2823 src/common/command.c:2849 +#: src/common/command.c:2825 src/common/command.c:2853 +#: src/common/command.c:2866 src/common/command.c:2892 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s chybí heslo pro parametr \"%s\"\n" -#: src/common/command.c:2795 +#: src/common/command.c:2838 #, c-format msgid "%s missing nick(s) for \"%s\" parameter\n" msgstr "%s chybí přezdívka/přezdívky pro parametr \"%s\"\n" -#: src/common/command.c:2836 +#: src/common/command.c:2879 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s chybí příkaz pro parametr \"%s\"\n" -#: src/common/command.c:2874 +#: src/common/command.c:2917 #, c-format msgid "Server %s%s%s created\n" msgstr "Server %s%s%s vytvořen\n" -#: src/common/command.c:2883 +#: src/common/command.c:2926 #, c-format msgid "%s unable to create server\n" msgstr "%s nemohu vytvořit server\n" -#: src/common/command.c:2943 +#: src/common/command.c:2986 msgid "(unknown)" msgstr "(neznámý)" -#: src/common/command.c:2966 +#: src/common/command.c:3009 #, c-format msgid "%s(password hidden) " msgstr "%s(heslo schováno) " -#: src/common/command.c:3064 +#: src/common/command.c:3107 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s server \"%s\" nenalezen\n" -#: src/common/command.c:3097 src/common/command.c:3145 +#: src/common/command.c:3140 src/common/command.c:3188 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s volba nastavení \"%s\" nenalezena\n" -#: src/common/command.c:3102 src/common/command.c:3137 +#: src/common/command.c:3145 src/common/command.c:3180 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s nekorektní hodnota pro volbu \"%s\"\n" -#: src/common/command.c:3118 +#: src/common/command.c:3161 #, c-format msgid "%s option \"%s\" can not be changed while WeeChat is running\n" msgstr "%s volba \"%s\" nemůže být změněna dokud WeeChat běží\n" -#: src/common/command.c:3228 +#: src/common/command.c:3271 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Nebyla nalezena žádná volba nastavení s \"%s\"\n" -#: src/common/command.c:3231 +#: src/common/command.c:3274 msgid "No config option found\n" msgstr "Nebyla nalezena žádná volba nastavení\n" -#: src/common/command.c:3238 +#: src/common/command.c:3281 #, c-format msgid "%sDetail:\n" msgstr "%sDetail:\n" -#: src/common/command.c:3243 +#: src/common/command.c:3286 msgid " . type boolean (values: 'on' or 'off')\n" msgstr " . typ boolean (hodnota: 'on' nebo 'off')\n" -#: src/common/command.c:3244 src/common/command.c:3267 -#: src/common/command.c:3273 src/common/command.c:3279 +#: src/common/command.c:3287 src/common/command.c:3310 +#: src/common/command.c:3316 src/common/command.c:3322 #: src/common/weechat.c:425 src/common/weechat.c:450 src/common/weechat.c:457 #: src/common/weechat.c:464 #, c-format msgid " . default value: '%s'\n" msgstr " . výchozí hodnota: '%s'\n" -#: src/common/command.c:3249 +#: src/common/command.c:3292 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr " . typ celočíselný (hodnoty: mezi %d a %d)\n" -#: src/common/command.c:3252 src/common/weechat.c:434 +#: src/common/command.c:3295 src/common/weechat.c:434 #, c-format msgid " . default value: %d\n" msgstr " . výchozí hodnota: %d\n" -#: src/common/command.c:3256 +#: src/common/command.c:3299 msgid " . type string (values: " msgstr " . typ řetězec (hodnoty: " -#: src/common/command.c:3269 src/common/command.c:3275 -#: src/common/command.c:3281 src/common/weechat.c:452 src/common/weechat.c:459 +#: src/common/command.c:3312 src/common/command.c:3318 +#: src/common/command.c:3324 src/common/weechat.c:452 src/common/weechat.c:459 #: src/common/weechat.c:466 msgid "empty" msgstr "prázdný" -#: src/common/command.c:3272 +#: src/common/command.c:3315 msgid " . type color (Curses or Gtk color, look at WeeChat doc)\n" msgstr " . typ barva (Curses nebo Gtk barva, viz WeeChat dokumentace)\n" -#: src/common/command.c:3278 +#: src/common/command.c:3321 msgid " . type string (any string)\n" msgstr " . typ řetězec (jakýkoliv řetězec)\n" -#: src/common/command.c:3284 src/common/weechat.c:469 +#: src/common/command.c:3327 src/common/weechat.c:469 #, c-format msgid " . description: %s\n" msgstr " . popis: %s\n" -#: src/common/command.c:3295 +#: src/common/command.c:3338 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "volba/volby nastavení nalezeny s \"%s\"\n" -#: src/common/command.c:3298 +#: src/common/command.c:3341 msgid "config option(s) found\n" msgstr "volba/volby nastavení nalezeny\n" -#: src/common/command.c:3406 +#: src/common/command.c:3449 #, fuzzy, c-format msgid "%s incorrect value for plugin option \"%s\"\n" msgstr "%s nekorektní hodnota pro volbu \"%s\"\n" -#: src/common/command.c:3435 +#: src/common/command.c:3478 #, fuzzy, c-format msgid "No plugin option found with \"%s\"\n" msgstr "Nebyla nalezena žádná volba nastavení s \"%s\"\n" -#: src/common/command.c:3438 +#: src/common/command.c:3481 #, fuzzy msgid "No plugin option found\n" msgstr "Nebyla nalezena žádná volba nastavení\n" -#: src/common/command.c:3448 +#: src/common/command.c:3491 #, fuzzy, c-format msgid "plugin option(s) found with \"%s\"\n" msgstr "volba/volby nastavení nalezeny s \"%s\"\n" -#: src/common/command.c:3451 +#: src/common/command.c:3494 #, fuzzy msgid "plugin option(s) found\n" msgstr "volba/volby nastavení nalezeny\n" -#: src/common/command.c:3489 +#: src/common/command.c:3532 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias nebo příkaz \"%s\" nenalezen\n" -#: src/common/command.c:3499 +#: src/common/command.c:3542 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" odebrán\n" -#: src/common/command.c:3559 +#: src/common/command.c:3602 msgid "ignore were removed.\n" msgstr "ignorování bylo odebráno.\n" -#: src/common/command.c:3561 +#: src/common/command.c:3604 msgid "ignore was removed.\n" msgstr "ignorování bylo odebrán\n" -#: src/common/command.c:3566 +#: src/common/command.c:3609 #, c-format msgid "%s no ignore found\n" msgstr "%s žádné ignorování nenaleyeno\n" -#: src/common/command.c:3600 +#: src/common/command.c:3643 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "%s nemůžu aktualizovat: existují nevyřešená spojení na server\n" -#: src/common/command.c:3610 +#: src/common/command.c:3653 #, c-format msgid "" "%s can't upgrade: connection to at least one SSL server is active (should be " @@ -3617,35 +3654,35 @@ msgstr "" "%s nemohu aktualiyovat: je aktuvní jedno nebo více připojení na SSL server " "(mělo by být opraveno v budoucnosti)\n" -#: src/common/command.c:3626 +#: src/common/command.c:3669 msgid "Upgrading WeeChat...\n" msgstr "Aktualizuji WeeChat...\n" -#: src/common/command.c:3633 +#: src/common/command.c:3676 #, c-format msgid "%s unable to save session in file\n" msgstr "%s nemohu uložit sezení do souboru\n" -#: src/common/command.c:3659 +#: src/common/command.c:3702 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "%s exec selhal (program: \"%s\"), ukončuji WeeChat\n" -#: src/common/command.c:3699 +#: src/common/command.c:3742 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "Čas běhu WeeChat: %d %s %02d:%02d:%02d, spuštěn %s" -#: src/common/command.c:3713 +#: src/common/command.c:3756 #, c-format msgid "WeeChat uptime: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, started on %s%s" msgstr "Čas běhu WeeChat: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, spuštěn %s%s" -#: src/common/command.c:3757 +#: src/common/command.c:3800 msgid "Opened windows:\n" msgstr "Otevřené okna:\n" -#: src/common/command.c:3844 +#: src/common/command.c:3887 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -5432,7 +5469,7 @@ msgstr "%s: vytvářím výchozí konfigurační soubor...\n" msgid "Creating default config file\n" msgstr "Vytvářím výchozí konfigurační soubor\n" -#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2293 +#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2294 #, c-format msgid "" "#\n" @@ -5441,7 +5478,7 @@ msgstr "" "#\n" "# %s konfigurační soubor, vytvořil %s v%s %s" -#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2297 +#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2298 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -5452,7 +5489,7 @@ msgstr "" "tento soubor při ukončení.\n" "#\n" -#: src/common/weeconfig.c:2290 +#: src/common/weeconfig.c:2291 msgid "Saving config to disk\n" msgstr "Ukládám konfiguraci na disk\n" diff --git a/weechat/po/es.po b/weechat/po/es.po index d0c1bee9d..a89b4f2e6 100644 --- a/weechat/po/es.po +++ b/weechat/po/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.9-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2006-03-25 11:52+0100\n" +"POT-Creation-Date: 2006-03-29 20:06+0200\n" "PO-Revision-Date: 2006-03-18 11:45+0100\n" "Last-Translator: Roberto Gonzlez Cardenete \n" "Language-Team: weechat-dev \n" @@ -1411,7 +1411,7 @@ msgstr "inactivo" msgid " (temporary server, will not be saved)" msgstr " (servidor temporal, no ser guardado)" -#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3423 +#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3426 msgid "seconds" msgstr "segundos" @@ -1419,7 +1419,7 @@ msgstr "segundos" msgid "(hidden)" msgstr "(oculto)" -#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4993 +#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4996 msgid "unknown" msgstr "desconocido" @@ -1428,7 +1428,7 @@ msgstr "desconocido" msgid "%s: using hostname \"%s\"\n" msgstr "%s: utilizacin del nombre de mquina local \"%s\"\n" -#: src/irc/irc-send.c:221 src/common/command.c:1036 +#: src/irc/irc-send.c:221 src/common/command.c:1039 #, c-format msgid "%s cannot find nick for sending message\n" msgstr "%s no ha sido posible encontrar el usuario al que enviar el mensaje\n" @@ -1451,8 +1451,8 @@ msgstr "%s el comando \"%s\" no puede ejecutarse en una ventana de servidor\n" #: src/irc/irc-send.c:634 src/irc/irc-send.c:646 src/irc/irc-send.c:664 #: src/irc/irc-send.c:1371 src/irc/irc-send.c:1509 src/irc/irc-send.c:2104 -#: src/common/command.c:1922 src/common/command.c:2435 -#: src/common/command.c:2576 +#: src/common/command.c:1925 src/common/command.c:2438 +#: src/common/command.c:2617 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s nmero de argumentos incorrecto para el comando \"%s\"\n" @@ -1468,7 +1468,7 @@ msgid "%s \"%s\" command can only be executed in a channel or private buffer\n" msgstr "" "%s el comando \"%s\" slo puede ser ejecutado en una ventana de canal\n" -#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:511 +#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:514 #, c-format msgid "%s nick \"%s\" not found for \"%s\" command\n" msgstr "%s usuario \"%s\" no encontrado para el comando \"%s\"\n" @@ -1483,484 +1483,484 @@ msgstr "%s no es posible crear una nueva ventana privada \"%s\"\n" msgid "%s, compiled on %s %s\n" msgstr "%s, compilado en %s %s\n" -#: src/irc/irc-recv.c:371 +#: src/irc/irc-recv.c:374 #, c-format msgid "You have been invited to %s%s%s by %s%s\n" msgstr "Usted ha sido invitado a %s%s%s por %s%s\n" -#: src/irc/irc-recv.c:385 src/irc/irc-recv.c:480 src/irc/irc-recv.c:1103 -#: src/irc/irc-recv.c:1525 src/irc/irc-recv.c:1805 src/irc/irc-recv.c:3795 -#: src/irc/irc-recv.c:3816 src/irc/irc-recv.c:3877 src/irc/irc-recv.c:3948 +#: src/irc/irc-recv.c:388 src/irc/irc-recv.c:483 src/irc/irc-recv.c:1106 +#: src/irc/irc-recv.c:1528 src/irc/irc-recv.c:1808 src/irc/irc-recv.c:3798 +#: src/irc/irc-recv.c:3819 src/irc/irc-recv.c:3880 src/irc/irc-recv.c:3951 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "%s canal \"%s\" no encontrado para el comando \"%s\"\n" -#: src/irc/irc-recv.c:413 +#: src/irc/irc-recv.c:416 #, c-format msgid "%s cannot create new channel \"%s\"\n" msgstr "%s no es posible crear un nuevo canal \"%s\"\n" -#: src/irc/irc-recv.c:426 +#: src/irc/irc-recv.c:429 #, c-format msgid "%s%s %s(%s%s%s)%s has joined %s%s\n" msgstr "%s%s %s(%s%s%s)%s se ha unido %s%s\n" -#: src/irc/irc-recv.c:488 +#: src/irc/irc-recv.c:491 #, c-format msgid "%s%s%s has kicked %s%s%s from %s%s" msgstr "%s%s%s ha pateado a %s%s%s de %s%s" -#: src/irc/irc-recv.c:578 +#: src/irc/irc-recv.c:581 #, c-format msgid "%s%s%s has killed %s%s%s from server" msgstr "%s%s%s ha expulsado a %s%s%s del servidor" -#: src/irc/irc-recv.c:600 +#: src/irc/irc-recv.c:603 #, c-format msgid "%s host \"%s\" not found for \"%s\" command\n" msgstr "%s anfitrin \"%s\" no encontrado para el comando \"%s\"\n" -#: src/irc/irc-recv.c:641 +#: src/irc/irc-recv.c:644 msgid "sets ban on" msgstr "poner baneo en" -#: src/irc/irc-recv.c:642 +#: src/irc/irc-recv.c:645 msgid "removes ban on" msgstr "quita el baneo en" -#: src/irc/irc-recv.c:666 +#: src/irc/irc-recv.c:669 #, fuzzy msgid "sets realname ban on" msgstr "poner baneo en" -#: src/irc/irc-recv.c:667 +#: src/irc/irc-recv.c:670 #, fuzzy msgid "removes realname ban on" msgstr "quita el baneo en" -#: src/irc/irc-recv.c:691 +#: src/irc/irc-recv.c:694 #, fuzzy msgid "sets ban exemtion on" msgstr "pone una excepcin en" -#: src/irc/irc-recv.c:692 +#: src/irc/irc-recv.c:695 #, fuzzy msgid "removes ban exemption on" msgstr "quita una excepcin en" -#: src/irc/irc-recv.c:716 +#: src/irc/irc-recv.c:719 msgid "sets mode +f" msgstr "pone modo +f" -#: src/irc/irc-recv.c:717 +#: src/irc/irc-recv.c:720 msgid "removes mode +f" msgstr "quita modo +f" -#: src/irc/irc-recv.c:741 +#: src/irc/irc-recv.c:744 msgid "gives half channel operator status to" msgstr "da estado de operador de medio canal a" -#: src/irc/irc-recv.c:742 +#: src/irc/irc-recv.c:745 msgid "removes half channel operator status from" msgstr "quita el estado de operador de medio canal a" -#: src/irc/irc-recv.c:769 +#: src/irc/irc-recv.c:772 msgid "sets invite-only channel flag" msgstr "pone el canal en modo slo-por-invitacin" -#: src/irc/irc-recv.c:770 +#: src/irc/irc-recv.c:773 msgid "removes invite-only channel flag" msgstr "quita el indicador de canal slo-por-invitacin" -#: src/irc/irc-recv.c:787 +#: src/irc/irc-recv.c:790 #, fuzzy msgid "sets invite-only exemption on" msgstr "pone una excepcin en" -#: src/irc/irc-recv.c:788 +#: src/irc/irc-recv.c:791 #, fuzzy msgid "removes invite-only exemption on" msgstr "quita una excepcin en" -#: src/irc/irc-recv.c:812 +#: src/irc/irc-recv.c:815 msgid "sets channel key to" msgstr "pone clave de canal en" -#: src/irc/irc-recv.c:813 +#: src/irc/irc-recv.c:816 msgid "removes channel key" msgstr "elimina la clave de canal" -#: src/irc/irc-recv.c:844 +#: src/irc/irc-recv.c:847 msgid "sets the user limit to" msgstr "define el lmite de usuarios en" -#: src/irc/irc-recv.c:845 +#: src/irc/irc-recv.c:848 msgid "removes user limit" msgstr "elimina el lmite de usuarios" -#: src/irc/irc-recv.c:867 +#: src/irc/irc-recv.c:870 msgid "sets moderated channel flag" msgstr "establece la moderacin en el canal" -#: src/irc/irc-recv.c:868 +#: src/irc/irc-recv.c:871 msgid "removes moderated channel flag" msgstr "elimina la moderacin en el canal" -#: src/irc/irc-recv.c:878 +#: src/irc/irc-recv.c:881 msgid "sets messages from channel only flag" msgstr "establece el modo slo mensajes de usuarios del canal" -#: src/irc/irc-recv.c:879 +#: src/irc/irc-recv.c:882 msgid "removes messages from channel only flag" msgstr "autoriza a todos los usuarios a escribir en el canal" -#: src/irc/irc-recv.c:896 +#: src/irc/irc-recv.c:899 msgid "gives channel operator status to" msgstr "dar estado de operador de canal a" -#: src/irc/irc-recv.c:897 +#: src/irc/irc-recv.c:900 msgid "removes channel operator status from" msgstr "eliminar el estado de operador de canal a" -#: src/irc/irc-recv.c:924 +#: src/irc/irc-recv.c:927 msgid "sets private channel flag" msgstr "establece el canal como privado" -#: src/irc/irc-recv.c:925 +#: src/irc/irc-recv.c:928 msgid "removes private channel flag" msgstr "elimina el modo privado para el canal" -#: src/irc/irc-recv.c:942 +#: src/irc/irc-recv.c:945 msgid "sets quiet on" msgstr "pone el modo silencio" -#: src/irc/irc-recv.c:943 +#: src/irc/irc-recv.c:946 msgid "removes quiet on" msgstr "quita el modo silencio" -#: src/irc/irc-recv.c:960 +#: src/irc/irc-recv.c:963 msgid "sets secret channel flag" msgstr "establece el canal como secreto" -#: src/irc/irc-recv.c:961 +#: src/irc/irc-recv.c:964 msgid "removes secret channel flag" msgstr "elimina el modo secreto para el canal" -#: src/irc/irc-recv.c:971 +#: src/irc/irc-recv.c:974 msgid "sets topic protection" msgstr "activa la proteccin de tema" -#: src/irc/irc-recv.c:972 +#: src/irc/irc-recv.c:975 msgid "removes topic protection" msgstr "elimina la proteccin de tema" -#: src/irc/irc-recv.c:989 +#: src/irc/irc-recv.c:992 msgid "gives voice to" msgstr "da voz a" -#: src/irc/irc-recv.c:990 +#: src/irc/irc-recv.c:993 msgid "removes voice from" msgstr "quita la voz a" -#: src/irc/irc-recv.c:1062 src/irc/irc-recv.c:1148 src/irc/irc-recv.c:1604 -#: src/irc/irc-recv.c:2429 +#: src/irc/irc-recv.c:1065 src/irc/irc-recv.c:1151 src/irc/irc-recv.c:1607 +#: src/irc/irc-recv.c:2432 #, c-format msgid "%s \"%s\" command received without host\n" msgstr "%s comando \"%s\" recibido sin host \n" -#: src/irc/irc-recv.c:1072 +#: src/irc/irc-recv.c:1075 #, c-format msgid "%s \"%s\" command received without channel or nickname\n" msgstr "%s comando \"%s\" recibido sin canal o usuario\n" -#: src/irc/irc-recv.c:1114 +#: src/irc/irc-recv.c:1117 #, c-format msgid "%s[%s%s%s/%s%s%s]%s mode changed by %s%s\n" msgstr "modo %s[%s%s%s/%s%s%s]%s cambiado por %s%s\n" -#: src/irc/irc-recv.c:1183 +#: src/irc/irc-recv.c:1186 #, c-format msgid "You are now known as %s%s\n" msgstr "Usted es conocido ahora como %s%s\n" -#: src/irc/irc-recv.c:1187 +#: src/irc/irc-recv.c:1190 #, c-format msgid "%s%s%s is now known as %s%s\n" msgstr "%s%s%s es conocido ahora como %s%s\n" -#: src/irc/irc-recv.c:1255 +#: src/irc/irc-recv.c:1258 #, c-format msgid "%s nickname not found for \"%s\" command\n" msgstr "%s nombre de usuario no encontrado para el comando \"%s\"\n" -#: src/irc/irc-recv.c:1269 +#: src/irc/irc-recv.c:1272 #, c-format msgid "CTCP %sVERSION%s reply from %s%s%s: %s\n" msgstr "CTCP %sVERSION%s respuesta de %s%s%s: %s\n" -#: src/irc/irc-recv.c:1303 +#: src/irc/irc-recv.c:1306 #, c-format msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "CTCP %sPING%s respuesta de %s%s%s: %ld.%ld segundos\n" -#: src/irc/irc-recv.c:1326 src/irc/irc-recv.c:2232 src/irc/irc-recv.c:2344 +#: src/irc/irc-recv.c:1329 src/irc/irc-recv.c:2235 src/irc/irc-recv.c:2347 #, c-format msgid "%s cannot create new private window \"%s\"\n" msgstr "%s no es posible crear una nueva ventana privada \"%s\"\n" -#: src/irc/irc-recv.c:1351 src/irc/irc-recv.c:2369 +#: src/irc/irc-recv.c:1354 src/irc/irc-recv.c:2372 msgid "Private" msgstr "Privado" -#: src/irc/irc-recv.c:1427 +#: src/irc/irc-recv.c:1430 #, c-format msgid "%s \"%s\" command received without host or channel\n" msgstr "%s comando \"%s\" recibido sin host o canal\n" -#: src/irc/irc-recv.c:1455 +#: src/irc/irc-recv.c:1458 #, c-format msgid "%s%s %s(%s%s%s)%s has left %s%s" msgstr "%s%s %s(%s%s%s)%s ha abandonado %s%s" -#: src/irc/irc-recv.c:1654 src/irc/irc-recv.c:1780 src/irc/irc-recv.c:2260 +#: src/irc/irc-recv.c:1657 src/irc/irc-recv.c:1783 src/irc/irc-recv.c:2263 msgid "Channel" msgstr "Canal" -#: src/irc/irc-recv.c:1688 +#: src/irc/irc-recv.c:1691 #, c-format msgid "Received a CTCP %sSOUND%s \"%s\" from %s%s\n" msgstr "Recibido un CTCP %sSOUND%s \"%s\" de %s%s\n" -#: src/irc/irc-recv.c:1718 src/irc/irc-recv.c:1904 +#: src/irc/irc-recv.c:1721 src/irc/irc-recv.c:1907 #, c-format msgid "CTCP %sPING%s received from %s%s\n" msgstr "CTCP %sPING%s recibido de %s%s\n" -#: src/irc/irc-recv.c:1747 src/irc/irc-recv.c:2311 +#: src/irc/irc-recv.c:1750 src/irc/irc-recv.c:2314 #, c-format msgid "Unknown CTCP %s%s%s received from %s%s" msgstr "CTCP desconocido %s%s%s recibido de %s%s" -#: src/irc/irc-recv.c:1860 +#: src/irc/irc-recv.c:1863 #, c-format msgid "CTCP %sVERSION%s received from %s%s" msgstr "CTCP %sVERSION%s recibido de %s%s" -#: src/irc/irc-recv.c:1927 src/irc/irc-recv.c:1948 src/irc/irc-recv.c:1964 -#: src/irc/irc-recv.c:1980 src/irc/irc-recv.c:2011 src/irc/irc-recv.c:2032 -#: src/irc/irc-recv.c:2048 src/irc/irc-recv.c:2078 src/irc/irc-recv.c:2099 -#: src/irc/irc-recv.c:2115 src/irc/irc-recv.c:2145 src/irc/irc-recv.c:2166 -#: src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2405 src/irc/irc-recv.c:2756 -#: src/irc/irc-recv.c:4155 src/irc/irc-recv.c:4170 src/irc/irc-recv.c:4185 -#: src/irc/irc-recv.c:4200 src/irc/irc-recv.c:4213 src/irc/irc-recv.c:4278 -#: src/irc/irc-recv.c:4292 src/irc/irc-recv.c:4526 src/irc/irc-recv.c:4584 -#: src/irc/irc-recv.c:4722 src/irc/irc-recv.c:4737 src/irc/irc-recv.c:4843 -#: src/irc/irc-recv.c:4857 +#: src/irc/irc-recv.c:1930 src/irc/irc-recv.c:1951 src/irc/irc-recv.c:1967 +#: src/irc/irc-recv.c:1983 src/irc/irc-recv.c:2014 src/irc/irc-recv.c:2035 +#: src/irc/irc-recv.c:2051 src/irc/irc-recv.c:2081 src/irc/irc-recv.c:2102 +#: src/irc/irc-recv.c:2118 src/irc/irc-recv.c:2148 src/irc/irc-recv.c:2169 +#: src/irc/irc-recv.c:2184 src/irc/irc-recv.c:2408 src/irc/irc-recv.c:2759 +#: src/irc/irc-recv.c:4158 src/irc/irc-recv.c:4173 src/irc/irc-recv.c:4188 +#: src/irc/irc-recv.c:4203 src/irc/irc-recv.c:4216 src/irc/irc-recv.c:4281 +#: src/irc/irc-recv.c:4295 src/irc/irc-recv.c:4529 src/irc/irc-recv.c:4587 +#: src/irc/irc-recv.c:4725 src/irc/irc-recv.c:4740 src/irc/irc-recv.c:4846 +#: src/irc/irc-recv.c:4860 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "%s no es posible analizar el comando \"%s\"\n" -#: src/irc/irc-recv.c:2194 +#: src/irc/irc-recv.c:2197 #, c-format msgid "%s unknown DCC CHAT type received from " msgstr "%s tipo DCC CHAT desconocido recibido de " -#: src/irc/irc-recv.c:2452 +#: src/irc/irc-recv.c:2455 #, c-format msgid "%s%s %s(%s%s%s)%s has quit" msgstr "%s%s %s(%s%s%s)%s ha salido" -#: src/irc/irc-recv.c:2583 +#: src/irc/irc-recv.c:2586 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "%s comando \"%s\" recibido sin canal\n" -#: src/irc/irc-recv.c:2612 +#: src/irc/irc-recv.c:2615 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "%s%s%s ha cambiado el tema para %s%s%s a:" -#: src/irc/irc-recv.c:2623 +#: src/irc/irc-recv.c:2626 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "%s%s%s ha quitado el tema para %s%s\n" -#: src/irc/irc-recv.c:2742 +#: src/irc/irc-recv.c:2745 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "Modo de usuario %s[%s%s%s/%s%s%s]\n" -#: src/irc/irc-recv.c:2806 +#: src/irc/irc-recv.c:2809 #, c-format msgid "%s%s%s is away: %s\n" msgstr "%s%s%s est ausente: %s\n" -#: src/irc/irc-recv.c:2898 +#: src/irc/irc-recv.c:2901 msgid "Users online: " msgstr "Usuarios conectados: " -#: src/irc/irc-recv.c:3274 +#: src/irc/irc-recv.c:3277 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "%s%s %s(%s%s@%s%s)%s estaba %s\n" -#: src/irc/irc-recv.c:3395 +#: src/irc/irc-recv.c:3398 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s inactividad: " -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "days" msgstr "das" -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "day" msgstr "da" -#: src/irc/irc-recv.c:3411 +#: src/irc/irc-recv.c:3414 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, firm en: %s%s" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hours" msgstr "horas" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hour" msgstr "hora" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minutes" msgstr "minutos" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minute" msgstr "minuto" -#: src/irc/irc-recv.c:3423 +#: src/irc/irc-recv.c:3426 msgid "second" msgstr "segundo" -#: src/irc/irc-recv.c:3807 +#: src/irc/irc-recv.c:3810 #, c-format msgid "No topic set for %s%s\n" msgstr "Sin tema establecido para %s%s\n" -#: src/irc/irc-recv.c:3863 +#: src/irc/irc-recv.c:3866 #, c-format msgid "Topic for %s%s%s is: " msgstr "El tema para %s%s%s es: " -#: src/irc/irc-recv.c:3887 src/irc/irc-recv.c:3975 src/irc/irc-recv.c:4030 +#: src/irc/irc-recv.c:3890 src/irc/irc-recv.c:3978 src/irc/irc-recv.c:4033 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "%s no es posible identificar el canal para el comando \"%s\"\n" -#: src/irc/irc-recv.c:3937 +#: src/irc/irc-recv.c:3940 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "Tema establecido por %s%s%s, %s" -#: src/irc/irc-recv.c:3957 +#: src/irc/irc-recv.c:3960 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "%s no es posible identificar la fecha/hora para el comando \"%s\"\n" -#: src/irc/irc-recv.c:3966 src/irc/irc-recv.c:4039 +#: src/irc/irc-recv.c:3969 src/irc/irc-recv.c:4042 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "" "%s no es posible determinar el nombre de usuario para el comando \"%s\"\n" -#: src/irc/irc-recv.c:4015 +#: src/irc/irc-recv.c:4018 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "%s%s%s ha invitado a %s%s%s en %s%s\n" -#: src/irc/irc-recv.c:4075 +#: src/irc/irc-recv.c:4078 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "reop canal %s%s%s: %s%s\n" -#: src/irc/irc-recv.c:4572 +#: src/irc/irc-recv.c:4575 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "%s no es posible crear el usuario \"%s\" para el canal \"%s\"\n" -#: src/irc/irc-recv.c:4630 +#: src/irc/irc-recv.c:4633 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "Usuarios %s%s%s: %s[" -#: src/irc/irc-recv.c:4651 +#: src/irc/irc-recv.c:4654 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" "Canal %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nicks" msgstr "usuarios" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nick" msgstr "usuario" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "ops" msgstr "operadores" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "op" msgstr "operador" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfops" msgstr "semi-operadores" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfop" msgstr "semi-operador" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voices" msgstr "voces" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voice" msgstr "voz" -#: src/irc/irc-recv.c:4676 +#: src/irc/irc-recv.c:4679 msgid "normal" msgstr "normal" -#: src/irc/irc-recv.c:4777 +#: src/irc/irc-recv.c:4780 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "%s[%s%s%s] %s%s%s baneado por " -#: src/irc/irc-recv.c:4812 +#: src/irc/irc-recv.c:4815 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "%s[%s%s%s] %s%s%s baneado\n" -#: src/irc/irc-recv.c:4947 +#: src/irc/irc-recv.c:4950 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" "%s: el nombre de usuario \"%s\" ya est en uso, probando con el 2 nombre de " "usuario \"%s\"\n" -#: src/irc/irc-recv.c:4959 +#: src/irc/irc-recv.c:4962 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" "%s: el nombre de usuario \"%s\" ya est en uso, probando con el 3 nombre de " "usuario \"%s\"\n" -#: src/irc/irc-recv.c:4971 +#: src/irc/irc-recv.c:4974 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " @@ -1969,7 +1969,7 @@ msgstr "" "%s: todos los nombres de usuario declarados ya estn en uso, cerrando la " "conexin con el servidor!\n" -#: src/irc/irc-recv.c:4981 +#: src/irc/irc-recv.c:4984 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -2225,19 +2225,26 @@ msgstr "" "%s plugin %s: no ha sido posible aadir un manejador para el comando \"%s" "\" (no hay suficiente memoria)\n" -#: src/plugins/plugins.c:657 +#: src/plugins/plugins.c:422 +#, fuzzy, c-format +msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n" +msgstr "" +"%s plugin %s: no ha sido posible aadir un manejador para el comando \"%s" +"\" (no hay suficiente memoria)\n" + +#: src/plugins/plugins.c:758 #, c-format msgid "%s unable to load plugin \"%s\": %s\n" msgstr "%s no ha sido posible cargar el plugin \"%s\": %s\n" -#: src/plugins/plugins.c:668 +#: src/plugins/plugins.c:769 #, c-format msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n" msgstr "" "%s smbolo \"plugin_name\" no encontrado en el plugin \"%s\", fall al " "cargar\n" -#: src/plugins/plugins.c:679 +#: src/plugins/plugins.c:780 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" @@ -2245,7 +2252,7 @@ msgstr "" "%s no ha sido posible cargar el plugin \"%s\": un plugin con el mismo nombre " "ya existe\n" -#: src/plugins/plugins.c:691 +#: src/plugins/plugins.c:792 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" @@ -2253,7 +2260,7 @@ msgstr "" "%s smbolo \"plugin_description\" no encontrado en el plugin \"%s\", fall " "al cargar\n" -#: src/plugins/plugins.c:702 +#: src/plugins/plugins.c:803 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" @@ -2261,7 +2268,7 @@ msgstr "" "%s smbolo \"plugin_version\" no encontrado en el plugin \"%s\", fall al " "cargar\n" -#: src/plugins/plugins.c:713 +#: src/plugins/plugins.c:814 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " @@ -2270,33 +2277,33 @@ msgstr "" "%s funcin \"weechat_plugin_init\" no encontrada en el plugin \"%s\", fall " "al cargar\n" -#: src/plugins/plugins.c:776 +#: src/plugins/plugins.c:879 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "Inicializando plugin \"%s\" %s\n" -#: src/plugins/plugins.c:784 +#: src/plugins/plugins.c:887 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "%s no ha sido posible inicializar el plugin \"%s\"\n" -#: src/plugins/plugins.c:795 +#: src/plugins/plugins.c:898 #, c-format msgid "%s unable to load plugin \"%s\" (not enough memory)\n" msgstr "" "%s no ha sido posible cargar el plugin \"%s\" (no hay suficiente memoria)\n" -#: src/plugins/plugins.c:803 +#: src/plugins/plugins.c:906 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "Plugin \"%s\" (%s) cargado.\n" -#: src/plugins/plugins.c:970 +#: src/plugins/plugins.c:1073 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "Plugin \"%s\" descargado.\n" -#: src/plugins/plugins.c:976 src/common/command.c:3384 +#: src/plugins/plugins.c:1079 src/common/command.c:3427 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "%s plugin \"%s\" no encontrado\n" @@ -2307,7 +2314,7 @@ msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "%s %s, lnea %d: sintaxis invlida, falta \"=\"\n" #: src/plugins/plugins-config.c:352 src/common/weeconfig.c:2078 -#: src/common/weeconfig.c:2284 +#: src/common/weeconfig.c:2285 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "%s no es posible crear el fichero \"%s\"\n" @@ -2332,320 +2339,320 @@ msgstr "" "archivo cuando se actualizan las opciones.\n" "#\n" -#: src/plugins/plugins-interface.c:360 +#: src/plugins/plugins-interface.c:376 #, c-format msgid "%s server/channel (%s/%s) not found for plugin exec command\n" msgstr "" -#: src/gui/curses/gui-input.c:353 +#: src/gui/curses/gui-input.c:386 #, c-format msgid "Day changed to %s\n" msgstr "Da cambiado a %s\n" -#: src/gui/curses/gui-input.c:458 +#: src/gui/curses/gui-input.c:491 #, c-format msgid "%s lag is high, disconnecting from server...\n" msgstr "%s el lag (retraso) es alto, desconectando del servidor...\n" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "bytes" msgstr "bytes" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Kb" msgstr "KB" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Mb" msgstr "MB" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Gb" msgstr "GB" -#: src/gui/curses/gui-display.c:1603 +#: src/gui/curses/gui-display.c:1644 msgid "ETA" msgstr "Tiempo estimado de llegada" -#: src/gui/curses/gui-display.c:1965 +#: src/gui/curses/gui-display.c:2006 msgid "" msgstr "" -#: src/gui/curses/gui-display.c:1977 +#: src/gui/curses/gui-display.c:2018 msgid "(away)" msgstr "(ausente)" -#: src/gui/curses/gui-display.c:2111 +#: src/gui/curses/gui-display.c:2152 msgid "[not connected] " msgstr "[no conectado] " -#: src/gui/curses/gui-display.c:2117 +#: src/gui/curses/gui-display.c:2158 msgid " " msgstr "" -#: src/gui/curses/gui-display.c:2129 +#: src/gui/curses/gui-display.c:2170 msgid "Act: " msgstr "Act: " -#: src/gui/curses/gui-display.c:2210 +#: src/gui/curses/gui-display.c:2251 msgid "RAW_IRC" msgstr "" -#: src/gui/curses/gui-display.c:2231 +#: src/gui/curses/gui-display.c:2272 #, c-format msgid "Lag: %.1f" msgstr "Lag: %.1f" -#: src/gui/curses/gui-display.c:2247 +#: src/gui/curses/gui-display.c:2288 msgid "-MORE-" msgstr "-MS-" -#: src/gui/curses/gui-display.c:2506 +#: src/gui/curses/gui-display.c:2587 msgid " [A] Accept" msgstr " [A] Aceptar" -#: src/gui/curses/gui-display.c:2507 src/gui/curses/gui-display.c:2511 +#: src/gui/curses/gui-display.c:2588 src/gui/curses/gui-display.c:2592 msgid " [C] Cancel" msgstr " [C] Cancelar" -#: src/gui/curses/gui-display.c:2516 +#: src/gui/curses/gui-display.c:2597 msgid " [R] Remove" msgstr " [R] Eliminar" -#: src/gui/curses/gui-display.c:2520 +#: src/gui/curses/gui-display.c:2601 msgid " [P] Purge old DCC" msgstr " [P] Purgar los viejos DCC" -#: src/gui/curses/gui-display.c:2521 +#: src/gui/curses/gui-display.c:2602 msgid " [Q] Close DCC view" msgstr " [Q] Cerrar la vista DCC" -#: src/gui/curses/gui-display.c:2529 +#: src/gui/curses/gui-display.c:2610 msgid " [Q] Close raw data view" msgstr "" -#: src/gui/gtk/gui-display.c:2263 +#: src/gui/gtk/gui-display.c:2276 msgid "server" msgstr "servidor" -#: src/gui/gui-common.c:770 +#: src/gui/gui-common.c:777 msgid "Not enough memory for new line\n" msgstr "No hay suficiente memoria para una nueva lnea\n" -#: src/gui/gui-common.c:1139 +#: src/gui/gui-common.c:1146 msgid "Not enough memory for infobar message\n" msgstr "No hay suficiente memoria para el mensaje de la barra de informacin\n" -#: src/gui/gui-keyboard.c:45 +#: src/gui/gui-keyboard.c:49 msgid "terminate line" msgstr "terminar lnea" -#: src/gui/gui-keyboard.c:47 +#: src/gui/gui-keyboard.c:51 msgid "complete word" msgstr "completar palabra" -#: src/gui/gui-keyboard.c:49 +#: src/gui/gui-keyboard.c:53 msgid "delete previous char" msgstr "borrar el carcter anterior" -#: src/gui/gui-keyboard.c:51 +#: src/gui/gui-keyboard.c:55 msgid "delete next char" msgstr "borrar el carcter siguiente" -#: src/gui/gui-keyboard.c:53 +#: src/gui/gui-keyboard.c:57 msgid "delete until end of line" msgstr "borrar hasta fin de lnea" -#: src/gui/gui-keyboard.c:55 +#: src/gui/gui-keyboard.c:59 msgid "delete until beginning of line" msgstr "borrar hasta principio de lnea" -#: src/gui/gui-keyboard.c:57 +#: src/gui/gui-keyboard.c:61 msgid "delete entire line" msgstr "borrar lnea entera" -#: src/gui/gui-keyboard.c:59 +#: src/gui/gui-keyboard.c:63 msgid "delete previous word" msgstr "borrar la palabra anterior" -#: src/gui/gui-keyboard.c:61 +#: src/gui/gui-keyboard.c:65 msgid "delete next word" msgstr "borrar la palabra siguiente" -#: src/gui/gui-keyboard.c:63 +#: src/gui/gui-keyboard.c:67 msgid "paste current clipboard content" msgstr "pegar el contenido actual del portapapeles" -#: src/gui/gui-keyboard.c:65 +#: src/gui/gui-keyboard.c:69 msgid "transpose chars" msgstr "transponer caracteres" -#: src/gui/gui-keyboard.c:67 +#: src/gui/gui-keyboard.c:71 msgid "go to beginning of line" msgstr "ir al principio de lnea" -#: src/gui/gui-keyboard.c:69 +#: src/gui/gui-keyboard.c:73 msgid "go to end of line" msgstr "ir al final de lnea" -#: src/gui/gui-keyboard.c:71 +#: src/gui/gui-keyboard.c:75 msgid "move one char left" msgstr "mover un carcter a la izquierda" -#: src/gui/gui-keyboard.c:73 +#: src/gui/gui-keyboard.c:77 msgid "move to previous word" msgstr "mover a la palabra anterior" -#: src/gui/gui-keyboard.c:75 +#: src/gui/gui-keyboard.c:79 msgid "move one char right" msgstr "mover un carcter a la derecha" -#: src/gui/gui-keyboard.c:77 +#: src/gui/gui-keyboard.c:81 msgid "move to next word" msgstr "mover a la palabra siguiente" -#: src/gui/gui-keyboard.c:79 +#: src/gui/gui-keyboard.c:83 msgid "call previous command in history" msgstr "llamar al comando anterior en el historial" -#: src/gui/gui-keyboard.c:81 +#: src/gui/gui-keyboard.c:85 msgid "call previous command in global history" msgstr "llamar al comando anterior en el historial global" -#: src/gui/gui-keyboard.c:83 +#: src/gui/gui-keyboard.c:87 msgid "call next command in history" msgstr "llamar al comando siguiente en el historial" -#: src/gui/gui-keyboard.c:85 +#: src/gui/gui-keyboard.c:89 msgid "call next command in global history" msgstr "llamar al comando siguiente en el historial global" -#: src/gui/gui-keyboard.c:87 +#: src/gui/gui-keyboard.c:91 msgid "scroll one page up" msgstr "desplazarse una pgina hacia arriba" -#: src/gui/gui-keyboard.c:89 -msgid "scroll one page down" -msgstr "desplazarse una pgina hacia abajo" - -#: src/gui/gui-keyboard.c:91 -#, fuzzy -msgid "scroll a few lines up" -msgstr "desplazarse una pgina hacia arriba" - #: src/gui/gui-keyboard.c:93 -#, fuzzy -msgid "scroll a few lines down" +msgid "scroll one page down" msgstr "desplazarse una pgina hacia abajo" #: src/gui/gui-keyboard.c:95 #, fuzzy +msgid "scroll a few lines up" +msgstr "desplazarse una pgina hacia arriba" + +#: src/gui/gui-keyboard.c:97 +#, fuzzy +msgid "scroll a few lines down" +msgstr "desplazarse una pgina hacia abajo" + +#: src/gui/gui-keyboard.c:99 +#, fuzzy msgid "scroll to top of buffer" msgstr "desplazarse al resaltado siguiente en el bfer" -#: src/gui/gui-keyboard.c:97 +#: src/gui/gui-keyboard.c:101 #, fuzzy msgid "scroll to bottom of buffer" msgstr "desplazarse al resaltado siguiente en el bfer" -#: src/gui/gui-keyboard.c:99 +#: src/gui/gui-keyboard.c:103 msgid "display beginning of nicklist" msgstr "mostrar el principio de la lista de nicks" -#: src/gui/gui-keyboard.c:101 +#: src/gui/gui-keyboard.c:105 msgid "display end of nicklist" msgstr "mostrar el final de la lista de nicks" -#: src/gui/gui-keyboard.c:103 +#: src/gui/gui-keyboard.c:107 msgid "scroll nicklist one page up" msgstr "desplazar la lista de nicks una pgina hacia arriba" -#: src/gui/gui-keyboard.c:105 +#: src/gui/gui-keyboard.c:109 msgid "scroll nicklist one page down" msgstr "desplazar la lista de nicks una pgina hacia abajo" -#: src/gui/gui-keyboard.c:107 +#: src/gui/gui-keyboard.c:111 msgid "jump to buffer with activity" msgstr "saltar al bfer con actividad" -#: src/gui/gui-keyboard.c:109 +#: src/gui/gui-keyboard.c:113 msgid "jump to DCC buffer" msgstr "saltar al bfer DCC" -#: src/gui/gui-keyboard.c:111 +#: src/gui/gui-keyboard.c:115 msgid "jump to raw IRC data buffer" msgstr "" -#: src/gui/gui-keyboard.c:113 +#: src/gui/gui-keyboard.c:117 msgid "jump to last buffer" msgstr "saltar al ltimo bfer" -#: src/gui/gui-keyboard.c:115 +#: src/gui/gui-keyboard.c:119 msgid "jump to server buffer" msgstr "saltar al bfer del servidor" -#: src/gui/gui-keyboard.c:117 +#: src/gui/gui-keyboard.c:121 msgid "jump to next server" msgstr "saltar al servidor siguiente" -#: src/gui/gui-keyboard.c:119 +#: src/gui/gui-keyboard.c:123 msgid "switch active server on servers buffer" msgstr "seleccionar servidor activo en el bfer de servidores" -#: src/gui/gui-keyboard.c:121 +#: src/gui/gui-keyboard.c:125 msgid "scroll to previous highlight in buffer" msgstr "desplazarse al resaltado anterior en el bfer" -#: src/gui/gui-keyboard.c:123 +#: src/gui/gui-keyboard.c:127 msgid "scroll to next highlight in buffer" msgstr "desplazarse al resaltado siguiente en el bfer" -#: src/gui/gui-keyboard.c:125 +#: src/gui/gui-keyboard.c:129 msgid "scroll to first unread line in buffer" msgstr "desplazarse a la primera lnea sin leer en el bfer" -#: src/gui/gui-keyboard.c:127 +#: src/gui/gui-keyboard.c:131 msgid "clear hotlist" msgstr "limpiar hotlist" -#: src/gui/gui-keyboard.c:129 +#: src/gui/gui-keyboard.c:133 msgid "clear infobar" msgstr "limpiar barra de informacin" -#: src/gui/gui-keyboard.c:131 +#: src/gui/gui-keyboard.c:135 msgid "refresh screen" msgstr "recargar la pantalla" -#: src/gui/gui-keyboard.c:133 +#: src/gui/gui-keyboard.c:137 msgid "grab a key" msgstr "capturar una clave" -#: src/gui/gui-keyboard.c:444 src/common/command.c:2450 +#: src/gui/gui-keyboard.c:448 src/common/command.c:2453 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s No ha sido posible atar la clave \"%s\"\n" -#: src/gui/gui-keyboard.c:455 +#: src/gui/gui-keyboard.c:459 #, c-format msgid "%s unable to bind key \"%s\" (invalid function name: \"%s\")\n" msgstr "" "%s No ha sido posible atar la clave \"%s\" (nombre de funcin invlido: \"%s" "\")\n" -#: src/gui/gui-keyboard.c:468 +#: src/gui/gui-keyboard.c:472 #, c-format msgid "%s not enough memory for key binding\n" msgstr "%s no hay suficiente memoria para atar la clave\n" -#: src/common/command.c:45 +#: src/common/command.c:48 msgid "create an alias for a command" msgstr "crear un alias para un comando" -#: src/common/command.c:46 +#: src/common/command.c:49 msgid "[alias_name [command [arguments]]" msgstr "[nombre_alias [comando [argumentos]]" -#: src/common/command.c:47 +#: src/common/command.c:50 msgid "" "alias_name: name of alias\n" " command: command name (WeeChat or IRC command, without first '/')\n" @@ -2655,16 +2662,16 @@ msgstr "" " comando: nombre del comando (comando WeeChat o IRC, sin el primer '/')\n" " argumentos: parmetros para el comando" -#: src/common/command.c:52 +#: src/common/command.c:55 msgid "manage buffers" msgstr "gestionar los bfers" -#: src/common/command.c:53 +#: src/common/command.c:56 #, fuzzy msgid "[action [args] | number | [[server] [channel]]]" msgstr "[accin | nmero | [[servidor] [canal]]]" -#: src/common/command.c:54 +#: src/common/command.c:57 #, fuzzy msgid "" " action: action to do:\n" @@ -2690,32 +2697,32 @@ msgstr "" " canal: saltar al bfer por el nombre del servidor o canal\n" " nmero: saltar al bfer por nmero" -#: src/common/command.c:63 +#: src/common/command.c:66 msgid "" "launch WeeChat/IRC builtin command (do not look at plugins handlers or " "aliases)" msgstr "" -#: src/common/command.c:64 +#: src/common/command.c:67 #, fuzzy msgid "command" msgstr "[comando]" -#: src/common/command.c:65 +#: src/common/command.c:68 msgid "" "command: command to execute (a '/' is automatically added if not found at " "beginning of command)\n" msgstr "" -#: src/common/command.c:67 +#: src/common/command.c:70 msgid "change charset for server or channel" msgstr "cambiar juego de caracteres para el servidor o canal" -#: src/common/command.c:68 +#: src/common/command.c:71 msgid "[(decode_iso | decode_utf | encode) charset]" msgstr "[(decode_iso | decode_utf | encode) juego_de_caracteres]" -#: src/common/command.c:69 +#: src/common/command.c:72 msgid "" "decode_iso: charset used for decoding ISO\n" "decode_utf: charset used for decoding UTF\n" @@ -2728,47 +2735,47 @@ msgstr "" "juego_de_caracteres: juego de caracteres a utilizar (por ejemplo: ISO-8859-" "15, UTF-8...)" -#: src/common/command.c:74 +#: src/common/command.c:77 msgid "clear window(s)" msgstr "limpiar la(s) ventana(s)" -#: src/common/command.c:75 +#: src/common/command.c:78 msgid "[-all]" msgstr "[-all]" -#: src/common/command.c:76 +#: src/common/command.c:79 msgid "-all: clear all windows" msgstr "-all: limpiar todas las ventanas" -#: src/common/command.c:78 +#: src/common/command.c:81 msgid "connect to a server" msgstr "conectarse a un servidor" -#: src/common/command.c:79 src/common/command.c:83 +#: src/common/command.c:82 src/common/command.c:86 msgid "[servername]" msgstr "[nombre_del_servidor]" -#: src/common/command.c:80 +#: src/common/command.c:83 msgid "servername: server name to connect" msgstr "nombre_del_servidor: nombre del servidor al que conectarse" -#: src/common/command.c:82 +#: src/common/command.c:85 msgid "disconnect from a server" msgstr "desconectarse de un servidor" -#: src/common/command.c:84 +#: src/common/command.c:87 msgid "servername: server name to disconnect" msgstr "nombre_del_servidor: nombre del servidor del que desconectarse" -#: src/common/command.c:86 +#: src/common/command.c:89 msgid "print debug messages" msgstr "imprime mensajes de depuracin" -#: src/common/command.c:87 +#: src/common/command.c:90 msgid "dump | windows" msgstr "volcar | ventanas" -#: src/common/command.c:88 +#: src/common/command.c:91 msgid "" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" @@ -2778,27 +2785,27 @@ msgstr "" "(el mismo volcado se escribe cuando Weechat se cuelga)\n" "ventanas: mostrar rbol de ventanas" -#: src/common/command.c:91 +#: src/common/command.c:94 msgid "display help about commands" msgstr "mostrar ayuda sobre los comandos" -#: src/common/command.c:92 +#: src/common/command.c:95 msgid "[command]" msgstr "[comando]" -#: src/common/command.c:93 +#: src/common/command.c:96 msgid "command: name of a WeeChat or IRC command" msgstr "comando: nombre de un comando de Weechat o de IRC" -#: src/common/command.c:95 +#: src/common/command.c:98 msgid "show buffer command history" msgstr "mostrar historial de comandos de bfer" -#: src/common/command.c:96 +#: src/common/command.c:99 msgid "[clear | value]" msgstr "[limpiar | valor]" -#: src/common/command.c:97 +#: src/common/command.c:100 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2806,15 +2813,15 @@ msgstr "" "limpiar: limpiar historial\n" "valor: nmero de entradas del historial para mostrar" -#: src/common/command.c:100 +#: src/common/command.c:103 msgid "ignore IRC messages and/or hosts" msgstr "ignorar los mensajes IRC y/o los hosts" -#: src/common/command.c:101 +#: src/common/command.c:104 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[mscara [[tipo | comando] [canal [servidor]]]]" -#: src/common/command.c:102 +#: src/common/command.c:105 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2834,15 +2841,15 @@ msgstr "" "Para cada argumento, '*' significa todo.\n" "Sin argumentos, el comando /ignore lista todos los ignores definidos." -#: src/common/command.c:111 +#: src/common/command.c:114 msgid "bind/unbind keys" msgstr "atar/desatar claves" -#: src/common/command.c:112 +#: src/common/command.c:115 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "[clave funcin/comando] [desatar clave] [funciones] [reset -yes]" -#: src/common/command.c:113 +#: src/common/command.c:116 msgid "" " key: bind this key to an internal function or a command (beginning by " "\"/\")\n" @@ -2858,15 +2865,15 @@ msgstr "" " reset: restaura anclajes a los valores por defecto y elimina todos los " "anclajes personales (usar cuidadosamente)" -#: src/common/command.c:120 +#: src/common/command.c:123 msgid "list/load/unload plugins" msgstr "listar/cargar/descargar plugins" -#: src/common/command.c:121 +#: src/common/command.c:124 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[cargar fichero] | [autocargar] | [recargar] | [descargar]" -#: src/common/command.c:122 +#: src/common/command.c:125 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2876,11 +2883,11 @@ msgstr "" "\n" "Sin argumentos, el comando /plugin lista todos los plugins cargados." -#: src/common/command.c:125 +#: src/common/command.c:128 msgid "list, add or remove servers" msgstr "lista, ade o elimina servidores" -#: src/common/command.c:126 +#: src/common/command.c:129 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2892,7 +2899,7 @@ msgstr "" "username nombre de usuario] [-realname nombre_real] [-command comando] [-" "autojoin canal[,canal]] ] | [del nombre_de_servidor]" -#: src/common/command.c:131 +#: src/common/command.c:134 msgid "" "servername: server name, for internal and display use\n" " hostname: name or IP address of server\n" @@ -2918,28 +2925,28 @@ msgstr "" " nombre_de_usuario: nombre de usuario\n" " nombre_real: nombre real del usuario" -#: src/common/command.c:143 +#: src/common/command.c:146 msgid "save config to disk" msgstr "guardar configuracin a disco" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "[file]" msgstr "[archivo]" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "file: filename for writing config" msgstr "archivo: fichero en el que guardar la configuracin" -#: src/common/command.c:146 +#: src/common/command.c:149 #, fuzzy msgid "set config options" msgstr "modificar parmetros de configuracin" -#: src/common/command.c:147 src/common/command.c:155 +#: src/common/command.c:150 src/common/command.c:158 msgid "[option [ = value]]" msgstr "[opcin [ = valor]]" -#: src/common/command.c:148 +#: src/common/command.c:151 #, fuzzy msgid "" "option: name of an option (if name is full and no value is given, then help " @@ -2953,12 +2960,12 @@ msgstr "" "valor, entonces se muestra la ayuda de la opcin)\n" "valor: valor para una opcin" -#: src/common/command.c:154 +#: src/common/command.c:157 #, fuzzy msgid "set plugin config options" msgstr "modificar parmetros de configuracin" -#: src/common/command.c:156 +#: src/common/command.c:159 msgid "" "option: name of a plugin option\n" " value: value for option\n" @@ -2966,27 +2973,27 @@ msgid "" "Option is format: plugin.option, example: perl.myscript.item1" msgstr "" -#: src/common/command.c:160 +#: src/common/command.c:163 msgid "remove an alias" msgstr "eliminar un alias" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name" msgstr "alias" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name: name of alias to remove" msgstr "alias: nombre del alias a suprimir" -#: src/common/command.c:163 +#: src/common/command.c:166 msgid "unignore IRC messages and/or hosts" msgstr "no ignorar mensajes IRC y/o hosts" -#: src/common/command.c:164 +#: src/common/command.c:167 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[nmero | [mscara [[tipo | comando] [canal [servidor]]]]]" -#: src/common/command.c:165 +#: src/common/command.c:168 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -3009,33 +3016,33 @@ msgstr "" "Para cada argumento, '*' significa todo.\n" "Sin argumentos, el comando /unignore lista todos los ignores definidos." -#: src/common/command.c:175 +#: src/common/command.c:178 msgid "upgrade WeeChat without disconnecting from servers" msgstr "actualizar Weechat sin desconectarse de los servidores" -#: src/common/command.c:177 +#: src/common/command.c:180 msgid "" "This command run again WeeChat binary, so it should have been compiled " "installed with a package manager before running this command." msgstr "" -#: src/common/command.c:180 +#: src/common/command.c:183 msgid "show WeeChat uptime" msgstr "muestra el tiempo de uso de WeeChat" -#: src/common/command.c:181 +#: src/common/command.c:184 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:182 +#: src/common/command.c:185 msgid "-o: send uptime on current channel as an IRC message" msgstr "-o: enva el tiempo de uso en el canal actual como un mensaje IRC" -#: src/common/command.c:184 +#: src/common/command.c:187 msgid "manage windows" msgstr "gestin de ventanas" -#: src/common/command.c:185 +#: src/common/command.c:188 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" @@ -3043,7 +3050,7 @@ msgstr "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" -#: src/common/command.c:187 +#: src/common/command.c:190 #, c-format msgid "" " list: list opened windows (no parameter implies this list)\n" @@ -3081,24 +3088,24 @@ msgstr "" "nueva ventana, tomando como referencia el tamao de la ventana actual. Por " "ejemplo 25 significa crear una nueva ventana con tamao = tamao_actual / 4" -#: src/common/command.c:384 src/common/command.c:738 +#: src/common/command.c:387 src/common/command.c:741 #, c-format msgid "%s circular reference when calling alias \"/%s\"\n" msgstr "" -#: src/common/command.c:718 src/common/command.c:854 src/common/command.c:925 +#: src/common/command.c:721 src/common/command.c:857 src/common/command.c:928 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s el comando \"%s\" ha fallado\n" -#: src/common/command.c:820 +#: src/common/command.c:823 #, c-format msgid "%s wrong argument count for %s command \"%s\" (expected: %d arg%s)\n" msgstr "" "%s nmero de argumentos incorrecto para el comando %s \"%s\" (esperado: %d " "parmetro%s)\n" -#: src/common/command.c:832 +#: src/common/command.c:835 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -3107,14 +3114,14 @@ msgstr "" "%s nmero de argumentos incorrecto para el comando %s \"%s\" (esperado: " "entre %d y %d parmetro%s)\n" -#: src/common/command.c:881 +#: src/common/command.c:884 #, c-format msgid "%s wrong argument count for IRC command \"%s\" (expected: %d arg%s)\n" msgstr "" "%s nmero de argumentos incorrecto para el comando IRC \"%s\" (esperado: %d " "parmetro%s)\n" -#: src/common/command.c:893 +#: src/common/command.c:896 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -3123,288 +3130,318 @@ msgstr "" "%s nmero de argumentos incorrecto para el comando IRC \"%s\" (esperado: " "entre %d y %d parmetro%s)\n" -#: src/common/command.c:908 +#: src/common/command.c:911 #, c-format msgid "%s command \"%s\" needs a server connection!\n" msgstr "%s el comando \"%s\" requiere una conexin a servidor!\n" -#: src/common/command.c:938 +#: src/common/command.c:941 #, c-format msgid "%s unknown command \"%s\" (type /help for help)\n" msgstr "%s comando \"%s\" desconocido (escriba /help para la ayuda)\n" -#: src/common/command.c:1083 +#: src/common/command.c:1086 msgid "This window is not a channel!\n" msgstr "Esta ventana no es un canal!\n" -#: src/common/command.c:1116 src/common/command.c:1153 -#: src/common/command.c:1288 +#: src/common/command.c:1119 src/common/command.c:1156 +#: src/common/command.c:1291 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s faltan argumentos para el comando \"%s\"\n" -#: src/common/command.c:1125 +#: src/common/command.c:1128 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" creado\n" -#: src/common/command.c:1131 +#: src/common/command.c:1134 #, c-format msgid "Failed to create alias \"%s\" => \"%s\" (not enough memory)\n" msgstr "" "No ha sido posible crear el alias \"%s\" => \"%s\" (no hay suficiente " "memoria)\n" -#: src/common/command.c:1143 src/common/command.c:1164 +#: src/common/command.c:1146 src/common/command.c:1167 msgid "List of aliases:\n" msgstr "Lista de alias:\n" -#: src/common/command.c:1178 +#: src/common/command.c:1181 msgid "No alias defined.\n" msgstr "Ningn alias definido.\n" -#: src/common/command.c:1197 +#: src/common/command.c:1200 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServidor: %s%s\n" -#: src/common/command.c:1202 +#: src/common/command.c:1205 #, c-format msgid "%snot connected\n" msgstr "%sno conectado\n" -#: src/common/command.c:1206 +#: src/common/command.c:1209 #, c-format msgid "%sChannel: %s%s %s(server: %s%s%s)\n" msgstr "%s Canal: %s%s %s(servidor: %s%s%s)\n" -#: src/common/command.c:1215 +#: src/common/command.c:1218 #, c-format msgid "%sPrivate with: %s%s %s(server: %s%s%s)\n" msgstr "%sPrivado con: %s%s %s(servidor: %s%s%s)\n" -#: src/common/command.c:1224 src/common/command.c:1236 +#: src/common/command.c:1227 src/common/command.c:1239 #, c-format msgid "%sunknown\n" msgstr "%sdesconocido\n" -#: src/common/command.c:1232 +#: src/common/command.c:1235 #, c-format msgid "%sraw IRC data\n" msgstr "" -#: src/common/command.c:1267 +#: src/common/command.c:1270 msgid "Opened buffers:\n" msgstr "Bfers abiertos:\n" -#: src/common/command.c:1312 +#: src/common/command.c:1315 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s nmero de bfer incorrecto\n" -#: src/common/command.c:1329 +#: src/common/command.c:1332 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s no es posible cerrar el nico bfer\n" -#: src/common/command.c:1340 +#: src/common/command.c:1343 #, c-format msgid "%s can not close server buffer while channels are opened\n" msgstr "" "%s no se puede cerrar el bfer de servidor mientras haya canales abiertos\n" -#: src/common/command.c:1398 +#: src/common/command.c:1401 msgid "Notify levels: " msgstr "Niveles de notificacin: " -#: src/common/command.c:1404 +#: src/common/command.c:1407 msgid "Raw IRC data" msgstr "" -#: src/common/command.c:1428 src/common/command.c:1478 +#: src/common/command.c:1431 src/common/command.c:1481 #, c-format msgid "%s incorrect notify level (must be between %d and %d)\n" msgstr "%s nivel de notificacin incorrecto (debe estar entre %d y %d)\n" -#: src/common/command.c:1438 +#: src/common/command.c:1441 #, c-format msgid "%s incorrect buffer for notify (must be channel or private)\n" msgstr "%s bfer incorrecto para notificar (debe ser canal o privado)\n" -#: src/common/command.c:1448 +#: src/common/command.c:1451 #, c-format msgid "New notify level for %s%s%s: %s%d %s" msgstr "Nuevo nivel de notificacin para %s%s%s: %s%d %s" -#: src/common/command.c:1458 +#: src/common/command.c:1461 msgid "(hotlist: never)\n" msgstr "(hotlist: nunca)\n" -#: src/common/command.c:1461 +#: src/common/command.c:1464 msgid "(hotlist: highlights)\n" msgstr "(hotlist: resaltados)\n" -#: src/common/command.c:1464 +#: src/common/command.c:1467 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: resaltados + mensajes)\n" -#: src/common/command.c:1467 +#: src/common/command.c:1470 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "(hotlist: resaltados + mensajes + join/part (todos))\n" -#: src/common/command.c:1598 +#: src/common/command.c:1601 #, c-format msgid "Charsets for server %s%s%s: " msgstr "Juegos de caracteres para el servidor %s%s%s: " -#: src/common/command.c:1606 +#: src/common/command.c:1609 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "Juegos de caracteres para el canal %s%s%s: " -#: src/common/command.c:1614 +#: src/common/command.c:1617 #, c-format msgid "Charsets for private %s%s%s: " msgstr "Juegos de caracteres para el privado %s%s%s: " -#: src/common/command.c:1642 src/common/command.c:1672 -#: src/common/command.c:1702 +#: src/common/command.c:1645 src/common/command.c:1675 +#: src/common/command.c:1705 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr " (heredado: \"%s%s%s\")" -#: src/common/command.c:1771 src/common/command.c:1799 -#: src/common/command.c:1941 src/common/command.c:2569 -#: src/common/command.c:3833 src/common/command.c:3876 +#: src/common/command.c:1774 src/common/command.c:1802 +#: src/common/command.c:1944 src/common/command.c:2610 +#: src/common/command.c:3876 src/common/command.c:3919 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "%s opcin desconocida para el comando \"%s\"\n" -#: src/common/command.c:1834 +#: src/common/command.c:1837 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s ya conectado al servidor \"%s\"!\n" -#: src/common/command.c:1842 +#: src/common/command.c:1845 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "%s actualmente conectando al servidor \"%s\"!\n" -#: src/common/command.c:1861 src/common/command.c:1990 +#: src/common/command.c:1864 src/common/command.c:1993 #, c-format msgid "%s server not found\n" msgstr "%s servidor no encontrado\n" -#: src/common/command.c:1974 +#: src/common/command.c:1977 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s no conectado al servidor \"%s\"!\n" -#: src/common/command.c:1982 +#: src/common/command.c:1985 msgid "Auto-reconnection is cancelled\n" msgstr "La reconexin automtica est anulada\n" -#: src/common/command.c:2018 src/common/weechat.c:489 +#: src/common/command.c:2021 src/common/weechat.c:489 #, c-format msgid "%s internal commands:\n" msgstr "Comandos internos %s :\n" -#: src/common/command.c:2028 src/common/weechat.c:509 +#: src/common/command.c:2031 src/common/weechat.c:509 #, c-format msgid "IRC commands:\n" msgstr "Comandos IRC :\n" -#: src/common/command.c:2042 +#: src/common/command.c:2045 msgid "Plugin commands:\n" msgstr "Comandos de plugin:\n" -#: src/common/command.c:2158 +#: src/common/command.c:2161 #, c-format msgid "No help available, \"%s\" is an unknown command\n" msgstr "No hay ayuda disponible, el comando \"%s\" es desconocido\n" -#: src/common/command.c:2227 +#: src/common/command.c:2230 #, c-format msgid "%son %s%s%s/%s%s%s:%s ignoring %s%s%s from %s%s\n" msgstr "%sen %s%s%s/%s%s%s:%s ignorando %s%s%s de %s%s\n" -#: src/common/command.c:2265 +#: src/common/command.c:2268 msgid "List of ignore:\n" msgstr "Lista de ignores:\n" -#: src/common/command.c:2282 +#: src/common/command.c:2285 msgid "No ignore defined.\n" msgstr "Sin ignores definidos.\n" -#: src/common/command.c:2308 +#: src/common/command.c:2311 msgid "New ignore:" msgstr "Nuevo ignore:" -#: src/common/command.c:2328 +#: src/common/command.c:2331 #, c-format msgid "New key binding: %s" msgstr "Nueva anclaje de clave: %s" -#: src/common/command.c:2367 +#: src/common/command.c:2370 msgid "Key bindings:\n" msgstr "Anclajes de clave:\n" -#: src/common/command.c:2381 +#: src/common/command.c:2384 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Clave \"%s\" desatada\n" -#: src/common/command.c:2387 +#: src/common/command.c:2390 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "%s No ha sido posible desatar la clave \"%s\"\n" -#: src/common/command.c:2395 src/common/weechat.c:541 +#: src/common/command.c:2398 src/common/weechat.c:541 #, c-format msgid "Internal key functions:\n" msgstr "Funciones de clave internas:\n" -#: src/common/command.c:2415 +#: src/common/command.c:2418 msgid "Default key bindings restored\n" msgstr "Anclajes de clave por defecto restaurados\n" -#: src/common/command.c:2421 +#: src/common/command.c:2424 #, c-format msgid "%s \"-yes\" argument is required for keys reset (securuty reason)\n" msgstr "" "%s \"-yes\" se requiere argumento para resetear las claves (por razones de " "seguridad)\n" -#: src/common/command.c:2482 +#: src/common/command.c:2485 msgid "Plugins loaded:\n" msgstr "Plugins cargados:\n" -#: src/common/command.c:2498 +#: src/common/command.c:2501 msgid " message handlers:\n" msgstr " manejadores de mensaje:\n" -#: src/common/command.c:2507 +#: src/common/command.c:2510 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:2514 +#: src/common/command.c:2517 msgid " (no message handler)\n" msgstr " (sin manejador de mensaje)\n" -#: src/common/command.c:2519 +#: src/common/command.c:2522 msgid " command handlers:\n" msgstr " manejadores de comando:\n" -#: src/common/command.c:2540 +#: src/common/command.c:2543 msgid " (no command handler)\n" msgstr " (sin manejador de comando)\n" -#: src/common/command.c:2546 +#: src/common/command.c:2548 +#, fuzzy +msgid " timer handlers:\n" +msgstr " manejadores de mensaje:\n" + +#: src/common/command.c:2557 +#, fuzzy, c-format +msgid " %d seconds\n" +msgstr " IRC(%s)\n" + +#: src/common/command.c:2564 +#, fuzzy +msgid " (no timer handler)\n" +msgstr " (sin manejador de mensaje)\n" + +#: src/common/command.c:2569 +#, fuzzy +msgid " keyboard handlers:\n" +msgstr " manejadores de comando:\n" + +#: src/common/command.c:2579 +#, fuzzy +msgid " (no keyboard handler)\n" +msgstr " (sin manejador de comando)\n" + +#: src/common/command.c:2581 +#, c-format +msgid " %d defined\n" +msgstr "" + +#: src/common/command.c:2587 msgid " (no plugin)\n" msgstr " (sin plugins)\n" -#: src/common/command.c:2582 src/common/command.c:3462 +#: src/common/command.c:2623 src/common/command.c:3505 #, fuzzy, c-format msgid "" "Command \"%s\" is not available, WeeChat was built without plugins support.\n" @@ -3412,41 +3449,41 @@ msgstr "" "El comando \"plugin\" no est disponible, Weechat fue compilado sin soporte " "para plugins.\n" -#: src/common/command.c:2611 +#: src/common/command.c:2654 msgid "Configuration file saved\n" msgstr "" -#: src/common/command.c:2616 +#: src/common/command.c:2659 #, c-format msgid "%s failed to save configuration file\n" msgstr "" -#: src/common/command.c:2655 +#: src/common/command.c:2698 msgid "No server.\n" msgstr "Ningn servidor.\n" -#: src/common/command.c:2666 +#: src/common/command.c:2709 #, c-format msgid "Server '%s' not found.\n" msgstr "Servidor '%s' no encontrado.\n" -#: src/common/command.c:2678 +#: src/common/command.c:2721 #, c-format msgid "%s missing servername for \"%s\" command\n" msgstr "%s falta el nombre de servidor para el comando \"%s\"\n" -#: src/common/command.c:2686 +#: src/common/command.c:2729 #, c-format msgid "%s too much arguments for \"%s\" command, ignoring arguments\n" msgstr "" "%s demasiados argumentos para el comando \"%s\", ignorando parmetros\n" -#: src/common/command.c:2696 +#: src/common/command.c:2739 #, c-format msgid "%s server \"%s\" not found for \"%s\" command\n" msgstr "%s servidor \"%s\" no encontrado para el comando \"%s\"\n" -#: src/common/command.c:2704 +#: src/common/command.c:2747 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3455,200 +3492,200 @@ msgstr "" "%s usted no puede eliminar el servidor \"%s\" ya que est usted conectado a " "l. Pruebe /disconnect %s antes.\n" -#: src/common/command.c:2724 +#: src/common/command.c:2767 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "El servidor %s%s%s ha sido borrado\n" -#: src/common/command.c:2743 +#: src/common/command.c:2786 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s faltan parmetros para el comando \"%s\"\n" -#: src/common/command.c:2753 +#: src/common/command.c:2796 #, c-format msgid "%s server \"%s\" already exists, can't create it!\n" msgstr "%s el servidor \"%s\" ya existe, no se puede crear!\n" -#: src/common/command.c:2782 src/common/command.c:2810 -#: src/common/command.c:2823 src/common/command.c:2849 +#: src/common/command.c:2825 src/common/command.c:2853 +#: src/common/command.c:2866 src/common/command.c:2892 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s falta contrasea para el comando \"%s\"\n" -#: src/common/command.c:2795 +#: src/common/command.c:2838 #, c-format msgid "%s missing nick(s) for \"%s\" parameter\n" msgstr "%s falta(n) usuario(s) para el parmetro \"%s\"\n" -#: src/common/command.c:2836 +#: src/common/command.c:2879 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s falta comando para el parmetro \"%s\"\n" -#: src/common/command.c:2874 +#: src/common/command.c:2917 #, c-format msgid "Server %s%s%s created\n" msgstr "Servidor %s%s%s creado\n" -#: src/common/command.c:2883 +#: src/common/command.c:2926 #, c-format msgid "%s unable to create server\n" msgstr "%s no es posible crear el servidor\n" -#: src/common/command.c:2943 +#: src/common/command.c:2986 msgid "(unknown)" msgstr "(desconocido)" -#: src/common/command.c:2966 +#: src/common/command.c:3009 #, c-format msgid "%s(password hidden) " msgstr "%s(contrasea oculta) " -#: src/common/command.c:3064 +#: src/common/command.c:3107 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s servidor \"%s\" no encontrado\n" -#: src/common/command.c:3097 src/common/command.c:3145 +#: src/common/command.c:3140 src/common/command.c:3188 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s opcin de configuracin \"%s\" no encontrada\n" -#: src/common/command.c:3102 src/common/command.c:3137 +#: src/common/command.c:3145 src/common/command.c:3180 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s valor incorrecto para la opcin \"%s\"\n" -#: src/common/command.c:3118 +#: src/common/command.c:3161 #, c-format msgid "%s option \"%s\" can not be changed while WeeChat is running\n" msgstr "" "%s la opcin \"%s\" no puede ser modificada mientras WeeChat est en " "ejecucin\n" -#: src/common/command.c:3228 +#: src/common/command.c:3271 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Ninguna opcin de configuracin encontrada con \"%s\"\n" -#: src/common/command.c:3231 +#: src/common/command.c:3274 msgid "No config option found\n" msgstr "Ninguna opcin de configuracin encontrada\n" -#: src/common/command.c:3238 +#: src/common/command.c:3281 #, c-format msgid "%sDetail:\n" msgstr "%sDetalle:\n" -#: src/common/command.c:3243 +#: src/common/command.c:3286 msgid " . type boolean (values: 'on' or 'off')\n" msgstr " . tipo booleano (valores: 'on' u 'off')\n" -#: src/common/command.c:3244 src/common/command.c:3267 -#: src/common/command.c:3273 src/common/command.c:3279 +#: src/common/command.c:3287 src/common/command.c:3310 +#: src/common/command.c:3316 src/common/command.c:3322 #: src/common/weechat.c:425 src/common/weechat.c:450 src/common/weechat.c:457 #: src/common/weechat.c:464 #, c-format msgid " . default value: '%s'\n" msgstr " . valor por defecto: '%s'\n" -#: src/common/command.c:3249 +#: src/common/command.c:3292 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr " . tipo entero (valores: entre %d y %d)\n" -#: src/common/command.c:3252 src/common/weechat.c:434 +#: src/common/command.c:3295 src/common/weechat.c:434 #, c-format msgid " . default value: %d\n" msgstr " . valor por defecto: %d\n" -#: src/common/command.c:3256 +#: src/common/command.c:3299 msgid " . type string (values: " msgstr " . tipo cadena (valores: " -#: src/common/command.c:3269 src/common/command.c:3275 -#: src/common/command.c:3281 src/common/weechat.c:452 src/common/weechat.c:459 +#: src/common/command.c:3312 src/common/command.c:3318 +#: src/common/command.c:3324 src/common/weechat.c:452 src/common/weechat.c:459 #: src/common/weechat.c:466 msgid "empty" msgstr "vaco" -#: src/common/command.c:3272 +#: src/common/command.c:3315 msgid " . type color (Curses or Gtk color, look at WeeChat doc)\n" msgstr " . tipo color (color Curses o Gtk, ver la documentacin de WeeChat)\n" -#: src/common/command.c:3278 +#: src/common/command.c:3321 msgid " . type string (any string)\n" msgstr " . tipo cadena (cualquier cadena)\n" -#: src/common/command.c:3284 src/common/weechat.c:469 +#: src/common/command.c:3327 src/common/weechat.c:469 #, c-format msgid " . description: %s\n" msgstr " . descripcin: %s\n" -#: src/common/command.c:3295 +#: src/common/command.c:3338 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "opcin/opciones de configuracin encontrada(s) con \"%s\"\n" -#: src/common/command.c:3298 +#: src/common/command.c:3341 msgid "config option(s) found\n" msgstr "opcin/opciones de configuracin encontrada(s)\n" -#: src/common/command.c:3406 +#: src/common/command.c:3449 #, fuzzy, c-format msgid "%s incorrect value for plugin option \"%s\"\n" msgstr "%s valor incorrecto para la opcin \"%s\"\n" -#: src/common/command.c:3435 +#: src/common/command.c:3478 #, fuzzy, c-format msgid "No plugin option found with \"%s\"\n" msgstr "Ninguna opcin de configuracin encontrada con \"%s\"\n" -#: src/common/command.c:3438 +#: src/common/command.c:3481 #, fuzzy msgid "No plugin option found\n" msgstr "Ninguna opcin de configuracin encontrada\n" -#: src/common/command.c:3448 +#: src/common/command.c:3491 #, fuzzy, c-format msgid "plugin option(s) found with \"%s\"\n" msgstr "opcin/opciones de configuracin encontrada(s) con \"%s\"\n" -#: src/common/command.c:3451 +#: src/common/command.c:3494 #, fuzzy msgid "plugin option(s) found\n" msgstr "opcin/opciones de configuracin encontrada(s)\n" -#: src/common/command.c:3489 +#: src/common/command.c:3532 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias o comando \"%s\" no encontrado\n" -#: src/common/command.c:3499 +#: src/common/command.c:3542 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" eliminado\n" -#: src/common/command.c:3559 +#: src/common/command.c:3602 msgid "ignore were removed.\n" msgstr "los ignores fueron eliminados.\n" -#: src/common/command.c:3561 +#: src/common/command.c:3604 msgid "ignore was removed.\n" msgstr "el ignore fue eliminado.\n" -#: src/common/command.c:3566 +#: src/common/command.c:3609 #, c-format msgid "%s no ignore found\n" msgstr "%s no se encontraron ignores\n" -#: src/common/command.c:3600 +#: src/common/command.c:3643 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "%s no se puede actualizar: conexin pendiente a un servidor al menos\n" -#: src/common/command.c:3610 +#: src/common/command.c:3653 #, c-format msgid "" "%s can't upgrade: connection to at least one SSL server is active (should be " @@ -3657,37 +3694,37 @@ msgstr "" "%s no se puede actualizar: conexin activa a un servidor SSL por lo menos " "(debera ser corregido en una futura versin)\n" -#: src/common/command.c:3626 +#: src/common/command.c:3669 msgid "Upgrading WeeChat...\n" msgstr "Actualizando Weechat...\n" -#: src/common/command.c:3633 +#: src/common/command.c:3676 #, c-format msgid "%s unable to save session in file\n" msgstr "%s no ha sido posible guardar la sesin en el archivo\n" -#: src/common/command.c:3659 +#: src/common/command.c:3702 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "%s exec ha fallado (programa: \"%s\"), saliendo de Weechat\n" -#: src/common/command.c:3699 +#: src/common/command.c:3742 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "Tiempo de uso de WeeChat: %d %s %02d:%02d:%02d, empez en %s" -#: src/common/command.c:3713 +#: src/common/command.c:3756 #, c-format msgid "WeeChat uptime: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, started on %s%s" msgstr "" "Tiempo de uso de WeeChat: %s%d %s%s %s%02d%s: %s%02d%s:%s%02d%s, empez en %s" "%s" -#: src/common/command.c:3757 +#: src/common/command.c:3800 msgid "Opened windows:\n" msgstr "Ventanas abiertas:\n" -#: src/common/command.c:3844 +#: src/common/command.c:3887 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -5506,7 +5543,7 @@ msgstr "%s: creando fichero de configuraci msgid "Creating default config file\n" msgstr "Creando fichero de configuracin por defecto\n" -#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2293 +#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2294 #, c-format msgid "" "#\n" @@ -5515,7 +5552,7 @@ msgstr "" "#\n" "# %s: fichero de configuracin, creado por %s v%s el %s" -#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2297 +#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2298 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -5526,7 +5563,7 @@ msgstr "" "fichero al salir.\n" "#\n" -#: src/common/weeconfig.c:2290 +#: src/common/weeconfig.c:2291 msgid "Saving config to disk\n" msgstr "Guardar configuracin a disco\n" diff --git a/weechat/po/fr.po b/weechat/po/fr.po index c307b016b..198db6b40 100644 --- a/weechat/po/fr.po +++ b/weechat/po/fr.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.9-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2006-03-25 12:24+0100\n" -"PO-Revision-Date: 2006-03-25 12:32+0100\n" +"POT-Creation-Date: 2006-03-29 20:06+0200\n" +"PO-Revision-Date: 2006-03-29 20:07+0200\n" "Last-Translator: FlashCode \n" "Language-Team: weechat-dev \n" "MIME-Version: 1.0\n" @@ -1403,7 +1403,7 @@ msgstr "d msgid " (temporary server, will not be saved)" msgstr " (serveur temporaire, ne sera pas sauv)" -#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3423 +#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3426 msgid "seconds" msgstr "secondes" @@ -1411,7 +1411,7 @@ msgstr "secondes" msgid "(hidden)" msgstr "(cach)" -#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4993 +#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4996 msgid "unknown" msgstr "inconnu" @@ -1420,7 +1420,7 @@ msgstr "inconnu" msgid "%s: using hostname \"%s\"\n" msgstr "%s: utilisation du nom de machine \"%s\"\n" -#: src/irc/irc-send.c:221 src/common/command.c:1036 +#: src/irc/irc-send.c:221 src/common/command.c:1039 #, c-format msgid "%s cannot find nick for sending message\n" msgstr "%s impossible de trouver le pseudo pour envoyer le message\n" @@ -1444,8 +1444,8 @@ msgstr "" #: src/irc/irc-send.c:634 src/irc/irc-send.c:646 src/irc/irc-send.c:664 #: src/irc/irc-send.c:1371 src/irc/irc-send.c:1509 src/irc/irc-send.c:2104 -#: src/common/command.c:1922 src/common/command.c:2435 -#: src/common/command.c:2576 +#: src/common/command.c:1925 src/common/command.c:2438 +#: src/common/command.c:2617 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s nombre de paramtres erron pour la commande \"%s\"\n" @@ -1462,7 +1462,7 @@ msgstr "" "%s la commande \"%s\" peut seulement tre excute dans un tampon canal ou " "priv\n" -#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:511 +#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:514 #, c-format msgid "%s nick \"%s\" not found for \"%s\" command\n" msgstr "%s pseudo \"%s\" non trouv pour la commande \"%s\"\n" @@ -1477,478 +1477,478 @@ msgstr "%s impossible de cr msgid "%s, compiled on %s %s\n" msgstr "%s, compil le %s %s\n" -#: src/irc/irc-recv.c:371 +#: src/irc/irc-recv.c:374 #, c-format msgid "You have been invited to %s%s%s by %s%s\n" msgstr "Vous avez t invit sur %s%s%s par %s%s\n" -#: src/irc/irc-recv.c:385 src/irc/irc-recv.c:480 src/irc/irc-recv.c:1103 -#: src/irc/irc-recv.c:1525 src/irc/irc-recv.c:1805 src/irc/irc-recv.c:3795 -#: src/irc/irc-recv.c:3816 src/irc/irc-recv.c:3877 src/irc/irc-recv.c:3948 +#: src/irc/irc-recv.c:388 src/irc/irc-recv.c:483 src/irc/irc-recv.c:1106 +#: src/irc/irc-recv.c:1528 src/irc/irc-recv.c:1808 src/irc/irc-recv.c:3798 +#: src/irc/irc-recv.c:3819 src/irc/irc-recv.c:3880 src/irc/irc-recv.c:3951 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "%s canal \"%s\" non trouv pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:413 +#: src/irc/irc-recv.c:416 #, c-format msgid "%s cannot create new channel \"%s\"\n" msgstr "%s impossible de crer le nouveau canal \"%s\"\n" -#: src/irc/irc-recv.c:426 +#: src/irc/irc-recv.c:429 #, c-format msgid "%s%s %s(%s%s%s)%s has joined %s%s\n" msgstr "%s%s %s(%s%s%s)%s a rejoint %s%s\n" -#: src/irc/irc-recv.c:488 +#: src/irc/irc-recv.c:491 #, c-format msgid "%s%s%s has kicked %s%s%s from %s%s" msgstr "%s%s%s a pouss dehors %s%s%s de %s%s" -#: src/irc/irc-recv.c:578 +#: src/irc/irc-recv.c:581 #, c-format msgid "%s%s%s has killed %s%s%s from server" msgstr "%s%s%s a tu %s%s%s du serveur" -#: src/irc/irc-recv.c:600 +#: src/irc/irc-recv.c:603 #, c-format msgid "%s host \"%s\" not found for \"%s\" command\n" msgstr "%s la machine \"%s\" n'existe pas pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:641 +#: src/irc/irc-recv.c:644 msgid "sets ban on" msgstr "instaure un bannissement sur" -#: src/irc/irc-recv.c:642 +#: src/irc/irc-recv.c:645 msgid "removes ban on" msgstr "supprime le banissement sur" -#: src/irc/irc-recv.c:666 +#: src/irc/irc-recv.c:669 msgid "sets realname ban on" msgstr "instaure un bannissement sur le nom rel" -#: src/irc/irc-recv.c:667 +#: src/irc/irc-recv.c:670 msgid "removes realname ban on" msgstr "supprime le banissement sur le nom rel" -#: src/irc/irc-recv.c:691 +#: src/irc/irc-recv.c:694 msgid "sets ban exemtion on" msgstr "dfinit une exception de banissement sur" -#: src/irc/irc-recv.c:692 +#: src/irc/irc-recv.c:695 msgid "removes ban exemption on" msgstr "supprime l'exception de banissement sur" -#: src/irc/irc-recv.c:716 +#: src/irc/irc-recv.c:719 msgid "sets mode +f" msgstr "dfinit le mode +f" -#: src/irc/irc-recv.c:717 +#: src/irc/irc-recv.c:720 msgid "removes mode +f" msgstr "supprime le mode +f" -#: src/irc/irc-recv.c:741 +#: src/irc/irc-recv.c:744 msgid "gives half channel operator status to" msgstr "donne le droit demi-oprateur " -#: src/irc/irc-recv.c:742 +#: src/irc/irc-recv.c:745 msgid "removes half channel operator status from" msgstr "supprime le droit demi-oprateur " -#: src/irc/irc-recv.c:769 +#: src/irc/irc-recv.c:772 msgid "sets invite-only channel flag" msgstr "dfinit le canal en mode invit seulement" -#: src/irc/irc-recv.c:770 +#: src/irc/irc-recv.c:773 msgid "removes invite-only channel flag" msgstr "supprime le mode invit seulement pour le canal" -#: src/irc/irc-recv.c:787 +#: src/irc/irc-recv.c:790 msgid "sets invite-only exemption on" msgstr "dfinit une exception d'invitation sur" -#: src/irc/irc-recv.c:788 +#: src/irc/irc-recv.c:791 msgid "removes invite-only exemption on" msgstr "supprime l'exception d'invitation sur" -#: src/irc/irc-recv.c:812 +#: src/irc/irc-recv.c:815 msgid "sets channel key to" msgstr "dfinit la cl du canal " -#: src/irc/irc-recv.c:813 +#: src/irc/irc-recv.c:816 msgid "removes channel key" msgstr "supprime la cl du canal" -#: src/irc/irc-recv.c:844 +#: src/irc/irc-recv.c:847 msgid "sets the user limit to" msgstr "dfinit la limite d'utilisateurs " -#: src/irc/irc-recv.c:845 +#: src/irc/irc-recv.c:848 msgid "removes user limit" msgstr "supprime la limite d'utilisateurs" -#: src/irc/irc-recv.c:867 +#: src/irc/irc-recv.c:870 msgid "sets moderated channel flag" msgstr "instaure la modration sur le canal" -#: src/irc/irc-recv.c:868 +#: src/irc/irc-recv.c:871 msgid "removes moderated channel flag" msgstr "supprime la modration sur le canal" -#: src/irc/irc-recv.c:878 +#: src/irc/irc-recv.c:881 msgid "sets messages from channel only flag" msgstr "interdit aux utilisateurs en dehors du canal d'y crire" -#: src/irc/irc-recv.c:879 +#: src/irc/irc-recv.c:882 msgid "removes messages from channel only flag" msgstr "autorise tout utilisateur crire sur le canal" -#: src/irc/irc-recv.c:896 +#: src/irc/irc-recv.c:899 msgid "gives channel operator status to" msgstr "donne le droit oprateur " -#: src/irc/irc-recv.c:897 +#: src/irc/irc-recv.c:900 msgid "removes channel operator status from" msgstr "supprime le droit oprateur " -#: src/irc/irc-recv.c:924 +#: src/irc/irc-recv.c:927 msgid "sets private channel flag" msgstr "dfinit le canal comme priv" -#: src/irc/irc-recv.c:925 +#: src/irc/irc-recv.c:928 msgid "removes private channel flag" msgstr "supprime le mode priv pour le canal" -#: src/irc/irc-recv.c:942 +#: src/irc/irc-recv.c:945 msgid "sets quiet on" msgstr "dfinit le mode muet sur" -#: src/irc/irc-recv.c:943 +#: src/irc/irc-recv.c:946 msgid "removes quiet on" msgstr "supprime le mode muet sur" -#: src/irc/irc-recv.c:960 +#: src/irc/irc-recv.c:963 msgid "sets secret channel flag" msgstr "dfinit le canal comme secret" -#: src/irc/irc-recv.c:961 +#: src/irc/irc-recv.c:964 msgid "removes secret channel flag" msgstr "supprime le mode secret pour le canal" -#: src/irc/irc-recv.c:971 +#: src/irc/irc-recv.c:974 msgid "sets topic protection" msgstr "active la protection du titre" -#: src/irc/irc-recv.c:972 +#: src/irc/irc-recv.c:975 msgid "removes topic protection" msgstr "supprime la protection du titre" -#: src/irc/irc-recv.c:989 +#: src/irc/irc-recv.c:992 msgid "gives voice to" msgstr "donne la voix " -#: src/irc/irc-recv.c:990 +#: src/irc/irc-recv.c:993 msgid "removes voice from" msgstr "supprime la voix de" -#: src/irc/irc-recv.c:1062 src/irc/irc-recv.c:1148 src/irc/irc-recv.c:1604 -#: src/irc/irc-recv.c:2429 +#: src/irc/irc-recv.c:1065 src/irc/irc-recv.c:1151 src/irc/irc-recv.c:1607 +#: src/irc/irc-recv.c:2432 #, c-format msgid "%s \"%s\" command received without host\n" msgstr "%s commande \"%s\" reue sans host\n" -#: src/irc/irc-recv.c:1072 +#: src/irc/irc-recv.c:1075 #, c-format msgid "%s \"%s\" command received without channel or nickname\n" msgstr "%s commande \"%s\" reue sans canal ou utilisateur\n" -#: src/irc/irc-recv.c:1114 +#: src/irc/irc-recv.c:1117 #, c-format msgid "%s[%s%s%s/%s%s%s]%s mode changed by %s%s\n" msgstr "%s[%s%s%s/%s%s%s]%s mode chang par %s%s\n" -#: src/irc/irc-recv.c:1183 +#: src/irc/irc-recv.c:1186 #, c-format msgid "You are now known as %s%s\n" msgstr "Vous tes maintenant connu sous le nom %s%s\n" -#: src/irc/irc-recv.c:1187 +#: src/irc/irc-recv.c:1190 #, c-format msgid "%s%s%s is now known as %s%s\n" msgstr "%s%s%s est maintenant connu sous le nom %s%s\n" -#: src/irc/irc-recv.c:1255 +#: src/irc/irc-recv.c:1258 #, c-format msgid "%s nickname not found for \"%s\" command\n" msgstr "%s utilisateur non trouv pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:1269 +#: src/irc/irc-recv.c:1272 #, c-format msgid "CTCP %sVERSION%s reply from %s%s%s: %s\n" msgstr "CTCP %sVERSION%s rponse de %s%s%s: %s\n" -#: src/irc/irc-recv.c:1303 +#: src/irc/irc-recv.c:1306 #, c-format msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "CTCP %sPING%s rponse de %s%s%s: %ld.%ld secondes\n" -#: src/irc/irc-recv.c:1326 src/irc/irc-recv.c:2232 src/irc/irc-recv.c:2344 +#: src/irc/irc-recv.c:1329 src/irc/irc-recv.c:2235 src/irc/irc-recv.c:2347 #, c-format msgid "%s cannot create new private window \"%s\"\n" msgstr "%s impossible de crer la fentre prive \"%s\"\n" -#: src/irc/irc-recv.c:1351 src/irc/irc-recv.c:2369 +#: src/irc/irc-recv.c:1354 src/irc/irc-recv.c:2372 msgid "Private" msgstr "Priv" -#: src/irc/irc-recv.c:1427 +#: src/irc/irc-recv.c:1430 #, c-format msgid "%s \"%s\" command received without host or channel\n" msgstr "%s commande \"%s\" reue sans host ou canal\n" -#: src/irc/irc-recv.c:1455 +#: src/irc/irc-recv.c:1458 #, c-format msgid "%s%s %s(%s%s%s)%s has left %s%s" msgstr "%s%s %s(%s%s%s)%s a quitt %s%s" -#: src/irc/irc-recv.c:1654 src/irc/irc-recv.c:1780 src/irc/irc-recv.c:2260 +#: src/irc/irc-recv.c:1657 src/irc/irc-recv.c:1783 src/irc/irc-recv.c:2263 msgid "Channel" msgstr "Canal" -#: src/irc/irc-recv.c:1688 +#: src/irc/irc-recv.c:1691 #, c-format msgid "Received a CTCP %sSOUND%s \"%s\" from %s%s\n" msgstr "CTCP %sSOUND%s \"%s\" reu de %s%s\n" -#: src/irc/irc-recv.c:1718 src/irc/irc-recv.c:1904 +#: src/irc/irc-recv.c:1721 src/irc/irc-recv.c:1907 #, c-format msgid "CTCP %sPING%s received from %s%s\n" msgstr "CTCP %sPING%s reu de %s%s\n" -#: src/irc/irc-recv.c:1747 src/irc/irc-recv.c:2311 +#: src/irc/irc-recv.c:1750 src/irc/irc-recv.c:2314 #, c-format msgid "Unknown CTCP %s%s%s received from %s%s" msgstr "CTCP inconnu %s%s%s reu de %s%s" -#: src/irc/irc-recv.c:1860 +#: src/irc/irc-recv.c:1863 #, c-format msgid "CTCP %sVERSION%s received from %s%s" msgstr "CTCP %sVERSION%s reu de %s%s" -#: src/irc/irc-recv.c:1927 src/irc/irc-recv.c:1948 src/irc/irc-recv.c:1964 -#: src/irc/irc-recv.c:1980 src/irc/irc-recv.c:2011 src/irc/irc-recv.c:2032 -#: src/irc/irc-recv.c:2048 src/irc/irc-recv.c:2078 src/irc/irc-recv.c:2099 -#: src/irc/irc-recv.c:2115 src/irc/irc-recv.c:2145 src/irc/irc-recv.c:2166 -#: src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2405 src/irc/irc-recv.c:2756 -#: src/irc/irc-recv.c:4155 src/irc/irc-recv.c:4170 src/irc/irc-recv.c:4185 -#: src/irc/irc-recv.c:4200 src/irc/irc-recv.c:4213 src/irc/irc-recv.c:4278 -#: src/irc/irc-recv.c:4292 src/irc/irc-recv.c:4526 src/irc/irc-recv.c:4584 -#: src/irc/irc-recv.c:4722 src/irc/irc-recv.c:4737 src/irc/irc-recv.c:4843 -#: src/irc/irc-recv.c:4857 +#: src/irc/irc-recv.c:1930 src/irc/irc-recv.c:1951 src/irc/irc-recv.c:1967 +#: src/irc/irc-recv.c:1983 src/irc/irc-recv.c:2014 src/irc/irc-recv.c:2035 +#: src/irc/irc-recv.c:2051 src/irc/irc-recv.c:2081 src/irc/irc-recv.c:2102 +#: src/irc/irc-recv.c:2118 src/irc/irc-recv.c:2148 src/irc/irc-recv.c:2169 +#: src/irc/irc-recv.c:2184 src/irc/irc-recv.c:2408 src/irc/irc-recv.c:2759 +#: src/irc/irc-recv.c:4158 src/irc/irc-recv.c:4173 src/irc/irc-recv.c:4188 +#: src/irc/irc-recv.c:4203 src/irc/irc-recv.c:4216 src/irc/irc-recv.c:4281 +#: src/irc/irc-recv.c:4295 src/irc/irc-recv.c:4529 src/irc/irc-recv.c:4587 +#: src/irc/irc-recv.c:4725 src/irc/irc-recv.c:4740 src/irc/irc-recv.c:4846 +#: src/irc/irc-recv.c:4860 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "%s impossible d'analyser la commande \"%s\"\n" -#: src/irc/irc-recv.c:2194 +#: src/irc/irc-recv.c:2197 #, c-format msgid "%s unknown DCC CHAT type received from " msgstr "%s type de DCC CHAT inconnu reu de " -#: src/irc/irc-recv.c:2452 +#: src/irc/irc-recv.c:2455 #, c-format msgid "%s%s %s(%s%s%s)%s has quit" msgstr "%s%s %s(%s%s%s)%s a quitt" -#: src/irc/irc-recv.c:2583 +#: src/irc/irc-recv.c:2586 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "%s commande \"%s\" reue sans canal\n" -#: src/irc/irc-recv.c:2612 +#: src/irc/irc-recv.c:2615 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "%s%s%s a chang le titre pour %s%s%s en:" -#: src/irc/irc-recv.c:2623 +#: src/irc/irc-recv.c:2626 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "%s%s%s a retir le titre pour %s%s\n" -#: src/irc/irc-recv.c:2742 +#: src/irc/irc-recv.c:2745 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "Mode utilisateur %s[%s%s%s/%s%s%s]\n" -#: src/irc/irc-recv.c:2806 +#: src/irc/irc-recv.c:2809 #, c-format msgid "%s%s%s is away: %s\n" msgstr "%s%s%s est absent: %s\n" -#: src/irc/irc-recv.c:2898 +#: src/irc/irc-recv.c:2901 msgid "Users online: " msgstr "Utilisateurs en ligne: " -#: src/irc/irc-recv.c:3274 +#: src/irc/irc-recv.c:3277 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "%s%s %s(%s%s@%s%s)%s tait %s\n" -#: src/irc/irc-recv.c:3395 +#: src/irc/irc-recv.c:3398 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s inactivit: " -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "days" msgstr "jours" -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "day" msgstr "jour" -#: src/irc/irc-recv.c:3411 +#: src/irc/irc-recv.c:3414 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, sign le: %s%s" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hours" msgstr "heures" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hour" msgstr "heure" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minutes" msgstr "minutes" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minute" msgstr "minute" -#: src/irc/irc-recv.c:3423 +#: src/irc/irc-recv.c:3426 msgid "second" msgstr "seconde" -#: src/irc/irc-recv.c:3807 +#: src/irc/irc-recv.c:3810 #, c-format msgid "No topic set for %s%s\n" msgstr "Pas de titre dfini pour %s%s\n" -#: src/irc/irc-recv.c:3863 +#: src/irc/irc-recv.c:3866 #, c-format msgid "Topic for %s%s%s is: " msgstr "Le titre pour %s%s%s est: " -#: src/irc/irc-recv.c:3887 src/irc/irc-recv.c:3975 src/irc/irc-recv.c:4030 +#: src/irc/irc-recv.c:3890 src/irc/irc-recv.c:3978 src/irc/irc-recv.c:4033 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "%s impossible de dterminer le canal pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:3937 +#: src/irc/irc-recv.c:3940 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "Titre dfini par %s%s%s, %s" -#: src/irc/irc-recv.c:3957 +#: src/irc/irc-recv.c:3960 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "%s impossible d'identifier la date/heure pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:3966 src/irc/irc-recv.c:4039 +#: src/irc/irc-recv.c:3969 src/irc/irc-recv.c:4042 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "" "%s impossible de dterminer le nom d'utilisateur pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:4015 +#: src/irc/irc-recv.c:4018 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "%s%s%s a invit %s%s%s sur %s%s\n" -#: src/irc/irc-recv.c:4075 +#: src/irc/irc-recv.c:4078 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "Reop canal %s%s%s: %s%s\n" -#: src/irc/irc-recv.c:4572 +#: src/irc/irc-recv.c:4575 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "%s impossible de crer l'utilisateur \"%s\" pour le canal \"%s\"\n" -#: src/irc/irc-recv.c:4630 +#: src/irc/irc-recv.c:4633 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "Utilisateurs %s%s%s: %s[" -#: src/irc/irc-recv.c:4651 +#: src/irc/irc-recv.c:4654 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" "Canal %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nicks" msgstr "utilisateurs" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nick" msgstr "utilisateur" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "ops" msgstr "ops" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "op" msgstr "op" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfops" msgstr "halfops" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfop" msgstr "halfop" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voices" msgstr "voices" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voice" msgstr "voice" -#: src/irc/irc-recv.c:4676 +#: src/irc/irc-recv.c:4679 msgid "normal" msgstr "normal" -#: src/irc/irc-recv.c:4777 +#: src/irc/irc-recv.c:4780 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "%s[%s%s%s] %s%s%s banni par " -#: src/irc/irc-recv.c:4812 +#: src/irc/irc-recv.c:4815 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "%s[%s%s%s] %s%s%s banni\n" -#: src/irc/irc-recv.c:4947 +#: src/irc/irc-recv.c:4950 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" "%s: l'utilisateur \"%s\" est dj en cours d'utilisation, essai avec le 2me " "nom d'utilisateur \"%s\"\n" -#: src/irc/irc-recv.c:4959 +#: src/irc/irc-recv.c:4962 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" "%s: l'utilisateur \"%s\" est dj en cours d'utilisation, essai avec le 3me " "nom d'utilisateur \"%s\"\n" -#: src/irc/irc-recv.c:4971 +#: src/irc/irc-recv.c:4974 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " @@ -1957,7 +1957,7 @@ msgstr "" "%s: tous les noms d'utilisateurs dclars sont dj en cours d'utilisation, " "fermeture de la connexion avec le serveur !\n" -#: src/irc/irc-recv.c:4981 +#: src/irc/irc-recv.c:4984 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -2213,19 +2213,26 @@ msgstr "" "%s extension %s: impossible d'ajouter le gestionnaire de temps (mmoire " "insuffisante)\n" -#: src/plugins/plugins.c:657 +#: src/plugins/plugins.c:422 +#, c-format +msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n" +msgstr "" +"%s extension %s: impossible d'ajouter le gestionnaire de clavier (mmoire " +"insuffisante)\n" + +#: src/plugins/plugins.c:758 #, c-format msgid "%s unable to load plugin \"%s\": %s\n" msgstr "%s impossible de charger l'extension \"%s\": %s\n" -#: src/plugins/plugins.c:668 +#: src/plugins/plugins.c:769 #, c-format msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n" msgstr "" "%s le symbole \"plugin_name\" est introuvable dans l'extension \"%s\", chec " "de chargement\n" -#: src/plugins/plugins.c:679 +#: src/plugins/plugins.c:780 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" @@ -2233,7 +2240,7 @@ msgstr "" "%s impossible de charger l'extension \"%s\": une extension avec le mme nom " "existe dj\n" -#: src/plugins/plugins.c:691 +#: src/plugins/plugins.c:792 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" @@ -2241,7 +2248,7 @@ msgstr "" "%s le symbole \"plugin_description\" est introuvable dans l'extension \"%s" "\", chec de chargement\n" -#: src/plugins/plugins.c:702 +#: src/plugins/plugins.c:803 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" @@ -2249,7 +2256,7 @@ msgstr "" "%s le symbole \"plugin_version\" est introuvable dans l'extension \"%s\", " "chec de chargement\n" -#: src/plugins/plugins.c:713 +#: src/plugins/plugins.c:814 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " @@ -2258,32 +2265,32 @@ msgstr "" "%s la fonction \"weechat_plugin_init\" est introuvable dans l'extension \"%s" "\", chec de chargement\n" -#: src/plugins/plugins.c:776 +#: src/plugins/plugins.c:879 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "Initialisation de l'extension \"%s\" %s\n" -#: src/plugins/plugins.c:784 +#: src/plugins/plugins.c:887 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "%s impossible d'initialiser l'extension \"%s\"\n" -#: src/plugins/plugins.c:795 +#: src/plugins/plugins.c:898 #, c-format msgid "%s unable to load plugin \"%s\" (not enough memory)\n" msgstr "%s impossible de charger l'extension \"%s\" (mmoire insuffisante)\n" -#: src/plugins/plugins.c:803 +#: src/plugins/plugins.c:906 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "Extension \"%s\" (%s) charge.\n" -#: src/plugins/plugins.c:970 +#: src/plugins/plugins.c:1073 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "Extension \"%s\" dcharge.\n" -#: src/plugins/plugins.c:976 src/common/command.c:3384 +#: src/plugins/plugins.c:1079 src/common/command.c:3427 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "%s extension \"%s\" non trouve\n" @@ -2319,317 +2326,317 @@ msgstr "" "des options sont modifies.\n" "#\n" -#: src/plugins/plugins-interface.c:360 +#: src/plugins/plugins-interface.c:376 #, c-format msgid "%s server/channel (%s/%s) not found for plugin exec command\n" msgstr "" "%s serveur/canal (%s/%s) non trouv pour l'excution de commande de " "l'extension\n" -#: src/gui/curses/gui-input.c:353 +#: src/gui/curses/gui-input.c:386 #, c-format msgid "Day changed to %s\n" msgstr "Jour chang: %s\n" -#: src/gui/curses/gui-input.c:458 +#: src/gui/curses/gui-input.c:491 #, c-format msgid "%s lag is high, disconnecting from server...\n" msgstr "%s le lag est lev, dconnexion du serveur...\n" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "bytes" msgstr "octets" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Kb" msgstr "Ko" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Mb" msgstr "Mo" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Gb" msgstr "Go" -#: src/gui/curses/gui-display.c:1603 +#: src/gui/curses/gui-display.c:1644 msgid "ETA" msgstr "ETA" -#: src/gui/curses/gui-display.c:1965 +#: src/gui/curses/gui-display.c:2006 msgid "" msgstr "" -#: src/gui/curses/gui-display.c:1977 +#: src/gui/curses/gui-display.c:2018 msgid "(away)" msgstr "(absent)" -#: src/gui/curses/gui-display.c:2111 +#: src/gui/curses/gui-display.c:2152 msgid "[not connected] " msgstr "[non connect] " -#: src/gui/curses/gui-display.c:2117 +#: src/gui/curses/gui-display.c:2158 msgid " " msgstr " " -#: src/gui/curses/gui-display.c:2129 +#: src/gui/curses/gui-display.c:2170 msgid "Act: " msgstr "Act: " -#: src/gui/curses/gui-display.c:2210 +#: src/gui/curses/gui-display.c:2251 msgid "RAW_IRC" msgstr "IRC_BRUT" -#: src/gui/curses/gui-display.c:2231 +#: src/gui/curses/gui-display.c:2272 #, c-format msgid "Lag: %.1f" msgstr "Lag: %.1f" -#: src/gui/curses/gui-display.c:2247 +#: src/gui/curses/gui-display.c:2288 msgid "-MORE-" msgstr "-PLUS-" -#: src/gui/curses/gui-display.c:2506 +#: src/gui/curses/gui-display.c:2587 msgid " [A] Accept" msgstr " [A] Accepter" -#: src/gui/curses/gui-display.c:2507 src/gui/curses/gui-display.c:2511 +#: src/gui/curses/gui-display.c:2588 src/gui/curses/gui-display.c:2592 msgid " [C] Cancel" msgstr " [C] Annuler" -#: src/gui/curses/gui-display.c:2516 +#: src/gui/curses/gui-display.c:2597 msgid " [R] Remove" msgstr " [R] Retirer" -#: src/gui/curses/gui-display.c:2520 +#: src/gui/curses/gui-display.c:2601 msgid " [P] Purge old DCC" msgstr " [P] Purger anciens DCC" -#: src/gui/curses/gui-display.c:2521 +#: src/gui/curses/gui-display.c:2602 msgid " [Q] Close DCC view" msgstr " [Q] Fermer la vue DCC" -#: src/gui/curses/gui-display.c:2529 +#: src/gui/curses/gui-display.c:2610 msgid " [Q] Close raw data view" msgstr " [Q] Fermer la vue IRC brut" -#: src/gui/gtk/gui-display.c:2263 +#: src/gui/gtk/gui-display.c:2276 msgid "server" msgstr "serveur" -#: src/gui/gui-common.c:770 +#: src/gui/gui-common.c:777 msgid "Not enough memory for new line\n" msgstr "Pas assez de mmoire pour une nouvelle ligne !\n" -#: src/gui/gui-common.c:1139 +#: src/gui/gui-common.c:1146 msgid "Not enough memory for infobar message\n" msgstr "Pas assez de mmoire pour un message de la barre d'infos\n" -#: src/gui/gui-keyboard.c:45 +#: src/gui/gui-keyboard.c:49 msgid "terminate line" msgstr "terminer la ligne" -#: src/gui/gui-keyboard.c:47 +#: src/gui/gui-keyboard.c:51 msgid "complete word" msgstr "complter le mot" -#: src/gui/gui-keyboard.c:49 +#: src/gui/gui-keyboard.c:53 msgid "delete previous char" msgstr "effacer le caractre prcdent" -#: src/gui/gui-keyboard.c:51 +#: src/gui/gui-keyboard.c:55 msgid "delete next char" msgstr "effacer le caractre suivant" -#: src/gui/gui-keyboard.c:53 +#: src/gui/gui-keyboard.c:57 msgid "delete until end of line" msgstr "effacer jusqu' la fin de la ligne" -#: src/gui/gui-keyboard.c:55 +#: src/gui/gui-keyboard.c:59 msgid "delete until beginning of line" msgstr "effacer jusqu'au dbut de la ligne" -#: src/gui/gui-keyboard.c:57 +#: src/gui/gui-keyboard.c:61 msgid "delete entire line" msgstr "effacer la ligne entire" -#: src/gui/gui-keyboard.c:59 +#: src/gui/gui-keyboard.c:63 msgid "delete previous word" msgstr "effacer le mot prcdent" -#: src/gui/gui-keyboard.c:61 +#: src/gui/gui-keyboard.c:65 msgid "delete next word" msgstr "effacer le mot suivant" -#: src/gui/gui-keyboard.c:63 +#: src/gui/gui-keyboard.c:67 msgid "paste current clipboard content" msgstr "coller le contenu du presse-papier" -#: src/gui/gui-keyboard.c:65 +#: src/gui/gui-keyboard.c:69 msgid "transpose chars" msgstr "inverser les caractres" -#: src/gui/gui-keyboard.c:67 +#: src/gui/gui-keyboard.c:71 msgid "go to beginning of line" msgstr "aller au dbut de la ligne" -#: src/gui/gui-keyboard.c:69 +#: src/gui/gui-keyboard.c:73 msgid "go to end of line" msgstr "aller la fin de la ligne" -#: src/gui/gui-keyboard.c:71 +#: src/gui/gui-keyboard.c:75 msgid "move one char left" msgstr "se dplacer d'un caractre gauche" -#: src/gui/gui-keyboard.c:73 +#: src/gui/gui-keyboard.c:77 msgid "move to previous word" msgstr "se dplacer au mot prcdent" -#: src/gui/gui-keyboard.c:75 +#: src/gui/gui-keyboard.c:79 msgid "move one char right" msgstr "se dplacer d'un caractre droite" -#: src/gui/gui-keyboard.c:77 +#: src/gui/gui-keyboard.c:81 msgid "move to next word" msgstr "se dplacer au mot suivant" -#: src/gui/gui-keyboard.c:79 +#: src/gui/gui-keyboard.c:83 msgid "call previous command in history" msgstr "appeler la commande prcdente dans l'historique" -#: src/gui/gui-keyboard.c:81 +#: src/gui/gui-keyboard.c:85 msgid "call previous command in global history" msgstr "appeler la commande prcdente dans l'historique global" -#: src/gui/gui-keyboard.c:83 +#: src/gui/gui-keyboard.c:87 msgid "call next command in history" msgstr "appeler la commande suivante dans l'historique" -#: src/gui/gui-keyboard.c:85 +#: src/gui/gui-keyboard.c:89 msgid "call next command in global history" msgstr "appeler la commande suivante dans l'historique global" -#: src/gui/gui-keyboard.c:87 +#: src/gui/gui-keyboard.c:91 msgid "scroll one page up" msgstr "faire dfiler d'une page vers le haut" -#: src/gui/gui-keyboard.c:89 +#: src/gui/gui-keyboard.c:93 msgid "scroll one page down" msgstr "faire dfiler d'une page vers le bas" -#: src/gui/gui-keyboard.c:91 +#: src/gui/gui-keyboard.c:95 msgid "scroll a few lines up" msgstr "faire dfiler de quelques lignes vers le haut" -#: src/gui/gui-keyboard.c:93 +#: src/gui/gui-keyboard.c:97 msgid "scroll a few lines down" msgstr "faire dfiler de quelques lignes vers le bas" -#: src/gui/gui-keyboard.c:95 +#: src/gui/gui-keyboard.c:99 msgid "scroll to top of buffer" msgstr "faire dfiler jusqu'au dbut du tampon" -#: src/gui/gui-keyboard.c:97 +#: src/gui/gui-keyboard.c:101 msgid "scroll to bottom of buffer" msgstr "faire dfiler jusqu' la fin du tampon" -#: src/gui/gui-keyboard.c:99 +#: src/gui/gui-keyboard.c:103 msgid "display beginning of nicklist" msgstr "afficher le dbut de la liste des pseudos" -#: src/gui/gui-keyboard.c:101 +#: src/gui/gui-keyboard.c:105 msgid "display end of nicklist" msgstr "afficher la fin de la liste des pseudos" -#: src/gui/gui-keyboard.c:103 +#: src/gui/gui-keyboard.c:107 msgid "scroll nicklist one page up" msgstr "faire dfiler la liste des pseudos d'une page vers le haut" -#: src/gui/gui-keyboard.c:105 +#: src/gui/gui-keyboard.c:109 msgid "scroll nicklist one page down" msgstr "faire dfiler la liste des pseudos d'une page vers le bas" -#: src/gui/gui-keyboard.c:107 +#: src/gui/gui-keyboard.c:111 msgid "jump to buffer with activity" msgstr "sauter au tampon avec de l'activit" -#: src/gui/gui-keyboard.c:109 +#: src/gui/gui-keyboard.c:113 msgid "jump to DCC buffer" msgstr "sauter au tampon DCC" -#: src/gui/gui-keyboard.c:111 +#: src/gui/gui-keyboard.c:115 msgid "jump to raw IRC data buffer" msgstr "sauter au tampon IRC brut" -#: src/gui/gui-keyboard.c:113 +#: src/gui/gui-keyboard.c:117 msgid "jump to last buffer" msgstr "sauter au dernier tampon" -#: src/gui/gui-keyboard.c:115 +#: src/gui/gui-keyboard.c:119 msgid "jump to server buffer" msgstr "sauter au tampon du serveur" -#: src/gui/gui-keyboard.c:117 +#: src/gui/gui-keyboard.c:121 msgid "jump to next server" msgstr "sauter au prochain serveur" -#: src/gui/gui-keyboard.c:119 +#: src/gui/gui-keyboard.c:123 msgid "switch active server on servers buffer" msgstr "bascule de serveur actif sur le tampon des serveurs" -#: src/gui/gui-keyboard.c:121 +#: src/gui/gui-keyboard.c:125 msgid "scroll to previous highlight in buffer" msgstr "scroller jusqu'au highlight prcdent du tampon" -#: src/gui/gui-keyboard.c:123 +#: src/gui/gui-keyboard.c:127 msgid "scroll to next highlight in buffer" msgstr "scroller jusqu'au highlight suivant du tampon" -#: src/gui/gui-keyboard.c:125 +#: src/gui/gui-keyboard.c:129 msgid "scroll to first unread line in buffer" msgstr "scroller jusqu' la premire ligne non lue du tampon" -#: src/gui/gui-keyboard.c:127 +#: src/gui/gui-keyboard.c:131 msgid "clear hotlist" msgstr "effacer la liste d'activit" -#: src/gui/gui-keyboard.c:129 +#: src/gui/gui-keyboard.c:133 msgid "clear infobar" msgstr "effacer la barre d'infos" -#: src/gui/gui-keyboard.c:131 +#: src/gui/gui-keyboard.c:135 msgid "refresh screen" msgstr "rafrachir l'cran" -#: src/gui/gui-keyboard.c:133 +#: src/gui/gui-keyboard.c:137 msgid "grab a key" msgstr "capturer une touche" -#: src/gui/gui-keyboard.c:444 src/common/command.c:2450 +#: src/gui/gui-keyboard.c:448 src/common/command.c:2453 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s impossible de crer la touche \"%s\"\n" -#: src/gui/gui-keyboard.c:455 +#: src/gui/gui-keyboard.c:459 #, c-format msgid "%s unable to bind key \"%s\" (invalid function name: \"%s\")\n" msgstr "" "%s impossible de crer la touche \"%s\" (nom fonction incorrect: \"%s\")\n" -#: src/gui/gui-keyboard.c:468 +#: src/gui/gui-keyboard.c:472 #, c-format msgid "%s not enough memory for key binding\n" msgstr "%s pas assez de mmoire pour la touche\n" -#: src/common/command.c:45 +#: src/common/command.c:48 msgid "create an alias for a command" msgstr "crer un alias pour une commande" -#: src/common/command.c:46 +#: src/common/command.c:49 msgid "[alias_name [command [arguments]]" msgstr "[nom_alias [commande [paramtres]]" -#: src/common/command.c:47 +#: src/common/command.c:50 msgid "" "alias_name: name of alias\n" " command: command name (WeeChat or IRC command, without first '/')\n" @@ -2640,15 +2647,15 @@ msgstr "" "'/')\n" "paramtres: paramtres pour la commande" -#: src/common/command.c:52 +#: src/common/command.c:55 msgid "manage buffers" msgstr "gestion des tampons" -#: src/common/command.c:53 +#: src/common/command.c:56 msgid "[action [args] | number | [[server] [channel]]]" msgstr "[action [args] | nombre | [[serveur] [canal]]]" -#: src/common/command.c:54 +#: src/common/command.c:57 msgid "" " action: action to do:\n" " move: move buffer in the list (may be relative, for example -1)\n" @@ -2672,7 +2679,7 @@ msgstr "" " canal: sauter au tampon par serveur et/ou nom de canal\n" " nombre: sauter au tampon qui a ce numro" -#: src/common/command.c:63 +#: src/common/command.c:66 msgid "" "launch WeeChat/IRC builtin command (do not look at plugins handlers or " "aliases)" @@ -2680,11 +2687,11 @@ msgstr "" "lance une commande WeeChat/IRC interne (sans regarder les gestionnaires de " "commandes et les alias)" -#: src/common/command.c:64 +#: src/common/command.c:67 msgid "command" msgstr "commande" -#: src/common/command.c:65 +#: src/common/command.c:68 msgid "" "command: command to execute (a '/' is automatically added if not found at " "beginning of command)\n" @@ -2692,15 +2699,15 @@ msgstr "" "commande: commande excuter (un '/' est automatiquement ajout s'il n'est " "pas trouv au dbut de la commande)\n" -#: src/common/command.c:67 +#: src/common/command.c:70 msgid "change charset for server or channel" msgstr "changer le jeu de caractres pour le serveur ou le canal" -#: src/common/command.c:68 +#: src/common/command.c:71 msgid "[(decode_iso | decode_utf | encode) charset]" msgstr "[(decode_iso | decode_utf | encode) charset]" -#: src/common/command.c:69 +#: src/common/command.c:72 msgid "" "decode_iso: charset used for decoding ISO\n" "decode_utf: charset used for decoding UTF\n" @@ -2712,47 +2719,47 @@ msgstr "" " encode: jeu de caractres utilis pour encoder les messages\n" " charset: jeu de caractres utiliser (par exemple: ISO-8859-15, UTF-8,..)" -#: src/common/command.c:74 +#: src/common/command.c:77 msgid "clear window(s)" msgstr "effacer la/les fentre(s)" -#: src/common/command.c:75 +#: src/common/command.c:78 msgid "[-all]" msgstr "[-all]" -#: src/common/command.c:76 +#: src/common/command.c:79 msgid "-all: clear all windows" msgstr "-all: effacer toutes les fentres" -#: src/common/command.c:78 +#: src/common/command.c:81 msgid "connect to a server" msgstr "se connecter un serveur" -#: src/common/command.c:79 src/common/command.c:83 +#: src/common/command.c:82 src/common/command.c:86 msgid "[servername]" msgstr "[nom_serveur]" -#: src/common/command.c:80 +#: src/common/command.c:83 msgid "servername: server name to connect" msgstr "nom_serveur: nom du serveur pour se connecter" -#: src/common/command.c:82 +#: src/common/command.c:85 msgid "disconnect from a server" msgstr "se dconnecter d'un serveur" -#: src/common/command.c:84 +#: src/common/command.c:87 msgid "servername: server name to disconnect" msgstr "nom_serveur: nom du serveur pour se dconnecter" -#: src/common/command.c:86 +#: src/common/command.c:89 msgid "print debug messages" msgstr "affiche des messages de debogage" -#: src/common/command.c:87 +#: src/common/command.c:90 msgid "dump | windows" msgstr "dump | windows" -#: src/common/command.c:88 +#: src/common/command.c:91 msgid "" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" @@ -2762,27 +2769,27 @@ msgstr "" "mmes messages sont affichs lorsque WeeChat plante)\n" "windows: affiche l'arbre des fentres" -#: src/common/command.c:91 +#: src/common/command.c:94 msgid "display help about commands" msgstr "afficher l'aide sur les commandes" -#: src/common/command.c:92 +#: src/common/command.c:95 msgid "[command]" msgstr "[commande]" -#: src/common/command.c:93 +#: src/common/command.c:96 msgid "command: name of a WeeChat or IRC command" msgstr "commande: nom d'une commande WeeChat ou IRC" -#: src/common/command.c:95 +#: src/common/command.c:98 msgid "show buffer command history" msgstr "affiche l'historique des commandes du tampon" -#: src/common/command.c:96 +#: src/common/command.c:99 msgid "[clear | value]" msgstr "[clear | valeur]" -#: src/common/command.c:97 +#: src/common/command.c:100 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2790,15 +2797,15 @@ msgstr "" "clear: effacer l'historique\n" "valeur: nombre d'entres dans l'historique afficher" -#: src/common/command.c:100 +#: src/common/command.c:103 msgid "ignore IRC messages and/or hosts" msgstr "ignorer des messages IRC et/ou des masques" -#: src/common/command.c:101 +#: src/common/command.c:104 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[masque [[type | commande] [canal [serveur]]]]" -#: src/common/command.c:102 +#: src/common/command.c:105 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2818,15 +2825,15 @@ msgstr "" "Pour chaque paramtre, '*' signifie tou(te)s.\n" "Sans paramtres, la commande /ignore liste les ignore dfinis." -#: src/common/command.c:111 +#: src/common/command.c:114 msgid "bind/unbind keys" msgstr "associer/librer des touches" -#: src/common/command.c:112 +#: src/common/command.c:115 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "[touche fonction/commande] [unbind touche] [functions] [reset -yes]" -#: src/common/command.c:113 +#: src/common/command.c:116 msgid "" " key: bind this key to an internal function or a command (beginning by " "\"/\")\n" @@ -2843,15 +2850,15 @@ msgstr "" " reset: restaure les touches aux valeurs par dfaut et supprime TOUTES " "les touches personnelles (utiliser avec prcaution !)" -#: src/common/command.c:120 +#: src/common/command.c:123 msgid "list/load/unload plugins" msgstr "liste/charge/dcharge des extensions" -#: src/common/command.c:121 +#: src/common/command.c:124 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[load fichier] | [autoload] | [reload] | [unload]" -#: src/common/command.c:122 +#: src/common/command.c:125 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2861,11 +2868,11 @@ msgstr "" "\n" "Sans paramtre, la commande /plugin liste toutes les extensions charges." -#: src/common/command.c:125 +#: src/common/command.c:128 msgid "list, add or remove servers" msgstr "liste, ajoute ou retire des serveurs" -#: src/common/command.c:126 +#: src/common/command.c:129 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2877,7 +2884,7 @@ msgstr "" "nom_utilisateur] [-realname nom_rel] [-command commande] [-autojoin canal[," "canal]] ] | [del nom_serveur]" -#: src/common/command.c:131 +#: src/common/command.c:134 msgid "" "servername: server name, for internal and display use\n" " hostname: name or IP address of server\n" @@ -2903,27 +2910,27 @@ msgstr "" "nom_utilisateur: nom d'utilisateur\n" " nom_rel: nom rel de l'utilisateur" -#: src/common/command.c:143 +#: src/common/command.c:146 msgid "save config to disk" msgstr "sauvegarder la configuration sur disque" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "[file]" msgstr "[fichier]" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "file: filename for writing config" msgstr "fichier: fichier pour sauvegarder la configuration" -#: src/common/command.c:146 +#: src/common/command.c:149 msgid "set config options" msgstr "modifier des options de configuration" -#: src/common/command.c:147 src/common/command.c:155 +#: src/common/command.c:150 src/common/command.c:158 msgid "[option [ = value]]" msgstr "[option [ = valeur]]" -#: src/common/command.c:148 +#: src/common/command.c:151 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2939,11 +2946,11 @@ msgstr "" "L'option peut tre: nomserveur.server_xxx o \"nomserveur\" est le nom " "interne d'un serveur et \"xxx\" une option pour ce serveur." -#: src/common/command.c:154 +#: src/common/command.c:157 msgid "set plugin config options" msgstr "modifier des options de configuration des extensions" -#: src/common/command.c:156 +#: src/common/command.c:159 msgid "" "option: name of a plugin option\n" " value: value for option\n" @@ -2956,27 +2963,27 @@ msgstr "" "L'option est au format: extension.option, par exemple: perl.monscript." "variable1" -#: src/common/command.c:160 +#: src/common/command.c:163 msgid "remove an alias" msgstr "supprimer un alias" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name" msgstr "nom_alias" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name: name of alias to remove" msgstr "nom_alias: nom de l'alias supprimer" -#: src/common/command.c:163 +#: src/common/command.c:166 msgid "unignore IRC messages and/or hosts" msgstr "supprimer le ignore des messages IRC et/ou des masques" -#: src/common/command.c:164 +#: src/common/command.c:167 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[nombre | [masque [[type | commande] [canal [serveur]]]]]" -#: src/common/command.c:165 +#: src/common/command.c:168 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2999,11 +3006,11 @@ msgstr "" "Pour chaque paramtre, '*' signifie tou(te)s.\n" "Sans paramtre, /ignore liste les ignore dfinis." -#: src/common/command.c:175 +#: src/common/command.c:178 msgid "upgrade WeeChat without disconnecting from servers" msgstr "mettre jour WeeChat sans se dconnecter des serveurs" -#: src/common/command.c:177 +#: src/common/command.c:180 msgid "" "This command run again WeeChat binary, so it should have been compiled " "installed with a package manager before running this command." @@ -3012,23 +3019,23 @@ msgstr "" "compil ou install via un gestionnaire de paquet avant de lancer cette " "commande." -#: src/common/command.c:180 +#: src/common/command.c:183 msgid "show WeeChat uptime" msgstr "montrer l'uptime de WeeChat" -#: src/common/command.c:181 +#: src/common/command.c:184 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:182 +#: src/common/command.c:185 msgid "-o: send uptime on current channel as an IRC message" msgstr "-o: envoyer l'uptime sur le canal courant en tant que message IRC" -#: src/common/command.c:184 +#: src/common/command.c:187 msgid "manage windows" msgstr "gestion des fentres" -#: src/common/command.c:185 +#: src/common/command.c:188 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" @@ -3036,7 +3043,7 @@ msgstr "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[ptc] | resize pct | merge [all]]" -#: src/common/command.c:187 +#: src/common/command.c:190 #, c-format msgid "" " list: list opened windows (no parameter implies this list)\n" @@ -3075,24 +3082,24 @@ msgstr "" "Par exemple 25 signifie crer une fentre qui a pour taille: " "taille_courante / 4" -#: src/common/command.c:384 src/common/command.c:738 +#: src/common/command.c:387 src/common/command.c:741 #, c-format msgid "%s circular reference when calling alias \"/%s\"\n" msgstr "%s rfrence circulaire lors de l'appel l'alias \"%s\"\n" -#: src/common/command.c:718 src/common/command.c:854 src/common/command.c:925 +#: src/common/command.c:721 src/common/command.c:857 src/common/command.c:928 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s la commande \"%s\" a chou\n" -#: src/common/command.c:820 +#: src/common/command.c:823 #, c-format msgid "%s wrong argument count for %s command \"%s\" (expected: %d arg%s)\n" msgstr "" "%s nombre de paramtres incorrect pour la commande %s \"%s\" (attendu: %d " "paramtre%s)\n" -#: src/common/command.c:832 +#: src/common/command.c:835 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -3101,14 +3108,14 @@ msgstr "" "%s nombre de paramtres incorrect pour la commande %s \"%s\" (attendu: entre " "%d et %d paramtre%s)\n" -#: src/common/command.c:881 +#: src/common/command.c:884 #, c-format msgid "%s wrong argument count for IRC command \"%s\" (expected: %d arg%s)\n" msgstr "" "%s nombre de paramtres incorrect pour la commande IRC \"%s\" (attendu: %d " "paramtre%s)\n" -#: src/common/command.c:893 +#: src/common/command.c:896 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -3117,288 +3124,314 @@ msgstr "" "%s nombre de paramtres incorrect pour la commande IRC \"%s\" (attendu: " "entre %d et %d paramtre%s)\n" -#: src/common/command.c:908 +#: src/common/command.c:911 #, c-format msgid "%s command \"%s\" needs a server connection!\n" msgstr "%s la commande \"%s\" ncessite une connexion au serveur !\n" -#: src/common/command.c:938 +#: src/common/command.c:941 #, c-format msgid "%s unknown command \"%s\" (type /help for help)\n" msgstr "%s commande \"%s\" inconnue (tapez /help pour l'aide)\n" -#: src/common/command.c:1083 +#: src/common/command.c:1086 msgid "This window is not a channel!\n" msgstr "Cette fentre n'est pas un canal !\n" -#: src/common/command.c:1116 src/common/command.c:1153 -#: src/common/command.c:1288 +#: src/common/command.c:1119 src/common/command.c:1156 +#: src/common/command.c:1291 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s paramtres manquants pour la commande \"%s\"\n" -#: src/common/command.c:1125 +#: src/common/command.c:1128 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" cr\n" -#: src/common/command.c:1131 +#: src/common/command.c:1134 #, c-format msgid "Failed to create alias \"%s\" => \"%s\" (not enough memory)\n" msgstr "Impossible de crer l'alias \"%s\" => \"%s\" (pas assez de mmoire)\n" -#: src/common/command.c:1143 src/common/command.c:1164 +#: src/common/command.c:1146 src/common/command.c:1167 msgid "List of aliases:\n" msgstr "Liste des alias:\n" -#: src/common/command.c:1178 +#: src/common/command.c:1181 msgid "No alias defined.\n" msgstr "Aucun alias dfini.\n" -#: src/common/command.c:1197 +#: src/common/command.c:1200 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServeur: %s%s\n" -#: src/common/command.c:1202 +#: src/common/command.c:1205 #, c-format msgid "%snot connected\n" msgstr "%snon connect\n" -#: src/common/command.c:1206 +#: src/common/command.c:1209 #, c-format msgid "%sChannel: %s%s %s(server: %s%s%s)\n" msgstr "%sCanal: %s%s %s(serveur: %s%s%s)\n" -#: src/common/command.c:1215 +#: src/common/command.c:1218 #, c-format msgid "%sPrivate with: %s%s %s(server: %s%s%s)\n" msgstr "%sPriv avec: %s%s %s(serveur: %s%s%s)\n" -#: src/common/command.c:1224 src/common/command.c:1236 +#: src/common/command.c:1227 src/common/command.c:1239 #, c-format msgid "%sunknown\n" msgstr "%sinconnu\n" -#: src/common/command.c:1232 +#: src/common/command.c:1235 #, c-format msgid "%sraw IRC data\n" msgstr "%sdonnes IRC brutes\n" -#: src/common/command.c:1267 +#: src/common/command.c:1270 msgid "Opened buffers:\n" msgstr "Tampons ouverts:\n" -#: src/common/command.c:1312 +#: src/common/command.c:1315 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s numro de tampon incorrect\n" -#: src/common/command.c:1329 +#: src/common/command.c:1332 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s impossible de fermer le tampon unique\n" -#: src/common/command.c:1340 +#: src/common/command.c:1343 #, c-format msgid "%s can not close server buffer while channels are opened\n" msgstr "" "%s impossible de fermer le tampon du serveur tant que des canaux sont " "ouverts\n" -#: src/common/command.c:1398 +#: src/common/command.c:1401 msgid "Notify levels: " msgstr "Niveaux de notification: " -#: src/common/command.c:1404 +#: src/common/command.c:1407 msgid "Raw IRC data" msgstr "Donnes IRC brutes" -#: src/common/command.c:1428 src/common/command.c:1478 +#: src/common/command.c:1431 src/common/command.c:1481 #, c-format msgid "%s incorrect notify level (must be between %d and %d)\n" msgstr "%s niveau de notification incorrect (doit tre entre %d et %d)\n" -#: src/common/command.c:1438 +#: src/common/command.c:1441 #, c-format msgid "%s incorrect buffer for notify (must be channel or private)\n" msgstr "" "%s tampon incorrect pour la notification (doit tre un canal ou un priv)\n" -#: src/common/command.c:1448 +#: src/common/command.c:1451 #, c-format msgid "New notify level for %s%s%s: %s%d %s" msgstr "Nouveau niveau de notification pour %s%s%s: %s%d %s" -#: src/common/command.c:1458 +#: src/common/command.c:1461 msgid "(hotlist: never)\n" msgstr "(hotlist: jamais)\n" -#: src/common/command.c:1461 +#: src/common/command.c:1464 msgid "(hotlist: highlights)\n" msgstr "(hotlist: highlights)\n" -#: src/common/command.c:1464 +#: src/common/command.c:1467 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: highlights + messages)\n" -#: src/common/command.c:1467 +#: src/common/command.c:1470 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "(hotlist: highlights + messages + join/part (tous))\n" -#: src/common/command.c:1598 +#: src/common/command.c:1601 #, c-format msgid "Charsets for server %s%s%s: " msgstr "Jeux de caractres pour le serveur %s%s%s: " -#: src/common/command.c:1606 +#: src/common/command.c:1609 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "Jeux de caractres pour le canal %s%s%s: " -#: src/common/command.c:1614 +#: src/common/command.c:1617 #, c-format msgid "Charsets for private %s%s%s: " msgstr "Jeux de caractres pour le priv %s%s%s: " -#: src/common/command.c:1642 src/common/command.c:1672 -#: src/common/command.c:1702 +#: src/common/command.c:1645 src/common/command.c:1675 +#: src/common/command.c:1705 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr " (hrit: \"%s%s%s\")" -#: src/common/command.c:1771 src/common/command.c:1799 -#: src/common/command.c:1941 src/common/command.c:2569 -#: src/common/command.c:3833 src/common/command.c:3876 +#: src/common/command.c:1774 src/common/command.c:1802 +#: src/common/command.c:1944 src/common/command.c:2610 +#: src/common/command.c:3876 src/common/command.c:3919 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "%s option inconnue pour la commande \"%s\"\n" -#: src/common/command.c:1834 +#: src/common/command.c:1837 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s dj connect au serveur \"%s\" !\n" -#: src/common/command.c:1842 +#: src/common/command.c:1845 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "%s une connexion vers le serveur \"%s\" est en cours !\n" -#: src/common/command.c:1861 src/common/command.c:1990 +#: src/common/command.c:1864 src/common/command.c:1993 #, c-format msgid "%s server not found\n" msgstr "%s serveur non trouv\n" -#: src/common/command.c:1974 +#: src/common/command.c:1977 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s non connect au serveur \"%s\" !\n" -#: src/common/command.c:1982 +#: src/common/command.c:1985 msgid "Auto-reconnection is cancelled\n" msgstr "La reconnexion automatique est annule\n" -#: src/common/command.c:2018 src/common/weechat.c:489 +#: src/common/command.c:2021 src/common/weechat.c:489 #, c-format msgid "%s internal commands:\n" msgstr "Commandes internes %s :\n" -#: src/common/command.c:2028 src/common/weechat.c:509 +#: src/common/command.c:2031 src/common/weechat.c:509 #, c-format msgid "IRC commands:\n" msgstr "Commandes IRC :\n" -#: src/common/command.c:2042 +#: src/common/command.c:2045 msgid "Plugin commands:\n" msgstr "Commandes d'extension :\n" -#: src/common/command.c:2158 +#: src/common/command.c:2161 #, c-format msgid "No help available, \"%s\" is an unknown command\n" msgstr "Pas d'aide disponible, la commande \"%s\" est inconnue\n" -#: src/common/command.c:2227 +#: src/common/command.c:2230 #, c-format msgid "%son %s%s%s/%s%s%s:%s ignoring %s%s%s from %s%s\n" msgstr "%ssur %s%s%s/%s%s%s:%s ignore %s%s%s de %s%s\n" -#: src/common/command.c:2265 +#: src/common/command.c:2268 msgid "List of ignore:\n" msgstr "Liste des ignore:\n" -#: src/common/command.c:2282 +#: src/common/command.c:2285 msgid "No ignore defined.\n" msgstr "Aucun ignore dfini.\n" -#: src/common/command.c:2308 +#: src/common/command.c:2311 msgid "New ignore:" msgstr "Nouveau ignore:" -#: src/common/command.c:2328 +#: src/common/command.c:2331 #, c-format msgid "New key binding: %s" msgstr "Nouvelle touche: %s" -#: src/common/command.c:2367 +#: src/common/command.c:2370 msgid "Key bindings:\n" msgstr "Associations de touches:\n" -#: src/common/command.c:2381 +#: src/common/command.c:2384 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Touche \"%s\" supprime\n" -#: src/common/command.c:2387 +#: src/common/command.c:2390 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "%s impossible de supprimer la touche \"%s\"\n" -#: src/common/command.c:2395 src/common/weechat.c:541 +#: src/common/command.c:2398 src/common/weechat.c:541 #, c-format msgid "Internal key functions:\n" msgstr "Fonctions internes pour les touches:\n" -#: src/common/command.c:2415 +#: src/common/command.c:2418 msgid "Default key bindings restored\n" msgstr "Touches par dfaut restaures\n" -#: src/common/command.c:2421 +#: src/common/command.c:2424 #, c-format msgid "%s \"-yes\" argument is required for keys reset (securuty reason)\n" msgstr "" "%s le paramtre \"-yes\" est requis pour la rinitialisation des touches " "(raison de scurit)\n" -#: src/common/command.c:2482 +#: src/common/command.c:2485 msgid "Plugins loaded:\n" msgstr "Extensions charges :\n" -#: src/common/command.c:2498 +#: src/common/command.c:2501 msgid " message handlers:\n" msgstr " fonctions de message :\n" -#: src/common/command.c:2507 +#: src/common/command.c:2510 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:2514 +#: src/common/command.c:2517 msgid " (no message handler)\n" msgstr " (aucune fonction de message)\n" -#: src/common/command.c:2519 +#: src/common/command.c:2522 msgid " command handlers:\n" msgstr " commandes :\n" -#: src/common/command.c:2540 +#: src/common/command.c:2543 msgid " (no command handler)\n" msgstr " (aucune commande)\n" -#: src/common/command.c:2546 +#: src/common/command.c:2548 +msgid " timer handlers:\n" +msgstr " gestionnaires de temps :\n" + +#: src/common/command.c:2557 +#, c-format +msgid " %d seconds\n" +msgstr " %d secondes\n" + +#: src/common/command.c:2564 +msgid " (no timer handler)\n" +msgstr " (pas de gestionnaire de temps)\n" + +#: src/common/command.c:2569 +msgid " keyboard handlers:\n" +msgstr " gestionnaires de clavier :\n" + +#: src/common/command.c:2579 +msgid " (no keyboard handler)\n" +msgstr " (pas de gestionnaire de clavier)\n" + +#: src/common/command.c:2581 +#, c-format +msgid " %d defined\n" +msgstr " %d dfinis\n" + +#: src/common/command.c:2587 msgid " (no plugin)\n" msgstr " (aucune extension)\n" -#: src/common/command.c:2582 src/common/command.c:3462 +#: src/common/command.c:2623 src/common/command.c:3505 #, c-format msgid "" "Command \"%s\" is not available, WeeChat was built without plugins support.\n" @@ -3406,40 +3439,40 @@ msgstr "" "La commande \"%s\" n'est pas disponible, WeeChat a t compil sans le " "support des extensions.\n" -#: src/common/command.c:2611 +#: src/common/command.c:2654 msgid "Configuration file saved\n" msgstr "Fichier de configuration sauv\n" -#: src/common/command.c:2616 +#: src/common/command.c:2659 #, c-format msgid "%s failed to save configuration file\n" msgstr "%s impossible de sauver le fichier de configuration\n" -#: src/common/command.c:2655 +#: src/common/command.c:2698 msgid "No server.\n" msgstr "Pas de serveur.\n" -#: src/common/command.c:2666 +#: src/common/command.c:2709 #, c-format msgid "Server '%s' not found.\n" msgstr "Serveur '%s' non trouv.\n" -#: src/common/command.c:2678 +#: src/common/command.c:2721 #, c-format msgid "%s missing servername for \"%s\" command\n" msgstr "%s il manque le nom du serveur pour la commande \"%s\"\n" -#: src/common/command.c:2686 +#: src/common/command.c:2729 #, c-format msgid "%s too much arguments for \"%s\" command, ignoring arguments\n" msgstr "%s trop de paramtres pour la commande \"%s\", paramtres ignors\n" -#: src/common/command.c:2696 +#: src/common/command.c:2739 #, c-format msgid "%s server \"%s\" not found for \"%s\" command\n" msgstr "%s le serveur \"%s\" n'existe pas pour la commande \"%s\"\n" -#: src/common/command.c:2704 +#: src/common/command.c:2747 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3448,198 +3481,198 @@ msgstr "" "%s vous ne pouvez pas supprimer le server \"%s\" car vous tes connect " "dessus. Essayez /disconnect %s avant.\n" -#: src/common/command.c:2724 +#: src/common/command.c:2767 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "Le serveur %s%s%s a t supprim\n" -#: src/common/command.c:2743 +#: src/common/command.c:2786 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s paramtres manquants pour la commande \"%s\"\n" -#: src/common/command.c:2753 +#: src/common/command.c:2796 #, c-format msgid "%s server \"%s\" already exists, can't create it!\n" msgstr "%s le serveur \"%s\" existe dj, impossible de le crer !\n" -#: src/common/command.c:2782 src/common/command.c:2810 -#: src/common/command.c:2823 src/common/command.c:2849 +#: src/common/command.c:2825 src/common/command.c:2853 +#: src/common/command.c:2866 src/common/command.c:2892 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s mot de passe manquant pour le paramtre \"%s\"\n" -#: src/common/command.c:2795 +#: src/common/command.c:2838 #, c-format msgid "%s missing nick(s) for \"%s\" parameter\n" msgstr "%s pseudo(s) manquant(s) pour le paramtre \"%s\"\n" -#: src/common/command.c:2836 +#: src/common/command.c:2879 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s commande manquante pour le paramtre \"%s\"\n" -#: src/common/command.c:2874 +#: src/common/command.c:2917 #, c-format msgid "Server %s%s%s created\n" msgstr "Serveur %s%s%s cr\n" -#: src/common/command.c:2883 +#: src/common/command.c:2926 #, c-format msgid "%s unable to create server\n" msgstr "%s impossible de crer le serveur\n" -#: src/common/command.c:2943 +#: src/common/command.c:2986 msgid "(unknown)" msgstr "(inconnu)" -#: src/common/command.c:2966 +#: src/common/command.c:3009 #, c-format msgid "%s(password hidden) " msgstr "%s(mot de passe cach) " -#: src/common/command.c:3064 +#: src/common/command.c:3107 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s serveur \"%s\" non trouv\n" -#: src/common/command.c:3097 src/common/command.c:3145 +#: src/common/command.c:3140 src/common/command.c:3188 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s option de configuration \"%s\" non trouve\n" -#: src/common/command.c:3102 src/common/command.c:3137 +#: src/common/command.c:3145 src/common/command.c:3180 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s valeur incorrecte pour l'option \"%s\"\n" -#: src/common/command.c:3118 +#: src/common/command.c:3161 #, c-format msgid "%s option \"%s\" can not be changed while WeeChat is running\n" msgstr "%s l'option \"%s\" ne peut pas tre change lorsque WeeChat tourne\n" -#: src/common/command.c:3228 +#: src/common/command.c:3271 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Aucune option de configuration trouve avec \"%s\"\n" -#: src/common/command.c:3231 +#: src/common/command.c:3274 msgid "No config option found\n" msgstr "Aucune option de configuration trouve\n" -#: src/common/command.c:3238 +#: src/common/command.c:3281 #, c-format msgid "%sDetail:\n" msgstr "%sDtail :\n" -#: src/common/command.c:3243 +#: src/common/command.c:3286 msgid " . type boolean (values: 'on' or 'off')\n" msgstr " . type boolen (valeurs: 'on' ou 'off')\n" -#: src/common/command.c:3244 src/common/command.c:3267 -#: src/common/command.c:3273 src/common/command.c:3279 +#: src/common/command.c:3287 src/common/command.c:3310 +#: src/common/command.c:3316 src/common/command.c:3322 #: src/common/weechat.c:425 src/common/weechat.c:450 src/common/weechat.c:457 #: src/common/weechat.c:464 #, c-format msgid " . default value: '%s'\n" msgstr " . valeur par dfaut: '%s'\n" -#: src/common/command.c:3249 +#: src/common/command.c:3292 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr " . type entier (valeurs: entre %d et %d)\n" -#: src/common/command.c:3252 src/common/weechat.c:434 +#: src/common/command.c:3295 src/common/weechat.c:434 #, c-format msgid " . default value: %d\n" msgstr " . valeur par dfaut: %d\n" -#: src/common/command.c:3256 +#: src/common/command.c:3299 msgid " . type string (values: " msgstr " . type chane (valeurs: " -#: src/common/command.c:3269 src/common/command.c:3275 -#: src/common/command.c:3281 src/common/weechat.c:452 src/common/weechat.c:459 +#: src/common/command.c:3312 src/common/command.c:3318 +#: src/common/command.c:3324 src/common/weechat.c:452 src/common/weechat.c:459 #: src/common/weechat.c:466 msgid "empty" msgstr "vide" -#: src/common/command.c:3272 +#: src/common/command.c:3315 msgid " . type color (Curses or Gtk color, look at WeeChat doc)\n" msgstr " . type couleur (couleur Curses ou Gtk, voir la doc WeeChat)\n" -#: src/common/command.c:3278 +#: src/common/command.c:3321 msgid " . type string (any string)\n" msgstr " . type chane (toute chane)\n" -#: src/common/command.c:3284 src/common/weechat.c:469 +#: src/common/command.c:3327 src/common/weechat.c:469 #, c-format msgid " . description: %s\n" msgstr " . description: %s\n" -#: src/common/command.c:3295 +#: src/common/command.c:3338 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "option(s) de configuration trouve(s) avec \"%s\"\n" -#: src/common/command.c:3298 +#: src/common/command.c:3341 msgid "config option(s) found\n" msgstr "option(s) de configuration trouve(s)\n" -#: src/common/command.c:3406 +#: src/common/command.c:3449 #, c-format msgid "%s incorrect value for plugin option \"%s\"\n" msgstr "%s valeur incorrecte pour l'option d'extension \"%s\"\n" -#: src/common/command.c:3435 +#: src/common/command.c:3478 #, c-format msgid "No plugin option found with \"%s\"\n" msgstr "Aucune option de configuration d'extension trouve avec \"%s\"\n" -#: src/common/command.c:3438 +#: src/common/command.c:3481 msgid "No plugin option found\n" msgstr "Aucune option de configuration d'extension trouve\n" -#: src/common/command.c:3448 +#: src/common/command.c:3491 #, c-format msgid "plugin option(s) found with \"%s\"\n" msgstr "option(s) de configuration d'extension trouve(s) avec \"%s\"\n" -#: src/common/command.c:3451 +#: src/common/command.c:3494 msgid "plugin option(s) found\n" msgstr "option(s) de configuration d'extension trouve(s)\n" -#: src/common/command.c:3489 +#: src/common/command.c:3532 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias ou commande \"%s\" non trouv\n" -#: src/common/command.c:3499 +#: src/common/command.c:3542 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" supprim\n" -#: src/common/command.c:3559 +#: src/common/command.c:3602 msgid "ignore were removed.\n" msgstr "ignore ont t supprims.\n" -#: src/common/command.c:3561 +#: src/common/command.c:3604 msgid "ignore was removed.\n" msgstr "ignore a t supprim.\n" -#: src/common/command.c:3566 +#: src/common/command.c:3609 #, c-format msgid "%s no ignore found\n" msgstr "%s aucun ignore trouv\n" -#: src/common/command.c:3600 +#: src/common/command.c:3643 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "" "%s impossible de mettre jour: une connexion au moins un serveur est en " "cours\n" -#: src/common/command.c:3610 +#: src/common/command.c:3653 #, c-format msgid "" "%s can't upgrade: connection to at least one SSL server is active (should be " @@ -3648,35 +3681,35 @@ msgstr "" "%s impossible de mettre jour: une connexion au moins un serveur SSL est " "active (devrait tre corrig dans une future version)\n" -#: src/common/command.c:3626 +#: src/common/command.c:3669 msgid "Upgrading WeeChat...\n" msgstr "Mise jour de WeeChat...\n" -#: src/common/command.c:3633 +#: src/common/command.c:3676 #, c-format msgid "%s unable to save session in file\n" msgstr "%s impossible de sauver la session dans le fichier\n" -#: src/common/command.c:3659 +#: src/common/command.c:3702 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "%s l'excution a chou (programme: \"%s\"), sortie de WeeChat\n" -#: src/common/command.c:3699 +#: src/common/command.c:3742 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "Uptime WeeChat: %d %s %02d:%02d:%02d, dmarr le %s" -#: src/common/command.c:3713 +#: src/common/command.c:3756 #, c-format msgid "WeeChat uptime: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, started on %s%s" msgstr "Uptime WeeChat: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, dmarr le %s%s" -#: src/common/command.c:3757 +#: src/common/command.c:3800 msgid "Opened windows:\n" msgstr "Fentres ouvertes:\n" -#: src/common/command.c:3844 +#: src/common/command.c:3887 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -5308,7 +5341,9 @@ msgstr "nom de machine/IP personnalis #: src/common/weeconfig.c:951 msgid "" "custom hostname/IP for server (optional, if empty local hostname is used)" -msgstr "nom de machine/IP personnalis pour le serveur (optionnel, si non renseign, le nom de machine local est utilis)" +msgstr "" +"nom de machine/IP personnalis pour le serveur (optionnel, si non renseign, " +"le nom de machine local est utilis)" #: src/common/weeconfig.c:954 msgid "command(s) to run when connected to server" diff --git a/weechat/po/hu.po b/weechat/po/hu.po index df7ecef4b..e19ace2c0 100644 --- a/weechat/po/hu.po +++ b/weechat/po/hu.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.9-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2006-03-25 11:52+0100\n" +"POT-Creation-Date: 2006-03-29 20:06+0200\n" "PO-Revision-Date: 2006-03-18 11:46+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -1412,7 +1412,7 @@ msgstr "ki" msgid " (temporary server, will not be saved)" msgstr " (átmeneti szerver, nem lesz mentve)" -#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3423 +#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3426 msgid "seconds" msgstr "másodperc" @@ -1420,7 +1420,7 @@ msgstr "másodperc" msgid "(hidden)" msgstr "(rejtett)" -#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4993 +#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4996 msgid "unknown" msgstr "ismeretlen" @@ -1429,7 +1429,7 @@ msgstr "ismeretlen" msgid "%s: using hostname \"%s\"\n" msgstr "%s: helyi hosztnév \"%s\"\n" -#: src/irc/irc-send.c:221 src/common/command.c:1036 +#: src/irc/irc-send.c:221 src/common/command.c:1039 #, c-format msgid "%s cannot find nick for sending message\n" msgstr "%s nem található név az üzenet küldéséhez\n" @@ -1451,8 +1451,8 @@ msgstr "%s \"%s\" parancs nem futtatható a szerverablakban\n" #: src/irc/irc-send.c:634 src/irc/irc-send.c:646 src/irc/irc-send.c:664 #: src/irc/irc-send.c:1371 src/irc/irc-send.c:1509 src/irc/irc-send.c:2104 -#: src/common/command.c:1922 src/common/command.c:2435 -#: src/common/command.c:2576 +#: src/common/command.c:1925 src/common/command.c:2438 +#: src/common/command.c:2617 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s rossz argumentum szám a \"%s\" parancsnak\n" @@ -1467,7 +1467,7 @@ msgstr "%s rossz argumentum a \"%s\" parancsnak\n" msgid "%s \"%s\" command can only be executed in a channel or private buffer\n" msgstr "%s \"%s\" parancs csak a szobaablakban futtatható\n" -#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:511 +#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:514 #, c-format msgid "%s nick \"%s\" not found for \"%s\" command\n" msgstr "%s név \"%s\" nem található a \"%s\" parancshoz\n" @@ -1482,480 +1482,480 @@ msgstr "%s nem sikerült új privát ablakot nyitni \"%s\"\n" msgid "%s, compiled on %s %s\n" msgstr "%s, lefordítva: %s %s\n" -#: src/irc/irc-recv.c:371 +#: src/irc/irc-recv.c:374 #, c-format msgid "You have been invited to %s%s%s by %s%s\n" msgstr "Meghívást kapott a %s%s%s szobába %s%s felhasználótól\n" -#: src/irc/irc-recv.c:385 src/irc/irc-recv.c:480 src/irc/irc-recv.c:1103 -#: src/irc/irc-recv.c:1525 src/irc/irc-recv.c:1805 src/irc/irc-recv.c:3795 -#: src/irc/irc-recv.c:3816 src/irc/irc-recv.c:3877 src/irc/irc-recv.c:3948 +#: src/irc/irc-recv.c:388 src/irc/irc-recv.c:483 src/irc/irc-recv.c:1106 +#: src/irc/irc-recv.c:1528 src/irc/irc-recv.c:1808 src/irc/irc-recv.c:3798 +#: src/irc/irc-recv.c:3819 src/irc/irc-recv.c:3880 src/irc/irc-recv.c:3951 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "%s a \"%s\" szoba nem található a \"%s\" parancshoz\n" -#: src/irc/irc-recv.c:413 +#: src/irc/irc-recv.c:416 #, c-format msgid "%s cannot create new channel \"%s\"\n" msgstr "%s nem sikerült új szobát nyitni \"%s\"\n" -#: src/irc/irc-recv.c:426 +#: src/irc/irc-recv.c:429 #, c-format msgid "%s%s %s(%s%s%s)%s has joined %s%s\n" msgstr "%s%s %s(%s%s%s)%s belépett a(z) %s%s szobába\n" -#: src/irc/irc-recv.c:488 +#: src/irc/irc-recv.c:491 #, c-format msgid "%s%s%s has kicked %s%s%s from %s%s" msgstr "%s%s%s kirúgva %s%s%s a %s%s szobából" -#: src/irc/irc-recv.c:578 +#: src/irc/irc-recv.c:581 #, c-format msgid "%s%s%s has killed %s%s%s from server" msgstr "" -#: src/irc/irc-recv.c:600 +#: src/irc/irc-recv.c:603 #, c-format msgid "%s host \"%s\" not found for \"%s\" command\n" msgstr "%s a(z) \"%s\" hoszt nem található a \"%s\" parancshoz\n" -#: src/irc/irc-recv.c:641 +#: src/irc/irc-recv.c:644 msgid "sets ban on" msgstr "" -#: src/irc/irc-recv.c:642 +#: src/irc/irc-recv.c:645 msgid "removes ban on" msgstr "" -#: src/irc/irc-recv.c:666 +#: src/irc/irc-recv.c:669 msgid "sets realname ban on" msgstr "" -#: src/irc/irc-recv.c:667 +#: src/irc/irc-recv.c:670 msgid "removes realname ban on" msgstr "" -#: src/irc/irc-recv.c:691 +#: src/irc/irc-recv.c:694 msgid "sets ban exemtion on" msgstr "" -#: src/irc/irc-recv.c:692 +#: src/irc/irc-recv.c:695 msgid "removes ban exemption on" msgstr "" -#: src/irc/irc-recv.c:716 +#: src/irc/irc-recv.c:719 msgid "sets mode +f" msgstr "bekapcsolja az +f módot" -#: src/irc/irc-recv.c:717 +#: src/irc/irc-recv.c:720 msgid "removes mode +f" msgstr "kikapcsolja az +f módot" -#: src/irc/irc-recv.c:741 +#: src/irc/irc-recv.c:744 msgid "gives half channel operator status to" msgstr "féloperátori jogot ad a következő felhasználónak:" -#: src/irc/irc-recv.c:742 +#: src/irc/irc-recv.c:745 msgid "removes half channel operator status from" msgstr "elveszi a féloperátori jogot a következő felhasználótól:" -#: src/irc/irc-recv.c:769 +#: src/irc/irc-recv.c:772 msgid "sets invite-only channel flag" msgstr "bekapcsolja a meghívásos szoba kapcsolót" -#: src/irc/irc-recv.c:770 +#: src/irc/irc-recv.c:773 msgid "removes invite-only channel flag" msgstr "kikapcsolja a meghívásos szoba kapcsolót" -#: src/irc/irc-recv.c:787 +#: src/irc/irc-recv.c:790 msgid "sets invite-only exemption on" msgstr "" -#: src/irc/irc-recv.c:788 +#: src/irc/irc-recv.c:791 msgid "removes invite-only exemption on" msgstr "" -#: src/irc/irc-recv.c:812 +#: src/irc/irc-recv.c:815 msgid "sets channel key to" msgstr "a szoba kulcsát a következőre változtatta:" -#: src/irc/irc-recv.c:813 +#: src/irc/irc-recv.c:816 msgid "removes channel key" msgstr "megszünteti a szoba kulcsát" -#: src/irc/irc-recv.c:844 +#: src/irc/irc-recv.c:847 msgid "sets the user limit to" msgstr "kérésére a felhasználói limit:" -#: src/irc/irc-recv.c:845 +#: src/irc/irc-recv.c:848 msgid "removes user limit" msgstr "megszünteti a felhasználói limitet" -#: src/irc/irc-recv.c:867 +#: src/irc/irc-recv.c:870 msgid "sets moderated channel flag" msgstr "bekapcsolja a moderált szoba kapcsolót" -#: src/irc/irc-recv.c:868 +#: src/irc/irc-recv.c:871 msgid "removes moderated channel flag" msgstr "kikapcsolja a moderált szoba kapcsolót" -#: src/irc/irc-recv.c:878 +#: src/irc/irc-recv.c:881 msgid "sets messages from channel only flag" msgstr "bekapcsolja az üzenet csak ebből a szobából kapcsolót" -#: src/irc/irc-recv.c:879 +#: src/irc/irc-recv.c:882 msgid "removes messages from channel only flag" msgstr "kikapcsolja az üzenet csak ebből a szobából kapcsolót" -#: src/irc/irc-recv.c:896 +#: src/irc/irc-recv.c:899 msgid "gives channel operator status to" msgstr "operátori jogot ad a következőnek:" -#: src/irc/irc-recv.c:897 +#: src/irc/irc-recv.c:900 msgid "removes channel operator status from" msgstr "elveszi az operátori jogot a következőktől:" -#: src/irc/irc-recv.c:924 +#: src/irc/irc-recv.c:927 msgid "sets private channel flag" msgstr "bekapcsolja a privát szoba kapcsolót" -#: src/irc/irc-recv.c:925 +#: src/irc/irc-recv.c:928 msgid "removes private channel flag" msgstr "kikapcsolja a privát szoba kapcsolót" -#: src/irc/irc-recv.c:942 +#: src/irc/irc-recv.c:945 msgid "sets quiet on" msgstr "bekapcsolja a csendes módot" -#: src/irc/irc-recv.c:943 +#: src/irc/irc-recv.c:946 msgid "removes quiet on" msgstr "kikapcsolja a csendes módot" -#: src/irc/irc-recv.c:960 +#: src/irc/irc-recv.c:963 msgid "sets secret channel flag" msgstr "bekapcsolja a titkos szoba kapcsolót" -#: src/irc/irc-recv.c:961 +#: src/irc/irc-recv.c:964 msgid "removes secret channel flag" msgstr "kikapcsolja a titkos szoba kapcsolót" -#: src/irc/irc-recv.c:971 +#: src/irc/irc-recv.c:974 msgid "sets topic protection" msgstr "bekapcsolja a témavédelmet" -#: src/irc/irc-recv.c:972 +#: src/irc/irc-recv.c:975 msgid "removes topic protection" msgstr "kikapcsolja a témavédelmet" -#: src/irc/irc-recv.c:989 +#: src/irc/irc-recv.c:992 msgid "gives voice to" msgstr "voice jogot biztosít a következőnek:" -#: src/irc/irc-recv.c:990 +#: src/irc/irc-recv.c:993 msgid "removes voice from" msgstr "elveszi a voice jogot a következőtől:" -#: src/irc/irc-recv.c:1062 src/irc/irc-recv.c:1148 src/irc/irc-recv.c:1604 -#: src/irc/irc-recv.c:2429 +#: src/irc/irc-recv.c:1065 src/irc/irc-recv.c:1151 src/irc/irc-recv.c:1607 +#: src/irc/irc-recv.c:2432 #, c-format msgid "%s \"%s\" command received without host\n" msgstr "" -#: src/irc/irc-recv.c:1072 +#: src/irc/irc-recv.c:1075 #, c-format msgid "%s \"%s\" command received without channel or nickname\n" msgstr "" -#: src/irc/irc-recv.c:1114 +#: src/irc/irc-recv.c:1117 #, c-format msgid "%s[%s%s%s/%s%s%s]%s mode changed by %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1183 +#: src/irc/irc-recv.c:1186 #, c-format msgid "You are now known as %s%s\n" msgstr "Az új neved: %s%s\n" -#: src/irc/irc-recv.c:1187 +#: src/irc/irc-recv.c:1190 #, c-format msgid "%s%s%s is now known as %s%s\n" msgstr "%s%s%s új neve: %s%s\n" -#: src/irc/irc-recv.c:1255 +#: src/irc/irc-recv.c:1258 #, c-format msgid "%s nickname not found for \"%s\" command\n" msgstr "%s nem található név a \"%s\" parancshoz\n" -#: src/irc/irc-recv.c:1269 +#: src/irc/irc-recv.c:1272 #, c-format msgid "CTCP %sVERSION%s reply from %s%s%s: %s\n" msgstr "" -#: src/irc/irc-recv.c:1303 +#: src/irc/irc-recv.c:1306 #, c-format msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "" -#: src/irc/irc-recv.c:1326 src/irc/irc-recv.c:2232 src/irc/irc-recv.c:2344 +#: src/irc/irc-recv.c:1329 src/irc/irc-recv.c:2235 src/irc/irc-recv.c:2347 #, c-format msgid "%s cannot create new private window \"%s\"\n" msgstr "%s nem sikerült új privát ablakot nyitni \"%s\"\n" -#: src/irc/irc-recv.c:1351 src/irc/irc-recv.c:2369 +#: src/irc/irc-recv.c:1354 src/irc/irc-recv.c:2372 msgid "Private" msgstr "Privát" -#: src/irc/irc-recv.c:1427 +#: src/irc/irc-recv.c:1430 #, c-format msgid "%s \"%s\" command received without host or channel\n" msgstr "" -#: src/irc/irc-recv.c:1455 +#: src/irc/irc-recv.c:1458 #, c-format msgid "%s%s %s(%s%s%s)%s has left %s%s" msgstr "%s%s %s(%s%s%s)%s elhagyta a(z) %s%s szobát" -#: src/irc/irc-recv.c:1654 src/irc/irc-recv.c:1780 src/irc/irc-recv.c:2260 +#: src/irc/irc-recv.c:1657 src/irc/irc-recv.c:1783 src/irc/irc-recv.c:2263 msgid "Channel" msgstr "Szoba" -#: src/irc/irc-recv.c:1688 +#: src/irc/irc-recv.c:1691 #, c-format msgid "Received a CTCP %sSOUND%s \"%s\" from %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1718 src/irc/irc-recv.c:1904 +#: src/irc/irc-recv.c:1721 src/irc/irc-recv.c:1907 #, c-format msgid "CTCP %sPING%s received from %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1747 src/irc/irc-recv.c:2311 +#: src/irc/irc-recv.c:1750 src/irc/irc-recv.c:2314 #, c-format msgid "Unknown CTCP %s%s%s received from %s%s" msgstr "" -#: src/irc/irc-recv.c:1860 +#: src/irc/irc-recv.c:1863 #, c-format msgid "CTCP %sVERSION%s received from %s%s" msgstr "" -#: src/irc/irc-recv.c:1927 src/irc/irc-recv.c:1948 src/irc/irc-recv.c:1964 -#: src/irc/irc-recv.c:1980 src/irc/irc-recv.c:2011 src/irc/irc-recv.c:2032 -#: src/irc/irc-recv.c:2048 src/irc/irc-recv.c:2078 src/irc/irc-recv.c:2099 -#: src/irc/irc-recv.c:2115 src/irc/irc-recv.c:2145 src/irc/irc-recv.c:2166 -#: src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2405 src/irc/irc-recv.c:2756 -#: src/irc/irc-recv.c:4155 src/irc/irc-recv.c:4170 src/irc/irc-recv.c:4185 -#: src/irc/irc-recv.c:4200 src/irc/irc-recv.c:4213 src/irc/irc-recv.c:4278 -#: src/irc/irc-recv.c:4292 src/irc/irc-recv.c:4526 src/irc/irc-recv.c:4584 -#: src/irc/irc-recv.c:4722 src/irc/irc-recv.c:4737 src/irc/irc-recv.c:4843 -#: src/irc/irc-recv.c:4857 +#: src/irc/irc-recv.c:1930 src/irc/irc-recv.c:1951 src/irc/irc-recv.c:1967 +#: src/irc/irc-recv.c:1983 src/irc/irc-recv.c:2014 src/irc/irc-recv.c:2035 +#: src/irc/irc-recv.c:2051 src/irc/irc-recv.c:2081 src/irc/irc-recv.c:2102 +#: src/irc/irc-recv.c:2118 src/irc/irc-recv.c:2148 src/irc/irc-recv.c:2169 +#: src/irc/irc-recv.c:2184 src/irc/irc-recv.c:2408 src/irc/irc-recv.c:2759 +#: src/irc/irc-recv.c:4158 src/irc/irc-recv.c:4173 src/irc/irc-recv.c:4188 +#: src/irc/irc-recv.c:4203 src/irc/irc-recv.c:4216 src/irc/irc-recv.c:4281 +#: src/irc/irc-recv.c:4295 src/irc/irc-recv.c:4529 src/irc/irc-recv.c:4587 +#: src/irc/irc-recv.c:4725 src/irc/irc-recv.c:4740 src/irc/irc-recv.c:4846 +#: src/irc/irc-recv.c:4860 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "%s nem sikerült végrehajtani a \"%s\" parancsot\n" -#: src/irc/irc-recv.c:2194 +#: src/irc/irc-recv.c:2197 #, c-format msgid "%s unknown DCC CHAT type received from " msgstr "" -#: src/irc/irc-recv.c:2452 +#: src/irc/irc-recv.c:2455 #, c-format msgid "%s%s %s(%s%s%s)%s has quit" msgstr "%s%s %s(%s%s%s)%s kilépett" -#: src/irc/irc-recv.c:2583 +#: src/irc/irc-recv.c:2586 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "" -#: src/irc/irc-recv.c:2612 +#: src/irc/irc-recv.c:2615 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "%s%s%s megváltoztatta a %s%s%s szoba témáját:" -#: src/irc/irc-recv.c:2623 +#: src/irc/irc-recv.c:2626 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "%s%s%s törölte a %s%s szoba témáját\n" -#: src/irc/irc-recv.c:2742 +#: src/irc/irc-recv.c:2745 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "Felhasználói mód %s[%s%s%s/%s%s%s]\n" -#: src/irc/irc-recv.c:2806 +#: src/irc/irc-recv.c:2809 #, c-format msgid "%s%s%s is away: %s\n" msgstr "%s%s%s távol: %s\n" -#: src/irc/irc-recv.c:2898 +#: src/irc/irc-recv.c:2901 msgid "Users online: " msgstr "Online felhasználók: " -#: src/irc/irc-recv.c:3274 +#: src/irc/irc-recv.c:3277 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "" -#: src/irc/irc-recv.c:3395 +#: src/irc/irc-recv.c:3398 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s tétlen: " -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "days" msgstr "nap" -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "day" msgstr "nap" -#: src/irc/irc-recv.c:3411 +#: src/irc/irc-recv.c:3414 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, bejelentkezett: %s%s" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hours" msgstr "óra" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hour" msgstr "óra" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minutes" msgstr "perc" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minute" msgstr "perc" -#: src/irc/irc-recv.c:3423 +#: src/irc/irc-recv.c:3426 msgid "second" msgstr "másodperc" -#: src/irc/irc-recv.c:3807 +#: src/irc/irc-recv.c:3810 #, c-format msgid "No topic set for %s%s\n" msgstr "Nincs téma beállítva a %s%s szobában\n" -#: src/irc/irc-recv.c:3863 +#: src/irc/irc-recv.c:3866 #, c-format msgid "Topic for %s%s%s is: " msgstr "A %s%s%s szoba témája: " -#: src/irc/irc-recv.c:3887 src/irc/irc-recv.c:3975 src/irc/irc-recv.c:4030 +#: src/irc/irc-recv.c:3890 src/irc/irc-recv.c:3978 src/irc/irc-recv.c:4033 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "%s nem sikerült azonosítani a szobát a \"%s\" parancshoz\n" -#: src/irc/irc-recv.c:3937 +#: src/irc/irc-recv.c:3940 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "A témát beállította: %s%s%s, %s" -#: src/irc/irc-recv.c:3957 +#: src/irc/irc-recv.c:3960 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "%s nem sikerült a dátumot/időt meghatározni a \"%s\" parancshoz\n" -#: src/irc/irc-recv.c:3966 src/irc/irc-recv.c:4039 +#: src/irc/irc-recv.c:3969 src/irc/irc-recv.c:4042 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "%s nem sikerült a felhasználót meghatározni a \"%s\" parancshoz\n" -#: src/irc/irc-recv.c:4015 +#: src/irc/irc-recv.c:4018 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "%s%s%s meghívta %s%s%s-t %s%s-kor\n" -#: src/irc/irc-recv.c:4075 +#: src/irc/irc-recv.c:4078 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "" -#: src/irc/irc-recv.c:4572 +#: src/irc/irc-recv.c:4575 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:4630 +#: src/irc/irc-recv.c:4633 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "Felhasználók a %s%s%s szobában: %s[" -#: src/irc/irc-recv.c:4651 +#: src/irc/irc-recv.c:4654 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" "%s%s%s szoba: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nicks" msgstr "név" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nick" msgstr "név" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "ops" msgstr "operátor" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "op" msgstr "operátor" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfops" msgstr "féloperátor" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfop" msgstr "féloperátor" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voices" msgstr "" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voice" msgstr "" -#: src/irc/irc-recv.c:4676 +#: src/irc/irc-recv.c:4679 msgid "normal" msgstr "normál" -#: src/irc/irc-recv.c:4777 +#: src/irc/irc-recv.c:4780 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "%s[%s%s%s] %s%s%s-t kitiltotta " -#: src/irc/irc-recv.c:4812 +#: src/irc/irc-recv.c:4815 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "%s[%s%s%s] %s%s%s kitiltva\n" -#: src/irc/irc-recv.c:4947 +#: src/irc/irc-recv.c:4950 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "%s: a(z) \"%s\" név már foglalt, próbálom a második nevet: \"%s\"\n" -#: src/irc/irc-recv.c:4959 +#: src/irc/irc-recv.c:4962 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "%s: a(z) \"%s\" név már foglalt, próbálom a harmadik nevet: \"%s\"\n" -#: src/irc/irc-recv.c:4971 +#: src/irc/irc-recv.c:4974 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " "server!\n" msgstr "%s: minden megadott név foglalt, kapcsolat bontása a szerverrel!\n" -#: src/irc/irc-recv.c:4981 +#: src/irc/irc-recv.c:4984 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "%s: a(z) \"%s\" név már foglalt, próbálom az első nevet: \"%s\"\n" @@ -2183,29 +2183,34 @@ msgid "" msgstr "" #: src/plugins/plugins.c:366 -#, c-format +#, fuzzy, c-format msgid "%s plugin %s: unable to add timer handler (not enough memory)\n" -msgstr "" +msgstr "%s nem sikerült a modult betölteni \"%s\" (nincs elég memória)\n" -#: src/plugins/plugins.c:657 +#: src/plugins/plugins.c:422 +#, fuzzy, c-format +msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n" +msgstr "%s nem sikerült a modult betölteni \"%s\" (nincs elég memória)\n" + +#: src/plugins/plugins.c:758 #, c-format msgid "%s unable to load plugin \"%s\": %s\n" msgstr "%s nem sikerült a modult betölteni \"%s\": %s\n" -#: src/plugins/plugins.c:668 +#: src/plugins/plugins.c:769 #, c-format msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n" msgstr "" "%s a \"plugin_name\" szimbólum nem található a \"%s\" modulban, betöltés " "sikertelen\n" -#: src/plugins/plugins.c:679 +#: src/plugins/plugins.c:780 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" msgstr "%s nem sikerült a \"%s\" modult betölteni: már van ilyen nevű modul\n" -#: src/plugins/plugins.c:691 +#: src/plugins/plugins.c:792 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" @@ -2213,7 +2218,7 @@ msgstr "" "%s a \"plugin_description\" szimbólum nem található a \"%s\" modulban, " "betöltés sikertelen\n" -#: src/plugins/plugins.c:702 +#: src/plugins/plugins.c:803 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" @@ -2221,7 +2226,7 @@ msgstr "" "%s a \"plugin_version\" szimbólum nem található a \"%s\" modulban, betöltés " "sikertelen\n" -#: src/plugins/plugins.c:713 +#: src/plugins/plugins.c:814 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " @@ -2230,32 +2235,32 @@ msgstr "" "%s a \"weechat_plugin_init\" függvény nem található a \"%s\" modulban, " "betöltés sikertelen\n" -#: src/plugins/plugins.c:776 +#: src/plugins/plugins.c:879 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "Modul betöltése: \"%s\" %s\n" -#: src/plugins/plugins.c:784 +#: src/plugins/plugins.c:887 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "%s nem sikerült a modult betölteni \"%s\"\n" -#: src/plugins/plugins.c:795 +#: src/plugins/plugins.c:898 #, c-format msgid "%s unable to load plugin \"%s\" (not enough memory)\n" msgstr "%s nem sikerült a modult betölteni \"%s\" (nincs elég memória)\n" -#: src/plugins/plugins.c:803 +#: src/plugins/plugins.c:906 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "A \"%s\" (%s) modul betöltve.\n" -#: src/plugins/plugins.c:970 +#: src/plugins/plugins.c:1073 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "A \"%s\" modul eltávolítva.\n" -#: src/plugins/plugins.c:976 src/common/command.c:3384 +#: src/plugins/plugins.c:1079 src/common/command.c:3427 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "%s a \"%s\" modul nem található\n" @@ -2266,7 +2271,7 @@ msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "%s %s, %d. sor: érvénytelen szintaxis, hiányzó \"=\"\n" #: src/plugins/plugins-config.c:352 src/common/weeconfig.c:2078 -#: src/common/weeconfig.c:2284 +#: src/common/weeconfig.c:2285 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "%s nem sikerült a \"%s\" fájlt létrehozni\n" @@ -2290,314 +2295,314 @@ msgstr "" "# FIGYELEM! A WeeChat felülírja ezt a fájlt, ha a beállítások megváltoznak.\n" "#\n" -#: src/plugins/plugins-interface.c:360 +#: src/plugins/plugins-interface.c:376 #, c-format msgid "%s server/channel (%s/%s) not found for plugin exec command\n" msgstr "%s (%s/%s) szerver/szoba nem található a modul futtatása parancshoz\n" -#: src/gui/curses/gui-input.c:353 +#: src/gui/curses/gui-input.c:386 #, c-format msgid "Day changed to %s\n" msgstr "A mai dátum: %s\n" -#: src/gui/curses/gui-input.c:458 +#: src/gui/curses/gui-input.c:491 #, c-format msgid "%s lag is high, disconnecting from server...\n" msgstr "%s túl nagy a késés(lag), lecsatlakozás a szerverről...\n" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "bytes" msgstr "byte" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Kb" msgstr "Kb" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Mb" msgstr "Mb" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Gb" msgstr "Gb" -#: src/gui/curses/gui-display.c:1603 +#: src/gui/curses/gui-display.c:1644 msgid "ETA" msgstr "" -#: src/gui/curses/gui-display.c:1965 +#: src/gui/curses/gui-display.c:2006 msgid "" msgstr "" -#: src/gui/curses/gui-display.c:1977 +#: src/gui/curses/gui-display.c:2018 msgid "(away)" msgstr "(távol)" -#: src/gui/curses/gui-display.c:2111 +#: src/gui/curses/gui-display.c:2152 msgid "[not connected] " msgstr "[nincs csatlakozva]" -#: src/gui/curses/gui-display.c:2117 +#: src/gui/curses/gui-display.c:2158 msgid " " msgstr " " -#: src/gui/curses/gui-display.c:2129 +#: src/gui/curses/gui-display.c:2170 msgid "Act: " msgstr "Akt: " -#: src/gui/curses/gui-display.c:2210 +#: src/gui/curses/gui-display.c:2251 msgid "RAW_IRC" msgstr "" -#: src/gui/curses/gui-display.c:2231 +#: src/gui/curses/gui-display.c:2272 #, c-format msgid "Lag: %.1f" msgstr "Lag: %.1f" -#: src/gui/curses/gui-display.c:2247 +#: src/gui/curses/gui-display.c:2288 msgid "-MORE-" msgstr "-TOVÁBB-" -#: src/gui/curses/gui-display.c:2506 +#: src/gui/curses/gui-display.c:2587 msgid " [A] Accept" msgstr " [A] Elfogadás" -#: src/gui/curses/gui-display.c:2507 src/gui/curses/gui-display.c:2511 +#: src/gui/curses/gui-display.c:2588 src/gui/curses/gui-display.c:2592 msgid " [C] Cancel" msgstr " [C] Mégsem" -#: src/gui/curses/gui-display.c:2516 +#: src/gui/curses/gui-display.c:2597 msgid " [R] Remove" msgstr " [R] Eltávolítás" -#: src/gui/curses/gui-display.c:2520 +#: src/gui/curses/gui-display.c:2601 msgid " [P] Purge old DCC" msgstr " [P] Régi DCC törlése" -#: src/gui/curses/gui-display.c:2521 +#: src/gui/curses/gui-display.c:2602 msgid " [Q] Close DCC view" msgstr " [Q] DCC nézet bezárása" -#: src/gui/curses/gui-display.c:2529 +#: src/gui/curses/gui-display.c:2610 msgid " [Q] Close raw data view" msgstr " [Q] Nyers adat nézet bezárása" -#: src/gui/gtk/gui-display.c:2263 +#: src/gui/gtk/gui-display.c:2276 msgid "server" msgstr "szerver" -#: src/gui/gui-common.c:770 +#: src/gui/gui-common.c:777 msgid "Not enough memory for new line\n" msgstr "Nincs elég memória az új sorhoz\n" -#: src/gui/gui-common.c:1139 +#: src/gui/gui-common.c:1146 msgid "Not enough memory for infobar message\n" msgstr "Nincs elég memória az információs pult üzenethez\n" -#: src/gui/gui-keyboard.c:45 +#: src/gui/gui-keyboard.c:49 msgid "terminate line" msgstr "sor megszakítása" -#: src/gui/gui-keyboard.c:47 +#: src/gui/gui-keyboard.c:51 msgid "complete word" msgstr "szó kiegészítése" -#: src/gui/gui-keyboard.c:49 +#: src/gui/gui-keyboard.c:53 msgid "delete previous char" msgstr "előző karakter törlése" -#: src/gui/gui-keyboard.c:51 +#: src/gui/gui-keyboard.c:55 msgid "delete next char" msgstr "következő karakter törlése" -#: src/gui/gui-keyboard.c:53 +#: src/gui/gui-keyboard.c:57 msgid "delete until end of line" msgstr "törlés a sor végéig" -#: src/gui/gui-keyboard.c:55 +#: src/gui/gui-keyboard.c:59 msgid "delete until beginning of line" msgstr "törlés a sor elejéig" -#: src/gui/gui-keyboard.c:57 +#: src/gui/gui-keyboard.c:61 msgid "delete entire line" msgstr "egész sor törlése" -#: src/gui/gui-keyboard.c:59 +#: src/gui/gui-keyboard.c:63 msgid "delete previous word" msgstr "előző szó törlése" -#: src/gui/gui-keyboard.c:61 +#: src/gui/gui-keyboard.c:65 msgid "delete next word" msgstr "következő szó törlése" -#: src/gui/gui-keyboard.c:63 +#: src/gui/gui-keyboard.c:67 msgid "paste current clipboard content" msgstr "következő vágólapelem beillesztése" -#: src/gui/gui-keyboard.c:65 +#: src/gui/gui-keyboard.c:69 msgid "transpose chars" msgstr "karakterek felcserélése" -#: src/gui/gui-keyboard.c:67 +#: src/gui/gui-keyboard.c:71 msgid "go to beginning of line" msgstr "ugrás a sor elejére" -#: src/gui/gui-keyboard.c:69 +#: src/gui/gui-keyboard.c:73 msgid "go to end of line" msgstr "ugrás a sor végére" -#: src/gui/gui-keyboard.c:71 +#: src/gui/gui-keyboard.c:75 msgid "move one char left" msgstr "egy karaktert balra" -#: src/gui/gui-keyboard.c:73 +#: src/gui/gui-keyboard.c:77 msgid "move to previous word" msgstr "ugrás az előző szóra" -#: src/gui/gui-keyboard.c:75 +#: src/gui/gui-keyboard.c:79 msgid "move one char right" msgstr "egy karaktert balra" -#: src/gui/gui-keyboard.c:77 +#: src/gui/gui-keyboard.c:81 msgid "move to next word" msgstr "ugrás a következő szóra" -#: src/gui/gui-keyboard.c:79 +#: src/gui/gui-keyboard.c:83 msgid "call previous command in history" msgstr "előző parancs hívása az előzményekből" -#: src/gui/gui-keyboard.c:81 +#: src/gui/gui-keyboard.c:85 msgid "call previous command in global history" msgstr "előző parancs hívása a globális előzményekből" -#: src/gui/gui-keyboard.c:83 +#: src/gui/gui-keyboard.c:87 msgid "call next command in history" msgstr "kövezkező parancs hívása az előzményekből" -#: src/gui/gui-keyboard.c:85 +#: src/gui/gui-keyboard.c:89 msgid "call next command in global history" msgstr "következő parancs hívása a globális előzményekből" -#: src/gui/gui-keyboard.c:87 +#: src/gui/gui-keyboard.c:91 msgid "scroll one page up" msgstr "ugrás egy oldallal feljebb" -#: src/gui/gui-keyboard.c:89 +#: src/gui/gui-keyboard.c:93 msgid "scroll one page down" msgstr "ugrás egy oldallal lejjebb" -#: src/gui/gui-keyboard.c:91 +#: src/gui/gui-keyboard.c:95 msgid "scroll a few lines up" msgstr "ugrás néhány sorral feljebb" -#: src/gui/gui-keyboard.c:93 +#: src/gui/gui-keyboard.c:97 msgid "scroll a few lines down" msgstr "ugrás néhány sorral lejjebb" -#: src/gui/gui-keyboard.c:95 +#: src/gui/gui-keyboard.c:99 msgid "scroll to top of buffer" msgstr "ugrás a puffer tetejére" -#: src/gui/gui-keyboard.c:97 +#: src/gui/gui-keyboard.c:101 msgid "scroll to bottom of buffer" msgstr "ugrás a puffer végére" -#: src/gui/gui-keyboard.c:99 +#: src/gui/gui-keyboard.c:103 msgid "display beginning of nicklist" msgstr "névlista elejének mutatása" -#: src/gui/gui-keyboard.c:101 +#: src/gui/gui-keyboard.c:105 msgid "display end of nicklist" msgstr "névlista végének mutatása" -#: src/gui/gui-keyboard.c:103 +#: src/gui/gui-keyboard.c:107 msgid "scroll nicklist one page up" msgstr "névlista görgetése egy oldallal feljebb" -#: src/gui/gui-keyboard.c:105 +#: src/gui/gui-keyboard.c:109 msgid "scroll nicklist one page down" msgstr "névlista görgetése egy oldallal lejjebb" -#: src/gui/gui-keyboard.c:107 +#: src/gui/gui-keyboard.c:111 msgid "jump to buffer with activity" msgstr "ugrás aktív pufferre" -#: src/gui/gui-keyboard.c:109 +#: src/gui/gui-keyboard.c:113 msgid "jump to DCC buffer" msgstr "ugrás a DCC pufferre" -#: src/gui/gui-keyboard.c:111 +#: src/gui/gui-keyboard.c:115 msgid "jump to raw IRC data buffer" msgstr "ugrás a nyers IRC adat pufferre" -#: src/gui/gui-keyboard.c:113 +#: src/gui/gui-keyboard.c:117 msgid "jump to last buffer" msgstr "ugrás az utolsó pufferre" -#: src/gui/gui-keyboard.c:115 +#: src/gui/gui-keyboard.c:119 msgid "jump to server buffer" msgstr "ugrás a szerver pufferre" -#: src/gui/gui-keyboard.c:117 +#: src/gui/gui-keyboard.c:121 msgid "jump to next server" msgstr "ugrás a következő szerverre" -#: src/gui/gui-keyboard.c:119 +#: src/gui/gui-keyboard.c:123 msgid "switch active server on servers buffer" msgstr "aktív szerverek változtatása a szerver pufferben" -#: src/gui/gui-keyboard.c:121 +#: src/gui/gui-keyboard.c:125 msgid "scroll to previous highlight in buffer" msgstr "ugrás az előző kiemelésre a pufferben" -#: src/gui/gui-keyboard.c:123 +#: src/gui/gui-keyboard.c:127 msgid "scroll to next highlight in buffer" msgstr "ugrás a következő kiemelésre a pufferben" -#: src/gui/gui-keyboard.c:125 +#: src/gui/gui-keyboard.c:129 msgid "scroll to first unread line in buffer" msgstr "ugrás az első olvasatlan sorra a pufferben" -#: src/gui/gui-keyboard.c:127 +#: src/gui/gui-keyboard.c:131 msgid "clear hotlist" msgstr "hotlist törlése" -#: src/gui/gui-keyboard.c:129 +#: src/gui/gui-keyboard.c:133 msgid "clear infobar" msgstr "információs pult törlése" -#: src/gui/gui-keyboard.c:131 +#: src/gui/gui-keyboard.c:135 msgid "refresh screen" msgstr "képernyő frissítése" -#: src/gui/gui-keyboard.c:133 +#: src/gui/gui-keyboard.c:137 msgid "grab a key" msgstr "" -#: src/gui/gui-keyboard.c:444 src/common/command.c:2450 +#: src/gui/gui-keyboard.c:448 src/common/command.c:2453 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "" -#: src/gui/gui-keyboard.c:455 +#: src/gui/gui-keyboard.c:459 #, c-format msgid "%s unable to bind key \"%s\" (invalid function name: \"%s\")\n" msgstr "" -#: src/gui/gui-keyboard.c:468 +#: src/gui/gui-keyboard.c:472 #, c-format msgid "%s not enough memory for key binding\n" msgstr "" -#: src/common/command.c:45 +#: src/common/command.c:48 msgid "create an alias for a command" msgstr "alias készítése egy parancshoz" -#: src/common/command.c:46 +#: src/common/command.c:49 msgid "[alias_name [command [arguments]]" msgstr "[alias_név [parancs [paraméterek]]]" -#: src/common/command.c:47 +#: src/common/command.c:50 msgid "" "alias_name: name of alias\n" " command: command name (WeeChat or IRC command, without first '/')\n" @@ -2607,16 +2612,16 @@ msgstr "" " parancs: parancs neve (WeeChat vagy IRC parancs, a kezdő '/' nélkül)\n" "paraméterek: a parancs paraméterei" -#: src/common/command.c:52 +#: src/common/command.c:55 msgid "manage buffers" msgstr "pufferek kezelése" -#: src/common/command.c:53 +#: src/common/command.c:56 #, fuzzy msgid "[action [args] | number | [[server] [channel]]]" msgstr "[utasítás | szám | [[szerver] [szoba]]]" -#: src/common/command.c:54 +#: src/common/command.c:57 #, fuzzy msgid "" " action: action to do:\n" @@ -2639,32 +2644,32 @@ msgstr "" "szoba: ugrás pufferre szerver- és/vagy szobanév alapján\n" " szám: ugrás az adott sorszámú pufferre" -#: src/common/command.c:63 +#: src/common/command.c:66 msgid "" "launch WeeChat/IRC builtin command (do not look at plugins handlers or " "aliases)" msgstr "" -#: src/common/command.c:64 +#: src/common/command.c:67 #, fuzzy msgid "command" msgstr "[parancs]" -#: src/common/command.c:65 +#: src/common/command.c:68 msgid "" "command: command to execute (a '/' is automatically added if not found at " "beginning of command)\n" msgstr "" -#: src/common/command.c:67 +#: src/common/command.c:70 msgid "change charset for server or channel" msgstr "szoba vagy szerver karakterkódolásának módosítása" -#: src/common/command.c:68 +#: src/common/command.c:71 msgid "[(decode_iso | decode_utf | encode) charset]" msgstr "[(dekód_iso | dekód_utf | kódolás) karakterkészlet" -#: src/common/command.c:69 +#: src/common/command.c:72 msgid "" "decode_iso: charset used for decoding ISO\n" "decode_utf: charset used for decoding UTF\n" @@ -2677,74 +2682,74 @@ msgstr "" "karakterkészlet: használni kívánt karakterkészlet (például: ISO-8859-2, UTF-" "8,..)" -#: src/common/command.c:74 +#: src/common/command.c:77 msgid "clear window(s)" msgstr "ablak(ok) törlése" -#: src/common/command.c:75 +#: src/common/command.c:78 msgid "[-all]" msgstr "[-all]" -#: src/common/command.c:76 +#: src/common/command.c:79 msgid "-all: clear all windows" msgstr "-all: minden ablak törlése" -#: src/common/command.c:78 +#: src/common/command.c:81 msgid "connect to a server" msgstr "csatlakozás egy szerverhez" -#: src/common/command.c:79 src/common/command.c:83 +#: src/common/command.c:82 src/common/command.c:86 msgid "[servername]" msgstr "[szervernév]" -#: src/common/command.c:80 +#: src/common/command.c:83 msgid "servername: server name to connect" msgstr "szervernév: a szerver neve ahová csatlakozik" -#: src/common/command.c:82 +#: src/common/command.c:85 msgid "disconnect from a server" msgstr "kilépés a szerverről" -#: src/common/command.c:84 +#: src/common/command.c:87 msgid "servername: server name to disconnect" msgstr "szervernév: a szerver neve ahonnan lecsatlakozunk" -#: src/common/command.c:86 +#: src/common/command.c:89 msgid "print debug messages" msgstr "hibakereső üzenetek megjelenítése" -#: src/common/command.c:87 +#: src/common/command.c:90 msgid "dump | windows" msgstr "" -#: src/common/command.c:88 +#: src/common/command.c:91 msgid "" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" "windows: display windows tree" msgstr "" -#: src/common/command.c:91 +#: src/common/command.c:94 msgid "display help about commands" msgstr "segítség megjelenítése a parancsokhoz" -#: src/common/command.c:92 +#: src/common/command.c:95 msgid "[command]" msgstr "[parancs]" -#: src/common/command.c:93 +#: src/common/command.c:96 msgid "command: name of a WeeChat or IRC command" msgstr "parancs: WeeChat vagy IRC parancs neve" -#: src/common/command.c:95 +#: src/common/command.c:98 msgid "show buffer command history" msgstr "" -#: src/common/command.c:96 +#: src/common/command.c:99 msgid "[clear | value]" msgstr "[clear | érték]" -#: src/common/command.c:97 +#: src/common/command.c:100 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2752,15 +2757,15 @@ msgstr "" "clear: előzmények törlése\n" "érték: mutatandó előzménybejegyzések száma" -#: src/common/command.c:100 +#: src/common/command.c:103 msgid "ignore IRC messages and/or hosts" msgstr "IRC üzenetek és/vagy gépek figyelmen kívül hagyása" -#: src/common/command.c:101 +#: src/common/command.c:104 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[maszk [[típus | parancs] [szoba [szerver]]]]" -#: src/common/command.c:102 +#: src/common/command.c:105 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2772,15 +2777,15 @@ msgid "" "Without argument, /ignore command lists all defined ignore." msgstr "" -#: src/common/command.c:111 +#: src/common/command.c:114 msgid "bind/unbind keys" msgstr "" -#: src/common/command.c:112 +#: src/common/command.c:115 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "" -#: src/common/command.c:113 +#: src/common/command.c:116 msgid "" " key: bind this key to an internal function or a command (beginning by " "\"/\")\n" @@ -2790,15 +2795,15 @@ msgid "" "bindings (use carefully!)" msgstr "" -#: src/common/command.c:120 +#: src/common/command.c:123 msgid "list/load/unload plugins" msgstr "modulok listázása/betöltése/eltávolítása" -#: src/common/command.c:121 +#: src/common/command.c:124 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "" -#: src/common/command.c:122 +#: src/common/command.c:125 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2808,11 +2813,11 @@ msgstr "" "\n" "Paraméter nélkül a /plugin parancs kilistázza a betöltött modulokat." -#: src/common/command.c:125 +#: src/common/command.c:128 msgid "list, add or remove servers" msgstr "szerverek listázása, hozzáadása vagy eltávolítása" -#: src/common/command.c:126 +#: src/common/command.c:129 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2823,7 +2828,7 @@ msgstr "" "pwd jelszó] [-nicks név1 név2 név3] [-username felhasználónév] [-realname " "valódi név] [-command parancs] [-autojoin szoba[,szoba]] ] | [del szervernév]" -#: src/common/command.c:131 +#: src/common/command.c:134 msgid "" "servername: server name, for internal and display use\n" " hostname: name or IP address of server\n" @@ -2849,28 +2854,28 @@ msgstr "" "felhasználónév: felhasználónév a szerveren\n" " valódi név: a felhasználó valódi neve" -#: src/common/command.c:143 +#: src/common/command.c:146 msgid "save config to disk" msgstr "beállítások lemezre mentése" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "[file]" msgstr "[fájl]" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "file: filename for writing config" msgstr "fájl: fájlnév a beállítások mentéséhez" -#: src/common/command.c:146 +#: src/common/command.c:149 #, fuzzy msgid "set config options" msgstr "beállítja a konfigurációs paramétereket" -#: src/common/command.c:147 src/common/command.c:155 +#: src/common/command.c:150 src/common/command.c:158 msgid "[option [ = value]]" msgstr "[opció [ = érték]]" -#: src/common/command.c:148 +#: src/common/command.c:151 #, fuzzy msgid "" "option: name of an option (if name is full and no value is given, then help " @@ -2884,12 +2889,12 @@ msgstr "" "megjeleníti az opcióhoz tartozó segítséget\n" "érték: az opcióhoz tartozó érték" -#: src/common/command.c:154 +#: src/common/command.c:157 #, fuzzy msgid "set plugin config options" msgstr "beállítja a konfigurációs paramétereket" -#: src/common/command.c:156 +#: src/common/command.c:159 msgid "" "option: name of a plugin option\n" " value: value for option\n" @@ -2897,27 +2902,27 @@ msgid "" "Option is format: plugin.option, example: perl.myscript.item1" msgstr "" -#: src/common/command.c:160 +#: src/common/command.c:163 msgid "remove an alias" msgstr "alias eltávolítása" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name" msgstr "alias_név" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name: name of alias to remove" msgstr "alias_név: az eltávolítandó alias neve" -#: src/common/command.c:163 +#: src/common/command.c:166 msgid "unignore IRC messages and/or hosts" msgstr "" -#: src/common/command.c:164 +#: src/common/command.c:167 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[szám | [maszk [[típus | parancs] [szoba [szerver]]]]]" -#: src/common/command.c:165 +#: src/common/command.c:168 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2930,33 +2935,33 @@ msgid "" "Without argument, /unignore command lists all defined ignore." msgstr "" -#: src/common/command.c:175 +#: src/common/command.c:178 msgid "upgrade WeeChat without disconnecting from servers" msgstr "WeeChat frissítése a szerverekről való lecsatlakozás nélkül" -#: src/common/command.c:177 +#: src/common/command.c:180 msgid "" "This command run again WeeChat binary, so it should have been compiled " "installed with a package manager before running this command." msgstr "" -#: src/common/command.c:180 +#: src/common/command.c:183 msgid "show WeeChat uptime" msgstr "a WeeChat futásidejének mutatása" -#: src/common/command.c:181 +#: src/common/command.c:184 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:182 +#: src/common/command.c:185 msgid "-o: send uptime on current channel as an IRC message" msgstr "-o: a futásidő mint IRC üzenet elküldése az aktuális szobába" -#: src/common/command.c:184 +#: src/common/command.c:187 msgid "manage windows" msgstr "ablakok kezelése" -#: src/common/command.c:185 +#: src/common/command.c:188 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" @@ -2964,7 +2969,7 @@ msgstr "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" -#: src/common/command.c:187 +#: src/common/command.c:190 #, c-format msgid "" " list: list opened windows (no parameter implies this list)\n" @@ -3001,323 +3006,349 @@ msgstr "" "hogy az új ablak hány százaléka lesz a szülőablaknak. Például 25 esetén a " "szülőablak negyedét kapjuk." -#: src/common/command.c:384 src/common/command.c:738 +#: src/common/command.c:387 src/common/command.c:741 #, c-format msgid "%s circular reference when calling alias \"/%s\"\n" msgstr "" -#: src/common/command.c:718 src/common/command.c:854 src/common/command.c:925 +#: src/common/command.c:721 src/common/command.c:857 src/common/command.c:928 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s a \"%s\" parancs végrehajtása sikertelen\n" -#: src/common/command.c:820 +#: src/common/command.c:823 #, c-format msgid "%s wrong argument count for %s command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:832 +#: src/common/command.c:835 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:881 +#: src/common/command.c:884 #, c-format msgid "%s wrong argument count for IRC command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:893 +#: src/common/command.c:896 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:908 +#: src/common/command.c:911 #, c-format msgid "%s command \"%s\" needs a server connection!\n" msgstr "%s a \"%s\" parancs futtatásához csatlakozni kell a szerverhez!\n" -#: src/common/command.c:938 +#: src/common/command.c:941 #, c-format msgid "%s unknown command \"%s\" (type /help for help)\n" msgstr "%s ismeretlen parancs: \"%s\" (segítséget a /help parancstól kaphat)\n" -#: src/common/command.c:1083 +#: src/common/command.c:1086 msgid "This window is not a channel!\n" msgstr "Ez az ablak nem egy szoba!\n" -#: src/common/command.c:1116 src/common/command.c:1153 -#: src/common/command.c:1288 +#: src/common/command.c:1119 src/common/command.c:1156 +#: src/common/command.c:1291 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s hiányzó argumentum a \"%s\" parancsnak\n" -#: src/common/command.c:1125 +#: src/common/command.c:1128 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "A \"%s\" => \"%s\" aliasz elkészült\n" -#: src/common/command.c:1131 +#: src/common/command.c:1134 #, c-format msgid "Failed to create alias \"%s\" => \"%s\" (not enough memory)\n" msgstr "" "A \"%s\" => \"%s\" aliasz elkészítése sikertelen (nincs elég memória)\n" -#: src/common/command.c:1143 src/common/command.c:1164 +#: src/common/command.c:1146 src/common/command.c:1167 msgid "List of aliases:\n" msgstr "Aliaszok listája:\n" -#: src/common/command.c:1178 +#: src/common/command.c:1181 msgid "No alias defined.\n" msgstr "Nincs aliasz definiálva.\n" -#: src/common/command.c:1197 +#: src/common/command.c:1200 #, c-format msgid "%sServer: %s%s\n" msgstr "%sSzerver: %s%s\n" -#: src/common/command.c:1202 +#: src/common/command.c:1205 #, c-format msgid "%snot connected\n" msgstr "%snincs csatlakozva\n" -#: src/common/command.c:1206 +#: src/common/command.c:1209 #, c-format msgid "%sChannel: %s%s %s(server: %s%s%s)\n" msgstr "%sSzoba: %s%s %s(szerver: %s%s%s)\n" -#: src/common/command.c:1215 +#: src/common/command.c:1218 #, c-format msgid "%sPrivate with: %s%s %s(server: %s%s%s)\n" msgstr "%sPrivát beszélgetés: %s%s %s(szerver: %s%s%s)\n" -#: src/common/command.c:1224 src/common/command.c:1236 +#: src/common/command.c:1227 src/common/command.c:1239 #, c-format msgid "%sunknown\n" msgstr "%sismeretlen\n" -#: src/common/command.c:1232 +#: src/common/command.c:1235 #, c-format msgid "%sraw IRC data\n" msgstr "" -#: src/common/command.c:1267 +#: src/common/command.c:1270 msgid "Opened buffers:\n" msgstr "Nyitott pufferek:\n" -#: src/common/command.c:1312 +#: src/common/command.c:1315 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s helytelen pufferszám\n" -#: src/common/command.c:1329 +#: src/common/command.c:1332 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s az utolsó puffert nem lehet bezárni\n" -#: src/common/command.c:1340 +#: src/common/command.c:1343 #, c-format msgid "%s can not close server buffer while channels are opened\n" msgstr "%s nem lehet szerverpuffert bezárni, míg a szobákban tartózkodunk\n" -#: src/common/command.c:1398 +#: src/common/command.c:1401 msgid "Notify levels: " msgstr "Értesítési szintek: " -#: src/common/command.c:1404 +#: src/common/command.c:1407 msgid "Raw IRC data" msgstr "" -#: src/common/command.c:1428 src/common/command.c:1478 +#: src/common/command.c:1431 src/common/command.c:1481 #, c-format msgid "%s incorrect notify level (must be between %d and %d)\n" msgstr "" "%s helytelen értesítési szint (az értéknek %d és %d között kell lennie)\n" -#: src/common/command.c:1438 +#: src/common/command.c:1441 #, c-format msgid "%s incorrect buffer for notify (must be channel or private)\n" msgstr "" "%s helytelen puffer az értesítéshez (szobát vagy privát beszélgetést kell " "megjelölnie)\n" -#: src/common/command.c:1448 +#: src/common/command.c:1451 #, c-format msgid "New notify level for %s%s%s: %s%d %s" msgstr "A %s%s%s új értesítési szintje: %s%d %s" -#: src/common/command.c:1458 +#: src/common/command.c:1461 msgid "(hotlist: never)\n" msgstr "" -#: src/common/command.c:1461 +#: src/common/command.c:1464 msgid "(hotlist: highlights)\n" msgstr "" -#: src/common/command.c:1464 +#: src/common/command.c:1467 msgid "(hotlist: highlights + messages)\n" msgstr "" -#: src/common/command.c:1467 +#: src/common/command.c:1470 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "" -#: src/common/command.c:1598 +#: src/common/command.c:1601 #, c-format msgid "Charsets for server %s%s%s: " msgstr "Karakterkészlet a %s%s%s szerveren: " -#: src/common/command.c:1606 +#: src/common/command.c:1609 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "Karakterkészlet a %s%s%s szobában: " -#: src/common/command.c:1614 +#: src/common/command.c:1617 #, c-format msgid "Charsets for private %s%s%s: " msgstr "Karakterkészlet a %s%s%s privát beszélgetéshez: " -#: src/common/command.c:1642 src/common/command.c:1672 -#: src/common/command.c:1702 +#: src/common/command.c:1645 src/common/command.c:1675 +#: src/common/command.c:1705 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr " (örökölt: \"%s%s%s\")" -#: src/common/command.c:1771 src/common/command.c:1799 -#: src/common/command.c:1941 src/common/command.c:2569 -#: src/common/command.c:3833 src/common/command.c:3876 +#: src/common/command.c:1774 src/common/command.c:1802 +#: src/common/command.c:1944 src/common/command.c:2610 +#: src/common/command.c:3876 src/common/command.c:3919 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "%s ismeretlen opció a \"%s\" parancsnak\n" -#: src/common/command.c:1834 +#: src/common/command.c:1837 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s már csatlakozott a \"%s\" szerverhez!\n" -#: src/common/command.c:1842 +#: src/common/command.c:1845 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1861 src/common/command.c:1990 +#: src/common/command.c:1864 src/common/command.c:1993 #, c-format msgid "%s server not found\n" msgstr "%s a szerver nem található\n" -#: src/common/command.c:1974 +#: src/common/command.c:1977 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s nincs csatlakozva a \"%s\" szerverhez!\n" -#: src/common/command.c:1982 +#: src/common/command.c:1985 msgid "Auto-reconnection is cancelled\n" msgstr "automata újracsatlakozás megszakítva\n" -#: src/common/command.c:2018 src/common/weechat.c:489 +#: src/common/command.c:2021 src/common/weechat.c:489 #, c-format msgid "%s internal commands:\n" msgstr "%s belső parancsok:\n" -#: src/common/command.c:2028 src/common/weechat.c:509 +#: src/common/command.c:2031 src/common/weechat.c:509 #, c-format msgid "IRC commands:\n" msgstr "IRC parancsok:\n" -#: src/common/command.c:2042 +#: src/common/command.c:2045 msgid "Plugin commands:\n" msgstr "Modul parancsok:\n" -#: src/common/command.c:2158 +#: src/common/command.c:2161 #, c-format msgid "No help available, \"%s\" is an unknown command\n" msgstr "Nem érhető el segítség, a \"%s\" ismeretlen parancs\n" -#: src/common/command.c:2227 +#: src/common/command.c:2230 #, c-format msgid "%son %s%s%s/%s%s%s:%s ignoring %s%s%s from %s%s\n" msgstr "" -#: src/common/command.c:2265 +#: src/common/command.c:2268 msgid "List of ignore:\n" msgstr "" -#: src/common/command.c:2282 +#: src/common/command.c:2285 msgid "No ignore defined.\n" msgstr "" -#: src/common/command.c:2308 +#: src/common/command.c:2311 msgid "New ignore:" msgstr "" -#: src/common/command.c:2328 +#: src/common/command.c:2331 #, c-format msgid "New key binding: %s" msgstr "" -#: src/common/command.c:2367 +#: src/common/command.c:2370 msgid "Key bindings:\n" msgstr "" -#: src/common/command.c:2381 +#: src/common/command.c:2384 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "" -#: src/common/command.c:2387 +#: src/common/command.c:2390 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "" -#: src/common/command.c:2395 src/common/weechat.c:541 +#: src/common/command.c:2398 src/common/weechat.c:541 #, c-format msgid "Internal key functions:\n" msgstr "" -#: src/common/command.c:2415 +#: src/common/command.c:2418 msgid "Default key bindings restored\n" msgstr "Alapértelmezett billentyűparancsok visszaállítva\n" -#: src/common/command.c:2421 +#: src/common/command.c:2424 #, c-format msgid "%s \"-yes\" argument is required for keys reset (securuty reason)\n" msgstr "" "%s \"-yes\" paraméter megadása kötelező a billentyűparancsok " "visszaállításához (biztonsági okokból)\n" -#: src/common/command.c:2482 +#: src/common/command.c:2485 msgid "Plugins loaded:\n" msgstr "Betöltött modulok:\n" -#: src/common/command.c:2498 +#: src/common/command.c:2501 msgid " message handlers:\n" msgstr "" -#: src/common/command.c:2507 +#: src/common/command.c:2510 #, c-format msgid " IRC(%s)\n" msgstr "" -#: src/common/command.c:2514 +#: src/common/command.c:2517 msgid " (no message handler)\n" msgstr "" -#: src/common/command.c:2519 +#: src/common/command.c:2522 msgid " command handlers:\n" msgstr "" -#: src/common/command.c:2540 +#: src/common/command.c:2543 msgid " (no command handler)\n" msgstr "" -#: src/common/command.c:2546 +#: src/common/command.c:2548 +msgid " timer handlers:\n" +msgstr "" + +#: src/common/command.c:2557 +#, c-format +msgid " %d seconds\n" +msgstr "" + +#: src/common/command.c:2564 +msgid " (no timer handler)\n" +msgstr "" + +#: src/common/command.c:2569 +msgid " keyboard handlers:\n" +msgstr "" + +#: src/common/command.c:2579 +msgid " (no keyboard handler)\n" +msgstr "" + +#: src/common/command.c:2581 +#, c-format +msgid " %d defined\n" +msgstr "" + +#: src/common/command.c:2587 msgid " (no plugin)\n" msgstr " (nem található bővítőmodul)\n" -#: src/common/command.c:2582 src/common/command.c:3462 +#: src/common/command.c:2623 src/common/command.c:3505 #, fuzzy, c-format msgid "" "Command \"%s\" is not available, WeeChat was built without plugins support.\n" @@ -3325,40 +3356,40 @@ msgstr "" "A \"plugin\" parancs nem elérhető, a WeeChat modultámogatás nélkül lett " "lefordítva.\n" -#: src/common/command.c:2611 +#: src/common/command.c:2654 msgid "Configuration file saved\n" msgstr "Konfigurációs fájl elmentve\n" -#: src/common/command.c:2616 +#: src/common/command.c:2659 #, c-format msgid "%s failed to save configuration file\n" msgstr "%s nem sikerült a konfigurációs fájlt elmenteni\n" -#: src/common/command.c:2655 +#: src/common/command.c:2698 msgid "No server.\n" msgstr "Nincs szerver.\n" -#: src/common/command.c:2666 +#: src/common/command.c:2709 #, c-format msgid "Server '%s' not found.\n" msgstr "A '%s' szerver nem található.\n" -#: src/common/command.c:2678 +#: src/common/command.c:2721 #, c-format msgid "%s missing servername for \"%s\" command\n" msgstr "%s hiányzó szervernév a \"%s\" parancshoz\n" -#: src/common/command.c:2686 +#: src/common/command.c:2729 #, c-format msgid "%s too much arguments for \"%s\" command, ignoring arguments\n" msgstr "%s túl sok paraméter a \"%s\" parancsnak, paraméterek mellőzve\n" -#: src/common/command.c:2696 +#: src/common/command.c:2739 #, c-format msgid "%s server \"%s\" not found for \"%s\" command\n" msgstr "%s a \"%s\" szerver nem található a \"%s\" parancshoz\n" -#: src/common/command.c:2704 +#: src/common/command.c:2747 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3367,200 +3398,200 @@ msgstr "" "%s nem tudja törölni a \"%s\" szervert, mert csatlakozva van hozzá. Próbálja " "a /disconnect %s parancsot előbb.\n" -#: src/common/command.c:2724 +#: src/common/command.c:2767 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "A %s%s%s szerver törölve\n" -#: src/common/command.c:2743 +#: src/common/command.c:2786 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s hiányzó paraméter a \"%s\" parancsnak\n" -#: src/common/command.c:2753 +#: src/common/command.c:2796 #, c-format msgid "%s server \"%s\" already exists, can't create it!\n" msgstr "%s a \"%s\" szerver már létezik, nem hozhatja létre!\n" -#: src/common/command.c:2782 src/common/command.c:2810 -#: src/common/command.c:2823 src/common/command.c:2849 +#: src/common/command.c:2825 src/common/command.c:2853 +#: src/common/command.c:2866 src/common/command.c:2892 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s hiányzó jelszó a \"%s\" paraméterhez\n" -#: src/common/command.c:2795 +#: src/common/command.c:2838 #, c-format msgid "%s missing nick(s) for \"%s\" parameter\n" msgstr "%s hiányzó név a \"%s\" paraméterhez\n" -#: src/common/command.c:2836 +#: src/common/command.c:2879 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s hiányzó parancs a \"%s\" paraméterhez\n" -#: src/common/command.c:2874 +#: src/common/command.c:2917 #, c-format msgid "Server %s%s%s created\n" msgstr "A %s%s%s szerver létrehozva\n" -#: src/common/command.c:2883 +#: src/common/command.c:2926 #, c-format msgid "%s unable to create server\n" msgstr "%s nem sikerült a szervert létrehozni\n" -#: src/common/command.c:2943 +#: src/common/command.c:2986 msgid "(unknown)" msgstr "(ismeretlen)" -#: src/common/command.c:2966 +#: src/common/command.c:3009 #, c-format msgid "%s(password hidden) " msgstr "%s(jelszó rejtve) " -#: src/common/command.c:3064 +#: src/common/command.c:3107 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s a \"%s\" szerver nem található\n" -#: src/common/command.c:3097 src/common/command.c:3145 +#: src/common/command.c:3140 src/common/command.c:3188 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s a \"%s\" opció nem található\n" -#: src/common/command.c:3102 src/common/command.c:3137 +#: src/common/command.c:3145 src/common/command.c:3180 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s helytelen érték a \"%s\" paraméternek\n" -#: src/common/command.c:3118 +#: src/common/command.c:3161 #, c-format msgid "%s option \"%s\" can not be changed while WeeChat is running\n" msgstr "%s a \"%s\" opció nem módosítható a WeeChat futása közben\n" -#: src/common/command.c:3228 +#: src/common/command.c:3271 #, c-format msgid "No config option found with \"%s\"\n" msgstr "" -#: src/common/command.c:3231 +#: src/common/command.c:3274 msgid "No config option found\n" msgstr "Nem található az opció\n" -#: src/common/command.c:3238 +#: src/common/command.c:3281 #, c-format msgid "%sDetail:\n" msgstr "%sRészletek:\n" -#: src/common/command.c:3243 +#: src/common/command.c:3286 msgid " . type boolean (values: 'on' or 'off')\n" msgstr " . típus logikai (értékek: 'on' vagy 'off')\n" -#: src/common/command.c:3244 src/common/command.c:3267 -#: src/common/command.c:3273 src/common/command.c:3279 +#: src/common/command.c:3287 src/common/command.c:3310 +#: src/common/command.c:3316 src/common/command.c:3322 #: src/common/weechat.c:425 src/common/weechat.c:450 src/common/weechat.c:457 #: src/common/weechat.c:464 #, c-format msgid " . default value: '%s'\n" msgstr " . alapérték: '%s'\n" -#: src/common/command.c:3249 +#: src/common/command.c:3292 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr " . típus szám (értékek: %d és %d között)\n" -#: src/common/command.c:3252 src/common/weechat.c:434 +#: src/common/command.c:3295 src/common/weechat.c:434 #, c-format msgid " . default value: %d\n" msgstr " . alapérték: %d\n" -#: src/common/command.c:3256 +#: src/common/command.c:3299 msgid " . type string (values: " msgstr " . típus szöveg (értékek: " -#: src/common/command.c:3269 src/common/command.c:3275 -#: src/common/command.c:3281 src/common/weechat.c:452 src/common/weechat.c:459 +#: src/common/command.c:3312 src/common/command.c:3318 +#: src/common/command.c:3324 src/common/weechat.c:452 src/common/weechat.c:459 #: src/common/weechat.c:466 msgid "empty" msgstr "üres" -#: src/common/command.c:3272 +#: src/common/command.c:3315 msgid " . type color (Curses or Gtk color, look at WeeChat doc)\n" msgstr " . típus szín (Curses vagy Gtk szín, lásd WeeChat dokumentáció)\n" -#: src/common/command.c:3278 +#: src/common/command.c:3321 msgid " . type string (any string)\n" msgstr " . típus szöveg (bármilyen szöveg)\n" -#: src/common/command.c:3284 src/common/weechat.c:469 +#: src/common/command.c:3327 src/common/weechat.c:469 #, c-format msgid " . description: %s\n" msgstr " . leírás : %s\n" -#: src/common/command.c:3295 +#: src/common/command.c:3338 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "a \"%s\" kifejezéshez tartozó opciók\n" -#: src/common/command.c:3298 +#: src/common/command.c:3341 msgid "config option(s) found\n" msgstr "megtalált opciók\n" -#: src/common/command.c:3406 +#: src/common/command.c:3449 #, fuzzy, c-format msgid "%s incorrect value for plugin option \"%s\"\n" msgstr "%s helytelen érték a \"%s\" paraméternek\n" -#: src/common/command.c:3435 +#: src/common/command.c:3478 #, fuzzy, c-format msgid "No plugin option found with \"%s\"\n" msgstr "a \"%s\" kifejezéshez tartozó opciók\n" -#: src/common/command.c:3438 +#: src/common/command.c:3481 #, fuzzy msgid "No plugin option found\n" msgstr "Nem található az opció\n" -#: src/common/command.c:3448 +#: src/common/command.c:3491 #, fuzzy, c-format msgid "plugin option(s) found with \"%s\"\n" msgstr "a \"%s\" kifejezéshez tartozó opciók\n" -#: src/common/command.c:3451 +#: src/common/command.c:3494 #, fuzzy msgid "plugin option(s) found\n" msgstr "megtalált opciók\n" -#: src/common/command.c:3489 +#: src/common/command.c:3532 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s a \"%s\" aliasz vagy parancs nem található\n" -#: src/common/command.c:3499 +#: src/common/command.c:3542 #, c-format msgid "Alias \"%s\" removed\n" msgstr "A \"%s\" aliasz eltávolítva\n" -#: src/common/command.c:3559 +#: src/common/command.c:3602 msgid "ignore were removed.\n" msgstr "mellőzés eltávolítva.\n" -#: src/common/command.c:3561 +#: src/common/command.c:3604 msgid "ignore was removed.\n" msgstr "mellőzés eltávolítva.\n" -#: src/common/command.c:3566 +#: src/common/command.c:3609 #, c-format msgid "%s no ignore found\n" msgstr "%s nem található ilyen mellőzés\n" -#: src/common/command.c:3600 +#: src/common/command.c:3643 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "" "%s nem sikerült frissíteni: a kapcsolat egy vagy több szerverrel még " "folyamatban van\n" -#: src/common/command.c:3610 +#: src/common/command.c:3653 #, c-format msgid "" "%s can't upgrade: connection to at least one SSL server is active (should be " @@ -3569,36 +3600,36 @@ msgstr "" "%s nem sikerült frissíteni: a kapcsolat legalább egy SSL szerverrel aktív (a " "következő verziókban javítva lesz)\n" -#: src/common/command.c:3626 +#: src/common/command.c:3669 msgid "Upgrading WeeChat...\n" msgstr "WeeChat frissítése...\n" -#: src/common/command.c:3633 +#: src/common/command.c:3676 #, c-format msgid "%s unable to save session in file\n" msgstr "" -#: src/common/command.c:3659 +#: src/common/command.c:3702 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:3699 +#: src/common/command.c:3742 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "WeeChat futásidő: %d %s %02d:%02d:%02d, elindítva: %s" -#: src/common/command.c:3713 +#: src/common/command.c:3756 #, c-format msgid "WeeChat uptime: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, started on %s%s" msgstr "" "WeeChat futásidő: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, elindítva: %s%s" -#: src/common/command.c:3757 +#: src/common/command.c:3800 msgid "Opened windows:\n" msgstr "Nyitott ablakok:\n" -#: src/common/command.c:3844 +#: src/common/command.c:3887 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -5379,7 +5410,7 @@ msgstr "%s: alapértelmezett konfigurációs fájl elkészítése\n" msgid "Creating default config file\n" msgstr "Alapértelmezett konfigurációs fájl elkészítése\n" -#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2293 +#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2294 #, c-format msgid "" "#\n" @@ -5388,7 +5419,7 @@ msgstr "" "#\n" "# %s konfigurációs fájl, készítette: %s v%s - %s" -#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2297 +#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2298 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -5399,7 +5430,7 @@ msgstr "" "írja.\n" "#\n" -#: src/common/weeconfig.c:2290 +#: src/common/weeconfig.c:2291 msgid "Saving config to disk\n" msgstr "Beállítások mentése a lemezre\n" diff --git a/weechat/po/weechat.pot b/weechat/po/weechat.pot index c9d8e8541..3acc5253b 100644 --- a/weechat/po/weechat.pot +++ b/weechat/po/weechat.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2006-03-25 11:52+0100\n" +"POT-Creation-Date: 2006-03-29 20:06+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1289,7 +1289,7 @@ msgstr "" msgid " (temporary server, will not be saved)" msgstr "" -#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3423 +#: src/irc/irc-display.c:271 src/irc/irc-display.c:302 src/irc/irc-recv.c:3426 msgid "seconds" msgstr "" @@ -1297,7 +1297,7 @@ msgstr "" msgid "(hidden)" msgstr "" -#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4993 +#: src/irc/irc-send.c:63 src/irc/irc-recv.c:4996 msgid "unknown" msgstr "" @@ -1306,7 +1306,7 @@ msgstr "" msgid "%s: using hostname \"%s\"\n" msgstr "" -#: src/irc/irc-send.c:221 src/common/command.c:1036 +#: src/irc/irc-send.c:221 src/common/command.c:1039 #, c-format msgid "%s cannot find nick for sending message\n" msgstr "" @@ -1328,8 +1328,8 @@ msgstr "" #: src/irc/irc-send.c:634 src/irc/irc-send.c:646 src/irc/irc-send.c:664 #: src/irc/irc-send.c:1371 src/irc/irc-send.c:1509 src/irc/irc-send.c:2104 -#: src/common/command.c:1922 src/common/command.c:2435 -#: src/common/command.c:2576 +#: src/common/command.c:1925 src/common/command.c:2438 +#: src/common/command.c:2617 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "" @@ -1344,7 +1344,7 @@ msgstr "" msgid "%s \"%s\" command can only be executed in a channel or private buffer\n" msgstr "" -#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:511 +#: src/irc/irc-send.c:1286 src/irc/irc-recv.c:514 #, c-format msgid "%s nick \"%s\" not found for \"%s\" command\n" msgstr "" @@ -1359,479 +1359,479 @@ msgstr "" msgid "%s, compiled on %s %s\n" msgstr "" -#: src/irc/irc-recv.c:371 +#: src/irc/irc-recv.c:374 #, c-format msgid "You have been invited to %s%s%s by %s%s\n" msgstr "" -#: src/irc/irc-recv.c:385 src/irc/irc-recv.c:480 src/irc/irc-recv.c:1103 -#: src/irc/irc-recv.c:1525 src/irc/irc-recv.c:1805 src/irc/irc-recv.c:3795 -#: src/irc/irc-recv.c:3816 src/irc/irc-recv.c:3877 src/irc/irc-recv.c:3948 +#: src/irc/irc-recv.c:388 src/irc/irc-recv.c:483 src/irc/irc-recv.c:1106 +#: src/irc/irc-recv.c:1528 src/irc/irc-recv.c:1808 src/irc/irc-recv.c:3798 +#: src/irc/irc-recv.c:3819 src/irc/irc-recv.c:3880 src/irc/irc-recv.c:3951 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:413 +#: src/irc/irc-recv.c:416 #, c-format msgid "%s cannot create new channel \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:426 +#: src/irc/irc-recv.c:429 #, c-format msgid "%s%s %s(%s%s%s)%s has joined %s%s\n" msgstr "" -#: src/irc/irc-recv.c:488 +#: src/irc/irc-recv.c:491 #, c-format msgid "%s%s%s has kicked %s%s%s from %s%s" msgstr "" -#: src/irc/irc-recv.c:578 +#: src/irc/irc-recv.c:581 #, c-format msgid "%s%s%s has killed %s%s%s from server" msgstr "" -#: src/irc/irc-recv.c:600 +#: src/irc/irc-recv.c:603 #, c-format msgid "%s host \"%s\" not found for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:641 +#: src/irc/irc-recv.c:644 msgid "sets ban on" msgstr "" -#: src/irc/irc-recv.c:642 +#: src/irc/irc-recv.c:645 msgid "removes ban on" msgstr "" -#: src/irc/irc-recv.c:666 +#: src/irc/irc-recv.c:669 msgid "sets realname ban on" msgstr "" -#: src/irc/irc-recv.c:667 +#: src/irc/irc-recv.c:670 msgid "removes realname ban on" msgstr "" -#: src/irc/irc-recv.c:691 +#: src/irc/irc-recv.c:694 msgid "sets ban exemtion on" msgstr "" -#: src/irc/irc-recv.c:692 +#: src/irc/irc-recv.c:695 msgid "removes ban exemption on" msgstr "" -#: src/irc/irc-recv.c:716 +#: src/irc/irc-recv.c:719 msgid "sets mode +f" msgstr "" -#: src/irc/irc-recv.c:717 +#: src/irc/irc-recv.c:720 msgid "removes mode +f" msgstr "" -#: src/irc/irc-recv.c:741 +#: src/irc/irc-recv.c:744 msgid "gives half channel operator status to" msgstr "" -#: src/irc/irc-recv.c:742 +#: src/irc/irc-recv.c:745 msgid "removes half channel operator status from" msgstr "" -#: src/irc/irc-recv.c:769 +#: src/irc/irc-recv.c:772 msgid "sets invite-only channel flag" msgstr "" -#: src/irc/irc-recv.c:770 +#: src/irc/irc-recv.c:773 msgid "removes invite-only channel flag" msgstr "" -#: src/irc/irc-recv.c:787 +#: src/irc/irc-recv.c:790 msgid "sets invite-only exemption on" msgstr "" -#: src/irc/irc-recv.c:788 +#: src/irc/irc-recv.c:791 msgid "removes invite-only exemption on" msgstr "" -#: src/irc/irc-recv.c:812 +#: src/irc/irc-recv.c:815 msgid "sets channel key to" msgstr "" -#: src/irc/irc-recv.c:813 +#: src/irc/irc-recv.c:816 msgid "removes channel key" msgstr "" -#: src/irc/irc-recv.c:844 +#: src/irc/irc-recv.c:847 msgid "sets the user limit to" msgstr "" -#: src/irc/irc-recv.c:845 +#: src/irc/irc-recv.c:848 msgid "removes user limit" msgstr "" -#: src/irc/irc-recv.c:867 +#: src/irc/irc-recv.c:870 msgid "sets moderated channel flag" msgstr "" -#: src/irc/irc-recv.c:868 +#: src/irc/irc-recv.c:871 msgid "removes moderated channel flag" msgstr "" -#: src/irc/irc-recv.c:878 +#: src/irc/irc-recv.c:881 msgid "sets messages from channel only flag" msgstr "" -#: src/irc/irc-recv.c:879 +#: src/irc/irc-recv.c:882 msgid "removes messages from channel only flag" msgstr "" -#: src/irc/irc-recv.c:896 +#: src/irc/irc-recv.c:899 msgid "gives channel operator status to" msgstr "" -#: src/irc/irc-recv.c:897 +#: src/irc/irc-recv.c:900 msgid "removes channel operator status from" msgstr "" -#: src/irc/irc-recv.c:924 +#: src/irc/irc-recv.c:927 msgid "sets private channel flag" msgstr "" -#: src/irc/irc-recv.c:925 +#: src/irc/irc-recv.c:928 msgid "removes private channel flag" msgstr "" -#: src/irc/irc-recv.c:942 +#: src/irc/irc-recv.c:945 msgid "sets quiet on" msgstr "" -#: src/irc/irc-recv.c:943 +#: src/irc/irc-recv.c:946 msgid "removes quiet on" msgstr "" -#: src/irc/irc-recv.c:960 +#: src/irc/irc-recv.c:963 msgid "sets secret channel flag" msgstr "" -#: src/irc/irc-recv.c:961 +#: src/irc/irc-recv.c:964 msgid "removes secret channel flag" msgstr "" -#: src/irc/irc-recv.c:971 +#: src/irc/irc-recv.c:974 msgid "sets topic protection" msgstr "" -#: src/irc/irc-recv.c:972 +#: src/irc/irc-recv.c:975 msgid "removes topic protection" msgstr "" -#: src/irc/irc-recv.c:989 +#: src/irc/irc-recv.c:992 msgid "gives voice to" msgstr "" -#: src/irc/irc-recv.c:990 +#: src/irc/irc-recv.c:993 msgid "removes voice from" msgstr "" -#: src/irc/irc-recv.c:1062 src/irc/irc-recv.c:1148 src/irc/irc-recv.c:1604 -#: src/irc/irc-recv.c:2429 +#: src/irc/irc-recv.c:1065 src/irc/irc-recv.c:1151 src/irc/irc-recv.c:1607 +#: src/irc/irc-recv.c:2432 #, c-format msgid "%s \"%s\" command received without host\n" msgstr "" -#: src/irc/irc-recv.c:1072 +#: src/irc/irc-recv.c:1075 #, c-format msgid "%s \"%s\" command received without channel or nickname\n" msgstr "" -#: src/irc/irc-recv.c:1114 +#: src/irc/irc-recv.c:1117 #, c-format msgid "%s[%s%s%s/%s%s%s]%s mode changed by %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1183 +#: src/irc/irc-recv.c:1186 #, c-format msgid "You are now known as %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1187 +#: src/irc/irc-recv.c:1190 #, c-format msgid "%s%s%s is now known as %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1255 +#: src/irc/irc-recv.c:1258 #, c-format msgid "%s nickname not found for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:1269 +#: src/irc/irc-recv.c:1272 #, c-format msgid "CTCP %sVERSION%s reply from %s%s%s: %s\n" msgstr "" -#: src/irc/irc-recv.c:1303 +#: src/irc/irc-recv.c:1306 #, c-format msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "" -#: src/irc/irc-recv.c:1326 src/irc/irc-recv.c:2232 src/irc/irc-recv.c:2344 +#: src/irc/irc-recv.c:1329 src/irc/irc-recv.c:2235 src/irc/irc-recv.c:2347 #, c-format msgid "%s cannot create new private window \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:1351 src/irc/irc-recv.c:2369 +#: src/irc/irc-recv.c:1354 src/irc/irc-recv.c:2372 msgid "Private" msgstr "" -#: src/irc/irc-recv.c:1427 +#: src/irc/irc-recv.c:1430 #, c-format msgid "%s \"%s\" command received without host or channel\n" msgstr "" -#: src/irc/irc-recv.c:1455 +#: src/irc/irc-recv.c:1458 #, c-format msgid "%s%s %s(%s%s%s)%s has left %s%s" msgstr "" -#: src/irc/irc-recv.c:1654 src/irc/irc-recv.c:1780 src/irc/irc-recv.c:2260 +#: src/irc/irc-recv.c:1657 src/irc/irc-recv.c:1783 src/irc/irc-recv.c:2263 msgid "Channel" msgstr "" -#: src/irc/irc-recv.c:1688 +#: src/irc/irc-recv.c:1691 #, c-format msgid "Received a CTCP %sSOUND%s \"%s\" from %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1718 src/irc/irc-recv.c:1904 +#: src/irc/irc-recv.c:1721 src/irc/irc-recv.c:1907 #, c-format msgid "CTCP %sPING%s received from %s%s\n" msgstr "" -#: src/irc/irc-recv.c:1747 src/irc/irc-recv.c:2311 +#: src/irc/irc-recv.c:1750 src/irc/irc-recv.c:2314 #, c-format msgid "Unknown CTCP %s%s%s received from %s%s" msgstr "" -#: src/irc/irc-recv.c:1860 +#: src/irc/irc-recv.c:1863 #, c-format msgid "CTCP %sVERSION%s received from %s%s" msgstr "" -#: src/irc/irc-recv.c:1927 src/irc/irc-recv.c:1948 src/irc/irc-recv.c:1964 -#: src/irc/irc-recv.c:1980 src/irc/irc-recv.c:2011 src/irc/irc-recv.c:2032 -#: src/irc/irc-recv.c:2048 src/irc/irc-recv.c:2078 src/irc/irc-recv.c:2099 -#: src/irc/irc-recv.c:2115 src/irc/irc-recv.c:2145 src/irc/irc-recv.c:2166 -#: src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2405 src/irc/irc-recv.c:2756 -#: src/irc/irc-recv.c:4155 src/irc/irc-recv.c:4170 src/irc/irc-recv.c:4185 -#: src/irc/irc-recv.c:4200 src/irc/irc-recv.c:4213 src/irc/irc-recv.c:4278 -#: src/irc/irc-recv.c:4292 src/irc/irc-recv.c:4526 src/irc/irc-recv.c:4584 -#: src/irc/irc-recv.c:4722 src/irc/irc-recv.c:4737 src/irc/irc-recv.c:4843 -#: src/irc/irc-recv.c:4857 +#: src/irc/irc-recv.c:1930 src/irc/irc-recv.c:1951 src/irc/irc-recv.c:1967 +#: src/irc/irc-recv.c:1983 src/irc/irc-recv.c:2014 src/irc/irc-recv.c:2035 +#: src/irc/irc-recv.c:2051 src/irc/irc-recv.c:2081 src/irc/irc-recv.c:2102 +#: src/irc/irc-recv.c:2118 src/irc/irc-recv.c:2148 src/irc/irc-recv.c:2169 +#: src/irc/irc-recv.c:2184 src/irc/irc-recv.c:2408 src/irc/irc-recv.c:2759 +#: src/irc/irc-recv.c:4158 src/irc/irc-recv.c:4173 src/irc/irc-recv.c:4188 +#: src/irc/irc-recv.c:4203 src/irc/irc-recv.c:4216 src/irc/irc-recv.c:4281 +#: src/irc/irc-recv.c:4295 src/irc/irc-recv.c:4529 src/irc/irc-recv.c:4587 +#: src/irc/irc-recv.c:4725 src/irc/irc-recv.c:4740 src/irc/irc-recv.c:4846 +#: src/irc/irc-recv.c:4860 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:2194 +#: src/irc/irc-recv.c:2197 #, c-format msgid "%s unknown DCC CHAT type received from " msgstr "" -#: src/irc/irc-recv.c:2452 +#: src/irc/irc-recv.c:2455 #, c-format msgid "%s%s %s(%s%s%s)%s has quit" msgstr "" -#: src/irc/irc-recv.c:2583 +#: src/irc/irc-recv.c:2586 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "" -#: src/irc/irc-recv.c:2612 +#: src/irc/irc-recv.c:2615 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "" -#: src/irc/irc-recv.c:2623 +#: src/irc/irc-recv.c:2626 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "" -#: src/irc/irc-recv.c:2742 +#: src/irc/irc-recv.c:2745 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "" -#: src/irc/irc-recv.c:2806 +#: src/irc/irc-recv.c:2809 #, c-format msgid "%s%s%s is away: %s\n" msgstr "" -#: src/irc/irc-recv.c:2898 +#: src/irc/irc-recv.c:2901 msgid "Users online: " msgstr "" -#: src/irc/irc-recv.c:3274 +#: src/irc/irc-recv.c:3277 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "" -#: src/irc/irc-recv.c:3395 +#: src/irc/irc-recv.c:3398 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "" -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "days" msgstr "" -#: src/irc/irc-recv.c:3407 src/common/command.c:3701 src/common/command.c:3719 +#: src/irc/irc-recv.c:3410 src/common/command.c:3744 src/common/command.c:3762 msgid "day" msgstr "" -#: src/irc/irc-recv.c:3411 +#: src/irc/irc-recv.c:3414 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hours" msgstr "" -#: src/irc/irc-recv.c:3415 +#: src/irc/irc-recv.c:3418 msgid "hour" msgstr "" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minutes" msgstr "" -#: src/irc/irc-recv.c:3419 +#: src/irc/irc-recv.c:3422 msgid "minute" msgstr "" -#: src/irc/irc-recv.c:3423 +#: src/irc/irc-recv.c:3426 msgid "second" msgstr "" -#: src/irc/irc-recv.c:3807 +#: src/irc/irc-recv.c:3810 #, c-format msgid "No topic set for %s%s\n" msgstr "" -#: src/irc/irc-recv.c:3863 +#: src/irc/irc-recv.c:3866 #, c-format msgid "Topic for %s%s%s is: " msgstr "" -#: src/irc/irc-recv.c:3887 src/irc/irc-recv.c:3975 src/irc/irc-recv.c:4030 +#: src/irc/irc-recv.c:3890 src/irc/irc-recv.c:3978 src/irc/irc-recv.c:4033 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:3937 +#: src/irc/irc-recv.c:3940 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "" -#: src/irc/irc-recv.c:3957 +#: src/irc/irc-recv.c:3960 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:3966 src/irc/irc-recv.c:4039 +#: src/irc/irc-recv.c:3969 src/irc/irc-recv.c:4042 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:4015 +#: src/irc/irc-recv.c:4018 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "" -#: src/irc/irc-recv.c:4075 +#: src/irc/irc-recv.c:4078 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "" -#: src/irc/irc-recv.c:4572 +#: src/irc/irc-recv.c:4575 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:4630 +#: src/irc/irc-recv.c:4633 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "" -#: src/irc/irc-recv.c:4651 +#: src/irc/irc-recv.c:4654 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nicks" msgstr "" -#: src/irc/irc-recv.c:4659 +#: src/irc/irc-recv.c:4662 msgid "nick" msgstr "" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "ops" msgstr "" -#: src/irc/irc-recv.c:4664 +#: src/irc/irc-recv.c:4667 msgid "op" msgstr "" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfops" msgstr "" -#: src/irc/irc-recv.c:4668 +#: src/irc/irc-recv.c:4671 msgid "halfop" msgstr "" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voices" msgstr "" -#: src/irc/irc-recv.c:4672 +#: src/irc/irc-recv.c:4675 msgid "voice" msgstr "" -#: src/irc/irc-recv.c:4676 +#: src/irc/irc-recv.c:4679 msgid "normal" msgstr "" -#: src/irc/irc-recv.c:4777 +#: src/irc/irc-recv.c:4780 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "" -#: src/irc/irc-recv.c:4812 +#: src/irc/irc-recv.c:4815 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "" -#: src/irc/irc-recv.c:4947 +#: src/irc/irc-recv.c:4950 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:4959 +#: src/irc/irc-recv.c:4962 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:4971 +#: src/irc/irc-recv.c:4974 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " "server!\n" msgstr "" -#: src/irc/irc-recv.c:4981 +#: src/irc/irc-recv.c:4984 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -2062,67 +2062,72 @@ msgstr "" msgid "%s plugin %s: unable to add timer handler (not enough memory)\n" msgstr "" -#: src/plugins/plugins.c:657 +#: src/plugins/plugins.c:422 +#, c-format +msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n" +msgstr "" + +#: src/plugins/plugins.c:758 #, c-format msgid "%s unable to load plugin \"%s\": %s\n" msgstr "" -#: src/plugins/plugins.c:668 +#: src/plugins/plugins.c:769 #, c-format msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n" msgstr "" -#: src/plugins/plugins.c:679 +#: src/plugins/plugins.c:780 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" msgstr "" -#: src/plugins/plugins.c:691 +#: src/plugins/plugins.c:792 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" msgstr "" -#: src/plugins/plugins.c:702 +#: src/plugins/plugins.c:803 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" msgstr "" -#: src/plugins/plugins.c:713 +#: src/plugins/plugins.c:814 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " "load\n" msgstr "" -#: src/plugins/plugins.c:776 +#: src/plugins/plugins.c:879 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "" -#: src/plugins/plugins.c:784 +#: src/plugins/plugins.c:887 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "" -#: src/plugins/plugins.c:795 +#: src/plugins/plugins.c:898 #, c-format msgid "%s unable to load plugin \"%s\" (not enough memory)\n" msgstr "" -#: src/plugins/plugins.c:803 +#: src/plugins/plugins.c:906 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "" -#: src/plugins/plugins.c:970 +#: src/plugins/plugins.c:1073 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "" -#: src/plugins/plugins.c:976 src/common/command.c:3384 +#: src/plugins/plugins.c:1079 src/common/command.c:3427 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "" @@ -2133,7 +2138,7 @@ msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "" #: src/plugins/plugins-config.c:352 src/common/weeconfig.c:2078 -#: src/common/weeconfig.c:2284 +#: src/common/weeconfig.c:2285 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "" @@ -2153,329 +2158,329 @@ msgid "" "#\n" msgstr "" -#: src/plugins/plugins-interface.c:360 +#: src/plugins/plugins-interface.c:376 #, c-format msgid "%s server/channel (%s/%s) not found for plugin exec command\n" msgstr "" -#: src/gui/curses/gui-input.c:353 +#: src/gui/curses/gui-input.c:386 #, c-format msgid "Day changed to %s\n" msgstr "" -#: src/gui/curses/gui-input.c:458 +#: src/gui/curses/gui-input.c:491 #, c-format msgid "%s lag is high, disconnecting from server...\n" msgstr "" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "bytes" msgstr "" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Kb" msgstr "" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Mb" msgstr "" -#: src/gui/curses/gui-display.c:1485 +#: src/gui/curses/gui-display.c:1526 msgid "Gb" msgstr "" -#: src/gui/curses/gui-display.c:1603 +#: src/gui/curses/gui-display.c:1644 msgid "ETA" msgstr "" -#: src/gui/curses/gui-display.c:1965 +#: src/gui/curses/gui-display.c:2006 msgid "" msgstr "" -#: src/gui/curses/gui-display.c:1977 +#: src/gui/curses/gui-display.c:2018 msgid "(away)" msgstr "" -#: src/gui/curses/gui-display.c:2111 +#: src/gui/curses/gui-display.c:2152 msgid "[not connected] " msgstr "" -#: src/gui/curses/gui-display.c:2117 +#: src/gui/curses/gui-display.c:2158 msgid " " msgstr "" -#: src/gui/curses/gui-display.c:2129 +#: src/gui/curses/gui-display.c:2170 msgid "Act: " msgstr "" -#: src/gui/curses/gui-display.c:2210 +#: src/gui/curses/gui-display.c:2251 msgid "RAW_IRC" msgstr "" -#: src/gui/curses/gui-display.c:2231 +#: src/gui/curses/gui-display.c:2272 #, c-format msgid "Lag: %.1f" msgstr "" -#: src/gui/curses/gui-display.c:2247 +#: src/gui/curses/gui-display.c:2288 msgid "-MORE-" msgstr "" -#: src/gui/curses/gui-display.c:2506 +#: src/gui/curses/gui-display.c:2587 msgid " [A] Accept" msgstr "" -#: src/gui/curses/gui-display.c:2507 src/gui/curses/gui-display.c:2511 +#: src/gui/curses/gui-display.c:2588 src/gui/curses/gui-display.c:2592 msgid " [C] Cancel" msgstr "" -#: src/gui/curses/gui-display.c:2516 +#: src/gui/curses/gui-display.c:2597 msgid " [R] Remove" msgstr "" -#: src/gui/curses/gui-display.c:2520 +#: src/gui/curses/gui-display.c:2601 msgid " [P] Purge old DCC" msgstr "" -#: src/gui/curses/gui-display.c:2521 +#: src/gui/curses/gui-display.c:2602 msgid " [Q] Close DCC view" msgstr "" -#: src/gui/curses/gui-display.c:2529 +#: src/gui/curses/gui-display.c:2610 msgid " [Q] Close raw data view" msgstr "" -#: src/gui/gtk/gui-display.c:2263 +#: src/gui/gtk/gui-display.c:2276 msgid "server" msgstr "" -#: src/gui/gui-common.c:770 +#: src/gui/gui-common.c:777 msgid "Not enough memory for new line\n" msgstr "" -#: src/gui/gui-common.c:1139 +#: src/gui/gui-common.c:1146 msgid "Not enough memory for infobar message\n" msgstr "" -#: src/gui/gui-keyboard.c:45 +#: src/gui/gui-keyboard.c:49 msgid "terminate line" msgstr "" -#: src/gui/gui-keyboard.c:47 +#: src/gui/gui-keyboard.c:51 msgid "complete word" msgstr "" -#: src/gui/gui-keyboard.c:49 +#: src/gui/gui-keyboard.c:53 msgid "delete previous char" msgstr "" -#: src/gui/gui-keyboard.c:51 +#: src/gui/gui-keyboard.c:55 msgid "delete next char" msgstr "" -#: src/gui/gui-keyboard.c:53 +#: src/gui/gui-keyboard.c:57 msgid "delete until end of line" msgstr "" -#: src/gui/gui-keyboard.c:55 +#: src/gui/gui-keyboard.c:59 msgid "delete until beginning of line" msgstr "" -#: src/gui/gui-keyboard.c:57 +#: src/gui/gui-keyboard.c:61 msgid "delete entire line" msgstr "" -#: src/gui/gui-keyboard.c:59 +#: src/gui/gui-keyboard.c:63 msgid "delete previous word" msgstr "" -#: src/gui/gui-keyboard.c:61 +#: src/gui/gui-keyboard.c:65 msgid "delete next word" msgstr "" -#: src/gui/gui-keyboard.c:63 +#: src/gui/gui-keyboard.c:67 msgid "paste current clipboard content" msgstr "" -#: src/gui/gui-keyboard.c:65 +#: src/gui/gui-keyboard.c:69 msgid "transpose chars" msgstr "" -#: src/gui/gui-keyboard.c:67 +#: src/gui/gui-keyboard.c:71 msgid "go to beginning of line" msgstr "" -#: src/gui/gui-keyboard.c:69 +#: src/gui/gui-keyboard.c:73 msgid "go to end of line" msgstr "" -#: src/gui/gui-keyboard.c:71 +#: src/gui/gui-keyboard.c:75 msgid "move one char left" msgstr "" -#: src/gui/gui-keyboard.c:73 +#: src/gui/gui-keyboard.c:77 msgid "move to previous word" msgstr "" -#: src/gui/gui-keyboard.c:75 +#: src/gui/gui-keyboard.c:79 msgid "move one char right" msgstr "" -#: src/gui/gui-keyboard.c:77 +#: src/gui/gui-keyboard.c:81 msgid "move to next word" msgstr "" -#: src/gui/gui-keyboard.c:79 +#: src/gui/gui-keyboard.c:83 msgid "call previous command in history" msgstr "" -#: src/gui/gui-keyboard.c:81 +#: src/gui/gui-keyboard.c:85 msgid "call previous command in global history" msgstr "" -#: src/gui/gui-keyboard.c:83 +#: src/gui/gui-keyboard.c:87 msgid "call next command in history" msgstr "" -#: src/gui/gui-keyboard.c:85 +#: src/gui/gui-keyboard.c:89 msgid "call next command in global history" msgstr "" -#: src/gui/gui-keyboard.c:87 +#: src/gui/gui-keyboard.c:91 msgid "scroll one page up" msgstr "" -#: src/gui/gui-keyboard.c:89 +#: src/gui/gui-keyboard.c:93 msgid "scroll one page down" msgstr "" -#: src/gui/gui-keyboard.c:91 +#: src/gui/gui-keyboard.c:95 msgid "scroll a few lines up" msgstr "" -#: src/gui/gui-keyboard.c:93 +#: src/gui/gui-keyboard.c:97 msgid "scroll a few lines down" msgstr "" -#: src/gui/gui-keyboard.c:95 +#: src/gui/gui-keyboard.c:99 msgid "scroll to top of buffer" msgstr "" -#: src/gui/gui-keyboard.c:97 +#: src/gui/gui-keyboard.c:101 msgid "scroll to bottom of buffer" msgstr "" -#: src/gui/gui-keyboard.c:99 +#: src/gui/gui-keyboard.c:103 msgid "display beginning of nicklist" msgstr "" -#: src/gui/gui-keyboard.c:101 +#: src/gui/gui-keyboard.c:105 msgid "display end of nicklist" msgstr "" -#: src/gui/gui-keyboard.c:103 +#: src/gui/gui-keyboard.c:107 msgid "scroll nicklist one page up" msgstr "" -#: src/gui/gui-keyboard.c:105 +#: src/gui/gui-keyboard.c:109 msgid "scroll nicklist one page down" msgstr "" -#: src/gui/gui-keyboard.c:107 +#: src/gui/gui-keyboard.c:111 msgid "jump to buffer with activity" msgstr "" -#: src/gui/gui-keyboard.c:109 +#: src/gui/gui-keyboard.c:113 msgid "jump to DCC buffer" msgstr "" -#: src/gui/gui-keyboard.c:111 +#: src/gui/gui-keyboard.c:115 msgid "jump to raw IRC data buffer" msgstr "" -#: src/gui/gui-keyboard.c:113 +#: src/gui/gui-keyboard.c:117 msgid "jump to last buffer" msgstr "" -#: src/gui/gui-keyboard.c:115 +#: src/gui/gui-keyboard.c:119 msgid "jump to server buffer" msgstr "" -#: src/gui/gui-keyboard.c:117 +#: src/gui/gui-keyboard.c:121 msgid "jump to next server" msgstr "" -#: src/gui/gui-keyboard.c:119 +#: src/gui/gui-keyboard.c:123 msgid "switch active server on servers buffer" msgstr "" -#: src/gui/gui-keyboard.c:121 +#: src/gui/gui-keyboard.c:125 msgid "scroll to previous highlight in buffer" msgstr "" -#: src/gui/gui-keyboard.c:123 +#: src/gui/gui-keyboard.c:127 msgid "scroll to next highlight in buffer" msgstr "" -#: src/gui/gui-keyboard.c:125 +#: src/gui/gui-keyboard.c:129 msgid "scroll to first unread line in buffer" msgstr "" -#: src/gui/gui-keyboard.c:127 +#: src/gui/gui-keyboard.c:131 msgid "clear hotlist" msgstr "" -#: src/gui/gui-keyboard.c:129 +#: src/gui/gui-keyboard.c:133 msgid "clear infobar" msgstr "" -#: src/gui/gui-keyboard.c:131 +#: src/gui/gui-keyboard.c:135 msgid "refresh screen" msgstr "" -#: src/gui/gui-keyboard.c:133 +#: src/gui/gui-keyboard.c:137 msgid "grab a key" msgstr "" -#: src/gui/gui-keyboard.c:444 src/common/command.c:2450 +#: src/gui/gui-keyboard.c:448 src/common/command.c:2453 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "" -#: src/gui/gui-keyboard.c:455 +#: src/gui/gui-keyboard.c:459 #, c-format msgid "%s unable to bind key \"%s\" (invalid function name: \"%s\")\n" msgstr "" -#: src/gui/gui-keyboard.c:468 +#: src/gui/gui-keyboard.c:472 #, c-format msgid "%s not enough memory for key binding\n" msgstr "" -#: src/common/command.c:45 +#: src/common/command.c:48 msgid "create an alias for a command" msgstr "" -#: src/common/command.c:46 +#: src/common/command.c:49 msgid "[alias_name [command [arguments]]" msgstr "" -#: src/common/command.c:47 +#: src/common/command.c:50 msgid "" "alias_name: name of alias\n" " command: command name (WeeChat or IRC command, without first '/')\n" "arguments: arguments for command" msgstr "" -#: src/common/command.c:52 +#: src/common/command.c:55 msgid "manage buffers" msgstr "" -#: src/common/command.c:53 +#: src/common/command.c:56 msgid "[action [args] | number | [[server] [channel]]]" msgstr "" -#: src/common/command.c:54 +#: src/common/command.c:57 msgid "" " action: action to do:\n" " move: move buffer in the list (may be relative, for example -1)\n" @@ -2488,31 +2493,31 @@ msgid "" " number: jump to buffer by number" msgstr "" -#: src/common/command.c:63 +#: src/common/command.c:66 msgid "" "launch WeeChat/IRC builtin command (do not look at plugins handlers or " "aliases)" msgstr "" -#: src/common/command.c:64 +#: src/common/command.c:67 msgid "command" msgstr "" -#: src/common/command.c:65 +#: src/common/command.c:68 msgid "" "command: command to execute (a '/' is automatically added if not found at " "beginning of command)\n" msgstr "" -#: src/common/command.c:67 +#: src/common/command.c:70 msgid "change charset for server or channel" msgstr "" -#: src/common/command.c:68 +#: src/common/command.c:71 msgid "[(decode_iso | decode_utf | encode) charset]" msgstr "" -#: src/common/command.c:69 +#: src/common/command.c:72 msgid "" "decode_iso: charset used for decoding ISO\n" "decode_utf: charset used for decoding UTF\n" @@ -2520,88 +2525,88 @@ msgid "" " charset: charset to use (for example: ISO-8859-15, UTF-8,..)" msgstr "" -#: src/common/command.c:74 +#: src/common/command.c:77 msgid "clear window(s)" msgstr "" -#: src/common/command.c:75 +#: src/common/command.c:78 msgid "[-all]" msgstr "" -#: src/common/command.c:76 +#: src/common/command.c:79 msgid "-all: clear all windows" msgstr "" -#: src/common/command.c:78 +#: src/common/command.c:81 msgid "connect to a server" msgstr "" -#: src/common/command.c:79 src/common/command.c:83 +#: src/common/command.c:82 src/common/command.c:86 msgid "[servername]" msgstr "" -#: src/common/command.c:80 +#: src/common/command.c:83 msgid "servername: server name to connect" msgstr "" -#: src/common/command.c:82 +#: src/common/command.c:85 msgid "disconnect from a server" msgstr "" -#: src/common/command.c:84 +#: src/common/command.c:87 msgid "servername: server name to disconnect" msgstr "" -#: src/common/command.c:86 +#: src/common/command.c:89 msgid "print debug messages" msgstr "" -#: src/common/command.c:87 +#: src/common/command.c:90 msgid "dump | windows" msgstr "" -#: src/common/command.c:88 +#: src/common/command.c:91 msgid "" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" "windows: display windows tree" msgstr "" -#: src/common/command.c:91 +#: src/common/command.c:94 msgid "display help about commands" msgstr "" -#: src/common/command.c:92 +#: src/common/command.c:95 msgid "[command]" msgstr "" -#: src/common/command.c:93 +#: src/common/command.c:96 msgid "command: name of a WeeChat or IRC command" msgstr "" -#: src/common/command.c:95 +#: src/common/command.c:98 msgid "show buffer command history" msgstr "" -#: src/common/command.c:96 +#: src/common/command.c:99 msgid "[clear | value]" msgstr "" -#: src/common/command.c:97 +#: src/common/command.c:100 msgid "" "clear: clear history\n" "value: number of history entries to show" msgstr "" -#: src/common/command.c:100 +#: src/common/command.c:103 msgid "ignore IRC messages and/or hosts" msgstr "" -#: src/common/command.c:101 +#: src/common/command.c:104 msgid "[mask [[type | command] [channel [server]]]]" msgstr "" -#: src/common/command.c:102 +#: src/common/command.c:105 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2613,15 +2618,15 @@ msgid "" "Without argument, /ignore command lists all defined ignore." msgstr "" -#: src/common/command.c:111 +#: src/common/command.c:114 msgid "bind/unbind keys" msgstr "" -#: src/common/command.c:112 +#: src/common/command.c:115 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "" -#: src/common/command.c:113 +#: src/common/command.c:116 msgid "" " key: bind this key to an internal function or a command (beginning by " "\"/\")\n" @@ -2631,26 +2636,26 @@ msgid "" "bindings (use carefully!)" msgstr "" -#: src/common/command.c:120 +#: src/common/command.c:123 msgid "list/load/unload plugins" msgstr "" -#: src/common/command.c:121 +#: src/common/command.c:124 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "" -#: src/common/command.c:122 +#: src/common/command.c:125 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" "Without argument, /plugin command lists all loaded plugins." msgstr "" -#: src/common/command.c:125 +#: src/common/command.c:128 msgid "list, add or remove servers" msgstr "" -#: src/common/command.c:126 +#: src/common/command.c:129 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2658,7 +2663,7 @@ msgid "" "servername]" msgstr "" -#: src/common/command.c:131 +#: src/common/command.c:134 msgid "" "servername: server name, for internal and display use\n" " hostname: name or IP address of server\n" @@ -2673,27 +2678,27 @@ msgid "" " realname: real name of user" msgstr "" -#: src/common/command.c:143 +#: src/common/command.c:146 msgid "save config to disk" msgstr "" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "[file]" msgstr "" -#: src/common/command.c:144 +#: src/common/command.c:147 msgid "file: filename for writing config" msgstr "" -#: src/common/command.c:146 +#: src/common/command.c:149 msgid "set config options" msgstr "" -#: src/common/command.c:147 src/common/command.c:155 +#: src/common/command.c:150 src/common/command.c:158 msgid "[option [ = value]]" msgstr "" -#: src/common/command.c:148 +#: src/common/command.c:151 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2703,11 +2708,11 @@ msgid "" "server name and \"xxx\" an option for this server." msgstr "" -#: src/common/command.c:154 +#: src/common/command.c:157 msgid "set plugin config options" msgstr "" -#: src/common/command.c:156 +#: src/common/command.c:159 msgid "" "option: name of a plugin option\n" " value: value for option\n" @@ -2715,27 +2720,27 @@ msgid "" "Option is format: plugin.option, example: perl.myscript.item1" msgstr "" -#: src/common/command.c:160 +#: src/common/command.c:163 msgid "remove an alias" msgstr "" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name" msgstr "" -#: src/common/command.c:161 +#: src/common/command.c:164 msgid "alias_name: name of alias to remove" msgstr "" -#: src/common/command.c:163 +#: src/common/command.c:166 msgid "unignore IRC messages and/or hosts" msgstr "" -#: src/common/command.c:164 +#: src/common/command.c:167 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "" -#: src/common/command.c:165 +#: src/common/command.c:168 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2748,39 +2753,39 @@ msgid "" "Without argument, /unignore command lists all defined ignore." msgstr "" -#: src/common/command.c:175 +#: src/common/command.c:178 msgid "upgrade WeeChat without disconnecting from servers" msgstr "" -#: src/common/command.c:177 +#: src/common/command.c:180 msgid "" "This command run again WeeChat binary, so it should have been compiled " "installed with a package manager before running this command." msgstr "" -#: src/common/command.c:180 +#: src/common/command.c:183 msgid "show WeeChat uptime" msgstr "" -#: src/common/command.c:181 +#: src/common/command.c:184 msgid "[-o]" msgstr "" -#: src/common/command.c:182 +#: src/common/command.c:185 msgid "-o: send uptime on current channel as an IRC message" msgstr "" -#: src/common/command.c:184 +#: src/common/command.c:187 msgid "manage windows" msgstr "" -#: src/common/command.c:185 +#: src/common/command.c:188 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" msgstr "" -#: src/common/command.c:187 +#: src/common/command.c:190 #, c-format msgid "" " list: list opened windows (no parameter implies this list)\n" @@ -2801,587 +2806,613 @@ msgid "" "create a new window with size = current_size / 4" msgstr "" -#: src/common/command.c:384 src/common/command.c:738 +#: src/common/command.c:387 src/common/command.c:741 #, c-format msgid "%s circular reference when calling alias \"/%s\"\n" msgstr "" -#: src/common/command.c:718 src/common/command.c:854 src/common/command.c:925 +#: src/common/command.c:721 src/common/command.c:857 src/common/command.c:928 #, c-format msgid "%s command \"%s\" failed\n" msgstr "" -#: src/common/command.c:820 +#: src/common/command.c:823 #, c-format msgid "%s wrong argument count for %s command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:832 +#: src/common/command.c:835 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:881 +#: src/common/command.c:884 #, c-format msgid "%s wrong argument count for IRC command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:893 +#: src/common/command.c:896 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:908 +#: src/common/command.c:911 #, c-format msgid "%s command \"%s\" needs a server connection!\n" msgstr "" -#: src/common/command.c:938 +#: src/common/command.c:941 #, c-format msgid "%s unknown command \"%s\" (type /help for help)\n" msgstr "" -#: src/common/command.c:1083 +#: src/common/command.c:1086 msgid "This window is not a channel!\n" msgstr "" -#: src/common/command.c:1116 src/common/command.c:1153 -#: src/common/command.c:1288 +#: src/common/command.c:1119 src/common/command.c:1156 +#: src/common/command.c:1291 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "" -#: src/common/command.c:1125 +#: src/common/command.c:1128 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "" -#: src/common/command.c:1131 +#: src/common/command.c:1134 #, c-format msgid "Failed to create alias \"%s\" => \"%s\" (not enough memory)\n" msgstr "" -#: src/common/command.c:1143 src/common/command.c:1164 +#: src/common/command.c:1146 src/common/command.c:1167 msgid "List of aliases:\n" msgstr "" -#: src/common/command.c:1178 +#: src/common/command.c:1181 msgid "No alias defined.\n" msgstr "" -#: src/common/command.c:1197 +#: src/common/command.c:1200 #, c-format msgid "%sServer: %s%s\n" msgstr "" -#: src/common/command.c:1202 +#: src/common/command.c:1205 #, c-format msgid "%snot connected\n" msgstr "" -#: src/common/command.c:1206 +#: src/common/command.c:1209 #, c-format msgid "%sChannel: %s%s %s(server: %s%s%s)\n" msgstr "" -#: src/common/command.c:1215 +#: src/common/command.c:1218 #, c-format msgid "%sPrivate with: %s%s %s(server: %s%s%s)\n" msgstr "" -#: src/common/command.c:1224 src/common/command.c:1236 +#: src/common/command.c:1227 src/common/command.c:1239 #, c-format msgid "%sunknown\n" msgstr "" -#: src/common/command.c:1232 +#: src/common/command.c:1235 #, c-format msgid "%sraw IRC data\n" msgstr "" -#: src/common/command.c:1267 +#: src/common/command.c:1270 msgid "Opened buffers:\n" msgstr "" -#: src/common/command.c:1312 +#: src/common/command.c:1315 #, c-format msgid "%s incorrect buffer number\n" msgstr "" -#: src/common/command.c:1329 +#: src/common/command.c:1332 #, c-format msgid "%s can not close the single buffer\n" msgstr "" -#: src/common/command.c:1340 +#: src/common/command.c:1343 #, c-format msgid "%s can not close server buffer while channels are opened\n" msgstr "" -#: src/common/command.c:1398 +#: src/common/command.c:1401 msgid "Notify levels: " msgstr "" -#: src/common/command.c:1404 +#: src/common/command.c:1407 msgid "Raw IRC data" msgstr "" -#: src/common/command.c:1428 src/common/command.c:1478 +#: src/common/command.c:1431 src/common/command.c:1481 #, c-format msgid "%s incorrect notify level (must be between %d and %d)\n" msgstr "" -#: src/common/command.c:1438 +#: src/common/command.c:1441 #, c-format msgid "%s incorrect buffer for notify (must be channel or private)\n" msgstr "" -#: src/common/command.c:1448 +#: src/common/command.c:1451 #, c-format msgid "New notify level for %s%s%s: %s%d %s" msgstr "" -#: src/common/command.c:1458 +#: src/common/command.c:1461 msgid "(hotlist: never)\n" msgstr "" -#: src/common/command.c:1461 +#: src/common/command.c:1464 msgid "(hotlist: highlights)\n" msgstr "" -#: src/common/command.c:1464 +#: src/common/command.c:1467 msgid "(hotlist: highlights + messages)\n" msgstr "" -#: src/common/command.c:1467 +#: src/common/command.c:1470 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "" -#: src/common/command.c:1598 +#: src/common/command.c:1601 #, c-format msgid "Charsets for server %s%s%s: " msgstr "" -#: src/common/command.c:1606 +#: src/common/command.c:1609 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "" -#: src/common/command.c:1614 +#: src/common/command.c:1617 #, c-format msgid "Charsets for private %s%s%s: " msgstr "" -#: src/common/command.c:1642 src/common/command.c:1672 -#: src/common/command.c:1702 +#: src/common/command.c:1645 src/common/command.c:1675 +#: src/common/command.c:1705 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr "" -#: src/common/command.c:1771 src/common/command.c:1799 -#: src/common/command.c:1941 src/common/command.c:2569 -#: src/common/command.c:3833 src/common/command.c:3876 +#: src/common/command.c:1774 src/common/command.c:1802 +#: src/common/command.c:1944 src/common/command.c:2610 +#: src/common/command.c:3876 src/common/command.c:3919 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "" -#: src/common/command.c:1834 +#: src/common/command.c:1837 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1842 +#: src/common/command.c:1845 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1861 src/common/command.c:1990 +#: src/common/command.c:1864 src/common/command.c:1993 #, c-format msgid "%s server not found\n" msgstr "" -#: src/common/command.c:1974 +#: src/common/command.c:1977 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1982 +#: src/common/command.c:1985 msgid "Auto-reconnection is cancelled\n" msgstr "" -#: src/common/command.c:2018 src/common/weechat.c:489 +#: src/common/command.c:2021 src/common/weechat.c:489 #, c-format msgid "%s internal commands:\n" msgstr "" -#: src/common/command.c:2028 src/common/weechat.c:509 +#: src/common/command.c:2031 src/common/weechat.c:509 #, c-format msgid "IRC commands:\n" msgstr "" -#: src/common/command.c:2042 +#: src/common/command.c:2045 msgid "Plugin commands:\n" msgstr "" -#: src/common/command.c:2158 +#: src/common/command.c:2161 #, c-format msgid "No help available, \"%s\" is an unknown command\n" msgstr "" -#: src/common/command.c:2227 +#: src/common/command.c:2230 #, c-format msgid "%son %s%s%s/%s%s%s:%s ignoring %s%s%s from %s%s\n" msgstr "" -#: src/common/command.c:2265 +#: src/common/command.c:2268 msgid "List of ignore:\n" msgstr "" -#: src/common/command.c:2282 +#: src/common/command.c:2285 msgid "No ignore defined.\n" msgstr "" -#: src/common/command.c:2308 +#: src/common/command.c:2311 msgid "New ignore:" msgstr "" -#: src/common/command.c:2328 +#: src/common/command.c:2331 #, c-format msgid "New key binding: %s" msgstr "" -#: src/common/command.c:2367 +#: src/common/command.c:2370 msgid "Key bindings:\n" msgstr "" -#: src/common/command.c:2381 +#: src/common/command.c:2384 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "" -#: src/common/command.c:2387 +#: src/common/command.c:2390 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "" -#: src/common/command.c:2395 src/common/weechat.c:541 +#: src/common/command.c:2398 src/common/weechat.c:541 #, c-format msgid "Internal key functions:\n" msgstr "" -#: src/common/command.c:2415 +#: src/common/command.c:2418 msgid "Default key bindings restored\n" msgstr "" -#: src/common/command.c:2421 +#: src/common/command.c:2424 #, c-format msgid "%s \"-yes\" argument is required for keys reset (securuty reason)\n" msgstr "" -#: src/common/command.c:2482 +#: src/common/command.c:2485 msgid "Plugins loaded:\n" msgstr "" -#: src/common/command.c:2498 +#: src/common/command.c:2501 msgid " message handlers:\n" msgstr "" -#: src/common/command.c:2507 +#: src/common/command.c:2510 #, c-format msgid " IRC(%s)\n" msgstr "" -#: src/common/command.c:2514 +#: src/common/command.c:2517 msgid " (no message handler)\n" msgstr "" -#: src/common/command.c:2519 +#: src/common/command.c:2522 msgid " command handlers:\n" msgstr "" -#: src/common/command.c:2540 +#: src/common/command.c:2543 msgid " (no command handler)\n" msgstr "" -#: src/common/command.c:2546 +#: src/common/command.c:2548 +msgid " timer handlers:\n" +msgstr "" + +#: src/common/command.c:2557 +#, c-format +msgid " %d seconds\n" +msgstr "" + +#: src/common/command.c:2564 +msgid " (no timer handler)\n" +msgstr "" + +#: src/common/command.c:2569 +msgid " keyboard handlers:\n" +msgstr "" + +#: src/common/command.c:2579 +msgid " (no keyboard handler)\n" +msgstr "" + +#: src/common/command.c:2581 +#, c-format +msgid " %d defined\n" +msgstr "" + +#: src/common/command.c:2587 msgid " (no plugin)\n" msgstr "" -#: src/common/command.c:2582 src/common/command.c:3462 +#: src/common/command.c:2623 src/common/command.c:3505 #, c-format msgid "" "Command \"%s\" is not available, WeeChat was built without plugins support.\n" msgstr "" -#: src/common/command.c:2611 +#: src/common/command.c:2654 msgid "Configuration file saved\n" msgstr "" -#: src/common/command.c:2616 +#: src/common/command.c:2659 #, c-format msgid "%s failed to save configuration file\n" msgstr "" -#: src/common/command.c:2655 +#: src/common/command.c:2698 msgid "No server.\n" msgstr "" -#: src/common/command.c:2666 +#: src/common/command.c:2709 #, c-format msgid "Server '%s' not found.\n" msgstr "" -#: src/common/command.c:2678 +#: src/common/command.c:2721 #, c-format msgid "%s missing servername for \"%s\" command\n" msgstr "" -#: src/common/command.c:2686 +#: src/common/command.c:2729 #, c-format msgid "%s too much arguments for \"%s\" command, ignoring arguments\n" msgstr "" -#: src/common/command.c:2696 +#: src/common/command.c:2739 #, c-format msgid "%s server \"%s\" not found for \"%s\" command\n" msgstr "" -#: src/common/command.c:2704 +#: src/common/command.c:2747 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" "disconnect %s before.\n" msgstr "" -#: src/common/command.c:2724 +#: src/common/command.c:2767 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "" -#: src/common/command.c:2743 +#: src/common/command.c:2786 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "" -#: src/common/command.c:2753 +#: src/common/command.c:2796 #, c-format msgid "%s server \"%s\" already exists, can't create it!\n" msgstr "" -#: src/common/command.c:2782 src/common/command.c:2810 -#: src/common/command.c:2823 src/common/command.c:2849 +#: src/common/command.c:2825 src/common/command.c:2853 +#: src/common/command.c:2866 src/common/command.c:2892 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2795 +#: src/common/command.c:2838 #, c-format msgid "%s missing nick(s) for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2836 +#: src/common/command.c:2879 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2874 +#: src/common/command.c:2917 #, c-format msgid "Server %s%s%s created\n" msgstr "" -#: src/common/command.c:2883 +#: src/common/command.c:2926 #, c-format msgid "%s unable to create server\n" msgstr "" -#: src/common/command.c:2943 +#: src/common/command.c:2986 msgid "(unknown)" msgstr "" -#: src/common/command.c:2966 +#: src/common/command.c:3009 #, c-format msgid "%s(password hidden) " msgstr "" -#: src/common/command.c:3064 +#: src/common/command.c:3107 #, c-format msgid "%s server \"%s\" not found\n" msgstr "" -#: src/common/command.c:3097 src/common/command.c:3145 +#: src/common/command.c:3140 src/common/command.c:3188 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "" -#: src/common/command.c:3102 src/common/command.c:3137 +#: src/common/command.c:3145 src/common/command.c:3180 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "" -#: src/common/command.c:3118 +#: src/common/command.c:3161 #, c-format msgid "%s option \"%s\" can not be changed while WeeChat is running\n" msgstr "" -#: src/common/command.c:3228 +#: src/common/command.c:3271 #, c-format msgid "No config option found with \"%s\"\n" msgstr "" -#: src/common/command.c:3231 +#: src/common/command.c:3274 msgid "No config option found\n" msgstr "" -#: src/common/command.c:3238 +#: src/common/command.c:3281 #, c-format msgid "%sDetail:\n" msgstr "" -#: src/common/command.c:3243 +#: src/common/command.c:3286 msgid " . type boolean (values: 'on' or 'off')\n" msgstr "" -#: src/common/command.c:3244 src/common/command.c:3267 -#: src/common/command.c:3273 src/common/command.c:3279 +#: src/common/command.c:3287 src/common/command.c:3310 +#: src/common/command.c:3316 src/common/command.c:3322 #: src/common/weechat.c:425 src/common/weechat.c:450 src/common/weechat.c:457 #: src/common/weechat.c:464 #, c-format msgid " . default value: '%s'\n" msgstr "" -#: src/common/command.c:3249 +#: src/common/command.c:3292 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr "" -#: src/common/command.c:3252 src/common/weechat.c:434 +#: src/common/command.c:3295 src/common/weechat.c:434 #, c-format msgid " . default value: %d\n" msgstr "" -#: src/common/command.c:3256 +#: src/common/command.c:3299 msgid " . type string (values: " msgstr "" -#: src/common/command.c:3269 src/common/command.c:3275 -#: src/common/command.c:3281 src/common/weechat.c:452 src/common/weechat.c:459 +#: src/common/command.c:3312 src/common/command.c:3318 +#: src/common/command.c:3324 src/common/weechat.c:452 src/common/weechat.c:459 #: src/common/weechat.c:466 msgid "empty" msgstr "" -#: src/common/command.c:3272 +#: src/common/command.c:3315 msgid " . type color (Curses or Gtk color, look at WeeChat doc)\n" msgstr "" -#: src/common/command.c:3278 +#: src/common/command.c:3321 msgid " . type string (any string)\n" msgstr "" -#: src/common/command.c:3284 src/common/weechat.c:469 +#: src/common/command.c:3327 src/common/weechat.c:469 #, c-format msgid " . description: %s\n" msgstr "" -#: src/common/command.c:3295 +#: src/common/command.c:3338 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "" -#: src/common/command.c:3298 +#: src/common/command.c:3341 msgid "config option(s) found\n" msgstr "" -#: src/common/command.c:3406 +#: src/common/command.c:3449 #, c-format msgid "%s incorrect value for plugin option \"%s\"\n" msgstr "" -#: src/common/command.c:3435 +#: src/common/command.c:3478 #, c-format msgid "No plugin option found with \"%s\"\n" msgstr "" -#: src/common/command.c:3438 +#: src/common/command.c:3481 msgid "No plugin option found\n" msgstr "" -#: src/common/command.c:3448 +#: src/common/command.c:3491 #, c-format msgid "plugin option(s) found with \"%s\"\n" msgstr "" -#: src/common/command.c:3451 +#: src/common/command.c:3494 msgid "plugin option(s) found\n" msgstr "" -#: src/common/command.c:3489 +#: src/common/command.c:3532 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "" -#: src/common/command.c:3499 +#: src/common/command.c:3542 #, c-format msgid "Alias \"%s\" removed\n" msgstr "" -#: src/common/command.c:3559 +#: src/common/command.c:3602 msgid "ignore were removed.\n" msgstr "" -#: src/common/command.c:3561 +#: src/common/command.c:3604 msgid "ignore was removed.\n" msgstr "" -#: src/common/command.c:3566 +#: src/common/command.c:3609 #, c-format msgid "%s no ignore found\n" msgstr "" -#: src/common/command.c:3600 +#: src/common/command.c:3643 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "" -#: src/common/command.c:3610 +#: src/common/command.c:3653 #, c-format msgid "" "%s can't upgrade: connection to at least one SSL server is active (should be " "fixed in a future version)\n" msgstr "" -#: src/common/command.c:3626 +#: src/common/command.c:3669 msgid "Upgrading WeeChat...\n" msgstr "" -#: src/common/command.c:3633 +#: src/common/command.c:3676 #, c-format msgid "%s unable to save session in file\n" msgstr "" -#: src/common/command.c:3659 +#: src/common/command.c:3702 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:3699 +#: src/common/command.c:3742 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "" -#: src/common/command.c:3713 +#: src/common/command.c:3756 #, c-format msgid "WeeChat uptime: %s%d %s%s %s%02d%s:%s%02d%s:%s%02d%s, started on %s%s" msgstr "" -#: src/common/command.c:3757 +#: src/common/command.c:3800 msgid "Opened windows:\n" msgstr "" -#: src/common/command.c:3844 +#: src/common/command.c:3887 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -5057,14 +5088,14 @@ msgstr "" msgid "Creating default config file\n" msgstr "" -#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2293 +#: src/common/weeconfig.c:2088 src/common/weeconfig.c:2294 #, c-format msgid "" "#\n" "# %s configuration file, created by %s v%s on %s" msgstr "" -#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2297 +#: src/common/weeconfig.c:2092 src/common/weeconfig.c:2298 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -5072,6 +5103,6 @@ msgid "" "#\n" msgstr "" -#: src/common/weeconfig.c:2290 +#: src/common/weeconfig.c:2291 msgid "Saving config to disk\n" msgstr "" diff --git a/weechat/src/common/command.c b/weechat/src/common/command.c index 9f77b2ccb..ffe2f4eb7 100644 --- a/weechat/src/common/command.c +++ b/weechat/src/common/command.c @@ -36,7 +36,10 @@ #include "fifo.h" #include "../irc/irc.h" #include "../gui/gui.h" + +#ifdef PLUGINS #include "../plugins/plugins.h" +#endif /* WeeChat internal commands */ @@ -2539,6 +2542,44 @@ weechat_cmd_plugin (t_irc_server *server, t_irc_channel *channel, irc_display_prefix (NULL, NULL, PREFIX_PLUGIN); gui_printf (NULL, _(" (no command handler)\n")); } + + /* timer handlers */ + irc_display_prefix (NULL, NULL, PREFIX_PLUGIN); + gui_printf (NULL, _(" timer handlers:\n")); + handler_found = 0; + for (ptr_handler = ptr_plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if (ptr_handler->type == HANDLER_TIMER) + { + handler_found = 1; + irc_display_prefix (NULL, NULL, PREFIX_PLUGIN); + gui_printf (NULL, _(" %d seconds\n"), + ptr_handler->interval); + } + } + if (!handler_found) + { + irc_display_prefix (NULL, NULL, PREFIX_PLUGIN); + gui_printf (NULL, _(" (no timer handler)\n")); + } + + /* keyboard handlers */ + irc_display_prefix (NULL, NULL, PREFIX_PLUGIN); + gui_printf (NULL, _(" keyboard handlers:\n")); + handler_found = 0; + for (ptr_handler = ptr_plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if (ptr_handler->type == HANDLER_KEYBOARD) + handler_found++; + } + irc_display_prefix (NULL, NULL, PREFIX_PLUGIN); + if (!handler_found) + gui_printf (NULL, _(" (no keyboard handler)\n")); + else + gui_printf (NULL, _(" %d defined\n"), + handler_found); } if (!weechat_plugins) { @@ -2583,6 +2624,8 @@ weechat_cmd_plugin (t_irc_server *server, t_irc_channel *channel, "without plugins support.\n"), "plugin"); /* make gcc happy */ + (void) server; + (void) channel; (void) argc; (void) argv; #endif /* PLUGINS */ diff --git a/weechat/src/common/completion.c b/weechat/src/common/completion.c index 0ef9d61ea..1155b785c 100644 --- a/weechat/src/common/completion.c +++ b/weechat/src/common/completion.c @@ -424,6 +424,9 @@ completion_list_add_plugin_option (t_completion *completion) &completion->last_completion, ptr_option->name); } +#else + /* make gcc happy */ + (void) completion; #endif } @@ -457,6 +460,9 @@ completion_list_add_plugin (t_completion *completion) &completion->last_completion, ptr_plugin->name); } +#else + /* make gcc happy */ + (void) completion; #endif } @@ -634,6 +640,9 @@ completion_list_add_plugin_option_value (t_completion *completion) if (pos) pos[0] = ' '; } +#else + /* make gcc happy */ + (void) completion; #endif } diff --git a/weechat/src/gui/curses/gui-display.c b/weechat/src/gui/curses/gui-display.c index aad6816ce..094521987 100644 --- a/weechat/src/gui/curses/gui-display.c +++ b/weechat/src/gui/curses/gui-display.c @@ -48,6 +48,18 @@ #include "../../irc/irc.h" +/* shift ncurses colors for compatibility with colors + in IRC messages (same as other IRC clients) */ + +#define WEECHAT_COLOR_BLACK COLOR_BLACK +#define WEECHAT_COLOR_RED COLOR_BLUE +#define WEECHAT_COLOR_GREEN COLOR_GREEN +#define WEECHAT_COLOR_YELLOW COLOR_CYAN +#define WEECHAT_COLOR_BLUE COLOR_RED +#define WEECHAT_COLOR_MAGENTA COLOR_MAGENTA +#define WEECHAT_COLOR_CYAN COLOR_YELLOW +#define WEECHAT_COLOR_WHITE COLOR_WHITE + t_gui_color gui_weechat_colors[] = { { -1, 0, 0, "default" }, { WEECHAT_COLOR_BLACK, 0, 0, "black" }, @@ -67,7 +79,7 @@ t_gui_color gui_weechat_colors[] = { 0, 0, 0, NULL } }; -int gui_irc_colors[16][2] = +int gui_irc_colors[GUI_NUM_IRC_COLORS][2] = { { /* 0 */ WEECHAT_COLOR_WHITE, A_BOLD }, { /* 1 */ WEECHAT_COLOR_BLACK, 0 }, { /* 2 */ WEECHAT_COLOR_BLUE, 0 }, @@ -86,7 +98,7 @@ int gui_irc_colors[16][2] = { /* 15 */ WEECHAT_COLOR_WHITE, A_BOLD } }; -t_gui_color *gui_color[NUM_COLORS]; +t_gui_color *gui_color[GUI_NUM_COLORS]; /* @@ -205,13 +217,13 @@ gui_color_decode (unsigned char *string, int keep_colors) if (str_fg[0]) { sscanf (str_fg, "%d", &fg); - fg %= 16; + fg %= GUI_NUM_IRC_COLORS; attr |= gui_irc_colors[fg][1]; } if (str_bg[0]) { sscanf (str_bg, "%d", &bg); - bg %= 16; + bg %= GUI_NUM_IRC_COLORS; attr |= gui_irc_colors[bg][1]; } if (attr & A_BOLD) @@ -465,7 +477,7 @@ gui_color_get_pair (int num_color) { int fg, bg; - if ((num_color < 0) || (num_color > NUM_COLORS - 1)) + if ((num_color < 0) || (num_color > GUI_NUM_COLORS - 1)) return WEECHAT_COLOR_WHITE; fg = gui_color[num_color]->foreground; @@ -489,7 +501,7 @@ gui_color_get_pair (int num_color) void gui_window_set_weechat_color (WINDOW *window, int num_color) { - if ((num_color >= 0) && (num_color <= NUM_COLORS - 1)) + if ((num_color >= 0) && (num_color <= GUI_NUM_COLORS - 1)) { wattroff (window, A_BOLD | A_UNDERLINE | A_REVERSE); wattron (window, COLOR_PAIR(gui_color_get_pair (num_color)) | @@ -620,6 +632,35 @@ gui_window_chat_set_weechat_color (t_gui_window *window, int weechat_color) gui_color[weechat_color]->background); } +/* + * gui_window_input_set_color: set color for an input window + */ + +void +gui_window_input_set_color (t_gui_window *window, int irc_color) +{ + int fg, bg; + + fg = gui_irc_colors[irc_color][0]; + bg = gui_color[COLOR_WIN_INPUT]->background; + + irc_color %= GUI_NUM_IRC_COLORS; + if (gui_irc_colors[irc_color][1] & A_BOLD) + wattron (window->win_input, A_BOLD); + + if (((fg == -1) || (fg == 99)) + && ((bg == -1) || (bg == 99))) + wattron (window->win_input, COLOR_PAIR(63)); + else + { + if ((fg == -1) || (fg == 99)) + fg = WEECHAT_COLOR_WHITE; + if ((bg == -1) || (bg == 99)) + bg = 0; + wattron (window->win_input, COLOR_PAIR((bg * 8) + fg)); + } +} + /* * gui_calculate_pos_size: calculate position and size for a buffer & subwindows */ @@ -2384,6 +2425,50 @@ gui_get_input_width (t_gui_window *window, char *nick) return (window->win_width - strlen (nick) - 3); } +/* + * gui_draw_buffer_input_text: display text in input buffer, according to color mask + */ + +void +gui_draw_buffer_input_text (t_gui_window *window, int input_width) +{ + char *ptr_start, *ptr_next, saved_char; + int pos_mask, size, last_color, color; + + ptr_start = utf8_add_offset (window->buffer->input_buffer, + window->buffer->input_buffer_1st_display); + pos_mask = ptr_start - window->buffer->input_buffer; + last_color = -1; + while ((input_width > 0) && ptr_start && ptr_start[0]) + { + ptr_next = utf8_next_char (ptr_start); + if (ptr_next) + { + saved_char = ptr_next[0]; + ptr_next[0] = '\0'; + size = ptr_next - ptr_start; + if (window->buffer->input_buffer_color_mask[pos_mask] != ' ') + color = window->buffer->input_buffer_color_mask[pos_mask] - '0'; + else + color = -1; + if (color != last_color) + { + if (color == -1) + gui_window_set_weechat_color (window->win_input, COLOR_WIN_INPUT); + else + gui_window_input_set_color (window, color); + } + last_color = color; + wprintw (window->win_input, "%s", ptr_start); + ptr_next[0] = saved_char; + ptr_start = ptr_next; + pos_mask += size; + } + else + ptr_start = NULL; + } +} + /* * gui_draw_buffer_input: draw input window for a buffer */ @@ -2456,9 +2541,7 @@ gui_draw_buffer_input (t_gui_buffer *buffer, int erase) gui_window_set_weechat_color (ptr_win->win_input, COLOR_WIN_INPUT); snprintf (format, 32, "%%-%ds", input_width); if (ptr_win == gui_current_window) - wprintw (ptr_win->win_input, format, - utf8_add_offset (buffer->input_buffer, - buffer->input_buffer_1st_display)); + gui_draw_buffer_input_text (ptr_win, input_width); else wprintw (ptr_win->win_input, format, ""); wclrtoeol (ptr_win->win_input); @@ -2480,9 +2563,7 @@ gui_draw_buffer_input (t_gui_buffer *buffer, int erase) gui_window_set_weechat_color (ptr_win->win_input, COLOR_WIN_INPUT); snprintf (format, 32, "%%-%ds", input_width); if (ptr_win == gui_current_window) - wprintw (ptr_win->win_input, format, - utf8_add_offset (buffer->input_buffer, - buffer->input_buffer_1st_display)); + gui_draw_buffer_input_text (ptr_win, input_width); else wprintw (ptr_win->win_input, format, ""); wclrtoeol (ptr_win->win_input); @@ -3503,7 +3584,7 @@ gui_rebuild_weechat_colors () if (has_colors ()) { - for (i = 0; i < NUM_COLORS; i++) + for (i = 0; i < GUI_NUM_COLORS; i++) { if (gui_color[i]) { diff --git a/weechat/src/gui/curses/gui-input.c b/weechat/src/gui/curses/gui-input.c index ff18657c6..450fef559 100644 --- a/weechat/src/gui/curses/gui-input.c +++ b/weechat/src/gui/curses/gui-input.c @@ -46,7 +46,10 @@ #include "../../common/fifo.h" #include "../../common/utf8.h" #include "../../irc/irc.h" + +#ifdef PLUGINS #include "../../plugins/plugins.h" +#endif /* @@ -154,7 +157,9 @@ gui_input_default_key_bindings () void gui_input_grab_end () { - char *expanded_key; + char *expanded_key, *expanded_key2; + int length; + char *buffer_before_key; /* get expanded name (for example: ^U => ctrl-u) */ expanded_key = gui_key_get_expanded_name (gui_key_buffer); @@ -163,9 +168,27 @@ gui_input_grab_end () { if (gui_current_window->buffer->has_input) { + buffer_before_key = + (gui_current_window->buffer->input_buffer) ? + strdup (gui_current_window->buffer->input_buffer) : strdup (""); gui_insert_string_input (gui_current_window, expanded_key, -1); gui_current_window->buffer->input_buffer_pos += utf8_strlen (expanded_key); gui_draw_buffer_input (gui_current_window->buffer, 1); + gui_current_window->buffer->completion.position = -1; +#ifdef PLUGINS + length = strlen (expanded_key) + 1 + 1; + expanded_key2 = (char *) malloc (length); + if (expanded_key2) + { + snprintf (expanded_key2, length, "*%s", expanded_key); + (void) plugin_keyboard_handler_exec (expanded_key2, + buffer_before_key, + gui_current_window->buffer->input_buffer); + free (expanded_key2); + } +#endif + if (buffer_before_key) + free (buffer_before_key); } free (expanded_key); } @@ -184,7 +207,8 @@ void gui_input_read () { int key, i, insert_ok; - char key_str[32]; + char key_str[32], key_str2[33]; + char *buffer_before_key; i = 0; /* do not loop too much here (for example when big paste was made), @@ -283,10 +307,19 @@ gui_input_read () switch (gui_current_window->buffer->type) { case BUFFER_TYPE_STANDARD: + buffer_before_key = + (gui_current_window->buffer->input_buffer) ? + strdup (gui_current_window->buffer->input_buffer) : strdup (""); gui_insert_string_input (gui_current_window, key_str, -1); gui_current_window->buffer->input_buffer_pos += utf8_strlen (key_str); gui_draw_buffer_input (gui_current_window->buffer, 0); gui_current_window->buffer->completion.position = -1; +#ifdef PLUGINS + snprintf (key_str2, sizeof (key_str2), "*%s", key_str); + (void) plugin_keyboard_handler_exec (key_str2, + buffer_before_key, + gui_current_window->buffer->input_buffer); +#endif break; case BUFFER_TYPE_DCC: gui_exec_action_dcc (gui_current_window, key_str); diff --git a/weechat/src/gui/gtk/gui-display.c b/weechat/src/gui/gtk/gui-display.c index ef8c21c0f..01041ee8e 100644 --- a/weechat/src/gui/gtk/gui-display.c +++ b/weechat/src/gui/gtk/gui-display.c @@ -57,6 +57,19 @@ #define COLOR_YELLOW 6 #define COLOR_WHITE 7 + +/* shift ncurses colors for compatibility with colors + in IRC messages (same as other IRC clients) */ + +#define WEECHAT_COLOR_BLACK COLOR_BLACK +#define WEECHAT_COLOR_RED COLOR_BLUE +#define WEECHAT_COLOR_GREEN COLOR_GREEN +#define WEECHAT_COLOR_YELLOW COLOR_CYAN +#define WEECHAT_COLOR_BLUE COLOR_RED +#define WEECHAT_COLOR_MAGENTA COLOR_MAGENTA +#define WEECHAT_COLOR_CYAN COLOR_YELLOW +#define WEECHAT_COLOR_WHITE COLOR_WHITE + t_gui_color gui_weechat_colors[] = { { -1, 0, 0, "default" }, { WEECHAT_COLOR_BLACK, 0, 0, "black" }, @@ -76,7 +89,7 @@ t_gui_color gui_weechat_colors[] = { 0, 0, 0, NULL } }; -int gui_irc_colors[16][2] = +int gui_irc_colors[GUI_NUM_IRC_COLORS][2] = { { /* 0 */ WEECHAT_COLOR_WHITE, A_BOLD }, { /* 1 */ WEECHAT_COLOR_BLACK, 0 }, { /* 2 */ WEECHAT_COLOR_BLUE, 0 }, @@ -95,7 +108,7 @@ int gui_irc_colors[16][2] = { /* 15 */ WEECHAT_COLOR_WHITE, A_BOLD } }; -t_gui_color *gui_color[NUM_COLORS]; +t_gui_color *gui_color[GUI_NUM_COLORS]; GtkWidget *gtk_main_window; GtkWidget *vbox1; @@ -486,7 +499,7 @@ gui_color_get_pair (int num_color) { int fg, bg; - if ((num_color < 0) || (num_color > NUM_COLORS - 1)) + if ((num_color < 0) || (num_color > GUI_NUM_COLORS - 1)) return WEECHAT_COLOR_WHITE; fg = gui_color[num_color]->foreground; @@ -511,7 +524,7 @@ gui_color_get_pair (int num_color) /*void gui_window_set_weechat_color (WINDOW *window, int num_color) { - if ((num_color >= 0) && (num_color <= NUM_COLORS - 1)) + if ((num_color >= 0) && (num_color <= GUI_NUM_COLORS - 1)) { wattroff (window, A_BOLD | A_UNDERLINE | A_REVERSE); wattron (window, COLOR_PAIR(gui_color_get_pair (num_color)) | @@ -2114,7 +2127,7 @@ gui_rebuild_weechat_colors () { int i; - for (i = 0; i < NUM_COLORS; i++) + for (i = 0; i < GUI_NUM_COLORS; i++) { if (gui_color[i]) { diff --git a/weechat/src/gui/gui-action.c b/weechat/src/gui/gui-action.c index d4308cd75..8d00f1ba1 100644 --- a/weechat/src/gui/gui-action.c +++ b/weechat/src/gui/gui-action.c @@ -95,18 +95,21 @@ gui_action_return (t_gui_window *window) if (window->buffer->input_buffer_size > 0) { window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; command = strdup (window->buffer->input_buffer); if (!command) return; history_buffer_add (window->buffer, window->buffer->input_buffer); history_global_add (window->buffer->input_buffer); window->buffer->input_buffer[0] = '\0'; + window->buffer->input_buffer_color_mask[0] = '\0'; window->buffer->input_buffer_size = 0; window->buffer->input_buffer_length = 0; window->buffer->input_buffer_pos = 0; window->buffer->input_buffer_1st_display = 0; window->buffer->completion.position = -1; window->buffer->ptr_history = NULL; + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); user_command (SERVER(window->buffer), CHANNEL(window->buffer), command, 0); @@ -141,32 +144,46 @@ gui_action_tab (t_gui_window *window) window->buffer->completion.diff_size; window->buffer->input_buffer_length += window->buffer->completion.diff_length; - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; for (i = window->buffer->input_buffer_size - 1; i >= window->buffer->completion.position_replace + (int)strlen (window->buffer->completion.word_found); i--) + { window->buffer->input_buffer[i] = window->buffer->input_buffer[i - window->buffer->completion.diff_size]; + window->buffer->input_buffer_color_mask[i] = + window->buffer->input_buffer_color_mask[i - window->buffer->completion.diff_size]; + } } else { for (i = window->buffer->completion.position_replace + strlen (window->buffer->completion.word_found); i < window->buffer->input_buffer_size; i++) + { window->buffer->input_buffer[i] = window->buffer->input_buffer[i - window->buffer->completion.diff_size]; + window->buffer->input_buffer_color_mask[i] = + window->buffer->input_buffer_color_mask[i - window->buffer->completion.diff_size]; + } window->buffer->input_buffer_size += window->buffer->completion.diff_size; window->buffer->input_buffer_length += window->buffer->completion.diff_length; - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; } strncpy (window->buffer->input_buffer + window->buffer->completion.position_replace, window->buffer->completion.word_found, strlen (window->buffer->completion.word_found)); + for (i = 0; i < (int)strlen (window->buffer->completion.word_found); i++) + { + window->buffer->input_buffer_color_mask[window->buffer->completion.position_replace + i] = ' '; + } window->buffer->input_buffer_pos = utf8_pos (window->buffer->input_buffer, window->buffer->completion.position_replace) + @@ -238,12 +255,13 @@ gui_action_backspace (t_gui_window *window) pos_last = utf8_prev_char (window->buffer->input_buffer, pos); char_size = pos - pos_last; size_to_move = strlen (pos); - memmove (pos_last, pos, size_to_move); + gui_input_move (window->buffer, pos_last, pos, size_to_move); window->buffer->input_buffer_size -= char_size; window->buffer->input_buffer_length--; window->buffer->input_buffer_pos--; window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; - gui_optimize_input_buffer_size (window->buffer); + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); window->buffer->completion.position = -1; } @@ -270,11 +288,12 @@ gui_action_delete (t_gui_window *window) pos_next = utf8_next_char (pos); char_size = pos_next - pos; size_to_move = strlen (pos_next); - memmove (pos, pos_next, size_to_move); + gui_input_move (window->buffer, pos, pos_next, size_to_move); window->buffer->input_buffer_size -= char_size; window->buffer->input_buffer_length--; window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; - gui_optimize_input_buffer_size (window->buffer); + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); window->buffer->completion.position = -1; } @@ -327,13 +346,14 @@ gui_action_delete_previous_word (t_gui_window *window) gui_action_clipboard_copy (string, size_deleted); - memmove (string, string + size_deleted, strlen (string + size_deleted)); + gui_input_move (window->buffer, string, string + size_deleted, strlen (string + size_deleted)); window->buffer->input_buffer_size -= size_deleted; window->buffer->input_buffer_length -= length_deleted; window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; window->buffer->input_buffer_pos -= length_deleted; - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); window->buffer->completion.position = -1; } @@ -367,12 +387,13 @@ gui_action_delete_next_word (t_gui_window *window) gui_action_clipboard_copy(start, size_deleted); - memmove (start, string, strlen (string)); + gui_input_move (window->buffer, start, string, strlen (string)); window->buffer->input_buffer_size -= size_deleted; window->buffer->input_buffer_length -= length_deleted; window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; - gui_optimize_input_buffer_size (window->buffer); + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); window->buffer->completion.position = -1; } @@ -385,7 +406,7 @@ gui_action_delete_next_word (t_gui_window *window) void gui_action_delete_begin_of_line (t_gui_window *window) { - int length_deleted, size_deleted; + int length_deleted, size_deleted, pos_start; char *start; if (window->buffer->has_input) @@ -394,18 +415,20 @@ gui_action_delete_begin_of_line (t_gui_window *window) { start = utf8_add_offset (window->buffer->input_buffer, window->buffer->input_buffer_pos); + pos_start = start - window->buffer->input_buffer; size_deleted = start - window->buffer->input_buffer; length_deleted = utf8_strnlen (window->buffer->input_buffer, size_deleted); gui_action_clipboard_copy (window->buffer->input_buffer, start - window->buffer->input_buffer); - memmove (window->buffer->input_buffer, start, strlen (start)); + gui_input_move (window->buffer, window->buffer->input_buffer, start, strlen (start)); window->buffer->input_buffer_size -= size_deleted; window->buffer->input_buffer_length -= length_deleted; window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; window->buffer->input_buffer_pos = 0; - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); window->buffer->completion.position = -1; } @@ -420,19 +443,21 @@ void gui_action_delete_end_of_line (t_gui_window *window) { char *start; - int size_deleted, length_deleted; + int size_deleted, length_deleted, pos_start; if (window->buffer->has_input) { start = utf8_add_offset (window->buffer->input_buffer, window->buffer->input_buffer_pos); + pos_start = start - window->buffer->input_buffer; size_deleted = strlen (start); length_deleted = utf8_strlen (start); gui_action_clipboard_copy (start, size_deleted); start[0] = '\0'; + window->buffer->input_buffer_color_mask[pos_start] = '\0'; window->buffer->input_buffer_size = strlen (window->buffer->input_buffer); window->buffer->input_buffer_length = utf8_strlen (window->buffer->input_buffer); - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); window->buffer->completion.position = -1; } @@ -448,10 +473,11 @@ gui_action_delete_line (t_gui_window *window) if (window->buffer->has_input) { window->buffer->input_buffer[0] = '\0'; + window->buffer->input_buffer_color_mask[0] = '\0'; window->buffer->input_buffer_size = 0; window->buffer->input_buffer_length = 0; window->buffer->input_buffer_pos = 0; - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); gui_draw_buffer_input (window->buffer, 0); window->buffer->completion.position = -1; } @@ -465,7 +491,8 @@ void gui_action_transpose_chars (t_gui_window *window) { char *start, *prev_char, saved_char[4]; - int size_current_char; + int size_current_char, size_start_char; + int pos_prev_char, pos_start; if (window->buffer->has_input) { @@ -476,14 +503,23 @@ gui_action_transpose_chars (t_gui_window *window) start = utf8_add_offset (window->buffer->input_buffer, window->buffer->input_buffer_pos); + pos_start = start - window->buffer->input_buffer; prev_char = utf8_prev_char (window->buffer->input_buffer, start); + pos_prev_char = prev_char - window->buffer->input_buffer; size_current_char = start - prev_char; + size_start_char = utf8_char_size (start); + memcpy (saved_char, prev_char, size_current_char); - memcpy (prev_char, start, utf8_char_size (start)); - start = utf8_next_char (prev_char); + memcpy (prev_char, start, size_start_char); memcpy (start, saved_char, size_current_char); + memcpy (saved_char, window->buffer->input_buffer_color_mask + pos_prev_char, size_current_char); + memcpy (window->buffer->input_buffer_color_mask + pos_prev_char, + window->buffer->input_buffer_color_mask + pos_start, size_start_char); + memcpy (window->buffer->input_buffer_color_mask + pos_start, + saved_char, size_current_char); + window->buffer->input_buffer_pos++; gui_draw_buffer_input (window->buffer, 0); @@ -693,6 +729,7 @@ gui_action_up (t_gui_window *window) if (window->buffer->input_buffer_size > 0) { window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; history_buffer_add (window->buffer, window->buffer->input_buffer); history_global_add (window->buffer->input_buffer); } @@ -702,6 +739,7 @@ gui_action_up (t_gui_window *window) if (window->buffer->input_buffer_size > 0) { window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; if (window->buffer->ptr_history->prev_history->text) free(window->buffer->ptr_history->prev_history->text); window->buffer->ptr_history->prev_history->text = strdup (window->buffer->input_buffer); @@ -711,12 +749,13 @@ gui_action_up (t_gui_window *window) strlen (window->buffer->ptr_history->text); window->buffer->input_buffer_length = utf8_strlen (window->buffer->ptr_history->text); - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); window->buffer->input_buffer_pos = window->buffer->input_buffer_length; window->buffer->input_buffer_1st_display = 0; strcpy (window->buffer->input_buffer, window->buffer->ptr_history->text); + gui_input_init_color_mask (window->buffer); gui_draw_buffer_input (window->buffer, 0); } } @@ -745,12 +784,13 @@ gui_action_up_global (t_gui_window *window) strlen (history_global_ptr->text); window->buffer->input_buffer_length = utf8_strlen (history_global_ptr->text); - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); window->buffer->input_buffer_pos = window->buffer->input_buffer_length; window->buffer->input_buffer_1st_display = 0; strcpy (window->buffer->input_buffer, history_global_ptr->text); + gui_input_init_color_mask (window->buffer); gui_draw_buffer_input (window->buffer, 0); } } @@ -810,13 +850,16 @@ gui_action_down (t_gui_window *window) window->buffer->input_buffer_size = 0; window->buffer->input_buffer_length = 0; } - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); window->buffer->input_buffer_pos = window->buffer->input_buffer_length; window->buffer->input_buffer_1st_display = 0; if (window->buffer->ptr_history) + { strcpy (window->buffer->input_buffer, window->buffer->ptr_history->text); + gui_input_init_color_mask (window->buffer); + } gui_draw_buffer_input (window->buffer, 0); } } @@ -846,13 +889,16 @@ gui_action_down_global (t_gui_window *window) window->buffer->input_buffer_size = 0; window->buffer->input_buffer_length = 0; } - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); window->buffer->input_buffer_pos = window->buffer->input_buffer_length; window->buffer->input_buffer_1st_display = 0; if (history_global_ptr) + { strcpy (window->buffer->input_buffer, history_global_ptr->text); + gui_input_init_color_mask (window->buffer); + } gui_draw_buffer_input (window->buffer, 0); } } diff --git a/weechat/src/gui/gui-common.c b/weechat/src/gui/gui-common.c index 44f6f1aa7..01baca2e9 100644 --- a/weechat/src/gui/gui-common.c +++ b/weechat/src/gui/gui-common.c @@ -392,10 +392,15 @@ gui_buffer_new (t_gui_window *window, void *server, void *channel, int type, { new_buffer->input_buffer_alloc = INPUT_BUFFER_BLOCK_SIZE; new_buffer->input_buffer = (char *) malloc (INPUT_BUFFER_BLOCK_SIZE); + new_buffer->input_buffer_color_mask = (char *) malloc (INPUT_BUFFER_BLOCK_SIZE); new_buffer->input_buffer[0] = '\0'; + new_buffer->input_buffer_color_mask[0] = '\0'; } else + { new_buffer->input_buffer = NULL; + new_buffer->input_buffer_color_mask = NULL; + } new_buffer->input_buffer_size = 0; new_buffer->input_buffer_length = 0; new_buffer->input_buffer_pos = 0; @@ -709,6 +714,8 @@ gui_buffer_free (t_gui_buffer *buffer, int switch_to_another) if (buffer->input_buffer) free (buffer->input_buffer); + if (buffer->input_buffer_color_mask) + free (buffer->input_buffer_color_mask); completion_free (&(buffer->completion)); @@ -1206,12 +1213,12 @@ gui_infobar_remove_all () } /* - * gui_optimize_input_buffer_size: optimize input buffer size by adding - * or deleting data block (predefined size) + * gui_input_optimize_size: optimize input buffer size by adding + * or deleting data block (predefined size) */ void -gui_optimize_input_buffer_size (t_gui_buffer *buffer) +gui_input_optimize_size (t_gui_buffer *buffer) { int optimal_size; @@ -1223,10 +1230,46 @@ gui_optimize_input_buffer_size (t_gui_buffer *buffer) { buffer->input_buffer_alloc = optimal_size; buffer->input_buffer = realloc (buffer->input_buffer, optimal_size); + buffer->input_buffer_color_mask = realloc (buffer->input_buffer_color_mask, + optimal_size); } } } +/* + * gui_input_init_color_mask: initialize color mask for input buffer + */ + +void +gui_input_init_color_mask (t_gui_buffer *buffer) +{ + int i; + + if (buffer->has_input) + { + for (i = 0; i < buffer->input_buffer_size; i++) + buffer->input_buffer_color_mask[i] = ' '; + buffer->input_buffer_color_mask[buffer->input_buffer_size] = '\0'; + } +} + +/* + * gui_input_move: move data in input buffer + */ + +void +gui_input_move (t_gui_buffer *buffer, char *target, char *source, int size) +{ + int pos_source, pos_target; + + pos_target = target - buffer->input_buffer; + pos_source = source - buffer->input_buffer; + + memmove (target, source, size); + memmove (buffer->input_buffer_color_mask + pos_target, + buffer->input_buffer_color_mask + pos_source, size); +} + /* * gui_exec_action_dcc: execute an action on a DCC after a user input * return -1 if DCC buffer was closed due to action, @@ -1364,7 +1407,7 @@ gui_exec_action_raw_data (t_gui_window *window, char *actions) int gui_insert_string_input (t_gui_window *window, char *string, int pos) { - int size, length; + int i, pos_start, size, length; char *ptr_start; if (window->buffer->has_input) @@ -1378,15 +1421,26 @@ gui_insert_string_input (t_gui_window *window, char *string, int pos) /* increase buffer size */ window->buffer->input_buffer_size += size; window->buffer->input_buffer_length += length; - gui_optimize_input_buffer_size (window->buffer); + gui_input_optimize_size (window->buffer); window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0'; + window->buffer->input_buffer_color_mask[window->buffer->input_buffer_size] = '\0'; /* move end of string to the right */ ptr_start = utf8_add_offset (window->buffer->input_buffer, pos); + pos_start = ptr_start - window->buffer->input_buffer; memmove (ptr_start + size, ptr_start, strlen (ptr_start)); + memmove (window->buffer->input_buffer_color_mask + pos_start + size, + window->buffer->input_buffer_color_mask + pos_start, + strlen (window->buffer->input_buffer_color_mask + pos_start)); /* insert new string */ - strncpy (utf8_add_offset (window->buffer->input_buffer, pos), string, size); + ptr_start = utf8_add_offset (window->buffer->input_buffer, pos); + pos_start = ptr_start - window->buffer->input_buffer; + strncpy (ptr_start, string, size); + for (i = 0; i < size; i++) + { + window->buffer->input_buffer_color_mask[pos_start + i] = ' '; + } return length; } return 0; @@ -1869,32 +1923,33 @@ gui_buffer_print_log (t_gui_buffer *buffer) int num; weechat_log_printf ("[buffer (addr:0x%X)]\n", buffer); - weechat_log_printf (" num_displayed. . . . : %d\n", buffer->num_displayed); - weechat_log_printf (" number . . . . . . . : %d\n", buffer->number); - weechat_log_printf (" server . . . . . . . : 0x%X\n", buffer->server); - weechat_log_printf (" all_servers. . . . . : %d\n", buffer->all_servers); - weechat_log_printf (" channel. . . . . . . : 0x%X\n", buffer->channel); - weechat_log_printf (" type . . . . . . . . : %d\n", buffer->type); - weechat_log_printf (" lines. . . . . . . . : 0x%X\n", buffer->lines); - weechat_log_printf (" last_line. . . . . . : 0x%X\n", buffer->last_line); - weechat_log_printf (" last_read_line . . . : 0x%X\n", buffer->last_read_line); - weechat_log_printf (" num_lines. . . . . . : %d\n", buffer->num_lines); - weechat_log_printf (" line_complete. . . . : %d\n", buffer->line_complete); - weechat_log_printf (" notify_level . . . . : %d\n", buffer->notify_level); - weechat_log_printf (" log_filename . . . . : '%s'\n", buffer->log_filename); - weechat_log_printf (" log_file . . . . . . : 0x%X\n", buffer->log_file); - weechat_log_printf (" has_input. . . . . . : %d\n", buffer->has_input); - weechat_log_printf (" input_buffer . . . . : '%s'\n", buffer->input_buffer); - weechat_log_printf (" input_buffer_alloc . : %d\n", buffer->input_buffer_alloc); - weechat_log_printf (" input_buffer_size. . : %d\n", buffer->input_buffer_size); - weechat_log_printf (" input_buffer_length. : %d\n", buffer->input_buffer_length); - weechat_log_printf (" input_buffer_pos . . : %d\n", buffer->input_buffer_pos); - weechat_log_printf (" input_buffer_1st_disp: %d\n", buffer->input_buffer_1st_display); - weechat_log_printf (" history. . . . . . . : 0x%X\n", buffer->history); - weechat_log_printf (" last_history . . . . : 0x%X\n", buffer->last_history); - weechat_log_printf (" ptr_history. . . . . : 0x%X\n", buffer->ptr_history); - weechat_log_printf (" prev_buffer. . . . . : 0x%X\n", buffer->prev_buffer); - weechat_log_printf (" next_buffer. . . . . : 0x%X\n", buffer->next_buffer); + weechat_log_printf (" num_displayed. . . . . : %d\n", buffer->num_displayed); + weechat_log_printf (" number . . . . . . . . : %d\n", buffer->number); + weechat_log_printf (" server . . . . . . . . : 0x%X\n", buffer->server); + weechat_log_printf (" all_servers. . . . . . : %d\n", buffer->all_servers); + weechat_log_printf (" channel. . . . . . . . : 0x%X\n", buffer->channel); + weechat_log_printf (" type . . . . . . . . . : %d\n", buffer->type); + weechat_log_printf (" lines. . . . . . . . . : 0x%X\n", buffer->lines); + weechat_log_printf (" last_line. . . . . . . : 0x%X\n", buffer->last_line); + weechat_log_printf (" last_read_line . . . . : 0x%X\n", buffer->last_read_line); + weechat_log_printf (" num_lines. . . . . . . : %d\n", buffer->num_lines); + weechat_log_printf (" line_complete. . . . . : %d\n", buffer->line_complete); + weechat_log_printf (" notify_level . . . . . : %d\n", buffer->notify_level); + weechat_log_printf (" log_filename . . . . . : '%s'\n", buffer->log_filename); + weechat_log_printf (" log_file . . . . . . . : 0x%X\n", buffer->log_file); + weechat_log_printf (" has_input. . . . . . . : %d\n", buffer->has_input); + weechat_log_printf (" input_buffer . . . . . : '%s'\n", buffer->input_buffer); + weechat_log_printf (" input_buffer_color_mask: '%s'\n", buffer->input_buffer_color_mask); + weechat_log_printf (" input_buffer_alloc . . : %d\n", buffer->input_buffer_alloc); + weechat_log_printf (" input_buffer_size. . . : %d\n", buffer->input_buffer_size); + weechat_log_printf (" input_buffer_length. . : %d\n", buffer->input_buffer_length); + weechat_log_printf (" input_buffer_pos . . . : %d\n", buffer->input_buffer_pos); + weechat_log_printf (" input_buffer_1st_disp. : %d\n", buffer->input_buffer_1st_display); + weechat_log_printf (" history. . . . . . . . : 0x%X\n", buffer->history); + weechat_log_printf (" last_history . . . . . : 0x%X\n", buffer->last_history); + weechat_log_printf (" ptr_history. . . . . . : 0x%X\n", buffer->ptr_history); + weechat_log_printf (" prev_buffer. . . . . . : 0x%X\n", buffer->prev_buffer); + weechat_log_printf (" next_buffer. . . . . . : 0x%X\n", buffer->next_buffer); weechat_log_printf ("\n"); weechat_log_printf (" => last 100 lines:\n"); diff --git a/weechat/src/gui/gui-keyboard.c b/weechat/src/gui/gui-keyboard.c index a3821353d..47d570891 100644 --- a/weechat/src/gui/gui-keyboard.c +++ b/weechat/src/gui/gui-keyboard.c @@ -32,6 +32,10 @@ #include "gui.h" #include "../common/command.h" +#ifdef PLUGINS +#include "../plugins/plugins.h" +#endif + t_gui_key *gui_keys = NULL; t_gui_key *last_gui_key = NULL; @@ -506,7 +510,8 @@ gui_key_pressed (char *key_str) { int first_key; t_gui_key *ptr_key; - + char *buffer_before_key; + /* add key to buffer */ first_key = (gui_key_buffer[0] == '\0'); strcat (gui_key_buffer, key_str); @@ -525,6 +530,9 @@ gui_key_pressed (char *key_str) if (ascii_strcasecmp (ptr_key->key, gui_key_buffer) == 0) { /* exact combo found => execute function or command */ + buffer_before_key = + (gui_current_window->buffer->input_buffer) ? + strdup (gui_current_window->buffer->input_buffer) : strdup (""); gui_key_buffer[0] = '\0'; if (ptr_key->command) user_command (SERVER(gui_current_window->buffer), @@ -532,6 +540,15 @@ gui_key_pressed (char *key_str) ptr_key->command, 0); else (void)(ptr_key->function)(gui_current_window); +#ifdef PLUGINS + (void) plugin_keyboard_handler_exec ( + (ptr_key->command) ? + ptr_key->command : gui_key_function_search_by_ptr (ptr_key->function), + buffer_before_key, + gui_current_window->buffer->input_buffer); +#endif + if (buffer_before_key) + free (buffer_before_key); } return 0; } diff --git a/weechat/src/gui/gui.h b/weechat/src/gui/gui.h index 2c93b48f1..b7641b472 100644 --- a/weechat/src/gui/gui.h +++ b/weechat/src/gui/gui.h @@ -26,18 +26,6 @@ #define INPUT_BUFFER_BLOCK_SIZE 256 -/* shift ncurses colors for compatibility with colors - in IRC messages (same as other IRC clients) */ - -#define WEECHAT_COLOR_BLACK COLOR_BLACK -#define WEECHAT_COLOR_RED COLOR_BLUE -#define WEECHAT_COLOR_GREEN COLOR_GREEN -#define WEECHAT_COLOR_YELLOW COLOR_CYAN -#define WEECHAT_COLOR_BLUE COLOR_RED -#define WEECHAT_COLOR_MAGENTA COLOR_MAGENTA -#define WEECHAT_COLOR_CYAN COLOR_YELLOW -#define WEECHAT_COLOR_WHITE COLOR_WHITE - #define COLOR_WIN_NICK_NUMBER 10 typedef enum t_weechat_color t_weechat_color; @@ -103,9 +91,11 @@ enum t_weechat_color COLOR_DCC_DONE, COLOR_DCC_FAILED, COLOR_DCC_ABORTED, - NUM_COLORS + GUI_NUM_COLORS }; +#define GUI_NUM_IRC_COLORS 16 + /* attributes in IRC messages for color & style (bold, ..) */ #define GUI_ATTR_BOLD_CHAR '\x02' @@ -252,6 +242,7 @@ struct t_gui_buffer /* inupt buffer */ int has_input; /* = 1 if buffer has input (DCC has not)*/ char *input_buffer; /* input buffer */ + char *input_buffer_color_mask; /* color mask for input buffer */ int input_buffer_alloc; /* input buffer: allocated size in mem */ int input_buffer_size; /* buffer size in bytes */ int input_buffer_length; /* number of chars in buffer */ @@ -402,7 +393,7 @@ extern int gui_key_grab_count; extern char *gui_input_clipboard; extern time_t gui_last_activity_time; -extern t_gui_color *gui_color[NUM_COLORS]; +extern t_gui_color *gui_color[GUI_NUM_COLORS]; /* GUI independent functions: windows & buffers */ @@ -427,7 +418,9 @@ extern int gui_word_strlen (t_gui_window *, char *); extern int gui_word_real_pos (t_gui_window *, char *, int); extern void gui_printf_internal (t_gui_buffer *, int, int, char *, ...); extern void gui_printf_raw_data (void *, int, char *); -extern void gui_optimize_input_buffer_size (t_gui_buffer *); +extern void gui_input_optimize_size (t_gui_buffer *); +extern void gui_input_init_color_mask (t_gui_buffer *); +extern void gui_input_move (t_gui_buffer *, char *, char *, int ); extern void gui_exec_action_dcc (t_gui_window *, char *); extern void gui_exec_action_raw_data (t_gui_window *, char *); extern int gui_insert_string_input (t_gui_window *, char *, int); diff --git a/weechat/src/irc/irc-recv.c b/weechat/src/irc/irc-recv.c index 2e777dd02..09dcf1b88 100644 --- a/weechat/src/irc/irc-recv.c +++ b/weechat/src/irc/irc-recv.c @@ -40,7 +40,10 @@ #include "../common/hotlist.h" #include "../common/weeconfig.h" #include "../gui/gui.h" + +#ifdef PLUGINS #include "../plugins/plugins.h" +#endif char *irc_last_command_received = NULL; diff --git a/weechat/src/plugins/plugins-interface.c b/weechat/src/plugins/plugins-interface.c index b0d83cdfe..0355036bf 100644 --- a/weechat/src/plugins/plugins-interface.c +++ b/weechat/src/plugins/plugins-interface.c @@ -316,6 +316,22 @@ weechat_plugin_timer_handler_add (t_weechat_plugin *plugin, int interval, return NULL; } +/* + * weechat_plugin_keyboard_handler_add: add a keyboard handler + */ + +t_plugin_handler * +weechat_plugin_keyboard_handler_add (t_weechat_plugin *plugin, + t_plugin_handler_func *handler_func, + char *handler_args, void *handler_pointer) +{ + if (plugin && handler_func) + return plugin_keyboard_handler_add (plugin, handler_func, + handler_args, handler_pointer); + + return NULL; +} + /* * weechat_plugin_handler_remove: remove a WeeChat handler */ @@ -385,7 +401,7 @@ weechat_plugin_get_info (t_weechat_plugin *plugin, char *info, char *server) t_irc_server *ptr_server; t_irc_channel *ptr_channel; time_t inactivity; - char *inactivity_str; + char *return_str; if (!plugin || !info) return NULL; @@ -420,11 +436,39 @@ weechat_plugin_get_info (t_weechat_plugin *plugin, char *info, char *server) inactivity = 0; else inactivity = time (NULL) - gui_last_activity_time; - inactivity_str = (char *) malloc (128); - if (!inactivity_str) + return_str = (char *) malloc (32); + if (!return_str) return NULL; - snprintf (inactivity_str, 128, "%ld", inactivity); - return inactivity_str; + snprintf (return_str, 32, "%ld", inactivity); + return return_str; + } + else if (ascii_strcasecmp (info, "input") == 0) + { + if (gui_current_window->buffer->has_input) + return strdup (gui_current_window->buffer->input_buffer); + else + return strdup (""); + } + else if (ascii_strcasecmp (info, "input_mask") == 0) + { + if (gui_current_window->buffer->has_input) + return strdup (gui_current_window->buffer->input_buffer_color_mask); + else + return strdup (""); + } + else if (ascii_strcasecmp (info, "input_pos") == 0) + { + if (gui_current_window->buffer->has_input) + { + return_str = (char *) malloc (32); + if (!return_str) + return NULL; + snprintf (return_str, 32, "%d", + gui_current_window->buffer->input_buffer_pos); + return return_str; + } + else + return strdup (""); } /* below are infos that need server to return value */ @@ -1009,3 +1053,38 @@ weechat_plugin_free_nick_info (t_weechat_plugin *plugin, t_plugin_nick_info *nic nick_info = new_nick_info; } } + +/* + * weechat_plugin_input_color: add color in input buffer + * if color < 0, input buffer is refresh + * if start < 0 or length <= 0, color mask is reinit + * otherwise, color is applied from start to start + length + */ + +void +weechat_plugin_input_color (t_weechat_plugin *plugin, int color, int start, int length) +{ + int i; + + if (!plugin + || (!gui_current_window->buffer->has_input) + || (gui_current_window->buffer->input_buffer_size == 0)) + return; + + if (color < 0) + gui_draw_buffer_input (gui_current_window->buffer, 0); + else + { + if ((start < 0) || (length <= 0)) + gui_input_init_color_mask (gui_current_window->buffer); + else + { + color %= GUI_NUM_IRC_COLORS; + for (i = start; i < start + length; i++) + { + gui_current_window->buffer->input_buffer_color_mask[i] = + '0' + color; + } + } + } +} diff --git a/weechat/src/plugins/plugins.c b/weechat/src/plugins/plugins.c index cbd5b276a..b96ef0365 100644 --- a/weechat/src/plugins/plugins.c +++ b/weechat/src/plugins/plugins.c @@ -370,6 +370,62 @@ plugin_timer_handler_add (t_weechat_plugin *plugin, int interval, return new_handler; } +/* + * plugin_keyboard_handler_add: add a timer handler + * arguments: + * 1. the plugin pointer + * 2. the interval between two calls + * 3. the handler function + * 4. handler args: a string given to + * handler when called (used by scripts) + * 5. handler pointer: a pointer given to + * handler when called (used by scripts) + */ + +t_plugin_handler * +plugin_keyboard_handler_add (t_weechat_plugin *plugin, + t_plugin_handler_func *handler_func, + char *handler_args, void *handler_pointer) +{ + t_plugin_handler *new_handler; + + new_handler = (t_plugin_handler *)malloc (sizeof (t_plugin_handler)); + if (new_handler) + { + new_handler->type = HANDLER_KEYBOARD; + new_handler->irc_command = NULL; + new_handler->command = NULL; + new_handler->description = NULL; + new_handler->arguments = NULL; + new_handler->arguments_description = NULL; + new_handler->completion_template = NULL; + new_handler->interval = 0; + new_handler->remaining = 0; + new_handler->handler = handler_func; + new_handler->handler_args = (handler_args) ? strdup (handler_args) : NULL; + new_handler->handler_pointer = handler_pointer; + new_handler->running = 0; + + /* add new handler to list */ + new_handler->prev_handler = plugin->last_handler; + new_handler->next_handler = NULL; + if (plugin->handlers) + (plugin->last_handler)->next_handler = new_handler; + else + plugin->handlers = new_handler; + plugin->last_handler = new_handler; + } + else + { + irc_display_prefix (NULL, NULL, PREFIX_ERROR); + gui_printf (NULL, + _("%s plugin %s: unable to add keyboard handler (not enough memory)\n"), + WEECHAT_ERROR, plugin->name); + return NULL; + } + return new_handler; +} + /* * plugin_msg_handler_exec: execute a message handler * return: code for informing WeeChat whether message @@ -382,6 +438,11 @@ plugin_msg_handler_exec (char *server, char *irc_command, char *irc_message) t_weechat_plugin *ptr_plugin; t_plugin_handler *ptr_handler; int return_code, final_return_code; + char *argv[3] = { NULL, NULL, NULL }; + + argv[0] = server; + argv[1] = irc_command; + argv[2] = irc_message; final_return_code = PLUGIN_RC_OK; @@ -398,9 +459,7 @@ plugin_msg_handler_exec (char *server, char *irc_command, char *irc_message) { ptr_handler->running = 1; return_code = ((int) (ptr_handler->handler) (ptr_plugin, - server, - irc_command, - irc_message, + 3, argv, ptr_handler->handler_args, ptr_handler->handler_pointer)); ptr_handler->running = 0; @@ -432,6 +491,11 @@ plugin_cmd_handler_exec (char *server, char *command, char *arguments) t_weechat_plugin *ptr_plugin; t_plugin_handler *ptr_handler; int return_code; + char *argv[3] = { NULL, NULL, NULL }; + + argv[0] = server; + argv[1] = command; + argv[2] = arguments; for (ptr_plugin = weechat_plugins; ptr_plugin; ptr_plugin = ptr_plugin->next_plugin) @@ -446,9 +510,7 @@ plugin_cmd_handler_exec (char *server, char *command, char *arguments) { ptr_handler->running = 1; return_code = (int) (ptr_handler->handler) (ptr_plugin, - server, - command, - arguments, + 3, argv, ptr_handler->handler_args, ptr_handler->handler_pointer); ptr_handler->running = 0; @@ -488,9 +550,7 @@ plugin_timer_handler_exec () if (ptr_handler->remaining <= 0) { return_code = ((int) (ptr_handler->handler) (ptr_plugin, - "", - "", - "", + 0, NULL, ptr_handler->handler_args, ptr_handler->handler_pointer)); ptr_handler->remaining = ptr_handler->interval; @@ -504,6 +564,47 @@ plugin_timer_handler_exec () return final_return_code; } +/* + * plugin_keyboard_handler_exec: execute all keyboard handlers + * return: PLUGIN_RC_OK if all ok + * PLUGIN_RC_KO if at least one handler failed + */ + +int +plugin_keyboard_handler_exec (char *key, char *input_before, char *input_after) +{ + t_weechat_plugin *ptr_plugin; + t_plugin_handler *ptr_handler; + int return_code, final_return_code; + char *argv[3] = { NULL, NULL, NULL }; + + argv[0] = key; + argv[1] = input_before; + argv[2] = input_after; + + final_return_code = PLUGIN_RC_OK; + + for (ptr_plugin = weechat_plugins; ptr_plugin; + ptr_plugin = ptr_plugin->next_plugin) + { + for (ptr_handler = ptr_plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if (ptr_handler->type == HANDLER_KEYBOARD) + { + return_code = ((int) (ptr_handler->handler) (ptr_plugin, + 3, argv, + ptr_handler->handler_args, + ptr_handler->handler_pointer)); + if (return_code == PLUGIN_RC_KO) + final_return_code = PLUGIN_RC_KO; + } + } + } + + return final_return_code; +} + /* * plugin_handler_remove: remove a handler for a plugin */ @@ -736,6 +837,7 @@ plugin_load (char *filename) new_plugin->msg_handler_add = &weechat_plugin_msg_handler_add; new_plugin->cmd_handler_add = &weechat_plugin_cmd_handler_add; new_plugin->timer_handler_add = &weechat_plugin_timer_handler_add; + new_plugin->keyboard_handler_add = &weechat_plugin_keyboard_handler_add; new_plugin->handler_remove = &weechat_plugin_handler_remove; new_plugin->handler_remove_all = &weechat_plugin_handler_remove_all; new_plugin->print = &weechat_plugin_print; @@ -757,6 +859,7 @@ plugin_load (char *filename) new_plugin->free_channel_info = &weechat_plugin_free_channel_info; new_plugin->get_nick_info = &weechat_plugin_get_nick_info; new_plugin->free_nick_info = &weechat_plugin_free_nick_info; + new_plugin->input_color = &weechat_plugin_input_color; /* handlers */ new_plugin->handlers = NULL; diff --git a/weechat/src/plugins/plugins.h b/weechat/src/plugins/plugins.h index 2ca01aa5b..48eb16944 100644 --- a/weechat/src/plugins/plugins.h +++ b/weechat/src/plugins/plugins.h @@ -48,9 +48,13 @@ extern t_plugin_handler *plugin_cmd_handler_add (t_weechat_plugin *, char *, extern t_plugin_handler *plugin_timer_handler_add (t_weechat_plugin *, int, t_plugin_handler_func *, char *, void *); +extern t_plugin_handler *plugin_keyboard_handler_add (t_weechat_plugin *, + t_plugin_handler_func *, + char *, void *); extern int plugin_msg_handler_exec (char *, char *, char *); extern int plugin_cmd_handler_exec (char *, char *, char *); extern int plugin_timer_handler_exec (); +extern int plugin_keyboard_handler_exec (char *, char *, char *); extern void plugin_handler_remove (t_weechat_plugin *, t_plugin_handler *); extern void plugin_handler_remove_all (t_weechat_plugin *); diff --git a/weechat/src/plugins/scripts/lua/weechat-lua.c b/weechat/src/plugins/scripts/lua/weechat-lua.c index e2efb8d6b..889f2c300 100644 --- a/weechat/src/plugins/scripts/lua/weechat-lua.c +++ b/weechat/src/plugins/scripts/lua/weechat-lua.c @@ -54,7 +54,7 @@ lua_State *lua_current_interpreter = NULL; int weechat_lua_exec (t_weechat_plugin *plugin, t_plugin_script *script, - char *function, char *server, char *arguments) + char *function, char *arg1, char *arg2, char *arg3) { lua_current_interpreter = script->interpreter; @@ -62,10 +62,19 @@ weechat_lua_exec (t_weechat_plugin *plugin, lua_getglobal (lua_current_interpreter, function); lua_current_script = script; - lua_pushstring (lua_current_interpreter, server == NULL ? "" : server); - lua_pushstring (lua_current_interpreter, arguments == NULL ? "" : arguments); + if (arg1) + { + lua_pushstring (lua_current_interpreter, (arg1) ? arg1 : ""); + if (arg2) + { + lua_pushstring (lua_current_interpreter, (arg2) ? arg2 : ""); + if (arg3) + lua_pushstring (lua_current_interpreter, (arg3) ? arg3 : ""); + } + } - if ( lua_pcall(lua_current_interpreter, 2, 1, 0) != 0) + if (lua_pcall (lua_current_interpreter, + (arg1) ? ((arg2) ? ((arg3) ? 3 : 2) : 1) : 0, 1, 0) != 0) { plugin->print_server (plugin, "Lua error: unable to run function \"%s\"", @@ -80,19 +89,52 @@ weechat_lua_exec (t_weechat_plugin *plugin, } /* - * weechat_lua_handler: general message and command handler for Lua + * weechat_lua_cmd_msg_handler: general command/message handler for Lua */ int -weechat_lua_handler (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, - char *handler_args, void *handler_pointer) +weechat_lua_cmd_msg_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 3) + return weechat_lua_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[2], NULL); + else + return PLUGIN_RC_KO; +} + +/* + * weechat_lua_timer_handler: general timer handler for Lua + */ + +int +weechat_lua_timer_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) { /* make gcc happy */ - (void) command; + (void) argc; + (void) argv; return weechat_lua_exec (plugin, (t_plugin_script *)handler_pointer, - handler_args, server, arguments); + handler_args, NULL, NULL, NULL); +} + +/* + * weechat_lua_keyboard_handler: general keyboard handler for Lua + */ + +int +weechat_lua_keyboard_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 2) + return weechat_lua_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[1], argv[2]); + else + return PLUGIN_RC_KO; } /* @@ -104,6 +146,7 @@ weechat_lua_register (lua_State *L) { const char *name, *version, *shutdown_func, *description; int n; + /* make gcc happy */ (void) L; @@ -179,6 +222,7 @@ weechat_lua_print (lua_State *L) { const char *message, *channel_name, *server_name; int n; + /* make gcc happy */ (void) L; @@ -199,24 +243,24 @@ weechat_lua_print (lua_State *L) switch (n) { - case 1: - message = lua_tostring (lua_current_interpreter, -1); - break; - case 2: - channel_name = lua_tostring (lua_current_interpreter, -2); - message = lua_tostring (lua_current_interpreter, -1); - break; - case 3: - server_name = lua_tostring (lua_current_interpreter, -3); - channel_name = lua_tostring (lua_current_interpreter, -2); - message = lua_tostring (lua_current_interpreter, -1); - break; - default: - lua_plugin->print_server (lua_plugin, - "Lua error: wrong parameters for " - "\"print\" function"); - lua_pushnumber (lua_current_interpreter, 0); - return 1; + case 1: + message = lua_tostring (lua_current_interpreter, -1); + break; + case 2: + channel_name = lua_tostring (lua_current_interpreter, -2); + message = lua_tostring (lua_current_interpreter, -1); + break; + case 3: + server_name = lua_tostring (lua_current_interpreter, -3); + channel_name = lua_tostring (lua_current_interpreter, -2); + message = lua_tostring (lua_current_interpreter, -1); + break; + default: + lua_plugin->print_server (lua_plugin, + "Lua error: wrong parameters for " + "\"print\" function"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; } lua_plugin->print (lua_plugin, @@ -237,6 +281,7 @@ weechat_lua_print_infobar (lua_State *L) { const char *message; int delay, n; + /* make gcc happy */ (void) L; @@ -280,6 +325,7 @@ static int weechat_lua_remove_infobar (lua_State *L) { int n, how_many; + /* make gcc happy */ (void) L; @@ -314,6 +360,7 @@ weechat_lua_log (lua_State *L) { const char *message, *channel_name, *server_name; int n; + /* make gcc happy */ (void) L; @@ -334,24 +381,24 @@ weechat_lua_log (lua_State *L) switch (n) { - case 1: - message = lua_tostring (lua_current_interpreter, -1); - break; - case 2: - channel_name = lua_tostring (lua_current_interpreter, -2); - message = lua_tostring (lua_current_interpreter, -1); - break; - case 3: - server_name = lua_tostring (lua_current_interpreter, -3); - channel_name = lua_tostring (lua_current_interpreter, -2); - message = lua_tostring (lua_current_interpreter, -1); - break; - default: - lua_plugin->print_server (lua_plugin, - "Lua error: wrong parameters for " - "\"log\" function"); - lua_pushnumber (lua_current_interpreter, 0); - return 1; + case 1: + message = lua_tostring (lua_current_interpreter, -1); + break; + case 2: + channel_name = lua_tostring (lua_current_interpreter, -2); + message = lua_tostring (lua_current_interpreter, -1); + break; + case 3: + server_name = lua_tostring (lua_current_interpreter, -3); + channel_name = lua_tostring (lua_current_interpreter, -2); + message = lua_tostring (lua_current_interpreter, -1); + break; + default: + lua_plugin->print_server (lua_plugin, + "Lua error: wrong parameters for " + "\"log\" function"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; } lua_plugin->log (lua_plugin, @@ -372,6 +419,7 @@ weechat_lua_command (lua_State *L) { const char *command, *channel_name, *server_name; int n; + /* make gcc happy */ (void) L; @@ -392,24 +440,24 @@ weechat_lua_command (lua_State *L) switch (n) { - case 1: - command = lua_tostring (lua_current_interpreter, -1); - break; - case 2: - channel_name = lua_tostring (lua_current_interpreter, -2); - command = lua_tostring (lua_current_interpreter, -1); - break; - case 3: - server_name = lua_tostring (lua_current_interpreter, -3); - channel_name = lua_tostring (lua_current_interpreter, -2); - command = lua_tostring (lua_current_interpreter, -1); - break; - default: - lua_plugin->print_server (lua_plugin, - "Lua error: wrong parameters for " - "\"command\" function"); - lua_pushnumber (lua_current_interpreter, 0); - return 1; + case 1: + command = lua_tostring (lua_current_interpreter, -1); + break; + case 2: + channel_name = lua_tostring (lua_current_interpreter, -2); + command = lua_tostring (lua_current_interpreter, -1); + break; + case 3: + server_name = lua_tostring (lua_current_interpreter, -3); + channel_name = lua_tostring (lua_current_interpreter, -2); + command = lua_tostring (lua_current_interpreter, -1); + break; + default: + lua_plugin->print_server (lua_plugin, + "Lua error: wrong parameters for " + "\"command\" function"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; } lua_plugin->exec_command (lua_plugin, @@ -430,6 +478,7 @@ weechat_lua_add_message_handler (lua_State *L) { const char *irc_command, *function; int n; + /* make gcc happy */ (void) L; @@ -460,7 +509,8 @@ weechat_lua_add_message_handler (lua_State *L) function = lua_tostring (lua_current_interpreter, -1); if (!lua_plugin->msg_handler_add (lua_plugin, (char *) irc_command, - weechat_lua_handler, (char *) function, + weechat_lua_cmd_msg_handler, + (char *) function, (void *)lua_current_script)) { lua_pushnumber (lua_current_interpreter, 0); @@ -481,6 +531,7 @@ weechat_lua_add_command_handler (lua_State *L) const char *command, *function, *description, *arguments, *arguments_description; const char *completion_template; int n; + /* make gcc happy */ (void) L; @@ -504,24 +555,24 @@ weechat_lua_add_command_handler (lua_State *L) switch (n) { - case 2: - command = lua_tostring (lua_current_interpreter, -2); - function = lua_tostring (lua_current_interpreter, -1); - break; - case 6: - command = lua_tostring (lua_current_interpreter, -6); - function = lua_tostring (lua_current_interpreter, -5); - description = lua_tostring (lua_current_interpreter, -4); - arguments = lua_tostring (lua_current_interpreter, -3); - arguments_description = lua_tostring (lua_current_interpreter, -2); - completion_template = lua_tostring (lua_current_interpreter, -1); - break; - default: - lua_plugin->print_server (lua_plugin, - "Lua error: wrong parameters for " - "\"add_command_handler\" function"); - lua_pushnumber (lua_current_interpreter, 0); - return 1; + case 2: + command = lua_tostring (lua_current_interpreter, -2); + function = lua_tostring (lua_current_interpreter, -1); + break; + case 6: + command = lua_tostring (lua_current_interpreter, -6); + function = lua_tostring (lua_current_interpreter, -5); + description = lua_tostring (lua_current_interpreter, -4); + arguments = lua_tostring (lua_current_interpreter, -3); + arguments_description = lua_tostring (lua_current_interpreter, -2); + completion_template = lua_tostring (lua_current_interpreter, -1); + break; + default: + lua_plugin->print_server (lua_plugin, + "Lua error: wrong parameters for " + "\"add_command_handler\" function"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; } if (!lua_plugin->cmd_handler_add (lua_plugin, @@ -530,7 +581,7 @@ weechat_lua_add_command_handler (lua_State *L) (char *) arguments, (char *) arguments_description, (char *) completion_template, - weechat_lua_handler, + weechat_lua_cmd_msg_handler, (char *) function, (void *)lua_current_script)) { @@ -552,6 +603,7 @@ weechat_lua_add_timer_handler (lua_State *L) int interval; const char *function; int n; + /* make gcc happy */ (void) L; @@ -582,7 +634,8 @@ weechat_lua_add_timer_handler (lua_State *L) function = lua_tostring (lua_current_interpreter, -1); if (!lua_plugin->timer_handler_add (lua_plugin, interval, - weechat_lua_handler, (char *) function, + weechat_lua_timer_handler, + (char *) function, (void *)lua_current_script)) { lua_pushnumber (lua_current_interpreter, 0); @@ -594,7 +647,57 @@ weechat_lua_add_timer_handler (lua_State *L) } /* - * weechat_lua_remove_handler: remove a handler + * weechat_lua_add_keyboard_handler: add a keyboard handler + */ + +static int +weechat_lua_add_keyboard_handler (lua_State *L) +{ + const char *function; + int n; + + /* make gcc happy */ + (void) L; + + if (!lua_current_script) + { + lua_plugin->print_server (lua_plugin, + "Lua error: unable to add keyboard handler, " + "script not initialized"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; + } + + function = NULL; + + n = lua_gettop (lua_current_interpreter); + + if (n != 1) + { + lua_plugin->print_server (lua_plugin, + "Lua error: wrong parameters for " + "\"add_keyboard_handler\" function"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; + } + + function = lua_tostring (lua_current_interpreter, -1); + + if (!lua_plugin->keyboard_handler_add (lua_plugin, + weechat_lua_keyboard_handler, + (char *) function, + (void *)lua_current_script)) + { + lua_pushnumber (lua_current_interpreter, 0); + return 1; + } + + lua_pushnumber (lua_current_interpreter, 1); + return 1; +} + +/* + * weechat_lua_remove_handler: remove a command/message handler */ static int @@ -602,6 +705,7 @@ weechat_lua_remove_handler (lua_State *L) { const char *command, *function; int n; + /* make gcc happy */ (void) L; @@ -647,6 +751,7 @@ weechat_lua_remove_timer_handler (lua_State *L) { const char *function; int n; + /* make gcc happy */ (void) L; @@ -681,6 +786,50 @@ weechat_lua_remove_timer_handler (lua_State *L) return 1; } +/* + * weechat_lua_remove_keyboard_handler: remove a keyboard handler + */ + +static int +weechat_lua_remove_keyboard_handler (lua_State *L) +{ + const char *function; + int n; + + /* make gcc happy */ + (void) L; + + if (!lua_current_script) + { + lua_plugin->print_server (lua_plugin, + "Lua error: unable to remove keyboard handler, " + "script not initialized"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; + } + + function = NULL; + + n = lua_gettop (lua_current_interpreter); + + if (n != 1) + { + lua_plugin->print_server (lua_plugin, + "Lua error: wrong parameters for " + "\"remove_keyboard_handler\" function"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; + } + + function = lua_tostring (lua_current_interpreter, -1); + + weechat_script_remove_keyboard_handler (lua_plugin, lua_current_script, + (char *) function); + + lua_pushnumber (lua_current_interpreter, 1); + return 1; +} + /* * weechat_lua_get_info: get various infos */ @@ -691,6 +840,7 @@ weechat_lua_get_info (lua_State *L) const char *arg, *server_name; char *info; int n; + /* make gcc happy */ (void) L; @@ -710,19 +860,19 @@ weechat_lua_get_info (lua_State *L) switch (n) { - case 1: - arg = lua_tostring (lua_current_interpreter, -1); - break; - case 2: - arg = lua_tostring (lua_current_interpreter, -2); - server_name = lua_tostring (lua_current_interpreter, -1); - break; - default: - lua_plugin->print_server (lua_plugin, - "Lua error: wrong parameters for " - "\"get_info\" function"); - lua_pushnumber (lua_current_interpreter, 0); - return 1; + case 1: + arg = lua_tostring (lua_current_interpreter, -1); + break; + case 2: + arg = lua_tostring (lua_current_interpreter, -2); + server_name = lua_tostring (lua_current_interpreter, -1); + break; + default: + lua_plugin->print_server (lua_plugin, + "Lua error: wrong parameters for " + "\"get_info\" function"); + lua_pushnumber (lua_current_interpreter, 0); + return 1; } info = lua_plugin->get_info (lua_plugin, (char *) arg, (char *) server_name); @@ -746,6 +896,7 @@ weechat_lua_get_dcc_info (lua_State *L) char timebuffer2[64]; struct in_addr in; int i; + /* make gcc happy */ (void) L; @@ -767,7 +918,7 @@ weechat_lua_get_dcc_info (lua_State *L) lua_newtable (lua_current_interpreter); - for(i=0, ptr_dcc = dcc_info; ptr_dcc; ptr_dcc = ptr_dcc->next_dcc, i++) + for (i = 0, ptr_dcc = dcc_info; ptr_dcc; ptr_dcc = ptr_dcc->next_dcc, i++) { strftime(timebuffer1, sizeof(timebuffer1), "%F %T", localtime(&ptr_dcc->start_time)); @@ -860,6 +1011,7 @@ weechat_lua_get_config (lua_State *L) const char *option; char *return_value; int n; + /* make gcc happy */ (void) L; @@ -905,6 +1057,7 @@ weechat_lua_set_config (lua_State *L) { const char *option, *value; int n; + /* make gcc happy */ (void) L; @@ -952,6 +1105,7 @@ weechat_lua_get_plugin_config (lua_State *L) const char *option; char *return_value; int n; + /* make gcc happy */ (void) L; @@ -999,6 +1153,7 @@ weechat_lua_set_plugin_config (lua_State *L) { const char *option, *value; int n; + /* make gcc happy */ (void) L; @@ -1047,6 +1202,7 @@ weechat_lua_get_server_info (lua_State *L) { t_plugin_server_info *server_info, *ptr_server; char timebuffer[64]; + /* make gcc happy */ (void) L; @@ -1067,7 +1223,7 @@ weechat_lua_get_server_info (lua_State *L) lua_newtable (lua_current_interpreter); - for(ptr_server = server_info; ptr_server; ptr_server = ptr_server->next_server) + for (ptr_server = server_info; ptr_server; ptr_server = ptr_server->next_server) { strftime(timebuffer, sizeof(timebuffer), "%F %T", localtime(&ptr_server->away_time)); @@ -1201,6 +1357,7 @@ weechat_lua_get_channel_info (lua_State *L) t_plugin_channel_info *channel_info, *ptr_channel; const char *server; int n; + /* make gcc happy */ (void) L; @@ -1237,7 +1394,7 @@ weechat_lua_get_channel_info (lua_State *L) lua_newtable (lua_current_interpreter); - for(ptr_channel = channel_info; ptr_channel; ptr_channel = ptr_channel->next_channel) + for (ptr_channel = channel_info; ptr_channel; ptr_channel = ptr_channel->next_channel) { lua_pushstring (lua_current_interpreter, ptr_channel->name); lua_newtable (lua_current_interpreter); @@ -1284,6 +1441,7 @@ weechat_lua_get_nick_info (lua_State *L) t_plugin_nick_info *nick_info, *ptr_nick; const char *server, *channel; int n; + /* make gcc happy */ (void) L; @@ -1349,6 +1507,7 @@ weechat_lua_constant_plugin_rc_ok (lua_State *L) { /* make gcc happy */ (void) L; + lua_pushnumber (lua_current_interpreter, PLUGIN_RC_OK); return 1; } @@ -1358,6 +1517,7 @@ weechat_lua_constant_plugin_rc_ko (lua_State *L) { /* make gcc happy */ (void) L; + lua_pushnumber (lua_current_interpreter, PLUGIN_RC_KO); return 1; } @@ -1367,6 +1527,7 @@ weechat_lua_constant_plugin_rc_ok_ignore_weechat (lua_State *L) { /* make gcc happy */ (void) L; + lua_pushnumber (lua_current_interpreter, PLUGIN_RC_OK_IGNORE_WEECHAT); return 1; } @@ -1376,6 +1537,7 @@ weechat_lua_constant_plugin_rc_ok_ignore_plugins (lua_State *L) { /* make gcc happy */ (void) L; + lua_pushnumber (lua_current_interpreter, PLUGIN_RC_OK_IGNORE_PLUGINS); return 1; } @@ -1385,6 +1547,7 @@ weechat_lua_constant_plugin_rc_ok_ignore_all (lua_State *L) { /* make gcc happy */ (void) L; + lua_pushnumber (lua_current_interpreter, PLUGIN_RC_OK_IGNORE_ALL); return 1; } @@ -1404,8 +1567,10 @@ const struct luaL_reg weechat_lua_funcs[] = { { "add_message_handler", weechat_lua_add_message_handler}, { "add_command_handler", weechat_lua_add_command_handler}, { "add_timer_handler", weechat_lua_add_timer_handler}, + { "add_keyboard_handler", weechat_lua_add_keyboard_handler}, { "remove_handler", weechat_lua_remove_handler}, { "remove_timer_handler", weechat_lua_remove_timer_handler}, + { "remove_keyboard_handler", weechat_lua_remove_keyboard_handler}, { "get_info", weechat_lua_get_info}, { "get_dcc_info", weechat_lua_get_dcc_info}, { "get_config", weechat_lua_get_config}, @@ -1536,7 +1701,7 @@ weechat_lua_unload (t_weechat_plugin *plugin, t_plugin_script *script) script->name); if (script->shutdown_func[0]) - weechat_lua_exec (plugin, script, script->shutdown_func, "", ""); + weechat_lua_exec (plugin, script, script->shutdown_func, "", "", ""); lua_close (script->interpreter); @@ -1590,8 +1755,8 @@ weechat_lua_unload_all (t_weechat_plugin *plugin) int weechat_lua_cmd (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, - char *handler_args, void *handler_pointer) + int cmd_argc, char **cmd_argv, + char *handler_args, void *handler_pointer) { int argc, handler_found; char **argv, *path_script; @@ -1599,13 +1764,14 @@ weechat_lua_cmd (t_weechat_plugin *plugin, t_plugin_handler *ptr_handler; /* make gcc happy */ - (void) server; - (void) command; (void) handler_args; (void) handler_pointer; - if (arguments) - argv = plugin->explode_string (plugin, arguments, " ", 0, &argc); + if (cmd_argc < 3) + return PLUGIN_RC_KO; + + if (cmd_argv[2]) + argv = plugin->explode_string (plugin, cmd_argv[2], " ", 0, &argc); else { argv = NULL; @@ -1687,6 +1853,24 @@ weechat_lua_cmd (t_weechat_plugin *plugin, ptr_handler->handler_args); } } + if (!handler_found) + plugin->print_server (plugin, " (none)"); + + /* list Lua keyboard handlers */ + plugin->print_server (plugin, ""); + plugin->print_server (plugin, "Lua keyboard handlers:"); + handler_found = 0; + for (ptr_handler = plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if ((ptr_handler->type == HANDLER_KEYBOARD) + && (ptr_handler->handler_args)) + { + handler_found = 1; + plugin->print_server (plugin, " Lua(%s)", + ptr_handler->handler_args); + } + } if (!handler_found) plugin->print_server (plugin, " (none)"); break; @@ -1730,7 +1914,7 @@ weechat_lua_cmd (t_weechat_plugin *plugin, if (argv) plugin->free_exploded_string (plugin, argv); - return 1; + return PLUGIN_RC_OK; } /* diff --git a/weechat/src/plugins/scripts/perl/weechat-perl.c b/weechat/src/plugins/scripts/perl/weechat-perl.c index c1605e22a..d2e3aa297 100644 --- a/weechat/src/plugins/scripts/perl/weechat-perl.c +++ b/weechat/src/plugins/scripts/perl/weechat-perl.c @@ -103,11 +103,11 @@ char *weechat_perl_code = int weechat_perl_exec (t_weechat_plugin *plugin, t_plugin_script *script, - char *function, char *server, char *arguments) + char *function, char *arg1, char *arg2, char *arg3) { - char empty_server[1] = { '\0' }; + char empty_arg[1] = { '\0' }; char *func; - char *argv[3]; + char *argv[4]; unsigned int count; int return_code; SV *sv; @@ -116,11 +116,11 @@ weechat_perl_exec (t_weechat_plugin *plugin, dSP; #ifndef MULTIPLICITY - int size = strlen(script->interpreter) + strlen(function) + 3; + int size = strlen (script->interpreter) + strlen(function) + 3; func = (char *) malloc ( size * sizeof(char)); - if (func == NULL) + if (!func) return PLUGIN_RC_KO; - snprintf(func, size, "%s::%s", (char *) script->interpreter, function); + snprintf (func, size, "%s::%s", (char *) script->interpreter, function); #else func = function; PERL_SET_CONTEXT (script->interpreter); @@ -129,12 +129,25 @@ weechat_perl_exec (t_weechat_plugin *plugin, ENTER; SAVETMPS; PUSHMARK(sp); - if (!server) - argv[0] = empty_server; + if (arg1) + { + argv[0] = (arg1) ? arg1 : empty_arg; + if (arg2) + { + argv[1] = (arg2) ? arg2 : empty_arg; + if (arg3) + { + argv[2] = (arg3) ? arg3 : empty_arg; + argv[3] = NULL; + } + else + argv[2] = NULL; + } + else + argv[1] = NULL; + } else - argv[0] = server; - argv[1] = arguments; - argv[2] = NULL; + argv[0] = NULL; perl_current_script = script; @@ -166,26 +179,59 @@ weechat_perl_exec (t_weechat_plugin *plugin, LEAVE; #ifndef MULTIPLICITY - free(func); + free (func); #endif return return_code; } /* - * weechat_perl_handler: general message and command handler for Perl + * weechat_perl_cmd_msg_handler: general command/message handler for Perl */ int -weechat_perl_handler (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, - char *handler_args, void *handler_pointer) +weechat_perl_cmd_msg_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 3) + return weechat_perl_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[2], NULL); + else + return PLUGIN_RC_KO; +} + +/* + * weechat_perl_timer_handler: general timer handler for Perl + */ + +int +weechat_perl_timer_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) { /* make gcc happy */ - (void) command; + (void) argc; + (void) argv; return weechat_perl_exec (plugin, (t_plugin_script *)handler_pointer, - handler_args, server, arguments); + handler_args, NULL, NULL, NULL); +} + +/* + * weechat_perl_keyboard_handler: general keyboard handler for Perl + */ + +int +weechat_perl_keyboard_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 3) + return weechat_perl_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[1], argv[2]); + else + return PLUGIN_RC_KO; } /* @@ -456,7 +502,7 @@ static XS (XS_weechat_command) } /* - * weechat::add_message_handler: add handler for messages (privmsg, ...) + * weechat::add_message_handler: add a handler for messages (privmsg, ...) */ static XS (XS_weechat_add_message_handler) @@ -488,7 +534,7 @@ static XS (XS_weechat_add_message_handler) function = SvPV (ST (1), integer); if (perl_plugin->msg_handler_add (perl_plugin, irc_command, - weechat_perl_handler, function, + weechat_perl_cmd_msg_handler, function, (void *)perl_current_script)) XSRETURN_YES; @@ -496,7 +542,7 @@ static XS (XS_weechat_add_message_handler) } /* - * weechat::add_command_handler: add command handler (define/redefine commands) + * weechat::add_command_handler: add a command handler (define/redefine commands) */ static XS (XS_weechat_add_command_handler) @@ -538,7 +584,7 @@ static XS (XS_weechat_add_command_handler) arguments, arguments_description, completion_template, - weechat_perl_handler, + weechat_perl_cmd_msg_handler, function, (void *)perl_current_script)) XSRETURN_YES; @@ -547,7 +593,7 @@ static XS (XS_weechat_add_command_handler) } /* - * weechat::add_timer_handler: add timer handler + * weechat::add_timer_handler: add a timer handler */ static XS (XS_weechat_add_timer_handler) @@ -579,16 +625,54 @@ static XS (XS_weechat_add_timer_handler) interval = SvIV (ST (0)); function = SvPV (ST (1), integer); - perl_plugin->print_server (perl_plugin, - "Perl add timer: interval = %d", interval); if (perl_plugin->timer_handler_add (perl_plugin, interval, - weechat_perl_handler, function, + weechat_perl_timer_handler, function, (void *)perl_current_script)) XSRETURN_YES; XSRETURN_NO; } +/* + * weechat::add_keyboard_handler: add a keyboard handler + */ + +static XS (XS_weechat_add_keyboard_handler) +{ + char *function; + unsigned int integer; + dXSARGS; + + /* make gcc happy */ + (void) cv; + + if (!perl_current_script) + { + perl_plugin->print_server (perl_plugin, + "Perl error: unable to add keyboard handler, " + "script not initialized"); + XSRETURN_NO; + } + + if (items < 1) + { + perl_plugin->print_server (perl_plugin, + "Perl error: wrong parameters for " + "\"add_keyboard_handler\" function"); + XSRETURN_NO; + } + + function = SvPV (ST (0), integer); + + if (perl_plugin->keyboard_handler_add (perl_plugin, + weechat_perl_keyboard_handler, + function, + (void *)perl_current_script)) + XSRETURN_YES; + + XSRETURN_NO; +} + /* * weechat::remove_handler: remove a message/command handler */ @@ -664,6 +748,43 @@ static XS (XS_weechat_remove_timer_handler) XSRETURN_YES; } +/* + * weechat::remove_keyboard_handler: remove a keyboard handler + */ + +static XS (XS_weechat_remove_keyboard_handler) +{ + char *function; + unsigned int integer; + dXSARGS; + + /* make gcc happy */ + (void) cv; + + if (!perl_current_script) + { + perl_plugin->print_server (perl_plugin, + "Perl error: unable to remove keyboard handler, " + "script not initialized"); + XSRETURN_NO; + } + + if (items < 1) + { + perl_plugin->print_server (perl_plugin, + "Perl error: wrong parameters for " + "\"remove_keyboard_handler\" function"); + XSRETURN_NO; + } + + function = SvPV (ST (0), integer); + + weechat_script_remove_keyboard_handler (perl_plugin, perl_current_script, + function); + + XSRETURN_YES; +} + /* * weechat::get_info: get various infos */ @@ -1170,6 +1291,43 @@ static XS (XS_weechat_get_nick_info) XSRETURN (1); } +/* + * weechat::color_input: add color in input buffer + */ + +static XS (XS_weechat_input_color) +{ + int color, start, length; + dXSARGS; + + /* make gcc happy */ + (void) cv; + + if (!perl_current_script) + { + perl_plugin->print_server (perl_plugin, + "Perl error: unable to colorize input, " + "script not initialized"); + XSRETURN_NO; + } + + if (items < 3) + { + perl_plugin->print_server (perl_plugin, + "Perl error: wrong parameters for " + "\"color_input\" function"); + XSRETURN_NO; + } + + color = SvIV (ST (0)); + start = SvIV (ST (1)); + length = SvIV (ST (2)); + + perl_plugin->input_color (perl_plugin, color, start, length); + + XSRETURN_YES; +} + /* * weechat_perl_xs_init: initialize subroutines */ @@ -1191,8 +1349,10 @@ weechat_perl_xs_init (pTHX) newXS ("weechat::add_message_handler", XS_weechat_add_message_handler, "weechat"); newXS ("weechat::add_command_handler", XS_weechat_add_command_handler, "weechat"); newXS ("weechat::add_timer_handler", XS_weechat_add_timer_handler, "weechat"); + newXS ("weechat::add_keyboard_handler", XS_weechat_add_keyboard_handler, "weechat"); newXS ("weechat::remove_handler", XS_weechat_remove_handler, "weechat"); newXS ("weechat::remove_timer_handler", XS_weechat_remove_timer_handler, "weechat"); + newXS ("weechat::remove_keyboard_handler", XS_weechat_remove_keyboard_handler, "weechat"); newXS ("weechat::get_info", XS_weechat_get_info, "weechat"); newXS ("weechat::get_dcc_info", XS_weechat_get_dcc_info, "weechat"); newXS ("weechat::get_config", XS_weechat_get_config, "weechat"); @@ -1202,6 +1362,7 @@ weechat_perl_xs_init (pTHX) newXS ("weechat::get_server_info", XS_weechat_get_server_info, "weechat"); newXS ("weechat::get_channel_info", XS_weechat_get_channel_info, "weechat"); newXS ("weechat::get_nick_info", XS_weechat_get_nick_info, "weechat"); + newXS ("weechat::input_color", XS_weechat_input_color, "weechat"); /* interface constants */ stash = gv_stashpv ("weechat", TRUE); @@ -1237,7 +1398,7 @@ weechat_perl_load (t_weechat_plugin *plugin, char *filename) snprintf(pkgname, sizeof(pkgname), "%s%d", PKG_NAME_PREFIX, packnum); packnum++; tempscript.interpreter = "WeechatPerlScriptLoader"; - eval = weechat_perl_exec (plugin, &tempscript, "weechat_perl_load_eval_file", filename, pkgname); + eval = weechat_perl_exec (plugin, &tempscript, "weechat_perl_load_eval_file", filename, pkgname, ""); #else perl_current_interpreter = perl_alloc(); @@ -1256,7 +1417,7 @@ weechat_perl_load (t_weechat_plugin *plugin, char *filename) perl_parse (perl_current_interpreter, weechat_perl_xs_init, 3, perl_args, NULL); eval_pv (weechat_perl_code, TRUE); - eval = weechat_perl_exec (plugin, &tempscript, "weechat_perl_load_eval_file", filename, ""); + eval = weechat_perl_exec (plugin, &tempscript, "weechat_perl_load_eval_file", filename, "", ""); free (perl_current_script_filename); @@ -1338,7 +1499,7 @@ weechat_perl_unload (t_weechat_plugin *plugin, t_plugin_script *script) #endif if (script->shutdown_func[0]) - weechat_perl_exec (plugin, script, script->shutdown_func, "", ""); + weechat_perl_exec (plugin, script, script->shutdown_func, "", "", ""); #ifndef MULTIPLICITY if (script->interpreter) @@ -1398,7 +1559,7 @@ weechat_perl_unload_all (t_weechat_plugin *plugin) int weechat_perl_cmd (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, + int cmd_argc, char **cmd_argv, char *handler_args, void *handler_pointer) { int argc, handler_found; @@ -1406,14 +1567,15 @@ weechat_perl_cmd (t_weechat_plugin *plugin, t_plugin_script *ptr_script; t_plugin_handler *ptr_handler; + if (cmd_argc < 3) + return PLUGIN_RC_KO; + /* make gcc happy */ - (void) server; - (void) command; (void) handler_args; (void) handler_pointer; - if (arguments) - argv = plugin->explode_string (plugin, arguments, " ", 0, &argc); + if (cmd_argv[2]) + argv = plugin->explode_string (plugin, cmd_argv[2], " ", 0, &argc); else { argv = NULL; @@ -1497,6 +1659,22 @@ weechat_perl_cmd (t_weechat_plugin *plugin, } if (!handler_found) plugin->print_server (plugin, " (none)"); + + /* list Perl keyboard handlers */ + plugin->print_server (plugin, ""); + plugin->print_server (plugin, "Perl keyboard handlers:"); + handler_found = 0; + for (ptr_handler = plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if ((ptr_handler->type == HANDLER_KEYBOARD) + && (ptr_handler->handler_args)) + { + handler_found = 1; + plugin->print_server (plugin, " Perl(%s)", + ptr_handler->handler_args); + } + } break; case 1: if (plugin->ascii_strcasecmp (plugin, argv[0], "autoload") == 0) @@ -1538,7 +1716,7 @@ weechat_perl_cmd (t_weechat_plugin *plugin, if (argv) plugin->free_exploded_string (plugin, argv); - return 1; + return PLUGIN_RC_OK; } /* diff --git a/weechat/src/plugins/scripts/python/weechat-python.c b/weechat/src/plugins/scripts/python/weechat-python.c index cca2db855..572130906 100644 --- a/weechat/src/plugins/scripts/python/weechat-python.c +++ b/weechat/src/plugins/scripts/python/weechat-python.c @@ -50,7 +50,7 @@ PyThreadState *python_mainThreadState = NULL; int weechat_python_exec (t_weechat_plugin *plugin, t_plugin_script *script, - char *function, char *server, char *arguments) + char *function, char *arg1, char *arg2, char *arg3) { PyObject *evMain; PyObject *evDict; @@ -75,8 +75,21 @@ weechat_python_exec (t_weechat_plugin *plugin, ret = -1; python_current_script = script; - - rc = PyObject_CallFunction(evFunc, "ss", server == NULL ? "" : server, arguments == NULL ? "" : arguments); + + if (arg1) + { + if (arg2) + { + if (arg3) + rc = PyObject_CallFunction (evFunc, "sss", arg1, arg2, arg3); + else + rc = PyObject_CallFunction (evFunc, "ss", arg1, arg2); + } + else + rc = PyObject_CallFunction (evFunc, "s", arg1); + } + else + rc = PyObject_CallFunction (evFunc, ""); if (rc) { @@ -94,19 +107,52 @@ weechat_python_exec (t_weechat_plugin *plugin, } /* - * weechat_python_handler: general message and command handler for Python + * weechat_python_cmd_msg_handler: general command/message handler for Python */ int -weechat_python_handler (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, - char *handler_args, void *handler_pointer) +weechat_python_cmd_msg_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 3) + return weechat_python_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[2], NULL); + else + return PLUGIN_RC_KO; +} + +/* + * weechat_python_timer_handler: general timer handler for Python + */ + +int +weechat_python_timer_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) { /* make gcc happy */ - (void) command; + (void) argc; + (void) argv; return weechat_python_exec (plugin, (t_plugin_script *)handler_pointer, - handler_args, server, arguments); + handler_args, NULL, NULL, NULL); +} + +/* + * weechat_python_keyboard_handler: general keyboard handler for Python + */ + +int +weechat_python_keyboard_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 3) + return weechat_python_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[1], argv[2]); + else + return PLUGIN_RC_KO; } /* @@ -392,7 +438,8 @@ weechat_python_add_message_handler (PyObject *self, PyObject *args) } if (python_plugin->msg_handler_add (python_plugin, irc_command, - weechat_python_handler, function, + weechat_python_cmd_msg_handler, + function, (void *)python_current_script)) return Py_BuildValue ("i", 1); @@ -443,7 +490,7 @@ weechat_python_add_command_handler (PyObject *self, PyObject *args) arguments, arguments_description, completion_template, - weechat_python_handler, + weechat_python_cmd_msg_handler, function, (void *)python_current_script)) return Py_BuildValue ("i", 1); @@ -484,13 +531,53 @@ weechat_python_add_timer_handler (PyObject *self, PyObject *args) } if (python_plugin->timer_handler_add (python_plugin, interval, - weechat_python_handler, function, + weechat_python_timer_handler, + function, (void *)python_current_script)) return Py_BuildValue ("i", 1); return Py_BuildValue ("i", 0); } +/* + * weechat_python_add_keyboard_handler: add a keyboard handler + */ + +static PyObject * +weechat_python_add_keyboard_handler (PyObject *self, PyObject *args) +{ + char *function; + + /* make gcc happy */ + (void) self; + + if (!python_current_script) + { + python_plugin->print_server (python_plugin, + "Python error: unable to add keyboard handler, " + "script not initialized"); + return Py_BuildValue ("i", 0); + } + + function = NULL; + + if (!PyArg_ParseTuple (args, "s", &function)) + { + python_plugin->print_server (python_plugin, + "Python error: wrong parameters for " + "\"add_keyboard_handler\" function"); + return Py_BuildValue ("i", 0); + } + + if (python_plugin->keyboard_handler_add (python_plugin, + weechat_python_keyboard_handler, + function, + (void *)python_current_script)) + return Py_BuildValue ("i", 1); + + return Py_BuildValue ("i", 0); +} + /* * weechat_python_remove_handler: remove a handler */ @@ -564,6 +651,42 @@ weechat_python_remove_timer_handler (PyObject *self, PyObject *args) return Py_BuildValue ("i", 1); } +/* + * weechat_python_remove_keyboard_handler: remove a keyboard handler + */ + +static PyObject * +weechat_python_remove_keyboard_handler (PyObject *self, PyObject *args) +{ + char *function; + + /* make gcc happy */ + (void) self; + + if (!python_current_script) + { + python_plugin->print_server (python_plugin, + "Python error: unable to remove keyboard handler, " + "script not initialized"); + return Py_BuildValue ("i", 0); + } + + function = NULL; + + if (!PyArg_ParseTuple (args, "s", &function)) + { + python_plugin->print_server (python_plugin, + "Python error: wrong parameters for " + "\"remove_keyboard_handler\" function"); + return Py_BuildValue ("i", 0); + } + + weechat_script_remove_keyboard_handler (python_plugin, python_current_script, + function); + + return Py_BuildValue ("i", 1); +} + /* * weechat_python_get_info: get various infos */ @@ -1132,8 +1255,10 @@ PyMethodDef weechat_python_funcs[] = { { "add_message_handler", weechat_python_add_message_handler, METH_VARARGS, "" }, { "add_command_handler", weechat_python_add_command_handler, METH_VARARGS, "" }, { "add_timer_handler", weechat_python_add_timer_handler, METH_VARARGS, "" }, + { "add_keyboard_handler", weechat_python_add_keyboard_handler, METH_VARARGS, "" }, { "remove_handler", weechat_python_remove_handler, METH_VARARGS, "" }, { "remove_timer_handler", weechat_python_remove_timer_handler, METH_VARARGS, "" }, + { "remove_keyboard_handler", weechat_python_remove_keyboard_handler, METH_VARARGS, "" }, { "get_info", weechat_python_get_info, METH_VARARGS, "" }, { "get_dcc_info", weechat_python_get_dcc_info, METH_VARARGS, "" }, { "get_config", weechat_python_get_config, METH_VARARGS, "" }, @@ -1307,7 +1432,7 @@ weechat_python_unload (t_weechat_plugin *plugin, t_plugin_script *script) script->name); if (script->shutdown_func[0]) - weechat_python_exec (plugin, script, script->shutdown_func, "", ""); + weechat_python_exec (plugin, script, script->shutdown_func, "", "", ""); PyThreadState_Swap (script->interpreter); Py_EndInterpreter (script->interpreter); @@ -1362,7 +1487,7 @@ weechat_python_unload_all (t_weechat_plugin *plugin) int weechat_python_cmd (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, + int cmd_argc, char **cmd_argv, char *handler_args, void *handler_pointer) { int argc, handler_found; @@ -1371,13 +1496,14 @@ weechat_python_cmd (t_weechat_plugin *plugin, t_plugin_handler *ptr_handler; /* make gcc happy */ - (void) server; - (void) command; (void) handler_args; (void) handler_pointer; - if (arguments) - argv = plugin->explode_string (plugin, arguments, " ", 0, &argc); + if (cmd_argc < 3) + return PLUGIN_RC_KO; + + if (cmd_argv[2]) + argv = plugin->explode_string (plugin, cmd_argv[2], " ", 0, &argc); else { argv = NULL; @@ -1459,6 +1585,24 @@ weechat_python_cmd (t_weechat_plugin *plugin, ptr_handler->handler_args); } } + if (!handler_found) + plugin->print_server (plugin, " (none)"); + + /* list Python keyboard handlers */ + plugin->print_server (plugin, ""); + plugin->print_server (plugin, "Python keyboard handlers:"); + handler_found = 0; + for (ptr_handler = plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if ((ptr_handler->type == HANDLER_KEYBOARD) + && (ptr_handler->handler_args)) + { + handler_found = 1; + plugin->print_server (plugin, " Python(%s)", + ptr_handler->handler_args); + } + } if (!handler_found) plugin->print_server (plugin, " (none)"); break; @@ -1502,7 +1646,7 @@ weechat_python_cmd (t_weechat_plugin *plugin, if (argv) plugin->free_exploded_string (plugin, argv); - return 1; + return PLUGIN_RC_OK; } /* diff --git a/weechat/src/plugins/scripts/ruby/weechat-ruby.c b/weechat/src/plugins/scripts/ruby/weechat-ruby.c index 13f1e927f..1f6b8d933 100644 --- a/weechat/src/plugins/scripts/ruby/weechat-ruby.c +++ b/weechat/src/plugins/scripts/ruby/weechat-ruby.c @@ -104,7 +104,7 @@ rb_protect_funcall(VALUE recv, ID mid, int *state, int argc, ...) int weechat_ruby_exec (t_weechat_plugin *plugin, t_plugin_script *script, - char *function, char *server, char *arguments) + char *function, char *arg1, char *arg2, char *arg3) { VALUE ruby_retcode, err; int ruby_error; @@ -112,11 +112,32 @@ weechat_ruby_exec (t_weechat_plugin *plugin, (void) plugin; ruby_current_script = script; - - ruby_retcode = rb_protect_funcall ((VALUE) script->interpreter, rb_intern(function), - &ruby_error, 2, - rb_str_new2((server == NULL) ? "" : server), - rb_str_new2((arguments == NULL) ? "" : arguments)); + + if (arg1) + { + if (arg2) + { + if (arg3) + ruby_retcode = rb_protect_funcall ((VALUE) script->interpreter, rb_intern(function), + &ruby_error, 3, + rb_str_new2(arg1), + rb_str_new2(arg2), + rb_str_new2(arg3)); + else + ruby_retcode = rb_protect_funcall ((VALUE) script->interpreter, rb_intern(function), + &ruby_error, 2, + rb_str_new2(arg1), + rb_str_new2(arg2)); + } + else + ruby_retcode = rb_protect_funcall ((VALUE) script->interpreter, rb_intern(function), + &ruby_error, 1, + rb_str_new2(arg1)); + } + else + ruby_retcode = rb_protect_funcall ((VALUE) script->interpreter, rb_intern(function), + &ruby_error, 0); + if (ruby_error) { ruby_plugin->print_server (ruby_plugin, @@ -137,19 +158,52 @@ weechat_ruby_exec (t_weechat_plugin *plugin, } /* - * weechat_ruby_handler: general message and command handler for Ruby + * weechat_ruby_cmd_msg_handler: general command/message handler for Ruby */ int -weechat_ruby_handler (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, - char *handler_args, void *handler_pointer) +weechat_ruby_cmd_msg_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 3) + return weechat_ruby_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[2], NULL); + else + return PLUGIN_RC_KO; +} + +/* + * weechat_ruby_timer_handler: general timer handler for Ruby + */ + +int +weechat_ruby_timer_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) { /* make gcc happy */ - (void) command; + (void) argc; + (void) argv; return weechat_ruby_exec (plugin, (t_plugin_script *)handler_pointer, - handler_args, server, arguments); + handler_args, NULL, NULL, NULL); +} + +/* + * weechat_ruby_keyboard_handler: general keyboard handler for Ruby + */ + +int +weechat_ruby_keyboard_handler (t_weechat_plugin *plugin, + int argc, char **argv, + char *handler_args, void *handler_pointer) +{ + if (argc >= 2) + return weechat_ruby_exec (plugin, (t_plugin_script *)handler_pointer, + handler_args, argv[0], argv[1], argv[2]); + else + return PLUGIN_RC_KO; } /* @@ -482,7 +536,7 @@ weechat_ruby_command (int argc, VALUE *argv, VALUE class) } /* - * weechat_ruby_add_message_handler: add handler for messages + * weechat_ruby_add_message_handler: add a handler for messages (privmsg, ...) */ static VALUE @@ -519,7 +573,8 @@ weechat_ruby_add_message_handler (VALUE class, VALUE message, VALUE function) c_function = STR2CSTR (function); if (ruby_plugin->msg_handler_add (ruby_plugin, c_message, - weechat_ruby_handler, c_function, + weechat_ruby_cmd_msg_handler, + c_function, (void *)ruby_current_script)) return INT2FIX (1); @@ -527,7 +582,7 @@ weechat_ruby_add_message_handler (VALUE class, VALUE message, VALUE function) } /* - * weechat_ruby_add_command_handler: define/redefines commands + * weechat_ruby_add_command_handler: add a command handler (define/redefine commands) */ static VALUE @@ -608,7 +663,7 @@ weechat_ruby_add_command_handler (int argc, VALUE *argv, VALUE class) c_arguments, c_arguments_description, c_completion_template, - weechat_ruby_handler, + weechat_ruby_cmd_msg_handler, c_function, (void *)ruby_current_script)) return INT2FIX (1); @@ -655,13 +710,57 @@ weechat_ruby_add_timer_handler (VALUE class, VALUE interval, VALUE function) c_function = STR2CSTR (function); if (ruby_plugin->timer_handler_add (ruby_plugin, c_interval, - weechat_ruby_handler, c_function, + weechat_ruby_timer_handler, + c_function, (void *)ruby_current_script)) return INT2FIX (1); return INT2FIX (0); } +/* + * weechat_ruby_add_keyboard_handler: add a keyboard handler + */ + +static VALUE +weechat_ruby_add_keyboard_handler (VALUE class, VALUE function) +{ + char *c_function; + + /* make gcc happy */ + (void) class; + + if (!ruby_current_script) + { + ruby_plugin->print_server (ruby_plugin, + "Ruby error: unable to add keyboard handler, " + "script not initialized"); + return INT2FIX (0); + } + + c_function = NULL; + + if (NIL_P (function)) + { + ruby_plugin->print_server (ruby_plugin, + "Ruby error: wrong parameters for " + "\"add_keyboard_handler\" function"); + return INT2FIX (0); + } + + Check_Type (function, T_STRING); + + c_function = STR2CSTR (function); + + if (ruby_plugin->keyboard_handler_add (ruby_plugin, + weechat_ruby_keyboard_handler, + c_function, + (void *)ruby_current_script)) + return INT2FIX (1); + + return INT2FIX (0); +} + /* * weechat_ruby_remove_handler: remove a handler */ @@ -745,6 +844,46 @@ weechat_ruby_remove_timer_handler (VALUE class, VALUE function) return INT2FIX (1); } +/* + * weechat_ruby_remove_keyboard_handler: remove a keyboard handler + */ + +static VALUE +weechat_ruby_remove_keyboard_handler (VALUE class, VALUE function) +{ + char *c_function; + + /* make gcc happy */ + (void) class; + + if (!ruby_current_script) + { + ruby_plugin->print_server (ruby_plugin, + "Ruby error: unable to remove keyboard handler, " + "script not initialized"); + return INT2FIX (0); + } + + c_function = NULL; + + if (NIL_P (function)) + { + ruby_plugin->print_server (ruby_plugin, + "Ruby error: wrong parameters for " + "\"remove_keyboard_handler\" function"); + return INT2FIX (0); + } + + Check_Type (function, T_STRING); + + c_function = STR2CSTR (function); + + weechat_script_remove_keyboard_handler (ruby_plugin, ruby_current_script, + c_function); + + return INT2FIX (1); +} + /* * weechat_ruby_get_info: get various infos */ @@ -1485,7 +1624,7 @@ weechat_ruby_unload (t_weechat_plugin *plugin, t_plugin_script *script) script->name); if (script->shutdown_func[0]) - weechat_ruby_exec (plugin, script, script->shutdown_func, "", ""); + weechat_ruby_exec (plugin, script, script->shutdown_func, "", "", ""); if (script->interpreter) rb_gc_unregister_address (script->interpreter); @@ -1541,7 +1680,7 @@ weechat_ruby_unload_all (t_weechat_plugin *plugin) int weechat_ruby_cmd (t_weechat_plugin *plugin, - char *server, char *command, char *arguments, + int cmd_argc, char **cmd_argv, char *handler_args, void *handler_pointer) { int argc, handler_found; @@ -1550,13 +1689,14 @@ weechat_ruby_cmd (t_weechat_plugin *plugin, t_plugin_handler *ptr_handler; /* make gcc happy */ - (void) server; - (void) command; (void) handler_args; (void) handler_pointer; - if (arguments) - argv = plugin->explode_string (plugin, arguments, " ", 0, &argc); + if (cmd_argc < 3) + return PLUGIN_RC_KO; + + if (cmd_argv[2]) + argv = plugin->explode_string (plugin, cmd_argv[2], " ", 0, &argc); else { argv = NULL; @@ -1638,6 +1778,24 @@ weechat_ruby_cmd (t_weechat_plugin *plugin, ptr_handler->handler_args); } } + if (!handler_found) + plugin->print_server (plugin, " (none)"); + + /* list Ruby keyboard handlers */ + plugin->print_server (plugin, ""); + plugin->print_server (plugin, "Ruby keyboard handlers:"); + handler_found = 0; + for (ptr_handler = plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if ((ptr_handler->type == HANDLER_KEYBOARD) + && (ptr_handler->handler_args)) + { + handler_found = 1; + plugin->print_server (plugin, " Ruby(%s)", + ptr_handler->handler_args); + } + } if (!handler_found) plugin->print_server (plugin, " (none)"); break; @@ -1681,7 +1839,7 @@ weechat_ruby_cmd (t_weechat_plugin *plugin, if (argv) plugin->free_exploded_string (plugin, argv); - return 1; + return PLUGIN_RC_OK; } /* @@ -1758,8 +1916,10 @@ weechat_plugin_init (t_weechat_plugin *plugin) rb_define_module_function (mWeechat, "add_message_handler", weechat_ruby_add_message_handler, 2); rb_define_module_function (mWeechat, "add_command_handler", weechat_ruby_add_command_handler, -1); rb_define_module_function (mWeechat, "add_timer_handler", weechat_ruby_add_timer_handler, 2); + rb_define_module_function (mWeechat, "add_keyboard_handler", weechat_ruby_add_keyboard_handler, 1); rb_define_module_function (mWeechat, "remove_handler", weechat_ruby_remove_handler, 2); rb_define_module_function (mWeechat, "remove_timer_handler", weechat_ruby_remove_timer_handler, 1); + rb_define_module_function (mWeechat, "remove_keyboard_handler", weechat_ruby_remove_keyboard_handler, 1); rb_define_module_function (mWeechat, "get_info", weechat_ruby_get_info, -1); rb_define_module_function (mWeechat, "get_dcc_info", weechat_ruby_get_dcc_info, 0); rb_define_module_function (mWeechat, "get_config", weechat_ruby_get_config, 1); diff --git a/weechat/src/plugins/scripts/weechat-script.c b/weechat/src/plugins/scripts/weechat-script.c index f95809426..419b10adb 100644 --- a/weechat/src/plugins/scripts/weechat-script.c +++ b/weechat/src/plugins/scripts/weechat-script.c @@ -317,7 +317,36 @@ weechat_script_remove_timer_handler (t_weechat_plugin *plugin, ptr_handler = plugin->handlers; while (ptr_handler) { - if (((t_plugin_script *)ptr_handler->handler_pointer == script) + if ((ptr_handler->type == HANDLER_TIMER) + && ((t_plugin_script *)ptr_handler->handler_pointer == script) + && (plugin->ascii_strcasecmp (plugin, ptr_handler->handler_args, function) == 0)) + { + next_handler = ptr_handler->next_handler; + plugin->handler_remove (plugin, ptr_handler); + ptr_handler = next_handler; + } + else + ptr_handler = ptr_handler->next_handler; + } +} + +/* + * weechat_script_remove_keyboard_handler: remove a keyboard handler for a script + */ + +void +weechat_script_remove_keyboard_handler (t_weechat_plugin *plugin, + t_plugin_script *script, + char *function) +{ + t_plugin_handler *ptr_handler, *next_handler; + + /* search and remove keyboard handlers */ + ptr_handler = plugin->handlers; + while (ptr_handler) + { + if ((ptr_handler->type == HANDLER_KEYBOARD) + && ((t_plugin_script *)ptr_handler->handler_pointer == script) && (plugin->ascii_strcasecmp (plugin, ptr_handler->handler_args, function) == 0)) { next_handler = ptr_handler->next_handler; diff --git a/weechat/src/plugins/scripts/weechat-script.h b/weechat/src/plugins/scripts/weechat-script.h index 007bc8713..922eaab7f 100644 --- a/weechat/src/plugins/scripts/weechat-script.h +++ b/weechat/src/plugins/scripts/weechat-script.h @@ -56,6 +56,9 @@ extern void weechat_script_remove_handler (t_weechat_plugin *, extern void weechat_script_remove_timer_handler (t_weechat_plugin *, t_plugin_script *, char *); +extern void weechat_script_remove_keyboard_handler (t_weechat_plugin *, + t_plugin_script *, + char *); extern char *weechat_script_get_plugin_config (t_weechat_plugin *, t_plugin_script *, char *); diff --git a/weechat/src/plugins/weechat-plugin.h b/weechat/src/plugins/weechat-plugin.h index 57c01644c..107baf206 100644 --- a/weechat/src/plugins/weechat-plugin.h +++ b/weechat/src/plugins/weechat-plugin.h @@ -125,7 +125,7 @@ struct t_plugin_nick_info typedef struct t_weechat_plugin t_weechat_plugin; -typedef int (t_plugin_handler_func) (t_weechat_plugin *, char *, char *, char *, char *, void *); +typedef int (t_plugin_handler_func) (t_weechat_plugin *, int, char **, char *, void *); /* handlers */ @@ -135,7 +135,8 @@ enum t_handler_type { HANDLER_MESSAGE = 0, /* IRC message handler */ HANDLER_COMMAND, /* command handler */ - HANDLER_TIMER /* timer handler */ + HANDLER_TIMER, /* timer handler */ + HANDLER_KEYBOARD /* keyboard handler */ }; typedef struct t_plugin_handler t_plugin_handler; @@ -219,6 +220,9 @@ struct t_weechat_plugin t_plugin_handler *(*timer_handler_add) (t_weechat_plugin *, int, t_plugin_handler_func *, char *, void *); + t_plugin_handler *(*keyboard_handler_add) (t_weechat_plugin *, + t_plugin_handler_func *, + char *, void *); void (*handler_remove) (t_weechat_plugin *, t_plugin_handler *); void (*handler_remove_all) (t_weechat_plugin *); @@ -239,6 +243,8 @@ struct t_weechat_plugin void (*log) (t_weechat_plugin *, char *, char *, char *, ...); + void (*input_color) (t_weechat_plugin *, int, int, int); + /* WeeChat developers: ALWAYS add new functions at the end */ }; @@ -272,6 +278,9 @@ extern t_plugin_handler *weechat_plugin_cmd_handler_add (t_weechat_plugin *, cha extern t_plugin_handler *weechat_plugin_timer_handler_add (t_weechat_plugin *, int, t_plugin_handler_func *, char *, void *); +extern t_plugin_handler *weechat_plugin_keyboard_handler_add (t_weechat_plugin *, + t_plugin_handler_func *, + char *, void *); extern void weechat_plugin_handler_remove (t_weechat_plugin *, t_plugin_handler *); extern void weechat_plugin_handler_remove_all (t_weechat_plugin *); @@ -290,5 +299,6 @@ extern t_plugin_channel_info *weechat_plugin_get_channel_info (t_weechat_plugin extern void weechat_plugin_free_channel_info (t_weechat_plugin *, t_plugin_channel_info *); extern t_plugin_nick_info *weechat_plugin_get_nick_info (t_weechat_plugin *, char *, char *); extern void weechat_plugin_free_nick_info (t_weechat_plugin *, t_plugin_nick_info *); +extern void weechat_plugin_input_color (t_weechat_plugin *, int, int, int); #endif /* weechat-plugin.h */