diff options
48 files changed, 6602 insertions, 5920 deletions
@@ -1,10 +1,12 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2005-12-11 +ChangeLog - 2005-12-16 Version 0.1.7 (under dev!): + * added completion system for plugins/scripts commands + * fixed plugins autoload * added charset by server and channel, new command: /charset * added Ruby script plugin * added /upgrade command diff --git a/doc/weechat_doc_en.texi b/doc/weechat_doc_en.texi index 4d332f836..115c46c05 100644 --- a/doc/weechat_doc_en.texi +++ b/doc/weechat_doc_en.texi @@ -35,7 +35,7 @@ @title WeeChat - User guide @subtitle Fast, light and extensible IRC client -@subtitle Documentation for WeeChat v0.1.7-cvs - December, 15 2005 +@subtitle Documentation for WeeChat v0.1.7-cvs - December, 16 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -1525,18 +1525,14 @@ call next command in global history@* scroll one page up@* @item page_down scroll one page down@* -@item infobar_clear -clear infobar@* -@item nick_page_up -scroll nicklist one page up@* -@item nick_page_down -scroll nicklist one page down@* @item nick_beginning display beginning of nicklist@* @item nick_end display end of nicklist@* -@item refresh -refresh screen@* +@item nick_page_up +scroll nicklist one page up@* +@item nick_page_down +scroll nicklist one page down@* @item jump_smart jump to buffer with activity@* @item jump_dcc @@ -1547,8 +1543,20 @@ jump to last buffer@* jump to server buffer@* @item jump_next_server jump to next server@* +@item switch_server +switch active server on servers buffer@* +@item scroll_previous_highlight +scroll to previous highlight in buffer@* +@item scroll_next_highlight +scroll to next highlight in buffer@* +@item scroll_unread +scroll to first unread line in buffer@* @item hotlist_clear clear hotlist@* +@item infobar_clear +clear infobar@* +@item refresh +refresh screen@* @item grab_key grab a key@* @end table @@ -1920,8 +1928,9 @@ WeeChat neither other plugins @item @command{t_plugin_handler *cmd_handler_add (t_weechat_plugin *plugin, char *command, char *description, char *arguments, -char *arguments_description, t_plugin_handler_func *handler_func, -char *handler_args, void *handler_pointer)}@* +char *arguments_description, char *completion_template, +t_plugin_handler_func *handler_func, char *handler_args, +void *handler_pointer)}@* @* Add a WeeChat command handler, called when user uses command (for example /command).@* @@ -1936,6 +1945,32 @@ command) (displayed by /help command) @item @option{arguments_description}: long description of command arguments (displayed by /help command) +@item @option{completion_template}: template for completion, like +@code{abc|%w def|%i} which means ``abc'' or a WeeChat command +for first argument, and ``def'' or IRC command for second.@* +Following codes can be used: +@itemize @minus +@item @code{%-}: no completion for argument +@item @code{%a}: alias +@item @code{%A}: alias and commands (WeeChat, IRC and plugins) +@item @code{%c}: current channel +@item @code{%C}: channels of current server +@item @code{%f}: filename +@item @code{%h}: plugins commands +@item @code{%i}: IRC commands (sent) +@item @code{%I}: IRC commands (received) +@item @code{%k}: keys +@item @code{%n}: nicks of current channel +@item @code{%o}: setup option +@item @code{%p}: default ``part'' message +@item @code{%q}: default ``quit'' message +@item @code{%s}: current server name +@item @code{%S}: all servers names +@item @code{%t}: topic of current channel +@item @code{%v}: setup option value +@item @code{%w}: WeeChat commands +@item @code{%y}: default ``away'' message +@end itemize @item @option{handler_func}: function called when comand is executed @item @option{handler_args}: arguments given to function when called @item @option{handler_pointer}: pointer given to function when called @@ -2274,6 +2309,7 @@ int weechat_plugin_init (t_weechat_plugin *plugin) "Display two times a message", "msg", "msg: message", + NULL, &toto_cmd_double, NULL, NULL); return PLUGIN_RC_OK; @@ -2468,9 +2504,11 @@ WeeChat neither other plugins @item Perl: @command{weechat::add_command_handler ( name, function, -[description, arguments, arguments_description] );}@* +[description, arguments, arguments_description, +completion_template] );}@* Python: @command{weechat.add_command_handler ( name, function, -[description, arguments, arguments_description] )}@* +[description, arguments, arguments_description, +completion_template] )}@* @* Create new WeeChat command, linked with script function.@* Function will be called when user will launch command with @kbd{/name}.@* @@ -2488,6 +2526,32 @@ command) (displayed by /help command) @item @option{arguments_description}: long description of command arguments (displayed by /help command) +@item @option{completion_template}: template for completion, like +@code{abc|%w def|%i} which means ``abc'' or a WeeChat command +for first argument, and ``def'' or IRC command for second.@* +Following codes can be used: +@itemize @minus +@item @code{%-}: no completion for argument +@item @code{%a}: alias +@item @code{%A}: alias and commands (WeeChat, IRC and plugins) +@item @code{%c}: current channel +@item @code{%C}: channels of current server +@item @code{%f}: filename +@item @code{%h}: plugins commands +@item @code{%i}: IRC commands (sent) +@item @code{%I}: IRC commands (received) +@item @code{%k}: keys +@item @code{%n}: nicks of current channel +@item @code{%o}: setup option +@item @code{%p}: default ``part'' message +@item @code{%q}: default ``quit'' message +@item @code{%s}: current server name +@item @code{%S}: all servers names +@item @code{%t}: topic of current channel +@item @code{%v}: setup option value +@item @code{%w}: WeeChat commands +@item @code{%y}: default ``away'' message +@end itemize @end itemize @* @emph{Return value:}@* diff --git a/doc/weechat_doc_es.texi b/doc/weechat_doc_es.texi index 66708c83c..3f424d89f 100644 --- a/doc/weechat_doc_es.texi +++ b/doc/weechat_doc_es.texi @@ -36,7 +36,7 @@ @title WeeChat - Gui@'on de usuario. @subtitle Cliente IRC r@'apido, peque@~no y extensible -@subtitle Documentaci@'on para WeeChat v0.1.7-cvs - 15 de diciembre de 2005 +@subtitle Documentaci@'on para WeeChat v0.1.7-cvs - 16 de diciembre de 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -1480,75 +1480,83 @@ Internal functions for keys:@* @table @kbd @item return -terminar l@'inea@* +terminate line@* @item tab -completar palabra@* +complete word@* @item backspace -borrar el car@'acter anterior@* +delete previous char@* @item delete -borrar el car@'acter siguiente@* +delete next char@* @item delete_end_line -borrar hasta fin de l@'inea@* +delete until end of line@* @item delete_beginning_line -borrar hasta principio de l@'inea@* +delete until beginning of line@* @item delete_line -borrar l@'inea entera@* +delete entire line@* @item delete_previous_word -borrar la palabra anterior@* +delete previous word@* @item delete_next_word -borrar la palabra siguiente@* +delete next word@* @item clipboard_paste paste current clipboard content@* @item transpose_chars transpose chars@* @item home -ir al principio de l@'inea@* +go to beginning of line@* @item end -ir al final de l@'inea@* +go to end of line@* @item left -mover un car@'acter a la izquierda@* +move one char left@* @item previous_word -mover a la palabra anterior@* +move to previous word@* @item right -mover un car@'acter a la derecha@* +move one char right@* @item next_word -mover a la palabra siguiente@* +move to next word@* @item up -llamar al comando anterior en el historial@* +call previous command in history@* @item up_global call previous command in global history@* @item down -llamar al comando siguiente en el historial@* +call next command in history@* @item down_global call next command in global history@* @item page_up -desplazarse una p@'agina hacia arriba@* +scroll one page up@* @item page_down -desplazarse una p@'agina hacia abajo@* -@item infobar_clear -limpiar barra de informaci@'on@* -@item nick_page_up -desplazar la lista de nicks una p@'agina hacia arriba@* -@item nick_page_down -desplazar la lista de nicks una p@'agina hacia abajo@* +scroll one page down@* @item nick_beginning -mostrar el principio de la lista de nicks@* +display beginning of nicklist@* @item nick_end -mostrar el final de la lista de nicks@* -@item refresh -recargar la pantalla@* +display end of nicklist@* +@item nick_page_up +scroll nicklist one page up@* +@item nick_page_down +scroll nicklist one page down@* @item jump_smart -saltar al bfer con actividad@* +jump to buffer with activity@* @item jump_dcc -saltar al bfer DCC@* +jump to DCC buffer@* @item jump_last_buffer jump to last buffer@* @item jump_server -saltar al bfer servidor@* +jump to server buffer@* @item jump_next_server -saltar al servidor siguiente@* +jump to next server@* +@item switch_server +switch active server on servers buffer@* +@item scroll_previous_highlight +scroll to previous highlight in buffer@* +@item scroll_next_highlight +scroll to next highlight in buffer@* +@item scroll_unread +scroll to first unread line in buffer@* @item hotlist_clear -limpiar hotlist@* +clear hotlist@* +@item infobar_clear +clear infobar@* +@item refresh +refresh screen@* @item grab_key grab a key@* @end table @@ -1923,8 +1931,9 @@ WeeChat neither other plugins @item @command{t_plugin_handler *cmd_handler_add (t_weechat_plugin *plugin, char *command, char *description, char *arguments, -char *arguments_description, t_plugin_handler_func *handler_func, -char *handler_args, void *handler_pointer)}@* +char *arguments_description, char *completion_template, +t_plugin_handler_func *handler_func, char *handler_args, +void *handler_pointer)}@* @* Add a WeeChat command handler, called when user uses command (for example /command).@* @@ -1939,6 +1948,32 @@ command) (displayed by /help command) @item @option{arguments_description}: long description of command arguments (displayed by /help command) +@item @option{completion_template}: template for completion, like +@code{abc|%w def|%i} which means ``abc'' or a WeeChat command +for first argument, and ``def'' or IRC command for second.@* +Following codes can be used: +@itemize @minus +@item @code{%-}: no completion for argument +@item @code{%a}: alias +@item @code{%A}: alias and commands (WeeChat, IRC and plugins) +@item @code{%c}: current channel +@item @code{%C}: channels of current server +@item @code{%f}: filename +@item @code{%h}: plugins commands +@item @code{%i}: IRC commands (sent) +@item @code{%I}: IRC commands (received) +@item @code{%k}: keys +@item @code{%n}: nicks of current channel +@item @code{%o}: setup option +@item @code{%p}: default ``part'' message +@item @code{%q}: default ``quit'' message +@item @code{%s}: current server name +@item @code{%S}: all servers names +@item @code{%t}: topic of current channel +@item @code{%v}: setup option value +@item @code{%w}: WeeChat commands +@item @code{%y}: default ``away'' message +@end itemize @item @option{handler_func}: function called when comand is executed @item @option{handler_args}: arguments given to function when called @item @option{handler_pointer}: pointer given to function when called @@ -2271,6 +2306,7 @@ int weechat_plugin_init (t_weechat_plugin *plugin) "Display two times a message", "msg", "msg: message", + NULL, &toto_cmd_double, NULL, NULL); return PLUGIN_RC_OK; @@ -2465,9 +2501,11 @@ WeeChat neither other plugins @item Perl: @command{weechat::add_command_handler ( name, function, -[description, arguments, arguments_description] );}@* +[description, arguments, arguments_description, +completion_template] );}@* Python: @command{weechat.add_command_handler ( name, function, -[description, arguments, arguments_description] )}@* +[description, arguments, arguments_description, +completion_template] )}@* @* Create new WeeChat command, linked with script function.@* Function will be called when user will launch command with @kbd{/name}.@* @@ -2485,6 +2523,32 @@ command) (displayed by /help command) @item @option{arguments_description}: long description of command arguments (displayed by /help command) +@item @option{completion_template}: template for completion, like +@code{abc|%w def|%i} which means ``abc'' or a WeeChat command +for first argument, and ``def'' or IRC command for second.@* +Following codes can be used: +@itemize @minus +@item @code{%-}: no completion for argument +@item @code{%a}: alias +@item @code{%A}: alias and commands (WeeChat, IRC and plugins) +@item @code{%c}: current channel +@item @code{%C}: channels of current server +@item @code{%f}: filename +@item @code{%h}: plugins commands +@item @code{%i}: IRC commands (sent) +@item @code{%I}: IRC commands (received) +@item @code{%k}: keys +@item @code{%n}: nicks of current channel +@item @code{%o}: setup option +@item @code{%p}: default ``part'' message +@item @code{%q}: default ``quit'' message +@item @code{%s}: current server name +@item @code{%S}: all servers names +@item @code{%t}: topic of current channel +@item @code{%v}: setup option value +@item @code{%w}: WeeChat commands +@item @code{%y}: default ``away'' message +@end itemize @end itemize @* @emph{Return value:}@* diff --git a/doc/weechat_doc_fr.texi b/doc/weechat_doc_fr.texi index 49f43ec54..d3bb1e5f1 100644 --- a/doc/weechat_doc_fr.texi +++ b/doc/weechat_doc_fr.texi @@ -36,7 +36,7 @@ @title WeeChat - Guide utilisateur @subtitle Client IRC rapide, l@'eger et extensible -@subtitle Documentation pour WeeChat v0.1.7-cvs - 15 decembre 2005 +@subtitle Documentation pour WeeChat v0.1.7-cvs - 16 decembre 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -1526,18 +1526,14 @@ appeler la commande suivante dans l'historique global@* faire d@'efiler d'une page vers le haut@* @item page_down faire d@'efiler d'une page vers le bas@* -@item infobar_clear -effacer la barre d'infos@* -@item nick_page_up -faire d@'efiler la liste des pseudos d'une page vers le haut@* -@item nick_page_down -faire d@'efiler la liste des pseudos d'une page vers le bas@* @item nick_beginning afficher le d@'ebut de la liste des pseudos@* @item nick_end afficher la fin de la liste des pseudos@* -@item refresh -rafraichir l'@'ecran@* +@item nick_page_up +faire d@'efiler la liste des pseudos d'une page vers le haut@* +@item nick_page_down +faire d@'efiler la liste des pseudos d'une page vers le bas@* @item jump_smart sauter au tampon avec de l'activit@'e@* @item jump_dcc @@ -1548,8 +1544,20 @@ sauter au dernier tampon@* sauter au tampon du serveur@* @item jump_next_server sauter au prochain serveur@* +@item switch_server +bascule de serveur actif sur le tampon des serveurs@* +@item scroll_previous_highlight +scroller jusqu'au highlight pr@'ec@'edent du tampon@* +@item scroll_next_highlight +scroller jusqu'au highlight suivant du tampon@* +@item scroll_unread +scroller jusqu'@`a la premi@`ere ligne non lue du tampon@* @item hotlist_clear effacer la liste d'activit@'e@* +@item infobar_clear +effacer la barre d'infos@* +@item refresh +rafraichir l'@'ecran@* @item grab_key capturer une touche@* @end table @@ -1938,8 +1946,9 @@ WeeChat ni @`a d'autres extensions @item @command{t_plugin_handler *cmd_handler_add (t_weechat_plugin *plugin, char *command, char *description, char *arguments, -char *arguments_description, t_plugin_handler_func *handler_func, -char *handler_args, void *handler_pointer)}@* +char *arguments_description, char *completion_template, +t_plugin_handler_func *handler_func, char *handler_args, +void *handler_pointer)}@* @* Ajoute un gestionnaire de commande WeeChat, appel@'e d@`es que l'utilisateur utilise la commande (par exemple /commande).@* @@ -1954,6 +1963,33 @@ l'utilisateur utilise la commande (par exemple /commande).@* commande (affich@'ee par /help commande) @item @option{arguments_description}: longue description des param@`etres de la commande (affich@'ee par /help commande) +@item @option{completion_template}: mod@`ele pour la compl@'etion, sous +la forme @code{abc|%w def|%i} qui signifie ``abc'' ou une comande +WeeChat pour le premier param@`etre, et ``def'' ou une commande IRC +pour le deuxi@`eme.@* +Les codes suivants peuvent @^etre utilis@'es : +@itemize @minus +@item @code{%-}: aucune compl@'etion pour le param@`etre +@item @code{%a}: alias +@item @code{%A}: alias et commandes (WeeChat, IRC et extensions) +@item @code{%c}: canal courant +@item @code{%C}: canaux du serveur courant +@item @code{%f}: nom de fichier +@item @code{%h}: commandes d@'efinies par des extensions +@item @code{%i}: commandes IRC (envoy@'ees) +@item @code{%I}: commandes IRC (re@,cues) +@item @code{%k}: touches +@item @code{%n}: pseudos du canal courant +@item @code{%o}: option de configuration +@item @code{%p}: message de ``part'' par d@'efaut +@item @code{%q}: message de ``quit'' par d@'efaut +@item @code{%s}: nom du serveur courant +@item @code{%S}: noms de tous les serveurs +@item @code{%t}: titre du canal courant +@item @code{%v}: valeur d'une option de configuration +@item @code{%w}: commandes WeeChat +@item @code{%y}: message d'absence (``away'') par d@'efaut +@end itemize @item @option{handler_func}: fonction appel@'ee lorsque la commande est ex@'ecut@'ee @item @option{handler_args}: param@`etres pass@'es @`a la fonction @@ -2303,6 +2339,7 @@ int weechat_plugin_init (t_weechat_plugin *plugin) "Affiche deux fois un message", "msg", "msg: message a afficher deux fois", + NULL, &toto_cmd_double, NULL, NULL); return PLUGIN_RC_OK; @@ -2498,9 +2535,11 @@ transmis @`a d'autres extensions @item Perl: @command{weechat::add_command_handler ( nom, fonction, -[description, arguments, arguments_description] );}@* +[description, arguments, arguments_description, +completion_template] );}@* Python: @command{weechat.add_command_handler ( nom, fonction, -[description, arguments, arguments_description] )}@* +[description, arguments, arguments_description, +completion_template] )}@* @* Cr@'e@'e une nouvelle commande WeeChat, associ@'ee @`a une fonction.@* La fonction sera appel@'ee lorsque l'utilisateur lancera la commande @@ -2520,6 +2559,33 @@ script sera charg@'e. commande (affich@'ee par /help commande) @item @option{arguments_description}: longue description des param@`etres de la commande (affich@'ee par /help commande) +@item @option{completion_template}: mod@`ele pour la compl@'etion, sous +la forme @code{abc|%w def|%i} qui signifie ``abc'' ou une comande +WeeChat pour le premier param@`etre, et ``def'' ou une commande IRC +pour le deuxi@`eme.@* +Les codes suivants peuvent @^etre utilis@'es : +@itemize @minus +@item @code{%-}: aucune compl@'etion pour le param@`etre +@item @code{%a}: alias +@item @code{%A}: alias et commandes (WeeChat, IRC et extensions) +@item @code{%c}: canal courant +@item @code{%C}: canaux du serveur courant +@item @code{%f}: nom de fichier +@item @code{%h}: commandes d@'efinies par des extensions +@item @code{%i}: commandes IRC (envoy@'ees) +@item @code{%I}: commandes IRC (re@,cues) +@item @code{%k}: touches +@item @code{%n}: pseudos du canal courant +@item @code{%o}: option de configuration +@item @code{%p}: message de ``part'' par d@'efaut +@item @code{%q}: message de ``quit'' par d@'efaut +@item @code{%s}: nom du serveur courant +@item @code{%S}: noms de tous les serveurs +@item @code{%t}: titre du canal courant +@item @code{%v}: valeur d'une option de configuration +@item @code{%w}: commandes WeeChat +@item @code{%y}: message d'absence (``away'') par d@'efaut +@end itemize @end itemize @* @emph{Valeur renvoy@'ee :}@* diff --git a/doc/weechat_doc_pt.texi b/doc/weechat_doc_pt.texi index 7262802eb..f2492f758 100644 --- a/doc/weechat_doc_pt.texi +++ b/doc/weechat_doc_pt.texi @@ -36,7 +36,7 @@ @title WeeChat - Guia do Utilizador @subtitle Cliente de IRC rapido, leve e extencivel -@subtitle Documenta@,{c}@~ao do WeeChat v0.1.7-cvs - 15 de dezembro de 2005 +@subtitle Documenta@,{c}@~ao do WeeChat v0.1.7-cvs - 16 de dezembro de 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -1523,18 +1523,14 @@ call next command in global history@* scroll one page up@* @item page_down scroll one page down@* -@item infobar_clear -clear infobar@* -@item nick_page_up -scroll nicklist one page up@* -@item nick_page_down -scroll nicklist one page down@* @item nick_beginning display beginning of nicklist@* @item nick_end display end of nicklist@* -@item refresh -refresh screen@* +@item nick_page_up +scroll nicklist one page up@* +@item nick_page_down +scroll nicklist one page down@* @item jump_smart jump to buffer with activity@* @item jump_dcc @@ -1545,8 +1541,20 @@ jump to last buffer@* jump to server buffer@* @item jump_next_server jump to next server@* +@item switch_server +switch active server on servers buffer@* +@item scroll_previous_highlight +scroll to previous highlight in buffer@* +@item scroll_next_highlight +scroll to next highlight in buffer@* +@item scroll_unread +scroll to first unread line in buffer@* @item hotlist_clear clear hotlist@* +@item infobar_clear +clear infobar@* +@item refresh +refresh screen@* @item grab_key grab a key@* @end table @@ -1918,8 +1926,9 @@ WeeChat neither other plugins @item @command{t_plugin_handler *cmd_handler_add (t_weechat_plugin *plugin, char *command, char *description, char *arguments, -char *arguments_description, t_plugin_handler_func *handler_func, -char *handler_args, void *handler_pointer)}@* +char *arguments_description, char *completion_template, +t_plugin_handler_func *handler_func, char *handler_args, +void *handler_pointer)}@* @* Add a WeeChat command handler, called when user uses command (for example /command).@* @@ -1934,6 +1943,32 @@ command) (displayed by /help command) @item @option{arguments_description}: long description of command arguments (displayed by /help command) +@item @option{completion_template}: template for completion, like +@code{abc|%w def|%i} which means ``abc'' or a WeeChat command +for first argument, and ``def'' or IRC command for second.@* +Following codes can be used: +@itemize @minus +@item @code{%-}: no completion for argument +@item @code{%a}: alias +@item @code{%A}: alias and commands (WeeChat, IRC and plugins) +@item @code{%c}: current channel +@item @code{%C}: channels of current server +@item @code{%f}: filename +@item @code{%h}: plugins commands +@item @code{%i}: IRC commands (sent) +@item @code{%I}: IRC commands (received) +@item @code{%k}: keys +@item @code{%n}: nicks of current channel +@item @code{%o}: setup option +@item @code{%p}: default ``part'' message +@item @code{%q}: default ``quit'' message +@item @code{%s}: current server name +@item @code{%S}: all servers name +@item @code{%t}: topic of current channel +@item @code{%v}: setup option value +@item @code{%w}: WeeChat commands +@item @code{%y}: default ``away'' message +@end itemize @item @option{handler_func}: function called when comand is executed @item @option{handler_args}: arguments given to function when called @item @option{handler_pointer}: pointer given to function when called @@ -2266,6 +2301,7 @@ int weechat_plugin_init (t_weechat_plugin *plugin) "Display two times a message", "msg", "msg: message", + NULL, &toto_cmd_double, NULL, NULL); return PLUGIN_RC_OK; @@ -2460,9 +2496,11 @@ WeeChat neither other plugins @item Perl: @command{weechat::add_command_handler ( name, function, -[description, arguments, arguments_description] );}@* +[description, arguments, arguments_description, +completion_template] );}@* Python: @command{weechat.add_command_handler ( name, function, -[description, arguments, arguments_description] )}@* +[description, arguments, arguments_description, +completion_template] )}@* @* Create new WeeChat command, linked with script function.@* Function will be called when user will launch command with @kbd{/name}.@* @@ -2480,6 +2518,32 @@ command) (displayed by /help command) @item @option{arguments_description}: long description of command arguments (displayed by /help command) +@item @option{completion_template}: template for completion, like +@code{abc|%w def|%i} which means ``abc'' or a WeeChat command +for first argument, and ``def'' or IRC command for second.@* +Following codes can be used: +@itemize @minus +@item @code{%-}: no completion for argument +@item @code{%a}: alias +@item @code{%A}: alias and commands (WeeChat, IRC and plugins) +@item @code{%c}: current channel +@item @code{%C}: channels of current server +@item @code{%f}: filename +@item @code{%h}: plugins commands +@item @code{%i}: IRC commands (sent) +@item @code{%I}: IRC commands (received) +@item @code{%k}: keys +@item @code{%n}: nicks of current channel +@item @code{%o}: setup option +@item @code{%p}: default ``part'' message +@item @code{%q}: default ``quit'' message +@item @code{%s}: current server name +@item @code{%S}: all servers names +@item @code{%t}: topic of current channel +@item @code{%v}: setup option value +@item @code{%w}: WeeChat commands +@item @code{%y}: default ``away'' message +@end itemize @end itemize @* @emph{Return value:}@* @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.7-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-12-12 12:05+0100\n" +"POT-Creation-Date: 2005-12-16 14:01+0100\n" "PO-Revision-Date: 2005-12-11 14:53+0100\n" "Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -177,12 +177,12 @@ msgstr "najít informace o administrátorovi serveru" #: src/irc/irc-commands.c:35 src/irc/irc-commands.c:85 #: src/irc/irc-commands.c:162 src/irc/irc-commands.c:253 -#: src/irc/irc-commands.c:261 src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:262 src/irc/irc-commands.c:275 msgid "[target]" msgstr "[cíl]" -#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:261 -#: src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:276 msgid "target: server" msgstr "cíl: server" @@ -202,7 +202,7 @@ msgstr "zpráva: zpráva, která se má poslat" msgid "send message to all channels of all connected servers" msgstr "poslat zprávu na všechny kanály všech připojených serverů" -#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:288 msgid "text" msgstr "text" @@ -285,7 +285,7 @@ msgstr "odebrat status operátora polovičního kanálu z přezdívky (přezdív #: src/irc/irc-commands.c:69 src/irc/irc-commands.c:72 #: src/irc/irc-commands.c:75 src/irc/irc-commands.c:82 -#: src/irc/irc-commands.c:280 +#: src/irc/irc-commands.c:284 msgid "[nickname [nickname]]" msgstr "[přezdívka [přezdívka]]" @@ -301,7 +301,7 @@ msgstr "odebrat hlas z přezdívky (přezdívek)" msgid "shutdown the server" msgstr "vypnout server" -#: src/irc/irc-commands.c:80 +#: src/irc/irc-commands.c:79 msgid "error received from IRC server" msgstr "přijata chyba z IRC serveru" @@ -337,11 +337,11 @@ msgstr "" msgid "check if a nickname is currently on IRC" msgstr "zkontrolovat jestli je přezdívka momentálne na IRC" -#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:271 msgid "nickname [nickname ...]" msgstr "přezdívka [přezdívka ...]" -#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:272 msgid "nickname: nickname" msgstr "přezdívka: přezdívka" @@ -546,19 +546,19 @@ msgstr "vypsat přezdívky na kanále" msgid "[channel[,channel]]" msgstr "[kanál[,]kanál]" -#: src/irc/irc-commands.c:171 +#: src/irc/irc-commands.c:172 msgid "channel: channel name" msgstr "kanál: jméno kanálu" -#: src/irc/irc-commands.c:173 +#: src/irc/irc-commands.c:174 msgid "change current nickname" msgstr "změnit aktuální přezdívku" -#: src/irc/irc-commands.c:174 +#: src/irc/irc-commands.c:175 msgid "[-all] nickname" msgstr "[-all] přezdívka" -#: src/irc/irc-commands.c:175 +#: src/irc/irc-commands.c:176 msgid "" "-all: set new nickname for all connected servers\n" "nickname: new nickname" @@ -566,15 +566,15 @@ msgstr "" "-all: nastavit novou přezdívku přo všechny připojené servery\n" "přezdívka: nová přezdívka" -#: src/irc/irc-commands.c:178 +#: src/irc/irc-commands.c:179 msgid "send notice message to user" msgstr "poslat notifikační zprávu uživateli" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:180 msgid "nickname text" msgstr "přezdívka text" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:181 msgid "" "nickname: user to send notice to\n" "text: text to send" @@ -582,35 +582,35 @@ msgstr "" "přezdívka: uživatel, kterému poslat notifikaci\n" "text: text, který poslat" -#: src/irc/irc-commands.c:181 +#: src/irc/irc-commands.c:183 msgid "gives channel operator status to nickname(s)" msgstr "dát status operátora kanálu přezdívce (přezdívkám)" -#: src/irc/irc-commands.c:182 +#: src/irc/irc-commands.c:184 msgid "nickname [nickname]" msgstr "přezdívka [přezdívka]" -#: src/irc/irc-commands.c:184 +#: src/irc/irc-commands.c:186 msgid "get operator privileges" msgstr "dát práva operátora" -#: src/irc/irc-commands.c:185 +#: src/irc/irc-commands.c:187 msgid "user password" msgstr "uživatel heslo" -#: src/irc/irc-commands.c:186 +#: src/irc/irc-commands.c:188 msgid "user/password: used to get privileges on current IRC server" msgstr "uživatel/heslo: použité pro získání práv na aktuálním IRC serveru" -#: src/irc/irc-commands.c:188 +#: src/irc/irc-commands.c:190 msgid "leave a channel" msgstr "opustit kanál" -#: src/irc/irc-commands.c:189 +#: src/irc/irc-commands.c:191 msgid "[channel[,channel]] [part_message]" msgstr "[kanál[,kanál]] [zpráva_části]" -#: src/irc/irc-commands.c:190 +#: src/irc/irc-commands.c:192 msgid "" "channel: channel name to leave\n" "part_message: part message (displayed to other users)" @@ -618,15 +618,15 @@ msgstr "" "kanál: kanál, který opustit\n" "zpráva_části: zpráva při opuštění (zobrazí se ostatním uživatelům)" -#: src/irc/irc-commands.c:193 +#: src/irc/irc-commands.c:195 msgid "ping server" msgstr "pingnout server" -#: src/irc/irc-commands.c:194 +#: src/irc/irc-commands.c:196 msgid "server1 [server2]" msgstr "server1 [server2]" -#: src/irc/irc-commands.c:195 +#: src/irc/irc-commands.c:197 msgid "" "server1: server to ping\n" "server2: forward ping to this server" @@ -634,15 +634,15 @@ msgstr "" "server1: server, který pingnout\n" "server2: poslat ping na tento server" -#: src/irc/irc-commands.c:197 +#: src/irc/irc-commands.c:199 msgid "answer to a ping message" msgstr "odpovědět na ping zprávu" -#: src/irc/irc-commands.c:198 +#: src/irc/irc-commands.c:200 msgid "daemon [daemon2]" msgstr "démon [démon2]" -#: src/irc/irc-commands.c:199 +#: src/irc/irc-commands.c:201 msgid "" "daemon: daemon who has responded to Ping message\n" "daemon2: forward message to this daemon" @@ -650,19 +650,19 @@ msgstr "" "démon: démon, který odpověděl na ping zprávu\n" "démon2: poslat zprávu tomuto démonovi" -#: src/irc/irc-commands.c:202 +#: src/irc/irc-commands.c:204 msgid "message received" msgstr "zpráva přijata" -#: src/irc/irc-commands.c:205 +#: src/irc/irc-commands.c:206 msgid "send a private message to a nick" msgstr "poslat soukromou zprávu přezdívce" -#: src/irc/irc-commands.c:206 +#: src/irc/irc-commands.c:207 msgid "nickname [text]" msgstr "přezdívka [text]" -#: src/irc/irc-commands.c:207 +#: src/irc/irc-commands.c:208 msgid "" "nickname: nickname for private conversation\n" "text: text to send" @@ -670,32 +670,32 @@ msgstr "" "přezdívka: přezdívka pro soukromé spojení\n" "text: text, který poslat" -#: src/irc/irc-commands.c:210 +#: src/irc/irc-commands.c:211 msgid "close all connections & quit" msgstr "zavřít všechny spojení a ukončit" -#: src/irc/irc-commands.c:211 +#: src/irc/irc-commands.c:212 msgid "[quit_message]" msgstr "[ukončovací_zpráva]" -#: src/irc/irc-commands.c:212 +#: src/irc/irc-commands.c:213 msgid "quit_message: quit message (displayed to other users)" msgstr "" "ukončovací_zpráva: zpráva při ukončení (zobrazuje se ostatním uživatelům)" -#: src/irc/irc-commands.c:214 +#: src/irc/irc-commands.c:215 msgid "send raw data to server without parsing" msgstr "poslat čistá data na server bez pársování" -#: src/irc/irc-commands.c:215 +#: src/irc/irc-commands.c:216 msgid "data" msgstr "data" -#: src/irc/irc-commands.c:216 +#: src/irc/irc-commands.c:217 msgid "data: raw data to send" msgstr "data: čístá data pro server" -#: src/irc/irc-commands.c:218 +#: src/irc/irc-commands.c:219 msgid "tell the server to reload its config file" msgstr "říct serveru, aby znovu načetl svůj konfigurační soubor" @@ -703,15 +703,15 @@ msgstr "říct serveru, aby znovu načetl svůj konfigurační soubor" msgid "tell the server to restart itself" msgstr "říct serveru, aby se restartoval" -#: src/irc/irc-commands.c:224 +#: src/irc/irc-commands.c:223 msgid "register a new service" msgstr "zaregistrovat novou službu" -#: src/irc/irc-commands.c:225 +#: src/irc/irc-commands.c:224 msgid "nickname reserved distribution type reserved info" msgstr "přezdívka reserved distribuce typ reserved info" -#: src/irc/irc-commands.c:226 +#: src/irc/irc-commands.c:225 msgid "" "distribution: visibility of service\n" "type: reserved for future usage" @@ -719,15 +719,15 @@ msgstr "" "distribuce: viditelnost servisu\n" "typ: rezervováné pro příští použití" -#: src/irc/irc-commands.c:229 +#: src/irc/irc-commands.c:228 msgid "list services currently connected to the network" msgstr "vypsat služby, které jsou zrovna připojeny k síti" -#: src/irc/irc-commands.c:230 +#: src/irc/irc-commands.c:229 msgid "[mask [type]]" msgstr "[maska [typ]]" -#: src/irc/irc-commands.c:231 +#: src/irc/irc-commands.c:230 msgid "" "mask: list only services matching this mask\n" "type: list only services of this type" @@ -735,15 +735,15 @@ msgstr "" "maska: vypsat pouze služby odpovídající této masce\n" "typ: vypsat pouze služby tohoto typu" -#: src/irc/irc-commands.c:234 +#: src/irc/irc-commands.c:233 msgid "deliver a message to a service" msgstr "doručit zprávu službě" -#: src/irc/irc-commands.c:235 +#: src/irc/irc-commands.c:234 msgid "service text" msgstr "služba text" -#: src/irc/irc-commands.c:236 +#: src/irc/irc-commands.c:235 msgid "" "service: name of service\n" "text: text to send" @@ -751,15 +751,15 @@ msgstr "" "služba: jméno služby\n" "text: text, který se má poslat" -#: src/irc/irc-commands.c:238 +#: src/irc/irc-commands.c:237 msgid "disconnect server links" msgstr "odpojit spojení serveru" -#: src/irc/irc-commands.c:239 +#: src/irc/irc-commands.c:238 msgid "server comment" msgstr "server komentář" -#: src/irc/irc-commands.c:240 +#: src/irc/irc-commands.c:239 msgid "" "server: server name\n" "comment: comment for quit" @@ -767,15 +767,15 @@ msgstr "" "server: jméno serveru\n" "komentář: komentář pro ukončení" -#: src/irc/irc-commands.c:242 +#: src/irc/irc-commands.c:241 msgid "query statistics about server" msgstr "dotázat se na statistiku o serveru" -#: src/irc/irc-commands.c:243 +#: src/irc/irc-commands.c:242 msgid "[query [server]]" msgstr "[dotaz [server]]" -#: src/irc/irc-commands.c:244 +#: src/irc/irc-commands.c:243 msgid "" "query: c/h/i/k/l/m/o/y/u (see RFC1459)\n" "server: server name" @@ -809,19 +809,19 @@ msgstr "" msgid "query local time from server" msgstr "získat lokální čas ze serveru" -#: src/irc/irc-commands.c:253 +#: src/irc/irc-commands.c:254 msgid "target: query time from specified server" msgstr "cíl: získat čas z uvedeného serveru" -#: src/irc/irc-commands.c:255 +#: src/irc/irc-commands.c:256 msgid "get/set channel topic" msgstr "získat/nastavit téma kanálu" -#: src/irc/irc-commands.c:256 +#: src/irc/irc-commands.c:257 msgid "[channel] [topic]" msgstr "[kanál] [téma]" -#: src/irc/irc-commands.c:257 +#: src/irc/irc-commands.c:258 msgid "" "channel: channel name\n" "topic: new topic for channel (if topic is \"-delete\" then topic is deleted)" @@ -829,19 +829,19 @@ msgstr "" "kanál: jméno kanálu\n" "téma: nové téma pro kanál (pokud je téma \"-delete\" je téma vymazáno)" -#: src/irc/irc-commands.c:260 +#: src/irc/irc-commands.c:261 msgid "find the route to specific server" msgstr "najít cestu k určenému serveru" -#: src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:265 msgid "unbans nicks or hosts" msgstr "zruší zakázání pro přezdívku nebo hosta" -#: src/irc/irc-commands.c:264 +#: src/irc/irc-commands.c:266 msgid "[channel] nickname [nickname ...]" msgstr "[kanál] přezdívka [přezdívka ...]" -#: src/irc/irc-commands.c:265 +#: src/irc/irc-commands.c:267 msgid "" "channel: channel for unban\n" "nickname: user or host to unban" @@ -849,23 +849,23 @@ msgstr "" "kanál: kanál pro unban\n" "přezdívka: uživatel nebo host pro unban" -#: src/irc/irc-commands.c:268 +#: src/irc/irc-commands.c:270 msgid "return a list of information about nicknames" msgstr "vrátí seznam informací o přezdívce" -#: src/irc/irc-commands.c:271 +#: src/irc/irc-commands.c:274 msgid "list of users logged into the server" msgstr "seznam uživatelů přihlášených k serveru" -#: src/irc/irc-commands.c:274 +#: src/irc/irc-commands.c:278 msgid "gives the version info of nick or server (current or specified)" msgstr "dát informace o verzi přezdívky nebo serveru (aktuální nebo určené)" -#: src/irc/irc-commands.c:275 +#: src/irc/irc-commands.c:279 msgid "[server | nickname]" msgstr "[server | přezdívka]" -#: src/irc/irc-commands.c:276 +#: src/irc/irc-commands.c:280 msgid "" "server: server name\n" "nickname: nickname" @@ -873,11 +873,11 @@ msgstr "" "server: jméno serveru\n" "přezdívka: přezdívka" -#: src/irc/irc-commands.c:279 +#: src/irc/irc-commands.c:283 msgid "gives voice to nickname(s)" msgstr "dá hlas přezdívce (přezdívkám)" -#: src/irc/irc-commands.c:282 +#: src/irc/irc-commands.c:286 msgid "" "send a message to all currently connected users who have set the 'w' user " "mode for themselves" @@ -885,19 +885,19 @@ msgstr "" "poslat zprávu všem aktuálně připojeným uživatelům, kteří mají u sebe " "nastaven uživatelský mód 'w'" -#: src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:289 msgid "text to send" msgstr "text pro poslání" -#: src/irc/irc-commands.c:286 +#: src/irc/irc-commands.c:291 msgid "generate a query which returns a list of information" msgstr "vygenerovat dotaz, který vrátí seznam informací" -#: src/irc/irc-commands.c:287 +#: src/irc/irc-commands.c:292 msgid "[mask [\"o\"]]" msgstr "[maska [\"o\"]]" -#: src/irc/irc-commands.c:288 +#: src/irc/irc-commands.c:293 msgid "" "mask: only information which match this mask\n" "o: only operators are returned according to the mask supplied" @@ -905,15 +905,15 @@ msgstr "" "maska: pouze informace, které odpovídají zadané masce\n" "o: jsou vráceni pouze operátoři, kteří odpovídají masce" -#: src/irc/irc-commands.c:291 +#: src/irc/irc-commands.c:296 msgid "query information about user(s)" msgstr "dotázat se na informace o uživateli (uživatelích)" -#: src/irc/irc-commands.c:292 +#: src/irc/irc-commands.c:297 msgid "[server] nickname[,nickname]" msgstr "[server] přezdívka[,přezdívka]" -#: src/irc/irc-commands.c:293 +#: src/irc/irc-commands.c:298 msgid "" "server: server name\n" "nickname: nickname (may be a mask)" @@ -921,15 +921,15 @@ msgstr "" "server: jméno serveru\n" "přezdívka: přezdívka (může být maska)" -#: src/irc/irc-commands.c:296 +#: src/irc/irc-commands.c:301 msgid "ask for information about a nickname which no longer exists" msgstr "dotázat se na informace o přezdívce, která již neexistuje" -#: src/irc/irc-commands.c:297 +#: src/irc/irc-commands.c:302 msgid "nickname [,nickname [,nickname ...]] [count [target]]" msgstr "přezdívka [,přezdívka [,přezdívka ...]] [počet [cíl]]" -#: src/irc/irc-commands.c:298 +#: src/irc/irc-commands.c:303 msgid "" "nickname: nickname to search\n" "count: number of replies to return (full search if negative number)\n" @@ -939,121 +939,121 @@ msgstr "" "počet: počet odpovědí, které vrátit (úplné vyhledávání je negativní číslo)\n" "cíl: odpověď musí odpovídat této masce" -#: src/irc/irc-commands.c:302 src/irc/irc-commands.c:303 -#: src/irc/irc-commands.c:304 src/irc/irc-commands.c:305 -#: src/irc/irc-commands.c:306 src/irc/irc-commands.c:307 -#: src/irc/irc-commands.c:308 src/irc/irc-commands.c:309 -#: src/irc/irc-commands.c:310 src/irc/irc-commands.c:311 -#: src/irc/irc-commands.c:313 src/irc/irc-commands.c:314 -#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:316 -#: src/irc/irc-commands.c:317 src/irc/irc-commands.c:318 -#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:320 -#: src/irc/irc-commands.c:321 src/irc/irc-commands.c:322 -#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:324 -#: src/irc/irc-commands.c:325 src/irc/irc-commands.c:326 -#: src/irc/irc-commands.c:327 src/irc/irc-commands.c:328 -#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:330 -#: src/irc/irc-commands.c:331 src/irc/irc-commands.c:332 -#: src/irc/irc-commands.c:380 src/irc/irc-commands.c:381 -#: src/irc/irc-commands.c:382 src/irc/irc-commands.c:383 -#: src/irc/irc-commands.c:384 src/irc/irc-commands.c:385 -#: src/irc/irc-commands.c:491 +#: src/irc/irc-commands.c:307 src/irc/irc-commands.c:309 +#: src/irc/irc-commands.c:311 src/irc/irc-commands.c:313 +#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:317 +#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:321 +#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:325 +#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:331 +#: src/irc/irc-commands.c:333 src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:337 src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:341 src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:345 src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:349 src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:353 src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:357 src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:361 src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:365 src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:449 src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:453 src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:457 src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:569 msgid "a server message" msgstr "zpráva serveru" -#: src/irc/irc-commands.c:312 +#: src/irc/irc-commands.c:327 msgid "user mode string" msgstr "řetězec uživatelského módu" -#: src/irc/irc-commands.c:333 +#: src/irc/irc-commands.c:369 msgid "away message" msgstr "zpráva nepřítomnosti" -#: src/irc/irc-commands.c:334 +#: src/irc/irc-commands.c:371 msgid "userhost" msgstr "uživatel" -#: src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:373 msgid "ison" msgstr "ison" -#: src/irc/irc-commands.c:336 +#: src/irc/irc-commands.c:375 msgid "unaway" msgstr "zrušit nepřitomnost" -#: src/irc/irc-commands.c:337 +#: src/irc/irc-commands.c:377 msgid "now away" msgstr "nyní nepřítomen" -#: src/irc/irc-commands.c:338 +#: src/irc/irc-commands.c:379 msgid "whois (registered nick)" msgstr "kdo je (registrovaná přezdívka)" -#: src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:381 msgid "whois (user)" msgstr "kdo je (uživatel)" -#: src/irc/irc-commands.c:340 +#: src/irc/irc-commands.c:383 msgid "whois (server)" msgstr "kdo je (server)" -#: src/irc/irc-commands.c:341 +#: src/irc/irc-commands.c:385 msgid "whois (operator)" msgstr "kdo je (operator)" -#: src/irc/irc-commands.c:342 +#: src/irc/irc-commands.c:387 msgid "whowas" msgstr "kdo byl" -#: src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:389 msgid "end of /who list" msgstr "konec /who seznamu" -#: src/irc/irc-commands.c:344 +#: src/irc/irc-commands.c:391 msgid "whois (idle)" msgstr "kdo je (nečinný)" -#: src/irc/irc-commands.c:345 +#: src/irc/irc-commands.c:393 msgid "whois (end)" msgstr "kdo je (konec)" -#: src/irc/irc-commands.c:346 +#: src/irc/irc-commands.c:395 msgid "whois (channels)" msgstr "kdo je (kanály)" -#: src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:397 msgid "whois (identified user)" msgstr "kdo je (identifikovaný uživatel)" -#: src/irc/irc-commands.c:348 +#: src/irc/irc-commands.c:399 msgid "/list start" msgstr "/list začátek" -#: src/irc/irc-commands.c:349 +#: src/irc/irc-commands.c:401 msgid "channel (for /list)" msgstr "kanál (pro /list)" -#: src/irc/irc-commands.c:350 +#: src/irc/irc-commands.c:403 msgid "/list end" msgstr "/list konec" -#: src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:405 msgid "channel mode" msgstr "mód kanálu" -#: src/irc/irc-commands.c:353 +#: src/irc/irc-commands.c:409 msgid "no topic for channel" msgstr "na kanálu není nastaveno téma" -#: src/irc/irc-commands.c:354 +#: src/irc/irc-commands.c:411 msgid "topic of channel" msgstr "téma kanálu" -#: src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:412 msgid "channel :topic" msgstr "kanál :téma" -#: src/irc/irc-commands.c:356 +#: src/irc/irc-commands.c:413 msgid "" "channel: name of channel\n" "topic: topic of the channel" @@ -1061,47 +1061,47 @@ msgstr "" "kanál: jméno kanálu\n" "téma: téma kanálu" -#: src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:416 msgid "infos about topic (nick & date changed)" msgstr "informace o tématu (uživatel a datum změnění)" -#: src/irc/irc-commands.c:362 +#: src/irc/irc-commands.c:418 msgid "inviting" msgstr "pozvání" -#: src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:420 msgid "channel reop" msgstr "reop kanálu" -#: src/irc/irc-commands.c:364 +#: src/irc/irc-commands.c:422 msgid "end of channel reop list" msgstr "konec seznamu lidí při opnutých při reopu kanálu" -#: src/irc/irc-commands.c:365 +#: src/irc/irc-commands.c:424 msgid "channel exception list" msgstr "seznam vyjímek kanálu" -#: src/irc/irc-commands.c:366 +#: src/irc/irc-commands.c:426 msgid "end of channel exception list" msgstr "konec seznamu vyjímek kanálu" -#: src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:428 msgid "server version" msgstr "verze serveru" -#: src/irc/irc-commands.c:368 +#: src/irc/irc-commands.c:430 msgid "who" msgstr "kdo" -#: src/irc/irc-commands.c:369 +#: src/irc/irc-commands.c:432 msgid "list of nicks on channel" msgstr "seznam uživatelů na kanálu" -#: src/irc/irc-commands.c:370 +#: src/irc/irc-commands.c:433 msgid "channel :[[@|+]nick ...]" msgstr "kanál :[[@|+]přezdívka ...]" -#: src/irc/irc-commands.c:371 +#: src/irc/irc-commands.c:434 msgid "" "channel: name of channel\n" "nick: nick on the channel" @@ -1109,243 +1109,243 @@ msgstr "" "kanál: jméno kanálu\n" "přezdívka: přezdívka na kanálu" -#: src/irc/irc-commands.c:374 +#: src/irc/irc-commands.c:437 msgid "links" msgstr "odkazy" -#: src/irc/irc-commands.c:375 +#: src/irc/irc-commands.c:439 msgid "end of /links list" msgstr "konec /links seznamu" -#: src/irc/irc-commands.c:376 +#: src/irc/irc-commands.c:441 msgid "end of /names list" msgstr "konec /names sezanmu" -#: src/irc/irc-commands.c:377 +#: src/irc/irc-commands.c:443 msgid "banlist" msgstr "seznam zakázaných" -#: src/irc/irc-commands.c:378 +#: src/irc/irc-commands.c:445 msgid "end of banlist" msgstr "konec seznamu zakázaných" -#: src/irc/irc-commands.c:379 +#: src/irc/irc-commands.c:447 msgid "end of /whowas list" msgstr "konec /whowas seznamu" -#: src/irc/irc-commands.c:386 +#: src/irc/irc-commands.c:461 msgid "you are now an IRC operator" msgstr "nyní jsi IRC operátor" -#: src/irc/irc-commands.c:387 +#: src/irc/irc-commands.c:463 msgid "rehashing" msgstr "přepočítávám hash" -#: src/irc/irc-commands.c:388 +#: src/irc/irc-commands.c:465 msgid "server local time" msgstr "lokální čas serveru" -#: src/irc/irc-commands.c:389 +#: src/irc/irc-commands.c:467 msgid "no such nick/channel" msgstr "neexistující přezdívka/kanál" -#: src/irc/irc-commands.c:391 +#: src/irc/irc-commands.c:469 msgid "no such server" msgstr "neexistující server" -#: src/irc/irc-commands.c:393 +#: src/irc/irc-commands.c:471 msgid "no such channel" msgstr "neexistující kanál" -#: src/irc/irc-commands.c:395 +#: src/irc/irc-commands.c:473 msgid "cannot send to channel" msgstr "nemohu poslat na kanál" -#: src/irc/irc-commands.c:397 +#: src/irc/irc-commands.c:475 msgid "too many channels" msgstr "příliš mnoho kanálů" -#: src/irc/irc-commands.c:399 src/irc/irc-commands.c:401 +#: src/irc/irc-commands.c:477 src/irc/irc-commands.c:479 msgid "was no such nick" msgstr "byl neznámá přezdívka" -#: src/irc/irc-commands.c:403 +#: src/irc/irc-commands.c:481 msgid "no origin" msgstr "žádný původ" -#: src/irc/irc-commands.c:405 +#: src/irc/irc-commands.c:483 msgid "no services" msgstr "žádné služby" -#: src/irc/irc-commands.c:407 +#: src/irc/irc-commands.c:485 msgid "no recipient" msgstr "žádný příjemce" -#: src/irc/irc-commands.c:409 +#: src/irc/irc-commands.c:487 msgid "no text to send" msgstr "není text k poslání" -#: src/irc/irc-commands.c:411 +#: src/irc/irc-commands.c:489 msgid "no toplevel" msgstr "žádný nejvyšší level" -#: src/irc/irc-commands.c:413 +#: src/irc/irc-commands.c:491 msgid "wilcard in toplevel domain" msgstr "žnačka pro výběr souboru v nejvyšší doméně" -#: src/irc/irc-commands.c:415 +#: src/irc/irc-commands.c:493 msgid "unknown command" msgstr "neznámý přkaz" -#: src/irc/irc-commands.c:417 +#: src/irc/irc-commands.c:495 msgid "MOTD is missing" msgstr "MOTD chybí" -#: src/irc/irc-commands.c:419 +#: src/irc/irc-commands.c:497 msgid "no administrative info" msgstr "žádné administrativní informace" -#: src/irc/irc-commands.c:421 +#: src/irc/irc-commands.c:499 msgid "file error" msgstr "chyba souboru" -#: src/irc/irc-commands.c:423 +#: src/irc/irc-commands.c:501 msgid "no nickname given" msgstr "žádná přezdívka nebyla dána" -#: src/irc/irc-commands.c:425 +#: src/irc/irc-commands.c:503 msgid "erroneous nickname" msgstr "chybová přezdívka" -#: src/irc/irc-commands.c:427 +#: src/irc/irc-commands.c:505 msgid "nickname already in use" msgstr "přezdívka je zrovna používaná" -#: src/irc/irc-commands.c:429 +#: src/irc/irc-commands.c:507 msgid "nickname collision" msgstr "kolize přezdívek" -#: src/irc/irc-commands.c:431 +#: src/irc/irc-commands.c:509 msgid "not authorized to change nickname" msgstr "chybí autorizace pro změnu přezdívky" -#: src/irc/irc-commands.c:433 +#: src/irc/irc-commands.c:511 msgid "user not in channel" msgstr "uživatel není na kanále" -#: src/irc/irc-commands.c:435 +#: src/irc/irc-commands.c:513 msgid "not on channel" msgstr "není na kanále" -#: src/irc/irc-commands.c:437 +#: src/irc/irc-commands.c:515 msgid "user already on channel" msgstr "uživatel již je na kanále" -#: src/irc/irc-commands.c:439 +#: src/irc/irc-commands.c:517 msgid "user not logged in" msgstr "uživatel není přihlášen" -#: src/irc/irc-commands.c:441 +#: src/irc/irc-commands.c:519 msgid "summon has been disabled" msgstr "svolávání bylo zakázáno" -#: src/irc/irc-commands.c:443 +#: src/irc/irc-commands.c:521 msgid "users has been disabled" msgstr "uživatel byl zablokován" -#: src/irc/irc-commands.c:445 +#: src/irc/irc-commands.c:523 msgid "you are not registered" msgstr "nejsi registrován" -#: src/irc/irc-commands.c:447 +#: src/irc/irc-commands.c:525 msgid "not enough parameters" msgstr "nedostatek parametrů" -#: src/irc/irc-commands.c:449 +#: src/irc/irc-commands.c:527 msgid "you may not register" msgstr "nemůžeš se registrovat" -#: src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:529 msgid "your host isn't among the privileged" msgstr "tvůj host není mezi privilegovanými" -#: src/irc/irc-commands.c:453 +#: src/irc/irc-commands.c:531 msgid "password incorrect" msgstr "nezprávné heslo" -#: src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:533 msgid "you are banned from this server" msgstr "dle tohoto serveru jsi zakázaný" -#: src/irc/irc-commands.c:457 +#: src/irc/irc-commands.c:535 msgid "channel key already set" msgstr "klíč kanálu je již nastaven" -#: src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:537 msgid "forwarding to another channel" msgstr "předávám na dalsí kanál" -#: src/irc/irc-commands.c:461 +#: src/irc/irc-commands.c:539 msgid "channel is already full" msgstr "kanál je již plný" -#: src/irc/irc-commands.c:463 +#: src/irc/irc-commands.c:541 msgid "unknown mode char to me" msgstr "neznámý znak módu" -#: src/irc/irc-commands.c:465 +#: src/irc/irc-commands.c:543 msgid "cannot join channel (invite only)" msgstr "nemohu se přidat na kanál (pouze na pozvání)" -#: src/irc/irc-commands.c:467 +#: src/irc/irc-commands.c:545 msgid "cannot join channel (banned from channel)" msgstr "nemohu se přidat na kanál (zakázaný dle kanálu)" -#: src/irc/irc-commands.c:469 +#: src/irc/irc-commands.c:547 msgid "cannot join channel (bad channel key)" msgstr "nemohu se přidat na kanál (špatný klíč kanálu)" -#: src/irc/irc-commands.c:471 +#: src/irc/irc-commands.c:549 msgid "bad channel mask" msgstr "špatná maska kanálu" -#: src/irc/irc-commands.c:473 +#: src/irc/irc-commands.c:551 msgid "channel doesn't support modes" msgstr "kanál nepodporuje módy" -#: src/irc/irc-commands.c:475 +#: src/irc/irc-commands.c:553 msgid "you're not an IRC operator" msgstr "nejsi IRC operátor" -#: src/irc/irc-commands.c:477 +#: src/irc/irc-commands.c:555 msgid "you're not channel operator" msgstr "nejsi operátor kanálu" -#: src/irc/irc-commands.c:479 +#: src/irc/irc-commands.c:557 msgid "you can't kill a server!" msgstr "nemůžeš zabít server!" -#: src/irc/irc-commands.c:481 +#: src/irc/irc-commands.c:559 msgid "your connection is restricted!" msgstr "tvé připojení je omezené" -#: src/irc/irc-commands.c:483 +#: src/irc/irc-commands.c:561 msgid "user is immune from kick/deop" msgstr "uživatel je imunní na kick/deop" -#: src/irc/irc-commands.c:485 +#: src/irc/irc-commands.c:563 msgid "no O-lines for your host" msgstr "žádné O-řádky pro tvůj host" -#: src/irc/irc-commands.c:487 +#: src/irc/irc-commands.c:565 msgid "unknown mode flag" msgstr "neznámá značka módu" -#: src/irc/irc-commands.c:489 +#: src/irc/irc-commands.c:567 msgid "can't change mode for other users" msgstr "nemůžu změnit mód přo ostatní uživatele" -#: src/irc/irc-commands.c:492 +#: src/irc/irc-commands.c:571 msgid "whois (secure connection)" msgstr "whois (zabezpečená část)" @@ -1393,7 +1393,7 @@ msgstr "neznámý" msgid "%s: using local hostname \"%s\"\n" msgstr "%s: používám lokální jméno hosta \"%s\"\n" -#: src/irc/irc-send.c:177 src/common/command.c:814 +#: src/irc/irc-send.c:177 src/common/command.c:816 #, 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" @@ -1409,8 +1409,8 @@ msgstr "%s \"%s\" příkaz může být spuštěn pouze v okně kanálu\n" #: src/irc/irc-send.c:489 src/irc/irc-send.c:501 src/irc/irc-send.c:519 #: src/irc/irc-send.c:1184 src/irc/irc-send.c:1309 src/irc/irc-send.c:1842 -#: src/common/command.c:1605 src/common/command.c:2103 -#: src/common/command.c:2242 +#: src/common/command.c:1607 src/common/command.c:2105 +#: src/common/command.c:2244 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s špatný počet parametrů pro příkaz \"%s\"\n" @@ -1748,11 +1748,11 @@ msgstr "%s%s %s(%s%s@%s%s)%s byl %s\n" msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s nečinný: " -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "days" msgstr "dní" -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "day" msgstr "den" @@ -2123,14 +2123,14 @@ msgstr "" "%s plugin %s: nemůžu přidat obsluhovač pro IRC příkaz \"%s\" (nedostatek " "paměti)\n" -#: src/plugins/plugins.c:248 +#: src/plugins/plugins.c:250 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (already exists)\n" msgstr "" "%s plugin %s: nemůžu přidat obsluhovač pro \"%s\" příkaz (již existuje)\n" -#: src/plugins/plugins.c:285 +#: src/plugins/plugins.c:288 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n" @@ -2138,25 +2138,25 @@ msgstr "" "%s plugin %s: nemůžu přidat obsluhovač pro \"%s\" příkaz (nedostatek " "paměti)\n" -#: src/plugins/plugins.c:532 +#: src/plugins/plugins.c:535 #, 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:543 +#: src/plugins/plugins.c:546 #, 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:554 +#: src/plugins/plugins.c:557 #, 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:566 +#: src/plugins/plugins.c:569 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" @@ -2164,7 +2164,7 @@ msgstr "" "%s symbol \"plugin_description\" nebyl v pluginu \"%s\" nalezen, načtení " "selhalo\n" -#: src/plugins/plugins.c:577 +#: src/plugins/plugins.c:580 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" @@ -2172,7 +2172,7 @@ msgstr "" "%s symbol \"plugin_version\" nebyl v pluginu \"%s\" nalezen, načtení " "selhalo\n" -#: src/plugins/plugins.c:588 +#: src/plugins/plugins.c:591 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " @@ -2181,32 +2181,32 @@ msgstr "" "%s funkce \"weechat_plugin_init\" nebyla v pluginu \"%s\" nalezena, načtení " "selhalo\n" -#: src/plugins/plugins.c:642 +#: src/plugins/plugins.c:645 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "Inicializuji plugin \"%s\" %s\n" -#: src/plugins/plugins.c:650 +#: src/plugins/plugins.c:653 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "%s nemohu načíst plugin \"%s\"\n" -#: src/plugins/plugins.c:661 +#: src/plugins/plugins.c:664 #, 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:669 +#: src/plugins/plugins.c:672 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "Plugin \"%s\" (%s) načten.\n" -#: src/plugins/plugins.c:809 +#: src/plugins/plugins.c:838 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "Plugin \"%s\" odebrán.\n" -#: src/plugins/plugins.c:815 +#: src/plugins/plugins.c:844 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "%s plugin \"%s\" nenalezen\n" @@ -2489,7 +2489,7 @@ msgstr "obnov obrazovku" msgid "grab a key" msgstr "zachytit klávesu" -#: src/gui/gui-keyboard.c:434 src/common/command.c:2118 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2120 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s nemohu napojit kalávesu \"%s\"\n" @@ -2627,33 +2627,34 @@ msgstr "zobrazí nápovědu k příkazům" msgid "[command]" msgstr "[příkaz]" -#: src/common/command.c:85 +#: src/common/command.c:86 msgid "command: name of a WeeChat or IRC command" msgstr "příkaz: jméno WeeChat nebo IRC příkazu" -#: src/common/command.c:87 +#: src/common/command.c:88 msgid "show buffer command history" msgstr "" -#: src/common/command.c:88 +#: src/common/command.c:89 msgid "[clear | value]" msgstr "" -#: src/common/command.c:89 +#: src/common/command.c:90 msgid "" "clear: clear history\n" "value: number of history entries to show" msgstr "" -#: src/common/command.c:92 +#: src/common/command.c:93 msgid "ignore IRC messages and/or hosts" msgstr "ignoruje IRC příkaz a/nebo hosta" -#: src/common/command.c:93 +#: src/common/command.c:94 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[maska [[typ | příkaz] [kanál [server]]]]" -#: src/common/command.c:94 +#: src/common/command.c:95 +#, fuzzy msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2673,19 +2674,20 @@ 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:102 +#: src/common/command.c:104 msgid "bind/unbind keys" msgstr "napojit/odpojit klávesy" -#: src/common/command.c:103 +#: src/common/command.c:105 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:104 +#: src/common/command.c:106 +#, fuzzy msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" -"unbind: unbind a key (if \"all\", default bindings are restored)\n" +"unbind: unbind a key\n" "functions: list internal functions for key bindings\n" "reset: restore bindings to the default values and delete ALL personal " "binding (use carefully!)" @@ -2696,15 +2698,15 @@ msgstr "" "reset: obnoví klávesy na výchozí hodnoty a smaže uživatlské zkratky " "(používejte opatrně)" -#: src/common/command.c:109 +#: src/common/command.c:111 msgid "list/load/unload plugins" msgstr "seznam/načíst/odebrat pluginy" -#: src/common/command.c:110 +#: src/common/command.c:112 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[load jméno_souboru] | [autoload] | [reload] | [unload]" -#: src/common/command.c:111 +#: src/common/command.c:113 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2714,11 +2716,11 @@ msgstr "" "\n" "Příkaz /plugin bez argumentů vypíše seznam všech načtených pluginů." -#: src/common/command.c:114 +#: src/common/command.c:116 msgid "list, add or remove servers" msgstr "vypíše, přídá nebo odebere servery" -#: src/common/command.c:115 +#: src/common/command.c:117 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2730,7 +2732,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:120 +#: src/common/command.c:122 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2756,27 +2758,27 @@ msgstr "" "uživatelské_jméno: uživatelské jméno\n" "pravé_jméno: pravé jméno uživatele" -#: src/common/command.c:132 +#: src/common/command.c:134 msgid "save config to disk" msgstr "uloží nastavení na disk" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "[file]" msgstr "[soubor]" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "file: filename for writing config" msgstr "soubor: jméno souboru pro zapsání" -#: src/common/command.c:135 +#: src/common/command.c:137 msgid "set config parameters" msgstr "nastaví konfigurační parametry" -#: src/common/command.c:136 +#: src/common/command.c:138 msgid "[option [ = value]]" msgstr "[volba [ = hodnota]]" -#: src/common/command.c:137 +#: src/common/command.c:139 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2786,27 +2788,28 @@ msgstr "" "zobrazena nápověda pro volby)\n" "hodnota: hodnota volby" -#: src/common/command.c:141 +#: src/common/command.c:143 msgid "remove an alias" msgstr "odebere alias" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name" msgstr "jméno_aliasu" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name: name of alias to remove" msgstr "jméno_aliasu: jméno aliasu pro odebrání" -#: src/common/command.c:144 +#: src/common/command.c:146 msgid "unignore IRC messages and/or hosts" msgstr "zruší ignorování IRC zprávy a/nebo hosta" -#: src/common/command.c:145 +#: src/common/command.c:147 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[číslo | [maska [[typ | příkaz] [kanál [server]]]]]" -#: src/common/command.c:146 +#: src/common/command.c:148 +#, fuzzy msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2829,27 +2832,27 @@ msgstr "" "Pro každý argument znamená '*' všechno.\n" "Bez argunetů, vypíše příkaz /unignore seznam definovaných ignorací." -#: src/common/command.c:155 +#: src/common/command.c:158 msgid "upgrade WeeChat without disconnecting from servers" msgstr "" -#: src/common/command.c:159 +#: src/common/command.c:160 msgid "show WeeChat uptime" msgstr "" -#: src/common/command.c:160 +#: src/common/command.c:161 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:161 +#: src/common/command.c:162 msgid "-o: send uptime on current channel as an IRC message" msgstr "" -#: src/common/command.c:163 +#: src/common/command.c:164 msgid "manage windows" msgstr "spravuje okna" -#: src/common/command.c:164 +#: src/common/command.c:165 #, fuzzy msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " @@ -2858,7 +2861,7 @@ msgstr "" "[list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge " "[all]]" -#: src/common/command.c:166 +#: src/common/command.c:167 #, fuzzy, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2886,28 +2889,28 @@ msgstr "" "splitv: rozdělí aktuální okno vertikálně\n" "merge: spojí okno s jiným" -#: src/common/command.c:323 +#: src/common/command.c:325 #, c-format msgid "%s alias or command \"%s\" already exists!\n" msgstr "%s alias nebo příkaz \"%s\" již existuje!\n" -#: src/common/command.c:333 +#: src/common/command.c:335 #, c-format msgid "%s alias cannot run another alias!\n" msgstr "%s alias nemůže pouštět jiný ailas!\n" -#: src/common/command.c:340 +#: src/common/command.c:342 #, c-format msgid "%s target command \"/%s\" does not exist!\n" msgstr "%s cílový příkaz \"/%s\" neexistuje!\n" -#: src/common/command.c:578 +#: src/common/command.c:580 #, 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:590 +#: src/common/command.c:592 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -2916,18 +2919,18 @@ 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:612 src/common/command.c:681 +#: src/common/command.c:614 src/common/command.c:683 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s příkaz \"%s\" selhal\n" -#: src/common/command.c:637 +#: src/common/command.c:639 #, 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:649 +#: src/common/command.c:651 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -2936,310 +2939,310 @@ 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:664 +#: src/common/command.c:666 #, 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:725 +#: src/common/command.c:727 #, 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:859 +#: src/common/command.c:861 msgid "This window is not a channel!\n" msgstr "Tohe není okno kanálu!\n" -#: src/common/command.c:890 src/common/command.c:921 src/common/command.c:1036 +#: src/common/command.c:892 src/common/command.c:923 src/common/command.c:1038 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s chybí argumenty pro příkaz \"%s\"\n" -#: src/common/command.c:897 +#: src/common/command.c:899 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "%s alias nemůže žačínat \"/\"!\n" -#: src/common/command.c:906 +#: src/common/command.c:908 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" vytvořen\n" -#: src/common/command.c:912 +#: src/common/command.c:914 #, 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:932 +#: src/common/command.c:934 msgid "List of aliases:\n" msgstr "Seznam pro aliasy:\n" -#: src/common/command.c:946 +#: src/common/command.c:948 msgid "No alias defined.\n" msgstr "Žádné aliasy nejsou definovány.\n" -#: src/common/command.c:965 +#: src/common/command.c:967 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServer: %s%s\n" -#: src/common/command.c:970 +#: src/common/command.c:972 #, c-format msgid "%snot connected\n" msgstr "" -#: src/common/command.c:974 +#: src/common/command.c:976 #, 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:983 +#: src/common/command.c:985 #, 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:992 +#: src/common/command.c:994 #, c-format msgid "%sunknown\n" msgstr "" -#: src/common/command.c:1015 +#: src/common/command.c:1017 msgid "Opened buffers:\n" msgstr "Otevřené buffery:\n" -#: src/common/command.c:1059 +#: src/common/command.c:1061 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s nekorektní číslo bufferu\n" -#: src/common/command.c:1075 +#: src/common/command.c:1077 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s nemohu zavřít jediný buffer\n" -#: src/common/command.c:1085 +#: src/common/command.c:1087 #, 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:1134 +#: src/common/command.c:1136 msgid "Notify levels: " msgstr "Level upozornění: " -#: src/common/command.c:1163 src/common/command.c:1211 +#: src/common/command.c:1165 src/common/command.c:1213 #, 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:1172 +#: src/common/command.c:1174 #, 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:1181 +#: src/common/command.c:1183 #, 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:1191 +#: src/common/command.c:1193 msgid "(hotlist: never)\n" msgstr "(hotlist: nikdy)\n" -#: src/common/command.c:1194 +#: src/common/command.c:1196 msgid "(hotlist: highlights)\n" msgstr "(hotlist: zvýraznění)\n" -#: src/common/command.c:1197 +#: src/common/command.c:1199 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: zvýraznění + zprávy)\n" -#: src/common/command.c:1200 +#: src/common/command.c:1202 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:1299 +#: src/common/command.c:1301 #, c-format msgid "Charsets for server %s%s%s: " msgstr "" -#: src/common/command.c:1307 +#: src/common/command.c:1309 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "" -#: src/common/command.c:1315 +#: src/common/command.c:1317 #, c-format msgid "Charsets for private %s%s%s: " msgstr "" -#: src/common/command.c:1343 src/common/command.c:1373 -#: src/common/command.c:1403 +#: src/common/command.c:1345 src/common/command.c:1375 +#: src/common/command.c:1405 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr "" -#: src/common/command.c:1467 src/common/command.c:1490 -#: src/common/command.c:1624 src/common/command.c:2235 -#: src/common/command.c:3312 src/common/command.c:3355 +#: src/common/command.c:1469 src/common/command.c:1492 +#: src/common/command.c:1626 src/common/command.c:2237 +#: src/common/command.c:3301 src/common/command.c:3344 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "%s neznámá volba pro příkaz \"%s\"\n" -#: src/common/command.c:1520 +#: src/common/command.c:1522 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s již vytvořený server \"%s\"!\n" -#: src/common/command.c:1528 +#: src/common/command.c:1530 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "%s zrovna připojuji k serveru \"%s\"!\n" -#: src/common/command.c:1546 src/common/command.c:1669 +#: src/common/command.c:1548 src/common/command.c:1671 #, c-format msgid "%s server not found\n" msgstr "%s server nenalezen\n" -#: src/common/command.c:1653 +#: src/common/command.c:1655 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s nepřipojen k serveru \"%s\"!\n" -#: src/common/command.c:1661 +#: src/common/command.c:1663 msgid "Auto-reconnection is cancelled\n" msgstr "Automatické znovupřipojené je zrušeno\n" -#: src/common/command.c:1695 src/common/weechat.c:400 +#: src/common/command.c:1697 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "%s vnitřní příkazy:\n" -#: src/common/command.c:1705 src/common/weechat.c:420 +#: src/common/command.c:1707 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "IRC příkazy:\n" -#: src/common/command.c:1719 +#: src/common/command.c:1721 msgid "Plugin commands:\n" msgstr "Příkazy pluginu:\n" -#: src/common/command.c:1835 +#: src/common/command.c:1837 #, 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:1901 +#: src/common/command.c:1903 #, 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:1935 +#: src/common/command.c:1937 msgid "List of ignore:\n" msgstr "Seznam ignorování:\n" -#: src/common/command.c:1952 +#: src/common/command.c:1954 msgid "No ignore defined.\n" msgstr "Žádné ignorování není definováno.\n" -#: src/common/command.c:1978 +#: src/common/command.c:1980 msgid "New ignore:" msgstr "Nové ignorování:" -#: src/common/command.c:1998 +#: src/common/command.c:2000 #, c-format msgid "New key binding: %s" msgstr "Nová klávesová zkratka: %s" -#: src/common/command.c:2035 +#: src/common/command.c:2037 msgid "Key bindings:\n" msgstr "Klávesové zkratky:\n" -#: src/common/command.c:2049 +#: src/common/command.c:2051 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Klávesa \"%s\" odpojena\n" -#: src/common/command.c:2055 +#: src/common/command.c:2057 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "%s nemohu odpojit klávesu \"%s\"\n" -#: src/common/command.c:2063 src/common/weechat.c:452 +#: src/common/command.c:2065 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "Vnitřní klávesové funkce:\n" -#: src/common/command.c:2083 +#: src/common/command.c:2085 msgid "Default key bindings restored\n" msgstr "Výchozí klávesové zkratky obnoveny\n" -#: src/common/command.c:2089 +#: src/common/command.c:2091 #, 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:2148 +#: src/common/command.c:2150 msgid "Plugins loaded:\n" msgstr "Načtené pluginy:\n" -#: src/common/command.c:2164 +#: src/common/command.c:2166 msgid " message handlers:\n" msgstr " obsluhovače zpráv:\n" -#: src/common/command.c:2173 +#: src/common/command.c:2175 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:2180 +#: src/common/command.c:2182 msgid " (no message handler)\n" msgstr " (není obsluhovač zprávy)\n" -#: src/common/command.c:2185 +#: src/common/command.c:2187 msgid " command handlers:\n" msgstr " obsluhovače příkazu:\n" -#: src/common/command.c:2206 +#: src/common/command.c:2208 msgid " (no command handler)\n" msgstr " (není obsluhovač příkazu)\n" -#: src/common/command.c:2212 +#: src/common/command.c:2214 msgid " (no plugin)\n" msgstr " (není plugin)\n" -#: src/common/command.c:2248 +#: src/common/command.c:2250 msgid "" "Command \"plugin\" 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:2299 +#: src/common/command.c:2301 msgid "No server.\n" msgstr "žádný server.\n" -#: src/common/command.c:2310 +#: src/common/command.c:2312 #, c-format msgid "Server '%s' not found.\n" msgstr "Server '%s' nenalezen.\n" -#: src/common/command.c:2322 +#: src/common/command.c:2324 #, 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:2330 +#: src/common/command.c:2332 #, 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:2349 +#: src/common/command.c:2351 #, 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:2357 +#: src/common/command.c:2359 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3248,212 +3251,212 @@ msgstr "" "%s nemůžete odebrat server \"%s\", protože jste k němu připojent. Skuste " "nejprve /dissconnect %s.\n" -#: src/common/command.c:2377 +#: src/common/command.c:2379 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "Server %s%s%s byl odebrán\n" -#: src/common/command.c:2396 +#: src/common/command.c:2398 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s chybí parametry pro příkaz \"%s\"\n" -#: src/common/command.c:2406 +#: src/common/command.c:2408 #, 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:2435 src/common/command.c:2463 -#: src/common/command.c:2476 src/common/command.c:2502 +#: src/common/command.c:2437 src/common/command.c:2465 +#: src/common/command.c:2478 src/common/command.c:2504 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s chybí heslo pro parametr \"%s\"\n" -#: src/common/command.c:2448 +#: src/common/command.c:2450 #, 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:2489 +#: src/common/command.c:2491 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s chybí příkaz pro parametr \"%s\"\n" -#: src/common/command.c:2525 +#: src/common/command.c:2527 #, c-format msgid "Server %s%s%s created\n" msgstr "Server %s%s%s vytvořen\n" -#: src/common/command.c:2534 +#: src/common/command.c:2536 #, c-format msgid "%s unable to create server\n" msgstr "%s nemohu vytvořit server\n" -#: src/common/command.c:2593 +#: src/common/command.c:2595 msgid "(unknown)" msgstr "(neznámý)" -#: src/common/command.c:2616 +#: src/common/command.c:2618 #, c-format msgid "%s(password hidden) " msgstr "%s(heslo schováno) " -#: src/common/command.c:2712 +#: src/common/command.c:2714 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s server \"%s\" nenalezen\n" -#: src/common/command.c:2745 src/common/command.c:2793 +#: src/common/command.c:2747 src/common/command.c:2795 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s volba nastavení \"%s\" nenalezena\n" -#: src/common/command.c:2750 src/common/command.c:2785 +#: src/common/command.c:2752 src/common/command.c:2787 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s nekorektní hodnota pro volbu \"%s\"\n" -#: src/common/command.c:2766 +#: src/common/command.c:2768 #, 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:2876 +#: src/common/command.c:2878 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Nebyla nalezena žádná volba nastavení s \"%s\"\n" -#: src/common/command.c:2879 +#: src/common/command.c:2881 msgid "No config option found\n" msgstr "Nebyla nalezena žádná volba nastavení\n" -#: src/common/command.c:2886 +#: src/common/command.c:2888 #, c-format msgid "%sDetail:\n" msgstr "%sDetail:\n" -#: src/common/command.c:2891 src/common/weechat.c:336 +#: src/common/command.c:2893 src/common/weechat.c:336 #, c-format msgid " . type boolean (values: 'on' or 'off')\n" msgstr " . typ boolean (hodnota: 'on' nebo 'off')\n" -#: src/common/command.c:2892 src/common/command.c:2915 -#: src/common/command.c:2921 src/common/command.c:2927 +#: src/common/command.c:2894 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/command.c:2929 #: src/common/weechat.c:337 src/common/weechat.c:360 src/common/weechat.c:366 #: src/common/weechat.c:372 #, c-format msgid " . default value: '%s'\n" msgstr " . výchozí hodnota: '%s'\n" -#: src/common/command.c:2897 src/common/weechat.c:342 +#: src/common/command.c:2899 src/common/weechat.c:342 #, 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:2900 src/common/weechat.c:345 +#: src/common/command.c:2902 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr " . výchozí hodnota: %d\n" -#: src/common/command.c:2904 src/common/weechat.c:349 +#: src/common/command.c:2906 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr " . typ řetězec (hodnoty: " -#: src/common/command.c:2917 src/common/command.c:2923 -#: src/common/command.c:2929 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2919 src/common/command.c:2925 +#: src/common/command.c:2931 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "prázdný" -#: src/common/command.c:2920 src/common/weechat.c:365 +#: src/common/command.c:2922 src/common/weechat.c:365 #, c-format 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:2926 src/common/weechat.c:371 +#: src/common/command.c:2928 src/common/weechat.c:371 #, c-format msgid " . type string (any string)\n" msgstr " . typ řetězec (jakýkoliv řetězec)\n" -#: src/common/command.c:2932 src/common/weechat.c:377 +#: src/common/command.c:2934 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr " . popis: %s\n" -#: src/common/command.c:2943 +#: src/common/command.c:2945 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "volba/volby nastavení nalezeny s \"%s\"\n" -#: src/common/command.c:2946 +#: src/common/command.c:2948 msgid "config option(s) found\n" msgstr "volba/volby nastavení nalezeny\n" -#: src/common/command.c:2970 +#: src/common/command.c:2972 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias nebo příkaz \"%s\" nenalezen\n" -#: src/common/command.c:2980 +#: src/common/command.c:2982 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" odebrán\n" -#: src/common/command.c:3036 +#: src/common/command.c:3038 msgid "ignore were removed.\n" msgstr "ignorování bylo odebráno.\n" -#: src/common/command.c:3038 +#: src/common/command.c:3040 msgid "ignore was removed.\n" msgstr "ignorování bylo odebrán\n" -#: src/common/command.c:3043 +#: src/common/command.c:3045 #, c-format msgid "%s no ignore found\n" msgstr "%s žádné ignorování nenaleyeno\n" -#: src/common/command.c:3075 +#: src/common/command.c:3077 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "" -#: src/common/command.c:3085 +#: src/common/command.c:3087 #, 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:3101 +#: src/common/command.c:3103 msgid "Upgrading WeeChat...\n" msgstr "" -#: src/common/command.c:3108 +#: src/common/command.c:3110 #, c-format msgid "%s unable to save session in file\n" msgstr "" -#: src/common/command.c:3146 +#: src/common/command.c:3135 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:3182 +#: src/common/command.c:3171 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "" -#: src/common/command.c:3196 +#: src/common/command.c:3185 #, 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:3236 +#: src/common/command.c:3225 msgid "Opened windows:\n" msgstr "Otevřené okna:\n" -#: src/common/command.c:3323 +#: src/common/command.c:3312 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3519,13 +3522,13 @@ msgstr "**** Beginning of log " msgid "**** End of log " msgstr "**** End of log " -#: src/common/session.c:451 +#: src/common/session.c:453 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" msgstr "" -#: src/common/session.c:456 +#: src/common/session.c:458 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3533,284 +3536,284 @@ msgid "" "Be careful, private info may be in these files.\n" msgstr "" -#: src/common/session.c:480 src/common/session.c:514 src/common/session.c:571 -#: src/common/session.c:612 +#: src/common/session.c:482 src/common/session.c:516 src/common/session.c:573 +#: src/common/session.c:614 #, c-format msgid "wrong type in file (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:583 src/common/session.c:624 +#: src/common/session.c:585 src/common/session.c:626 msgid "invalid length for a buffer" msgstr "" -#: src/common/session.c:648 +#: src/common/session.c:650 msgid "object read error" msgstr "" -#: src/common/session.c:653 +#: src/common/session.c:655 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:663 +#: src/common/session.c:665 msgid "type read error" msgstr "" -#: src/common/session.c:668 +#: src/common/session.c:670 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:753 +#: src/common/session.c:755 msgid "server name not found" msgstr "" -#: src/common/session.c:758 +#: src/common/session.c:760 #, c-format msgid "session: loading server \"%s\"\n" msgstr "" -#: src/common/session.c:762 +#: src/common/session.c:764 msgid "server found, updating values\n" msgstr "" -#: src/common/session.c:765 +#: src/common/session.c:767 msgid "server not found, creating new one\n" msgstr "" -#: src/common/session.c:770 +#: src/common/session.c:772 msgid "can't create new server" msgstr "" -#: src/common/session.c:784 +#: src/common/session.c:786 msgid "unexpected end of file (reading server)" msgstr "" -#: src/common/session.c:872 +#: src/common/session.c:874 msgid "gnutls init error" msgstr "" -#: src/common/session.c:889 +#: src/common/session.c:891 msgid "gnutls handshake failed" msgstr "" -#: src/common/session.c:932 +#: src/common/session.c:934 #, c-format msgid "session: warning: ignoring value from server (object id: %d)\n" msgstr "" -#: src/common/session.c:954 +#: src/common/session.c:956 msgid "channel found without server" msgstr "" -#: src/common/session.c:961 +#: src/common/session.c:963 msgid "channel type not found" msgstr "" -#: src/common/session.c:969 +#: src/common/session.c:971 msgid "channel name not found" msgstr "" -#: src/common/session.c:974 +#: src/common/session.c:976 #, c-format msgid "session: loading channel \"%s\"\n" msgstr "" -#: src/common/session.c:982 +#: src/common/session.c:984 msgid "can't create new channel" msgstr "" -#: src/common/session.c:992 +#: src/common/session.c:994 msgid "unexpected end of file (reading channel)" msgstr "" -#: src/common/session.c:1022 +#: src/common/session.c:1024 #, c-format msgid "session: warning: ignoring value from channel (object id: %d)\n" msgstr "" -#: src/common/session.c:1045 +#: src/common/session.c:1047 msgid "nick found without channel" msgstr "" -#: src/common/session.c:1053 +#: src/common/session.c:1055 msgid "nick name not found" msgstr "" -#: src/common/session.c:1063 +#: src/common/session.c:1065 msgid "can't create new nick" msgstr "" -#: src/common/session.c:1073 +#: src/common/session.c:1075 msgid "unexpected end of file (reading nick)" msgstr "" -#: src/common/session.c:1089 +#: src/common/session.c:1091 #, c-format msgid "session: warning: ignoring value from nick (object id: %d)\n" msgstr "" -#: src/common/session.c:1115 +#: src/common/session.c:1117 msgid "can't create new DCC" msgstr "" -#: src/common/session.c:1119 +#: src/common/session.c:1121 msgid "session: loading DCC\n" msgstr "" -#: src/common/session.c:1129 +#: src/common/session.c:1131 msgid "unexpected end of file (reading DCC)" msgstr "" -#: src/common/session.c:1148 +#: src/common/session.c:1150 msgid "server not found for DCC" msgstr "" -#: src/common/session.c:1157 +#: src/common/session.c:1159 msgid "DCC with channel but without server" msgstr "" -#: src/common/session.c:1169 +#: src/common/session.c:1171 msgid "channel not found for DCC" msgstr "" -#: src/common/session.c:1243 +#: src/common/session.c:1245 #, c-format msgid "session: warning: ignoring value from DCC (object id: %d)\n" msgstr "" -#: src/common/session.c:1263 +#: src/common/session.c:1265 msgid "session: loading buffer history\n" msgstr "" -#: src/common/session.c:1265 +#: src/common/session.c:1267 msgid "session: loading global history\n" msgstr "" -#: src/common/session.c:1273 +#: src/common/session.c:1275 msgid "unexpected end of file (reading history)" msgstr "" -#: src/common/session.c:1293 +#: src/common/session.c:1295 #, c-format msgid "session: warning: ignoring value from history (object id: %d)\n" msgstr "" -#: src/common/session.c:1319 +#: src/common/session.c:1321 msgid "server name not found for buffer" msgstr "" -#: src/common/session.c:1327 +#: src/common/session.c:1329 msgid "channel name not found for buffer" msgstr "" -#: src/common/session.c:1334 +#: src/common/session.c:1336 msgid "dcc flag not found for buffer" msgstr "" -#: src/common/session.c:1339 +#: src/common/session.c:1341 #, c-format msgid "session: loading buffer (server: %s, channel: %s, dcc: %d)\n" msgstr "" -#: src/common/session.c:1350 +#: src/common/session.c:1352 msgid "server not found for buffer" msgstr "" -#: src/common/session.c:1360 +#: src/common/session.c:1362 msgid "channel not found for buffer" msgstr "" -#: src/common/session.c:1368 +#: src/common/session.c:1370 msgid "can't create new buffer" msgstr "" -#: src/common/session.c:1381 +#: src/common/session.c:1383 msgid "unexpected end of file (reading buffer)" msgstr "" -#: src/common/session.c:1391 +#: src/common/session.c:1393 #, c-format msgid "session: warning: ignoring value from buffer (object id: %d)\n" msgstr "" -#: src/common/session.c:1413 +#: src/common/session.c:1415 msgid "line found without buffer" msgstr "" -#: src/common/session.c:1421 +#: src/common/session.c:1423 msgid "can't create new line" msgstr "" -#: src/common/session.c:1431 +#: src/common/session.c:1433 msgid "unexpected end of file (reading line)" msgstr "" -#: src/common/session.c:1462 +#: src/common/session.c:1464 #, c-format msgid "session: warning: ignoring value from line (object id: %d)\n" msgstr "" -#: src/common/session.c:1492 +#: src/common/session.c:1494 msgid "session file not found" msgstr "" -#: src/common/session.c:1499 +#: src/common/session.c:1501 msgid "signature not found" msgstr "" -#: src/common/session.c:1504 +#: src/common/session.c:1506 msgid "bad session signature" msgstr "" -#: src/common/session.c:1515 +#: src/common/session.c:1517 msgid "object id not found" msgstr "" -#: src/common/session.c:1523 +#: src/common/session.c:1525 msgid "failed to load server" msgstr "" -#: src/common/session.c:1530 +#: src/common/session.c:1532 msgid "failed to load channel" msgstr "" -#: src/common/session.c:1537 +#: src/common/session.c:1539 msgid "failed to load nick" msgstr "" -#: src/common/session.c:1544 +#: src/common/session.c:1546 msgid "failed to load DCC" msgstr "" -#: src/common/session.c:1551 +#: src/common/session.c:1553 msgid "failed to load history" msgstr "" -#: src/common/session.c:1558 +#: src/common/session.c:1560 msgid "failed to load buffer" msgstr "" -#: src/common/session.c:1565 +#: src/common/session.c:1567 msgid "failed to load line" msgstr "" -#: src/common/session.c:1570 +#: src/common/session.c:1572 #, c-format msgid "ignoring object (id: %d)\n" msgstr "" -#: src/common/session.c:1574 +#: src/common/session.c:1576 #, c-format msgid "failed to ignore object (id: %d)" msgstr "" -#: src/common/session.c:1598 +#: src/common/session.c:1600 #, c-format msgid "%s can't delete session file (%s)\n" msgstr "" -#: src/common/session.c:1604 +#: src/common/session.c:1606 msgid "Upgrade completed successfully\n" msgstr "" @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.7-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-12-12 12:05+0100\n" -"PO-Revision-Date: 2005-12-12 12:06+0100\n" +"POT-Creation-Date: 2005-12-16 14:01+0100\n" +"PO-Revision-Date: 2005-12-16 14:04+0100\n" "Last-Translator: Roberto Gonzlez Cardenete <robert.glez@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "MIME-Version: 1.0\n" @@ -178,12 +178,12 @@ msgstr "encontrar informacin sobre el administrador del servidor" #: src/irc/irc-commands.c:35 src/irc/irc-commands.c:85 #: src/irc/irc-commands.c:162 src/irc/irc-commands.c:253 -#: src/irc/irc-commands.c:261 src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:262 src/irc/irc-commands.c:275 msgid "[target]" msgstr "[target]" -#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:261 -#: src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:276 msgid "target: server" msgstr "target: servidor objetivo" @@ -204,7 +204,7 @@ msgstr "mensaje: mensaje a enviar" msgid "send message to all channels of all connected servers" msgstr "enviar mensaje a todos los canales de todos los servidores conectados" -#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:288 msgid "text" msgstr "texto" @@ -290,7 +290,7 @@ msgstr "elimina el estado de media operador de canal a/a los usuario(s)" #: src/irc/irc-commands.c:69 src/irc/irc-commands.c:72 #: src/irc/irc-commands.c:75 src/irc/irc-commands.c:82 -#: src/irc/irc-commands.c:280 +#: src/irc/irc-commands.c:284 msgid "[nickname [nickname]]" msgstr "[usuario [usuario]]" @@ -306,7 +306,7 @@ msgstr "elimina la voz a/a los usuario(s)" msgid "shutdown the server" msgstr "cerrar el servidor" -#: src/irc/irc-commands.c:80 +#: src/irc/irc-commands.c:79 msgid "error received from IRC server" msgstr "error recibido del servidor IRC" @@ -342,11 +342,11 @@ msgstr "" msgid "check if a nickname is currently on IRC" msgstr "comprobar si un usuario est actualmente en el IRC" -#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:271 msgid "nickname [nickname ...]" msgstr "usuario [usuario ...]" -#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:272 msgid "nickname: nickname" msgstr "usuario: usuario" @@ -553,19 +553,19 @@ msgstr "listar usuarios en canales" msgid "[channel[,channel]]" msgstr "[canal[,canal]]" -#: src/irc/irc-commands.c:171 +#: src/irc/irc-commands.c:172 msgid "channel: channel name" msgstr "canal: nombre del canal" -#: src/irc/irc-commands.c:173 +#: src/irc/irc-commands.c:174 msgid "change current nickname" msgstr "cambiar el nombre de usuario actual" -#: src/irc/irc-commands.c:174 +#: src/irc/irc-commands.c:175 msgid "[-all] nickname" msgstr "[-all] usuarios" -#: src/irc/irc-commands.c:175 +#: src/irc/irc-commands.c:176 msgid "" "-all: set new nickname for all connected servers\n" "nickname: new nickname" @@ -574,15 +574,15 @@ msgstr "" "conectados\n" "nickname: nuevo nombre de usuario" -#: src/irc/irc-commands.c:178 +#: src/irc/irc-commands.c:179 msgid "send notice message to user" msgstr "enviar mensaje de aviso a usuario" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:180 msgid "nickname text" msgstr "usuario texto" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:181 msgid "" "nickname: user to send notice to\n" "text: text to send" @@ -590,37 +590,37 @@ msgstr "" "usuario: usuario destinatario del aviso\n" "texto: texto a enviar" -#: src/irc/irc-commands.c:181 +#: src/irc/irc-commands.c:183 msgid "gives channel operator status to nickname(s)" msgstr "dar el estado de operador de canal a/a los usuario(s)" -#: src/irc/irc-commands.c:182 +#: src/irc/irc-commands.c:184 msgid "nickname [nickname]" msgstr "usuario [usuario]" -#: src/irc/irc-commands.c:184 +#: src/irc/irc-commands.c:186 msgid "get operator privileges" msgstr "obtener el estado de operador" -#: src/irc/irc-commands.c:185 +#: src/irc/irc-commands.c:187 msgid "user password" msgstr "contrasea de usuario" -#: src/irc/irc-commands.c:186 +#: src/irc/irc-commands.c:188 msgid "user/password: used to get privileges on current IRC server" msgstr "" "usuario/contrasea: usado para obtener los privilegios en el servidor IRC " "actual" -#: src/irc/irc-commands.c:188 +#: src/irc/irc-commands.c:190 msgid "leave a channel" msgstr "abandonar un canal" -#: src/irc/irc-commands.c:189 +#: src/irc/irc-commands.c:191 msgid "[channel[,channel]] [part_message]" msgstr "[canal[,canal]] [mensaje_de_salida]" -#: src/irc/irc-commands.c:190 +#: src/irc/irc-commands.c:192 msgid "" "channel: channel name to leave\n" "part_message: part message (displayed to other users)" @@ -628,15 +628,15 @@ msgstr "" "canal: canal a abandonar\n" "mensaje de salida: mensaje de partida (mostrado al resto de usuarios)" -#: src/irc/irc-commands.c:193 +#: src/irc/irc-commands.c:195 msgid "ping server" msgstr "hacer ping a un servidor" -#: src/irc/irc-commands.c:194 +#: src/irc/irc-commands.c:196 msgid "server1 [server2]" msgstr "servidor1 [servidor2]" -#: src/irc/irc-commands.c:195 +#: src/irc/irc-commands.c:197 msgid "" "server1: server to ping\n" "server2: forward ping to this server" @@ -644,15 +644,15 @@ msgstr "" "servidor1: servidor al que hacer ping\n" "servidor2: remitir el ping a este servidor" -#: src/irc/irc-commands.c:197 +#: src/irc/irc-commands.c:199 msgid "answer to a ping message" msgstr "contestar a un mensaje de ping" -#: src/irc/irc-commands.c:198 +#: src/irc/irc-commands.c:200 msgid "daemon [daemon2]" msgstr "demonio [demonio2]" -#: src/irc/irc-commands.c:199 +#: src/irc/irc-commands.c:201 msgid "" "daemon: daemon who has responded to Ping message\n" "daemon2: forward message to this daemon" @@ -660,19 +660,19 @@ msgstr "" "demonio: demonio que ha contestado al mensaje Ping\n" "demonio2: remitir el mensaje a este demonio" -#: src/irc/irc-commands.c:202 +#: src/irc/irc-commands.c:204 msgid "message received" msgstr "mensaje recibido" -#: src/irc/irc-commands.c:205 +#: src/irc/irc-commands.c:206 msgid "send a private message to a nick" msgstr "enviar un mensaje privado a un usuario" -#: src/irc/irc-commands.c:206 +#: src/irc/irc-commands.c:207 msgid "nickname [text]" msgstr "usuario [texto]" -#: src/irc/irc-commands.c:207 +#: src/irc/irc-commands.c:208 msgid "" "nickname: nickname for private conversation\n" "text: text to send" @@ -680,31 +680,31 @@ msgstr "" "usuario: usuario para la conversacin privada\n" "texto: texto a enviar" -#: src/irc/irc-commands.c:210 +#: src/irc/irc-commands.c:211 msgid "close all connections & quit" msgstr "cerrar todas las conexiones y salir" -#: src/irc/irc-commands.c:211 +#: src/irc/irc-commands.c:212 msgid "[quit_message]" msgstr "[mensaje_de_salida]" -#: src/irc/irc-commands.c:212 +#: src/irc/irc-commands.c:213 msgid "quit_message: quit message (displayed to other users)" msgstr "mensaje_de_salida: mensaje de partida (mostrado al resto de usuarios)" -#: src/irc/irc-commands.c:214 +#: src/irc/irc-commands.c:215 msgid "send raw data to server without parsing" msgstr "enviar datos en sucio al servidor sin analizar" -#: src/irc/irc-commands.c:215 +#: src/irc/irc-commands.c:216 msgid "data" msgstr "datos" -#: src/irc/irc-commands.c:216 +#: src/irc/irc-commands.c:217 msgid "data: raw data to send" msgstr "datos: datos en sucio a enviar" -#: src/irc/irc-commands.c:218 +#: src/irc/irc-commands.c:219 msgid "tell the server to reload its config file" msgstr "pedir al servidor que recargue su archivo de configuracin" @@ -712,15 +712,15 @@ msgstr "pedir al servidor que recargue su archivo de configuracin" msgid "tell the server to restart itself" msgstr "pedir al servidor que se reinicie" -#: src/irc/irc-commands.c:224 +#: src/irc/irc-commands.c:223 msgid "register a new service" msgstr "registrar un nuevo servicio" -#: src/irc/irc-commands.c:225 +#: src/irc/irc-commands.c:224 msgid "nickname reserved distribution type reserved info" msgstr "usuario reservado distribucin tipo reservado info" -#: src/irc/irc-commands.c:226 +#: src/irc/irc-commands.c:225 msgid "" "distribution: visibility of service\n" "type: reserved for future usage" @@ -728,15 +728,15 @@ msgstr "" "distribucin: visibilidad del servicio\n" "tipo: reservado para una futura utilizacin" -#: src/irc/irc-commands.c:229 +#: src/irc/irc-commands.c:228 msgid "list services currently connected to the network" msgstr "listar servicios conectados actualmente a la red" -#: src/irc/irc-commands.c:230 +#: src/irc/irc-commands.c:229 msgid "[mask [type]]" msgstr "[mscara [tipo]]" -#: src/irc/irc-commands.c:231 +#: src/irc/irc-commands.c:230 msgid "" "mask: list only services matching this mask\n" "type: list only services of this type" @@ -744,15 +744,15 @@ msgstr "" "mscara: listar slo aquellos servicios que concuerdan con esta mscara\n" "tipo: listar slo servicios de este tipo" -#: src/irc/irc-commands.c:234 +#: src/irc/irc-commands.c:233 msgid "deliver a message to a service" msgstr "enviar un mensaje a un servicio" -#: src/irc/irc-commands.c:235 +#: src/irc/irc-commands.c:234 msgid "service text" msgstr "servicio texto" -#: src/irc/irc-commands.c:236 +#: src/irc/irc-commands.c:235 msgid "" "service: name of service\n" "text: text to send" @@ -760,15 +760,15 @@ msgstr "" "servicio: nombre del servicio\n" "texto: texto a enviar" -#: src/irc/irc-commands.c:238 +#: src/irc/irc-commands.c:237 msgid "disconnect server links" msgstr "desconectar los enlaces de servidor" -#: src/irc/irc-commands.c:239 +#: src/irc/irc-commands.c:238 msgid "server comment" msgstr "comentario de servidor" -#: src/irc/irc-commands.c:240 +#: src/irc/irc-commands.c:239 msgid "" "server: server name\n" "comment: comment for quit" @@ -776,15 +776,15 @@ msgstr "" "servidor: nombre del servidor\n" "comentario: comentario para salir" -#: src/irc/irc-commands.c:242 +#: src/irc/irc-commands.c:241 msgid "query statistics about server" msgstr "pedir estadsticas acerca del servidor" -#: src/irc/irc-commands.c:243 +#: src/irc/irc-commands.c:242 msgid "[query [server]]" msgstr "[consulta [servidor]]" -#: src/irc/irc-commands.c:244 +#: src/irc/irc-commands.c:243 msgid "" "query: c/h/i/k/l/m/o/y/u (see RFC1459)\n" "server: server name" @@ -818,19 +818,19 @@ msgstr "" msgid "query local time from server" msgstr "pedir la hora local del servidor" -#: src/irc/irc-commands.c:253 +#: src/irc/irc-commands.c:254 msgid "target: query time from specified server" msgstr "destinatario: pedir la hora de ese servidor" -#: src/irc/irc-commands.c:255 +#: src/irc/irc-commands.c:256 msgid "get/set channel topic" msgstr "obtener/establecer el tema de un canal" -#: src/irc/irc-commands.c:256 +#: src/irc/irc-commands.c:257 msgid "[channel] [topic]" msgstr "[canal] [tema]" -#: src/irc/irc-commands.c:257 +#: src/irc/irc-commands.c:258 msgid "" "channel: channel name\n" "topic: new topic for channel (if topic is \"-delete\" then topic is deleted)" @@ -839,19 +839,19 @@ msgstr "" "tema: nuevo tema para el canal (si el tema es \"-delete\" entonces se " "elimina el tema actual)" -#: src/irc/irc-commands.c:260 +#: src/irc/irc-commands.c:261 msgid "find the route to specific server" msgstr "encontrar la ruta hacia el servidor especificado" -#: src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:265 msgid "unbans nicks or hosts" msgstr "desbanea a usuarios o mquinas" -#: src/irc/irc-commands.c:264 +#: src/irc/irc-commands.c:266 msgid "[channel] nickname [nickname ...]" msgstr "[canal] usuario [usuario ...]" -#: src/irc/irc-commands.c:265 +#: src/irc/irc-commands.c:267 msgid "" "channel: channel for unban\n" "nickname: user or host to unban" @@ -859,24 +859,24 @@ msgstr "" "canal: canal en el que desbanear (quitar la prohibicin)\n" "usuario: usuario o mquina a desbanear" -#: src/irc/irc-commands.c:268 +#: src/irc/irc-commands.c:270 msgid "return a list of information about nicknames" msgstr "devuelve una lista de informacin sobre usuarios" -#: src/irc/irc-commands.c:271 +#: src/irc/irc-commands.c:274 msgid "list of users logged into the server" msgstr "lista de usuarios conectados al servidor" -#: src/irc/irc-commands.c:274 +#: src/irc/irc-commands.c:278 msgid "gives the version info of nick or server (current or specified)" msgstr "" "da la informacin de versin del usuario o servidor (actual o especificado)" -#: src/irc/irc-commands.c:275 +#: src/irc/irc-commands.c:279 msgid "[server | nickname]" msgstr "[servidor | usuario]" -#: src/irc/irc-commands.c:276 +#: src/irc/irc-commands.c:280 msgid "" "server: server name\n" "nickname: nickname" @@ -884,11 +884,11 @@ msgstr "" "servidor: nombre de servidor\n" "usuario: usuario" -#: src/irc/irc-commands.c:279 +#: src/irc/irc-commands.c:283 msgid "gives voice to nickname(s)" msgstr "da voz a/a los usuario(s)" -#: src/irc/irc-commands.c:282 +#: src/irc/irc-commands.c:286 msgid "" "send a message to all currently connected users who have set the 'w' user " "mode for themselves" @@ -896,19 +896,19 @@ msgstr "" "enviar un mensaje a todos los usuarios conectados que tengan activo el modo " "de usuario 'w' para ellos mismos" -#: src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:289 msgid "text to send" msgstr "texto a enviar" -#: src/irc/irc-commands.c:286 +#: src/irc/irc-commands.c:291 msgid "generate a query which returns a list of information" msgstr "genera una consulta que devuelve una lista de informacin" -#: src/irc/irc-commands.c:287 +#: src/irc/irc-commands.c:292 msgid "[mask [\"o\"]]" msgstr "[mscara [\"o\"]]" -#: src/irc/irc-commands.c:288 +#: src/irc/irc-commands.c:293 msgid "" "mask: only information which match this mask\n" "o: only operators are returned according to the mask supplied" @@ -916,15 +916,15 @@ msgstr "" "mscara: slo informacin que concuerde con esta mscara\n" "o: slo son devueltos operadores de acuerdo con la mscara proporcionada" -#: src/irc/irc-commands.c:291 +#: src/irc/irc-commands.c:296 msgid "query information about user(s)" msgstr "pedir informacin sobre el/los usuario(s)" -#: src/irc/irc-commands.c:292 +#: src/irc/irc-commands.c:297 msgid "[server] nickname[,nickname]" msgstr "[servidor] usuario[,usuario]" -#: src/irc/irc-commands.c:293 +#: src/irc/irc-commands.c:298 msgid "" "server: server name\n" "nickname: nickname (may be a mask)" @@ -932,15 +932,15 @@ msgstr "" "servidor: nombre del servidor\n" "usuario: nombre de usuario (puede que sea una mscara)" -#: src/irc/irc-commands.c:296 +#: src/irc/irc-commands.c:301 msgid "ask for information about a nickname which no longer exists" msgstr "pedir informacin sobre un usuario que ya no existe" -#: src/irc/irc-commands.c:297 +#: src/irc/irc-commands.c:302 msgid "nickname [,nickname [,nickname ...]] [count [target]]" msgstr "usuario [,usuario [,usuario ...]] [nmero [destinatario]]" -#: src/irc/irc-commands.c:298 +#: src/irc/irc-commands.c:303 msgid "" "nickname: nickname to search\n" "count: number of replies to return (full search if negative number)\n" @@ -951,121 +951,121 @@ msgstr "" "negativo)\n" "destinatario: la respuesta debera concordar con esta mscara" -#: src/irc/irc-commands.c:302 src/irc/irc-commands.c:303 -#: src/irc/irc-commands.c:304 src/irc/irc-commands.c:305 -#: src/irc/irc-commands.c:306 src/irc/irc-commands.c:307 -#: src/irc/irc-commands.c:308 src/irc/irc-commands.c:309 -#: src/irc/irc-commands.c:310 src/irc/irc-commands.c:311 -#: src/irc/irc-commands.c:313 src/irc/irc-commands.c:314 -#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:316 -#: src/irc/irc-commands.c:317 src/irc/irc-commands.c:318 -#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:320 -#: src/irc/irc-commands.c:321 src/irc/irc-commands.c:322 -#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:324 -#: src/irc/irc-commands.c:325 src/irc/irc-commands.c:326 -#: src/irc/irc-commands.c:327 src/irc/irc-commands.c:328 -#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:330 -#: src/irc/irc-commands.c:331 src/irc/irc-commands.c:332 -#: src/irc/irc-commands.c:380 src/irc/irc-commands.c:381 -#: src/irc/irc-commands.c:382 src/irc/irc-commands.c:383 -#: src/irc/irc-commands.c:384 src/irc/irc-commands.c:385 -#: src/irc/irc-commands.c:491 +#: src/irc/irc-commands.c:307 src/irc/irc-commands.c:309 +#: src/irc/irc-commands.c:311 src/irc/irc-commands.c:313 +#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:317 +#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:321 +#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:325 +#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:331 +#: src/irc/irc-commands.c:333 src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:337 src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:341 src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:345 src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:349 src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:353 src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:357 src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:361 src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:365 src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:449 src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:453 src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:457 src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:569 msgid "a server message" msgstr "un mensaje de servidor" -#: src/irc/irc-commands.c:312 +#: src/irc/irc-commands.c:327 msgid "user mode string" msgstr "cadena de modo usuario" -#: src/irc/irc-commands.c:333 +#: src/irc/irc-commands.c:369 msgid "away message" msgstr "mensaje de ausencia" -#: src/irc/irc-commands.c:334 +#: src/irc/irc-commands.c:371 msgid "userhost" msgstr "nombre de la mquina de usuario" -#: src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:373 msgid "ison" msgstr "est presente" -#: src/irc/irc-commands.c:336 +#: src/irc/irc-commands.c:375 msgid "unaway" msgstr "no ausente" -#: src/irc/irc-commands.c:337 +#: src/irc/irc-commands.c:377 msgid "now away" msgstr "ahora ausente" -#: src/irc/irc-commands.c:338 +#: src/irc/irc-commands.c:379 msgid "whois (registered nick)" msgstr "quin es (usuario registrado)" -#: src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:381 msgid "whois (user)" msgstr "quin es (usuario)" -#: src/irc/irc-commands.c:340 +#: src/irc/irc-commands.c:383 msgid "whois (server)" msgstr "quin es (servidor)" -#: src/irc/irc-commands.c:341 +#: src/irc/irc-commands.c:385 msgid "whois (operator)" msgstr "quin es (operador)" -#: src/irc/irc-commands.c:342 +#: src/irc/irc-commands.c:387 msgid "whowas" msgstr "quin era" -#: src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:389 msgid "end of /who list" msgstr "fin de la lista /who" -#: src/irc/irc-commands.c:344 +#: src/irc/irc-commands.c:391 msgid "whois (idle)" msgstr "quin es (idle)" -#: src/irc/irc-commands.c:345 +#: src/irc/irc-commands.c:393 msgid "whois (end)" msgstr "quin es (fin)" -#: src/irc/irc-commands.c:346 +#: src/irc/irc-commands.c:395 msgid "whois (channels)" msgstr "quin es (canales)" -#: src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:397 msgid "whois (identified user)" msgstr "quin es (usuario identificado)" -#: src/irc/irc-commands.c:348 +#: src/irc/irc-commands.c:399 msgid "/list start" msgstr "/list inicio" -#: src/irc/irc-commands.c:349 +#: src/irc/irc-commands.c:401 msgid "channel (for /list)" msgstr "canal (para /list)" -#: src/irc/irc-commands.c:350 +#: src/irc/irc-commands.c:403 msgid "/list end" msgstr "/list fin" -#: src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:405 msgid "channel mode" msgstr "modo de canal" -#: src/irc/irc-commands.c:353 +#: src/irc/irc-commands.c:409 msgid "no topic for channel" msgstr "sin tema para el canal" -#: src/irc/irc-commands.c:354 +#: src/irc/irc-commands.c:411 msgid "topic of channel" msgstr "tema de canal" -#: src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:412 msgid "channel :topic" msgstr "canal :tema" -#: src/irc/irc-commands.c:356 +#: src/irc/irc-commands.c:413 msgid "" "channel: name of channel\n" "topic: topic of the channel" @@ -1073,47 +1073,47 @@ msgstr "" "canal: nombre del canal\n" "tema: tema del canal" -#: src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:416 msgid "infos about topic (nick & date changed)" msgstr "informacin sobre el tema (usuario y fecha de modificacin)" -#: src/irc/irc-commands.c:362 +#: src/irc/irc-commands.c:418 msgid "inviting" msgstr "invitando" -#: src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:420 msgid "channel reop" msgstr "canal reop" -#: src/irc/irc-commands.c:364 +#: src/irc/irc-commands.c:422 msgid "end of channel reop list" msgstr "fin de la lista de canal reop" -#: src/irc/irc-commands.c:365 +#: src/irc/irc-commands.c:424 msgid "channel exception list" msgstr "lista de excepcin de canal" -#: src/irc/irc-commands.c:366 +#: src/irc/irc-commands.c:426 msgid "end of channel exception list" msgstr "fin de lista de excepcin de canal" -#: src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:428 msgid "server version" msgstr "versin del servidor" -#: src/irc/irc-commands.c:368 +#: src/irc/irc-commands.c:430 msgid "who" msgstr "quin" -#: src/irc/irc-commands.c:369 +#: src/irc/irc-commands.c:432 msgid "list of nicks on channel" msgstr "lista de usuarios en el canal" -#: src/irc/irc-commands.c:370 +#: src/irc/irc-commands.c:433 msgid "channel :[[@|+]nick ...]" msgstr "canal :[[@|+]usuario ...]" -#: src/irc/irc-commands.c:371 +#: src/irc/irc-commands.c:434 msgid "" "channel: name of channel\n" "nick: nick on the channel" @@ -1121,243 +1121,243 @@ msgstr "" "canal: nombre del canal\n" "usuario: usuario en el canal" -#: src/irc/irc-commands.c:374 +#: src/irc/irc-commands.c:437 msgid "links" msgstr "enlaces" -#: src/irc/irc-commands.c:375 +#: src/irc/irc-commands.c:439 msgid "end of /links list" msgstr "fin de la lista /links" -#: src/irc/irc-commands.c:376 +#: src/irc/irc-commands.c:441 msgid "end of /names list" msgstr "fin de la lista /names" -#: src/irc/irc-commands.c:377 +#: src/irc/irc-commands.c:443 msgid "banlist" msgstr "lista de baneos" -#: src/irc/irc-commands.c:378 +#: src/irc/irc-commands.c:445 msgid "end of banlist" msgstr "fin de la lista de baneos" -#: src/irc/irc-commands.c:379 +#: src/irc/irc-commands.c:447 msgid "end of /whowas list" msgstr "fin de la lista /whowas" -#: src/irc/irc-commands.c:386 +#: src/irc/irc-commands.c:461 msgid "you are now an IRC operator" msgstr "ahora es usted un operador IRC" -#: src/irc/irc-commands.c:387 +#: src/irc/irc-commands.c:463 msgid "rehashing" msgstr "redispersin" -#: src/irc/irc-commands.c:388 +#: src/irc/irc-commands.c:465 msgid "server local time" msgstr "hora local del servidor" -#: src/irc/irc-commands.c:389 +#: src/irc/irc-commands.c:467 msgid "no such nick/channel" msgstr "no existe ese usuario/canal" -#: src/irc/irc-commands.c:391 +#: src/irc/irc-commands.c:469 msgid "no such server" msgstr "no existe ese servidor" -#: src/irc/irc-commands.c:393 +#: src/irc/irc-commands.c:471 msgid "no such channel" msgstr "no existe ese canal" -#: src/irc/irc-commands.c:395 +#: src/irc/irc-commands.c:473 msgid "cannot send to channel" msgstr "no ha sido posible enviar al canal" -#: src/irc/irc-commands.c:397 +#: src/irc/irc-commands.c:475 msgid "too many channels" msgstr "demasiados canales" -#: src/irc/irc-commands.c:399 src/irc/irc-commands.c:401 +#: src/irc/irc-commands.c:477 src/irc/irc-commands.c:479 msgid "was no such nick" msgstr "no estaba ese usuario" -#: src/irc/irc-commands.c:403 +#: src/irc/irc-commands.c:481 msgid "no origin" msgstr "sin origen" -#: src/irc/irc-commands.c:405 +#: src/irc/irc-commands.c:483 msgid "no services" msgstr "sin servicios" -#: src/irc/irc-commands.c:407 +#: src/irc/irc-commands.c:485 msgid "no recipient" msgstr "sin destinatario" -#: src/irc/irc-commands.c:409 +#: src/irc/irc-commands.c:487 msgid "no text to send" msgstr "sin texto a enviar" -#: src/irc/irc-commands.c:411 +#: src/irc/irc-commands.c:489 msgid "no toplevel" msgstr "sin nivel superior" -#: src/irc/irc-commands.c:413 +#: src/irc/irc-commands.c:491 msgid "wilcard in toplevel domain" msgstr "carcter comodn en el dominio del nivel superior" -#: src/irc/irc-commands.c:415 +#: src/irc/irc-commands.c:493 msgid "unknown command" msgstr "comando desconocido" -#: src/irc/irc-commands.c:417 +#: src/irc/irc-commands.c:495 msgid "MOTD is missing" msgstr "MOTD falta" -#: src/irc/irc-commands.c:419 +#: src/irc/irc-commands.c:497 msgid "no administrative info" msgstr "sin informacin administrativa" -#: src/irc/irc-commands.c:421 +#: src/irc/irc-commands.c:499 msgid "file error" msgstr "error de fichero" -#: src/irc/irc-commands.c:423 +#: src/irc/irc-commands.c:501 msgid "no nickname given" msgstr "no se ha dado un nombre de usuario" -#: src/irc/irc-commands.c:425 +#: src/irc/irc-commands.c:503 msgid "erroneous nickname" msgstr "nombre de usuario errneo" -#: src/irc/irc-commands.c:427 +#: src/irc/irc-commands.c:505 msgid "nickname already in use" msgstr "nombre de usuario ya en uso" -#: src/irc/irc-commands.c:429 +#: src/irc/irc-commands.c:507 msgid "nickname collision" msgstr "colisin en el nombre de usuario" -#: src/irc/irc-commands.c:431 +#: src/irc/irc-commands.c:509 msgid "not authorized to change nickname" msgstr "no autorizado a cambiar el nombre de usuario" -#: src/irc/irc-commands.c:433 +#: src/irc/irc-commands.c:511 msgid "user not in channel" msgstr "usuario no presente en el canal" -#: src/irc/irc-commands.c:435 +#: src/irc/irc-commands.c:513 msgid "not on channel" msgstr "no presente en el canal" -#: src/irc/irc-commands.c:437 +#: src/irc/irc-commands.c:515 msgid "user already on channel" msgstr "usuario ya en el canal" -#: src/irc/irc-commands.c:439 +#: src/irc/irc-commands.c:517 msgid "user not logged in" msgstr "usuario no registrado" -#: src/irc/irc-commands.c:441 +#: src/irc/irc-commands.c:519 msgid "summon has been disabled" msgstr "la peticin de ayuda ha sido desactivada" -#: src/irc/irc-commands.c:443 +#: src/irc/irc-commands.c:521 msgid "users has been disabled" msgstr "los usuarios han sido desactivados" -#: src/irc/irc-commands.c:445 +#: src/irc/irc-commands.c:523 msgid "you are not registered" msgstr "usted no est registrado" -#: src/irc/irc-commands.c:447 +#: src/irc/irc-commands.c:525 msgid "not enough parameters" msgstr "no hay parmetros suficientes" -#: src/irc/irc-commands.c:449 +#: src/irc/irc-commands.c:527 msgid "you may not register" msgstr "usted no puede registrarse" -#: src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:529 msgid "your host isn't among the privileged" msgstr "su nombre de mquina no est entre los privilegiados" -#: src/irc/irc-commands.c:453 +#: src/irc/irc-commands.c:531 msgid "password incorrect" msgstr "contrasea incorrecta" -#: src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:533 msgid "you are banned from this server" msgstr "usted est baneado de este servidor" -#: src/irc/irc-commands.c:457 +#: src/irc/irc-commands.c:535 msgid "channel key already set" msgstr "clave de canal ya definida" -#: src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:537 msgid "forwarding to another channel" msgstr "reenvo a otro canal" -#: src/irc/irc-commands.c:461 +#: src/irc/irc-commands.c:539 msgid "channel is already full" msgstr "el canal ya est lleno" -#: src/irc/irc-commands.c:463 +#: src/irc/irc-commands.c:541 msgid "unknown mode char to me" msgstr "carcter de modo desconocido para m" -#: src/irc/irc-commands.c:465 +#: src/irc/irc-commands.c:543 msgid "cannot join channel (invite only)" msgstr "no es posible unirse al canal (slo invitados)" -#: src/irc/irc-commands.c:467 +#: src/irc/irc-commands.c:545 msgid "cannot join channel (banned from channel)" msgstr "no es posible unirse al canal (baneado del canal)" -#: src/irc/irc-commands.c:469 +#: src/irc/irc-commands.c:547 msgid "cannot join channel (bad channel key)" msgstr "no es posible unirse al canal (clave de canal incorrecta)" -#: src/irc/irc-commands.c:471 +#: src/irc/irc-commands.c:549 msgid "bad channel mask" msgstr "mscara de canal incorrecta" -#: src/irc/irc-commands.c:473 +#: src/irc/irc-commands.c:551 msgid "channel doesn't support modes" msgstr "el canal no soporta los modos" -#: src/irc/irc-commands.c:475 +#: src/irc/irc-commands.c:553 msgid "you're not an IRC operator" msgstr "usted no es un operador IRC" -#: src/irc/irc-commands.c:477 +#: src/irc/irc-commands.c:555 msgid "you're not channel operator" msgstr "usted no es operador del canal" -#: src/irc/irc-commands.c:479 +#: src/irc/irc-commands.c:557 msgid "you can't kill a server!" msgstr "usted no puede matar a un servidor!" -#: src/irc/irc-commands.c:481 +#: src/irc/irc-commands.c:559 msgid "your connection is restricted!" msgstr "su conexin est restringida!" -#: src/irc/irc-commands.c:483 +#: src/irc/irc-commands.c:561 msgid "user is immune from kick/deop" msgstr "el usuario es inmune a kick/deop" -#: src/irc/irc-commands.c:485 +#: src/irc/irc-commands.c:563 msgid "no O-lines for your host" msgstr "no hay O-lines para su mququina" -#: src/irc/irc-commands.c:487 +#: src/irc/irc-commands.c:565 msgid "unknown mode flag" msgstr "indicador de modo desconocido" -#: src/irc/irc-commands.c:489 +#: src/irc/irc-commands.c:567 msgid "can't change mode for other users" msgstr "no es posible cambiar el modo para el resto de usuarios" -#: src/irc/irc-commands.c:492 +#: src/irc/irc-commands.c:571 msgid "whois (secure connection)" msgstr "quin es (conexin segura)" @@ -1405,7 +1405,7 @@ msgstr "desconocido" msgid "%s: using local hostname \"%s\"\n" msgstr "%s: utilizacin del nombre de mquina local \"%s\"\n" -#: src/irc/irc-send.c:177 src/common/command.c:814 +#: src/irc/irc-send.c:177 src/common/command.c:816 #, 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" @@ -1422,8 +1422,8 @@ msgstr "" #: src/irc/irc-send.c:489 src/irc/irc-send.c:501 src/irc/irc-send.c:519 #: src/irc/irc-send.c:1184 src/irc/irc-send.c:1309 src/irc/irc-send.c:1842 -#: src/common/command.c:1605 src/common/command.c:2103 -#: src/common/command.c:2242 +#: src/common/command.c:1607 src/common/command.c:2105 +#: src/common/command.c:2244 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s nmero de argumentos incorrecto para el comando \"%s\"\n" @@ -1761,11 +1761,11 @@ msgstr "%s%s %s(%s%s@%s%s)%s estaba %s\n" msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s inactividad: " -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "days" msgstr "das" -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "day" msgstr "da" @@ -2142,7 +2142,7 @@ msgstr "" "%s plugin %s: no ha sido posible aadir un manejador para el comando IRC \"%s" "\" (no hay suficiente memoria)\n" -#: src/plugins/plugins.c:248 +#: src/plugins/plugins.c:250 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (already exists)\n" @@ -2150,7 +2150,7 @@ msgstr "" "%s plugin %s: no ha sido posible aadir un manejador para el comando \"%s" "\" (ya existe)\n" -#: src/plugins/plugins.c:285 +#: src/plugins/plugins.c:288 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n" @@ -2158,19 +2158,19 @@ msgstr "" "%s plugin %s: no ha sido posible aadir un manejador para el comando \"%s" "\" (no hay suficiente memoria)\n" -#: src/plugins/plugins.c:532 +#: src/plugins/plugins.c:535 #, 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:543 +#: src/plugins/plugins.c:546 #, 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:554 +#: src/plugins/plugins.c:557 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" @@ -2178,7 +2178,7 @@ msgstr "" "%s no ha sido posible cargar el plugin \"%s\": un plugin con el mismo nombre " "ya existe\n" -#: src/plugins/plugins.c:566 +#: src/plugins/plugins.c:569 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" @@ -2186,7 +2186,7 @@ msgstr "" "%s smbolo \"plugin_description\" no encontrado en el plugin \"%s\", fall " "al cargar\n" -#: src/plugins/plugins.c:577 +#: src/plugins/plugins.c:580 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" @@ -2194,7 +2194,7 @@ msgstr "" "%s smbolo \"plugin_version\" no encontrado en el plugin \"%s\", fall al " "cargar\n" -#: src/plugins/plugins.c:588 +#: src/plugins/plugins.c:591 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " @@ -2203,33 +2203,33 @@ msgstr "" "%s funcin \"weechat_plugin_init\" no encontrada en el plugin \"%s\", fall " "al cargar\n" -#: src/plugins/plugins.c:642 +#: src/plugins/plugins.c:645 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "Inicializando plugin \"%s\" %s\n" -#: src/plugins/plugins.c:650 +#: src/plugins/plugins.c:653 #, 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:661 +#: src/plugins/plugins.c:664 #, 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:669 +#: src/plugins/plugins.c:672 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "Plugin \"%s\" (%s) cargado.\n" -#: src/plugins/plugins.c:809 +#: src/plugins/plugins.c:838 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "Plugin \"%s\" descargado.\n" -#: src/plugins/plugins.c:815 +#: src/plugins/plugins.c:844 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "%s plugin \"%s\" no encontrado\n" @@ -2512,7 +2512,7 @@ msgstr "recargar la pantalla" msgid "grab a key" msgstr "capturar una clave" -#: src/gui/gui-keyboard.c:434 src/common/command.c:2118 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2120 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s No ha sido posible atar la clave \"%s\"\n" @@ -2651,19 +2651,19 @@ msgstr "mostrar ayuda sobre los comandos" msgid "[command]" msgstr "[comando]" -#: src/common/command.c:85 +#: src/common/command.c:86 msgid "command: name of a WeeChat or IRC command" msgstr "comando: nombre de un comando de Weechat o de IRC" -#: src/common/command.c:87 +#: src/common/command.c:88 msgid "show buffer command history" msgstr "mostrar historial de comandos de bfer" -#: src/common/command.c:88 +#: src/common/command.c:89 msgid "[clear | value]" msgstr "[limpiar | valor]" -#: src/common/command.c:89 +#: src/common/command.c:90 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2671,15 +2671,15 @@ msgstr "" "limpiar: limpiar historial\n" "valor: nmero de entradas del historial para mostrar" -#: src/common/command.c:92 +#: src/common/command.c:93 msgid "ignore IRC messages and/or hosts" msgstr "ignorar los mensajes IRC y/o los hosts" -#: src/common/command.c:93 +#: src/common/command.c:94 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[mscara [[tipo | comando] [canal [servidor]]]]" -#: src/common/command.c:94 +#: src/common/command.c:95 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2699,40 +2699,39 @@ msgstr "" "Para cada argumento, '*' significa todo.\n" "Sin argumentos, el comando /ignore lista todos los ignores definidos." -#: src/common/command.c:102 +#: src/common/command.c:104 msgid "bind/unbind keys" msgstr "atar/desatar claves" -#: src/common/command.c:103 +#: src/common/command.c:105 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "[clave funcin/comando] [desatar clave] [funciones] [reset -yes]" -#: src/common/command.c:104 +#: src/common/command.c:106 msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" -"unbind: unbind a key (if \"all\", default bindings are restored)\n" +"unbind: unbind a key\n" "functions: list internal functions for key bindings\n" "reset: restore bindings to the default values and delete ALL personal " "binding (use carefully!)" msgstr "" "clave: ata esta clave a una funcin interna o a un comando (comenzando por " "\"/ \")\n" -"desatar: desata una clave(si \"all\", se restauran los anclajes por " -"defecto)\n" +"desatar: desata una clave\n" "funciones: lista funciones internas para el anclaje de claves\n" "reset: restaura anclajes a los valores por defecto y elimina todos los " "anclajes personales (usar cuidadosamente)" -#: src/common/command.c:109 +#: src/common/command.c:111 msgid "list/load/unload plugins" msgstr "listar/cargar/descargar plugins" -#: src/common/command.c:110 +#: src/common/command.c:112 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[cargar fichero] | [autocargar] | [recargar] | [descargar]" -#: src/common/command.c:111 +#: src/common/command.c:113 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2742,11 +2741,11 @@ msgstr "" "\n" "Sin argumentos, el comando /plugin lista todos los plugins cargados." -#: src/common/command.c:114 +#: src/common/command.c:116 msgid "list, add or remove servers" msgstr "lista, ade o elimina servidores" -#: src/common/command.c:115 +#: src/common/command.c:117 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2758,7 +2757,7 @@ msgstr "" "username nombre de usuario] [-realname nombre_real] [-command comando] [-" "autojoin canal[,canal]] ] | [del nombre_de_servidor]" -#: src/common/command.c:120 +#: src/common/command.c:122 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2784,27 +2783,27 @@ msgstr "" "nombre_de_usuario: nombre de usuario\n" "nombre_real: nombre real del usuario" -#: src/common/command.c:132 +#: src/common/command.c:134 msgid "save config to disk" msgstr "guardar configuracin a disco" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "[file]" msgstr "[archivo]" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "file: filename for writing config" msgstr "archivo: fichero en el que guardar la configuracin" -#: src/common/command.c:135 +#: src/common/command.c:137 msgid "set config parameters" msgstr "modificar parmetros de configuracin" -#: src/common/command.c:136 +#: src/common/command.c:138 msgid "[option [ = value]]" msgstr "[opcin [ = valor]]" -#: src/common/command.c:137 +#: src/common/command.c:139 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2814,27 +2813,27 @@ msgstr "" "valor, entonces se muestra la ayuda de la opcin)\n" "valor: valor para una opcin" -#: src/common/command.c:141 +#: src/common/command.c:143 msgid "remove an alias" msgstr "eliminar un alias" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name" msgstr "alias" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name: name of alias to remove" msgstr "alias: nombre del alias a suprimir" -#: src/common/command.c:144 +#: src/common/command.c:146 msgid "unignore IRC messages and/or hosts" msgstr "no ignorar mensajes IRC y/o hosts" -#: src/common/command.c:145 +#: src/common/command.c:147 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[nmero | [mscara [[tipo | comando] [canal [servidor]]]]]" -#: src/common/command.c:146 +#: src/common/command.c:148 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2857,33 +2856,35 @@ msgstr "" "Para cada argumento, '*' significa todo.\n" "Sin argumentos, el comando /unignore lista todos los ignores definidos." -#: src/common/command.c:155 +#: src/common/command.c:158 msgid "upgrade WeeChat without disconnecting from servers" msgstr "" -#: src/common/command.c:159 +#: src/common/command.c:160 msgid "show WeeChat uptime" msgstr "muestra el tiempo de uso de WeeChat" -#: src/common/command.c:160 +#: src/common/command.c:161 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:161 +#: src/common/command.c:162 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:163 +#: src/common/command.c:164 msgid "manage windows" msgstr "gestin de ventanas" -#: src/common/command.c:164 +#: src/common/command.c:165 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" -msgstr "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all]]" +msgstr "" +"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " +"[pct] | resize pct | merge [all]]" -#: src/common/command.c:166 +#: src/common/command.c:167 #, fuzzy, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2917,29 +2918,29 @@ 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:323 +#: src/common/command.c:325 #, c-format msgid "%s alias or command \"%s\" already exists!\n" msgstr "%s el alias o el comando \"%s\" ya existe!\n" -#: src/common/command.c:333 +#: src/common/command.c:335 #, c-format msgid "%s alias cannot run another alias!\n" msgstr "%s el alias no puede ejecutar otro alias!\n" -#: src/common/command.c:340 +#: src/common/command.c:342 #, c-format msgid "%s target command \"/%s\" does not exist!\n" msgstr "%s el comando objetivo \"/%s\" no existe!\n" -#: src/common/command.c:578 +#: src/common/command.c:580 #, 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:590 +#: src/common/command.c:592 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -2948,19 +2949,19 @@ msgstr "" "%s nmero de argumentos incorrecto para el comando %s \"%s\" (esperado: " "entre %d y %d parmetro%s)\n" -#: src/common/command.c:612 src/common/command.c:681 +#: src/common/command.c:614 src/common/command.c:683 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s el comando \"%s\" ha fallado\n" -#: src/common/command.c:637 +#: src/common/command.c:639 #, 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:649 +#: src/common/command.c:651 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -2969,283 +2970,283 @@ msgstr "" "%s nmero de argumentos incorrecto para el comando IRC \"%s\" (esperado: " "entre %d y %d parmetro%s)\n" -#: src/common/command.c:664 +#: src/common/command.c:666 #, 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:725 +#: src/common/command.c:727 #, 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:859 +#: src/common/command.c:861 msgid "This window is not a channel!\n" msgstr "Esta ventana no es un canal!\n" -#: src/common/command.c:890 src/common/command.c:921 src/common/command.c:1036 +#: src/common/command.c:892 src/common/command.c:923 src/common/command.c:1038 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s faltan argumentos para el comando \"%s\"\n" -#: src/common/command.c:897 +#: src/common/command.c:899 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "%s el alias no puede empezar con \"/\"\n" -#: src/common/command.c:906 +#: src/common/command.c:908 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" creado\n" -#: src/common/command.c:912 +#: src/common/command.c:914 #, 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:932 +#: src/common/command.c:934 msgid "List of aliases:\n" msgstr "Lista de alias:\n" -#: src/common/command.c:946 +#: src/common/command.c:948 msgid "No alias defined.\n" msgstr "Ningn alias definido.\n" -#: src/common/command.c:965 +#: src/common/command.c:967 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServidor: %s%s\n" -#: src/common/command.c:970 +#: src/common/command.c:972 #, c-format msgid "%snot connected\n" msgstr "%sno conectado\n" -#: src/common/command.c:974 +#: src/common/command.c:976 #, 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:983 +#: src/common/command.c:985 #, 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:992 +#: src/common/command.c:994 #, c-format msgid "%sunknown\n" msgstr "" -#: src/common/command.c:1015 +#: src/common/command.c:1017 msgid "Opened buffers:\n" msgstr "Bfers abiertos:\n" -#: src/common/command.c:1059 +#: src/common/command.c:1061 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s nmero de bfer incorrecto\n" -#: src/common/command.c:1075 +#: src/common/command.c:1077 #, 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:1085 +#: src/common/command.c:1087 #, 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:1134 +#: src/common/command.c:1136 msgid "Notify levels: " msgstr "Niveles de notificacin: " -#: src/common/command.c:1163 src/common/command.c:1211 +#: src/common/command.c:1165 src/common/command.c:1213 #, 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:1172 +#: src/common/command.c:1174 #, 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:1181 +#: src/common/command.c:1183 #, 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:1191 +#: src/common/command.c:1193 msgid "(hotlist: never)\n" msgstr "(hotlist: nunca)\n" -#: src/common/command.c:1194 +#: src/common/command.c:1196 msgid "(hotlist: highlights)\n" msgstr "(hotlist: resaltados)\n" -#: src/common/command.c:1197 +#: src/common/command.c:1199 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: resaltados + mensajes)\n" -#: src/common/command.c:1200 +#: src/common/command.c:1202 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "(hotlist: resaltados + mensajes + join/part (todos))\n" -#: src/common/command.c:1299 +#: src/common/command.c:1301 #, c-format msgid "Charsets for server %s%s%s: " msgstr "" -#: src/common/command.c:1307 +#: src/common/command.c:1309 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "" -#: src/common/command.c:1315 +#: src/common/command.c:1317 #, c-format msgid "Charsets for private %s%s%s: " msgstr "" -#: src/common/command.c:1343 src/common/command.c:1373 -#: src/common/command.c:1403 +#: src/common/command.c:1345 src/common/command.c:1375 +#: src/common/command.c:1405 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr "" -#: src/common/command.c:1467 src/common/command.c:1490 -#: src/common/command.c:1624 src/common/command.c:2235 -#: src/common/command.c:3312 src/common/command.c:3355 +#: src/common/command.c:1469 src/common/command.c:1492 +#: src/common/command.c:1626 src/common/command.c:2237 +#: src/common/command.c:3301 src/common/command.c:3344 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "%s opcin desconocida para el comando \"%s\"\n" -#: src/common/command.c:1520 +#: src/common/command.c:1522 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s ya conectado al servidor \"%s\"!\n" -#: src/common/command.c:1528 +#: src/common/command.c:1530 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "%s actualmente conectando al servidor \"%s\"!\n" -#: src/common/command.c:1546 src/common/command.c:1669 +#: src/common/command.c:1548 src/common/command.c:1671 #, c-format msgid "%s server not found\n" msgstr "%s servidor no encontrado\n" -#: src/common/command.c:1653 +#: src/common/command.c:1655 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s no conectado al servidor \"%s\"!\n" -#: src/common/command.c:1661 +#: src/common/command.c:1663 msgid "Auto-reconnection is cancelled\n" msgstr "La reconexin automtica est anulada\n" -#: src/common/command.c:1695 src/common/weechat.c:400 +#: src/common/command.c:1697 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "Comandos internos %s :\n" -#: src/common/command.c:1705 src/common/weechat.c:420 +#: src/common/command.c:1707 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "Comandos IRC :\n" -#: src/common/command.c:1719 +#: src/common/command.c:1721 msgid "Plugin commands:\n" msgstr "Comandos de plugin:\n" -#: src/common/command.c:1835 +#: src/common/command.c:1837 #, 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:1901 +#: src/common/command.c:1903 #, 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:1935 +#: src/common/command.c:1937 msgid "List of ignore:\n" msgstr "Lista de ignores:\n" -#: src/common/command.c:1952 +#: src/common/command.c:1954 msgid "No ignore defined.\n" msgstr "Sin ignores definidos.\n" -#: src/common/command.c:1978 +#: src/common/command.c:1980 msgid "New ignore:" msgstr "Nuevo ignore:" -#: src/common/command.c:1998 +#: src/common/command.c:2000 #, c-format msgid "New key binding: %s" msgstr "Nueva anclaje de clave: %s" -#: src/common/command.c:2035 +#: src/common/command.c:2037 msgid "Key bindings:\n" msgstr "Anclajes de clave:\n" -#: src/common/command.c:2049 +#: src/common/command.c:2051 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Clave \"%s\" desatada\n" -#: src/common/command.c:2055 +#: src/common/command.c:2057 #, 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:2063 src/common/weechat.c:452 +#: src/common/command.c:2065 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "Funciones de clave internas:\n" -#: src/common/command.c:2083 +#: src/common/command.c:2085 msgid "Default key bindings restored\n" msgstr "Anclajes de clave por defecto restaurados\n" -#: src/common/command.c:2089 +#: src/common/command.c:2091 #, 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:2148 +#: src/common/command.c:2150 msgid "Plugins loaded:\n" msgstr "Plugins cargados:\n" -#: src/common/command.c:2164 +#: src/common/command.c:2166 msgid " message handlers:\n" msgstr " manejadores de mensaje:\n" -#: src/common/command.c:2173 +#: src/common/command.c:2175 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:2180 +#: src/common/command.c:2182 msgid " (no message handler)\n" msgstr " (sin manejador de mensaje)\n" -#: src/common/command.c:2185 +#: src/common/command.c:2187 msgid " command handlers:\n" msgstr " manejadores de comando:\n" -#: src/common/command.c:2206 +#: src/common/command.c:2208 msgid " (no command handler)\n" msgstr " (sin manejador de comando)\n" -#: src/common/command.c:2212 +#: src/common/command.c:2214 msgid " (no plugin)\n" msgstr " (sin plugins)\n" -#: src/common/command.c:2248 +#: src/common/command.c:2250 msgid "" "Command \"plugin\" is not available, WeeChat was built without plugins " "support.\n" @@ -3253,32 +3254,32 @@ msgstr "" "El comando \"plugin\" no est disponible, Weechat fue compilado sin soporte " "para plugins.\n" -#: src/common/command.c:2299 +#: src/common/command.c:2301 msgid "No server.\n" msgstr "Ningn servidor.\n" -#: src/common/command.c:2310 +#: src/common/command.c:2312 #, c-format msgid "Server '%s' not found.\n" msgstr "Servidor '%s' no encontrado.\n" -#: src/common/command.c:2322 +#: src/common/command.c:2324 #, 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:2330 +#: src/common/command.c:2332 #, 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:2349 +#: src/common/command.c:2351 #, 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:2357 +#: src/common/command.c:2359 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3287,216 +3288,216 @@ 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:2377 +#: src/common/command.c:2379 #, 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:2396 +#: src/common/command.c:2398 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s faltan parmetros para el comando \"%s\"\n" -#: src/common/command.c:2406 +#: src/common/command.c:2408 #, 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:2435 src/common/command.c:2463 -#: src/common/command.c:2476 src/common/command.c:2502 +#: src/common/command.c:2437 src/common/command.c:2465 +#: src/common/command.c:2478 src/common/command.c:2504 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s falta contrasea para el comando \"%s\"\n" -#: src/common/command.c:2448 +#: src/common/command.c:2450 #, 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:2489 +#: src/common/command.c:2491 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s falta comando para el parmetro \"%s\"\n" -#: src/common/command.c:2525 +#: src/common/command.c:2527 #, c-format msgid "Server %s%s%s created\n" msgstr "Servidor %s%s%s creado\n" -#: src/common/command.c:2534 +#: src/common/command.c:2536 #, c-format msgid "%s unable to create server\n" msgstr "%s no es posible crear el servidor\n" -#: src/common/command.c:2593 +#: src/common/command.c:2595 msgid "(unknown)" msgstr "(desconocido)" -#: src/common/command.c:2616 +#: src/common/command.c:2618 #, c-format msgid "%s(password hidden) " msgstr "%s(contrasea oculta) " -#: src/common/command.c:2712 +#: src/common/command.c:2714 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s servidor \"%s\" no encontrado\n" -#: src/common/command.c:2745 src/common/command.c:2793 +#: src/common/command.c:2747 src/common/command.c:2795 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s opcin de configuracin \"%s\" no encontrada\n" -#: src/common/command.c:2750 src/common/command.c:2785 +#: src/common/command.c:2752 src/common/command.c:2787 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s valor incorrecto para la opcin \"%s\"\n" -#: src/common/command.c:2766 +#: src/common/command.c:2768 #, 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:2876 +#: src/common/command.c:2878 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Ninguna opcin de configuracin encontrada con \"%s\"\n" -#: src/common/command.c:2879 +#: src/common/command.c:2881 msgid "No config option found\n" msgstr "Ninguna opcin de configuracin encontrada\n" -#: src/common/command.c:2886 +#: src/common/command.c:2888 #, c-format msgid "%sDetail:\n" msgstr "%sDetalle:\n" -#: src/common/command.c:2891 src/common/weechat.c:336 +#: src/common/command.c:2893 src/common/weechat.c:336 #, c-format msgid " . type boolean (values: 'on' or 'off')\n" msgstr " . tipo booleano (valores: 'on' u 'off')\n" -#: src/common/command.c:2892 src/common/command.c:2915 -#: src/common/command.c:2921 src/common/command.c:2927 +#: src/common/command.c:2894 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/command.c:2929 #: src/common/weechat.c:337 src/common/weechat.c:360 src/common/weechat.c:366 #: src/common/weechat.c:372 #, c-format msgid " . default value: '%s'\n" msgstr " . valor por defecto: '%s'\n" -#: src/common/command.c:2897 src/common/weechat.c:342 +#: src/common/command.c:2899 src/common/weechat.c:342 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr " . tipo entero (valores: entre %d y %d)\n" -#: src/common/command.c:2900 src/common/weechat.c:345 +#: src/common/command.c:2902 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr " . valor por defecto: %d\n" -#: src/common/command.c:2904 src/common/weechat.c:349 +#: src/common/command.c:2906 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr " . tipo cadena (valores: " -#: src/common/command.c:2917 src/common/command.c:2923 -#: src/common/command.c:2929 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2919 src/common/command.c:2925 +#: src/common/command.c:2931 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "vaco" -#: src/common/command.c:2920 src/common/weechat.c:365 +#: src/common/command.c:2922 src/common/weechat.c:365 #, c-format 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:2926 src/common/weechat.c:371 +#: src/common/command.c:2928 src/common/weechat.c:371 #, c-format msgid " . type string (any string)\n" msgstr " . tipo cadena (cualquier cadena)\n" -#: src/common/command.c:2932 src/common/weechat.c:377 +#: src/common/command.c:2934 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr " . descripcin: %s\n" -#: src/common/command.c:2943 +#: src/common/command.c:2945 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "opcin/opciones de configuracin encontrada(s) con \"%s\"\n" -#: src/common/command.c:2946 +#: src/common/command.c:2948 msgid "config option(s) found\n" msgstr "opcin/opciones de configuracin encontrada(s)\n" -#: src/common/command.c:2970 +#: src/common/command.c:2972 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias o comando \"%s\" no encontrado\n" -#: src/common/command.c:2980 +#: src/common/command.c:2982 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" eliminado\n" -#: src/common/command.c:3036 +#: src/common/command.c:3038 msgid "ignore were removed.\n" msgstr "los ignores fueron eliminados.\n" -#: src/common/command.c:3038 +#: src/common/command.c:3040 msgid "ignore was removed.\n" msgstr "el ignore fue eliminado.\n" -#: src/common/command.c:3043 +#: src/common/command.c:3045 #, c-format msgid "%s no ignore found\n" msgstr "%s no se encontraron ignores\n" -#: src/common/command.c:3075 +#: src/common/command.c:3077 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "" -#: src/common/command.c:3085 +#: src/common/command.c:3087 #, 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:3101 +#: src/common/command.c:3103 msgid "Upgrading WeeChat...\n" msgstr "" -#: src/common/command.c:3108 +#: src/common/command.c:3110 #, c-format msgid "%s unable to save session in file\n" msgstr "" -#: src/common/command.c:3146 +#: src/common/command.c:3135 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:3182 +#: src/common/command.c:3171 #, 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:3196 +#: src/common/command.c:3185 #, 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:3236 +#: src/common/command.c:3225 msgid "Opened windows:\n" msgstr "Ventanas abiertas:\n" -#: src/common/command.c:3323 +#: src/common/command.c:3312 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3566,13 +3567,13 @@ msgstr "**** Comienzo del log (registro) " msgid "**** End of log " msgstr "**** Fin del log " -#: src/common/session.c:451 +#: src/common/session.c:453 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" msgstr "" -#: src/common/session.c:456 +#: src/common/session.c:458 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3580,284 +3581,284 @@ msgid "" "Be careful, private info may be in these files.\n" msgstr "" -#: src/common/session.c:480 src/common/session.c:514 src/common/session.c:571 -#: src/common/session.c:612 +#: src/common/session.c:482 src/common/session.c:516 src/common/session.c:573 +#: src/common/session.c:614 #, c-format msgid "wrong type in file (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:583 src/common/session.c:624 +#: src/common/session.c:585 src/common/session.c:626 msgid "invalid length for a buffer" msgstr "" -#: src/common/session.c:648 +#: src/common/session.c:650 msgid "object read error" msgstr "" -#: src/common/session.c:653 +#: src/common/session.c:655 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:663 +#: src/common/session.c:665 msgid "type read error" msgstr "" -#: src/common/session.c:668 +#: src/common/session.c:670 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:753 +#: src/common/session.c:755 msgid "server name not found" msgstr "" -#: src/common/session.c:758 +#: src/common/session.c:760 #, c-format msgid "session: loading server \"%s\"\n" msgstr "" -#: src/common/session.c:762 +#: src/common/session.c:764 msgid "server found, updating values\n" msgstr "" -#: src/common/session.c:765 +#: src/common/session.c:767 msgid "server not found, creating new one\n" msgstr "" -#: src/common/session.c:770 +#: src/common/session.c:772 msgid "can't create new server" msgstr "" -#: src/common/session.c:784 +#: src/common/session.c:786 msgid "unexpected end of file (reading server)" msgstr "" -#: src/common/session.c:872 +#: src/common/session.c:874 msgid "gnutls init error" msgstr "" -#: src/common/session.c:889 +#: src/common/session.c:891 msgid "gnutls handshake failed" msgstr "" -#: src/common/session.c:932 +#: src/common/session.c:934 #, c-format msgid "session: warning: ignoring value from server (object id: %d)\n" msgstr "" -#: src/common/session.c:954 +#: src/common/session.c:956 msgid "channel found without server" msgstr "" -#: src/common/session.c:961 +#: src/common/session.c:963 msgid "channel type not found" msgstr "" -#: src/common/session.c:969 +#: src/common/session.c:971 msgid "channel name not found" msgstr "" -#: src/common/session.c:974 +#: src/common/session.c:976 #, c-format msgid "session: loading channel \"%s\"\n" msgstr "" -#: src/common/session.c:982 +#: src/common/session.c:984 msgid "can't create new channel" msgstr "" -#: src/common/session.c:992 +#: src/common/session.c:994 msgid "unexpected end of file (reading channel)" msgstr "" -#: src/common/session.c:1022 +#: src/common/session.c:1024 #, c-format msgid "session: warning: ignoring value from channel (object id: %d)\n" msgstr "" -#: src/common/session.c:1045 +#: src/common/session.c:1047 msgid "nick found without channel" msgstr "" -#: src/common/session.c:1053 +#: src/common/session.c:1055 msgid "nick name not found" msgstr "" -#: src/common/session.c:1063 +#: src/common/session.c:1065 msgid "can't create new nick" msgstr "" -#: src/common/session.c:1073 +#: src/common/session.c:1075 msgid "unexpected end of file (reading nick)" msgstr "" -#: src/common/session.c:1089 +#: src/common/session.c:1091 #, c-format msgid "session: warning: ignoring value from nick (object id: %d)\n" msgstr "" -#: src/common/session.c:1115 +#: src/common/session.c:1117 msgid "can't create new DCC" msgstr "" -#: src/common/session.c:1119 +#: src/common/session.c:1121 msgid "session: loading DCC\n" msgstr "" -#: src/common/session.c:1129 +#: src/common/session.c:1131 msgid "unexpected end of file (reading DCC)" msgstr "" -#: src/common/session.c:1148 +#: src/common/session.c:1150 msgid "server not found for DCC" msgstr "" -#: src/common/session.c:1157 +#: src/common/session.c:1159 msgid "DCC with channel but without server" msgstr "" -#: src/common/session.c:1169 +#: src/common/session.c:1171 msgid "channel not found for DCC" msgstr "" -#: src/common/session.c:1243 +#: src/common/session.c:1245 #, c-format msgid "session: warning: ignoring value from DCC (object id: %d)\n" msgstr "" -#: src/common/session.c:1263 +#: src/common/session.c:1265 msgid "session: loading buffer history\n" msgstr "" -#: src/common/session.c:1265 +#: src/common/session.c:1267 msgid "session: loading global history\n" msgstr "" -#: src/common/session.c:1273 +#: src/common/session.c:1275 msgid "unexpected end of file (reading history)" msgstr "" -#: src/common/session.c:1293 +#: src/common/session.c:1295 #, c-format msgid "session: warning: ignoring value from history (object id: %d)\n" msgstr "" -#: src/common/session.c:1319 +#: src/common/session.c:1321 msgid "server name not found for buffer" msgstr "" -#: src/common/session.c:1327 +#: src/common/session.c:1329 msgid "channel name not found for buffer" msgstr "" -#: src/common/session.c:1334 +#: src/common/session.c:1336 msgid "dcc flag not found for buffer" msgstr "" -#: src/common/session.c:1339 +#: src/common/session.c:1341 #, c-format msgid "session: loading buffer (server: %s, channel: %s, dcc: %d)\n" msgstr "" -#: src/common/session.c:1350 +#: src/common/session.c:1352 msgid "server not found for buffer" msgstr "" -#: src/common/session.c:1360 +#: src/common/session.c:1362 msgid "channel not found for buffer" msgstr "" -#: src/common/session.c:1368 +#: src/common/session.c:1370 msgid "can't create new buffer" msgstr "" -#: src/common/session.c:1381 +#: src/common/session.c:1383 msgid "unexpected end of file (reading buffer)" msgstr "" -#: src/common/session.c:1391 +#: src/common/session.c:1393 #, c-format msgid "session: warning: ignoring value from buffer (object id: %d)\n" msgstr "" -#: src/common/session.c:1413 +#: src/common/session.c:1415 msgid "line found without buffer" msgstr "" -#: src/common/session.c:1421 +#: src/common/session.c:1423 msgid "can't create new line" msgstr "" -#: src/common/session.c:1431 +#: src/common/session.c:1433 msgid "unexpected end of file (reading line)" msgstr "" -#: src/common/session.c:1462 +#: src/common/session.c:1464 #, c-format msgid "session: warning: ignoring value from line (object id: %d)\n" msgstr "" -#: src/common/session.c:1492 +#: src/common/session.c:1494 msgid "session file not found" msgstr "" -#: src/common/session.c:1499 +#: src/common/session.c:1501 msgid "signature not found" msgstr "" -#: src/common/session.c:1504 +#: src/common/session.c:1506 msgid "bad session signature" msgstr "" -#: src/common/session.c:1515 +#: src/common/session.c:1517 msgid "object id not found" msgstr "" -#: src/common/session.c:1523 +#: src/common/session.c:1525 msgid "failed to load server" msgstr "" -#: src/common/session.c:1530 +#: src/common/session.c:1532 msgid "failed to load channel" msgstr "" -#: src/common/session.c:1537 +#: src/common/session.c:1539 msgid "failed to load nick" msgstr "" -#: src/common/session.c:1544 +#: src/common/session.c:1546 msgid "failed to load DCC" msgstr "" -#: src/common/session.c:1551 +#: src/common/session.c:1553 msgid "failed to load history" msgstr "" -#: src/common/session.c:1558 +#: src/common/session.c:1560 msgid "failed to load buffer" msgstr "" -#: src/common/session.c:1565 +#: src/common/session.c:1567 msgid "failed to load line" msgstr "" -#: src/common/session.c:1570 +#: src/common/session.c:1572 #, c-format msgid "ignoring object (id: %d)\n" msgstr "" -#: src/common/session.c:1574 +#: src/common/session.c:1576 #, c-format msgid "failed to ignore object (id: %d)" msgstr "" -#: src/common/session.c:1598 +#: src/common/session.c:1600 #, c-format msgid "%s can't delete session file (%s)\n" msgstr "" -#: src/common/session.c:1604 +#: src/common/session.c:1606 msgid "Upgrade completed successfully\n" msgstr "" @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.7-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-12-12 12:05+0100\n" -"PO-Revision-Date: 2005-12-12 12:06+0100\n" +"POT-Creation-Date: 2005-12-16 14:01+0100\n" +"PO-Revision-Date: 2005-12-16 14:02+0100\n" "Last-Translator: FlashCode <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "MIME-Version: 1.0\n" @@ -178,12 +178,12 @@ msgstr "trouver les informations sur l'administrateur du serveur" #: src/irc/irc-commands.c:35 src/irc/irc-commands.c:85 #: src/irc/irc-commands.c:162 src/irc/irc-commands.c:253 -#: src/irc/irc-commands.c:261 src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:262 src/irc/irc-commands.c:275 msgid "[target]" msgstr "[cible]" -#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:261 -#: src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:276 msgid "target: server" msgstr "cible: serveur" @@ -204,7 +204,7 @@ msgstr "message: message envoyer" msgid "send message to all channels of all connected servers" msgstr "envoyer un message tous les canaux de tous les serveurs connects" -#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:288 msgid "text" msgstr "texte" @@ -288,7 +288,7 @@ msgstr "retire le statut de demi-oprateur du canal /aux nick(s)" #: src/irc/irc-commands.c:69 src/irc/irc-commands.c:72 #: src/irc/irc-commands.c:75 src/irc/irc-commands.c:82 -#: src/irc/irc-commands.c:280 +#: src/irc/irc-commands.c:284 msgid "[nickname [nickname]]" msgstr "[pseudo [pseudo]]" @@ -304,7 +304,7 @@ msgstr "retire la voix du/des pseudo(s)" msgid "shutdown the server" msgstr "arrter le serveur" -#: src/irc/irc-commands.c:80 +#: src/irc/irc-commands.c:79 msgid "error received from IRC server" msgstr "erreur reue du serveur IRC" @@ -340,11 +340,11 @@ msgstr "" msgid "check if a nickname is currently on IRC" msgstr "vrifier si un utilisateur est actuellement sur IRC" -#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:271 msgid "nickname [nickname ...]" msgstr "pseudo [pseudo ...]" -#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:272 msgid "nickname: nickname" msgstr "pseudo: pseudo" @@ -550,19 +550,19 @@ msgstr "lister les utilisateurs sur des canaux" msgid "[channel[,channel]]" msgstr "[canal[,canal]]" -#: src/irc/irc-commands.c:171 +#: src/irc/irc-commands.c:172 msgid "channel: channel name" msgstr "canal: nom du canal" -#: src/irc/irc-commands.c:173 +#: src/irc/irc-commands.c:174 msgid "change current nickname" msgstr "changer le pseudo courant" -#: src/irc/irc-commands.c:174 +#: src/irc/irc-commands.c:175 msgid "[-all] nickname" msgstr "[-all] pseudo" -#: src/irc/irc-commands.c:175 +#: src/irc/irc-commands.c:176 msgid "" "-all: set new nickname for all connected servers\n" "nickname: new nickname" @@ -570,15 +570,15 @@ msgstr "" "-all: dfinir le nouveau pseudo sur tous les serveurs connects\n" "pseudo: nouveau pseudo" -#: src/irc/irc-commands.c:178 +#: src/irc/irc-commands.c:179 msgid "send notice message to user" msgstr "envoyer un message notice un utilisateur" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:180 msgid "nickname text" msgstr "pseudo texte" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:181 msgid "" "nickname: user to send notice to\n" "text: text to send" @@ -586,37 +586,37 @@ msgstr "" "pseudo: utilisateur cible pour la notice\n" "texte: texte envoyer" -#: src/irc/irc-commands.c:181 +#: src/irc/irc-commands.c:183 msgid "gives channel operator status to nickname(s)" msgstr "donner le statut oprateur un/des utilisateur(s)" -#: src/irc/irc-commands.c:182 +#: src/irc/irc-commands.c:184 msgid "nickname [nickname]" msgstr "pseudo [pseudo]" -#: src/irc/irc-commands.c:184 +#: src/irc/irc-commands.c:186 msgid "get operator privileges" msgstr "obtenir le statut d'oprateur" -#: src/irc/irc-commands.c:185 +#: src/irc/irc-commands.c:187 msgid "user password" msgstr "utilisateur mot_de_passe" -#: src/irc/irc-commands.c:186 +#: src/irc/irc-commands.c:188 msgid "user/password: used to get privileges on current IRC server" msgstr "" "utilisateur/mot_de_passe: utilis pour obtenir les privilges sur le serveur " "IRC courant" -#: src/irc/irc-commands.c:188 +#: src/irc/irc-commands.c:190 msgid "leave a channel" msgstr "quitter un canal" -#: src/irc/irc-commands.c:189 +#: src/irc/irc-commands.c:191 msgid "[channel[,channel]] [part_message]" msgstr "[canal[,canall] [message_de_fin]" -#: src/irc/irc-commands.c:190 +#: src/irc/irc-commands.c:192 msgid "" "channel: channel name to leave\n" "part_message: part message (displayed to other users)" @@ -624,15 +624,15 @@ msgstr "" "canal: canal quitter\n" "message_de_fin: message de fin (affich aux autres utilisateurs)" -#: src/irc/irc-commands.c:193 +#: src/irc/irc-commands.c:195 msgid "ping server" msgstr "pinguer un serveur" -#: src/irc/irc-commands.c:194 +#: src/irc/irc-commands.c:196 msgid "server1 [server2]" msgstr "serveur1 [serveur2]" -#: src/irc/irc-commands.c:195 +#: src/irc/irc-commands.c:197 msgid "" "server1: server to ping\n" "server2: forward ping to this server" @@ -640,15 +640,15 @@ msgstr "" "serveur1: serveur pinguer\n" "serveur2: faire suivre le ping ce serveur" -#: src/irc/irc-commands.c:197 +#: src/irc/irc-commands.c:199 msgid "answer to a ping message" msgstr "rpondre un message ping" -#: src/irc/irc-commands.c:198 +#: src/irc/irc-commands.c:200 msgid "daemon [daemon2]" msgstr "dmon [dmon2]" -#: src/irc/irc-commands.c:199 +#: src/irc/irc-commands.c:201 msgid "" "daemon: daemon who has responded to Ping message\n" "daemon2: forward message to this daemon" @@ -656,19 +656,19 @@ msgstr "" "dmon: dmon qui a rpondu au message Ping\n" "dmon2: faire suivre le message ce dmon" -#: src/irc/irc-commands.c:202 +#: src/irc/irc-commands.c:204 msgid "message received" msgstr "message reu" -#: src/irc/irc-commands.c:205 +#: src/irc/irc-commands.c:206 msgid "send a private message to a nick" msgstr "envoyer un message priv un utilisateur" -#: src/irc/irc-commands.c:206 +#: src/irc/irc-commands.c:207 msgid "nickname [text]" msgstr "pseudo [texte]" -#: src/irc/irc-commands.c:207 +#: src/irc/irc-commands.c:208 msgid "" "nickname: nickname for private conversation\n" "text: text to send" @@ -676,31 +676,31 @@ msgstr "" "pseudo: utilisateur pour la conversation prive\n" "texte: texte envoyer" -#: src/irc/irc-commands.c:210 +#: src/irc/irc-commands.c:211 msgid "close all connections & quit" msgstr "fermer toutes les connexions et quitter" -#: src/irc/irc-commands.c:211 +#: src/irc/irc-commands.c:212 msgid "[quit_message]" msgstr "[message_de_fin]" -#: src/irc/irc-commands.c:212 +#: src/irc/irc-commands.c:213 msgid "quit_message: quit message (displayed to other users)" msgstr "message_de_fin: message de fin (affich aux autres utilisateurs)" -#: src/irc/irc-commands.c:214 +#: src/irc/irc-commands.c:215 msgid "send raw data to server without parsing" msgstr "envoyer des donnes brutes au serveur sans analyse" -#: src/irc/irc-commands.c:215 +#: src/irc/irc-commands.c:216 msgid "data" msgstr "donnes" -#: src/irc/irc-commands.c:216 +#: src/irc/irc-commands.c:217 msgid "data: raw data to send" msgstr "donnes: donnes brutes envoyer" -#: src/irc/irc-commands.c:218 +#: src/irc/irc-commands.c:219 msgid "tell the server to reload its config file" msgstr "demander au serveur de recharger son fichier de configuration" @@ -708,15 +708,15 @@ msgstr "demander au serveur de recharger son fichier de configuration" msgid "tell the server to restart itself" msgstr "demander au serveur de redmarrer" -#: src/irc/irc-commands.c:224 +#: src/irc/irc-commands.c:223 msgid "register a new service" msgstr "enregister un nouveau service" -#: src/irc/irc-commands.c:225 +#: src/irc/irc-commands.c:224 msgid "nickname reserved distribution type reserved info" msgstr "pseudo rserv distribution type rserv info" -#: src/irc/irc-commands.c:226 +#: src/irc/irc-commands.c:225 msgid "" "distribution: visibility of service\n" "type: reserved for future usage" @@ -724,15 +724,15 @@ msgstr "" "distribution: visibilit du service\n" "type: rserv pour une utilisation future" -#: src/irc/irc-commands.c:229 +#: src/irc/irc-commands.c:228 msgid "list services currently connected to the network" msgstr "lister les services actuellement connects au rseau" -#: src/irc/irc-commands.c:230 +#: src/irc/irc-commands.c:229 msgid "[mask [type]]" msgstr "[masque [type]]" -#: src/irc/irc-commands.c:231 +#: src/irc/irc-commands.c:230 msgid "" "mask: list only services matching this mask\n" "type: list only services of this type" @@ -740,15 +740,15 @@ msgstr "" "masque: lister seulement les services qui correspondent ce masque\n" "type: lister seulement les services de ce type" -#: src/irc/irc-commands.c:234 +#: src/irc/irc-commands.c:233 msgid "deliver a message to a service" msgstr "envoyer un message un service" -#: src/irc/irc-commands.c:235 +#: src/irc/irc-commands.c:234 msgid "service text" msgstr "service texte" -#: src/irc/irc-commands.c:236 +#: src/irc/irc-commands.c:235 msgid "" "service: name of service\n" "text: text to send" @@ -756,15 +756,15 @@ msgstr "" "service: nom du service\n" "texte: texte envoyer" -#: src/irc/irc-commands.c:238 +#: src/irc/irc-commands.c:237 msgid "disconnect server links" msgstr "dconnecter les liens vers un serveur" -#: src/irc/irc-commands.c:239 +#: src/irc/irc-commands.c:238 msgid "server comment" msgstr "serveur commentaire" -#: src/irc/irc-commands.c:240 +#: src/irc/irc-commands.c:239 msgid "" "server: server name\n" "comment: comment for quit" @@ -772,15 +772,15 @@ msgstr "" "serveur: nom du serveur\n" "commentaire: commentaire pour quitter" -#: src/irc/irc-commands.c:242 +#: src/irc/irc-commands.c:241 msgid "query statistics about server" msgstr "demander des statistiques sur le serveur" -#: src/irc/irc-commands.c:243 +#: src/irc/irc-commands.c:242 msgid "[query [server]]" msgstr "[requte [serveur]]" -#: src/irc/irc-commands.c:244 +#: src/irc/irc-commands.c:243 msgid "" "query: c/h/i/k/l/m/o/y/u (see RFC1459)\n" "server: server name" @@ -814,19 +814,19 @@ msgstr "" msgid "query local time from server" msgstr "demander l'heure locale de serveur" -#: src/irc/irc-commands.c:253 +#: src/irc/irc-commands.c:254 msgid "target: query time from specified server" msgstr "cible: demander l'heure de ce serveur" -#: src/irc/irc-commands.c:255 +#: src/irc/irc-commands.c:256 msgid "get/set channel topic" msgstr "recevoir/dfinir le titre du canal" -#: src/irc/irc-commands.c:256 +#: src/irc/irc-commands.c:257 msgid "[channel] [topic]" msgstr "[canal] [titre]" -#: src/irc/irc-commands.c:257 +#: src/irc/irc-commands.c:258 msgid "" "channel: channel name\n" "topic: new topic for channel (if topic is \"-delete\" then topic is deleted)" @@ -835,19 +835,19 @@ msgstr "" "titre: nouveau titre pour le canal (si le titre est \"-delete\" alors le " "titre est supprim)" -#: src/irc/irc-commands.c:260 +#: src/irc/irc-commands.c:261 msgid "find the route to specific server" msgstr "trouver le chemin jusqu' un serveur spcifique" -#: src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:265 msgid "unbans nicks or hosts" msgstr "supprime le bannissement sur des pseudos ou masques" -#: src/irc/irc-commands.c:264 +#: src/irc/irc-commands.c:266 msgid "[channel] nickname [nickname ...]" msgstr "[canal] pseudo [pseudo ...]" -#: src/irc/irc-commands.c:265 +#: src/irc/irc-commands.c:267 msgid "" "channel: channel for unban\n" "nickname: user or host to unban" @@ -855,24 +855,24 @@ msgstr "" "canal: nom du canal pour supprimer le bannissement\n" "pseudo: pseudo ou masque pour supprimer le bannissement" -#: src/irc/irc-commands.c:268 +#: src/irc/irc-commands.c:270 msgid "return a list of information about nicknames" msgstr "retourne une liste d'informations sur des utilisateurs" -#: src/irc/irc-commands.c:271 +#: src/irc/irc-commands.c:274 msgid "list of users logged into the server" msgstr "liste des utilisateurs connects au serveur" -#: src/irc/irc-commands.c:274 +#: src/irc/irc-commands.c:278 msgid "gives the version info of nick or server (current or specified)" msgstr "" "retourne la version de l'utilisateur ou du serveur (courant ou spcifi)" -#: src/irc/irc-commands.c:275 +#: src/irc/irc-commands.c:279 msgid "[server | nickname]" msgstr "[serveur | pseudo]" -#: src/irc/irc-commands.c:276 +#: src/irc/irc-commands.c:280 msgid "" "server: server name\n" "nickname: nickname" @@ -880,11 +880,11 @@ msgstr "" "serveur: nom du serveur\n" "pseudo: utilisateur" -#: src/irc/irc-commands.c:279 +#: src/irc/irc-commands.c:283 msgid "gives voice to nickname(s)" msgstr "donne la voix /aux utilisateur(s)" -#: src/irc/irc-commands.c:282 +#: src/irc/irc-commands.c:286 msgid "" "send a message to all currently connected users who have set the 'w' user " "mode for themselves" @@ -892,19 +892,19 @@ msgstr "" "envoyer un message tous les utilisateurs connects qui ont activ le mode " "utilisateur 'w' pour eux-mmes" -#: src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:289 msgid "text to send" msgstr "texte envoyer" -#: src/irc/irc-commands.c:286 +#: src/irc/irc-commands.c:291 msgid "generate a query which returns a list of information" msgstr "gnre une requte qui retourne une liste d'information" -#: src/irc/irc-commands.c:287 +#: src/irc/irc-commands.c:292 msgid "[mask [\"o\"]]" msgstr "[masque [\"o\"]]" -#: src/irc/irc-commands.c:288 +#: src/irc/irc-commands.c:293 msgid "" "mask: only information which match this mask\n" "o: only operators are returned according to the mask supplied" @@ -912,15 +912,15 @@ msgstr "" "masque: information qui correspond ce masque uniquement\n" "o: seul les oprateurs sont retourns correspondant au masque fourni" -#: src/irc/irc-commands.c:291 +#: src/irc/irc-commands.c:296 msgid "query information about user(s)" msgstr "demande les informations sur le(s) utilisateur(s)" -#: src/irc/irc-commands.c:292 +#: src/irc/irc-commands.c:297 msgid "[server] nickname[,nickname]" msgstr "[serveur] pseudo[,pseudo]" -#: src/irc/irc-commands.c:293 +#: src/irc/irc-commands.c:298 msgid "" "server: server name\n" "nickname: nickname (may be a mask)" @@ -928,15 +928,15 @@ msgstr "" "serveur: nom du serveur\n" "pseudo: utilisateur (peut tre un masque)" -#: src/irc/irc-commands.c:296 +#: src/irc/irc-commands.c:301 msgid "ask for information about a nickname which no longer exists" msgstr "demander de l'information sur un nick qui n'existe plus" -#: src/irc/irc-commands.c:297 +#: src/irc/irc-commands.c:302 msgid "nickname [,nickname [,nickname ...]] [count [target]]" msgstr "pseudo [,pseudo [,pseudo ...]] [nombre [cible]]" -#: src/irc/irc-commands.c:298 +#: src/irc/irc-commands.c:303 msgid "" "nickname: nickname to search\n" "count: number of replies to return (full search if negative number)\n" @@ -947,121 +947,121 @@ msgstr "" "ngatif)\n" "cible: la rponse doit correspondre ce masque" -#: src/irc/irc-commands.c:302 src/irc/irc-commands.c:303 -#: src/irc/irc-commands.c:304 src/irc/irc-commands.c:305 -#: src/irc/irc-commands.c:306 src/irc/irc-commands.c:307 -#: src/irc/irc-commands.c:308 src/irc/irc-commands.c:309 -#: src/irc/irc-commands.c:310 src/irc/irc-commands.c:311 -#: src/irc/irc-commands.c:313 src/irc/irc-commands.c:314 -#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:316 -#: src/irc/irc-commands.c:317 src/irc/irc-commands.c:318 -#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:320 -#: src/irc/irc-commands.c:321 src/irc/irc-commands.c:322 -#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:324 -#: src/irc/irc-commands.c:325 src/irc/irc-commands.c:326 -#: src/irc/irc-commands.c:327 src/irc/irc-commands.c:328 -#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:330 -#: src/irc/irc-commands.c:331 src/irc/irc-commands.c:332 -#: src/irc/irc-commands.c:380 src/irc/irc-commands.c:381 -#: src/irc/irc-commands.c:382 src/irc/irc-commands.c:383 -#: src/irc/irc-commands.c:384 src/irc/irc-commands.c:385 -#: src/irc/irc-commands.c:491 +#: src/irc/irc-commands.c:307 src/irc/irc-commands.c:309 +#: src/irc/irc-commands.c:311 src/irc/irc-commands.c:313 +#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:317 +#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:321 +#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:325 +#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:331 +#: src/irc/irc-commands.c:333 src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:337 src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:341 src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:345 src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:349 src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:353 src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:357 src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:361 src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:365 src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:449 src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:453 src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:457 src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:569 msgid "a server message" msgstr "un message du serveur" -#: src/irc/irc-commands.c:312 +#: src/irc/irc-commands.c:327 msgid "user mode string" msgstr "chaine de mode utilisateur" -#: src/irc/irc-commands.c:333 +#: src/irc/irc-commands.c:369 msgid "away message" msgstr "message d'absence" -#: src/irc/irc-commands.c:334 +#: src/irc/irc-commands.c:371 msgid "userhost" msgstr "nom de machine utilisateur" -#: src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:373 msgid "ison" msgstr "est prsent" -#: src/irc/irc-commands.c:336 +#: src/irc/irc-commands.c:375 msgid "unaway" msgstr "non absent" -#: src/irc/irc-commands.c:337 +#: src/irc/irc-commands.c:377 msgid "now away" msgstr "maintenant absent" -#: src/irc/irc-commands.c:338 +#: src/irc/irc-commands.c:379 msgid "whois (registered nick)" msgstr "qui est (pseudo enregistr)" -#: src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:381 msgid "whois (user)" msgstr "qui est (utilisateur)" -#: src/irc/irc-commands.c:340 +#: src/irc/irc-commands.c:383 msgid "whois (server)" msgstr "qui est (serveur)" -#: src/irc/irc-commands.c:341 +#: src/irc/irc-commands.c:385 msgid "whois (operator)" msgstr "qui est (oprateur)" -#: src/irc/irc-commands.c:342 +#: src/irc/irc-commands.c:387 msgid "whowas" msgstr "qui tait-ce" -#: src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:389 msgid "end of /who list" msgstr "fin de /who list" -#: src/irc/irc-commands.c:344 +#: src/irc/irc-commands.c:391 msgid "whois (idle)" msgstr "qui est (inactif)" -#: src/irc/irc-commands.c:345 +#: src/irc/irc-commands.c:393 msgid "whois (end)" msgstr "qui est (fin)" -#: src/irc/irc-commands.c:346 +#: src/irc/irc-commands.c:395 msgid "whois (channels)" msgstr "qui est (canaux)" -#: src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:397 msgid "whois (identified user)" msgstr "qui est (utilisateur identifi)" -#: src/irc/irc-commands.c:348 +#: src/irc/irc-commands.c:399 msgid "/list start" msgstr "/list dbut" -#: src/irc/irc-commands.c:349 +#: src/irc/irc-commands.c:401 msgid "channel (for /list)" msgstr "canal (pour /list)" -#: src/irc/irc-commands.c:350 +#: src/irc/irc-commands.c:403 msgid "/list end" msgstr "/list fin" -#: src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:405 msgid "channel mode" msgstr "mode du canal" -#: src/irc/irc-commands.c:353 +#: src/irc/irc-commands.c:409 msgid "no topic for channel" msgstr "pas de titre pour le canal" -#: src/irc/irc-commands.c:354 +#: src/irc/irc-commands.c:411 msgid "topic of channel" msgstr "titre du canal" -#: src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:412 msgid "channel :topic" msgstr "canal :titre" -#: src/irc/irc-commands.c:356 +#: src/irc/irc-commands.c:413 msgid "" "channel: name of channel\n" "topic: topic of the channel" @@ -1069,47 +1069,47 @@ msgstr "" "canal: nom du canal\n" "titre: titre du canal" -#: src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:416 msgid "infos about topic (nick & date changed)" msgstr "infos sur le titre (utilisateur et date de changement)" -#: src/irc/irc-commands.c:362 +#: src/irc/irc-commands.c:418 msgid "inviting" msgstr "invitation" -#: src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:420 msgid "channel reop" msgstr "reop canal" -#: src/irc/irc-commands.c:364 +#: src/irc/irc-commands.c:422 msgid "end of channel reop list" msgstr "fin du reop canal" -#: src/irc/irc-commands.c:365 +#: src/irc/irc-commands.c:424 msgid "channel exception list" msgstr "liste d'exception de canal" -#: src/irc/irc-commands.c:366 +#: src/irc/irc-commands.c:426 msgid "end of channel exception list" msgstr "fin de liste d'exception de canal" -#: src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:428 msgid "server version" msgstr "version du serveur" -#: src/irc/irc-commands.c:368 +#: src/irc/irc-commands.c:430 msgid "who" msgstr "qui" -#: src/irc/irc-commands.c:369 +#: src/irc/irc-commands.c:432 msgid "list of nicks on channel" msgstr "liste des utilisateurs sur un canal" -#: src/irc/irc-commands.c:370 +#: src/irc/irc-commands.c:433 msgid "channel :[[@|+]nick ...]" msgstr "canal :[[@|+]pseudo ...]" -#: src/irc/irc-commands.c:371 +#: src/irc/irc-commands.c:434 msgid "" "channel: name of channel\n" "nick: nick on the channel" @@ -1117,243 +1117,243 @@ msgstr "" "canal: nom du canal\n" "pseudo: utilisateur sur le canal" -#: src/irc/irc-commands.c:374 +#: src/irc/irc-commands.c:437 msgid "links" msgstr "liens" -#: src/irc/irc-commands.c:375 +#: src/irc/irc-commands.c:439 msgid "end of /links list" msgstr "fin de /links list" -#: src/irc/irc-commands.c:376 +#: src/irc/irc-commands.c:441 msgid "end of /names list" msgstr "fin de la liste /names" -#: src/irc/irc-commands.c:377 +#: src/irc/irc-commands.c:443 msgid "banlist" msgstr "liste de bannissement" -#: src/irc/irc-commands.c:378 +#: src/irc/irc-commands.c:445 msgid "end of banlist" msgstr "fin de la liste de bannissement" -#: src/irc/irc-commands.c:379 +#: src/irc/irc-commands.c:447 msgid "end of /whowas list" msgstr "fin de /whowas list" -#: src/irc/irc-commands.c:386 +#: src/irc/irc-commands.c:461 msgid "you are now an IRC operator" msgstr "vous tes maintenant un oprateur IRC" -#: src/irc/irc-commands.c:387 +#: src/irc/irc-commands.c:463 msgid "rehashing" msgstr "rechargement" -#: src/irc/irc-commands.c:388 +#: src/irc/irc-commands.c:465 msgid "server local time" msgstr "heure locale du serveur" -#: src/irc/irc-commands.c:389 +#: src/irc/irc-commands.c:467 msgid "no such nick/channel" msgstr "pas de tel utilisateur/canal" -#: src/irc/irc-commands.c:391 +#: src/irc/irc-commands.c:469 msgid "no such server" msgstr "pas de tel serveur" -#: src/irc/irc-commands.c:393 +#: src/irc/irc-commands.c:471 msgid "no such channel" msgstr "pas de tel canal" -#: src/irc/irc-commands.c:395 +#: src/irc/irc-commands.c:473 msgid "cannot send to channel" msgstr "impossible d'envoyer au canal" -#: src/irc/irc-commands.c:397 +#: src/irc/irc-commands.c:475 msgid "too many channels" msgstr "trop de canaux" -#: src/irc/irc-commands.c:399 src/irc/irc-commands.c:401 +#: src/irc/irc-commands.c:477 src/irc/irc-commands.c:479 msgid "was no such nick" msgstr "n'y avait pas de tel utilisateur" -#: src/irc/irc-commands.c:403 +#: src/irc/irc-commands.c:481 msgid "no origin" msgstr "pas d'origine" -#: src/irc/irc-commands.c:405 +#: src/irc/irc-commands.c:483 msgid "no services" msgstr "pas de service" -#: src/irc/irc-commands.c:407 +#: src/irc/irc-commands.c:485 msgid "no recipient" msgstr "pas de destinataire" -#: src/irc/irc-commands.c:409 +#: src/irc/irc-commands.c:487 msgid "no text to send" msgstr "pas de texte envoyer" -#: src/irc/irc-commands.c:411 +#: src/irc/irc-commands.c:489 msgid "no toplevel" msgstr "pas de niveau suprieur" -#: src/irc/irc-commands.c:413 +#: src/irc/irc-commands.c:491 msgid "wilcard in toplevel domain" msgstr "caractre joker dans le domaine de niveau suprieur" -#: src/irc/irc-commands.c:415 +#: src/irc/irc-commands.c:493 msgid "unknown command" msgstr "commande inconnue" -#: src/irc/irc-commands.c:417 +#: src/irc/irc-commands.c:495 msgid "MOTD is missing" msgstr "MOTD est manquant" -#: src/irc/irc-commands.c:419 +#: src/irc/irc-commands.c:497 msgid "no administrative info" msgstr "pas d'information administrative" -#: src/irc/irc-commands.c:421 +#: src/irc/irc-commands.c:499 msgid "file error" msgstr "erreur de fichier" -#: src/irc/irc-commands.c:423 +#: src/irc/irc-commands.c:501 msgid "no nickname given" msgstr "pas d'utilisateur donn" -#: src/irc/irc-commands.c:425 +#: src/irc/irc-commands.c:503 msgid "erroneous nickname" msgstr "nom d'utilisateur erron" -#: src/irc/irc-commands.c:427 +#: src/irc/irc-commands.c:505 msgid "nickname already in use" msgstr "nom d'utilisateur dj en cours d'utilisation" -#: src/irc/irc-commands.c:429 +#: src/irc/irc-commands.c:507 msgid "nickname collision" msgstr "collision sur le nom d'utilisateur" -#: src/irc/irc-commands.c:431 +#: src/irc/irc-commands.c:509 msgid "not authorized to change nickname" msgstr "non autoris changer de pseudo" -#: src/irc/irc-commands.c:433 +#: src/irc/irc-commands.c:511 msgid "user not in channel" msgstr "utilisateur non prsent dans le canal" -#: src/irc/irc-commands.c:435 +#: src/irc/irc-commands.c:513 msgid "not on channel" msgstr "non prsent sur le canal" -#: src/irc/irc-commands.c:437 +#: src/irc/irc-commands.c:515 msgid "user already on channel" msgstr "utilisateur dj sur le canal" -#: src/irc/irc-commands.c:439 +#: src/irc/irc-commands.c:517 msgid "user not logged in" msgstr "utilisateur non enregistr" -#: src/irc/irc-commands.c:441 +#: src/irc/irc-commands.c:519 msgid "summon has been disabled" msgstr "summon a t dsactiv" -#: src/irc/irc-commands.c:443 +#: src/irc/irc-commands.c:521 msgid "users has been disabled" msgstr "users a t dsactiv" -#: src/irc/irc-commands.c:445 +#: src/irc/irc-commands.c:523 msgid "you are not registered" msgstr "vous n'tes pas enregistr" -#: src/irc/irc-commands.c:447 +#: src/irc/irc-commands.c:525 msgid "not enough parameters" msgstr "pas assez de paramtres" -#: src/irc/irc-commands.c:449 +#: src/irc/irc-commands.c:527 msgid "you may not register" msgstr "vous ne pouvez pas vous enregistrer" -#: src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:529 msgid "your host isn't among the privileged" msgstr "votre nom de machine n'est pas parmi les privilgis" -#: src/irc/irc-commands.c:453 +#: src/irc/irc-commands.c:531 msgid "password incorrect" msgstr "mot de passe incorrect" -#: src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:533 msgid "you are banned from this server" msgstr "vous tes banni de ce serveur" -#: src/irc/irc-commands.c:457 +#: src/irc/irc-commands.c:535 msgid "channel key already set" msgstr "cl du canal dj dfinie" -#: src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:537 msgid "forwarding to another channel" msgstr "redirection vers un autre canal" -#: src/irc/irc-commands.c:461 +#: src/irc/irc-commands.c:539 msgid "channel is already full" msgstr "le canal est dj plein" -#: src/irc/irc-commands.c:463 +#: src/irc/irc-commands.c:541 msgid "unknown mode char to me" msgstr "caractre de mode inconnu pour moi" -#: src/irc/irc-commands.c:465 +#: src/irc/irc-commands.c:543 msgid "cannot join channel (invite only)" msgstr "impossible de rejoindre le canal (invits seulement)" -#: src/irc/irc-commands.c:467 +#: src/irc/irc-commands.c:545 msgid "cannot join channel (banned from channel)" msgstr "impossible de rejoindre le canal (banni du canal)" -#: src/irc/irc-commands.c:469 +#: src/irc/irc-commands.c:547 msgid "cannot join channel (bad channel key)" msgstr "impossible de rejoindre le canal (mauvaise cl pour le canal)" -#: src/irc/irc-commands.c:471 +#: src/irc/irc-commands.c:549 msgid "bad channel mask" msgstr "mauvais masque de canal" -#: src/irc/irc-commands.c:473 +#: src/irc/irc-commands.c:551 msgid "channel doesn't support modes" msgstr "le canal ne supporte pas les modes" -#: src/irc/irc-commands.c:475 +#: src/irc/irc-commands.c:553 msgid "you're not an IRC operator" msgstr "vous n'tres pas oprateur IRC" -#: src/irc/irc-commands.c:477 +#: src/irc/irc-commands.c:555 msgid "you're not channel operator" msgstr "vous n'tes pas oprateur du canal" -#: src/irc/irc-commands.c:479 +#: src/irc/irc-commands.c:557 msgid "you can't kill a server!" msgstr "vous ne pouvez pas supprimer un serveur !" -#: src/irc/irc-commands.c:481 +#: src/irc/irc-commands.c:559 msgid "your connection is restricted!" msgstr "votre connexion est restreinte !" -#: src/irc/irc-commands.c:483 +#: src/irc/irc-commands.c:561 msgid "user is immune from kick/deop" msgstr "l'utilisateur est protg des kick/deop" -#: src/irc/irc-commands.c:485 +#: src/irc/irc-commands.c:563 msgid "no O-lines for your host" msgstr "pas de O-lines pour votre nom de machine" -#: src/irc/irc-commands.c:487 +#: src/irc/irc-commands.c:565 msgid "unknown mode flag" msgstr "drapeau de mode inconnu" -#: src/irc/irc-commands.c:489 +#: src/irc/irc-commands.c:567 msgid "can't change mode for other users" msgstr "impossible de changer le mode pour les autres utilisateurs" -#: src/irc/irc-commands.c:492 +#: src/irc/irc-commands.c:571 msgid "whois (secure connection)" msgstr "qui est (connexion scurise)" @@ -1401,7 +1401,7 @@ msgstr "inconnu" msgid "%s: using local hostname \"%s\"\n" msgstr "%s: utilisation du nom de machine local \"%s\"\n" -#: src/irc/irc-send.c:177 src/common/command.c:814 +#: src/irc/irc-send.c:177 src/common/command.c:816 #, c-format msgid "%s cannot find nick for sending message\n" msgstr "%s impossible de trouver le pseudo pour envoyer le message\n" @@ -1419,8 +1419,8 @@ msgstr "" #: src/irc/irc-send.c:489 src/irc/irc-send.c:501 src/irc/irc-send.c:519 #: src/irc/irc-send.c:1184 src/irc/irc-send.c:1309 src/irc/irc-send.c:1842 -#: src/common/command.c:1605 src/common/command.c:2103 -#: src/common/command.c:2242 +#: src/common/command.c:1607 src/common/command.c:2105 +#: src/common/command.c:2244 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s nombre de paramtres erron pour la commande \"%s\"\n" @@ -1759,11 +1759,11 @@ msgstr "%s%s %s(%s%s@%s%s)%s tait %s\n" msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s inactivit: " -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "days" msgstr "jours" -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "day" msgstr "jour" @@ -2140,7 +2140,7 @@ msgstr "" "%s extension %s: impossible d'ajouter la fonction pour la commande IRC \"%s" "\" (mmoire insuffisante)\n" -#: src/plugins/plugins.c:248 +#: src/plugins/plugins.c:250 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (already exists)\n" @@ -2148,7 +2148,7 @@ msgstr "" "%s extension %s: impossible d'ajouter la fonction pour la commande \"%s" "\" (existe dj)\n" -#: src/plugins/plugins.c:285 +#: src/plugins/plugins.c:288 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n" @@ -2156,19 +2156,19 @@ msgstr "" "%s extension %s: impossible d'ajouter la fonction pour la commande \"%s" "\" (mmoire insuffisante)\n" -#: src/plugins/plugins.c:532 +#: src/plugins/plugins.c:535 #, 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:543 +#: src/plugins/plugins.c:546 #, 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:554 +#: src/plugins/plugins.c:557 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" @@ -2176,7 +2176,7 @@ msgstr "" "%s impossible de charger l'extension \"%s\": une extension avec le mme nom " "existe dj\n" -#: src/plugins/plugins.c:566 +#: src/plugins/plugins.c:569 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" @@ -2184,7 +2184,7 @@ msgstr "" "%s le symbole \"plugin_description\" est introuvable dans l'extension \"%s" "\", chec de chargement\n" -#: src/plugins/plugins.c:577 +#: src/plugins/plugins.c:580 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" @@ -2192,7 +2192,7 @@ msgstr "" "%s le symbole \"plugin_version\" est introuvable dans l'extension \"%s\", " "chec de chargement\n" -#: src/plugins/plugins.c:588 +#: src/plugins/plugins.c:591 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " @@ -2201,32 +2201,32 @@ msgstr "" "%s la fonction \"weechat_plugin_init\" est introuvable dans l'extension \"%s" "\", chec de chargement\n" -#: src/plugins/plugins.c:642 +#: src/plugins/plugins.c:645 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "Initialisation de l'extension \"%s\" %s\n" -#: src/plugins/plugins.c:650 +#: src/plugins/plugins.c:653 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "%s impossible d'initialiser l'extension \"%s\"\n" -#: src/plugins/plugins.c:661 +#: src/plugins/plugins.c:664 #, 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:669 +#: src/plugins/plugins.c:672 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "Extension \"%s\" (%s) charge.\n" -#: src/plugins/plugins.c:809 +#: src/plugins/plugins.c:838 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "Extension \"%s\" dcharge.\n" -#: src/plugins/plugins.c:815 +#: src/plugins/plugins.c:844 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "%s extension \"%s\" non trouve\n" @@ -2509,7 +2509,7 @@ msgstr "rafraichir l'cran" msgid "grab a key" msgstr "capturer une touche" -#: src/gui/gui-keyboard.c:434 src/common/command.c:2118 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2120 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s impossible de crer la touche \"%s\"\n" @@ -2651,19 +2651,19 @@ msgstr "afficher l'aide sur les commandes" msgid "[command]" msgstr "[commande]" -#: src/common/command.c:85 +#: src/common/command.c:86 msgid "command: name of a WeeChat or IRC command" msgstr "commande: nom d'une commande WeeChat ou IRC" -#: src/common/command.c:87 +#: src/common/command.c:88 msgid "show buffer command history" msgstr "affiche l'historique des commandes du tampon" -#: src/common/command.c:88 +#: src/common/command.c:89 msgid "[clear | value]" msgstr "[clear | valeur]" -#: src/common/command.c:89 +#: src/common/command.c:90 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2671,15 +2671,15 @@ msgstr "" "clear: effacer l'historique\n" "valeur: nombre d'entres dans l'historique afficher" -#: src/common/command.c:92 +#: src/common/command.c:93 msgid "ignore IRC messages and/or hosts" msgstr "ignorer des messages IRC et/ou des masques" -#: src/common/command.c:93 +#: src/common/command.c:94 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[masque [[type | commande] [canal [serveur]]]]" -#: src/common/command.c:94 +#: src/common/command.c:95 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2699,41 +2699,40 @@ msgstr "" "Pour chaque paramtre, '*' signifie tou(te)s.\n" "Sans paramtre, la commande /ignore liste les ignore dfinis." -#: src/common/command.c:102 +#: src/common/command.c:104 msgid "bind/unbind keys" msgstr "associer/librer des touches" -#: src/common/command.c:103 +#: src/common/command.c:105 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "[touche fonction/commande] [unbind touche] [functions] [reset -yes]" -#: src/common/command.c:104 +#: src/common/command.c:106 msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" -"unbind: unbind a key (if \"all\", default bindings are restored)\n" +"unbind: unbind a key\n" "functions: list internal functions for key bindings\n" "reset: restore bindings to the default values and delete ALL personal " "binding (use carefully!)" msgstr "" "touche: associer cette touche une fonction interne ou une commande " "(commenant par \"/\")\n" -"unbind: supprimer l'association une touche (si \"all\", toutes les " -"associations de touches par dfaut sont restaures)\n" +"unbind: supprimer l'association une touche\n" "functions: lister la liste des fonctions internes pour les associations de " "touches\n" "reset: restaure les touches aux valeurs par dfaut et supprime TOUTES les " "touches personnelles (utiliser avec prcaution !)" -#: src/common/command.c:109 +#: src/common/command.c:111 msgid "list/load/unload plugins" msgstr "liste/charge/dcharge des extensions" -#: src/common/command.c:110 +#: src/common/command.c:112 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[load fichier] | [autoload] | [reload] | [unload]" -#: src/common/command.c:111 +#: src/common/command.c:113 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2743,11 +2742,11 @@ msgstr "" "\n" "Sans paramtre, la commande /plugin liste toutes les extensions charges." -#: src/common/command.c:114 +#: src/common/command.c:116 msgid "list, add or remove servers" msgstr "liste, ajoute ou retire des serveurs" -#: src/common/command.c:115 +#: src/common/command.c:117 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2759,7 +2758,7 @@ msgstr "" "nom_utilisateur] [-realname nom_rel] [-command commande] [-autojoin canal[," "canal]] ] | [del nom_serveur]" -#: src/common/command.c:120 +#: src/common/command.c:122 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2785,27 +2784,27 @@ msgstr "" "nom_utilisateur: nom d'utilisateur\n" "nom_rel: nom rel de l'utilisateur" -#: src/common/command.c:132 +#: src/common/command.c:134 msgid "save config to disk" msgstr "sauvegarder la configuration sur disque" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "[file]" msgstr "[fichier]" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "file: filename for writing config" msgstr "fichier: fichier pour sauvegarder la configuration" -#: src/common/command.c:135 +#: src/common/command.c:137 msgid "set config parameters" msgstr "modifier des paramtres de configuration" -#: src/common/command.c:136 +#: src/common/command.c:138 msgid "[option [ = value]]" msgstr "[option [ = valeur]]" -#: src/common/command.c:137 +#: src/common/command.c:139 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2815,27 +2814,27 @@ msgstr "" "donne, alors l'aide sur l'option est affiche)\n" "valeur: valeur pour l'option" -#: src/common/command.c:141 +#: src/common/command.c:143 msgid "remove an alias" msgstr "supprimer un alias" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name" msgstr "nom_alias" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name: name of alias to remove" msgstr "nom_alias: nom de l'alias supprimer" -#: src/common/command.c:144 +#: src/common/command.c:146 msgid "unignore IRC messages and/or hosts" msgstr "supprimer le ignore des messages IRC et/ou des masques" -#: src/common/command.c:145 +#: src/common/command.c:147 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[nombre | [masque [[type | commande] [canal [serveur]]]]]" -#: src/common/command.c:146 +#: src/common/command.c:148 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2858,33 +2857,35 @@ msgstr "" "Pour chaque paramtre, '*' signifie tou(te)s.\n" "Sans paramtre, /ignore liste les ignore dfinis." -#: src/common/command.c:155 +#: src/common/command.c:158 msgid "upgrade WeeChat without disconnecting from servers" msgstr "mettre jour WeeChat sans se dconnecter des serveurs" -#: src/common/command.c:159 +#: src/common/command.c:160 msgid "show WeeChat uptime" msgstr "montrer l'uptime de WeeChat" -#: src/common/command.c:160 +#: src/common/command.c:161 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:161 +#: src/common/command.c:162 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:163 +#: src/common/command.c:164 msgid "manage windows" msgstr "gestion des fentres" -#: src/common/command.c:164 +#: src/common/command.c:165 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" -msgstr "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [ptc] | resize pct | merge [all]]" +msgstr "" +"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " +"[ptc] | resize pct | merge [all]]" -#: src/common/command.c:166 +#: src/common/command.c:167 #, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2914,34 +2915,38 @@ msgstr "" "right: saute la fentre droite\n" "splith: clate la fentre en deux horizontalement\n" "splitv: clate la fentre en deux verticalement\n" -"resize: redimensionne une fentre, la nouvelle taille est <pct>%% de la fentre parent\n" +"resize: redimensionne une fentre, la nouvelle taille est <pct>%% de la " +"fentre parent\n" "merge: fusionne la fentre avec une autre\n" "\n" -"Pour splith et splitv, pct est un pourcentage qui reprsente la taille de la nouvelle fentre, calcule par rapport la taille de la fentre courante. Par exemple 25 signifie crer une fentre qui a pour taille: taille_courante / 4" +"Pour splith et splitv, pct est un pourcentage qui reprsente la taille de la " +"nouvelle fentre, calcule par rapport la taille de la fentre courante. " +"Par exemple 25 signifie crer une fentre qui a pour taille: " +"taille_courante / 4" -#: src/common/command.c:323 +#: src/common/command.c:325 #, c-format msgid "%s alias or command \"%s\" already exists!\n" msgstr "%s l'alias ou la commande \"%s\" existe dj !\n" -#: src/common/command.c:333 +#: src/common/command.c:335 #, c-format msgid "%s alias cannot run another alias!\n" msgstr "%s l'alias ne peut pas lancer un autre alias !\n" -#: src/common/command.c:340 +#: src/common/command.c:342 #, c-format msgid "%s target command \"/%s\" does not exist!\n" msgstr "%s la commande cible \"/%s\" n'existe pas !\n" -#: src/common/command.c:578 +#: src/common/command.c:580 #, 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:590 +#: src/common/command.c:592 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -2950,19 +2955,19 @@ msgstr "" "%s nombre de paramtres incorrect pour la commande %s \"%s\" (attendu: entre " "%d et %d paramtre%s)\n" -#: src/common/command.c:612 src/common/command.c:681 +#: src/common/command.c:614 src/common/command.c:683 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s la commande \"%s\" a chou\n" -#: src/common/command.c:637 +#: src/common/command.c:639 #, 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:649 +#: src/common/command.c:651 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -2971,283 +2976,283 @@ msgstr "" "%s nombre de paramtres incorrect pour la commande IRC \"%s\" (attendu: " "entre %d et %d paramtre%s)\n" -#: src/common/command.c:664 +#: src/common/command.c:666 #, 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:725 +#: src/common/command.c:727 #, 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:859 +#: src/common/command.c:861 msgid "This window is not a channel!\n" msgstr "Cette fentre n'est pas un canal !\n" -#: src/common/command.c:890 src/common/command.c:921 src/common/command.c:1036 +#: src/common/command.c:892 src/common/command.c:923 src/common/command.c:1038 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s paramtres manquants pour la commande \"%s\"\n" -#: src/common/command.c:897 +#: src/common/command.c:899 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "%s l'alias ne peut pas commencer par \"/\"\n" -#: src/common/command.c:906 +#: src/common/command.c:908 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" cr\n" -#: src/common/command.c:912 +#: src/common/command.c:914 #, 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:932 +#: src/common/command.c:934 msgid "List of aliases:\n" msgstr "Liste des alias:\n" -#: src/common/command.c:946 +#: src/common/command.c:948 msgid "No alias defined.\n" msgstr "Aucun alias dfini.\n" -#: src/common/command.c:965 +#: src/common/command.c:967 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServeur: %s%s\n" -#: src/common/command.c:970 +#: src/common/command.c:972 #, c-format msgid "%snot connected\n" msgstr "%snon connect\n" -#: src/common/command.c:974 +#: src/common/command.c:976 #, 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:983 +#: src/common/command.c:985 #, 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:992 +#: src/common/command.c:994 #, c-format msgid "%sunknown\n" msgstr "%sinconnu\n" -#: src/common/command.c:1015 +#: src/common/command.c:1017 msgid "Opened buffers:\n" msgstr "Tampons ouverts:\n" -#: src/common/command.c:1059 +#: src/common/command.c:1061 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s numro de buffer incorrect\n" -#: src/common/command.c:1075 +#: src/common/command.c:1077 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s impossible de fermer le tampon unique\n" -#: src/common/command.c:1085 +#: src/common/command.c:1087 #, 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:1134 +#: src/common/command.c:1136 msgid "Notify levels: " msgstr "Niveaux de notification: " -#: src/common/command.c:1163 src/common/command.c:1211 +#: src/common/command.c:1165 src/common/command.c:1213 #, 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:1172 +#: src/common/command.c:1174 #, 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:1181 +#: src/common/command.c:1183 #, 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:1191 +#: src/common/command.c:1193 msgid "(hotlist: never)\n" msgstr "(hotlist: jamais)\n" -#: src/common/command.c:1194 +#: src/common/command.c:1196 msgid "(hotlist: highlights)\n" msgstr "(hotlist: highlights)\n" -#: src/common/command.c:1197 +#: src/common/command.c:1199 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: highlights + messages)\n" -#: src/common/command.c:1200 +#: src/common/command.c:1202 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "(hotlist: highlights + messages + join/part (tous))\n" -#: src/common/command.c:1299 +#: src/common/command.c:1301 #, c-format msgid "Charsets for server %s%s%s: " msgstr "Jeux de caractres pour le serveur %s%s%s: " -#: src/common/command.c:1307 +#: src/common/command.c:1309 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "Jeux de caractres pour le canal %s%s%s: " -#: src/common/command.c:1315 +#: src/common/command.c:1317 #, c-format msgid "Charsets for private %s%s%s: " msgstr "Jeux de caractres pour le priv %s%s%s: " -#: src/common/command.c:1343 src/common/command.c:1373 -#: src/common/command.c:1403 +#: src/common/command.c:1345 src/common/command.c:1375 +#: src/common/command.c:1405 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr " (hrit: \"%s%s%s\")" -#: src/common/command.c:1467 src/common/command.c:1490 -#: src/common/command.c:1624 src/common/command.c:2235 -#: src/common/command.c:3312 src/common/command.c:3355 +#: src/common/command.c:1469 src/common/command.c:1492 +#: src/common/command.c:1626 src/common/command.c:2237 +#: src/common/command.c:3301 src/common/command.c:3344 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "%s option inconnue pour la commande \"%s\"\n" -#: src/common/command.c:1520 +#: src/common/command.c:1522 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s dj connect au serveur \"%s\" !\n" -#: src/common/command.c:1528 +#: src/common/command.c:1530 #, 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:1546 src/common/command.c:1669 +#: src/common/command.c:1548 src/common/command.c:1671 #, c-format msgid "%s server not found\n" msgstr "%s serveur non trouv\n" -#: src/common/command.c:1653 +#: src/common/command.c:1655 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s non connect au serveur \"%s\" !\n" -#: src/common/command.c:1661 +#: src/common/command.c:1663 msgid "Auto-reconnection is cancelled\n" msgstr "La reconnexion automatique est annule\n" -#: src/common/command.c:1695 src/common/weechat.c:400 +#: src/common/command.c:1697 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "Commandes internes %s :\n" -#: src/common/command.c:1705 src/common/weechat.c:420 +#: src/common/command.c:1707 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "Commandes IRC :\n" -#: src/common/command.c:1719 +#: src/common/command.c:1721 msgid "Plugin commands:\n" msgstr "Commandes d'extension :\n" -#: src/common/command.c:1835 +#: src/common/command.c:1837 #, 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:1901 +#: src/common/command.c:1903 #, 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:1935 +#: src/common/command.c:1937 msgid "List of ignore:\n" msgstr "Liste des ignore:\n" -#: src/common/command.c:1952 +#: src/common/command.c:1954 msgid "No ignore defined.\n" msgstr "Aucun ignore dfini.\n" -#: src/common/command.c:1978 +#: src/common/command.c:1980 msgid "New ignore:" msgstr "Nouveau ignore:" -#: src/common/command.c:1998 +#: src/common/command.c:2000 #, c-format msgid "New key binding: %s" msgstr "Nouvelle touche: %s" -#: src/common/command.c:2035 +#: src/common/command.c:2037 msgid "Key bindings:\n" msgstr "Associations de touches:\n" -#: src/common/command.c:2049 +#: src/common/command.c:2051 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Touche \"%s\" supprime\n" -#: src/common/command.c:2055 +#: src/common/command.c:2057 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "%s impossible de supprimer la touche \"%s\"\n" -#: src/common/command.c:2063 src/common/weechat.c:452 +#: src/common/command.c:2065 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "Fonctions internes pour les touches:\n" -#: src/common/command.c:2083 +#: src/common/command.c:2085 msgid "Default key bindings restored\n" msgstr "Touches par dfaut restaures\n" -#: src/common/command.c:2089 +#: src/common/command.c:2091 #, 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:2148 +#: src/common/command.c:2150 msgid "Plugins loaded:\n" msgstr "Extensions charges :\n" -#: src/common/command.c:2164 +#: src/common/command.c:2166 msgid " message handlers:\n" msgstr " fonctions de message :\n" -#: src/common/command.c:2173 +#: src/common/command.c:2175 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:2180 +#: src/common/command.c:2182 msgid " (no message handler)\n" msgstr " (aucunne fonction de message)\n" -#: src/common/command.c:2185 +#: src/common/command.c:2187 msgid " command handlers:\n" msgstr " commandes :\n" -#: src/common/command.c:2206 +#: src/common/command.c:2208 msgid " (no command handler)\n" msgstr " (aucune commande)\n" -#: src/common/command.c:2212 +#: src/common/command.c:2214 msgid " (no plugin)\n" msgstr " (aucune extension)\n" -#: src/common/command.c:2248 +#: src/common/command.c:2250 msgid "" "Command \"plugin\" is not available, WeeChat was built without plugins " "support.\n" @@ -3255,31 +3260,31 @@ msgstr "" "La commande \"plugin\" n'est pas disponible, WeeChat a t compil sans le " "support des extensions.\n" -#: src/common/command.c:2299 +#: src/common/command.c:2301 msgid "No server.\n" msgstr "Pas de serveur.\n" -#: src/common/command.c:2310 +#: src/common/command.c:2312 #, c-format msgid "Server '%s' not found.\n" msgstr "Serveur '%s' non trouv.\n" -#: src/common/command.c:2322 +#: src/common/command.c:2324 #, 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:2330 +#: src/common/command.c:2332 #, 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:2349 +#: src/common/command.c:2351 #, 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:2357 +#: src/common/command.c:2359 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3288,179 +3293,179 @@ msgstr "" "%s vous ne pouvez pas supprimer le server \"%s\" car vous tes connect " "dessus. Essayez /disconnect %s avant.\n" -#: src/common/command.c:2377 +#: src/common/command.c:2379 #, 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:2396 +#: src/common/command.c:2398 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s paramtres manquants pour la commande \"%s\"\n" -#: src/common/command.c:2406 +#: src/common/command.c:2408 #, 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:2435 src/common/command.c:2463 -#: src/common/command.c:2476 src/common/command.c:2502 +#: src/common/command.c:2437 src/common/command.c:2465 +#: src/common/command.c:2478 src/common/command.c:2504 #, 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:2448 +#: src/common/command.c:2450 #, 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:2489 +#: src/common/command.c:2491 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s commande manquante pour le paramtre \"%s\"\n" -#: src/common/command.c:2525 +#: src/common/command.c:2527 #, c-format msgid "Server %s%s%s created\n" msgstr "Serveur %s%s%s cr\n" -#: src/common/command.c:2534 +#: src/common/command.c:2536 #, c-format msgid "%s unable to create server\n" msgstr "%s impossible de crer le serveur\n" -#: src/common/command.c:2593 +#: src/common/command.c:2595 msgid "(unknown)" msgstr "(inconnu)" -#: src/common/command.c:2616 +#: src/common/command.c:2618 #, c-format msgid "%s(password hidden) " msgstr "%s(mot de passe cach) " -#: src/common/command.c:2712 +#: src/common/command.c:2714 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s serveur \"%s\" non trouv\n" -#: src/common/command.c:2745 src/common/command.c:2793 +#: src/common/command.c:2747 src/common/command.c:2795 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s option de configuration \"%s\" non trouve\n" -#: src/common/command.c:2750 src/common/command.c:2785 +#: src/common/command.c:2752 src/common/command.c:2787 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s valeur incorrecte pour l'option \"%s\"\n" -#: src/common/command.c:2766 +#: src/common/command.c:2768 #, 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:2876 +#: src/common/command.c:2878 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Aucune option de configuration trouve avec \"%s\"\n" -#: src/common/command.c:2879 +#: src/common/command.c:2881 msgid "No config option found\n" msgstr "Aucune option de configuration trouve\n" -#: src/common/command.c:2886 +#: src/common/command.c:2888 #, c-format msgid "%sDetail:\n" msgstr "%sDtail :\n" -#: src/common/command.c:2891 src/common/weechat.c:336 +#: src/common/command.c:2893 src/common/weechat.c:336 #, c-format msgid " . type boolean (values: 'on' or 'off')\n" msgstr " . type boolen (valeurs: 'on' ou 'off')\n" -#: src/common/command.c:2892 src/common/command.c:2915 -#: src/common/command.c:2921 src/common/command.c:2927 +#: src/common/command.c:2894 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/command.c:2929 #: src/common/weechat.c:337 src/common/weechat.c:360 src/common/weechat.c:366 #: src/common/weechat.c:372 #, c-format msgid " . default value: '%s'\n" msgstr " . valeur par dfaut: '%s'\n" -#: src/common/command.c:2897 src/common/weechat.c:342 +#: src/common/command.c:2899 src/common/weechat.c:342 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr " . type entier (valeurs: entre %d et %d)\n" -#: src/common/command.c:2900 src/common/weechat.c:345 +#: src/common/command.c:2902 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr " . valeur par dfaut: %d\n" -#: src/common/command.c:2904 src/common/weechat.c:349 +#: src/common/command.c:2906 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr " . type chane (valeurs: " -#: src/common/command.c:2917 src/common/command.c:2923 -#: src/common/command.c:2929 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2919 src/common/command.c:2925 +#: src/common/command.c:2931 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "vide" -#: src/common/command.c:2920 src/common/weechat.c:365 +#: src/common/command.c:2922 src/common/weechat.c:365 #, c-format 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:2926 src/common/weechat.c:371 +#: src/common/command.c:2928 src/common/weechat.c:371 #, c-format msgid " . type string (any string)\n" msgstr " . type chane (toute chane)\n" -#: src/common/command.c:2932 src/common/weechat.c:377 +#: src/common/command.c:2934 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr " . description: %s\n" -#: src/common/command.c:2943 +#: src/common/command.c:2945 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "option(s) de configuration trouve(s) avec \"%s\"\n" -#: src/common/command.c:2946 +#: src/common/command.c:2948 msgid "config option(s) found\n" msgstr "option(s) de configuration trouve(s)\n" -#: src/common/command.c:2970 +#: src/common/command.c:2972 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias ou commande \"%s\" non trouv\n" -#: src/common/command.c:2980 +#: src/common/command.c:2982 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" supprim\n" -#: src/common/command.c:3036 +#: src/common/command.c:3038 msgid "ignore were removed.\n" msgstr "ignore ont t supprims.\n" -#: src/common/command.c:3038 +#: src/common/command.c:3040 msgid "ignore was removed.\n" msgstr "ignore a t supprim.\n" -#: src/common/command.c:3043 +#: src/common/command.c:3045 #, c-format msgid "%s no ignore found\n" msgstr "%s aucun ignore trouv\n" -#: src/common/command.c:3075 +#: src/common/command.c:3077 #, 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:3085 +#: src/common/command.c:3087 #, c-format msgid "" "%s can't upgrade: connection to at least one SSL server is active (should be " @@ -3469,35 +3474,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:3101 +#: src/common/command.c:3103 msgid "Upgrading WeeChat...\n" msgstr "Mise jour de WeeChat...\n" -#: src/common/command.c:3108 +#: src/common/command.c:3110 #, 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:3146 +#: src/common/command.c:3135 #, 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:3182 +#: src/common/command.c:3171 #, 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:3196 +#: src/common/command.c:3185 #, 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:3236 +#: src/common/command.c:3225 msgid "Opened windows:\n" msgstr "Fentres ouvertes:\n" -#: src/common/command.c:3323 +#: src/common/command.c:3312 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3565,7 +3570,7 @@ msgstr "**** Dbut du log " msgid "**** End of log " msgstr "**** Fin du log " -#: src/common/session.c:451 +#: src/common/session.c:453 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" @@ -3573,7 +3578,7 @@ msgstr "" "Dernire opration avec le fichier de session en position %ld, lecture de %d " "octets\n" -#: src/common/session.c:456 +#: src/common/session.c:458 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3584,284 +3589,284 @@ msgstr "" "dveloppeurs WeeChat pour du support.\n" "Faites attention, des infos prives peuvent se trouver dans ces fichiers.\n" -#: src/common/session.c:480 src/common/session.c:514 src/common/session.c:571 -#: src/common/session.c:612 +#: src/common/session.c:482 src/common/session.c:516 src/common/session.c:573 +#: src/common/session.c:614 #, c-format msgid "wrong type in file (expected: %d, read: %d)" msgstr "type erron dans le fichier (attendu: %d, lu: %d)" -#: src/common/session.c:583 src/common/session.c:624 +#: src/common/session.c:585 src/common/session.c:626 msgid "invalid length for a buffer" msgstr "longueur invalide pour une zone" -#: src/common/session.c:648 +#: src/common/session.c:650 msgid "object read error" msgstr "erreur de lecture de l'objet" -#: src/common/session.c:653 +#: src/common/session.c:655 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "objet erron (attendu: %d, lu: %d)" -#: src/common/session.c:663 +#: src/common/session.c:665 msgid "type read error" msgstr "erreur de lecture du type" -#: src/common/session.c:668 +#: src/common/session.c:670 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "type erron (attendu: %d, lu: %d)" -#: src/common/session.c:753 +#: src/common/session.c:755 msgid "server name not found" msgstr "nom de serveur non trouv" -#: src/common/session.c:758 +#: src/common/session.c:760 #, c-format msgid "session: loading server \"%s\"\n" msgstr "session: chargement du serveur \"%s\"\n" -#: src/common/session.c:762 +#: src/common/session.c:764 msgid "server found, updating values\n" msgstr "serveur trouv, mise jour des valeurs\n" -#: src/common/session.c:765 +#: src/common/session.c:767 msgid "server not found, creating new one\n" msgstr "serveur non trouv, cration d'un nouveau\n" -#: src/common/session.c:770 +#: src/common/session.c:772 msgid "can't create new server" msgstr "impossible de crer un nouveau serveur" -#: src/common/session.c:784 +#: src/common/session.c:786 msgid "unexpected end of file (reading server)" msgstr "fin de fichier inattendue (en lecture d'un serveur)" -#: src/common/session.c:872 +#: src/common/session.c:874 msgid "gnutls init error" msgstr "erreur d'initialisation gnutls" -#: src/common/session.c:889 +#: src/common/session.c:891 msgid "gnutls handshake failed" msgstr "le handshake gnutls a chou" -#: src/common/session.c:932 +#: src/common/session.c:934 #, c-format msgid "session: warning: ignoring value from server (object id: %d)\n" msgstr "session: attention: valeur ignore pour un serveur (id objet: %d)\n" -#: src/common/session.c:954 +#: src/common/session.c:956 msgid "channel found without server" msgstr "canal trouv sans serveur" -#: src/common/session.c:961 +#: src/common/session.c:963 msgid "channel type not found" msgstr "type de canal non trouv" -#: src/common/session.c:969 +#: src/common/session.c:971 msgid "channel name not found" msgstr "nom de canal non trouv" -#: src/common/session.c:974 +#: src/common/session.c:976 #, c-format msgid "session: loading channel \"%s\"\n" msgstr "session: chargement du canal \"%s\"\n" -#: src/common/session.c:982 +#: src/common/session.c:984 msgid "can't create new channel" msgstr "impossible de crer un nouveau canal" -#: src/common/session.c:992 +#: src/common/session.c:994 msgid "unexpected end of file (reading channel)" msgstr "fin de fichier inattendue (en lecture d'un canal)" -#: src/common/session.c:1022 +#: src/common/session.c:1024 #, c-format msgid "session: warning: ignoring value from channel (object id: %d)\n" msgstr "session: attention: valeur ignore pour un canal (id objet: %d)\n" -#: src/common/session.c:1045 +#: src/common/session.c:1047 msgid "nick found without channel" msgstr "pseudo non trouv pour le canal" -#: src/common/session.c:1053 +#: src/common/session.c:1055 msgid "nick name not found" msgstr "pseudo non trouv" -#: src/common/session.c:1063 +#: src/common/session.c:1065 msgid "can't create new nick" msgstr "impossible de crer un nouveau pseudo" -#: src/common/session.c:1073 +#: src/common/session.c:1075 msgid "unexpected end of file (reading nick)" msgstr "fin de fichier inattendue (en lecture d'un pseudo)" -#: src/common/session.c:1089 +#: src/common/session.c:1091 #, c-format msgid "session: warning: ignoring value from nick (object id: %d)\n" msgstr "session: attention: valeur ignore pour un pseudo (id objet: %d)\n" -#: src/common/session.c:1115 +#: src/common/session.c:1117 msgid "can't create new DCC" msgstr "impossible de crer un nouveau DCC" -#: src/common/session.c:1119 +#: src/common/session.c:1121 msgid "session: loading DCC\n" msgstr "session: chargement du DCC\n" -#: src/common/session.c:1129 +#: src/common/session.c:1131 msgid "unexpected end of file (reading DCC)" msgstr "fin de fichier inattendue (en lecture d'un DCC)" -#: src/common/session.c:1148 +#: src/common/session.c:1150 msgid "server not found for DCC" msgstr "serveur non trouv pour le DCC" -#: src/common/session.c:1157 +#: src/common/session.c:1159 msgid "DCC with channel but without server" msgstr "DCC avec un canal mais sans serveur" -#: src/common/session.c:1169 +#: src/common/session.c:1171 msgid "channel not found for DCC" msgstr "canal non trouv pour le DCC" -#: src/common/session.c:1243 +#: src/common/session.c:1245 #, c-format msgid "session: warning: ignoring value from DCC (object id: %d)\n" msgstr "session: attention: valeur ignore pour un DCC (id objet: %d)\n" -#: src/common/session.c:1263 +#: src/common/session.c:1265 msgid "session: loading buffer history\n" msgstr "session: chargement de l'historique du tampon\n" -#: src/common/session.c:1265 +#: src/common/session.c:1267 msgid "session: loading global history\n" msgstr "session: chargement de l'historique global\n" -#: src/common/session.c:1273 +#: src/common/session.c:1275 msgid "unexpected end of file (reading history)" msgstr "fin de fichier inattendue (en lecture de l'historique)" -#: src/common/session.c:1293 +#: src/common/session.c:1295 #, c-format msgid "session: warning: ignoring value from history (object id: %d)\n" msgstr "session: attention: valeur ignore pour un historique (id objet: %d)\n" -#: src/common/session.c:1319 +#: src/common/session.c:1321 msgid "server name not found for buffer" msgstr "nom de serveur non trouve pour le tampon" -#: src/common/session.c:1327 +#: src/common/session.c:1329 msgid "channel name not found for buffer" msgstr "nom de canal non trouv pour un tampon" -#: src/common/session.c:1334 +#: src/common/session.c:1336 msgid "dcc flag not found for buffer" msgstr "drapeau dcc non trouv pour un tampon" -#: src/common/session.c:1339 +#: src/common/session.c:1341 #, c-format msgid "session: loading buffer (server: %s, channel: %s, dcc: %d)\n" msgstr "session: chargement du tampon (serveur: %s, canal: %s, dcc: %d)\n" -#: src/common/session.c:1350 +#: src/common/session.c:1352 msgid "server not found for buffer" msgstr "serveur non trouv pour le tampon" -#: src/common/session.c:1360 +#: src/common/session.c:1362 msgid "channel not found for buffer" msgstr "canal non trouv pour le tampon" -#: src/common/session.c:1368 +#: src/common/session.c:1370 msgid "can't create new buffer" msgstr "impossible de crer un nouveau tampon" -#: src/common/session.c:1381 +#: src/common/session.c:1383 msgid "unexpected end of file (reading buffer)" msgstr "fin de fichier inattendue (en lecture d'un tampon)" -#: src/common/session.c:1391 +#: src/common/session.c:1393 #, c-format msgid "session: warning: ignoring value from buffer (object id: %d)\n" msgstr "session: attention: valeur ignore pour un pseudo (id objet: %d)\n" -#: src/common/session.c:1413 +#: src/common/session.c:1415 msgid "line found without buffer" msgstr "ligne trouve sans tampon" -#: src/common/session.c:1421 +#: src/common/session.c:1423 msgid "can't create new line" msgstr "impossible de crer une nouvelle ligne" -#: src/common/session.c:1431 +#: src/common/session.c:1433 msgid "unexpected end of file (reading line)" msgstr "fin de fichier inattendue (en lecture d'une ligne)" -#: src/common/session.c:1462 +#: src/common/session.c:1464 #, c-format msgid "session: warning: ignoring value from line (object id: %d)\n" msgstr "session: attention: valeur ignore pour une ligne (id objet: %d)\n" -#: src/common/session.c:1492 +#: src/common/session.c:1494 msgid "session file not found" msgstr "fichier de session non trouv" -#: src/common/session.c:1499 +#: src/common/session.c:1501 msgid "signature not found" msgstr "signature non trouve" -#: src/common/session.c:1504 +#: src/common/session.c:1506 msgid "bad session signature" msgstr "signature de session errone" -#: src/common/session.c:1515 +#: src/common/session.c:1517 msgid "object id not found" msgstr "id objet non trouv" -#: src/common/session.c:1523 +#: src/common/session.c:1525 msgid "failed to load server" msgstr "chec de chargement du serveur" -#: src/common/session.c:1530 +#: src/common/session.c:1532 msgid "failed to load channel" msgstr "chec de chargement du canal" -#: src/common/session.c:1537 +#: src/common/session.c:1539 msgid "failed to load nick" msgstr "chec de chargement du pseudo" -#: src/common/session.c:1544 +#: src/common/session.c:1546 msgid "failed to load DCC" msgstr "chec de chargement du DCC" -#: src/common/session.c:1551 +#: src/common/session.c:1553 msgid "failed to load history" msgstr "chec de chargement de l'historique" -#: src/common/session.c:1558 +#: src/common/session.c:1560 msgid "failed to load buffer" msgstr "chec de chargement du tampon" -#: src/common/session.c:1565 +#: src/common/session.c:1567 msgid "failed to load line" msgstr "chec de chargement de la ligne" -#: src/common/session.c:1570 +#: src/common/session.c:1572 #, c-format msgid "ignoring object (id: %d)\n" msgstr "objet ignor (id: %d)\n" -#: src/common/session.c:1574 +#: src/common/session.c:1576 #, c-format msgid "failed to ignore object (id: %d)" msgstr "impossible d'ignorer l'objet (id: %d)" -#: src/common/session.c:1598 +#: src/common/session.c:1600 #, c-format msgid "%s can't delete session file (%s)\n" msgstr "%s impossible de supprimer le fichier de session (%s)\n" -#: src/common/session.c:1604 +#: src/common/session.c:1606 msgid "Upgrade completed successfully\n" msgstr "Mise jour effectue avec succs\n" diff --git a/po/weechat.pot b/po/weechat.pot index 5bc460d30..a205881b4 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: 2005-12-12 12:05+0100\n" +"POT-Creation-Date: 2005-12-16 14:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -173,12 +173,12 @@ msgstr "" #: src/irc/irc-commands.c:35 src/irc/irc-commands.c:85 #: src/irc/irc-commands.c:162 src/irc/irc-commands.c:253 -#: src/irc/irc-commands.c:261 src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:262 src/irc/irc-commands.c:275 msgid "[target]" msgstr "" -#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:261 -#: src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:276 msgid "target: server" msgstr "" @@ -198,7 +198,7 @@ msgstr "" msgid "send message to all channels of all connected servers" msgstr "" -#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:288 msgid "text" msgstr "" @@ -270,7 +270,7 @@ msgstr "" #: src/irc/irc-commands.c:69 src/irc/irc-commands.c:72 #: src/irc/irc-commands.c:75 src/irc/irc-commands.c:82 -#: src/irc/irc-commands.c:280 +#: src/irc/irc-commands.c:284 msgid "[nickname [nickname]]" msgstr "" @@ -286,7 +286,7 @@ msgstr "" msgid "shutdown the server" msgstr "" -#: src/irc/irc-commands.c:80 +#: src/irc/irc-commands.c:79 msgid "error received from IRC server" msgstr "" @@ -320,11 +320,11 @@ msgstr "" msgid "check if a nickname is currently on IRC" msgstr "" -#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:271 msgid "nickname [nickname ...]" msgstr "" -#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:272 msgid "nickname: nickname" msgstr "" @@ -488,143 +488,143 @@ msgstr "" msgid "[channel[,channel]]" msgstr "" -#: src/irc/irc-commands.c:171 +#: src/irc/irc-commands.c:172 msgid "channel: channel name" msgstr "" -#: src/irc/irc-commands.c:173 +#: src/irc/irc-commands.c:174 msgid "change current nickname" msgstr "" -#: src/irc/irc-commands.c:174 +#: src/irc/irc-commands.c:175 msgid "[-all] nickname" msgstr "" -#: src/irc/irc-commands.c:175 +#: src/irc/irc-commands.c:176 msgid "" "-all: set new nickname for all connected servers\n" "nickname: new nickname" msgstr "" -#: src/irc/irc-commands.c:178 +#: src/irc/irc-commands.c:179 msgid "send notice message to user" msgstr "" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:180 msgid "nickname text" msgstr "" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:181 msgid "" "nickname: user to send notice to\n" "text: text to send" msgstr "" -#: src/irc/irc-commands.c:181 +#: src/irc/irc-commands.c:183 msgid "gives channel operator status to nickname(s)" msgstr "" -#: src/irc/irc-commands.c:182 +#: src/irc/irc-commands.c:184 msgid "nickname [nickname]" msgstr "" -#: src/irc/irc-commands.c:184 +#: src/irc/irc-commands.c:186 msgid "get operator privileges" msgstr "" -#: src/irc/irc-commands.c:185 +#: src/irc/irc-commands.c:187 msgid "user password" msgstr "" -#: src/irc/irc-commands.c:186 +#: src/irc/irc-commands.c:188 msgid "user/password: used to get privileges on current IRC server" msgstr "" -#: src/irc/irc-commands.c:188 +#: src/irc/irc-commands.c:190 msgid "leave a channel" msgstr "" -#: src/irc/irc-commands.c:189 +#: src/irc/irc-commands.c:191 msgid "[channel[,channel]] [part_message]" msgstr "" -#: src/irc/irc-commands.c:190 +#: src/irc/irc-commands.c:192 msgid "" "channel: channel name to leave\n" "part_message: part message (displayed to other users)" msgstr "" -#: src/irc/irc-commands.c:193 +#: src/irc/irc-commands.c:195 msgid "ping server" msgstr "" -#: src/irc/irc-commands.c:194 +#: src/irc/irc-commands.c:196 msgid "server1 [server2]" msgstr "" -#: src/irc/irc-commands.c:195 +#: src/irc/irc-commands.c:197 msgid "" "server1: server to ping\n" "server2: forward ping to this server" msgstr "" -#: src/irc/irc-commands.c:197 +#: src/irc/irc-commands.c:199 msgid "answer to a ping message" msgstr "" -#: src/irc/irc-commands.c:198 +#: src/irc/irc-commands.c:200 msgid "daemon [daemon2]" msgstr "" -#: src/irc/irc-commands.c:199 +#: src/irc/irc-commands.c:201 msgid "" "daemon: daemon who has responded to Ping message\n" "daemon2: forward message to this daemon" msgstr "" -#: src/irc/irc-commands.c:202 +#: src/irc/irc-commands.c:204 msgid "message received" msgstr "" -#: src/irc/irc-commands.c:205 +#: src/irc/irc-commands.c:206 msgid "send a private message to a nick" msgstr "" -#: src/irc/irc-commands.c:206 +#: src/irc/irc-commands.c:207 msgid "nickname [text]" msgstr "" -#: src/irc/irc-commands.c:207 +#: src/irc/irc-commands.c:208 msgid "" "nickname: nickname for private conversation\n" "text: text to send" msgstr "" -#: src/irc/irc-commands.c:210 +#: src/irc/irc-commands.c:211 msgid "close all connections & quit" msgstr "" -#: src/irc/irc-commands.c:211 +#: src/irc/irc-commands.c:212 msgid "[quit_message]" msgstr "" -#: src/irc/irc-commands.c:212 +#: src/irc/irc-commands.c:213 msgid "quit_message: quit message (displayed to other users)" msgstr "" -#: src/irc/irc-commands.c:214 +#: src/irc/irc-commands.c:215 msgid "send raw data to server without parsing" msgstr "" -#: src/irc/irc-commands.c:215 +#: src/irc/irc-commands.c:216 msgid "data" msgstr "" -#: src/irc/irc-commands.c:216 +#: src/irc/irc-commands.c:217 msgid "data: raw data to send" msgstr "" -#: src/irc/irc-commands.c:218 +#: src/irc/irc-commands.c:219 msgid "tell the server to reload its config file" msgstr "" @@ -632,71 +632,71 @@ msgstr "" msgid "tell the server to restart itself" msgstr "" -#: src/irc/irc-commands.c:224 +#: src/irc/irc-commands.c:223 msgid "register a new service" msgstr "" -#: src/irc/irc-commands.c:225 +#: src/irc/irc-commands.c:224 msgid "nickname reserved distribution type reserved info" msgstr "" -#: src/irc/irc-commands.c:226 +#: src/irc/irc-commands.c:225 msgid "" "distribution: visibility of service\n" "type: reserved for future usage" msgstr "" -#: src/irc/irc-commands.c:229 +#: src/irc/irc-commands.c:228 msgid "list services currently connected to the network" msgstr "" -#: src/irc/irc-commands.c:230 +#: src/irc/irc-commands.c:229 msgid "[mask [type]]" msgstr "" -#: src/irc/irc-commands.c:231 +#: src/irc/irc-commands.c:230 msgid "" "mask: list only services matching this mask\n" "type: list only services of this type" msgstr "" -#: src/irc/irc-commands.c:234 +#: src/irc/irc-commands.c:233 msgid "deliver a message to a service" msgstr "" -#: src/irc/irc-commands.c:235 +#: src/irc/irc-commands.c:234 msgid "service text" msgstr "" -#: src/irc/irc-commands.c:236 +#: src/irc/irc-commands.c:235 msgid "" "service: name of service\n" "text: text to send" msgstr "" -#: src/irc/irc-commands.c:238 +#: src/irc/irc-commands.c:237 msgid "disconnect server links" msgstr "" -#: src/irc/irc-commands.c:239 +#: src/irc/irc-commands.c:238 msgid "server comment" msgstr "" -#: src/irc/irc-commands.c:240 +#: src/irc/irc-commands.c:239 msgid "" "server: server name\n" "comment: comment for quit" msgstr "" -#: src/irc/irc-commands.c:242 +#: src/irc/irc-commands.c:241 msgid "query statistics about server" msgstr "" -#: src/irc/irc-commands.c:243 +#: src/irc/irc-commands.c:242 msgid "[query [server]]" msgstr "" -#: src/irc/irc-commands.c:244 +#: src/irc/irc-commands.c:243 msgid "" "query: c/h/i/k/l/m/o/y/u (see RFC1459)\n" "server: server name" @@ -723,524 +723,524 @@ msgstr "" msgid "query local time from server" msgstr "" -#: src/irc/irc-commands.c:253 +#: src/irc/irc-commands.c:254 msgid "target: query time from specified server" msgstr "" -#: src/irc/irc-commands.c:255 +#: src/irc/irc-commands.c:256 msgid "get/set channel topic" msgstr "" -#: src/irc/irc-commands.c:256 +#: src/irc/irc-commands.c:257 msgid "[channel] [topic]" msgstr "" -#: src/irc/irc-commands.c:257 +#: src/irc/irc-commands.c:258 msgid "" "channel: channel name\n" "topic: new topic for channel (if topic is \"-delete\" then topic is deleted)" msgstr "" -#: src/irc/irc-commands.c:260 +#: src/irc/irc-commands.c:261 msgid "find the route to specific server" msgstr "" -#: src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:265 msgid "unbans nicks or hosts" msgstr "" -#: src/irc/irc-commands.c:264 +#: src/irc/irc-commands.c:266 msgid "[channel] nickname [nickname ...]" msgstr "" -#: src/irc/irc-commands.c:265 +#: src/irc/irc-commands.c:267 msgid "" "channel: channel for unban\n" "nickname: user or host to unban" msgstr "" -#: src/irc/irc-commands.c:268 +#: src/irc/irc-commands.c:270 msgid "return a list of information about nicknames" msgstr "" -#: src/irc/irc-commands.c:271 +#: src/irc/irc-commands.c:274 msgid "list of users logged into the server" msgstr "" -#: src/irc/irc-commands.c:274 +#: src/irc/irc-commands.c:278 msgid "gives the version info of nick or server (current or specified)" msgstr "" -#: src/irc/irc-commands.c:275 +#: src/irc/irc-commands.c:279 msgid "[server | nickname]" msgstr "" -#: src/irc/irc-commands.c:276 +#: src/irc/irc-commands.c:280 msgid "" "server: server name\n" "nickname: nickname" msgstr "" -#: src/irc/irc-commands.c:279 +#: src/irc/irc-commands.c:283 msgid "gives voice to nickname(s)" msgstr "" -#: src/irc/irc-commands.c:282 +#: src/irc/irc-commands.c:286 msgid "" "send a message to all currently connected users who have set the 'w' user " "mode for themselves" msgstr "" -#: src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:289 msgid "text to send" msgstr "" -#: src/irc/irc-commands.c:286 +#: src/irc/irc-commands.c:291 msgid "generate a query which returns a list of information" msgstr "" -#: src/irc/irc-commands.c:287 +#: src/irc/irc-commands.c:292 msgid "[mask [\"o\"]]" msgstr "" -#: src/irc/irc-commands.c:288 +#: src/irc/irc-commands.c:293 msgid "" "mask: only information which match this mask\n" "o: only operators are returned according to the mask supplied" msgstr "" -#: src/irc/irc-commands.c:291 +#: src/irc/irc-commands.c:296 msgid "query information about user(s)" msgstr "" -#: src/irc/irc-commands.c:292 +#: src/irc/irc-commands.c:297 msgid "[server] nickname[,nickname]" msgstr "" -#: src/irc/irc-commands.c:293 +#: src/irc/irc-commands.c:298 msgid "" "server: server name\n" "nickname: nickname (may be a mask)" msgstr "" -#: src/irc/irc-commands.c:296 +#: src/irc/irc-commands.c:301 msgid "ask for information about a nickname which no longer exists" msgstr "" -#: src/irc/irc-commands.c:297 +#: src/irc/irc-commands.c:302 msgid "nickname [,nickname [,nickname ...]] [count [target]]" msgstr "" -#: src/irc/irc-commands.c:298 +#: src/irc/irc-commands.c:303 msgid "" "nickname: nickname to search\n" "count: number of replies to return (full search if negative number)\n" "target: reply should match this mask" msgstr "" -#: src/irc/irc-commands.c:302 src/irc/irc-commands.c:303 -#: src/irc/irc-commands.c:304 src/irc/irc-commands.c:305 -#: src/irc/irc-commands.c:306 src/irc/irc-commands.c:307 -#: src/irc/irc-commands.c:308 src/irc/irc-commands.c:309 -#: src/irc/irc-commands.c:310 src/irc/irc-commands.c:311 -#: src/irc/irc-commands.c:313 src/irc/irc-commands.c:314 -#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:316 -#: src/irc/irc-commands.c:317 src/irc/irc-commands.c:318 -#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:320 -#: src/irc/irc-commands.c:321 src/irc/irc-commands.c:322 -#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:324 -#: src/irc/irc-commands.c:325 src/irc/irc-commands.c:326 -#: src/irc/irc-commands.c:327 src/irc/irc-commands.c:328 -#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:330 -#: src/irc/irc-commands.c:331 src/irc/irc-commands.c:332 -#: src/irc/irc-commands.c:380 src/irc/irc-commands.c:381 -#: src/irc/irc-commands.c:382 src/irc/irc-commands.c:383 -#: src/irc/irc-commands.c:384 src/irc/irc-commands.c:385 -#: src/irc/irc-commands.c:491 +#: src/irc/irc-commands.c:307 src/irc/irc-commands.c:309 +#: src/irc/irc-commands.c:311 src/irc/irc-commands.c:313 +#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:317 +#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:321 +#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:325 +#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:331 +#: src/irc/irc-commands.c:333 src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:337 src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:341 src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:345 src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:349 src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:353 src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:357 src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:361 src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:365 src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:449 src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:453 src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:457 src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:569 msgid "a server message" msgstr "" -#: src/irc/irc-commands.c:312 +#: src/irc/irc-commands.c:327 msgid "user mode string" msgstr "" -#: src/irc/irc-commands.c:333 +#: src/irc/irc-commands.c:369 msgid "away message" msgstr "" -#: src/irc/irc-commands.c:334 +#: src/irc/irc-commands.c:371 msgid "userhost" msgstr "" -#: src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:373 msgid "ison" msgstr "" -#: src/irc/irc-commands.c:336 +#: src/irc/irc-commands.c:375 msgid "unaway" msgstr "" -#: src/irc/irc-commands.c:337 +#: src/irc/irc-commands.c:377 msgid "now away" msgstr "" -#: src/irc/irc-commands.c:338 +#: src/irc/irc-commands.c:379 msgid "whois (registered nick)" msgstr "" -#: src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:381 msgid "whois (user)" msgstr "" -#: src/irc/irc-commands.c:340 +#: src/irc/irc-commands.c:383 msgid "whois (server)" msgstr "" -#: src/irc/irc-commands.c:341 +#: src/irc/irc-commands.c:385 msgid "whois (operator)" msgstr "" -#: src/irc/irc-commands.c:342 +#: src/irc/irc-commands.c:387 msgid "whowas" msgstr "" -#: src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:389 msgid "end of /who list" msgstr "" -#: src/irc/irc-commands.c:344 +#: src/irc/irc-commands.c:391 msgid "whois (idle)" msgstr "" -#: src/irc/irc-commands.c:345 +#: src/irc/irc-commands.c:393 msgid "whois (end)" msgstr "" -#: src/irc/irc-commands.c:346 +#: src/irc/irc-commands.c:395 msgid "whois (channels)" msgstr "" -#: src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:397 msgid "whois (identified user)" msgstr "" -#: src/irc/irc-commands.c:348 +#: src/irc/irc-commands.c:399 msgid "/list start" msgstr "" -#: src/irc/irc-commands.c:349 +#: src/irc/irc-commands.c:401 msgid "channel (for /list)" msgstr "" -#: src/irc/irc-commands.c:350 +#: src/irc/irc-commands.c:403 msgid "/list end" msgstr "" -#: src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:405 msgid "channel mode" msgstr "" -#: src/irc/irc-commands.c:353 +#: src/irc/irc-commands.c:409 msgid "no topic for channel" msgstr "" -#: src/irc/irc-commands.c:354 +#: src/irc/irc-commands.c:411 msgid "topic of channel" msgstr "" -#: src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:412 msgid "channel :topic" msgstr "" -#: src/irc/irc-commands.c:356 +#: src/irc/irc-commands.c:413 msgid "" "channel: name of channel\n" "topic: topic of the channel" msgstr "" -#: src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:416 msgid "infos about topic (nick & date changed)" msgstr "" -#: src/irc/irc-commands.c:362 +#: src/irc/irc-commands.c:418 msgid "inviting" msgstr "" -#: src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:420 msgid "channel reop" msgstr "" -#: src/irc/irc-commands.c:364 +#: src/irc/irc-commands.c:422 msgid "end of channel reop list" msgstr "" -#: src/irc/irc-commands.c:365 +#: src/irc/irc-commands.c:424 msgid "channel exception list" msgstr "" -#: src/irc/irc-commands.c:366 +#: src/irc/irc-commands.c:426 msgid "end of channel exception list" msgstr "" -#: src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:428 msgid "server version" msgstr "" -#: src/irc/irc-commands.c:368 +#: src/irc/irc-commands.c:430 msgid "who" msgstr "" -#: src/irc/irc-commands.c:369 +#: src/irc/irc-commands.c:432 msgid "list of nicks on channel" msgstr "" -#: src/irc/irc-commands.c:370 +#: src/irc/irc-commands.c:433 msgid "channel :[[@|+]nick ...]" msgstr "" -#: src/irc/irc-commands.c:371 +#: src/irc/irc-commands.c:434 msgid "" "channel: name of channel\n" "nick: nick on the channel" msgstr "" -#: src/irc/irc-commands.c:374 +#: src/irc/irc-commands.c:437 msgid "links" msgstr "" -#: src/irc/irc-commands.c:375 +#: src/irc/irc-commands.c:439 msgid "end of /links list" msgstr "" -#: src/irc/irc-commands.c:376 +#: src/irc/irc-commands.c:441 msgid "end of /names list" msgstr "" -#: src/irc/irc-commands.c:377 +#: src/irc/irc-commands.c:443 msgid "banlist" msgstr "" -#: src/irc/irc-commands.c:378 +#: src/irc/irc-commands.c:445 msgid "end of banlist" msgstr "" -#: src/irc/irc-commands.c:379 +#: src/irc/irc-commands.c:447 msgid "end of /whowas list" msgstr "" -#: src/irc/irc-commands.c:386 +#: src/irc/irc-commands.c:461 msgid "you are now an IRC operator" msgstr "" -#: src/irc/irc-commands.c:387 +#: src/irc/irc-commands.c:463 msgid "rehashing" msgstr "" -#: src/irc/irc-commands.c:388 +#: src/irc/irc-commands.c:465 msgid "server local time" msgstr "" -#: src/irc/irc-commands.c:389 +#: src/irc/irc-commands.c:467 msgid "no such nick/channel" msgstr "" -#: src/irc/irc-commands.c:391 +#: src/irc/irc-commands.c:469 msgid "no such server" msgstr "" -#: src/irc/irc-commands.c:393 +#: src/irc/irc-commands.c:471 msgid "no such channel" msgstr "" -#: src/irc/irc-commands.c:395 +#: src/irc/irc-commands.c:473 msgid "cannot send to channel" msgstr "" -#: src/irc/irc-commands.c:397 +#: src/irc/irc-commands.c:475 msgid "too many channels" msgstr "" -#: src/irc/irc-commands.c:399 src/irc/irc-commands.c:401 +#: src/irc/irc-commands.c:477 src/irc/irc-commands.c:479 msgid "was no such nick" msgstr "" -#: src/irc/irc-commands.c:403 +#: src/irc/irc-commands.c:481 msgid "no origin" msgstr "" -#: src/irc/irc-commands.c:405 +#: src/irc/irc-commands.c:483 msgid "no services" msgstr "" -#: src/irc/irc-commands.c:407 +#: src/irc/irc-commands.c:485 msgid "no recipient" msgstr "" -#: src/irc/irc-commands.c:409 +#: src/irc/irc-commands.c:487 msgid "no text to send" msgstr "" -#: src/irc/irc-commands.c:411 +#: src/irc/irc-commands.c:489 msgid "no toplevel" msgstr "" -#: src/irc/irc-commands.c:413 +#: src/irc/irc-commands.c:491 msgid "wilcard in toplevel domain" msgstr "" -#: src/irc/irc-commands.c:415 +#: src/irc/irc-commands.c:493 msgid "unknown command" msgstr "" -#: src/irc/irc-commands.c:417 +#: src/irc/irc-commands.c:495 msgid "MOTD is missing" msgstr "" -#: src/irc/irc-commands.c:419 +#: src/irc/irc-commands.c:497 msgid "no administrative info" msgstr "" -#: src/irc/irc-commands.c:421 +#: src/irc/irc-commands.c:499 msgid "file error" msgstr "" -#: src/irc/irc-commands.c:423 +#: src/irc/irc-commands.c:501 msgid "no nickname given" msgstr "" -#: src/irc/irc-commands.c:425 +#: src/irc/irc-commands.c:503 msgid "erroneous nickname" msgstr "" -#: src/irc/irc-commands.c:427 +#: src/irc/irc-commands.c:505 msgid "nickname already in use" msgstr "" -#: src/irc/irc-commands.c:429 +#: src/irc/irc-commands.c:507 msgid "nickname collision" msgstr "" -#: src/irc/irc-commands.c:431 +#: src/irc/irc-commands.c:509 msgid "not authorized to change nickname" msgstr "" -#: src/irc/irc-commands.c:433 +#: src/irc/irc-commands.c:511 msgid "user not in channel" msgstr "" -#: src/irc/irc-commands.c:435 +#: src/irc/irc-commands.c:513 msgid "not on channel" msgstr "" -#: src/irc/irc-commands.c:437 +#: src/irc/irc-commands.c:515 msgid "user already on channel" msgstr "" -#: src/irc/irc-commands.c:439 +#: src/irc/irc-commands.c:517 msgid "user not logged in" msgstr "" -#: src/irc/irc-commands.c:441 +#: src/irc/irc-commands.c:519 msgid "summon has been disabled" msgstr "" -#: src/irc/irc-commands.c:443 +#: src/irc/irc-commands.c:521 msgid "users has been disabled" msgstr "" -#: src/irc/irc-commands.c:445 +#: src/irc/irc-commands.c:523 msgid "you are not registered" msgstr "" -#: src/irc/irc-commands.c:447 +#: src/irc/irc-commands.c:525 msgid "not enough parameters" msgstr "" -#: src/irc/irc-commands.c:449 +#: src/irc/irc-commands.c:527 msgid "you may not register" msgstr "" -#: src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:529 msgid "your host isn't among the privileged" msgstr "" -#: src/irc/irc-commands.c:453 +#: src/irc/irc-commands.c:531 msgid "password incorrect" msgstr "" -#: src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:533 msgid "you are banned from this server" msgstr "" -#: src/irc/irc-commands.c:457 +#: src/irc/irc-commands.c:535 msgid "channel key already set" msgstr "" -#: src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:537 msgid "forwarding to another channel" msgstr "" -#: src/irc/irc-commands.c:461 +#: src/irc/irc-commands.c:539 msgid "channel is already full" msgstr "" -#: src/irc/irc-commands.c:463 +#: src/irc/irc-commands.c:541 msgid "unknown mode char to me" msgstr "" -#: src/irc/irc-commands.c:465 +#: src/irc/irc-commands.c:543 msgid "cannot join channel (invite only)" msgstr "" -#: src/irc/irc-commands.c:467 +#: src/irc/irc-commands.c:545 msgid "cannot join channel (banned from channel)" msgstr "" -#: src/irc/irc-commands.c:469 +#: src/irc/irc-commands.c:547 msgid "cannot join channel (bad channel key)" msgstr "" -#: src/irc/irc-commands.c:471 +#: src/irc/irc-commands.c:549 msgid "bad channel mask" msgstr "" -#: src/irc/irc-commands.c:473 +#: src/irc/irc-commands.c:551 msgid "channel doesn't support modes" msgstr "" -#: src/irc/irc-commands.c:475 +#: src/irc/irc-commands.c:553 msgid "you're not an IRC operator" msgstr "" -#: src/irc/irc-commands.c:477 +#: src/irc/irc-commands.c:555 msgid "you're not channel operator" msgstr "" -#: src/irc/irc-commands.c:479 +#: src/irc/irc-commands.c:557 msgid "you can't kill a server!" msgstr "" -#: src/irc/irc-commands.c:481 +#: src/irc/irc-commands.c:559 msgid "your connection is restricted!" msgstr "" -#: src/irc/irc-commands.c:483 +#: src/irc/irc-commands.c:561 msgid "user is immune from kick/deop" msgstr "" -#: src/irc/irc-commands.c:485 +#: src/irc/irc-commands.c:563 msgid "no O-lines for your host" msgstr "" -#: src/irc/irc-commands.c:487 +#: src/irc/irc-commands.c:565 msgid "unknown mode flag" msgstr "" -#: src/irc/irc-commands.c:489 +#: src/irc/irc-commands.c:567 msgid "can't change mode for other users" msgstr "" -#: src/irc/irc-commands.c:492 +#: src/irc/irc-commands.c:571 msgid "whois (secure connection)" msgstr "" @@ -1288,7 +1288,7 @@ msgstr "" msgid "%s: using local hostname \"%s\"\n" msgstr "" -#: src/irc/irc-send.c:177 src/common/command.c:814 +#: src/irc/irc-send.c:177 src/common/command.c:816 #, c-format msgid "%s cannot find nick for sending message\n" msgstr "" @@ -1304,8 +1304,8 @@ msgstr "" #: src/irc/irc-send.c:489 src/irc/irc-send.c:501 src/irc/irc-send.c:519 #: src/irc/irc-send.c:1184 src/irc/irc-send.c:1309 src/irc/irc-send.c:1842 -#: src/common/command.c:1605 src/common/command.c:2103 -#: src/common/command.c:2242 +#: src/common/command.c:1607 src/common/command.c:2105 +#: src/common/command.c:2244 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "" @@ -1643,11 +1643,11 @@ msgstr "" msgid "%s[%s%s%s]%s idle: " msgstr "" -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "days" msgstr "" -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "day" msgstr "" @@ -1999,79 +1999,79 @@ msgid "" "memory)\n" msgstr "" -#: src/plugins/plugins.c:248 +#: src/plugins/plugins.c:250 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (already exists)\n" msgstr "" -#: src/plugins/plugins.c:285 +#: src/plugins/plugins.c:288 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n" msgstr "" -#: src/plugins/plugins.c:532 +#: src/plugins/plugins.c:535 #, c-format msgid "%s unable to load plugin \"%s\": %s\n" msgstr "" -#: src/plugins/plugins.c:543 +#: src/plugins/plugins.c:546 #, c-format msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n" msgstr "" -#: src/plugins/plugins.c:554 +#: src/plugins/plugins.c:557 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" msgstr "" -#: src/plugins/plugins.c:566 +#: src/plugins/plugins.c:569 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" msgstr "" -#: src/plugins/plugins.c:577 +#: src/plugins/plugins.c:580 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" msgstr "" -#: src/plugins/plugins.c:588 +#: src/plugins/plugins.c:591 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " "load\n" msgstr "" -#: src/plugins/plugins.c:642 +#: src/plugins/plugins.c:645 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "" -#: src/plugins/plugins.c:650 +#: src/plugins/plugins.c:653 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "" -#: src/plugins/plugins.c:661 +#: src/plugins/plugins.c:664 #, c-format msgid "%s unable to load plugin \"%s\" (not enough memory)\n" msgstr "" -#: src/plugins/plugins.c:669 +#: src/plugins/plugins.c:672 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "" -#: src/plugins/plugins.c:809 +#: src/plugins/plugins.c:838 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "" -#: src/plugins/plugins.c:815 +#: src/plugins/plugins.c:844 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "" @@ -2349,7 +2349,7 @@ msgstr "" msgid "grab a key" msgstr "" -#: src/gui/gui-keyboard.c:434 src/common/command.c:2118 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2120 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "" @@ -2470,33 +2470,33 @@ msgstr "" msgid "[command]" msgstr "" -#: src/common/command.c:85 +#: src/common/command.c:86 msgid "command: name of a WeeChat or IRC command" msgstr "" -#: src/common/command.c:87 +#: src/common/command.c:88 msgid "show buffer command history" msgstr "" -#: src/common/command.c:88 +#: src/common/command.c:89 msgid "[clear | value]" msgstr "" -#: src/common/command.c:89 +#: src/common/command.c:90 msgid "" "clear: clear history\n" "value: number of history entries to show" msgstr "" -#: src/common/command.c:92 +#: src/common/command.c:93 msgid "ignore IRC messages and/or hosts" msgstr "" -#: src/common/command.c:93 +#: src/common/command.c:94 msgid "[mask [[type | command] [channel [server]]]]" msgstr "" -#: src/common/command.c:94 +#: src/common/command.c:95 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2508,44 +2508,44 @@ msgid "" "Without argument, /ignore command lists all defined ignore." msgstr "" -#: src/common/command.c:102 +#: src/common/command.c:104 msgid "bind/unbind keys" msgstr "" -#: src/common/command.c:103 +#: src/common/command.c:105 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "" -#: src/common/command.c:104 +#: src/common/command.c:106 msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" -"unbind: unbind a key (if \"all\", default bindings are restored)\n" +"unbind: unbind a key\n" "functions: list internal functions for key bindings\n" "reset: restore bindings to the default values and delete ALL personal " "binding (use carefully!)" msgstr "" -#: src/common/command.c:109 +#: src/common/command.c:111 msgid "list/load/unload plugins" msgstr "" -#: src/common/command.c:110 +#: src/common/command.c:112 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "" -#: src/common/command.c:111 +#: src/common/command.c:113 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" "Without argument, /plugin command lists all loaded plugins." msgstr "" -#: src/common/command.c:114 +#: src/common/command.c:116 msgid "list, add or remove servers" msgstr "" -#: src/common/command.c:115 +#: src/common/command.c:117 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2553,7 +2553,7 @@ msgid "" "servername]" msgstr "" -#: src/common/command.c:120 +#: src/common/command.c:122 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2568,54 +2568,54 @@ msgid "" "realname: real name of user" msgstr "" -#: src/common/command.c:132 +#: src/common/command.c:134 msgid "save config to disk" msgstr "" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "[file]" msgstr "" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "file: filename for writing config" msgstr "" -#: src/common/command.c:135 +#: src/common/command.c:137 msgid "set config parameters" msgstr "" -#: src/common/command.c:136 +#: src/common/command.c:138 msgid "[option [ = value]]" msgstr "" -#: src/common/command.c:137 +#: src/common/command.c:139 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" "value: value for option" msgstr "" -#: src/common/command.c:141 +#: src/common/command.c:143 msgid "remove an alias" msgstr "" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name" msgstr "" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name: name of alias to remove" msgstr "" -#: src/common/command.c:144 +#: src/common/command.c:146 msgid "unignore IRC messages and/or hosts" msgstr "" -#: src/common/command.c:145 +#: src/common/command.c:147 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "" -#: src/common/command.c:146 +#: src/common/command.c:148 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2628,33 +2628,33 @@ msgid "" "Without argument, /unignore command lists all defined ignore." msgstr "" -#: src/common/command.c:155 +#: src/common/command.c:158 msgid "upgrade WeeChat without disconnecting from servers" msgstr "" -#: src/common/command.c:159 +#: src/common/command.c:160 msgid "show WeeChat uptime" msgstr "" -#: src/common/command.c:160 +#: src/common/command.c:161 msgid "[-o]" msgstr "" -#: src/common/command.c:161 +#: src/common/command.c:162 msgid "-o: send uptime on current channel as an IRC message" msgstr "" -#: src/common/command.c:163 +#: src/common/command.c:164 msgid "manage windows" msgstr "" -#: src/common/command.c:164 +#: src/common/command.c:165 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" msgstr "" -#: src/common/command.c:166 +#: src/common/command.c:167 #, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2675,564 +2675,564 @@ msgid "" "create a new window with size = current_size / 4" msgstr "" -#: src/common/command.c:323 +#: src/common/command.c:325 #, c-format msgid "%s alias or command \"%s\" already exists!\n" msgstr "" -#: src/common/command.c:333 +#: src/common/command.c:335 #, c-format msgid "%s alias cannot run another alias!\n" msgstr "" -#: src/common/command.c:340 +#: src/common/command.c:342 #, c-format msgid "%s target command \"/%s\" does not exist!\n" msgstr "" -#: src/common/command.c:578 +#: src/common/command.c:580 #, c-format msgid "%s wrong argument count for %s command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:590 +#: src/common/command.c:592 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:612 src/common/command.c:681 +#: src/common/command.c:614 src/common/command.c:683 #, c-format msgid "%s command \"%s\" failed\n" msgstr "" -#: src/common/command.c:637 +#: src/common/command.c:639 #, c-format msgid "%s wrong argument count for IRC command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:649 +#: src/common/command.c:651 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:664 +#: src/common/command.c:666 #, c-format msgid "%s command \"%s\" needs a server connection!\n" msgstr "" -#: src/common/command.c:725 +#: src/common/command.c:727 #, c-format msgid "%s unknown command \"%s\" (type /help for help)\n" msgstr "" -#: src/common/command.c:859 +#: src/common/command.c:861 msgid "This window is not a channel!\n" msgstr "" -#: src/common/command.c:890 src/common/command.c:921 src/common/command.c:1036 +#: src/common/command.c:892 src/common/command.c:923 src/common/command.c:1038 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "" -#: src/common/command.c:897 +#: src/common/command.c:899 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "" -#: src/common/command.c:906 +#: src/common/command.c:908 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "" -#: src/common/command.c:912 +#: src/common/command.c:914 #, c-format msgid "Failed to create alias \"%s\" => \"%s\" (not enough memory)\n" msgstr "" -#: src/common/command.c:932 +#: src/common/command.c:934 msgid "List of aliases:\n" msgstr "" -#: src/common/command.c:946 +#: src/common/command.c:948 msgid "No alias defined.\n" msgstr "" -#: src/common/command.c:965 +#: src/common/command.c:967 #, c-format msgid "%sServer: %s%s\n" msgstr "" -#: src/common/command.c:970 +#: src/common/command.c:972 #, c-format msgid "%snot connected\n" msgstr "" -#: src/common/command.c:974 +#: src/common/command.c:976 #, c-format msgid "%sChannel: %s%s %s(server: %s%s%s)\n" msgstr "" -#: src/common/command.c:983 +#: src/common/command.c:985 #, c-format msgid "%sPrivate with: %s%s %s(server: %s%s%s)\n" msgstr "" -#: src/common/command.c:992 +#: src/common/command.c:994 #, c-format msgid "%sunknown\n" msgstr "" -#: src/common/command.c:1015 +#: src/common/command.c:1017 msgid "Opened buffers:\n" msgstr "" -#: src/common/command.c:1059 +#: src/common/command.c:1061 #, c-format msgid "%s incorrect buffer number\n" msgstr "" -#: src/common/command.c:1075 +#: src/common/command.c:1077 #, c-format msgid "%s can not close the single buffer\n" msgstr "" -#: src/common/command.c:1085 +#: src/common/command.c:1087 #, c-format msgid "%s can not close server buffer while channels are opened\n" msgstr "" -#: src/common/command.c:1134 +#: src/common/command.c:1136 msgid "Notify levels: " msgstr "" -#: src/common/command.c:1163 src/common/command.c:1211 +#: src/common/command.c:1165 src/common/command.c:1213 #, c-format msgid "%s incorrect notify level (must be between %d and %d)\n" msgstr "" -#: src/common/command.c:1172 +#: src/common/command.c:1174 #, c-format msgid "%s incorrect buffer for notify (must be channel or private)\n" msgstr "" -#: src/common/command.c:1181 +#: src/common/command.c:1183 #, c-format msgid "New notify level for %s%s%s: %s%d %s" msgstr "" -#: src/common/command.c:1191 +#: src/common/command.c:1193 msgid "(hotlist: never)\n" msgstr "" -#: src/common/command.c:1194 +#: src/common/command.c:1196 msgid "(hotlist: highlights)\n" msgstr "" -#: src/common/command.c:1197 +#: src/common/command.c:1199 msgid "(hotlist: highlights + messages)\n" msgstr "" -#: src/common/command.c:1200 +#: src/common/command.c:1202 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "" -#: src/common/command.c:1299 +#: src/common/command.c:1301 #, c-format msgid "Charsets for server %s%s%s: " msgstr "" -#: src/common/command.c:1307 +#: src/common/command.c:1309 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "" -#: src/common/command.c:1315 +#: src/common/command.c:1317 #, c-format msgid "Charsets for private %s%s%s: " msgstr "" -#: src/common/command.c:1343 src/common/command.c:1373 -#: src/common/command.c:1403 +#: src/common/command.c:1345 src/common/command.c:1375 +#: src/common/command.c:1405 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr "" -#: src/common/command.c:1467 src/common/command.c:1490 -#: src/common/command.c:1624 src/common/command.c:2235 -#: src/common/command.c:3312 src/common/command.c:3355 +#: src/common/command.c:1469 src/common/command.c:1492 +#: src/common/command.c:1626 src/common/command.c:2237 +#: src/common/command.c:3301 src/common/command.c:3344 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "" -#: src/common/command.c:1520 +#: src/common/command.c:1522 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1528 +#: src/common/command.c:1530 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1546 src/common/command.c:1669 +#: src/common/command.c:1548 src/common/command.c:1671 #, c-format msgid "%s server not found\n" msgstr "" -#: src/common/command.c:1653 +#: src/common/command.c:1655 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1661 +#: src/common/command.c:1663 msgid "Auto-reconnection is cancelled\n" msgstr "" -#: src/common/command.c:1695 src/common/weechat.c:400 +#: src/common/command.c:1697 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "" -#: src/common/command.c:1705 src/common/weechat.c:420 +#: src/common/command.c:1707 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "" -#: src/common/command.c:1719 +#: src/common/command.c:1721 msgid "Plugin commands:\n" msgstr "" -#: src/common/command.c:1835 +#: src/common/command.c:1837 #, c-format msgid "No help available, \"%s\" is an unknown command\n" msgstr "" -#: src/common/command.c:1901 +#: src/common/command.c:1903 #, c-format msgid "%son %s%s%s/%s%s%s:%s ignoring %s%s%s from %s%s\n" msgstr "" -#: src/common/command.c:1935 +#: src/common/command.c:1937 msgid "List of ignore:\n" msgstr "" -#: src/common/command.c:1952 +#: src/common/command.c:1954 msgid "No ignore defined.\n" msgstr "" -#: src/common/command.c:1978 +#: src/common/command.c:1980 msgid "New ignore:" msgstr "" -#: src/common/command.c:1998 +#: src/common/command.c:2000 #, c-format msgid "New key binding: %s" msgstr "" -#: src/common/command.c:2035 +#: src/common/command.c:2037 msgid "Key bindings:\n" msgstr "" -#: src/common/command.c:2049 +#: src/common/command.c:2051 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "" -#: src/common/command.c:2055 +#: src/common/command.c:2057 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "" -#: src/common/command.c:2063 src/common/weechat.c:452 +#: src/common/command.c:2065 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "" -#: src/common/command.c:2083 +#: src/common/command.c:2085 msgid "Default key bindings restored\n" msgstr "" -#: src/common/command.c:2089 +#: src/common/command.c:2091 #, c-format msgid "%s \"-yes\" argument is required for keys reset (securuty reason)\n" msgstr "" -#: src/common/command.c:2148 +#: src/common/command.c:2150 msgid "Plugins loaded:\n" msgstr "" -#: src/common/command.c:2164 +#: src/common/command.c:2166 msgid " message handlers:\n" msgstr "" -#: src/common/command.c:2173 +#: src/common/command.c:2175 #, c-format msgid " IRC(%s)\n" msgstr "" -#: src/common/command.c:2180 +#: src/common/command.c:2182 msgid " (no message handler)\n" msgstr "" -#: src/common/command.c:2185 +#: src/common/command.c:2187 msgid " command handlers:\n" msgstr "" -#: src/common/command.c:2206 +#: src/common/command.c:2208 msgid " (no command handler)\n" msgstr "" -#: src/common/command.c:2212 +#: src/common/command.c:2214 msgid " (no plugin)\n" msgstr "" -#: src/common/command.c:2248 +#: src/common/command.c:2250 msgid "" "Command \"plugin\" is not available, WeeChat was built without plugins " "support.\n" msgstr "" -#: src/common/command.c:2299 +#: src/common/command.c:2301 msgid "No server.\n" msgstr "" -#: src/common/command.c:2310 +#: src/common/command.c:2312 #, c-format msgid "Server '%s' not found.\n" msgstr "" -#: src/common/command.c:2322 +#: src/common/command.c:2324 #, c-format msgid "%s missing servername for \"%s\" command\n" msgstr "" -#: src/common/command.c:2330 +#: src/common/command.c:2332 #, c-format msgid "%s too much arguments for \"%s\" command, ignoring arguments\n" msgstr "" -#: src/common/command.c:2349 +#: src/common/command.c:2351 #, c-format msgid "%s server \"%s\" not found for \"%s\" command\n" msgstr "" -#: src/common/command.c:2357 +#: src/common/command.c:2359 #, 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:2377 +#: src/common/command.c:2379 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "" -#: src/common/command.c:2396 +#: src/common/command.c:2398 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "" -#: src/common/command.c:2406 +#: src/common/command.c:2408 #, c-format msgid "%s server \"%s\" already exists, can't create it!\n" msgstr "" -#: src/common/command.c:2435 src/common/command.c:2463 -#: src/common/command.c:2476 src/common/command.c:2502 +#: src/common/command.c:2437 src/common/command.c:2465 +#: src/common/command.c:2478 src/common/command.c:2504 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2448 +#: src/common/command.c:2450 #, c-format msgid "%s missing nick(s) for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2489 +#: src/common/command.c:2491 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2525 +#: src/common/command.c:2527 #, c-format msgid "Server %s%s%s created\n" msgstr "" -#: src/common/command.c:2534 +#: src/common/command.c:2536 #, c-format msgid "%s unable to create server\n" msgstr "" -#: src/common/command.c:2593 +#: src/common/command.c:2595 msgid "(unknown)" msgstr "" -#: src/common/command.c:2616 +#: src/common/command.c:2618 #, c-format msgid "%s(password hidden) " msgstr "" -#: src/common/command.c:2712 +#: src/common/command.c:2714 #, c-format msgid "%s server \"%s\" not found\n" msgstr "" -#: src/common/command.c:2745 src/common/command.c:2793 +#: src/common/command.c:2747 src/common/command.c:2795 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "" -#: src/common/command.c:2750 src/common/command.c:2785 +#: src/common/command.c:2752 src/common/command.c:2787 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "" -#: src/common/command.c:2766 +#: src/common/command.c:2768 #, c-format msgid "%s option \"%s\" can not be changed while WeeChat is running\n" msgstr "" -#: src/common/command.c:2876 +#: src/common/command.c:2878 #, c-format msgid "No config option found with \"%s\"\n" msgstr "" -#: src/common/command.c:2879 +#: src/common/command.c:2881 msgid "No config option found\n" msgstr "" -#: src/common/command.c:2886 +#: src/common/command.c:2888 #, c-format msgid "%sDetail:\n" msgstr "" -#: src/common/command.c:2891 src/common/weechat.c:336 +#: src/common/command.c:2893 src/common/weechat.c:336 #, c-format msgid " . type boolean (values: 'on' or 'off')\n" msgstr "" -#: src/common/command.c:2892 src/common/command.c:2915 -#: src/common/command.c:2921 src/common/command.c:2927 +#: src/common/command.c:2894 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/command.c:2929 #: src/common/weechat.c:337 src/common/weechat.c:360 src/common/weechat.c:366 #: src/common/weechat.c:372 #, c-format msgid " . default value: '%s'\n" msgstr "" -#: src/common/command.c:2897 src/common/weechat.c:342 +#: src/common/command.c:2899 src/common/weechat.c:342 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr "" -#: src/common/command.c:2900 src/common/weechat.c:345 +#: src/common/command.c:2902 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr "" -#: src/common/command.c:2904 src/common/weechat.c:349 +#: src/common/command.c:2906 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr "" -#: src/common/command.c:2917 src/common/command.c:2923 -#: src/common/command.c:2929 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2919 src/common/command.c:2925 +#: src/common/command.c:2931 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "" -#: src/common/command.c:2920 src/common/weechat.c:365 +#: src/common/command.c:2922 src/common/weechat.c:365 #, c-format msgid " . type color (Curses or Gtk color, look at WeeChat doc)\n" msgstr "" -#: src/common/command.c:2926 src/common/weechat.c:371 +#: src/common/command.c:2928 src/common/weechat.c:371 #, c-format msgid " . type string (any string)\n" msgstr "" -#: src/common/command.c:2932 src/common/weechat.c:377 +#: src/common/command.c:2934 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr "" -#: src/common/command.c:2943 +#: src/common/command.c:2945 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "" -#: src/common/command.c:2946 +#: src/common/command.c:2948 msgid "config option(s) found\n" msgstr "" -#: src/common/command.c:2970 +#: src/common/command.c:2972 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "" -#: src/common/command.c:2980 +#: src/common/command.c:2982 #, c-format msgid "Alias \"%s\" removed\n" msgstr "" -#: src/common/command.c:3036 +#: src/common/command.c:3038 msgid "ignore were removed.\n" msgstr "" -#: src/common/command.c:3038 +#: src/common/command.c:3040 msgid "ignore was removed.\n" msgstr "" -#: src/common/command.c:3043 +#: src/common/command.c:3045 #, c-format msgid "%s no ignore found\n" msgstr "" -#: src/common/command.c:3075 +#: src/common/command.c:3077 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "" -#: src/common/command.c:3085 +#: src/common/command.c:3087 #, 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:3101 +#: src/common/command.c:3103 msgid "Upgrading WeeChat...\n" msgstr "" -#: src/common/command.c:3108 +#: src/common/command.c:3110 #, c-format msgid "%s unable to save session in file\n" msgstr "" -#: src/common/command.c:3146 +#: src/common/command.c:3135 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:3182 +#: src/common/command.c:3171 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "" -#: src/common/command.c:3196 +#: src/common/command.c:3185 #, 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:3236 +#: src/common/command.c:3225 msgid "Opened windows:\n" msgstr "" -#: src/common/command.c:3323 +#: src/common/command.c:3312 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3298,13 +3298,13 @@ msgstr "" msgid "**** End of log " msgstr "" -#: src/common/session.c:451 +#: src/common/session.c:453 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" msgstr "" -#: src/common/session.c:456 +#: src/common/session.c:458 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3312,284 +3312,284 @@ msgid "" "Be careful, private info may be in these files.\n" msgstr "" -#: src/common/session.c:480 src/common/session.c:514 src/common/session.c:571 -#: src/common/session.c:612 +#: src/common/session.c:482 src/common/session.c:516 src/common/session.c:573 +#: src/common/session.c:614 #, c-format msgid "wrong type in file (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:583 src/common/session.c:624 +#: src/common/session.c:585 src/common/session.c:626 msgid "invalid length for a buffer" msgstr "" -#: src/common/session.c:648 +#: src/common/session.c:650 msgid "object read error" msgstr "" -#: src/common/session.c:653 +#: src/common/session.c:655 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:663 +#: src/common/session.c:665 msgid "type read error" msgstr "" -#: src/common/session.c:668 +#: src/common/session.c:670 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:753 +#: src/common/session.c:755 msgid "server name not found" msgstr "" -#: src/common/session.c:758 +#: src/common/session.c:760 #, c-format msgid "session: loading server \"%s\"\n" msgstr "" -#: src/common/session.c:762 +#: src/common/session.c:764 msgid "server found, updating values\n" msgstr "" -#: src/common/session.c:765 +#: src/common/session.c:767 msgid "server not found, creating new one\n" msgstr "" -#: src/common/session.c:770 +#: src/common/session.c:772 msgid "can't create new server" msgstr "" -#: src/common/session.c:784 +#: src/common/session.c:786 msgid "unexpected end of file (reading server)" msgstr "" -#: src/common/session.c:872 +#: src/common/session.c:874 msgid "gnutls init error" msgstr "" -#: src/common/session.c:889 +#: src/common/session.c:891 msgid "gnutls handshake failed" msgstr "" -#: src/common/session.c:932 +#: src/common/session.c:934 #, c-format msgid "session: warning: ignoring value from server (object id: %d)\n" msgstr "" -#: src/common/session.c:954 +#: src/common/session.c:956 msgid "channel found without server" msgstr "" -#: src/common/session.c:961 +#: src/common/session.c:963 msgid "channel type not found" msgstr "" -#: src/common/session.c:969 +#: src/common/session.c:971 msgid "channel name not found" msgstr "" -#: src/common/session.c:974 +#: src/common/session.c:976 #, c-format msgid "session: loading channel \"%s\"\n" msgstr "" -#: src/common/session.c:982 +#: src/common/session.c:984 msgid "can't create new channel" msgstr "" -#: src/common/session.c:992 +#: src/common/session.c:994 msgid "unexpected end of file (reading channel)" msgstr "" -#: src/common/session.c:1022 +#: src/common/session.c:1024 #, c-format msgid "session: warning: ignoring value from channel (object id: %d)\n" msgstr "" -#: src/common/session.c:1045 +#: src/common/session.c:1047 msgid "nick found without channel" msgstr "" -#: src/common/session.c:1053 +#: src/common/session.c:1055 msgid "nick name not found" msgstr "" -#: src/common/session.c:1063 +#: src/common/session.c:1065 msgid "can't create new nick" msgstr "" -#: src/common/session.c:1073 +#: src/common/session.c:1075 msgid "unexpected end of file (reading nick)" msgstr "" -#: src/common/session.c:1089 +#: src/common/session.c:1091 #, c-format msgid "session: warning: ignoring value from nick (object id: %d)\n" msgstr "" -#: src/common/session.c:1115 +#: src/common/session.c:1117 msgid "can't create new DCC" msgstr "" -#: src/common/session.c:1119 +#: src/common/session.c:1121 msgid "session: loading DCC\n" msgstr "" -#: src/common/session.c:1129 +#: src/common/session.c:1131 msgid "unexpected end of file (reading DCC)" msgstr "" -#: src/common/session.c:1148 +#: src/common/session.c:1150 msgid "server not found for DCC" msgstr "" -#: src/common/session.c:1157 +#: src/common/session.c:1159 msgid "DCC with channel but without server" msgstr "" -#: src/common/session.c:1169 +#: src/common/session.c:1171 msgid "channel not found for DCC" msgstr "" -#: src/common/session.c:1243 +#: src/common/session.c:1245 #, c-format msgid "session: warning: ignoring value from DCC (object id: %d)\n" msgstr "" -#: src/common/session.c:1263 +#: src/common/session.c:1265 msgid "session: loading buffer history\n" msgstr "" -#: src/common/session.c:1265 +#: src/common/session.c:1267 msgid "session: loading global history\n" msgstr "" -#: src/common/session.c:1273 +#: src/common/session.c:1275 msgid "unexpected end of file (reading history)" msgstr "" -#: src/common/session.c:1293 +#: src/common/session.c:1295 #, c-format msgid "session: warning: ignoring value from history (object id: %d)\n" msgstr "" -#: src/common/session.c:1319 +#: src/common/session.c:1321 msgid "server name not found for buffer" msgstr "" -#: src/common/session.c:1327 +#: src/common/session.c:1329 msgid "channel name not found for buffer" msgstr "" -#: src/common/session.c:1334 +#: src/common/session.c:1336 msgid "dcc flag not found for buffer" msgstr "" -#: src/common/session.c:1339 +#: src/common/session.c:1341 #, c-format msgid "session: loading buffer (server: %s, channel: %s, dcc: %d)\n" msgstr "" -#: src/common/session.c:1350 +#: src/common/session.c:1352 msgid "server not found for buffer" msgstr "" -#: src/common/session.c:1360 +#: src/common/session.c:1362 msgid "channel not found for buffer" msgstr "" -#: src/common/session.c:1368 +#: src/common/session.c:1370 msgid "can't create new buffer" msgstr "" -#: src/common/session.c:1381 +#: src/common/session.c:1383 msgid "unexpected end of file (reading buffer)" msgstr "" -#: src/common/session.c:1391 +#: src/common/session.c:1393 #, c-format msgid "session: warning: ignoring value from buffer (object id: %d)\n" msgstr "" -#: src/common/session.c:1413 +#: src/common/session.c:1415 msgid "line found without buffer" msgstr "" -#: src/common/session.c:1421 +#: src/common/session.c:1423 msgid "can't create new line" msgstr "" -#: src/common/session.c:1431 +#: src/common/session.c:1433 msgid "unexpected end of file (reading line)" msgstr "" -#: src/common/session.c:1462 +#: src/common/session.c:1464 #, c-format msgid "session: warning: ignoring value from line (object id: %d)\n" msgstr "" -#: src/common/session.c:1492 +#: src/common/session.c:1494 msgid "session file not found" msgstr "" -#: src/common/session.c:1499 +#: src/common/session.c:1501 msgid "signature not found" msgstr "" -#: src/common/session.c:1504 +#: src/common/session.c:1506 msgid "bad session signature" msgstr "" -#: src/common/session.c:1515 +#: src/common/session.c:1517 msgid "object id not found" msgstr "" -#: src/common/session.c:1523 +#: src/common/session.c:1525 msgid "failed to load server" msgstr "" -#: src/common/session.c:1530 +#: src/common/session.c:1532 msgid "failed to load channel" msgstr "" -#: src/common/session.c:1537 +#: src/common/session.c:1539 msgid "failed to load nick" msgstr "" -#: src/common/session.c:1544 +#: src/common/session.c:1546 msgid "failed to load DCC" msgstr "" -#: src/common/session.c:1551 +#: src/common/session.c:1553 msgid "failed to load history" msgstr "" -#: src/common/session.c:1558 +#: src/common/session.c:1560 msgid "failed to load buffer" msgstr "" -#: src/common/session.c:1565 +#: src/common/session.c:1567 msgid "failed to load line" msgstr "" -#: src/common/session.c:1570 +#: src/common/session.c:1572 #, c-format msgid "ignoring object (id: %d)\n" msgstr "" -#: src/common/session.c:1574 +#: src/common/session.c:1576 #, c-format msgid "failed to ignore object (id: %d)" msgstr "" -#: src/common/session.c:1598 +#: src/common/session.c:1600 #, c-format msgid "%s can't delete session file (%s)\n" msgstr "" -#: src/common/session.c:1604 +#: src/common/session.c:1606 msgid "Upgrade completed successfully\n" msgstr "" diff --git a/src/common/command.c b/src/common/command.c index 1c76fa02f..ff497169a 100644 --- a/src/common/command.c +++ b/src/common/command.c @@ -46,7 +46,7 @@ t_weechat_command weechat_commands[] = N_("[alias_name [command [arguments]]"), N_("alias_name: name of alias\ncommand: command name (WeeChat " "or IRC command, without first '/')\n" "arguments: arguments for command"), - 0, MAX_ARGS, NULL, weechat_cmd_alias }, + "%- %A", 0, MAX_ARGS, NULL, weechat_cmd_alias }, { "buffer", N_("manage buffers"), N_("[action | number | [[server] [channel]]]"), N_("action: action to do:\n" @@ -56,39 +56,40 @@ t_weechat_command weechat_commands[] = " notify: set notify level for buffer (0=never, 1=highlight, 2=1+msg, 3=2+join/part)\n" "server,channel: jump to buffer by server and/or channel name\n" "number: jump to buffer by number"), - 0, MAX_ARGS, weechat_cmd_buffer, NULL }, + "move|close|list|notify", 0, MAX_ARGS, weechat_cmd_buffer, NULL }, { "charset", N_("change charset for server or channel"), N_("[(decode_iso | decode_utf | encode) charset]"), N_("decode_iso: charset used for decoding ISO\n" "decode_utf: charset used for decoding UTF\n" " encode: charset used for encoding messages\n" " charset: charset to use (for example: ISO-8859-15, UTF-8,..)"), - 0, 2, weechat_cmd_charset, NULL }, + "decode_iso|decode_utf|encode", 0, 2, weechat_cmd_charset, NULL }, { "clear", N_("clear window(s)"), N_("[-all]"), N_("-all: clear all windows"), - 0, 1, weechat_cmd_clear, NULL }, + "-all", 0, 1, weechat_cmd_clear, NULL }, { "connect", N_("connect to a server"), N_("[servername]"), N_("servername: server name to connect"), - 0, 1, weechat_cmd_connect, NULL }, + "%S", 0, 1, weechat_cmd_connect, NULL }, { "disconnect", N_("disconnect from a server"), N_("[servername]"), N_("servername: server name to disconnect"), - 0, 1, weechat_cmd_disconnect, NULL }, + "%S", 0, 1, weechat_cmd_disconnect, NULL }, { "debug", N_("print debug messages"), N_("dump | windows"), N_("dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)\n" "windows: display windows tree"), - 1, 1, weechat_cmd_debug, NULL }, + "dump|windows", 1, 1, weechat_cmd_debug, NULL }, { "help", N_("display help about commands"), - N_("[command]"), N_("command: name of a WeeChat or IRC command"), - 0, 1, weechat_cmd_help, NULL }, + N_("[command]"), + N_("command: name of a WeeChat or IRC command"), + "%w|%i|%h", 0, 1, weechat_cmd_help, NULL }, { "history", N_("show buffer command history"), N_("[clear | value]"), N_("clear: clear history\n" "value: number of history entries to show"), - 0, 1, weechat_cmd_history, NULL }, + "clear", 0, 1, weechat_cmd_history, NULL }, { "ignore", N_("ignore IRC messages and/or hosts"), N_("[mask [[type | command] [channel [server]]]]"), N_(" mask: nick or host mask to ignore\n" @@ -98,19 +99,20 @@ t_weechat_command weechat_commands[] = " server: name of server for ignore\n\n" "For each argument, '*' means all.\n" "Without argument, /ignore command lists all defined ignore."), + "*|%n *|action|ctcp|dcc|pv|%I *|%c *|%s", 0, 4, weechat_cmd_ignore, NULL }, { "key", N_("bind/unbind keys"), N_("[key function/command] [unbind key] [functions] [reset -yes]"), N_("key: bind this key to an internal function or a command (beginning by \"/\")\n" - "unbind: unbind a key (if \"all\", default bindings are restored)\n" + "unbind: unbind a key\n" "functions: list internal functions for key bindings\n" "reset: restore bindings to the default values and delete ALL personal binding (use carefully!)"), - 0, MAX_ARGS, NULL, weechat_cmd_key }, + "unbind|functions|reset %k", 0, MAX_ARGS, NULL, weechat_cmd_key }, { "plugin", N_("list/load/unload plugins"), N_("[load filename] | [autoload] | [reload] | [unload]"), N_("filename: WeeChat plugin (file) to load\n\n" "Without argument, /plugin command lists all loaded plugins."), - 0, 2, weechat_cmd_plugin, NULL }, + "load|autoload|reload|unload", 0, 2, weechat_cmd_plugin, NULL }, { "server", N_("list, add or remove servers"), N_("[servername] | " "[servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-pwd password] [-nicks nick1 " @@ -128,19 +130,19 @@ t_weechat_command weechat_commands[] = "nick3: second alternate nick for server\n" "username: user name\n" "realname: real name of user"), - 0, MAX_ARGS, weechat_cmd_server, NULL }, + NULL, 0, MAX_ARGS, weechat_cmd_server, NULL }, { "save", N_("save config to disk"), N_("[file]"), N_("file: filename for writing config"), - 0, 1, weechat_cmd_save, NULL }, + NULL, 0, 1, weechat_cmd_save, NULL }, { "set", N_("set config parameters"), N_("[option [ = value]]"), N_("option: name of an option (if name is full " "and no value is given, then help is displayed on option)\n" "value: value for option"), - 0, MAX_ARGS, NULL, weechat_cmd_set }, + "%o = %v", 0, MAX_ARGS, NULL, weechat_cmd_set }, { "unalias", N_("remove an alias"), N_("alias_name"), N_("alias_name: name of alias to remove"), - 1, 1, NULL, weechat_cmd_unalias }, + "%a", 1, 1, NULL, weechat_cmd_unalias }, { "unignore", N_("unignore IRC messages and/or hosts"), N_("[number | [mask [[type | command] [channel [server]]]]]"), N_(" number: # of ignore to unignore (number is displayed by list of ignore)\n" @@ -151,15 +153,14 @@ t_weechat_command weechat_commands[] = " server: name of server for unignore\n\n" "For each argument, '*' means all.\n" "Without argument, /unignore command lists all defined ignore."), + "*|%n *|action|ctcp|dcc|pv|%I *|%c *|%s", 0, 4, weechat_cmd_unignore, NULL }, - { "upgrade", N_("upgrade WeeChat without disconnecting from servers"), - "", - "", - 0, 0, weechat_cmd_upgrade, NULL }, + { "upgrade", N_("upgrade WeeChat without disconnecting from servers"), "", "", + NULL, 0, 0, weechat_cmd_upgrade, NULL }, { "uptime", N_("show WeeChat uptime"), N_("[-o]"), N_("-o: send uptime on current channel as an IRC message"), - 0, 1, weechat_cmd_uptime, NULL }, + "-o", 0, 1, weechat_cmd_uptime, NULL }, { "window", N_("manage windows"), N_("[list | -1 | +1 | b# | up | down | left | right | splith [pct] " "| splitv [pct] | resize pct | merge [all]]"), @@ -178,8 +179,9 @@ t_weechat_command weechat_commands[] = "For splith and splitv, pct is a pourcentage which represents " "size of new window, computed with current window as size reference. " "For example 25 means create a new window with size = current_size / 4"), + "list|-1|+1|up|down|left|right|splith|splitv|resize|merge all", 0, 2, weechat_cmd_window, NULL }, - { NULL, NULL, NULL, NULL, 0, 0, NULL, NULL } + { NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL } }; t_weechat_alias *weechat_alias = NULL; diff --git a/src/common/command.h b/src/common/command.h index 10cd44c86..4d9d7fcd0 100644 --- a/src/common/command.h +++ b/src/common/command.h @@ -31,13 +31,17 @@ typedef struct t_weechat_command t_weechat_command; struct t_weechat_command { - char *command_name; - char *command_description; - char *arguments; - char *arguments_description; - int min_arg, max_arg; + char *command_name; /* WeeChat (internal) command name */ + char *command_description; /* command description (for /help) */ + char *arguments; /* command arguments (for /help) */ + char *arguments_description; /* arguments description (for /help) */ + char *completion_template; /* template for completion */ + /* NULL=no completion, ""=default (nick) */ + int min_arg, max_arg; /* min & max number of arguments */ int (*cmd_function_args)(t_gui_window *, int, char **); + /* function called when user enters cmd */ int (*cmd_function_1arg)(t_gui_window *, char *); + /* function called when user enters cmd */ }; typedef struct t_weechat_alias t_weechat_alias; diff --git a/src/common/completion.c b/src/common/completion.c index c4202997f..a09cfd51b 100644 --- a/src/common/completion.c +++ b/src/common/completion.c @@ -45,8 +45,10 @@ */ void -completion_init (t_completion *completion) +completion_init (t_completion *completion, void *server, void *channel) { + completion->server = server; + completion->channel = channel; completion->context = COMPLETION_NULL; completion->base_command = NULL; completion->base_command_arg = 0; @@ -97,684 +99,637 @@ completion_stop (t_completion *completion) } /* - * completion_build_list: build data list according to command and argument # + * completion_get_command_infos: return completion template and max arg for command */ void -completion_build_list (t_completion *completion, void *server, void *channel) +completion_get_command_infos (t_completion *completion, + char **template, int *max_arg) { - t_weelist *ptr_list; - int i, j, length; - t_irc_server *ptr_server; - t_irc_channel *ptr_channel; - t_irc_nick *ptr_nick; - char *pos, option_name[256], *string, *string2; - t_weechat_alias *ptr_alias; - t_config_option *option; - void *option_value; - char option_string[2048]; + int i; #ifdef PLUGINS t_weechat_plugin *ptr_plugin; t_plugin_handler *ptr_handler; #endif - /* WeeChat internal commands */ + *template = NULL; + *max_arg = MAX_ARGS; - /* no completion for some commands */ - if ((ascii_strcasecmp (completion->base_command, "server") == 0) - || (ascii_strcasecmp (completion->base_command, "save") == 0)) +#ifdef PLUGINS + /* look for plugin command handler */ + for (ptr_plugin = weechat_plugins; ptr_plugin; + ptr_plugin = ptr_plugin->next_plugin) { - completion_stop (completion); - return; + for (ptr_handler = ptr_plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if ((ptr_handler->type == HANDLER_COMMAND) + && (ascii_strcasecmp (ptr_handler->command, + completion->base_command) == 0)) + { + *template = ptr_handler->completion_template; + *max_arg = MAX_ARGS; + return; + } + } } - if ((ascii_strcasecmp (completion->base_command, "alias") == 0) - && (completion->base_command_arg == 1)) +#endif + + /* look for WeeChat internal command */ + for (i = 0; weechat_commands[i].command_name; i++) { - for (ptr_list = index_commands; ptr_list; ptr_list = ptr_list->next_weelist) + if (ascii_strcasecmp (weechat_commands[i].command_name, + completion->base_command) == 0) { - weelist_add (&completion->completion_list, - &completion->last_completion, - ptr_list->data); + *template = weechat_commands[i].completion_template; + *max_arg = weechat_commands[i].max_arg; + return; } - return; } - if ((ascii_strcasecmp (completion->base_command, "buffer") == 0) - && (completion->base_command_arg == 1)) + + /* look for IRC command */ + for (i = 0; irc_commands[i].command_name; i++) + { + if ((irc_commands[i].cmd_function_args || irc_commands[i].cmd_function_1arg) + && (ascii_strcasecmp (irc_commands[i].command_name, + completion->base_command) == 0)) + { + *template = irc_commands[i].completion_template; + *max_arg = irc_commands[i].max_arg; + return; + } + } + + return; +} + +/* + * completion_list_add_alias: add alias to completion list + */ + +void +completion_list_add_alias (t_completion *completion) +{ + t_weechat_alias *ptr_alias; + + for (ptr_alias = weechat_alias; ptr_alias; ptr_alias = ptr_alias->next_alias) { weelist_add (&completion->completion_list, &completion->last_completion, - "close"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "list"); + ptr_alias->alias_name); + } +} + +/* + * completion_list_add_alias_cmd: add alias and comands to completion list + */ + +void +completion_list_add_alias_cmd (t_completion *completion) +{ + t_weelist *ptr_list; + + for (ptr_list = index_commands; ptr_list; ptr_list = ptr_list->next_weelist) + { weelist_add (&completion->completion_list, &completion->last_completion, - "move"); + ptr_list->data); + } +} + +/* + * completion_list_add_channel: add current channel to completion list + */ + +void +completion_list_add_channel (t_completion *completion) +{ + if (completion->channel) weelist_add (&completion->completion_list, &completion->last_completion, - "notify"); - return; - } - if (ascii_strcasecmp (completion->base_command, "charset") == 0) + ((t_irc_channel *)(completion->channel))->name); +} + +/* + * completion_list_add_server_channels: add server channels to completion list + */ + +void +completion_list_add_server_channels (t_completion *completion) +{ + t_irc_channel *ptr_channel; + + if (completion->server) { - if (completion->base_command_arg == 1) + for (ptr_channel = ((t_irc_server *)(completion->server))->channels; + ptr_channel; ptr_channel = ptr_channel->next_channel) { weelist_add (&completion->completion_list, &completion->last_completion, - "decode_iso"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "decode_utf"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "encode"); + ptr_channel->name); } - else if (completion->base_command_arg == 2) + } +} + +/* + * completion_list_add_filename: add filename to completion list + */ + +void +completion_list_add_filename (t_completion *completion) +{ + /* TODO: add filename completion */ + completion_stop (completion); +} + +/* + * completion_list_add_plugin_cmd: add plugin command handlers to completion list + */ + +void +completion_list_add_plugin_cmd (t_completion *completion) +{ +#ifdef PLUGINS + t_weechat_plugin *ptr_plugin; + t_plugin_handler *ptr_handler; + + 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 (!server) - { - completion_stop (completion); - return; - } - pos = strchr (completion->args, ' '); - if (pos) - pos[0] = '\0'; - string2 = NULL; - if (ascii_strcasecmp (completion->args, "decode_iso") == 0) - { - config_option_list_get_value (&(((t_irc_server *)server)->charset_decode_iso), - (channel) ? ((t_irc_channel *)channel)->name : "server", - &string, &length); - if (string && (length > 0)) - { - string2 = strdup (string); - string2[length] = '\0'; - } - } - else if (ascii_strcasecmp (completion->args, "decode_utf") == 0) - { - config_option_list_get_value (&(((t_irc_server *)server)->charset_decode_utf), - (channel) ? ((t_irc_channel *)channel)->name : "server", - &string, &length); - if (string && (length > 0)) - { - string2 = strdup (string); - string2[length] = '\0'; - } - } - else if (ascii_strcasecmp (completion->args, "encode") == 0) - { - config_option_list_get_value (&(((t_irc_server *)server)->charset_encode), - (channel) ? ((t_irc_channel *)channel)->name : "server", - &string, &length); - if (string && (length > 0)) - { - string2 = strdup (string); - string2[length] = '\0'; - } - } - - if (string2) - { + if (ptr_handler->type == HANDLER_COMMAND) weelist_add (&completion->completion_list, &completion->last_completion, - string2); - free (string2); - } - else - completion_stop (completion); - - if (pos) - pos[0] = ' '; + ptr_handler->command); } - else - completion_stop (completion); - return; } - if ((ascii_strcasecmp (completion->base_command, "clear") == 0) - && (completion->base_command_arg == 1)) +#else + /* make gcc happy */ + (void) completion; +#endif +} + +/* + * completion_list_add_irc_cmd_sent: add IRC command (sent) to completion list + */ + +void +completion_list_add_irc_cmd_sent (t_completion *completion) +{ + int i; + + for (i = 0; irc_commands[i].command_name; i++) + { + if (irc_commands[i].cmd_function_args || irc_commands[i].cmd_function_1arg) + weelist_add (&completion->completion_list, + &completion->last_completion, + irc_commands[i].command_name); + } +} + +/* + * completion_list_add_irc_cmd_recv: add IRC command (received) to completion list + */ + +void +completion_list_add_irc_cmd_recv (t_completion *completion) +{ + int i; + + for (i = 0; irc_commands[i].command_name; i++) + { + if (irc_commands[i].recv_function) + weelist_add(&completion->completion_list, + &completion->last_completion, + irc_commands[i].command_name); + } +} + +/* + * completion_list_add_key_cmd: add key commands/functions to completion list + */ + +void +completion_list_add_key_cmd (t_completion *completion) +{ + int i; + + for (i = 0; gui_key_functions[i].function_name; i++) { weelist_add (&completion->completion_list, &completion->last_completion, - "-all"); - return; + gui_key_functions[i].function_name); } - if ((ascii_strcasecmp (completion->base_command, "connect") == 0) - || (ascii_strcasecmp (completion->base_command, "disconnect") == 0)) +} + +/* + * completion_list_add_channel_nicks: add channel nicks to completion list + */ + +void +completion_list_add_channel_nicks (t_completion *completion) +{ + t_irc_nick *ptr_nick; + + if (completion->channel) { - if (completion->base_command_arg == 1) + if (((t_irc_channel *)(completion->channel))->type == CHANNEL_TYPE_CHANNEL) { - for (ptr_server = irc_servers; ptr_server; - ptr_server = ptr_server->next_server) + for (ptr_nick = ((t_irc_channel *)(completion->channel))->nicks; + ptr_nick; ptr_nick = ptr_nick->next_nick) { weelist_add (&completion->completion_list, &completion->last_completion, - ptr_server->name); + ptr_nick->nick); } - return; - } - else - { - completion_stop (completion); - return; } - } - if (ascii_strcasecmp (completion->base_command, "debug") == 0) - { - if (completion->base_command_arg == 1) + if (((t_irc_channel *)(completion->channel))->type == CHANNEL_TYPE_PRIVATE) { weelist_add (&completion->completion_list, &completion->last_completion, - "dump"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "windows"); + ((t_irc_channel *)(completion->channel))->name); } - else - completion_stop (completion); - return; - } - if ((ascii_strcasecmp (completion->base_command, "help") == 0) - && (completion->base_command_arg == 1)) - { - for (i = 0; weechat_commands[i].command_name; i++) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - weechat_commands[i].command_name); - } - for (i = 0; irc_commands[i].command_name; i++) - { - if (irc_commands[i].cmd_function_args || irc_commands[i].cmd_function_1arg) - weelist_add (&completion->completion_list, - &completion->last_completion, - irc_commands[i].command_name); - } -#ifdef PLUGINS - 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_COMMAND) - weelist_add (&completion->completion_list, - &completion->last_completion, - ptr_handler->command); - } - } -#endif - return; } - if (ascii_strcasecmp (completion->base_command, "history") == 0) - { - if (completion->base_command_arg == 1) - weelist_add (&completion->completion_list, - &completion->last_completion, - "clear"); - else - completion_stop (completion); - return; - } - if (ascii_strcasecmp (completion->base_command, "ignore") == 0) +} + +/* + * completion_list_add_option: add config option to completion list + */ + +void +completion_list_add_option (t_completion *completion) +{ + int i, j; + t_irc_server *ptr_server; + char option_name[256]; + + for (i = 0; i < CONFIG_NUMBER_SECTIONS; i++) { - /* arg 1: nicks of current channel and "*" */ - if (completion->base_command_arg == 1) + if ((i != CONFIG_SECTION_KEYS) && (i != CONFIG_SECTION_ALIAS) + && (i != CONFIG_SECTION_IGNORE) && (i != CONFIG_SECTION_SERVER)) { - weelist_add (&completion->completion_list, - &completion->last_completion, - "*"); - if (channel) - { - if (((t_irc_channel *)channel)->type == CHANNEL_TYPE_CHANNEL) - { - for (ptr_nick = ((t_irc_channel *)channel)->nicks; ptr_nick; - ptr_nick = ptr_nick->next_nick) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - ptr_nick->nick); - } - } - if (((t_irc_channel *)channel)->type == CHANNEL_TYPE_PRIVATE) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - ((t_irc_channel *)channel)->name); - } - } - return; - } - - /* arg 2: type / command and "*" */ - if (completion->base_command_arg == 2) - { - weelist_add(&completion->completion_list, - &completion->last_completion, - "*"); - i = 0; - while (ignore_types[i]) + for (j = 0; weechat_options[i][j].option_name; j++) { weelist_add (&completion->completion_list, &completion->last_completion, - ignore_types[i]); - i++; - } - i = 0; - while (irc_commands[i].command_name) - { - if (irc_commands[i].recv_function) - weelist_add(&completion->completion_list, - &completion->last_completion, - irc_commands[i].command_name); - i++; + weechat_options[i][j].option_name); } - return; - } - - /* arg 3: channel and "*" */ - if (completion->base_command_arg == 3) - { - weelist_add(&completion->completion_list, - &completion->last_completion, - "*"); - if (((t_irc_channel *)channel)->type == CHANNEL_TYPE_CHANNEL) - weelist_add(&completion->completion_list, - &completion->last_completion, - ((t_irc_channel *)channel)->name); - return; - } - - /* arg 4: server */ - if (completion->base_command_arg == 4) - { - weelist_add(&completion->completion_list, - &completion->last_completion, - "*"); - if (SERVER(gui_current_window->buffer)) - weelist_add(&completion->completion_list, - &completion->last_completion, - SERVER(gui_current_window->buffer)->name); - return; } } - if (ascii_strcasecmp (completion->base_command, "key") == 0) + for (ptr_server = irc_servers; ptr_server; + ptr_server = ptr_server->next_server) { - if (completion->base_command_arg == 1) + for (i = 0; weechat_options[CONFIG_SECTION_SERVER][i].option_name; i++) { + snprintf (option_name, sizeof (option_name), "%s.%s", + ptr_server->name, + weechat_options[CONFIG_SECTION_SERVER][i].option_name); weelist_add (&completion->completion_list, &completion->last_completion, - "unbind"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "functions"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "reset"); - return; - } - if (completion->base_command_arg == 2) - { - i = 0; - while (gui_key_functions[i].function_name) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - gui_key_functions[i].function_name); - i++; - } - return; + option_name); } } - if ((ascii_strcasecmp (completion->base_command, "plugin") == 0) - && (completion->base_command_arg == 1)) - { +} + +/* + * completion_list_add_part: add part message to completion list + */ + +void +completion_list_add_part (t_completion *completion) +{ + if (cfg_irc_default_msg_part && cfg_irc_default_msg_part[0]) weelist_add (&completion->completion_list, &completion->last_completion, - "load"); + cfg_irc_default_msg_part); +} + +/* + * completion_list_add_quit: add quit message to completion list + */ + +void +completion_list_add_quit (t_completion *completion) +{ + if (cfg_irc_default_msg_quit && cfg_irc_default_msg_quit[0]) weelist_add (&completion->completion_list, &completion->last_completion, - "autoload"); + cfg_irc_default_msg_quit); +} + +/* + * completion_list_add_server: add current server to completion list + */ + +void +completion_list_add_server (t_completion *completion) +{ + if (completion->server) weelist_add (&completion->completion_list, &completion->last_completion, - "reload"); + ((t_irc_server *)(completion->server))->name); +} + +/* + * completion_list_add_servers: add all servers to completion list + */ + +void +completion_list_add_servers (t_completion *completion) +{ + t_irc_server *ptr_server; + + for (ptr_server = irc_servers; ptr_server; + ptr_server = ptr_server->next_server) + { weelist_add (&completion->completion_list, &completion->last_completion, - "unload"); - return; + ptr_server->name); } - if (ascii_strcasecmp (completion->base_command, "set") == 0) +} + +/* + * completion_list_add_topic: add topic to completion list + */ + +void +completion_list_add_topic (t_completion *completion) +{ + char *string, *string2; + + if (!completion->server || !completion->channel + || !((t_irc_channel *)(completion->channel))->topic + || !((t_irc_channel *)(completion->channel))->topic[0]) + completion_stop (completion); + else + { + if (cfg_irc_colors_send) + string = (char *)gui_color_decode_for_user_entry ((unsigned char *)((t_irc_channel *)(completion->channel))->topic); + else + string = (char *)gui_color_decode ((unsigned char *)((t_irc_channel *)(completion->channel))->topic, 0); + string2 = channel_iconv_decode ((t_irc_server *)(completion->server), + (t_irc_channel *)(completion->channel), + (string) ? string : ((t_irc_channel *)(completion->channel))->topic); + weelist_add (&completion->completion_list, + &completion->last_completion, + (string2) ? string2 : ((string) ? string : ((t_irc_channel *)(completion->channel))->topic)); + if (string) + free (string); + if (string2) + free (string2); + } +} + +/* + * completion_list_add_option_value: add option value to completion list + */ + +void +completion_list_add_option_value (t_completion *completion) +{ + char *pos; + t_config_option *option; + void *option_value; + char option_string[2048]; + + if (completion->args) { - if (completion->base_command_arg == 1) + pos = strchr (completion->args, ' '); + if (pos) + pos[0] = '\0'; + option = NULL; + option_value = NULL; + config_option_search_option_value (completion->args, &option, &option_value); + if (option && option_value) { - for (i = 0; i < CONFIG_NUMBER_SECTIONS; i++) + switch (option->option_type) { - if ((i != CONFIG_SECTION_KEYS) && (i != CONFIG_SECTION_ALIAS) - && (i != CONFIG_SECTION_IGNORE) && (i != CONFIG_SECTION_SERVER)) - { - for (j = 0; weechat_options[i][j].option_name; j++) - { + case OPTION_TYPE_BOOLEAN: + if (option_value && (*((int *)(option_value)))) weelist_add (&completion->completion_list, &completion->last_completion, - weechat_options[i][j].option_name); - } - } - } - for (ptr_server = irc_servers; ptr_server; - ptr_server = ptr_server->next_server) - { - for (i = 0; weechat_options[CONFIG_SECTION_SERVER][i].option_name; i++) - { - snprintf (option_name, sizeof (option_name), "%s.%s", - ptr_server->name, - weechat_options[CONFIG_SECTION_SERVER][i].option_name); + "on"); + else + weelist_add (&completion->completion_list, + &completion->last_completion, + "off"); + break; + case OPTION_TYPE_INT: + snprintf (option_string, sizeof (option_string) - 1, + "%d", (option_value) ? *((int *)(option_value)) : option->default_int); weelist_add (&completion->completion_list, &completion->last_completion, - option_name); - } + option_string); + break; + case OPTION_TYPE_INT_WITH_STRING: + weelist_add (&completion->completion_list, + &completion->last_completion, + (option_value) ? + option->array_values[*((int *)(option_value))] : + option->array_values[option->default_int]); + break; + case OPTION_TYPE_COLOR: + weelist_add (&completion->completion_list, + &completion->last_completion, + (option_value) ? + gui_get_color_name (*((int *)(option_value))) : + option->default_string); + break; + case OPTION_TYPE_STRING: + snprintf (option_string, sizeof (option_string) - 1, + "\"%s\"", + (option_value) ? + *((char **)(option_value)) : + option->default_string); + weelist_add (&completion->completion_list, + &completion->last_completion, + option_string); + break; } } - else if (completion->base_command_arg == 3) + if (pos) + pos[0] = ' '; + } +} + +/* + * completion_list_add_weechat_cmd: add WeeChat commands to completion list + */ + +void +completion_list_add_weechat_cmd (t_completion *completion) +{ + int i; + + for (i = 0; weechat_commands[i].command_name; i++) + { + weelist_add (&completion->completion_list, + &completion->last_completion, + weechat_commands[i].command_name); + } +} + +/* + * completion_list_add_away: add away message to completion list + */ + +void +completion_list_add_away (t_completion *completion) +{ + if (cfg_irc_default_msg_away && cfg_irc_default_msg_away[0]) + weelist_add (&completion->completion_list, + &completion->last_completion, + cfg_irc_default_msg_away); +} + +/* + * completion_build_list_template: build data list according to a template + */ + +void +completion_build_list_template (t_completion *completion, char *template) +{ + char *word, *pos; + int word_offset; + + word = strdup (template); + word_offset = 0; + pos = template; + while (pos) + { + switch (pos[0]) { - if (completion->args) - { - pos = strchr (completion->args, ' '); - if (pos) - pos[0] = '\0'; - option = NULL; - option_value = NULL; - config_option_search_option_value (completion->args, &option, &option_value); - if (option && option_value) + case '\0': + case ' ': + case '|': + if (word_offset > 0) + { + word[word_offset] = '\0'; + weelist_add (&completion->completion_list, + &completion->last_completion, + word); + } + word_offset = 0; + break; + case '%': + pos++; + if (pos && pos[0]) { - switch (option->option_type) + switch (pos[0]) { - case OPTION_TYPE_BOOLEAN: - if (option_value && (*((int *)(option_value)))) - weelist_add (&completion->completion_list, - &completion->last_completion, - "on"); - else - weelist_add (&completion->completion_list, - &completion->last_completion, - "off"); + case '-': /* stop completion */ + completion_stop (completion); + free (word); + return; + break; + case 'a': /* alias */ + completion_list_add_alias (completion); break; - case OPTION_TYPE_INT: - snprintf (option_string, sizeof (option_string) - 1, - "%d", (option_value) ? *((int *)(option_value)) : option->default_int); - weelist_add (&completion->completion_list, - &completion->last_completion, - option_string); + case 'A': /* alias or any command */ + completion_list_add_alias_cmd (completion); break; - case OPTION_TYPE_INT_WITH_STRING: - weelist_add (&completion->completion_list, - &completion->last_completion, - (option_value) ? - option->array_values[*((int *)(option_value))] : - option->array_values[option->default_int]); + case 'c': /* current channel */ + completion_list_add_channel (completion); break; - case OPTION_TYPE_COLOR: - weelist_add (&completion->completion_list, - &completion->last_completion, - (option_value) ? - gui_get_color_name (*((int *)(option_value))) : - option->default_string); + case 'C': /* all channels */ + completion_list_add_server_channels (completion); break; - case OPTION_TYPE_STRING: - snprintf (option_string, sizeof (option_string) - 1, - "\"%s\"", - (option_value) ? - *((char **)(option_value)) : - option->default_string); - weelist_add (&completion->completion_list, - &completion->last_completion, - option_string); + case 'f': /* filename */ + completion_list_add_filename (completion); + break; + case 'h': /* plugin command handlers */ + completion_list_add_plugin_cmd (completion); + break; + case 'i': /* IRC command (sent) */ + completion_list_add_irc_cmd_sent (completion); + break; + case 'I': /* IRC command (received) */ + completion_list_add_irc_cmd_recv (completion); + break; + case 'k': /* key cmd/funtcions*/ + completion_list_add_key_cmd (completion); + break; + case 'n': /* channel nicks */ + completion_list_add_channel_nicks (completion); + break; + case 'o': /* config option */ + completion_list_add_option (completion); + break; + case 'p': /* part message */ + completion_list_add_part (completion); + break; + case 'q': /* quit message */ + completion_list_add_quit (completion); + break; + case 's': /* current server */ + completion_list_add_server (completion); + break; + case 'S': /* all servers */ + completion_list_add_servers (completion); + break; + case 't': /* topic */ + completion_list_add_topic (completion); + break; + case 'v': /* value of config option */ + completion_list_add_option_value (completion); + break; + case 'w': /* WeeChat commands */ + completion_list_add_weechat_cmd (completion); + break; + case 'y': /* away message */ + completion_list_add_away (completion); break; } } - if (pos) - pos[0] = ' '; - } + break; + default: + word[word_offset++] = pos[0]; } + /* end of argument in template? */ + if (!pos[0] || (pos[0] == ' ')) + pos = NULL; else - completion_stop (completion); - return; - } - if ((ascii_strcasecmp (completion->base_command, "unalias") == 0) - && (completion->base_command_arg == 1)) - { - for (ptr_alias = weechat_alias; ptr_alias; ptr_alias = ptr_alias->next_alias) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - ptr_alias->alias_name); - } - return; - } - if (ascii_strcasecmp (completion->base_command, "window") == 0) - { - if (completion->base_command_arg == 1) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - "list"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "splith"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "splitv"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "resize"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "merge"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "up"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "down"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "left"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "right"); - return; - } - - if (completion->base_command_arg == 2) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - "down"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "up"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "left"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "right"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "all"); - return; - } - - completion_stop (completion); - return; + pos++; } + free (word); +} + +/* + * completion_build_list: build data list according to command and argument # + */ + +void +completion_build_list (t_completion *completion) +{ + char *template, *pos_space; + int max_arg, i; - /* IRC commands */ - - /* no completion for some commands */ - if ((ascii_strcasecmp (completion->base_command, "admin") == 0) - || (ascii_strcasecmp (completion->base_command, "die") == 0) - || (ascii_strcasecmp (completion->base_command, "info") == 0) - || (ascii_strcasecmp (completion->base_command, "join") == 0) - || (ascii_strcasecmp (completion->base_command, "links") == 0) - || (ascii_strcasecmp (completion->base_command, "list") == 0) - || (ascii_strcasecmp (completion->base_command, "lusers") == 0) - || (ascii_strcasecmp (completion->base_command, "motd") == 0) - || (ascii_strcasecmp (completion->base_command, "oper") == 0) - || (ascii_strcasecmp (completion->base_command, "rehash") == 0) - || (ascii_strcasecmp (completion->base_command, "restart") == 0) - || (ascii_strcasecmp (completion->base_command, "service") == 0) - || (ascii_strcasecmp (completion->base_command, "servlist") == 0) - || (ascii_strcasecmp (completion->base_command, "squery") == 0) - || (ascii_strcasecmp (completion->base_command, "squit") == 0) - || (ascii_strcasecmp (completion->base_command, "stats") == 0) - || (ascii_strcasecmp (completion->base_command, "summon") == 0) - || (ascii_strcasecmp (completion->base_command, "time") == 0) - || (ascii_strcasecmp (completion->base_command, "trace") == 0) - || (ascii_strcasecmp (completion->base_command, "users") == 0) - || (ascii_strcasecmp (completion->base_command, "wallops") == 0) - || (ascii_strcasecmp (completion->base_command, "who") == 0)) + completion_get_command_infos (completion, &template, &max_arg); + if (!template || (completion->base_command_arg > max_arg)) { completion_stop (completion); return; } - if ((ascii_strcasecmp (completion->base_command, "away") == 0) - && (completion->base_command_arg == 1)) - { - if (cfg_irc_default_msg_away && cfg_irc_default_msg_away[0]) - weelist_add (&completion->completion_list, - &completion->last_completion, - cfg_irc_default_msg_away); - return; - } - if ((ascii_strcasecmp (completion->base_command, "ctcp") == 0) - && (completion->base_command_arg == 2)) + i = 1; + while (template && template[0]) { - weelist_add (&completion->completion_list, - &completion->last_completion, - "action"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "ping"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "version"); - return; - } - if ((ascii_strcasecmp (completion->base_command, "dcc") == 0) - && (completion->base_command_arg == 1)) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - "chat"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "send"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "close"); - return; - } - if (ascii_strcasecmp (completion->base_command, "invite") == 0) - { - /* arg1: nickname */ - if (completion->base_command_arg == 1) - return; - - /* arg > 2: not allowed */ - if (completion->base_command_arg > 2) + pos_space = strchr (template, ' '); + if (i == completion->base_command_arg) { - completion_stop (completion); + completion_build_list_template (completion, template); return; } - - /* arg2: channel */ - if (SERVER(gui_current_window->buffer)) + if (pos_space) { - for (ptr_channel = SERVER(gui_current_window->buffer)->channels; - ptr_channel; ptr_channel = ptr_channel->next_channel) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - ptr_channel->name); - } - } - return; - } - if (ascii_strcasecmp (completion->base_command, "kick") == 0) - { - if (completion->base_command_arg != 1) - completion_stop (completion); - return; - } - if (ascii_strcasecmp (completion->base_command, "kill") == 0) - { - if (completion->base_command_arg != 1) - completion_stop (completion); - return; - } - if (ascii_strcasecmp (completion->base_command, "me") == 0) - { - completion->context = COMPLETION_NICK; - return; - } - if (ascii_strcasecmp (completion->base_command, "notice") == 0) - { - if (completion->base_command_arg != 1) - completion_stop (completion); - return; - } - if ((ascii_strcasecmp (completion->base_command, "part") == 0) - && (completion->base_command_arg == 1)) - { - if (cfg_irc_default_msg_part && cfg_irc_default_msg_part[0]) - weelist_add (&completion->completion_list, - &completion->last_completion, - cfg_irc_default_msg_part); - return; - } - if (ascii_strcasecmp (completion->base_command, "query") == 0) - { - if (completion->base_command_arg != 1) - completion_stop (completion); - return; - } - if ((ascii_strcasecmp (completion->base_command, "quit") == 0) - && (completion->base_command_arg == 1)) - { - if (cfg_irc_default_msg_quit && cfg_irc_default_msg_quit[0]) - weelist_add (&completion->completion_list, - &completion->last_completion, - cfg_irc_default_msg_quit); - return; - } - if (ascii_strcasecmp (completion->base_command, "topic") == 0) - { - if (completion->base_command_arg == 1) - { - if (!channel || !((t_irc_channel *)channel)->topic - || !((t_irc_channel *)channel)->topic[0]) - completion_stop (completion); - else - { - if (cfg_irc_colors_send) - string = (char *)gui_color_decode_for_user_entry ((unsigned char *)((t_irc_channel *)channel)->topic); - else - string = (char *)gui_color_decode ((unsigned char *)((t_irc_channel *)channel)->topic, 0); - string2 = channel_iconv_decode ((t_irc_server *)server, - (t_irc_channel *)channel, - (string) ? string : ((t_irc_channel *)channel)->topic); - weelist_add (&completion->completion_list, - &completion->last_completion, - (string2) ? string2 : ((t_irc_channel *)channel)->topic); - if (string) - free (string); - if (string2) - free (string2); - } + template = pos_space; + while (template[0] == ' ') + template++; } else - completion_stop (completion); - return; + template = NULL; + i++; } } @@ -783,8 +738,7 @@ completion_build_list (t_completion *completion, void *server, void *channel) */ void -completion_find_context (t_completion *completion, void *server, void *channel, - char *buffer, int size, int pos) +completion_find_context (t_completion *completion, char *buffer, int size, int pos) { int i, command, command_arg, pos_start, pos_end; @@ -821,7 +775,7 @@ completion_find_context (t_completion *completion, void *server, void *channel, } else { - if (channel) + if (completion->channel) completion->context = COMPLETION_NICK; else completion->context = COMPLETION_NULL; @@ -894,7 +848,7 @@ completion_find_context (t_completion *completion, void *server, void *channel, for (i = pos_start; i <= pos_end; i++) completion->base_command[i - pos_start] = buffer[i]; completion->base_command[pos_end - pos_start + 1] = '\0'; - completion_build_list (completion, server, channel); + completion_build_list (completion); } } @@ -907,18 +861,18 @@ completion_find_context (t_completion *completion, void *server, void *channel, return; } - if (!completion->completion_list && channel && - (((t_irc_channel *)channel)->type == CHANNEL_TYPE_PRIVATE) + if (!completion->completion_list && completion->channel && + (((t_irc_channel *)(completion->channel))->type == CHANNEL_TYPE_PRIVATE) && (completion->context == COMPLETION_NICK)) { /* nick completion in private (only other nick and self) */ completion->context = COMPLETION_NICK; weelist_add (&completion->completion_list, &completion->last_completion, - ((t_irc_channel *)channel)->name); + ((t_irc_channel *)(completion->channel))->name); weelist_add (&completion->completion_list, &completion->last_completion, - SERVER(gui_current_window->buffer)->nick); + ((t_irc_server *)(completion->server))->nick); } } @@ -1043,8 +997,7 @@ completion_nickncmp (char *base_word, char *nick, int max) */ void -completion_command_arg (t_completion *completion, t_irc_channel *channel, - int nick_completion) +completion_command_arg (t_completion *completion, int nick_completion) { int length, word_found_seen, other_completion; t_weelist *ptr_weelist, *ptr_weelist2; @@ -1086,7 +1039,7 @@ completion_command_arg (t_completion *completion, t_irc_channel *channel, if (completion->word_found) { completion->word_found = NULL; - completion_command_arg (completion, channel, nick_completion); + completion_command_arg (completion, nick_completion); } } @@ -1095,24 +1048,25 @@ completion_command_arg (t_completion *completion, t_irc_channel *channel, */ void -completion_nick (t_completion *completion, t_irc_channel *channel) +completion_nick (t_completion *completion) { int length, word_found_seen, other_completion; t_irc_nick *ptr_nick, *ptr_nick2; - if (!channel) + if (!completion->channel) return; - if (((t_irc_channel *)channel)->type == CHANNEL_TYPE_PRIVATE) + if (((t_irc_channel *)(completion->channel))->type == CHANNEL_TYPE_PRIVATE) { - completion_command_arg (completion, channel, 1); + completion_command_arg (completion, 1); return; } length = strlen (completion->base_word); word_found_seen = 0; other_completion = 0; - for (ptr_nick = channel->nicks; ptr_nick; ptr_nick = ptr_nick->next_nick) + for (ptr_nick = ((t_irc_channel *)(completion->channel))->nicks; + ptr_nick; ptr_nick = ptr_nick->next_nick) { if (completion_nickncmp (completion->base_word, ptr_nick->nick, length) == 0) { @@ -1143,7 +1097,7 @@ completion_nick (t_completion *completion, t_irc_channel *channel) if (completion->word_found) { completion->word_found = NULL; - completion_nick (completion, channel); + completion_nick (completion); } } @@ -1152,8 +1106,7 @@ completion_nick (t_completion *completion, t_irc_channel *channel) */ void -completion_search (t_completion *completion, void *server, void *channel, - char *buffer, int size, int pos) +completion_search (t_completion *completion, char *buffer, int size, int pos) { char *old_word_found; @@ -1161,7 +1114,7 @@ completion_search (t_completion *completion, void *server, void *channel, if (pos != completion->position) { completion->word_found = NULL; - completion_find_context (completion, server, channel, buffer, size, pos); + completion_find_context (completion, buffer, size, pos); } /* completion */ @@ -1172,8 +1125,8 @@ completion_search (t_completion *completion, void *server, void *channel, /* should never be executed */ return; case COMPLETION_NICK: - if (channel) - completion_nick (completion, (t_irc_channel *)channel); + if (completion->channel) + completion_nick (completion); else return; break; @@ -1182,9 +1135,9 @@ completion_search (t_completion *completion, void *server, void *channel, break; case COMPLETION_COMMAND_ARG: if (completion->completion_list) - completion_command_arg (completion, (t_irc_channel *)channel, 0); + completion_command_arg (completion, 0); else - completion_nick (completion, (t_irc_channel *)channel); + completion_nick (completion); break; } if (completion->word_found) diff --git a/src/common/completion.h b/src/common/completion.h index 56464a3f7..32850dc2a 100644 --- a/src/common/completion.h +++ b/src/common/completion.h @@ -33,27 +33,29 @@ typedef struct t_completion t_completion; struct t_completion { /* completion context */ - int context; /* context: null, nick, command, cmd arg */ - char *base_command; /* command with arg to complete (can be NULL) */ - int base_command_arg; /* # arg to complete (if context is cmd arg) */ - char *base_word; /* word to complete (when Tab was pressed) */ - int base_word_pos; /* beggining of base word */ - int position; /* position where Tab was pressed */ - char *args; /* command line args (including base word) */ + void *server; /* server pointer */ + void *channel; /* channel pointer */ + int context; /* context: null, nick, command, cmd arg */ + char *base_command; /* command with arg to complete (can be NULL) */ + int base_command_arg; /* # arg to complete (if context is cmd arg) */ + char *base_word; /* word to complete (when Tab was pressed) */ + int base_word_pos; /* beggining of base word */ + int position; /* position where Tab was pressed */ + char *args; /* command line args (including base word) */ /* for command argument completion */ - t_weelist *completion_list; /* data list for completion */ - t_weelist *last_completion; /* last data element for completion */ + t_weelist *completion_list; /* data list for completion */ + t_weelist *last_completion; /* last data element for completion */ /* completion found */ - char *word_found; /* word found (to replace base word) */ - int position_replace; /* position where word has to be replaced */ - int diff_size; /* size difference (< 0 = char(s) deleted) */ - int diff_length; /* length difference (<= diff_size) */ + char *word_found; /* word found (to replace base word) */ + int position_replace; /* position where word has to be replaced */ + int diff_size; /* size difference (< 0 = char(s) deleted) */ + int diff_length; /* length difference (<= diff_size) */ }; -extern void completion_init (t_completion *); +extern void completion_init (t_completion *, void *, void *); extern void completion_free (t_completion *); -extern void completion_search (t_completion *, void *, void *, char *, int, int); +extern void completion_search (t_completion *, char *, int, int); #endif /* completion.h */ diff --git a/src/gui/gui-action.c b/src/gui/gui-action.c index e68e883f1..f84af7ced 100644 --- a/src/gui/gui-action.c +++ b/src/gui/gui-action.c @@ -126,8 +126,6 @@ gui_action_tab (t_gui_window *window) if (window->buffer->has_input) { completion_search (&(window->buffer->completion), - SERVER(window->buffer), - CHANNEL(window->buffer), window->buffer->input_buffer, window->buffer->input_buffer_size, utf8_real_pos (window->buffer->input_buffer, diff --git a/src/gui/gui-common.c b/src/gui/gui-common.c index 53bca6cc8..5f67d2ce7 100644 --- a/src/gui/gui-common.c +++ b/src/gui/gui-common.c @@ -474,7 +474,7 @@ gui_buffer_new (t_gui_window *window, void *server, void *channel, int dcc, new_buffer->input_buffer_1st_display = 0; /* init completion */ - completion_init (&(new_buffer->completion)); + completion_init (&(new_buffer->completion), server, channel); /* init history */ new_buffer->history = NULL; diff --git a/src/irc/irc-commands.c b/src/irc/irc-commands.c index c14a096c9..413197a46 100644 --- a/src/irc/irc-commands.c +++ b/src/irc/irc-commands.c @@ -34,462 +34,541 @@ t_irc_command irc_commands[] = { { "admin", N_("find information about the administrator of the server"), N_("[target]"), N_("target: server"), - 0, 1, 1, NULL, irc_cmd_send_admin, NULL }, + NULL, 0, 1, 1, NULL, irc_cmd_send_admin, NULL }, { "ame", N_("send a CTCP action to all channels of all connected servers"), N_("message"), N_("message: message to send"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_ame, NULL }, + "", 1, MAX_ARGS, 1, NULL, irc_cmd_send_ame, NULL }, { "amsg", N_("send message to all channels of all connected servers"), N_("text"), N_("text: text to send"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_amsg, NULL }, + "", 1, MAX_ARGS, 1, NULL, irc_cmd_send_amsg, NULL }, { "away", N_("toggle away status"), N_("[-all] [message]"), N_("-all: toggle away status on all connected servers\n" - "message: message for away (if no message is given, away status is removed)"), - 0, MAX_ARGS, 1, NULL, irc_cmd_send_away, NULL }, + "message: message for away (if no message is given, away status is removed)"), + "%y", 0, MAX_ARGS, 1, NULL, irc_cmd_send_away, NULL }, { "ban", N_("bans nicks or hosts"), N_("[channel] [nickname [nickname ...]]"), N_("channel: channel for ban\n" "nickname: user or host to ban"), - 0, MAX_ARGS, 1, NULL, irc_cmd_send_ban, NULL }, + "", 0, MAX_ARGS, 1, NULL, irc_cmd_send_ban, NULL }, { "ctcp", N_("send a CTCP message (Client-To-Client Protocol)"), N_("nickname type [arguments]"), N_("nickname: user to send CTCP to\n" "type: CTCP type (examples: \"version\", \"ping\", ..)\n" "arguments: arguments for CTCP"), - 2, MAX_ARGS, 1, NULL, irc_cmd_send_ctcp, NULL }, + "%n action|ping|version", 2, MAX_ARGS, 1, NULL, irc_cmd_send_ctcp, NULL }, { "dcc", N_("starts DCC (file or chat) or close chat"), N_("action [nickname [file]]"), N_("action: 'send' (file) or 'chat' or 'close' (chat)\n" - "nickname: nickname to send file or chat\n" - "file: filename (on local host)"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_dcc, NULL }, + "nickname: nickname to send file or chat\n" + "file: filename (on local host)"), + "chat|send|close %n %f", 1, MAX_ARGS, 1, NULL, irc_cmd_send_dcc, NULL }, { "dehalfop", N_("removes half channel operator status from nickname(s)"), N_("[nickname [nickname]]"), "", - 0, MAX_ARGS, 1, irc_cmd_send_dehalfop, NULL, NULL }, + "", 0, MAX_ARGS, 1, irc_cmd_send_dehalfop, NULL, NULL }, { "deop", N_("removes channel operator status from nickname(s)"), N_("[nickname [nickname]]"), "", - 0, MAX_ARGS, 1, irc_cmd_send_deop, NULL, NULL }, + "", 0, MAX_ARGS, 1, irc_cmd_send_deop, NULL, NULL }, { "devoice", N_("removes voice from nickname(s)"), N_("[nickname [nickname]]"), "", - 0, MAX_ARGS, 1, irc_cmd_send_devoice, NULL, NULL }, - { "die", N_("shutdown the server"), - "", "", - 0, 0, 1, NULL, irc_cmd_send_die, NULL }, - { "error", N_("error received from IRC server"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_error }, + "", 0, MAX_ARGS, 1, irc_cmd_send_devoice, NULL, NULL }, + { "die", N_("shutdown the server"), "", "", + NULL, 0, 0, 1, NULL, irc_cmd_send_die, NULL }, + { "error", N_("error received from IRC server"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_error }, { "halfop", N_("gives half channel operator status to nickname(s)"), N_("[nickname [nickname]]"), "", - 0, MAX_ARGS, 1, irc_cmd_send_halfop, NULL, NULL }, + "", 0, MAX_ARGS, 1, irc_cmd_send_halfop, NULL, NULL }, { "info", N_("get information describing the server"), N_("[target]"), N_("target: server name"), - 0, 1, 1, NULL, irc_cmd_send_info, NULL }, + NULL, 0, 1, 1, NULL, irc_cmd_send_info, NULL }, { "invite", N_("invite a nick on a channel"), N_("nickname channel"), N_("nickname: nick to invite\n" "channel: channel to invite"), - 1, 2, 1, irc_cmd_send_invite, NULL, irc_cmd_recv_invite }, + "%n %c", 1, 2, 1, irc_cmd_send_invite, NULL, irc_cmd_recv_invite }, { "ison", N_("check if a nickname is currently on IRC"), N_("nickname [nickname ...]"), N_("nickname: nickname"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_ison, NULL }, + "", 1, MAX_ARGS, 1, NULL, irc_cmd_send_ison, NULL }, { "join", N_("join a channel"), N_("channel[,channel] [key[,key]]"), N_("channel: channel name to join\n" "key: key to join the channel"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_join, irc_cmd_recv_join }, + NULL, 1, MAX_ARGS, 1, NULL, irc_cmd_send_join, irc_cmd_recv_join }, { "kick", N_("forcibly remove a user from a channel"), N_("[channel] nickname [comment]"), N_("channel: channel where user is\n" "nickname: nickname to kick\n" "comment: comment for kick"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_kick, irc_cmd_recv_kick }, + "%n %-", 1, MAX_ARGS, 1, NULL, irc_cmd_send_kick, irc_cmd_recv_kick }, { "kickban", N_("kicks and bans a nick from a channel"), N_("[channel] nickname [comment]"), N_("channel: channel where user is\n" "nickname: nickname to kick and ban\n" "comment: comment for kick"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_kickban, NULL }, + "%n %-", 1, MAX_ARGS, 1, NULL, irc_cmd_send_kickban, NULL }, { "kill", N_("close client-server connection"), N_("nickname comment"), N_("nickname: nickname\n" "comment: comment for kill"), - 2, MAX_ARGS, 1, NULL, irc_cmd_send_kill, irc_cmd_recv_kill }, + "%n %-", 2, MAX_ARGS, 1, NULL, irc_cmd_send_kill, irc_cmd_recv_kill }, { "links", N_("list all servernames which are known by the server answering the query"), N_("[[server] server_mask]"), N_("server: this server should answer the query\n" - "server_mask: list of servers must match this mask"), - 0, 2, 1, NULL, irc_cmd_send_links, NULL }, + "server_mask: list of servers must match this mask"), + NULL, 0, 2, 1, NULL, irc_cmd_send_links, NULL }, { "list", N_("list channels and their topic"), N_("[channel[,channel] [server]]"), N_("channel: channel to list\nserver: server name"), - 0, MAX_ARGS, 1, NULL, irc_cmd_send_list, NULL }, + NULL, 0, MAX_ARGS, 1, NULL, irc_cmd_send_list, NULL }, { "lusers", N_("get statistics about the size of the IRC network"), N_("[mask [target]]"), N_("mask: servers matching the mask only\n" - "target: server for forwarding request"), - 0, 2, 1, NULL, irc_cmd_send_lusers, NULL }, + "target: server for forwarding request"), + NULL, 0, 2, 1, NULL, irc_cmd_send_lusers, NULL }, { "me", N_("send a CTCP action to the current channel"), N_("message"), N_("message: message to send"), - 0, MAX_ARGS, 1, NULL, irc_cmd_send_me, NULL }, + "", 0, MAX_ARGS, 1, NULL, irc_cmd_send_me, NULL }, { "mode", N_("change channel or user mode"), N_("{ channel {[+|-]|o|p|s|i|t|n|b|v} [limit] [user] [ban mask] } | " - "{ nickname {[+|-]|i|w|s|o} }"), + "{ nickname {[+|-]|i|w|s|o} }"), N_("channel modes:\n" - " channel: channel name to modify\n" - " o: give/take channel operator privileges\n" - " p: private channel flag\n" - " s: secret channel flag\n" - " i: invite-only channel flag\n" - " t: topic settable by channel operator only flag\n" - " n: no messages to channel from clients on the outside\n" - " m: moderated channel\n" - " l: set the user limit to channel\n" - " b: set a ban mask to keep users out\n" - " e: set exception mask\n" - " v: give/take the ability to speak on a moderated channel\n" - " k: set a channel key (password)\n" - "user modes:\n" - " nickname: nickname to modify\n" - " i: mark a user as invisible\n" - " s: mark a user for receive server notices\n" - " w: user receives wallops\n" - " o: operator flag"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_mode, irc_cmd_recv_mode }, + " channel: channel name to modify\n" + " o: give/take channel operator privileges\n" + " p: private channel flag\n" + " s: secret channel flag\n" + " i: invite-only channel flag\n" + " t: topic settable by channel operator only flag\n" + " n: no messages to channel from clients on the outside\n" + " m: moderated channel\n" + " l: set the user limit to channel\n" + " b: set a ban mask to keep users out\n" + " e: set exception mask\n" + " v: give/take the ability to speak on a moderated channel\n" + " k: set a channel key (password)\n" + "user modes:\n" + " nickname: nickname to modify\n" + " i: mark a user as invisible\n" + " s: mark a user for receive server notices\n" + " w: user receives wallops\n" + " o: operator flag"), + "", 1, MAX_ARGS, 1, NULL, irc_cmd_send_mode, irc_cmd_recv_mode }, { "motd", N_("get the \"Message Of The Day\""), N_("[target]"), N_("target: server name"), - 0, 1, 1, NULL, irc_cmd_send_motd, NULL }, + NULL, 0, 1, 1, NULL, irc_cmd_send_motd, NULL }, { "msg", N_("send message to a nick or channel"), N_("receiver[,receiver] text"), N_("receiver: nick or channel (may be mask, '*' = current channel)\n" - "text: text to send"), - 2, MAX_ARGS, 1, NULL, irc_cmd_send_msg, NULL }, + "text: text to send"), + "", 2, MAX_ARGS, 1, NULL, irc_cmd_send_msg, NULL }, { "names", N_("list nicknames on channels"), - N_("[channel[,channel]]"), N_("channel: channel name"), - 0, 1, 1, NULL, irc_cmd_send_names, NULL }, + N_("[channel[,channel]]"), + N_("channel: channel name"), + NULL, 0, 1, 1, NULL, irc_cmd_send_names, NULL }, { "nick", N_("change current nickname"), N_("[-all] nickname"), N_("-all: set new nickname for all connected servers\n" - "nickname: new nickname"), - 1, 2, 0, irc_cmd_send_nick, NULL, irc_cmd_recv_nick }, + "nickname: new nickname"), + NULL, 1, 2, 0, irc_cmd_send_nick, NULL, irc_cmd_recv_nick }, { "notice", N_("send notice message to user"), - N_("nickname text"), N_("nickname: user to send notice to\ntext: text to send"), - 2, MAX_ARGS, 1, NULL, irc_cmd_send_notice, irc_cmd_recv_notice }, + N_("nickname text"), + N_("nickname: user to send notice to\ntext: text to send"), + "%n %-", 2, MAX_ARGS, 1, NULL, irc_cmd_send_notice, irc_cmd_recv_notice }, { "op", N_("gives channel operator status to nickname(s)"), N_("nickname [nickname]"), "", - 1, MAX_ARGS, 1, irc_cmd_send_op, NULL, NULL }, + "", 1, MAX_ARGS, 1, irc_cmd_send_op, NULL, NULL }, { "oper", N_("get operator privileges"), N_("user password"), N_("user/password: used to get privileges on current IRC server"), - 2, 2, 1, NULL, irc_cmd_send_oper, NULL }, + NULL, 2, 2, 1, NULL, irc_cmd_send_oper, NULL }, { "part", N_("leave a channel"), N_("[channel[,channel]] [part_message]"), N_("channel: channel name to leave\n" "part_message: part message (displayed to other users)"), - 0, MAX_ARGS, 1, NULL, irc_cmd_send_part, irc_cmd_recv_part }, + "%p", 0, MAX_ARGS, 1, NULL, irc_cmd_send_part, irc_cmd_recv_part }, { "ping", N_("ping server"), N_("server1 [server2]"), N_("server1: server to ping\nserver2: forward ping to this server"), - 1, 2, 1, NULL, irc_cmd_send_ping, irc_cmd_recv_ping }, + NULL, 1, 2, 1, NULL, irc_cmd_send_ping, irc_cmd_recv_ping }, { "pong", N_("answer to a ping message"), N_("daemon [daemon2]"), N_("daemon: daemon who has responded to Ping message\n" "daemon2: forward message to this daemon"), - 1, 2, 1, NULL, irc_cmd_send_pong, irc_cmd_recv_pong }, - { "privmsg", N_("message received"), - "", "", - 0, 0, 1, NULL, NULL, irc_cmd_recv_privmsg }, + NULL, 1, 2, 1, NULL, irc_cmd_send_pong, irc_cmd_recv_pong }, + { "privmsg", N_("message received"), "", "", + "", 0, 0, 1, NULL, NULL, irc_cmd_recv_privmsg }, { "query", N_("send a private message to a nick"), N_("nickname [text]"), N_("nickname: nickname for private conversation\n" - "text: text to send"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_query, NULL }, + "text: text to send"), + "%n %-", 1, MAX_ARGS, 1, NULL, irc_cmd_send_query, NULL }, { "quit", N_("close all connections & quit"), N_("[quit_message]"), N_("quit_message: quit message (displayed to other users)"), - 0, MAX_ARGS, 0, NULL, irc_cmd_send_quit, irc_cmd_recv_quit }, + "%q", 0, MAX_ARGS, 0, NULL, irc_cmd_send_quit, irc_cmd_recv_quit }, { "quote", N_("send raw data to server without parsing"), N_("data"), N_("data: raw data to send"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_quote, NULL }, - { "rehash", N_("tell the server to reload its config file"), - "", "", - 0, 0, 1, NULL, irc_cmd_send_rehash, NULL }, - { "restart", N_("tell the server to restart itself"), - "", "", - 0, 0, 1, NULL, irc_cmd_send_restart, NULL }, + "", 1, MAX_ARGS, 1, NULL, irc_cmd_send_quote, NULL }, + { "rehash", N_("tell the server to reload its config file"), "", "", + NULL, 0, 0, 1, NULL, irc_cmd_send_rehash, NULL }, + { "restart", N_("tell the server to restart itself"), "", "", + NULL, 0, 0, 1, NULL, irc_cmd_send_restart, NULL }, { "service", N_("register a new service"), N_("nickname reserved distribution type reserved info"), N_("distribution: visibility of service\n" - "type: reserved for future usage"), - 6, 6, 1, NULL, irc_cmd_send_service, NULL }, + "type: reserved for future usage"), + NULL, 6, 6, 1, NULL, irc_cmd_send_service, NULL }, { "servlist", N_("list services currently connected to the network"), N_("[mask [type]]"), N_("mask: list only services matching this mask\n" "type: list only services of this type"), - 0, 2, 1, NULL, irc_cmd_send_servlist, NULL }, + NULL, 0, 2, 1, NULL, irc_cmd_send_servlist, NULL }, { "squery", N_("deliver a message to a service"), N_("service text"), N_("service: name of service\ntext: text to send"), - 2, 2, 1, NULL, irc_cmd_send_squery, NULL }, + NULL, 2, 2, 1, NULL, irc_cmd_send_squery, NULL }, { "squit", N_("disconnect server links"), N_("server comment"), N_("server: server name\ncomment: comment for quit"), - 2, 2, 1, NULL, irc_cmd_send_squit, NULL }, + NULL, 2, 2, 1, NULL, irc_cmd_send_squit, NULL }, { "stats", N_("query statistics about server"), N_("[query [server]]"), - N_("query: c/h/i/k/l/m/o/y/u (see RFC1459)\nserver: server name"), - 0, 2, 1, NULL, irc_cmd_send_stats, NULL }, + N_("query: c/h/i/k/l/m/o/y/u (see RFC1459)\n" + "server: server name"), + NULL, 0, 2, 1, NULL, irc_cmd_send_stats, NULL }, { "summon", N_("give users who are on a host running an IRC server a message " "asking them to please join IRC"), N_("user [target [channel]]"), N_("user: username\ntarget: server name\n" "channel: channel name"), - 1, 3, 1, NULL, irc_cmd_send_summon, NULL }, + NULL, 1, 3, 1, NULL, irc_cmd_send_summon, NULL }, { "time", N_("query local time from server"), - N_("[target]"), N_("target: query time from specified server"), - 0, 1, 1, NULL, irc_cmd_send_time, NULL }, + N_("[target]"), + N_("target: query time from specified server"), + NULL, 0, 1, 1, NULL, irc_cmd_send_time, NULL }, { "topic", N_("get/set channel topic"), N_("[channel] [topic]"), N_("channel: channel name\ntopic: new topic for channel " "(if topic is \"-delete\" then topic is deleted)"), - 0, MAX_ARGS, 1, NULL, irc_cmd_send_topic, irc_cmd_recv_topic }, + "%t", 0, MAX_ARGS, 1, NULL, irc_cmd_send_topic, irc_cmd_recv_topic }, { "trace", N_("find the route to specific server"), - N_("[target]"), N_("target: server"), - 0, 1, 1, NULL, irc_cmd_send_trace, NULL }, + N_("[target]"), + N_("target: server"), + NULL, 0, 1, 1, NULL, irc_cmd_send_trace, NULL }, { "unban", N_("unbans nicks or hosts"), N_("[channel] nickname [nickname ...]"), N_("channel: channel for unban\n" "nickname: user or host to unban"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_unban, NULL }, + "%n", 1, MAX_ARGS, 1, NULL, irc_cmd_send_unban, NULL }, { "userhost", N_("return a list of information about nicknames"), - N_("nickname [nickname ...]"), N_("nickname: nickname"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_userhost, NULL }, + N_("nickname [nickname ...]"), + N_("nickname: nickname"), + NULL, 1, MAX_ARGS, 1, NULL, irc_cmd_send_userhost, NULL }, { "users", N_("list of users logged into the server"), - N_("[target]"), N_("target: server"), - 0, 1, 1, NULL, irc_cmd_send_users, NULL }, + N_("[target]"), + N_("target: server"), + NULL, 0, 1, 1, NULL, irc_cmd_send_users, NULL }, { "version", N_("gives the version info of nick or server (current or specified)"), N_("[server | nickname]"), N_("server: server name\n" "nickname: nickname"), - 0, 1, 1, NULL, irc_cmd_send_version, NULL }, + NULL, 0, 1, 1, NULL, irc_cmd_send_version, NULL }, { "voice", N_("gives voice to nickname(s)"), N_("[nickname [nickname]]"), "", - 0, MAX_ARGS, 1, irc_cmd_send_voice, NULL, NULL }, + "", 0, MAX_ARGS, 1, irc_cmd_send_voice, NULL, NULL }, { "wallops", N_("send a message to all currently connected users who have " "set the 'w' user mode for themselves"), - N_("text"), N_("text to send"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_wallops, NULL }, + N_("text"), + N_("text to send"), + NULL, 1, MAX_ARGS, 1, NULL, irc_cmd_send_wallops, NULL }, { "who", N_("generate a query which returns a list of information"), N_("[mask [\"o\"]]"), N_("mask: only information which match this mask\n" "o: only operators are returned according to the mask supplied"), - 0, 2, 1, NULL, irc_cmd_send_who, NULL }, + "%C", 0, 2, 1, NULL, irc_cmd_send_who, NULL }, { "whois", N_("query information about user(s)"), N_("[server] nickname[,nickname]"), N_("server: server name\n" "nickname: nickname (may be a mask)"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_whois, NULL }, + "", 1, MAX_ARGS, 1, NULL, irc_cmd_send_whois, NULL }, { "whowas", N_("ask for information about a nickname which no longer exists"), N_("nickname [,nickname [,nickname ...]] [count [target]]"), N_("nickname: nickname to search\n" "count: number of replies to return (full search if negative number)\n" "target: reply should match this mask"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_whowas, NULL }, - { "001", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "002", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "003", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "004", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_004 }, - { "005", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "008", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "020", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "042", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "212", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "219", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "221", N_("user mode string"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_221 }, - { "250", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "251", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "252", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "253", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "254", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "255", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "256", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "257", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "258", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "259", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "260", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "261", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "262", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "263", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "264", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "265", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "266", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "267", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "268", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "269", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "301", N_("away message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_301 }, - { "302", N_("userhost"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_302 }, - { "303", N_("ison"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_303 }, - { "305", N_("unaway"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_305 }, - { "306", N_("now away"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_306 }, - { "307", N_("whois (registered nick)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_307 }, - { "311", N_("whois (user)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_311 }, - { "312", N_("whois (server)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_312 }, - { "313", N_("whois (operator)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_313 }, - { "314", N_("whowas"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_314 }, - { "315", N_("end of /who list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_315 }, - { "317", N_("whois (idle)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_317 }, - { "318", N_("whois (end)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_318 }, - { "319", N_("whois (channels)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_319 }, - { "320", N_("whois (identified user)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_320 }, - { "321", N_("/list start"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_321 }, - { "322", N_("channel (for /list)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_322 }, - { "323", N_("/list end"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_323 }, - { "324", N_("channel mode"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_324 }, - { "329", "???", "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_329 }, - { "331", N_("no topic for channel"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_331 }, + "", 1, MAX_ARGS, 1, NULL, irc_cmd_send_whowas, NULL }, + { "001", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "002", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "003", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "004", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_004 }, + { "005", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "008", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "020", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "042", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "212", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "219", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "221", N_("user mode string"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_221 }, + { "250", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "251", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "252", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "253", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "254", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "255", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "256", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "257", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "258", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "259", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "260", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "261", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "262", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "263", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "264", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "265", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "266", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "267", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "268", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "269", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "301", N_("away message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_301 }, + { "302", N_("userhost"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_302 }, + { "303", N_("ison"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_303 }, + { "305", N_("unaway"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_305 }, + { "306", N_("now away"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_306 }, + { "307", N_("whois (registered nick)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_307 }, + { "311", N_("whois (user)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_311 }, + { "312", N_("whois (server)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_312 }, + { "313", N_("whois (operator)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_313 }, + { "314", N_("whowas"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_314 }, + { "315", N_("end of /who list"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_315 }, + { "317", N_("whois (idle)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_317 }, + { "318", N_("whois (end)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_318 }, + { "319", N_("whois (channels)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_319 }, + { "320", N_("whois (identified user)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_320 }, + { "321", N_("/list start"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_321 }, + { "322", N_("channel (for /list)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_322 }, + { "323", N_("/list end"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_323 }, + { "324", N_("channel mode"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_324 }, + { "329", "???", "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_329 }, + { "331", N_("no topic for channel"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_331 }, { "332", N_("topic of channel"), N_("channel :topic"), N_("channel: name of channel\n" "topic: topic of the channel"), - 2, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_332 }, - { "333", N_("infos about topic (nick & date changed)"), - "", "", - 0, 0, 1, NULL, NULL, irc_cmd_recv_333 }, - { "341", N_("inviting"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_341 }, - { "344", N_("channel reop"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_344 }, - { "345", N_("end of channel reop list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_345 }, - { "348", N_("channel exception list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_348 }, - { "349", N_("end of channel exception list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_349 }, - { "351", N_("server version"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_351 }, - { "352", N_("who"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_352 }, + NULL, 2, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_332 }, + { "333", N_("infos about topic (nick & date changed)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_333 }, + { "341", N_("inviting"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_341 }, + { "344", N_("channel reop"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_344 }, + { "345", N_("end of channel reop list"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_345 }, + { "348", N_("channel exception list"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_348 }, + { "349", N_("end of channel exception list"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_349 }, + { "351", N_("server version"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_351 }, + { "352", N_("who"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_352 }, { "353", N_("list of nicks on channel"), N_("channel :[[@|+]nick ...]"), N_("channel: name of channel\n" "nick: nick on the channel"), - 2, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_353 }, - { "364", N_("links"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "365", N_("end of /links list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "366", N_("end of /names list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_366 }, - { "367", N_("banlist"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_367 }, - { "368", N_("end of banlist"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_368 }, - { "369", N_("end of /whowas list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "371", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "372", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "373", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "374", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "375", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "376", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "381", N_("you are now an IRC operator"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "382", N_("rehashing"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "391", N_("server local time"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "401", N_("no such nick/channel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "402", N_("no such server"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "403", N_("no such channel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "404", N_("cannot send to channel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "405", N_("too many channels"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "406", N_("was no such nick"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "407", N_("was no such nick"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "409", N_("no origin"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "410", N_("no services"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "411", N_("no recipient"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "412", N_("no text to send"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "413", N_("no toplevel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "414", N_("wilcard in toplevel domain"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "421", N_("unknown command"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "422", N_("MOTD is missing"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "423", N_("no administrative info"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "424", N_("file error"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "431", N_("no nickname given"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "432", N_("erroneous nickname"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "433", N_("nickname already in use"), - "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_433 }, - { "436", N_("nickname collision"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "438", N_("not authorized to change nickname"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_438 }, - { "441", N_("user not in channel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "442", N_("not on channel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "443", N_("user already on channel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "444", N_("user not logged in"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "445", N_("summon has been disabled"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "446", N_("users has been disabled"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "451", N_("you are not registered"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "461", N_("not enough parameters"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "462", N_("you may not register"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "463", N_("your host isn't among the privileged"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "464", N_("password incorrect"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "465", N_("you are banned from this server"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "467", N_("channel key already set"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "470", N_("forwarding to another channel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "471", N_("channel is already full"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "472", N_("unknown mode char to me"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "473", N_("cannot join channel (invite only)"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "474", N_("cannot join channel (banned from channel)"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "475", N_("cannot join channel (bad channel key)"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "476", N_("bad channel mask"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "477", N_("channel doesn't support modes"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "481", N_("you're not an IRC operator"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "482", N_("you're not channel operator"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "483", N_("you can't kill a server!"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "484", N_("your connection is restricted!"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "485", N_("user is immune from kick/deop"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "491", N_("no O-lines for your host"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "501", N_("unknown mode flag"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "502", N_("can't change mode for other users"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "505", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "671", N_("whois (secure connection)"), - "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_671 }, - { NULL, NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL } + NULL, 2, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_353 }, + { "364", N_("links"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "365", N_("end of /links list"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "366", N_("end of /names list"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_366 }, + { "367", N_("banlist"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_367 }, + { "368", N_("end of banlist"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_368 }, + { "369", N_("end of /whowas list"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "371", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "372", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "373", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "374", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "375", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "376", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "381", N_("you are now an IRC operator"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "382", N_("rehashing"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "391", N_("server local time"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "401", N_("no such nick/channel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "402", N_("no such server"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "403", N_("no such channel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "404", N_("cannot send to channel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "405", N_("too many channels"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "406", N_("was no such nick"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "407", N_("was no such nick"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "409", N_("no origin"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "410", N_("no services"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "411", N_("no recipient"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "412", N_("no text to send"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "413", N_("no toplevel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "414", N_("wilcard in toplevel domain"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "421", N_("unknown command"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "422", N_("MOTD is missing"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "423", N_("no administrative info"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "424", N_("file error"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "431", N_("no nickname given"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "432", N_("erroneous nickname"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "433", N_("nickname already in use"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_433 }, + { "436", N_("nickname collision"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "438", N_("not authorized to change nickname"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_438 }, + { "441", N_("user not in channel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "442", N_("not on channel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "443", N_("user already on channel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "444", N_("user not logged in"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "445", N_("summon has been disabled"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "446", N_("users has been disabled"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "451", N_("you are not registered"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "461", N_("not enough parameters"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "462", N_("you may not register"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "463", N_("your host isn't among the privileged"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "464", N_("password incorrect"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "465", N_("you are banned from this server"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "467", N_("channel key already set"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "470", N_("forwarding to another channel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "471", N_("channel is already full"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "472", N_("unknown mode char to me"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "473", N_("cannot join channel (invite only)"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "474", N_("cannot join channel (banned from channel)"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "475", N_("cannot join channel (bad channel key)"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "476", N_("bad channel mask"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "477", N_("channel doesn't support modes"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "481", N_("you're not an IRC operator"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "482", N_("you're not channel operator"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "483", N_("you can't kill a server!"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "484", N_("your connection is restricted!"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "485", N_("user is immune from kick/deop"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "491", N_("no O-lines for your host"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "501", N_("unknown mode flag"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "502", N_("can't change mode for other users"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "505", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "671", N_("whois (secure connection)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_671 }, + { NULL, NULL, NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL } }; diff --git a/src/irc/irc.h b/src/irc/irc.h index 28a10b13f..0b736fd47 100644 --- a/src/irc/irc.h +++ b/src/irc/irc.h @@ -66,12 +66,12 @@ typedef struct t_irc_nick t_irc_nick; struct t_irc_nick { - char *nick; /* nickname */ - int flags; /* chanowner/chanadmin (unrealircd), */ - /* op, halfop, voice, away */ - int color; /* color for nickname in chat window */ - t_irc_nick *prev_nick; /* link to previous nick on the channel */ - t_irc_nick *next_nick; /* link to next nick on the channel */ + char *nick; /* nickname */ + int flags; /* chanowner/chanadmin (unrealircd), */ + /* op, halfop, voice, away */ + int color; /* color for nickname in chat window */ + t_irc_nick *prev_nick; /* link to previous nick on the channel */ + t_irc_nick *next_nick; /* link to next nick on the channel */ }; /* channel types */ @@ -100,20 +100,20 @@ typedef struct t_irc_channel t_irc_channel; struct t_irc_channel { - int type; /* channel type */ - void *dcc_chat; /* DCC CHAT pointer (NULL if not DCC) */ - char *name; /* name of channel (exemple: "#abc") */ - char *topic; /* topic of channel (host for private) */ - char *modes; /* channel modes */ - int limit; /* user limit (0 is limit not set) */ - char *key; /* channel key (NULL if no key is set) */ - int nicks_count; /* # nicks on channel (0 if dcc/pv) */ - int checking_away; /* = 1 if checking away with WHO cmd */ - t_irc_nick *nicks; /* nicks on the channel */ - t_irc_nick *last_nick; /* last nick on the channel */ - t_gui_buffer *buffer; /* GUI buffer allocated for channel */ - t_irc_channel *prev_channel; /* link to previous channel */ - t_irc_channel *next_channel; /* link to next channel */ + int type; /* channel type */ + void *dcc_chat; /* DCC CHAT pointer (NULL if not DCC) */ + char *name; /* name of channel (exemple: "#abc") */ + char *topic; /* topic of channel (host for private) */ + char *modes; /* channel modes */ + int limit; /* user limit (0 is limit not set) */ + char *key; /* channel key (NULL if no key is set) */ + int nicks_count; /* # nicks on channel (0 if dcc/pv) */ + int checking_away; /* = 1 if checking away with WHO cmd */ + t_irc_nick *nicks; /* nicks on the channel */ + t_irc_nick *last_nick; /* last nick on the channel */ + t_gui_buffer *buffer; /* GUI buffer allocated for channel */ + t_irc_channel *prev_channel; /* link to previous channel */ + t_irc_channel *next_channel; /* link to next channel */ }; /* server types */ @@ -123,55 +123,55 @@ typedef struct t_irc_server t_irc_server; struct t_irc_server { /* user choices */ - char *name; /* name of server (only for display) */ - int autoconnect; /* = 1 if auto connect at startup */ - int autoreconnect; /* = 1 if auto reco when disconnected */ - int autoreconnect_delay; /* delay before trying again reconnect */ - int command_line; /* server was given on command line */ - char *address; /* address of server (IP or name) */ - int port; /* port for server (6667 by default) */ - int ipv6; /* use IPv6 protocol */ - int ssl; /* SSL protocol */ - char *password; /* password for server */ - char *nick1; /* first nickname for the server */ - char *nick2; /* alternate nickname */ - char *nick3; /* 2nd alternate nickname */ - char *username; /* user name */ - char *realname; /* real name */ - char *command; /* command to run once connected */ - int command_delay; /* delay after execution of command */ - char *autojoin; /* channels to automatically join */ - int autorejoin; /* auto rejoin channels when kicked */ - char *notify_levels; /* channels notify levels */ - char *charset_decode_iso; /* channels charsets for decoding ISO */ - char *charset_decode_utf; /* channels charsets for decoding UTF */ - char *charset_encode; /* channels charsets for encoding msgs */ + char *name; /* name of server (only for display) */ + int autoconnect; /* = 1 if auto connect at startup */ + int autoreconnect; /* = 1 if auto reco when disconnected */ + int autoreconnect_delay; /* delay before trying again reconnect */ + int command_line; /* server was given on command line */ + char *address; /* address of server (IP or name) */ + int port; /* port for server (6667 by default) */ + int ipv6; /* use IPv6 protocol */ + int ssl; /* SSL protocol */ + char *password; /* password for server */ + char *nick1; /* first nickname for the server */ + char *nick2; /* alternate nickname */ + char *nick3; /* 2nd alternate nickname */ + char *username; /* user name */ + char *realname; /* real name */ + char *command; /* command to run once connected */ + int command_delay; /* delay after execution of command */ + char *autojoin; /* channels to automatically join */ + int autorejoin; /* auto rejoin channels when kicked */ + char *notify_levels; /* channels notify levels */ + char *charset_decode_iso; /* channels charsets for decoding ISO */ + char *charset_decode_utf; /* channels charsets for decoding UTF */ + char *charset_encode; /* channels charsets for encoding msgs */ /* internal vars */ - pid_t child_pid; /* pid of child process (connecting) */ - int child_read; /* to read into child pipe */ - int child_write; /* to write into child pipe */ - int sock; /* socket for server (IPv4 or IPv6) */ - int is_connected; /* 1 if WeeChat is connected to server */ - int ssl_connected; /* = 1 if connected with SSL */ + pid_t child_pid; /* pid of child process (connecting) */ + int child_read; /* to read into child pipe */ + int child_write; /* to write into child pipe */ + int sock; /* socket for server (IPv4 or IPv6) */ + int is_connected; /* 1 if WeeChat is connected to server */ + int ssl_connected; /* = 1 if connected with SSL */ #ifdef HAVE_GNUTLS - gnutls_session gnutls_sess; /* gnutls session (only if SSL is used) */ + gnutls_session gnutls_sess; /* gnutls session (only if SSL is used) */ #endif - char *unterminated_message; /* beginning of a message in input buf */ - char *nick; /* current nickname */ - time_t reconnect_start; /* this time + delay = reconnect time */ - int reconnect_join; /* 1 if channels opened to rejoin */ - int is_away; /* 1 is user is marker as away */ - time_t away_time; /* time() when user marking as away */ - int lag; /* lag (in milliseconds) */ - struct timeval lag_check_time; /* last time lag was checked (ping sent)*/ - time_t lag_next_check; /* time for next check */ - t_gui_buffer *buffer; /* GUI buffer allocated for server */ - t_gui_buffer *saved_buffer; /* channel before jumping to next server*/ - t_irc_channel *channels; /* opened channels on server */ - t_irc_channel *last_channel; /* last opened channal on server */ - t_irc_server *prev_server; /* link to previous server */ - t_irc_server *next_server; /* link to next server */ + char *unterminated_message; /* beginning of a message in input buf */ + char *nick; /* current nickname */ + time_t reconnect_start; /* this time + delay = reconnect time */ + int reconnect_join; /* 1 if channels opened to rejoin */ + int is_away; /* 1 is user is marker as away */ + time_t away_time; /* time() when user marking as away */ + int lag; /* lag (in milliseconds) */ + struct timeval lag_check_time; /* last time lag was checked (ping sent) */ + time_t lag_next_check; /* time for next check */ + t_gui_buffer *buffer; /* GUI buffer allocated for server */ + t_gui_buffer *saved_buffer; /* channel before jumping to next server */ + t_irc_channel *channels; /* opened channels on server */ + t_irc_channel *last_channel; /* last opened channal on server */ + t_irc_server *prev_server; /* link to previous server */ + t_irc_server *next_server; /* link to next server */ }; /* irc commands */ @@ -180,18 +180,20 @@ typedef struct t_irc_command t_irc_command; struct t_irc_command { - char *command_name; /* command name (internal or IRC cmd) */ - char *command_description; /* command description */ - char *arguments; /* command parameters */ - char *arguments_description; /* parameters description */ - int min_arg, max_arg; /* min & max number of parameters */ - int need_connection; /* = 1 if cmd needs server connection */ + char *command_name; /* IRC command name */ + char *command_description; /* command description (for /help) */ + char *arguments; /* command arguments (for /help) */ + char *arguments_description; /* arguments description (for /help) */ + char *completion_template; /* template for completion */ + /* NULL=no completion, ""=default (nick) */ + int min_arg, max_arg; /* min & max number of arguments */ + int need_connection; /* = 1 if cmd needs server connection */ int (*cmd_function_args)(t_irc_server *, int, char **); - /* function called when user enters cmd */ + /* function called when user enters cmd */ int (*cmd_function_1arg)(t_irc_server *, char *); - /* function called when user enters cmd */ + /* function called when user enters cmd */ int (*recv_function)(t_irc_server *, char *, char *, char *); - /* function called when cmd is received */ + /* function called when cmd is received */ }; /* irc messages */ @@ -200,24 +202,24 @@ typedef struct t_irc_message t_irc_message; struct t_irc_message { - t_irc_server *server; /* server pointer for received msg */ - char *data; /* message content */ - t_irc_message *next_message; /* link to next message */ + t_irc_server *server; /* server pointer for received msg */ + char *data; /* message content */ + t_irc_message *next_message; /* link to next message */ }; /* DCC types */ -#define DCC_CHAT_RECV 0 /* receiving DCC chat */ -#define DCC_CHAT_SEND 1 /* sending DCC chat */ -#define DCC_FILE_RECV 2 /* incoming DCC file */ -#define DCC_FILE_SEND 3 /* sending DCC file */ +#define DCC_CHAT_RECV 0 /* receiving DCC chat */ +#define DCC_CHAT_SEND 1 /* sending DCC chat */ +#define DCC_FILE_RECV 2 /* incoming DCC file */ +#define DCC_FILE_SEND 3 /* sending DCC file */ -#define DCC_WAITING 0 /* waiting for host answer */ -#define DCC_CONNECTING 1 /* connecting to host */ -#define DCC_ACTIVE 2 /* sending/receiving data */ -#define DCC_DONE 3 /* transfer done */ -#define DCC_FAILED 4 /* DCC failed */ -#define DCC_ABORTED 5 /* DCC aborted by user */ +#define DCC_WAITING 0 /* waiting for host answer */ +#define DCC_CONNECTING 1 /* connecting to host */ +#define DCC_ACTIVE 2 /* sending/receiving data */ +#define DCC_DONE 3 /* transfer done */ +#define DCC_FAILED 4 /* DCC failed */ +#define DCC_ABORTED 5 /* DCC aborted by user */ #define DCC_IS_CHAT(type) ((type == DCC_CHAT_RECV) || (type == DCC_CHAT_SEND)) #define DCC_IS_FILE(type) ((type == DCC_FILE_RECV) || (type == DCC_FILE_SEND)) @@ -231,38 +233,38 @@ typedef struct t_irc_dcc t_irc_dcc; struct t_irc_dcc { - t_irc_server *server; /* irc server */ - t_irc_channel *channel; /* irc channel (for DCC chat only) */ - int type; /* DCC type (send or receive) */ - int status; /* DCC status (waiting, sending, ..) */ - time_t start_time; /* the time when DCC started */ - time_t start_transfer; /* the time when DCC transfer started */ - unsigned long addr; /* IP address */ - int port; /* port */ - char *nick; /* remote nick */ - int sock; /* socket for connection */ - char *unterminated_message; /* beginning of a message in input buf */ - int file; /* local file (for reading or writing) */ - char *filename; /* filename (given by sender) */ - char *local_filename; /* local filename (with path) */ - int filename_suffix; /* suffix (.1 for ex) if renaming file */ - unsigned long size; /* file size */ - unsigned long pos; /* number of bytes received/sent */ - unsigned long ack; /* number of bytes received OK */ - unsigned long start_resume; /* start of resume (in bytes) */ - time_t last_check_time; /* last time we looked at bytes sent/rcv*/ - unsigned long last_check_pos; /* bytes sent/recv at last check */ - time_t last_activity; /* time of last byte received/sent */ - unsigned long bytes_per_sec; /* bytes per second */ - unsigned long eta; /* estimated time of arrival */ - t_irc_dcc *prev_dcc; /* link to previous dcc file/chat */ - t_irc_dcc *next_dcc; /* link to next dcc file/chat */ + t_irc_server *server; /* irc server */ + t_irc_channel *channel; /* irc channel (for DCC chat only) */ + int type; /* DCC type (send or receive) */ + int status; /* DCC status (waiting, sending, ..) */ + time_t start_time; /* the time when DCC started */ + time_t start_transfer; /* the time when DCC transfer started */ + unsigned long addr; /* IP address */ + int port; /* port */ + char *nick; /* remote nick */ + int sock; /* socket for connection */ + char *unterminated_message; /* beginning of a message in input buf */ + int file; /* local file (for reading or writing) */ + char *filename; /* filename (given by sender) */ + char *local_filename; /* local filename (with path) */ + int filename_suffix; /* suffix (.1 for ex) if renaming file */ + unsigned long size; /* file size */ + unsigned long pos; /* number of bytes received/sent */ + unsigned long ack; /* number of bytes received OK */ + unsigned long start_resume; /* start of resume (in bytes) */ + time_t last_check_time; /* last time we looked at bytes sent/recv */ + unsigned long last_check_pos; /* bytes sent/recv at last check */ + time_t last_activity; /* time of last byte received/sent */ + unsigned long bytes_per_sec; /* bytes per second */ + unsigned long eta; /* estimated time of arrival */ + t_irc_dcc *prev_dcc; /* link to previous dcc file/chat */ + t_irc_dcc *next_dcc; /* link to next dcc file/chat */ }; /* ignore types */ -/* pre-defined ignore types, all other types are made with IRC commands */ -/* for example: part join quit notice invite ... */ +/* pre-defined ignore types, all other types are made with IRC commands */ +/* for example: part join quit notice invite ... */ #define IGNORE_ACTION "action" #define IGNORE_CTCP "ctcp" @@ -273,12 +275,12 @@ typedef struct t_irc_ignore t_irc_ignore; struct t_irc_ignore { - char *mask; /* nickname or mask */ - char *type; /* type of ignore */ - char *channel_name; /* name of channel, "*" == all */ - char *server_name; /* name of server, "*" == all */ - t_irc_ignore *prev_ignore; /* pointer to previous ignore */ - t_irc_ignore *next_ignore; /* pointer to next ignore */ + char *mask; /* nickname or mask */ + char *type; /* type of ignore */ + char *channel_name; /* name of channel, "*" == all */ + char *server_name; /* name of server, "*" == all */ + t_irc_ignore *prev_ignore; /* pointer to previous ignore */ + t_irc_ignore *next_ignore; /* pointer to next ignore */ }; /* variables */ diff --git a/src/plugins/plugins-interface.c b/src/plugins/plugins-interface.c index 615ef89d6..13aaf06a4 100644 --- a/src/plugins/plugins-interface.c +++ b/src/plugins/plugins-interface.c @@ -237,12 +237,14 @@ t_plugin_handler * weechat_plugin_cmd_handler_add (t_weechat_plugin *plugin, char *command, char *description, char *arguments, char *arguments_description, + char *completion_template, t_plugin_handler_func *handler_func, char *handler_args, void *handler_pointer) { if (plugin && command && handler_func) return plugin_cmd_handler_add (plugin, command, description, arguments, arguments_description, + completion_template, handler_func, handler_args, handler_pointer); diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c index 3b1d62c45..e8ce91cee 100644 --- a/src/plugins/plugins.c +++ b/src/plugins/plugins.c @@ -225,10 +225,11 @@ plugin_msg_handler_add (t_weechat_plugin *plugin, char *irc_command, * 3. command description (for /help) * 4. command arguments (for /help) * 5. command args description (for /help) - * 6. the handler function - * 7. handler args: a string given to + * 6. completion template + * 7. the handler function + * 8. handler args: a string given to * handler when called (used by scripts) - * 8. handler pointer: a pointer given to + * 9. handler pointer: a pointer given to * handler when called (used by scripts) */ @@ -236,6 +237,7 @@ t_plugin_handler * plugin_cmd_handler_add (t_weechat_plugin *plugin, char *command, char *description, char *arguments, char *arguments_description, + char *completion_template, t_plugin_handler_func *handler_func, char *handler_args, void *handler_pointer) { @@ -260,6 +262,7 @@ plugin_cmd_handler_add (t_weechat_plugin *plugin, char *command, new_handler->description = (description) ? strdup (description) : NULL; new_handler->arguments = (arguments) ? strdup (arguments) : NULL; new_handler->arguments_description = (arguments_description) ? strdup (arguments_description) : NULL; + new_handler->completion_template = (completion_template) ? strdup (completion_template) : NULL; new_handler->handler = handler_func; new_handler->handler_args = (handler_args) ? strdup (handler_args) : NULL; new_handler->handler_pointer = handler_pointer; @@ -706,35 +709,61 @@ int plugin_auto_load_file (t_weechat_plugin *plugin, char *filename) void plugin_auto_load () { - char *ptr_home, *dir_name; + char *ptr_home, *dir_name, *list_plugins, *pos, *pos2; - /* auto-load plugins in WeeChat home dir */ - if (cfg_plugins_path && cfg_plugins_path[0]) + if (cfg_plugins_autoload && cfg_plugins_autoload[0]) { - if (cfg_plugins_path[0] == '~') + if (ascii_strcasecmp (cfg_plugins_autoload, "*") == 0) { - ptr_home = getenv ("HOME"); - dir_name = (char *)malloc (strlen (cfg_plugins_path) + strlen (ptr_home) + 2); + /* auto-load plugins in WeeChat home dir */ + if (cfg_plugins_path && cfg_plugins_path[0]) + { + if (cfg_plugins_path[0] == '~') + { + ptr_home = getenv ("HOME"); + dir_name = (char *)malloc (strlen (cfg_plugins_path) + strlen (ptr_home) + 2); + if (dir_name) + { + strcpy (dir_name, ptr_home); + strcat (dir_name, cfg_plugins_path + 1); + plugin_exec_on_files (NULL, dir_name, &plugin_auto_load_file); + free (dir_name); + } + } + else + plugin_exec_on_files (NULL, cfg_plugins_path, &plugin_auto_load_file); + } + + /* auto-load plugins in WeeChat global lib dir */ + dir_name = (char *)malloc (strlen (WEECHAT_LIBDIR) + 16); if (dir_name) { - strcpy (dir_name, ptr_home); - strcat (dir_name, cfg_plugins_path + 1); + snprintf (dir_name, strlen (WEECHAT_LIBDIR) + 16, + "%s/plugins", WEECHAT_LIBDIR); plugin_exec_on_files (NULL, dir_name, &plugin_auto_load_file); free (dir_name); } } else - plugin_exec_on_files (NULL, cfg_plugins_path, &plugin_auto_load_file); - } - - /* auto-load plugins in WeeChat global lib dir */ - dir_name = (char *)malloc (strlen (WEECHAT_LIBDIR) + 16); - if (dir_name) - { - snprintf (dir_name, strlen (WEECHAT_LIBDIR) + 16, - "%s/plugins", WEECHAT_LIBDIR); - plugin_exec_on_files (NULL, dir_name, &plugin_auto_load_file); - free (dir_name); + { + list_plugins = strdup (cfg_plugins_autoload); + if (list_plugins) + { + pos = list_plugins; + while (pos && pos[0]) + { + pos2 = strchr (pos, ','); + if (pos2) + pos2[0] = '\0'; + plugin_load (pos); + if (pos2) + pos = pos2 + 1; + else + pos = NULL; + } + free (list_plugins); + } + } } } @@ -835,37 +864,12 @@ plugin_unload_all () void plugin_init (int auto_load) { - char *list_plugins, *pos, *pos2; - /* read plugins options on disk */ plugin_config_read (); /* auto-load plugins if asked */ - if (auto_load && cfg_plugins_autoload && cfg_plugins_autoload[0]) - { - if (ascii_strcasecmp (cfg_plugins_autoload, "*") == 0) - plugin_auto_load (); - else - { - list_plugins = strdup (cfg_plugins_autoload); - if (list_plugins) - { - pos = list_plugins; - while (pos && pos[0]) - { - pos2 = strchr (pos, ','); - if (pos2) - pos2[0] = '\0'; - plugin_load (pos); - if (pos2) - pos = pos2 + 1; - else - pos = NULL; - } - free (list_plugins); - } - } - } + if (auto_load) + plugin_auto_load (); } /* diff --git a/src/plugins/plugins.h b/src/plugins/plugins.h index 3c05e0f3b..85b03a8d9 100644 --- a/src/plugins/plugins.h +++ b/src/plugins/plugins.h @@ -41,6 +41,7 @@ extern t_plugin_handler *plugin_msg_handler_add (t_weechat_plugin *, char *, char *, void *); extern t_plugin_handler *plugin_cmd_handler_add (t_weechat_plugin *, char *, char *, char *, char *, + char *, t_plugin_handler_func *, char *, void *); extern int plugin_msg_handler_exec (char *, char *, char *); diff --git a/src/plugins/scripts/perl/weechat-perl.c b/src/plugins/scripts/perl/weechat-perl.c index ab4513972..877de0ef1 100644 --- a/src/plugins/scripts/perl/weechat-perl.c +++ b/src/plugins/scripts/perl/weechat-perl.c @@ -426,6 +426,7 @@ static XS (XS_weechat_add_message_handler) static XS (XS_weechat_add_command_handler) { char *command, *function, *description, *arguments, *arguments_description; + char *completion_template; unsigned int integer; dXSARGS; @@ -453,12 +454,14 @@ static XS (XS_weechat_add_command_handler) description = (items >= 3) ? SvPV (ST (2), integer) : NULL; arguments = (items >= 4) ? SvPV (ST (3), integer) : NULL; arguments_description = (items >= 5) ? SvPV (ST (4), integer) : NULL; + completion_template = (items >= 6) ? SvPV (ST (5), integer) : NULL; if (perl_plugin->cmd_handler_add (perl_plugin, command, description, arguments, arguments_description, + completion_template, weechat_perl_handler, function, (void *)perl_current_script)) @@ -1197,6 +1200,7 @@ weechat_plugin_init (t_weechat_plugin *plugin) "[load filename] | [autoload] | [reload] | [unload]", "filename: Perl script (file) to load\n\n" "Without argument, /perl command lists all loaded Perl scripts.", + "load|autoload|reload|unload", weechat_perl_cmd, NULL, NULL); plugin->mkdir_home (plugin, "perl"); diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c index 00728bba5..bbe74ef8e 100644 --- a/src/plugins/scripts/python/weechat-python.c +++ b/src/plugins/scripts/python/weechat-python.c @@ -333,6 +333,7 @@ static PyObject * weechat_python_add_command_handler (PyObject *self, PyObject *args) { char *command, *function, *description, *arguments, *arguments_description; + char *completion_template; /* make gcc happy */ (void) self; @@ -350,9 +351,11 @@ weechat_python_add_command_handler (PyObject *self, PyObject *args) description = NULL; arguments = NULL; arguments_description = NULL; + completion_template = NULL; - if (!PyArg_ParseTuple (args, "ss|sss", &command, &function, - &description, &arguments, &arguments_description)) + if (!PyArg_ParseTuple (args, "ss|ssss", &command, &function, + &description, &arguments, &arguments_description, + completion_template)) { python_plugin->printf_server (python_plugin, "Python error: wrong parameters for " @@ -365,6 +368,7 @@ weechat_python_add_command_handler (PyObject *self, PyObject *args) description, arguments, arguments_description, + completion_template, weechat_python_handler, function, (void *)python_current_script)) @@ -1151,6 +1155,7 @@ weechat_plugin_init (t_weechat_plugin *plugin) "[load filename] | [autoload] | [reload] | [unload]", "filename: Python script (file) to load\n\n" "Without argument, /python command lists all loaded Python scripts.", + "load|autoload|reload|unload", weechat_python_cmd, NULL, NULL); plugin->mkdir_home (plugin, "python"); diff --git a/src/plugins/scripts/ruby/weechat-ruby.c b/src/plugins/scripts/ruby/weechat-ruby.c index 389100264..294a57244 100644 --- a/src/plugins/scripts/ruby/weechat-ruby.c +++ b/src/plugins/scripts/ruby/weechat-ruby.c @@ -448,7 +448,9 @@ static VALUE weechat_ruby_add_command_handler (int argc, VALUE *argv, VALUE class) { VALUE command, function, description, arguments, arguments_description; + VALUE completion_template; char *c_command, *c_function, *c_description, *c_arguments, *c_arguments_description; + char *c_completion_template; /* make gcc happy */ (void) class; @@ -466,14 +468,16 @@ weechat_ruby_add_command_handler (int argc, VALUE *argv, VALUE class) description = Qnil; arguments = Qnil; arguments_description = Qnil; + completion_template = Qnil; c_command = NULL; c_function = NULL; c_description = NULL; c_arguments = NULL; c_arguments_description = NULL; + c_completion_template = NULL; - rb_scan_args (argc, argv, "23", &command, &function, &description, - &arguments, &arguments_description); + rb_scan_args (argc, argv, "24", &command, &function, &description, + &arguments, &arguments_description, &completion_template); if (NIL_P (command) || NIL_P (function)) { @@ -500,16 +504,24 @@ weechat_ruby_add_command_handler (int argc, VALUE *argv, VALUE class) c_arguments = STR2CSTR (arguments); } - if (!NIL_P (arguments_description)) { + if (!NIL_P (arguments_description)) + { Check_Type (arguments_description, T_STRING); c_arguments_description = STR2CSTR (arguments_description); } + if (!NIL_P (completion_template)) + { + Check_Type (completion_template, T_STRING); + c_completion_template = STR2CSTR (completion_template); + } + if (ruby_plugin->cmd_handler_add (ruby_plugin, c_command, c_description, c_arguments, c_arguments_description, + c_completion_template, weechat_ruby_handler, c_function, (void *)ruby_current_script)) @@ -1322,6 +1334,7 @@ weechat_plugin_init (t_weechat_plugin *plugin) "[load filename] | [autoload] | [reload] | [unload]", "filename: Ruby script (file) to load\n\n" "Without argument, /ruby command lists all loaded Ruby scripts.", + "load|autoload|reload|unload", weechat_ruby_cmd, NULL, NULL); plugin->mkdir_home (plugin, "ruby"); diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index acce6b4fa..101c3df3f 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -86,6 +86,7 @@ struct t_plugin_handler char *description; /* (for /help) short cmd description */ char *arguments; /* (for /help) command arguments */ char *arguments_description; /* (for /help) args long description */ + char *completion_template; /* template for completion */ /* data common to all handlers */ t_plugin_handler_func *handler; /* pointer to handler */ @@ -141,6 +142,7 @@ struct t_weechat_plugin char *, void *); t_plugin_handler *(*cmd_handler_add) (t_weechat_plugin *, char *, char *, char *, char *, + char *, t_plugin_handler_func *, char *, void *); void (*handler_remove) (t_weechat_plugin *, t_plugin_handler *); @@ -178,6 +180,7 @@ extern t_plugin_handler *weechat_plugin_msg_handler_add (t_weechat_plugin *, cha char *, void *); extern t_plugin_handler *weechat_plugin_cmd_handler_add (t_weechat_plugin *, char *, char *, char *, char *, + char *, t_plugin_handler_func *, char *, void *); extern void weechat_plugin_handler_remove (t_weechat_plugin *, t_plugin_handler *); diff --git a/weechat/ChangeLog b/weechat/ChangeLog index f819b3cce..56d13ff35 100644 --- a/weechat/ChangeLog +++ b/weechat/ChangeLog @@ -1,10 +1,12 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2005-12-11 +ChangeLog - 2005-12-16 Version 0.1.7 (under dev!): + * added completion system for plugins/scripts commands + * fixed plugins autoload * added charset by server and channel, new command: /charset * added Ruby script plugin * added /upgrade command diff --git a/weechat/doc/weechat_doc_en.texi b/weechat/doc/weechat_doc_en.texi index 4d332f836..115c46c05 100644 --- a/weechat/doc/weechat_doc_en.texi +++ b/weechat/doc/weechat_doc_en.texi @@ -35,7 +35,7 @@ @title WeeChat - User guide @subtitle Fast, light and extensible IRC client -@subtitle Documentation for WeeChat v0.1.7-cvs - December, 15 2005 +@subtitle Documentation for WeeChat v0.1.7-cvs - December, 16 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -1525,18 +1525,14 @@ call next command in global history@* scroll one page up@* @item page_down scroll one page down@* -@item infobar_clear -clear infobar@* -@item nick_page_up -scroll nicklist one page up@* -@item nick_page_down -scroll nicklist one page down@* @item nick_beginning display beginning of nicklist@* @item nick_end display end of nicklist@* -@item refresh -refresh screen@* +@item nick_page_up +scroll nicklist one page up@* +@item nick_page_down +scroll nicklist one page down@* @item jump_smart jump to buffer with activity@* @item jump_dcc @@ -1547,8 +1543,20 @@ jump to last buffer@* jump to server buffer@* @item jump_next_server jump to next server@* +@item switch_server +switch active server on servers buffer@* +@item scroll_previous_highlight +scroll to previous highlight in buffer@* +@item scroll_next_highlight +scroll to next highlight in buffer@* +@item scroll_unread +scroll to first unread line in buffer@* @item hotlist_clear clear hotlist@* +@item infobar_clear +clear infobar@* +@item refresh +refresh screen@* @item grab_key grab a key@* @end table @@ -1920,8 +1928,9 @@ WeeChat neither other plugins @item @command{t_plugin_handler *cmd_handler_add (t_weechat_plugin *plugin, char *command, char *description, char *arguments, -char *arguments_description, t_plugin_handler_func *handler_func, -char *handler_args, void *handler_pointer)}@* +char *arguments_description, char *completion_template, +t_plugin_handler_func *handler_func, char *handler_args, +void *handler_pointer)}@* @* Add a WeeChat command handler, called when user uses command (for example /command).@* @@ -1936,6 +1945,32 @@ command) (displayed by /help command) @item @option{arguments_description}: long description of command arguments (displayed by /help command) +@item @option{completion_template}: template for completion, like +@code{abc|%w def|%i} which means ``abc'' or a WeeChat command +for first argument, and ``def'' or IRC command for second.@* +Following codes can be used: +@itemize @minus +@item @code{%-}: no completion for argument +@item @code{%a}: alias +@item @code{%A}: alias and commands (WeeChat, IRC and plugins) +@item @code{%c}: current channel +@item @code{%C}: channels of current server +@item @code{%f}: filename +@item @code{%h}: plugins commands +@item @code{%i}: IRC commands (sent) +@item @code{%I}: IRC commands (received) +@item @code{%k}: keys +@item @code{%n}: nicks of current channel +@item @code{%o}: setup option +@item @code{%p}: default ``part'' message +@item @code{%q}: default ``quit'' message +@item @code{%s}: current server name +@item @code{%S}: all servers names +@item @code{%t}: topic of current channel +@item @code{%v}: setup option value +@item @code{%w}: WeeChat commands +@item @code{%y}: default ``away'' message +@end itemize @item @option{handler_func}: function called when comand is executed @item @option{handler_args}: arguments given to function when called @item @option{handler_pointer}: pointer given to function when called @@ -2274,6 +2309,7 @@ int weechat_plugin_init (t_weechat_plugin *plugin) "Display two times a message", "msg", "msg: message", + NULL, &toto_cmd_double, NULL, NULL); return PLUGIN_RC_OK; @@ -2468,9 +2504,11 @@ WeeChat neither other plugins @item Perl: @command{weechat::add_command_handler ( name, function, -[description, arguments, arguments_description] );}@* +[description, arguments, arguments_description, +completion_template] );}@* Python: @command{weechat.add_command_handler ( name, function, -[description, arguments, arguments_description] )}@* +[description, arguments, arguments_description, +completion_template] )}@* @* Create new WeeChat command, linked with script function.@* Function will be called when user will launch command with @kbd{/name}.@* @@ -2488,6 +2526,32 @@ command) (displayed by /help command) @item @option{arguments_description}: long description of command arguments (displayed by /help command) +@item @option{completion_template}: template for completion, like +@code{abc|%w def|%i} which means ``abc'' or a WeeChat command +for first argument, and ``def'' or IRC command for second.@* +Following codes can be used: +@itemize @minus +@item @code{%-}: no completion for argument +@item @code{%a}: alias +@item @code{%A}: alias and commands (WeeChat, IRC and plugins) +@item @code{%c}: current channel +@item @code{%C}: channels of current server +@item @code{%f}: filename +@item @code{%h}: plugins commands +@item @code{%i}: IRC commands (sent) +@item @code{%I}: IRC commands (received) +@item @code{%k}: keys +@item @code{%n}: nicks of current channel +@item @code{%o}: setup option +@item @code{%p}: default ``part'' message +@item @code{%q}: default ``quit'' message +@item @code{%s}: current server name +@item @code{%S}: all servers names +@item @code{%t}: topic of current channel +@item @code{%v}: setup option value +@item @code{%w}: WeeChat commands +@item @code{%y}: default ``away'' message +@end itemize @end itemize @* @emph{Return value:}@* diff --git a/weechat/doc/weechat_doc_es.texi b/weechat/doc/weechat_doc_es.texi index 66708c83c..3f424d89f 100644 --- a/weechat/doc/weechat_doc_es.texi +++ b/weechat/doc/weechat_doc_es.texi @@ -36,7 +36,7 @@ @title WeeChat - Gui@'on de usuario. @subtitle Cliente IRC r@'apido, peque@~no y extensible -@subtitle Documentaci@'on para WeeChat v0.1.7-cvs - 15 de diciembre de 2005 +@subtitle Documentaci@'on para WeeChat v0.1.7-cvs - 16 de diciembre de 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -1480,75 +1480,83 @@ Internal functions for keys:@* @table @kbd @item return -terminar l@'inea@* +terminate line@* @item tab -completar palabra@* +complete word@* @item backspace -borrar el car@'acter anterior@* +delete previous char@* @item delete -borrar el car@'acter siguiente@* +delete next char@* @item delete_end_line -borrar hasta fin de l@'inea@* +delete until end of line@* @item delete_beginning_line -borrar hasta principio de l@'inea@* +delete until beginning of line@* @item delete_line -borrar l@'inea entera@* +delete entire line@* @item delete_previous_word -borrar la palabra anterior@* +delete previous word@* @item delete_next_word -borrar la palabra siguiente@* +delete next word@* @item clipboard_paste paste current clipboard content@* @item transpose_chars transpose chars@* @item home -ir al principio de l@'inea@* +go to beginning of line@* @item end -ir al final de l@'inea@* +go to end of line@* @item left -mover un car@'acter a la izquierda@* +move one char left@* @item previous_word -mover a la palabra anterior@* +move to previous word@* @item right -mover un car@'acter a la derecha@* +move one char right@* @item next_word -mover a la palabra siguiente@* +move to next word@* @item up -llamar al comando anterior en el historial@* +call previous command in history@* @item up_global call previous command in global history@* @item down -llamar al comando siguiente en el historial@* +call next command in history@* @item down_global call next command in global history@* @item page_up -desplazarse una p@'agina hacia arriba@* +scroll one page up@* @item page_down -desplazarse una p@'agina hacia abajo@* -@item infobar_clear -limpiar barra de informaci@'on@* -@item nick_page_up -desplazar la lista de nicks una p@'agina hacia arriba@* -@item nick_page_down -desplazar la lista de nicks una p@'agina hacia abajo@* +scroll one page down@* @item nick_beginning -mostrar el principio de la lista de nicks@* +display beginning of nicklist@* @item nick_end -mostrar el final de la lista de nicks@* -@item refresh -recargar la pantalla@* +display end of nicklist@* +@item nick_page_up +scroll nicklist one page up@* +@item nick_page_down +scroll nicklist one page down@* @item jump_smart -saltar al bfer con actividad@* +jump to buffer with activity@* @item jump_dcc -saltar al bfer DCC@* +jump to DCC buffer@* @item jump_last_buffer jump to last buffer@* @item jump_server -saltar al bfer servidor@* +jump to server buffer@* @item jump_next_server -saltar al servidor siguiente@* +jump to next server@* +@item switch_server +switch active server on servers buffer@* +@item scroll_previous_highlight +scroll to previous highlight in buffer@* +@item scroll_next_highlight +scroll to next highlight in buffer@* +@item scroll_unread +scroll to first unread line in buffer@* @item hotlist_clear -limpiar hotlist@* +clear hotlist@* +@item infobar_clear +clear infobar@* +@item refresh +refresh screen@* @item grab_key grab a key@* @end table @@ -1923,8 +1931,9 @@ WeeChat neither other plugins @item @command{t_plugin_handler *cmd_handler_add (t_weechat_plugin *plugin, char *command, char *description, char *arguments, -char *arguments_description, t_plugin_handler_func *handler_func, -char *handler_args, void *handler_pointer)}@* +char *arguments_description, char *completion_template, +t_plugin_handler_func *handler_func, char *handler_args, +void *handler_pointer)}@* @* Add a WeeChat command handler, called when user uses command (for example /command).@* @@ -1939,6 +1948,32 @@ command) (displayed by /help command) @item @option{arguments_description}: long description of command arguments (displayed by /help command) +@item @option{completion_template}: template for completion, like +@code{abc|%w def|%i} which means ``abc'' or a WeeChat command +for first argument, and ``def'' or IRC command for second.@* +Following codes can be used: +@itemize @minus +@item @code{%-}: no completion for argument +@item @code{%a}: alias +@item @code{%A}: alias and commands (WeeChat, IRC and plugins) +@item @code{%c}: current channel +@item @code{%C}: channels of current server +@item @code{%f}: filename +@item @code{%h}: plugins commands +@item @code{%i}: IRC commands (sent) +@item @code{%I}: IRC commands (received) +@item @code{%k}: keys +@item @code{%n}: nicks of current channel +@item @code{%o}: setup option +@item @code{%p}: default ``part'' message +@item @code{%q}: default ``quit'' message +@item @code{%s}: current server name +@item @code{%S}: all servers names +@item @code{%t}: topic of current channel +@item @code{%v}: setup option value +@item @code{%w}: WeeChat commands +@item @code{%y}: default ``away'' message +@end itemize @item @option{handler_func}: function called when comand is executed @item @option{handler_args}: arguments given to function when called @item @option{handler_pointer}: pointer given to function when called @@ -2271,6 +2306,7 @@ int weechat_plugin_init (t_weechat_plugin *plugin) "Display two times a message", "msg", "msg: message", + NULL, &toto_cmd_double, NULL, NULL); return PLUGIN_RC_OK; @@ -2465,9 +2501,11 @@ WeeChat neither other plugins @item Perl: @command{weechat::add_command_handler ( name, function, -[description, arguments, arguments_description] );}@* +[description, arguments, arguments_description, +completion_template] );}@* Python: @command{weechat.add_command_handler ( name, function, -[description, arguments, arguments_description] )}@* +[description, arguments, arguments_description, +completion_template] )}@* @* Create new WeeChat command, linked with script function.@* Function will be called when user will launch command with @kbd{/name}.@* @@ -2485,6 +2523,32 @@ command) (displayed by /help command) @item @option{arguments_description}: long description of command arguments (displayed by /help command) +@item @option{completion_template}: template for completion, like +@code{abc|%w def|%i} which means ``abc'' or a WeeChat command +for first argument, and ``def'' or IRC command for second.@* +Following codes can be used: +@itemize @minus +@item @code{%-}: no completion for argument +@item @code{%a}: alias +@item @code{%A}: alias and commands (WeeChat, IRC and plugins) +@item @code{%c}: current channel +@item @code{%C}: channels of current server +@item @code{%f}: filename +@item @code{%h}: plugins commands +@item @code{%i}: IRC commands (sent) +@item @code{%I}: IRC commands (received) +@item @code{%k}: keys +@item @code{%n}: nicks of current channel +@item @code{%o}: setup option +@item @code{%p}: default ``part'' message +@item @code{%q}: default ``quit'' message +@item @code{%s}: current server name +@item @code{%S}: all servers names +@item @code{%t}: topic of current channel +@item @code{%v}: setup option value +@item @code{%w}: WeeChat commands +@item @code{%y}: default ``away'' message +@end itemize @end itemize @* @emph{Return value:}@* diff --git a/weechat/doc/weechat_doc_fr.texi b/weechat/doc/weechat_doc_fr.texi index 49f43ec54..d3bb1e5f1 100644 --- a/weechat/doc/weechat_doc_fr.texi +++ b/weechat/doc/weechat_doc_fr.texi @@ -36,7 +36,7 @@ @title WeeChat - Guide utilisateur @subtitle Client IRC rapide, l@'eger et extensible -@subtitle Documentation pour WeeChat v0.1.7-cvs - 15 decembre 2005 +@subtitle Documentation pour WeeChat v0.1.7-cvs - 16 decembre 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -1526,18 +1526,14 @@ appeler la commande suivante dans l'historique global@* faire d@'efiler d'une page vers le haut@* @item page_down faire d@'efiler d'une page vers le bas@* -@item infobar_clear -effacer la barre d'infos@* -@item nick_page_up -faire d@'efiler la liste des pseudos d'une page vers le haut@* -@item nick_page_down -faire d@'efiler la liste des pseudos d'une page vers le bas@* @item nick_beginning afficher le d@'ebut de la liste des pseudos@* @item nick_end afficher la fin de la liste des pseudos@* -@item refresh -rafraichir l'@'ecran@* +@item nick_page_up +faire d@'efiler la liste des pseudos d'une page vers le haut@* +@item nick_page_down +faire d@'efiler la liste des pseudos d'une page vers le bas@* @item jump_smart sauter au tampon avec de l'activit@'e@* @item jump_dcc @@ -1548,8 +1544,20 @@ sauter au dernier tampon@* sauter au tampon du serveur@* @item jump_next_server sauter au prochain serveur@* +@item switch_server +bascule de serveur actif sur le tampon des serveurs@* +@item scroll_previous_highlight +scroller jusqu'au highlight pr@'ec@'edent du tampon@* +@item scroll_next_highlight +scroller jusqu'au highlight suivant du tampon@* +@item scroll_unread +scroller jusqu'@`a la premi@`ere ligne non lue du tampon@* @item hotlist_clear effacer la liste d'activit@'e@* +@item infobar_clear +effacer la barre d'infos@* +@item refresh +rafraichir l'@'ecran@* @item grab_key capturer une touche@* @end table @@ -1938,8 +1946,9 @@ WeeChat ni @`a d'autres extensions @item @command{t_plugin_handler *cmd_handler_add (t_weechat_plugin *plugin, char *command, char *description, char *arguments, -char *arguments_description, t_plugin_handler_func *handler_func, -char *handler_args, void *handler_pointer)}@* +char *arguments_description, char *completion_template, +t_plugin_handler_func *handler_func, char *handler_args, +void *handler_pointer)}@* @* Ajoute un gestionnaire de commande WeeChat, appel@'e d@`es que l'utilisateur utilise la commande (par exemple /commande).@* @@ -1954,6 +1963,33 @@ l'utilisateur utilise la commande (par exemple /commande).@* commande (affich@'ee par /help commande) @item @option{arguments_description}: longue description des param@`etres de la commande (affich@'ee par /help commande) +@item @option{completion_template}: mod@`ele pour la compl@'etion, sous +la forme @code{abc|%w def|%i} qui signifie ``abc'' ou une comande +WeeChat pour le premier param@`etre, et ``def'' ou une commande IRC +pour le deuxi@`eme.@* +Les codes suivants peuvent @^etre utilis@'es : +@itemize @minus +@item @code{%-}: aucune compl@'etion pour le param@`etre +@item @code{%a}: alias +@item @code{%A}: alias et commandes (WeeChat, IRC et extensions) +@item @code{%c}: canal courant +@item @code{%C}: canaux du serveur courant +@item @code{%f}: nom de fichier +@item @code{%h}: commandes d@'efinies par des extensions +@item @code{%i}: commandes IRC (envoy@'ees) +@item @code{%I}: commandes IRC (re@,cues) +@item @code{%k}: touches +@item @code{%n}: pseudos du canal courant +@item @code{%o}: option de configuration +@item @code{%p}: message de ``part'' par d@'efaut +@item @code{%q}: message de ``quit'' par d@'efaut +@item @code{%s}: nom du serveur courant +@item @code{%S}: noms de tous les serveurs +@item @code{%t}: titre du canal courant +@item @code{%v}: valeur d'une option de configuration +@item @code{%w}: commandes WeeChat +@item @code{%y}: message d'absence (``away'') par d@'efaut +@end itemize @item @option{handler_func}: fonction appel@'ee lorsque la commande est ex@'ecut@'ee @item @option{handler_args}: param@`etres pass@'es @`a la fonction @@ -2303,6 +2339,7 @@ int weechat_plugin_init (t_weechat_plugin *plugin) "Affiche deux fois un message", "msg", "msg: message a afficher deux fois", + NULL, &toto_cmd_double, NULL, NULL); return PLUGIN_RC_OK; @@ -2498,9 +2535,11 @@ transmis @`a d'autres extensions @item Perl: @command{weechat::add_command_handler ( nom, fonction, -[description, arguments, arguments_description] );}@* +[description, arguments, arguments_description, +completion_template] );}@* Python: @command{weechat.add_command_handler ( nom, fonction, -[description, arguments, arguments_description] )}@* +[description, arguments, arguments_description, +completion_template] )}@* @* Cr@'e@'e une nouvelle commande WeeChat, associ@'ee @`a une fonction.@* La fonction sera appel@'ee lorsque l'utilisateur lancera la commande @@ -2520,6 +2559,33 @@ script sera charg@'e. commande (affich@'ee par /help commande) @item @option{arguments_description}: longue description des param@`etres de la commande (affich@'ee par /help commande) +@item @option{completion_template}: mod@`ele pour la compl@'etion, sous +la forme @code{abc|%w def|%i} qui signifie ``abc'' ou une comande +WeeChat pour le premier param@`etre, et ``def'' ou une commande IRC +pour le deuxi@`eme.@* +Les codes suivants peuvent @^etre utilis@'es : +@itemize @minus +@item @code{%-}: aucune compl@'etion pour le param@`etre +@item @code{%a}: alias +@item @code{%A}: alias et commandes (WeeChat, IRC et extensions) +@item @code{%c}: canal courant +@item @code{%C}: canaux du serveur courant +@item @code{%f}: nom de fichier +@item @code{%h}: commandes d@'efinies par des extensions +@item @code{%i}: commandes IRC (envoy@'ees) +@item @code{%I}: commandes IRC (re@,cues) +@item @code{%k}: touches +@item @code{%n}: pseudos du canal courant +@item @code{%o}: option de configuration +@item @code{%p}: message de ``part'' par d@'efaut +@item @code{%q}: message de ``quit'' par d@'efaut +@item @code{%s}: nom du serveur courant +@item @code{%S}: noms de tous les serveurs +@item @code{%t}: titre du canal courant +@item @code{%v}: valeur d'une option de configuration +@item @code{%w}: commandes WeeChat +@item @code{%y}: message d'absence (``away'') par d@'efaut +@end itemize @end itemize @* @emph{Valeur renvoy@'ee :}@* diff --git a/weechat/doc/weechat_doc_pt.texi b/weechat/doc/weechat_doc_pt.texi index 7262802eb..f2492f758 100644 --- a/weechat/doc/weechat_doc_pt.texi +++ b/weechat/doc/weechat_doc_pt.texi @@ -36,7 +36,7 @@ @title WeeChat - Guia do Utilizador @subtitle Cliente de IRC rapido, leve e extencivel -@subtitle Documenta@,{c}@~ao do WeeChat v0.1.7-cvs - 15 de dezembro de 2005 +@subtitle Documenta@,{c}@~ao do WeeChat v0.1.7-cvs - 16 de dezembro de 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -1523,18 +1523,14 @@ call next command in global history@* scroll one page up@* @item page_down scroll one page down@* -@item infobar_clear -clear infobar@* -@item nick_page_up -scroll nicklist one page up@* -@item nick_page_down -scroll nicklist one page down@* @item nick_beginning display beginning of nicklist@* @item nick_end display end of nicklist@* -@item refresh -refresh screen@* +@item nick_page_up +scroll nicklist one page up@* +@item nick_page_down +scroll nicklist one page down@* @item jump_smart jump to buffer with activity@* @item jump_dcc @@ -1545,8 +1541,20 @@ jump to last buffer@* jump to server buffer@* @item jump_next_server jump to next server@* +@item switch_server +switch active server on servers buffer@* +@item scroll_previous_highlight +scroll to previous highlight in buffer@* +@item scroll_next_highlight +scroll to next highlight in buffer@* +@item scroll_unread +scroll to first unread line in buffer@* @item hotlist_clear clear hotlist@* +@item infobar_clear +clear infobar@* +@item refresh +refresh screen@* @item grab_key grab a key@* @end table @@ -1918,8 +1926,9 @@ WeeChat neither other plugins @item @command{t_plugin_handler *cmd_handler_add (t_weechat_plugin *plugin, char *command, char *description, char *arguments, -char *arguments_description, t_plugin_handler_func *handler_func, -char *handler_args, void *handler_pointer)}@* +char *arguments_description, char *completion_template, +t_plugin_handler_func *handler_func, char *handler_args, +void *handler_pointer)}@* @* Add a WeeChat command handler, called when user uses command (for example /command).@* @@ -1934,6 +1943,32 @@ command) (displayed by /help command) @item @option{arguments_description}: long description of command arguments (displayed by /help command) +@item @option{completion_template}: template for completion, like +@code{abc|%w def|%i} which means ``abc'' or a WeeChat command +for first argument, and ``def'' or IRC command for second.@* +Following codes can be used: +@itemize @minus +@item @code{%-}: no completion for argument +@item @code{%a}: alias +@item @code{%A}: alias and commands (WeeChat, IRC and plugins) +@item @code{%c}: current channel +@item @code{%C}: channels of current server +@item @code{%f}: filename +@item @code{%h}: plugins commands +@item @code{%i}: IRC commands (sent) +@item @code{%I}: IRC commands (received) +@item @code{%k}: keys +@item @code{%n}: nicks of current channel +@item @code{%o}: setup option +@item @code{%p}: default ``part'' message +@item @code{%q}: default ``quit'' message +@item @code{%s}: current server name +@item @code{%S}: all servers name +@item @code{%t}: topic of current channel +@item @code{%v}: setup option value +@item @code{%w}: WeeChat commands +@item @code{%y}: default ``away'' message +@end itemize @item @option{handler_func}: function called when comand is executed @item @option{handler_args}: arguments given to function when called @item @option{handler_pointer}: pointer given to function when called @@ -2266,6 +2301,7 @@ int weechat_plugin_init (t_weechat_plugin *plugin) "Display two times a message", "msg", "msg: message", + NULL, &toto_cmd_double, NULL, NULL); return PLUGIN_RC_OK; @@ -2460,9 +2496,11 @@ WeeChat neither other plugins @item Perl: @command{weechat::add_command_handler ( name, function, -[description, arguments, arguments_description] );}@* +[description, arguments, arguments_description, +completion_template] );}@* Python: @command{weechat.add_command_handler ( name, function, -[description, arguments, arguments_description] )}@* +[description, arguments, arguments_description, +completion_template] )}@* @* Create new WeeChat command, linked with script function.@* Function will be called when user will launch command with @kbd{/name}.@* @@ -2480,6 +2518,32 @@ command) (displayed by /help command) @item @option{arguments_description}: long description of command arguments (displayed by /help command) +@item @option{completion_template}: template for completion, like +@code{abc|%w def|%i} which means ``abc'' or a WeeChat command +for first argument, and ``def'' or IRC command for second.@* +Following codes can be used: +@itemize @minus +@item @code{%-}: no completion for argument +@item @code{%a}: alias +@item @code{%A}: alias and commands (WeeChat, IRC and plugins) +@item @code{%c}: current channel +@item @code{%C}: channels of current server +@item @code{%f}: filename +@item @code{%h}: plugins commands +@item @code{%i}: IRC commands (sent) +@item @code{%I}: IRC commands (received) +@item @code{%k}: keys +@item @code{%n}: nicks of current channel +@item @code{%o}: setup option +@item @code{%p}: default ``part'' message +@item @code{%q}: default ``quit'' message +@item @code{%s}: current server name +@item @code{%S}: all servers names +@item @code{%t}: topic of current channel +@item @code{%v}: setup option value +@item @code{%w}: WeeChat commands +@item @code{%y}: default ``away'' message +@end itemize @end itemize @* @emph{Return value:}@* diff --git a/weechat/po/cs.po b/weechat/po/cs.po index b191e3bc4..4638fe379 100644 --- a/weechat/po/cs.po +++ b/weechat/po/cs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.7-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-12-12 12:05+0100\n" +"POT-Creation-Date: 2005-12-16 14:01+0100\n" "PO-Revision-Date: 2005-12-11 14:53+0100\n" "Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -177,12 +177,12 @@ msgstr "najít informace o administrátorovi serveru" #: src/irc/irc-commands.c:35 src/irc/irc-commands.c:85 #: src/irc/irc-commands.c:162 src/irc/irc-commands.c:253 -#: src/irc/irc-commands.c:261 src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:262 src/irc/irc-commands.c:275 msgid "[target]" msgstr "[cíl]" -#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:261 -#: src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:276 msgid "target: server" msgstr "cíl: server" @@ -202,7 +202,7 @@ msgstr "zpráva: zpráva, která se má poslat" msgid "send message to all channels of all connected servers" msgstr "poslat zprávu na všechny kanály všech připojených serverů" -#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:288 msgid "text" msgstr "text" @@ -285,7 +285,7 @@ msgstr "odebrat status operátora polovičního kanálu z přezdívky (přezdív #: src/irc/irc-commands.c:69 src/irc/irc-commands.c:72 #: src/irc/irc-commands.c:75 src/irc/irc-commands.c:82 -#: src/irc/irc-commands.c:280 +#: src/irc/irc-commands.c:284 msgid "[nickname [nickname]]" msgstr "[přezdívka [přezdívka]]" @@ -301,7 +301,7 @@ msgstr "odebrat hlas z přezdívky (přezdívek)" msgid "shutdown the server" msgstr "vypnout server" -#: src/irc/irc-commands.c:80 +#: src/irc/irc-commands.c:79 msgid "error received from IRC server" msgstr "přijata chyba z IRC serveru" @@ -337,11 +337,11 @@ msgstr "" msgid "check if a nickname is currently on IRC" msgstr "zkontrolovat jestli je přezdívka momentálne na IRC" -#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:271 msgid "nickname [nickname ...]" msgstr "přezdívka [přezdívka ...]" -#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:272 msgid "nickname: nickname" msgstr "přezdívka: přezdívka" @@ -546,19 +546,19 @@ msgstr "vypsat přezdívky na kanále" msgid "[channel[,channel]]" msgstr "[kanál[,]kanál]" -#: src/irc/irc-commands.c:171 +#: src/irc/irc-commands.c:172 msgid "channel: channel name" msgstr "kanál: jméno kanálu" -#: src/irc/irc-commands.c:173 +#: src/irc/irc-commands.c:174 msgid "change current nickname" msgstr "změnit aktuální přezdívku" -#: src/irc/irc-commands.c:174 +#: src/irc/irc-commands.c:175 msgid "[-all] nickname" msgstr "[-all] přezdívka" -#: src/irc/irc-commands.c:175 +#: src/irc/irc-commands.c:176 msgid "" "-all: set new nickname for all connected servers\n" "nickname: new nickname" @@ -566,15 +566,15 @@ msgstr "" "-all: nastavit novou přezdívku přo všechny připojené servery\n" "přezdívka: nová přezdívka" -#: src/irc/irc-commands.c:178 +#: src/irc/irc-commands.c:179 msgid "send notice message to user" msgstr "poslat notifikační zprávu uživateli" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:180 msgid "nickname text" msgstr "přezdívka text" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:181 msgid "" "nickname: user to send notice to\n" "text: text to send" @@ -582,35 +582,35 @@ msgstr "" "přezdívka: uživatel, kterému poslat notifikaci\n" "text: text, který poslat" -#: src/irc/irc-commands.c:181 +#: src/irc/irc-commands.c:183 msgid "gives channel operator status to nickname(s)" msgstr "dát status operátora kanálu přezdívce (přezdívkám)" -#: src/irc/irc-commands.c:182 +#: src/irc/irc-commands.c:184 msgid "nickname [nickname]" msgstr "přezdívka [přezdívka]" -#: src/irc/irc-commands.c:184 +#: src/irc/irc-commands.c:186 msgid "get operator privileges" msgstr "dát práva operátora" -#: src/irc/irc-commands.c:185 +#: src/irc/irc-commands.c:187 msgid "user password" msgstr "uživatel heslo" -#: src/irc/irc-commands.c:186 +#: src/irc/irc-commands.c:188 msgid "user/password: used to get privileges on current IRC server" msgstr "uživatel/heslo: použité pro získání práv na aktuálním IRC serveru" -#: src/irc/irc-commands.c:188 +#: src/irc/irc-commands.c:190 msgid "leave a channel" msgstr "opustit kanál" -#: src/irc/irc-commands.c:189 +#: src/irc/irc-commands.c:191 msgid "[channel[,channel]] [part_message]" msgstr "[kanál[,kanál]] [zpráva_části]" -#: src/irc/irc-commands.c:190 +#: src/irc/irc-commands.c:192 msgid "" "channel: channel name to leave\n" "part_message: part message (displayed to other users)" @@ -618,15 +618,15 @@ msgstr "" "kanál: kanál, který opustit\n" "zpráva_části: zpráva při opuštění (zobrazí se ostatním uživatelům)" -#: src/irc/irc-commands.c:193 +#: src/irc/irc-commands.c:195 msgid "ping server" msgstr "pingnout server" -#: src/irc/irc-commands.c:194 +#: src/irc/irc-commands.c:196 msgid "server1 [server2]" msgstr "server1 [server2]" -#: src/irc/irc-commands.c:195 +#: src/irc/irc-commands.c:197 msgid "" "server1: server to ping\n" "server2: forward ping to this server" @@ -634,15 +634,15 @@ msgstr "" "server1: server, který pingnout\n" "server2: poslat ping na tento server" -#: src/irc/irc-commands.c:197 +#: src/irc/irc-commands.c:199 msgid "answer to a ping message" msgstr "odpovědět na ping zprávu" -#: src/irc/irc-commands.c:198 +#: src/irc/irc-commands.c:200 msgid "daemon [daemon2]" msgstr "démon [démon2]" -#: src/irc/irc-commands.c:199 +#: src/irc/irc-commands.c:201 msgid "" "daemon: daemon who has responded to Ping message\n" "daemon2: forward message to this daemon" @@ -650,19 +650,19 @@ msgstr "" "démon: démon, který odpověděl na ping zprávu\n" "démon2: poslat zprávu tomuto démonovi" -#: src/irc/irc-commands.c:202 +#: src/irc/irc-commands.c:204 msgid "message received" msgstr "zpráva přijata" -#: src/irc/irc-commands.c:205 +#: src/irc/irc-commands.c:206 msgid "send a private message to a nick" msgstr "poslat soukromou zprávu přezdívce" -#: src/irc/irc-commands.c:206 +#: src/irc/irc-commands.c:207 msgid "nickname [text]" msgstr "přezdívka [text]" -#: src/irc/irc-commands.c:207 +#: src/irc/irc-commands.c:208 msgid "" "nickname: nickname for private conversation\n" "text: text to send" @@ -670,32 +670,32 @@ msgstr "" "přezdívka: přezdívka pro soukromé spojení\n" "text: text, který poslat" -#: src/irc/irc-commands.c:210 +#: src/irc/irc-commands.c:211 msgid "close all connections & quit" msgstr "zavřít všechny spojení a ukončit" -#: src/irc/irc-commands.c:211 +#: src/irc/irc-commands.c:212 msgid "[quit_message]" msgstr "[ukončovací_zpráva]" -#: src/irc/irc-commands.c:212 +#: src/irc/irc-commands.c:213 msgid "quit_message: quit message (displayed to other users)" msgstr "" "ukončovací_zpráva: zpráva při ukončení (zobrazuje se ostatním uživatelům)" -#: src/irc/irc-commands.c:214 +#: src/irc/irc-commands.c:215 msgid "send raw data to server without parsing" msgstr "poslat čistá data na server bez pársování" -#: src/irc/irc-commands.c:215 +#: src/irc/irc-commands.c:216 msgid "data" msgstr "data" -#: src/irc/irc-commands.c:216 +#: src/irc/irc-commands.c:217 msgid "data: raw data to send" msgstr "data: čístá data pro server" -#: src/irc/irc-commands.c:218 +#: src/irc/irc-commands.c:219 msgid "tell the server to reload its config file" msgstr "říct serveru, aby znovu načetl svůj konfigurační soubor" @@ -703,15 +703,15 @@ msgstr "říct serveru, aby znovu načetl svůj konfigurační soubor" msgid "tell the server to restart itself" msgstr "říct serveru, aby se restartoval" -#: src/irc/irc-commands.c:224 +#: src/irc/irc-commands.c:223 msgid "register a new service" msgstr "zaregistrovat novou službu" -#: src/irc/irc-commands.c:225 +#: src/irc/irc-commands.c:224 msgid "nickname reserved distribution type reserved info" msgstr "přezdívka reserved distribuce typ reserved info" -#: src/irc/irc-commands.c:226 +#: src/irc/irc-commands.c:225 msgid "" "distribution: visibility of service\n" "type: reserved for future usage" @@ -719,15 +719,15 @@ msgstr "" "distribuce: viditelnost servisu\n" "typ: rezervováné pro příští použití" -#: src/irc/irc-commands.c:229 +#: src/irc/irc-commands.c:228 msgid "list services currently connected to the network" msgstr "vypsat služby, které jsou zrovna připojeny k síti" -#: src/irc/irc-commands.c:230 +#: src/irc/irc-commands.c:229 msgid "[mask [type]]" msgstr "[maska [typ]]" -#: src/irc/irc-commands.c:231 +#: src/irc/irc-commands.c:230 msgid "" "mask: list only services matching this mask\n" "type: list only services of this type" @@ -735,15 +735,15 @@ msgstr "" "maska: vypsat pouze služby odpovídající této masce\n" "typ: vypsat pouze služby tohoto typu" -#: src/irc/irc-commands.c:234 +#: src/irc/irc-commands.c:233 msgid "deliver a message to a service" msgstr "doručit zprávu službě" -#: src/irc/irc-commands.c:235 +#: src/irc/irc-commands.c:234 msgid "service text" msgstr "služba text" -#: src/irc/irc-commands.c:236 +#: src/irc/irc-commands.c:235 msgid "" "service: name of service\n" "text: text to send" @@ -751,15 +751,15 @@ msgstr "" "služba: jméno služby\n" "text: text, který se má poslat" -#: src/irc/irc-commands.c:238 +#: src/irc/irc-commands.c:237 msgid "disconnect server links" msgstr "odpojit spojení serveru" -#: src/irc/irc-commands.c:239 +#: src/irc/irc-commands.c:238 msgid "server comment" msgstr "server komentář" -#: src/irc/irc-commands.c:240 +#: src/irc/irc-commands.c:239 msgid "" "server: server name\n" "comment: comment for quit" @@ -767,15 +767,15 @@ msgstr "" "server: jméno serveru\n" "komentář: komentář pro ukončení" -#: src/irc/irc-commands.c:242 +#: src/irc/irc-commands.c:241 msgid "query statistics about server" msgstr "dotázat se na statistiku o serveru" -#: src/irc/irc-commands.c:243 +#: src/irc/irc-commands.c:242 msgid "[query [server]]" msgstr "[dotaz [server]]" -#: src/irc/irc-commands.c:244 +#: src/irc/irc-commands.c:243 msgid "" "query: c/h/i/k/l/m/o/y/u (see RFC1459)\n" "server: server name" @@ -809,19 +809,19 @@ msgstr "" msgid "query local time from server" msgstr "získat lokální čas ze serveru" -#: src/irc/irc-commands.c:253 +#: src/irc/irc-commands.c:254 msgid "target: query time from specified server" msgstr "cíl: získat čas z uvedeného serveru" -#: src/irc/irc-commands.c:255 +#: src/irc/irc-commands.c:256 msgid "get/set channel topic" msgstr "získat/nastavit téma kanálu" -#: src/irc/irc-commands.c:256 +#: src/irc/irc-commands.c:257 msgid "[channel] [topic]" msgstr "[kanál] [téma]" -#: src/irc/irc-commands.c:257 +#: src/irc/irc-commands.c:258 msgid "" "channel: channel name\n" "topic: new topic for channel (if topic is \"-delete\" then topic is deleted)" @@ -829,19 +829,19 @@ msgstr "" "kanál: jméno kanálu\n" "téma: nové téma pro kanál (pokud je téma \"-delete\" je téma vymazáno)" -#: src/irc/irc-commands.c:260 +#: src/irc/irc-commands.c:261 msgid "find the route to specific server" msgstr "najít cestu k určenému serveru" -#: src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:265 msgid "unbans nicks or hosts" msgstr "zruší zakázání pro přezdívku nebo hosta" -#: src/irc/irc-commands.c:264 +#: src/irc/irc-commands.c:266 msgid "[channel] nickname [nickname ...]" msgstr "[kanál] přezdívka [přezdívka ...]" -#: src/irc/irc-commands.c:265 +#: src/irc/irc-commands.c:267 msgid "" "channel: channel for unban\n" "nickname: user or host to unban" @@ -849,23 +849,23 @@ msgstr "" "kanál: kanál pro unban\n" "přezdívka: uživatel nebo host pro unban" -#: src/irc/irc-commands.c:268 +#: src/irc/irc-commands.c:270 msgid "return a list of information about nicknames" msgstr "vrátí seznam informací o přezdívce" -#: src/irc/irc-commands.c:271 +#: src/irc/irc-commands.c:274 msgid "list of users logged into the server" msgstr "seznam uživatelů přihlášených k serveru" -#: src/irc/irc-commands.c:274 +#: src/irc/irc-commands.c:278 msgid "gives the version info of nick or server (current or specified)" msgstr "dát informace o verzi přezdívky nebo serveru (aktuální nebo určené)" -#: src/irc/irc-commands.c:275 +#: src/irc/irc-commands.c:279 msgid "[server | nickname]" msgstr "[server | přezdívka]" -#: src/irc/irc-commands.c:276 +#: src/irc/irc-commands.c:280 msgid "" "server: server name\n" "nickname: nickname" @@ -873,11 +873,11 @@ msgstr "" "server: jméno serveru\n" "přezdívka: přezdívka" -#: src/irc/irc-commands.c:279 +#: src/irc/irc-commands.c:283 msgid "gives voice to nickname(s)" msgstr "dá hlas přezdívce (přezdívkám)" -#: src/irc/irc-commands.c:282 +#: src/irc/irc-commands.c:286 msgid "" "send a message to all currently connected users who have set the 'w' user " "mode for themselves" @@ -885,19 +885,19 @@ msgstr "" "poslat zprávu všem aktuálně připojeným uživatelům, kteří mají u sebe " "nastaven uživatelský mód 'w'" -#: src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:289 msgid "text to send" msgstr "text pro poslání" -#: src/irc/irc-commands.c:286 +#: src/irc/irc-commands.c:291 msgid "generate a query which returns a list of information" msgstr "vygenerovat dotaz, který vrátí seznam informací" -#: src/irc/irc-commands.c:287 +#: src/irc/irc-commands.c:292 msgid "[mask [\"o\"]]" msgstr "[maska [\"o\"]]" -#: src/irc/irc-commands.c:288 +#: src/irc/irc-commands.c:293 msgid "" "mask: only information which match this mask\n" "o: only operators are returned according to the mask supplied" @@ -905,15 +905,15 @@ msgstr "" "maska: pouze informace, které odpovídají zadané masce\n" "o: jsou vráceni pouze operátoři, kteří odpovídají masce" -#: src/irc/irc-commands.c:291 +#: src/irc/irc-commands.c:296 msgid "query information about user(s)" msgstr "dotázat se na informace o uživateli (uživatelích)" -#: src/irc/irc-commands.c:292 +#: src/irc/irc-commands.c:297 msgid "[server] nickname[,nickname]" msgstr "[server] přezdívka[,přezdívka]" -#: src/irc/irc-commands.c:293 +#: src/irc/irc-commands.c:298 msgid "" "server: server name\n" "nickname: nickname (may be a mask)" @@ -921,15 +921,15 @@ msgstr "" "server: jméno serveru\n" "přezdívka: přezdívka (může být maska)" -#: src/irc/irc-commands.c:296 +#: src/irc/irc-commands.c:301 msgid "ask for information about a nickname which no longer exists" msgstr "dotázat se na informace o přezdívce, která již neexistuje" -#: src/irc/irc-commands.c:297 +#: src/irc/irc-commands.c:302 msgid "nickname [,nickname [,nickname ...]] [count [target]]" msgstr "přezdívka [,přezdívka [,přezdívka ...]] [počet [cíl]]" -#: src/irc/irc-commands.c:298 +#: src/irc/irc-commands.c:303 msgid "" "nickname: nickname to search\n" "count: number of replies to return (full search if negative number)\n" @@ -939,121 +939,121 @@ msgstr "" "počet: počet odpovědí, které vrátit (úplné vyhledávání je negativní číslo)\n" "cíl: odpověď musí odpovídat této masce" -#: src/irc/irc-commands.c:302 src/irc/irc-commands.c:303 -#: src/irc/irc-commands.c:304 src/irc/irc-commands.c:305 -#: src/irc/irc-commands.c:306 src/irc/irc-commands.c:307 -#: src/irc/irc-commands.c:308 src/irc/irc-commands.c:309 -#: src/irc/irc-commands.c:310 src/irc/irc-commands.c:311 -#: src/irc/irc-commands.c:313 src/irc/irc-commands.c:314 -#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:316 -#: src/irc/irc-commands.c:317 src/irc/irc-commands.c:318 -#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:320 -#: src/irc/irc-commands.c:321 src/irc/irc-commands.c:322 -#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:324 -#: src/irc/irc-commands.c:325 src/irc/irc-commands.c:326 -#: src/irc/irc-commands.c:327 src/irc/irc-commands.c:328 -#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:330 -#: src/irc/irc-commands.c:331 src/irc/irc-commands.c:332 -#: src/irc/irc-commands.c:380 src/irc/irc-commands.c:381 -#: src/irc/irc-commands.c:382 src/irc/irc-commands.c:383 -#: src/irc/irc-commands.c:384 src/irc/irc-commands.c:385 -#: src/irc/irc-commands.c:491 +#: src/irc/irc-commands.c:307 src/irc/irc-commands.c:309 +#: src/irc/irc-commands.c:311 src/irc/irc-commands.c:313 +#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:317 +#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:321 +#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:325 +#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:331 +#: src/irc/irc-commands.c:333 src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:337 src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:341 src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:345 src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:349 src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:353 src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:357 src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:361 src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:365 src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:449 src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:453 src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:457 src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:569 msgid "a server message" msgstr "zpráva serveru" -#: src/irc/irc-commands.c:312 +#: src/irc/irc-commands.c:327 msgid "user mode string" msgstr "řetězec uživatelského módu" -#: src/irc/irc-commands.c:333 +#: src/irc/irc-commands.c:369 msgid "away message" msgstr "zpráva nepřítomnosti" -#: src/irc/irc-commands.c:334 +#: src/irc/irc-commands.c:371 msgid "userhost" msgstr "uživatel" -#: src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:373 msgid "ison" msgstr "ison" -#: src/irc/irc-commands.c:336 +#: src/irc/irc-commands.c:375 msgid "unaway" msgstr "zrušit nepřitomnost" -#: src/irc/irc-commands.c:337 +#: src/irc/irc-commands.c:377 msgid "now away" msgstr "nyní nepřítomen" -#: src/irc/irc-commands.c:338 +#: src/irc/irc-commands.c:379 msgid "whois (registered nick)" msgstr "kdo je (registrovaná přezdívka)" -#: src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:381 msgid "whois (user)" msgstr "kdo je (uživatel)" -#: src/irc/irc-commands.c:340 +#: src/irc/irc-commands.c:383 msgid "whois (server)" msgstr "kdo je (server)" -#: src/irc/irc-commands.c:341 +#: src/irc/irc-commands.c:385 msgid "whois (operator)" msgstr "kdo je (operator)" -#: src/irc/irc-commands.c:342 +#: src/irc/irc-commands.c:387 msgid "whowas" msgstr "kdo byl" -#: src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:389 msgid "end of /who list" msgstr "konec /who seznamu" -#: src/irc/irc-commands.c:344 +#: src/irc/irc-commands.c:391 msgid "whois (idle)" msgstr "kdo je (nečinný)" -#: src/irc/irc-commands.c:345 +#: src/irc/irc-commands.c:393 msgid "whois (end)" msgstr "kdo je (konec)" -#: src/irc/irc-commands.c:346 +#: src/irc/irc-commands.c:395 msgid "whois (channels)" msgstr "kdo je (kanály)" -#: src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:397 msgid "whois (identified user)" msgstr "kdo je (identifikovaný uživatel)" -#: src/irc/irc-commands.c:348 +#: src/irc/irc-commands.c:399 msgid "/list start" msgstr "/list začátek" -#: src/irc/irc-commands.c:349 +#: src/irc/irc-commands.c:401 msgid "channel (for /list)" msgstr "kanál (pro /list)" -#: src/irc/irc-commands.c:350 +#: src/irc/irc-commands.c:403 msgid "/list end" msgstr "/list konec" -#: src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:405 msgid "channel mode" msgstr "mód kanálu" -#: src/irc/irc-commands.c:353 +#: src/irc/irc-commands.c:409 msgid "no topic for channel" msgstr "na kanálu není nastaveno téma" -#: src/irc/irc-commands.c:354 +#: src/irc/irc-commands.c:411 msgid "topic of channel" msgstr "téma kanálu" -#: src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:412 msgid "channel :topic" msgstr "kanál :téma" -#: src/irc/irc-commands.c:356 +#: src/irc/irc-commands.c:413 msgid "" "channel: name of channel\n" "topic: topic of the channel" @@ -1061,47 +1061,47 @@ msgstr "" "kanál: jméno kanálu\n" "téma: téma kanálu" -#: src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:416 msgid "infos about topic (nick & date changed)" msgstr "informace o tématu (uživatel a datum změnění)" -#: src/irc/irc-commands.c:362 +#: src/irc/irc-commands.c:418 msgid "inviting" msgstr "pozvání" -#: src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:420 msgid "channel reop" msgstr "reop kanálu" -#: src/irc/irc-commands.c:364 +#: src/irc/irc-commands.c:422 msgid "end of channel reop list" msgstr "konec seznamu lidí při opnutých při reopu kanálu" -#: src/irc/irc-commands.c:365 +#: src/irc/irc-commands.c:424 msgid "channel exception list" msgstr "seznam vyjímek kanálu" -#: src/irc/irc-commands.c:366 +#: src/irc/irc-commands.c:426 msgid "end of channel exception list" msgstr "konec seznamu vyjímek kanálu" -#: src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:428 msgid "server version" msgstr "verze serveru" -#: src/irc/irc-commands.c:368 +#: src/irc/irc-commands.c:430 msgid "who" msgstr "kdo" -#: src/irc/irc-commands.c:369 +#: src/irc/irc-commands.c:432 msgid "list of nicks on channel" msgstr "seznam uživatelů na kanálu" -#: src/irc/irc-commands.c:370 +#: src/irc/irc-commands.c:433 msgid "channel :[[@|+]nick ...]" msgstr "kanál :[[@|+]přezdívka ...]" -#: src/irc/irc-commands.c:371 +#: src/irc/irc-commands.c:434 msgid "" "channel: name of channel\n" "nick: nick on the channel" @@ -1109,243 +1109,243 @@ msgstr "" "kanál: jméno kanálu\n" "přezdívka: přezdívka na kanálu" -#: src/irc/irc-commands.c:374 +#: src/irc/irc-commands.c:437 msgid "links" msgstr "odkazy" -#: src/irc/irc-commands.c:375 +#: src/irc/irc-commands.c:439 msgid "end of /links list" msgstr "konec /links seznamu" -#: src/irc/irc-commands.c:376 +#: src/irc/irc-commands.c:441 msgid "end of /names list" msgstr "konec /names sezanmu" -#: src/irc/irc-commands.c:377 +#: src/irc/irc-commands.c:443 msgid "banlist" msgstr "seznam zakázaných" -#: src/irc/irc-commands.c:378 +#: src/irc/irc-commands.c:445 msgid "end of banlist" msgstr "konec seznamu zakázaných" -#: src/irc/irc-commands.c:379 +#: src/irc/irc-commands.c:447 msgid "end of /whowas list" msgstr "konec /whowas seznamu" -#: src/irc/irc-commands.c:386 +#: src/irc/irc-commands.c:461 msgid "you are now an IRC operator" msgstr "nyní jsi IRC operátor" -#: src/irc/irc-commands.c:387 +#: src/irc/irc-commands.c:463 msgid "rehashing" msgstr "přepočítávám hash" -#: src/irc/irc-commands.c:388 +#: src/irc/irc-commands.c:465 msgid "server local time" msgstr "lokální čas serveru" -#: src/irc/irc-commands.c:389 +#: src/irc/irc-commands.c:467 msgid "no such nick/channel" msgstr "neexistující přezdívka/kanál" -#: src/irc/irc-commands.c:391 +#: src/irc/irc-commands.c:469 msgid "no such server" msgstr "neexistující server" -#: src/irc/irc-commands.c:393 +#: src/irc/irc-commands.c:471 msgid "no such channel" msgstr "neexistující kanál" -#: src/irc/irc-commands.c:395 +#: src/irc/irc-commands.c:473 msgid "cannot send to channel" msgstr "nemohu poslat na kanál" -#: src/irc/irc-commands.c:397 +#: src/irc/irc-commands.c:475 msgid "too many channels" msgstr "příliš mnoho kanálů" -#: src/irc/irc-commands.c:399 src/irc/irc-commands.c:401 +#: src/irc/irc-commands.c:477 src/irc/irc-commands.c:479 msgid "was no such nick" msgstr "byl neznámá přezdívka" -#: src/irc/irc-commands.c:403 +#: src/irc/irc-commands.c:481 msgid "no origin" msgstr "žádný původ" -#: src/irc/irc-commands.c:405 +#: src/irc/irc-commands.c:483 msgid "no services" msgstr "žádné služby" -#: src/irc/irc-commands.c:407 +#: src/irc/irc-commands.c:485 msgid "no recipient" msgstr "žádný příjemce" -#: src/irc/irc-commands.c:409 +#: src/irc/irc-commands.c:487 msgid "no text to send" msgstr "není text k poslání" -#: src/irc/irc-commands.c:411 +#: src/irc/irc-commands.c:489 msgid "no toplevel" msgstr "žádný nejvyšší level" -#: src/irc/irc-commands.c:413 +#: src/irc/irc-commands.c:491 msgid "wilcard in toplevel domain" msgstr "žnačka pro výběr souboru v nejvyšší doméně" -#: src/irc/irc-commands.c:415 +#: src/irc/irc-commands.c:493 msgid "unknown command" msgstr "neznámý přkaz" -#: src/irc/irc-commands.c:417 +#: src/irc/irc-commands.c:495 msgid "MOTD is missing" msgstr "MOTD chybí" -#: src/irc/irc-commands.c:419 +#: src/irc/irc-commands.c:497 msgid "no administrative info" msgstr "žádné administrativní informace" -#: src/irc/irc-commands.c:421 +#: src/irc/irc-commands.c:499 msgid "file error" msgstr "chyba souboru" -#: src/irc/irc-commands.c:423 +#: src/irc/irc-commands.c:501 msgid "no nickname given" msgstr "žádná přezdívka nebyla dána" -#: src/irc/irc-commands.c:425 +#: src/irc/irc-commands.c:503 msgid "erroneous nickname" msgstr "chybová přezdívka" -#: src/irc/irc-commands.c:427 +#: src/irc/irc-commands.c:505 msgid "nickname already in use" msgstr "přezdívka je zrovna používaná" -#: src/irc/irc-commands.c:429 +#: src/irc/irc-commands.c:507 msgid "nickname collision" msgstr "kolize přezdívek" -#: src/irc/irc-commands.c:431 +#: src/irc/irc-commands.c:509 msgid "not authorized to change nickname" msgstr "chybí autorizace pro změnu přezdívky" -#: src/irc/irc-commands.c:433 +#: src/irc/irc-commands.c:511 msgid "user not in channel" msgstr "uživatel není na kanále" -#: src/irc/irc-commands.c:435 +#: src/irc/irc-commands.c:513 msgid "not on channel" msgstr "není na kanále" -#: src/irc/irc-commands.c:437 +#: src/irc/irc-commands.c:515 msgid "user already on channel" msgstr "uživatel již je na kanále" -#: src/irc/irc-commands.c:439 +#: src/irc/irc-commands.c:517 msgid "user not logged in" msgstr "uživatel není přihlášen" -#: src/irc/irc-commands.c:441 +#: src/irc/irc-commands.c:519 msgid "summon has been disabled" msgstr "svolávání bylo zakázáno" -#: src/irc/irc-commands.c:443 +#: src/irc/irc-commands.c:521 msgid "users has been disabled" msgstr "uživatel byl zablokován" -#: src/irc/irc-commands.c:445 +#: src/irc/irc-commands.c:523 msgid "you are not registered" msgstr "nejsi registrován" -#: src/irc/irc-commands.c:447 +#: src/irc/irc-commands.c:525 msgid "not enough parameters" msgstr "nedostatek parametrů" -#: src/irc/irc-commands.c:449 +#: src/irc/irc-commands.c:527 msgid "you may not register" msgstr "nemůžeš se registrovat" -#: src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:529 msgid "your host isn't among the privileged" msgstr "tvůj host není mezi privilegovanými" -#: src/irc/irc-commands.c:453 +#: src/irc/irc-commands.c:531 msgid "password incorrect" msgstr "nezprávné heslo" -#: src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:533 msgid "you are banned from this server" msgstr "dle tohoto serveru jsi zakázaný" -#: src/irc/irc-commands.c:457 +#: src/irc/irc-commands.c:535 msgid "channel key already set" msgstr "klíč kanálu je již nastaven" -#: src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:537 msgid "forwarding to another channel" msgstr "předávám na dalsí kanál" -#: src/irc/irc-commands.c:461 +#: src/irc/irc-commands.c:539 msgid "channel is already full" msgstr "kanál je již plný" -#: src/irc/irc-commands.c:463 +#: src/irc/irc-commands.c:541 msgid "unknown mode char to me" msgstr "neznámý znak módu" -#: src/irc/irc-commands.c:465 +#: src/irc/irc-commands.c:543 msgid "cannot join channel (invite only)" msgstr "nemohu se přidat na kanál (pouze na pozvání)" -#: src/irc/irc-commands.c:467 +#: src/irc/irc-commands.c:545 msgid "cannot join channel (banned from channel)" msgstr "nemohu se přidat na kanál (zakázaný dle kanálu)" -#: src/irc/irc-commands.c:469 +#: src/irc/irc-commands.c:547 msgid "cannot join channel (bad channel key)" msgstr "nemohu se přidat na kanál (špatný klíč kanálu)" -#: src/irc/irc-commands.c:471 +#: src/irc/irc-commands.c:549 msgid "bad channel mask" msgstr "špatná maska kanálu" -#: src/irc/irc-commands.c:473 +#: src/irc/irc-commands.c:551 msgid "channel doesn't support modes" msgstr "kanál nepodporuje módy" -#: src/irc/irc-commands.c:475 +#: src/irc/irc-commands.c:553 msgid "you're not an IRC operator" msgstr "nejsi IRC operátor" -#: src/irc/irc-commands.c:477 +#: src/irc/irc-commands.c:555 msgid "you're not channel operator" msgstr "nejsi operátor kanálu" -#: src/irc/irc-commands.c:479 +#: src/irc/irc-commands.c:557 msgid "you can't kill a server!" msgstr "nemůžeš zabít server!" -#: src/irc/irc-commands.c:481 +#: src/irc/irc-commands.c:559 msgid "your connection is restricted!" msgstr "tvé připojení je omezené" -#: src/irc/irc-commands.c:483 +#: src/irc/irc-commands.c:561 msgid "user is immune from kick/deop" msgstr "uživatel je imunní na kick/deop" -#: src/irc/irc-commands.c:485 +#: src/irc/irc-commands.c:563 msgid "no O-lines for your host" msgstr "žádné O-řádky pro tvůj host" -#: src/irc/irc-commands.c:487 +#: src/irc/irc-commands.c:565 msgid "unknown mode flag" msgstr "neznámá značka módu" -#: src/irc/irc-commands.c:489 +#: src/irc/irc-commands.c:567 msgid "can't change mode for other users" msgstr "nemůžu změnit mód přo ostatní uživatele" -#: src/irc/irc-commands.c:492 +#: src/irc/irc-commands.c:571 msgid "whois (secure connection)" msgstr "whois (zabezpečená část)" @@ -1393,7 +1393,7 @@ msgstr "neznámý" msgid "%s: using local hostname \"%s\"\n" msgstr "%s: používám lokální jméno hosta \"%s\"\n" -#: src/irc/irc-send.c:177 src/common/command.c:814 +#: src/irc/irc-send.c:177 src/common/command.c:816 #, 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" @@ -1409,8 +1409,8 @@ msgstr "%s \"%s\" příkaz může být spuštěn pouze v okně kanálu\n" #: src/irc/irc-send.c:489 src/irc/irc-send.c:501 src/irc/irc-send.c:519 #: src/irc/irc-send.c:1184 src/irc/irc-send.c:1309 src/irc/irc-send.c:1842 -#: src/common/command.c:1605 src/common/command.c:2103 -#: src/common/command.c:2242 +#: src/common/command.c:1607 src/common/command.c:2105 +#: src/common/command.c:2244 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s špatný počet parametrů pro příkaz \"%s\"\n" @@ -1748,11 +1748,11 @@ msgstr "%s%s %s(%s%s@%s%s)%s byl %s\n" msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s nečinný: " -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "days" msgstr "dní" -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "day" msgstr "den" @@ -2123,14 +2123,14 @@ msgstr "" "%s plugin %s: nemůžu přidat obsluhovač pro IRC příkaz \"%s\" (nedostatek " "paměti)\n" -#: src/plugins/plugins.c:248 +#: src/plugins/plugins.c:250 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (already exists)\n" msgstr "" "%s plugin %s: nemůžu přidat obsluhovač pro \"%s\" příkaz (již existuje)\n" -#: src/plugins/plugins.c:285 +#: src/plugins/plugins.c:288 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n" @@ -2138,25 +2138,25 @@ msgstr "" "%s plugin %s: nemůžu přidat obsluhovač pro \"%s\" příkaz (nedostatek " "paměti)\n" -#: src/plugins/plugins.c:532 +#: src/plugins/plugins.c:535 #, 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:543 +#: src/plugins/plugins.c:546 #, 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:554 +#: src/plugins/plugins.c:557 #, 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:566 +#: src/plugins/plugins.c:569 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" @@ -2164,7 +2164,7 @@ msgstr "" "%s symbol \"plugin_description\" nebyl v pluginu \"%s\" nalezen, načtení " "selhalo\n" -#: src/plugins/plugins.c:577 +#: src/plugins/plugins.c:580 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" @@ -2172,7 +2172,7 @@ msgstr "" "%s symbol \"plugin_version\" nebyl v pluginu \"%s\" nalezen, načtení " "selhalo\n" -#: src/plugins/plugins.c:588 +#: src/plugins/plugins.c:591 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " @@ -2181,32 +2181,32 @@ msgstr "" "%s funkce \"weechat_plugin_init\" nebyla v pluginu \"%s\" nalezena, načtení " "selhalo\n" -#: src/plugins/plugins.c:642 +#: src/plugins/plugins.c:645 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "Inicializuji plugin \"%s\" %s\n" -#: src/plugins/plugins.c:650 +#: src/plugins/plugins.c:653 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "%s nemohu načíst plugin \"%s\"\n" -#: src/plugins/plugins.c:661 +#: src/plugins/plugins.c:664 #, 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:669 +#: src/plugins/plugins.c:672 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "Plugin \"%s\" (%s) načten.\n" -#: src/plugins/plugins.c:809 +#: src/plugins/plugins.c:838 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "Plugin \"%s\" odebrán.\n" -#: src/plugins/plugins.c:815 +#: src/plugins/plugins.c:844 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "%s plugin \"%s\" nenalezen\n" @@ -2489,7 +2489,7 @@ msgstr "obnov obrazovku" msgid "grab a key" msgstr "zachytit klávesu" -#: src/gui/gui-keyboard.c:434 src/common/command.c:2118 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2120 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s nemohu napojit kalávesu \"%s\"\n" @@ -2627,33 +2627,34 @@ msgstr "zobrazí nápovědu k příkazům" msgid "[command]" msgstr "[příkaz]" -#: src/common/command.c:85 +#: src/common/command.c:86 msgid "command: name of a WeeChat or IRC command" msgstr "příkaz: jméno WeeChat nebo IRC příkazu" -#: src/common/command.c:87 +#: src/common/command.c:88 msgid "show buffer command history" msgstr "" -#: src/common/command.c:88 +#: src/common/command.c:89 msgid "[clear | value]" msgstr "" -#: src/common/command.c:89 +#: src/common/command.c:90 msgid "" "clear: clear history\n" "value: number of history entries to show" msgstr "" -#: src/common/command.c:92 +#: src/common/command.c:93 msgid "ignore IRC messages and/or hosts" msgstr "ignoruje IRC příkaz a/nebo hosta" -#: src/common/command.c:93 +#: src/common/command.c:94 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[maska [[typ | příkaz] [kanál [server]]]]" -#: src/common/command.c:94 +#: src/common/command.c:95 +#, fuzzy msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2673,19 +2674,20 @@ 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:102 +#: src/common/command.c:104 msgid "bind/unbind keys" msgstr "napojit/odpojit klávesy" -#: src/common/command.c:103 +#: src/common/command.c:105 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:104 +#: src/common/command.c:106 +#, fuzzy msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" -"unbind: unbind a key (if \"all\", default bindings are restored)\n" +"unbind: unbind a key\n" "functions: list internal functions for key bindings\n" "reset: restore bindings to the default values and delete ALL personal " "binding (use carefully!)" @@ -2696,15 +2698,15 @@ msgstr "" "reset: obnoví klávesy na výchozí hodnoty a smaže uživatlské zkratky " "(používejte opatrně)" -#: src/common/command.c:109 +#: src/common/command.c:111 msgid "list/load/unload plugins" msgstr "seznam/načíst/odebrat pluginy" -#: src/common/command.c:110 +#: src/common/command.c:112 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[load jméno_souboru] | [autoload] | [reload] | [unload]" -#: src/common/command.c:111 +#: src/common/command.c:113 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2714,11 +2716,11 @@ msgstr "" "\n" "Příkaz /plugin bez argumentů vypíše seznam všech načtených pluginů." -#: src/common/command.c:114 +#: src/common/command.c:116 msgid "list, add or remove servers" msgstr "vypíše, přídá nebo odebere servery" -#: src/common/command.c:115 +#: src/common/command.c:117 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2730,7 +2732,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:120 +#: src/common/command.c:122 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2756,27 +2758,27 @@ msgstr "" "uživatelské_jméno: uživatelské jméno\n" "pravé_jméno: pravé jméno uživatele" -#: src/common/command.c:132 +#: src/common/command.c:134 msgid "save config to disk" msgstr "uloží nastavení na disk" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "[file]" msgstr "[soubor]" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "file: filename for writing config" msgstr "soubor: jméno souboru pro zapsání" -#: src/common/command.c:135 +#: src/common/command.c:137 msgid "set config parameters" msgstr "nastaví konfigurační parametry" -#: src/common/command.c:136 +#: src/common/command.c:138 msgid "[option [ = value]]" msgstr "[volba [ = hodnota]]" -#: src/common/command.c:137 +#: src/common/command.c:139 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2786,27 +2788,28 @@ msgstr "" "zobrazena nápověda pro volby)\n" "hodnota: hodnota volby" -#: src/common/command.c:141 +#: src/common/command.c:143 msgid "remove an alias" msgstr "odebere alias" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name" msgstr "jméno_aliasu" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name: name of alias to remove" msgstr "jméno_aliasu: jméno aliasu pro odebrání" -#: src/common/command.c:144 +#: src/common/command.c:146 msgid "unignore IRC messages and/or hosts" msgstr "zruší ignorování IRC zprávy a/nebo hosta" -#: src/common/command.c:145 +#: src/common/command.c:147 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[číslo | [maska [[typ | příkaz] [kanál [server]]]]]" -#: src/common/command.c:146 +#: src/common/command.c:148 +#, fuzzy msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2829,27 +2832,27 @@ msgstr "" "Pro každý argument znamená '*' všechno.\n" "Bez argunetů, vypíše příkaz /unignore seznam definovaných ignorací." -#: src/common/command.c:155 +#: src/common/command.c:158 msgid "upgrade WeeChat without disconnecting from servers" msgstr "" -#: src/common/command.c:159 +#: src/common/command.c:160 msgid "show WeeChat uptime" msgstr "" -#: src/common/command.c:160 +#: src/common/command.c:161 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:161 +#: src/common/command.c:162 msgid "-o: send uptime on current channel as an IRC message" msgstr "" -#: src/common/command.c:163 +#: src/common/command.c:164 msgid "manage windows" msgstr "spravuje okna" -#: src/common/command.c:164 +#: src/common/command.c:165 #, fuzzy msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " @@ -2858,7 +2861,7 @@ msgstr "" "[list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge " "[all]]" -#: src/common/command.c:166 +#: src/common/command.c:167 #, fuzzy, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2886,28 +2889,28 @@ msgstr "" "splitv: rozdělí aktuální okno vertikálně\n" "merge: spojí okno s jiným" -#: src/common/command.c:323 +#: src/common/command.c:325 #, c-format msgid "%s alias or command \"%s\" already exists!\n" msgstr "%s alias nebo příkaz \"%s\" již existuje!\n" -#: src/common/command.c:333 +#: src/common/command.c:335 #, c-format msgid "%s alias cannot run another alias!\n" msgstr "%s alias nemůže pouštět jiný ailas!\n" -#: src/common/command.c:340 +#: src/common/command.c:342 #, c-format msgid "%s target command \"/%s\" does not exist!\n" msgstr "%s cílový příkaz \"/%s\" neexistuje!\n" -#: src/common/command.c:578 +#: src/common/command.c:580 #, 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:590 +#: src/common/command.c:592 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -2916,18 +2919,18 @@ 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:612 src/common/command.c:681 +#: src/common/command.c:614 src/common/command.c:683 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s příkaz \"%s\" selhal\n" -#: src/common/command.c:637 +#: src/common/command.c:639 #, 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:649 +#: src/common/command.c:651 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -2936,310 +2939,310 @@ 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:664 +#: src/common/command.c:666 #, 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:725 +#: src/common/command.c:727 #, 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:859 +#: src/common/command.c:861 msgid "This window is not a channel!\n" msgstr "Tohe není okno kanálu!\n" -#: src/common/command.c:890 src/common/command.c:921 src/common/command.c:1036 +#: src/common/command.c:892 src/common/command.c:923 src/common/command.c:1038 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s chybí argumenty pro příkaz \"%s\"\n" -#: src/common/command.c:897 +#: src/common/command.c:899 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "%s alias nemůže žačínat \"/\"!\n" -#: src/common/command.c:906 +#: src/common/command.c:908 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" vytvořen\n" -#: src/common/command.c:912 +#: src/common/command.c:914 #, 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:932 +#: src/common/command.c:934 msgid "List of aliases:\n" msgstr "Seznam pro aliasy:\n" -#: src/common/command.c:946 +#: src/common/command.c:948 msgid "No alias defined.\n" msgstr "Žádné aliasy nejsou definovány.\n" -#: src/common/command.c:965 +#: src/common/command.c:967 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServer: %s%s\n" -#: src/common/command.c:970 +#: src/common/command.c:972 #, c-format msgid "%snot connected\n" msgstr "" -#: src/common/command.c:974 +#: src/common/command.c:976 #, 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:983 +#: src/common/command.c:985 #, 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:992 +#: src/common/command.c:994 #, c-format msgid "%sunknown\n" msgstr "" -#: src/common/command.c:1015 +#: src/common/command.c:1017 msgid "Opened buffers:\n" msgstr "Otevřené buffery:\n" -#: src/common/command.c:1059 +#: src/common/command.c:1061 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s nekorektní číslo bufferu\n" -#: src/common/command.c:1075 +#: src/common/command.c:1077 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s nemohu zavřít jediný buffer\n" -#: src/common/command.c:1085 +#: src/common/command.c:1087 #, 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:1134 +#: src/common/command.c:1136 msgid "Notify levels: " msgstr "Level upozornění: " -#: src/common/command.c:1163 src/common/command.c:1211 +#: src/common/command.c:1165 src/common/command.c:1213 #, 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:1172 +#: src/common/command.c:1174 #, 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:1181 +#: src/common/command.c:1183 #, 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:1191 +#: src/common/command.c:1193 msgid "(hotlist: never)\n" msgstr "(hotlist: nikdy)\n" -#: src/common/command.c:1194 +#: src/common/command.c:1196 msgid "(hotlist: highlights)\n" msgstr "(hotlist: zvýraznění)\n" -#: src/common/command.c:1197 +#: src/common/command.c:1199 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: zvýraznění + zprávy)\n" -#: src/common/command.c:1200 +#: src/common/command.c:1202 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:1299 +#: src/common/command.c:1301 #, c-format msgid "Charsets for server %s%s%s: " msgstr "" -#: src/common/command.c:1307 +#: src/common/command.c:1309 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "" -#: src/common/command.c:1315 +#: src/common/command.c:1317 #, c-format msgid "Charsets for private %s%s%s: " msgstr "" -#: src/common/command.c:1343 src/common/command.c:1373 -#: src/common/command.c:1403 +#: src/common/command.c:1345 src/common/command.c:1375 +#: src/common/command.c:1405 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr "" -#: src/common/command.c:1467 src/common/command.c:1490 -#: src/common/command.c:1624 src/common/command.c:2235 -#: src/common/command.c:3312 src/common/command.c:3355 +#: src/common/command.c:1469 src/common/command.c:1492 +#: src/common/command.c:1626 src/common/command.c:2237 +#: src/common/command.c:3301 src/common/command.c:3344 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "%s neznámá volba pro příkaz \"%s\"\n" -#: src/common/command.c:1520 +#: src/common/command.c:1522 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s již vytvořený server \"%s\"!\n" -#: src/common/command.c:1528 +#: src/common/command.c:1530 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "%s zrovna připojuji k serveru \"%s\"!\n" -#: src/common/command.c:1546 src/common/command.c:1669 +#: src/common/command.c:1548 src/common/command.c:1671 #, c-format msgid "%s server not found\n" msgstr "%s server nenalezen\n" -#: src/common/command.c:1653 +#: src/common/command.c:1655 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s nepřipojen k serveru \"%s\"!\n" -#: src/common/command.c:1661 +#: src/common/command.c:1663 msgid "Auto-reconnection is cancelled\n" msgstr "Automatické znovupřipojené je zrušeno\n" -#: src/common/command.c:1695 src/common/weechat.c:400 +#: src/common/command.c:1697 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "%s vnitřní příkazy:\n" -#: src/common/command.c:1705 src/common/weechat.c:420 +#: src/common/command.c:1707 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "IRC příkazy:\n" -#: src/common/command.c:1719 +#: src/common/command.c:1721 msgid "Plugin commands:\n" msgstr "Příkazy pluginu:\n" -#: src/common/command.c:1835 +#: src/common/command.c:1837 #, 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:1901 +#: src/common/command.c:1903 #, 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:1935 +#: src/common/command.c:1937 msgid "List of ignore:\n" msgstr "Seznam ignorování:\n" -#: src/common/command.c:1952 +#: src/common/command.c:1954 msgid "No ignore defined.\n" msgstr "Žádné ignorování není definováno.\n" -#: src/common/command.c:1978 +#: src/common/command.c:1980 msgid "New ignore:" msgstr "Nové ignorování:" -#: src/common/command.c:1998 +#: src/common/command.c:2000 #, c-format msgid "New key binding: %s" msgstr "Nová klávesová zkratka: %s" -#: src/common/command.c:2035 +#: src/common/command.c:2037 msgid "Key bindings:\n" msgstr "Klávesové zkratky:\n" -#: src/common/command.c:2049 +#: src/common/command.c:2051 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Klávesa \"%s\" odpojena\n" -#: src/common/command.c:2055 +#: src/common/command.c:2057 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "%s nemohu odpojit klávesu \"%s\"\n" -#: src/common/command.c:2063 src/common/weechat.c:452 +#: src/common/command.c:2065 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "Vnitřní klávesové funkce:\n" -#: src/common/command.c:2083 +#: src/common/command.c:2085 msgid "Default key bindings restored\n" msgstr "Výchozí klávesové zkratky obnoveny\n" -#: src/common/command.c:2089 +#: src/common/command.c:2091 #, 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:2148 +#: src/common/command.c:2150 msgid "Plugins loaded:\n" msgstr "Načtené pluginy:\n" -#: src/common/command.c:2164 +#: src/common/command.c:2166 msgid " message handlers:\n" msgstr " obsluhovače zpráv:\n" -#: src/common/command.c:2173 +#: src/common/command.c:2175 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:2180 +#: src/common/command.c:2182 msgid " (no message handler)\n" msgstr " (není obsluhovač zprávy)\n" -#: src/common/command.c:2185 +#: src/common/command.c:2187 msgid " command handlers:\n" msgstr " obsluhovače příkazu:\n" -#: src/common/command.c:2206 +#: src/common/command.c:2208 msgid " (no command handler)\n" msgstr " (není obsluhovač příkazu)\n" -#: src/common/command.c:2212 +#: src/common/command.c:2214 msgid " (no plugin)\n" msgstr " (není plugin)\n" -#: src/common/command.c:2248 +#: src/common/command.c:2250 msgid "" "Command \"plugin\" 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:2299 +#: src/common/command.c:2301 msgid "No server.\n" msgstr "žádný server.\n" -#: src/common/command.c:2310 +#: src/common/command.c:2312 #, c-format msgid "Server '%s' not found.\n" msgstr "Server '%s' nenalezen.\n" -#: src/common/command.c:2322 +#: src/common/command.c:2324 #, 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:2330 +#: src/common/command.c:2332 #, 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:2349 +#: src/common/command.c:2351 #, 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:2357 +#: src/common/command.c:2359 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3248,212 +3251,212 @@ msgstr "" "%s nemůžete odebrat server \"%s\", protože jste k němu připojent. Skuste " "nejprve /dissconnect %s.\n" -#: src/common/command.c:2377 +#: src/common/command.c:2379 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "Server %s%s%s byl odebrán\n" -#: src/common/command.c:2396 +#: src/common/command.c:2398 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s chybí parametry pro příkaz \"%s\"\n" -#: src/common/command.c:2406 +#: src/common/command.c:2408 #, 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:2435 src/common/command.c:2463 -#: src/common/command.c:2476 src/common/command.c:2502 +#: src/common/command.c:2437 src/common/command.c:2465 +#: src/common/command.c:2478 src/common/command.c:2504 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s chybí heslo pro parametr \"%s\"\n" -#: src/common/command.c:2448 +#: src/common/command.c:2450 #, 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:2489 +#: src/common/command.c:2491 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s chybí příkaz pro parametr \"%s\"\n" -#: src/common/command.c:2525 +#: src/common/command.c:2527 #, c-format msgid "Server %s%s%s created\n" msgstr "Server %s%s%s vytvořen\n" -#: src/common/command.c:2534 +#: src/common/command.c:2536 #, c-format msgid "%s unable to create server\n" msgstr "%s nemohu vytvořit server\n" -#: src/common/command.c:2593 +#: src/common/command.c:2595 msgid "(unknown)" msgstr "(neznámý)" -#: src/common/command.c:2616 +#: src/common/command.c:2618 #, c-format msgid "%s(password hidden) " msgstr "%s(heslo schováno) " -#: src/common/command.c:2712 +#: src/common/command.c:2714 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s server \"%s\" nenalezen\n" -#: src/common/command.c:2745 src/common/command.c:2793 +#: src/common/command.c:2747 src/common/command.c:2795 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s volba nastavení \"%s\" nenalezena\n" -#: src/common/command.c:2750 src/common/command.c:2785 +#: src/common/command.c:2752 src/common/command.c:2787 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s nekorektní hodnota pro volbu \"%s\"\n" -#: src/common/command.c:2766 +#: src/common/command.c:2768 #, 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:2876 +#: src/common/command.c:2878 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Nebyla nalezena žádná volba nastavení s \"%s\"\n" -#: src/common/command.c:2879 +#: src/common/command.c:2881 msgid "No config option found\n" msgstr "Nebyla nalezena žádná volba nastavení\n" -#: src/common/command.c:2886 +#: src/common/command.c:2888 #, c-format msgid "%sDetail:\n" msgstr "%sDetail:\n" -#: src/common/command.c:2891 src/common/weechat.c:336 +#: src/common/command.c:2893 src/common/weechat.c:336 #, c-format msgid " . type boolean (values: 'on' or 'off')\n" msgstr " . typ boolean (hodnota: 'on' nebo 'off')\n" -#: src/common/command.c:2892 src/common/command.c:2915 -#: src/common/command.c:2921 src/common/command.c:2927 +#: src/common/command.c:2894 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/command.c:2929 #: src/common/weechat.c:337 src/common/weechat.c:360 src/common/weechat.c:366 #: src/common/weechat.c:372 #, c-format msgid " . default value: '%s'\n" msgstr " . výchozí hodnota: '%s'\n" -#: src/common/command.c:2897 src/common/weechat.c:342 +#: src/common/command.c:2899 src/common/weechat.c:342 #, 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:2900 src/common/weechat.c:345 +#: src/common/command.c:2902 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr " . výchozí hodnota: %d\n" -#: src/common/command.c:2904 src/common/weechat.c:349 +#: src/common/command.c:2906 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr " . typ řetězec (hodnoty: " -#: src/common/command.c:2917 src/common/command.c:2923 -#: src/common/command.c:2929 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2919 src/common/command.c:2925 +#: src/common/command.c:2931 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "prázdný" -#: src/common/command.c:2920 src/common/weechat.c:365 +#: src/common/command.c:2922 src/common/weechat.c:365 #, c-format 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:2926 src/common/weechat.c:371 +#: src/common/command.c:2928 src/common/weechat.c:371 #, c-format msgid " . type string (any string)\n" msgstr " . typ řetězec (jakýkoliv řetězec)\n" -#: src/common/command.c:2932 src/common/weechat.c:377 +#: src/common/command.c:2934 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr " . popis: %s\n" -#: src/common/command.c:2943 +#: src/common/command.c:2945 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "volba/volby nastavení nalezeny s \"%s\"\n" -#: src/common/command.c:2946 +#: src/common/command.c:2948 msgid "config option(s) found\n" msgstr "volba/volby nastavení nalezeny\n" -#: src/common/command.c:2970 +#: src/common/command.c:2972 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias nebo příkaz \"%s\" nenalezen\n" -#: src/common/command.c:2980 +#: src/common/command.c:2982 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" odebrán\n" -#: src/common/command.c:3036 +#: src/common/command.c:3038 msgid "ignore were removed.\n" msgstr "ignorování bylo odebráno.\n" -#: src/common/command.c:3038 +#: src/common/command.c:3040 msgid "ignore was removed.\n" msgstr "ignorování bylo odebrán\n" -#: src/common/command.c:3043 +#: src/common/command.c:3045 #, c-format msgid "%s no ignore found\n" msgstr "%s žádné ignorování nenaleyeno\n" -#: src/common/command.c:3075 +#: src/common/command.c:3077 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "" -#: src/common/command.c:3085 +#: src/common/command.c:3087 #, 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:3101 +#: src/common/command.c:3103 msgid "Upgrading WeeChat...\n" msgstr "" -#: src/common/command.c:3108 +#: src/common/command.c:3110 #, c-format msgid "%s unable to save session in file\n" msgstr "" -#: src/common/command.c:3146 +#: src/common/command.c:3135 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:3182 +#: src/common/command.c:3171 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "" -#: src/common/command.c:3196 +#: src/common/command.c:3185 #, 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:3236 +#: src/common/command.c:3225 msgid "Opened windows:\n" msgstr "Otevřené okna:\n" -#: src/common/command.c:3323 +#: src/common/command.c:3312 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3519,13 +3522,13 @@ msgstr "**** Beginning of log " msgid "**** End of log " msgstr "**** End of log " -#: src/common/session.c:451 +#: src/common/session.c:453 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" msgstr "" -#: src/common/session.c:456 +#: src/common/session.c:458 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3533,284 +3536,284 @@ msgid "" "Be careful, private info may be in these files.\n" msgstr "" -#: src/common/session.c:480 src/common/session.c:514 src/common/session.c:571 -#: src/common/session.c:612 +#: src/common/session.c:482 src/common/session.c:516 src/common/session.c:573 +#: src/common/session.c:614 #, c-format msgid "wrong type in file (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:583 src/common/session.c:624 +#: src/common/session.c:585 src/common/session.c:626 msgid "invalid length for a buffer" msgstr "" -#: src/common/session.c:648 +#: src/common/session.c:650 msgid "object read error" msgstr "" -#: src/common/session.c:653 +#: src/common/session.c:655 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:663 +#: src/common/session.c:665 msgid "type read error" msgstr "" -#: src/common/session.c:668 +#: src/common/session.c:670 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:753 +#: src/common/session.c:755 msgid "server name not found" msgstr "" -#: src/common/session.c:758 +#: src/common/session.c:760 #, c-format msgid "session: loading server \"%s\"\n" msgstr "" -#: src/common/session.c:762 +#: src/common/session.c:764 msgid "server found, updating values\n" msgstr "" -#: src/common/session.c:765 +#: src/common/session.c:767 msgid "server not found, creating new one\n" msgstr "" -#: src/common/session.c:770 +#: src/common/session.c:772 msgid "can't create new server" msgstr "" -#: src/common/session.c:784 +#: src/common/session.c:786 msgid "unexpected end of file (reading server)" msgstr "" -#: src/common/session.c:872 +#: src/common/session.c:874 msgid "gnutls init error" msgstr "" -#: src/common/session.c:889 +#: src/common/session.c:891 msgid "gnutls handshake failed" msgstr "" -#: src/common/session.c:932 +#: src/common/session.c:934 #, c-format msgid "session: warning: ignoring value from server (object id: %d)\n" msgstr "" -#: src/common/session.c:954 +#: src/common/session.c:956 msgid "channel found without server" msgstr "" -#: src/common/session.c:961 +#: src/common/session.c:963 msgid "channel type not found" msgstr "" -#: src/common/session.c:969 +#: src/common/session.c:971 msgid "channel name not found" msgstr "" -#: src/common/session.c:974 +#: src/common/session.c:976 #, c-format msgid "session: loading channel \"%s\"\n" msgstr "" -#: src/common/session.c:982 +#: src/common/session.c:984 msgid "can't create new channel" msgstr "" -#: src/common/session.c:992 +#: src/common/session.c:994 msgid "unexpected end of file (reading channel)" msgstr "" -#: src/common/session.c:1022 +#: src/common/session.c:1024 #, c-format msgid "session: warning: ignoring value from channel (object id: %d)\n" msgstr "" -#: src/common/session.c:1045 +#: src/common/session.c:1047 msgid "nick found without channel" msgstr "" -#: src/common/session.c:1053 +#: src/common/session.c:1055 msgid "nick name not found" msgstr "" -#: src/common/session.c:1063 +#: src/common/session.c:1065 msgid "can't create new nick" msgstr "" -#: src/common/session.c:1073 +#: src/common/session.c:1075 msgid "unexpected end of file (reading nick)" msgstr "" -#: src/common/session.c:1089 +#: src/common/session.c:1091 #, c-format msgid "session: warning: ignoring value from nick (object id: %d)\n" msgstr "" -#: src/common/session.c:1115 +#: src/common/session.c:1117 msgid "can't create new DCC" msgstr "" -#: src/common/session.c:1119 +#: src/common/session.c:1121 msgid "session: loading DCC\n" msgstr "" -#: src/common/session.c:1129 +#: src/common/session.c:1131 msgid "unexpected end of file (reading DCC)" msgstr "" -#: src/common/session.c:1148 +#: src/common/session.c:1150 msgid "server not found for DCC" msgstr "" -#: src/common/session.c:1157 +#: src/common/session.c:1159 msgid "DCC with channel but without server" msgstr "" -#: src/common/session.c:1169 +#: src/common/session.c:1171 msgid "channel not found for DCC" msgstr "" -#: src/common/session.c:1243 +#: src/common/session.c:1245 #, c-format msgid "session: warning: ignoring value from DCC (object id: %d)\n" msgstr "" -#: src/common/session.c:1263 +#: src/common/session.c:1265 msgid "session: loading buffer history\n" msgstr "" -#: src/common/session.c:1265 +#: src/common/session.c:1267 msgid "session: loading global history\n" msgstr "" -#: src/common/session.c:1273 +#: src/common/session.c:1275 msgid "unexpected end of file (reading history)" msgstr "" -#: src/common/session.c:1293 +#: src/common/session.c:1295 #, c-format msgid "session: warning: ignoring value from history (object id: %d)\n" msgstr "" -#: src/common/session.c:1319 +#: src/common/session.c:1321 msgid "server name not found for buffer" msgstr "" -#: src/common/session.c:1327 +#: src/common/session.c:1329 msgid "channel name not found for buffer" msgstr "" -#: src/common/session.c:1334 +#: src/common/session.c:1336 msgid "dcc flag not found for buffer" msgstr "" -#: src/common/session.c:1339 +#: src/common/session.c:1341 #, c-format msgid "session: loading buffer (server: %s, channel: %s, dcc: %d)\n" msgstr "" -#: src/common/session.c:1350 +#: src/common/session.c:1352 msgid "server not found for buffer" msgstr "" -#: src/common/session.c:1360 +#: src/common/session.c:1362 msgid "channel not found for buffer" msgstr "" -#: src/common/session.c:1368 +#: src/common/session.c:1370 msgid "can't create new buffer" msgstr "" -#: src/common/session.c:1381 +#: src/common/session.c:1383 msgid "unexpected end of file (reading buffer)" msgstr "" -#: src/common/session.c:1391 +#: src/common/session.c:1393 #, c-format msgid "session: warning: ignoring value from buffer (object id: %d)\n" msgstr "" -#: src/common/session.c:1413 +#: src/common/session.c:1415 msgid "line found without buffer" msgstr "" -#: src/common/session.c:1421 +#: src/common/session.c:1423 msgid "can't create new line" msgstr "" -#: src/common/session.c:1431 +#: src/common/session.c:1433 msgid "unexpected end of file (reading line)" msgstr "" -#: src/common/session.c:1462 +#: src/common/session.c:1464 #, c-format msgid "session: warning: ignoring value from line (object id: %d)\n" msgstr "" -#: src/common/session.c:1492 +#: src/common/session.c:1494 msgid "session file not found" msgstr "" -#: src/common/session.c:1499 +#: src/common/session.c:1501 msgid "signature not found" msgstr "" -#: src/common/session.c:1504 +#: src/common/session.c:1506 msgid "bad session signature" msgstr "" -#: src/common/session.c:1515 +#: src/common/session.c:1517 msgid "object id not found" msgstr "" -#: src/common/session.c:1523 +#: src/common/session.c:1525 msgid "failed to load server" msgstr "" -#: src/common/session.c:1530 +#: src/common/session.c:1532 msgid "failed to load channel" msgstr "" -#: src/common/session.c:1537 +#: src/common/session.c:1539 msgid "failed to load nick" msgstr "" -#: src/common/session.c:1544 +#: src/common/session.c:1546 msgid "failed to load DCC" msgstr "" -#: src/common/session.c:1551 +#: src/common/session.c:1553 msgid "failed to load history" msgstr "" -#: src/common/session.c:1558 +#: src/common/session.c:1560 msgid "failed to load buffer" msgstr "" -#: src/common/session.c:1565 +#: src/common/session.c:1567 msgid "failed to load line" msgstr "" -#: src/common/session.c:1570 +#: src/common/session.c:1572 #, c-format msgid "ignoring object (id: %d)\n" msgstr "" -#: src/common/session.c:1574 +#: src/common/session.c:1576 #, c-format msgid "failed to ignore object (id: %d)" msgstr "" -#: src/common/session.c:1598 +#: src/common/session.c:1600 #, c-format msgid "%s can't delete session file (%s)\n" msgstr "" -#: src/common/session.c:1604 +#: src/common/session.c:1606 msgid "Upgrade completed successfully\n" msgstr "" diff --git a/weechat/po/es.po b/weechat/po/es.po index d25f7dacb..f478ada48 100644 --- a/weechat/po/es.po +++ b/weechat/po/es.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.7-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-12-12 12:05+0100\n" -"PO-Revision-Date: 2005-12-12 12:06+0100\n" +"POT-Creation-Date: 2005-12-16 14:01+0100\n" +"PO-Revision-Date: 2005-12-16 14:04+0100\n" "Last-Translator: Roberto Gonzlez Cardenete <robert.glez@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "MIME-Version: 1.0\n" @@ -178,12 +178,12 @@ msgstr "encontrar informacin sobre el administrador del servidor" #: src/irc/irc-commands.c:35 src/irc/irc-commands.c:85 #: src/irc/irc-commands.c:162 src/irc/irc-commands.c:253 -#: src/irc/irc-commands.c:261 src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:262 src/irc/irc-commands.c:275 msgid "[target]" msgstr "[target]" -#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:261 -#: src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:276 msgid "target: server" msgstr "target: servidor objetivo" @@ -204,7 +204,7 @@ msgstr "mensaje: mensaje a enviar" msgid "send message to all channels of all connected servers" msgstr "enviar mensaje a todos los canales de todos los servidores conectados" -#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:288 msgid "text" msgstr "texto" @@ -290,7 +290,7 @@ msgstr "elimina el estado de media operador de canal a/a los usuario(s)" #: src/irc/irc-commands.c:69 src/irc/irc-commands.c:72 #: src/irc/irc-commands.c:75 src/irc/irc-commands.c:82 -#: src/irc/irc-commands.c:280 +#: src/irc/irc-commands.c:284 msgid "[nickname [nickname]]" msgstr "[usuario [usuario]]" @@ -306,7 +306,7 @@ msgstr "elimina la voz a/a los usuario(s)" msgid "shutdown the server" msgstr "cerrar el servidor" -#: src/irc/irc-commands.c:80 +#: src/irc/irc-commands.c:79 msgid "error received from IRC server" msgstr "error recibido del servidor IRC" @@ -342,11 +342,11 @@ msgstr "" msgid "check if a nickname is currently on IRC" msgstr "comprobar si un usuario est actualmente en el IRC" -#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:271 msgid "nickname [nickname ...]" msgstr "usuario [usuario ...]" -#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:272 msgid "nickname: nickname" msgstr "usuario: usuario" @@ -553,19 +553,19 @@ msgstr "listar usuarios en canales" msgid "[channel[,channel]]" msgstr "[canal[,canal]]" -#: src/irc/irc-commands.c:171 +#: src/irc/irc-commands.c:172 msgid "channel: channel name" msgstr "canal: nombre del canal" -#: src/irc/irc-commands.c:173 +#: src/irc/irc-commands.c:174 msgid "change current nickname" msgstr "cambiar el nombre de usuario actual" -#: src/irc/irc-commands.c:174 +#: src/irc/irc-commands.c:175 msgid "[-all] nickname" msgstr "[-all] usuarios" -#: src/irc/irc-commands.c:175 +#: src/irc/irc-commands.c:176 msgid "" "-all: set new nickname for all connected servers\n" "nickname: new nickname" @@ -574,15 +574,15 @@ msgstr "" "conectados\n" "nickname: nuevo nombre de usuario" -#: src/irc/irc-commands.c:178 +#: src/irc/irc-commands.c:179 msgid "send notice message to user" msgstr "enviar mensaje de aviso a usuario" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:180 msgid "nickname text" msgstr "usuario texto" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:181 msgid "" "nickname: user to send notice to\n" "text: text to send" @@ -590,37 +590,37 @@ msgstr "" "usuario: usuario destinatario del aviso\n" "texto: texto a enviar" -#: src/irc/irc-commands.c:181 +#: src/irc/irc-commands.c:183 msgid "gives channel operator status to nickname(s)" msgstr "dar el estado de operador de canal a/a los usuario(s)" -#: src/irc/irc-commands.c:182 +#: src/irc/irc-commands.c:184 msgid "nickname [nickname]" msgstr "usuario [usuario]" -#: src/irc/irc-commands.c:184 +#: src/irc/irc-commands.c:186 msgid "get operator privileges" msgstr "obtener el estado de operador" -#: src/irc/irc-commands.c:185 +#: src/irc/irc-commands.c:187 msgid "user password" msgstr "contrasea de usuario" -#: src/irc/irc-commands.c:186 +#: src/irc/irc-commands.c:188 msgid "user/password: used to get privileges on current IRC server" msgstr "" "usuario/contrasea: usado para obtener los privilegios en el servidor IRC " "actual" -#: src/irc/irc-commands.c:188 +#: src/irc/irc-commands.c:190 msgid "leave a channel" msgstr "abandonar un canal" -#: src/irc/irc-commands.c:189 +#: src/irc/irc-commands.c:191 msgid "[channel[,channel]] [part_message]" msgstr "[canal[,canal]] [mensaje_de_salida]" -#: src/irc/irc-commands.c:190 +#: src/irc/irc-commands.c:192 msgid "" "channel: channel name to leave\n" "part_message: part message (displayed to other users)" @@ -628,15 +628,15 @@ msgstr "" "canal: canal a abandonar\n" "mensaje de salida: mensaje de partida (mostrado al resto de usuarios)" -#: src/irc/irc-commands.c:193 +#: src/irc/irc-commands.c:195 msgid "ping server" msgstr "hacer ping a un servidor" -#: src/irc/irc-commands.c:194 +#: src/irc/irc-commands.c:196 msgid "server1 [server2]" msgstr "servidor1 [servidor2]" -#: src/irc/irc-commands.c:195 +#: src/irc/irc-commands.c:197 msgid "" "server1: server to ping\n" "server2: forward ping to this server" @@ -644,15 +644,15 @@ msgstr "" "servidor1: servidor al que hacer ping\n" "servidor2: remitir el ping a este servidor" -#: src/irc/irc-commands.c:197 +#: src/irc/irc-commands.c:199 msgid "answer to a ping message" msgstr "contestar a un mensaje de ping" -#: src/irc/irc-commands.c:198 +#: src/irc/irc-commands.c:200 msgid "daemon [daemon2]" msgstr "demonio [demonio2]" -#: src/irc/irc-commands.c:199 +#: src/irc/irc-commands.c:201 msgid "" "daemon: daemon who has responded to Ping message\n" "daemon2: forward message to this daemon" @@ -660,19 +660,19 @@ msgstr "" "demonio: demonio que ha contestado al mensaje Ping\n" "demonio2: remitir el mensaje a este demonio" -#: src/irc/irc-commands.c:202 +#: src/irc/irc-commands.c:204 msgid "message received" msgstr "mensaje recibido" -#: src/irc/irc-commands.c:205 +#: src/irc/irc-commands.c:206 msgid "send a private message to a nick" msgstr "enviar un mensaje privado a un usuario" -#: src/irc/irc-commands.c:206 +#: src/irc/irc-commands.c:207 msgid "nickname [text]" msgstr "usuario [texto]" -#: src/irc/irc-commands.c:207 +#: src/irc/irc-commands.c:208 msgid "" "nickname: nickname for private conversation\n" "text: text to send" @@ -680,31 +680,31 @@ msgstr "" "usuario: usuario para la conversacin privada\n" "texto: texto a enviar" -#: src/irc/irc-commands.c:210 +#: src/irc/irc-commands.c:211 msgid "close all connections & quit" msgstr "cerrar todas las conexiones y salir" -#: src/irc/irc-commands.c:211 +#: src/irc/irc-commands.c:212 msgid "[quit_message]" msgstr "[mensaje_de_salida]" -#: src/irc/irc-commands.c:212 +#: src/irc/irc-commands.c:213 msgid "quit_message: quit message (displayed to other users)" msgstr "mensaje_de_salida: mensaje de partida (mostrado al resto de usuarios)" -#: src/irc/irc-commands.c:214 +#: src/irc/irc-commands.c:215 msgid "send raw data to server without parsing" msgstr "enviar datos en sucio al servidor sin analizar" -#: src/irc/irc-commands.c:215 +#: src/irc/irc-commands.c:216 msgid "data" msgstr "datos" -#: src/irc/irc-commands.c:216 +#: src/irc/irc-commands.c:217 msgid "data: raw data to send" msgstr "datos: datos en sucio a enviar" -#: src/irc/irc-commands.c:218 +#: src/irc/irc-commands.c:219 msgid "tell the server to reload its config file" msgstr "pedir al servidor que recargue su archivo de configuracin" @@ -712,15 +712,15 @@ msgstr "pedir al servidor que recargue su archivo de configuracin" msgid "tell the server to restart itself" msgstr "pedir al servidor que se reinicie" -#: src/irc/irc-commands.c:224 +#: src/irc/irc-commands.c:223 msgid "register a new service" msgstr "registrar un nuevo servicio" -#: src/irc/irc-commands.c:225 +#: src/irc/irc-commands.c:224 msgid "nickname reserved distribution type reserved info" msgstr "usuario reservado distribucin tipo reservado info" -#: src/irc/irc-commands.c:226 +#: src/irc/irc-commands.c:225 msgid "" "distribution: visibility of service\n" "type: reserved for future usage" @@ -728,15 +728,15 @@ msgstr "" "distribucin: visibilidad del servicio\n" "tipo: reservado para una futura utilizacin" -#: src/irc/irc-commands.c:229 +#: src/irc/irc-commands.c:228 msgid "list services currently connected to the network" msgstr "listar servicios conectados actualmente a la red" -#: src/irc/irc-commands.c:230 +#: src/irc/irc-commands.c:229 msgid "[mask [type]]" msgstr "[mscara [tipo]]" -#: src/irc/irc-commands.c:231 +#: src/irc/irc-commands.c:230 msgid "" "mask: list only services matching this mask\n" "type: list only services of this type" @@ -744,15 +744,15 @@ msgstr "" "mscara: listar slo aquellos servicios que concuerdan con esta mscara\n" "tipo: listar slo servicios de este tipo" -#: src/irc/irc-commands.c:234 +#: src/irc/irc-commands.c:233 msgid "deliver a message to a service" msgstr "enviar un mensaje a un servicio" -#: src/irc/irc-commands.c:235 +#: src/irc/irc-commands.c:234 msgid "service text" msgstr "servicio texto" -#: src/irc/irc-commands.c:236 +#: src/irc/irc-commands.c:235 msgid "" "service: name of service\n" "text: text to send" @@ -760,15 +760,15 @@ msgstr "" "servicio: nombre del servicio\n" "texto: texto a enviar" -#: src/irc/irc-commands.c:238 +#: src/irc/irc-commands.c:237 msgid "disconnect server links" msgstr "desconectar los enlaces de servidor" -#: src/irc/irc-commands.c:239 +#: src/irc/irc-commands.c:238 msgid "server comment" msgstr "comentario de servidor" -#: src/irc/irc-commands.c:240 +#: src/irc/irc-commands.c:239 msgid "" "server: server name\n" "comment: comment for quit" @@ -776,15 +776,15 @@ msgstr "" "servidor: nombre del servidor\n" "comentario: comentario para salir" -#: src/irc/irc-commands.c:242 +#: src/irc/irc-commands.c:241 msgid "query statistics about server" msgstr "pedir estadsticas acerca del servidor" -#: src/irc/irc-commands.c:243 +#: src/irc/irc-commands.c:242 msgid "[query [server]]" msgstr "[consulta [servidor]]" -#: src/irc/irc-commands.c:244 +#: src/irc/irc-commands.c:243 msgid "" "query: c/h/i/k/l/m/o/y/u (see RFC1459)\n" "server: server name" @@ -818,19 +818,19 @@ msgstr "" msgid "query local time from server" msgstr "pedir la hora local del servidor" -#: src/irc/irc-commands.c:253 +#: src/irc/irc-commands.c:254 msgid "target: query time from specified server" msgstr "destinatario: pedir la hora de ese servidor" -#: src/irc/irc-commands.c:255 +#: src/irc/irc-commands.c:256 msgid "get/set channel topic" msgstr "obtener/establecer el tema de un canal" -#: src/irc/irc-commands.c:256 +#: src/irc/irc-commands.c:257 msgid "[channel] [topic]" msgstr "[canal] [tema]" -#: src/irc/irc-commands.c:257 +#: src/irc/irc-commands.c:258 msgid "" "channel: channel name\n" "topic: new topic for channel (if topic is \"-delete\" then topic is deleted)" @@ -839,19 +839,19 @@ msgstr "" "tema: nuevo tema para el canal (si el tema es \"-delete\" entonces se " "elimina el tema actual)" -#: src/irc/irc-commands.c:260 +#: src/irc/irc-commands.c:261 msgid "find the route to specific server" msgstr "encontrar la ruta hacia el servidor especificado" -#: src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:265 msgid "unbans nicks or hosts" msgstr "desbanea a usuarios o mquinas" -#: src/irc/irc-commands.c:264 +#: src/irc/irc-commands.c:266 msgid "[channel] nickname [nickname ...]" msgstr "[canal] usuario [usuario ...]" -#: src/irc/irc-commands.c:265 +#: src/irc/irc-commands.c:267 msgid "" "channel: channel for unban\n" "nickname: user or host to unban" @@ -859,24 +859,24 @@ msgstr "" "canal: canal en el que desbanear (quitar la prohibicin)\n" "usuario: usuario o mquina a desbanear" -#: src/irc/irc-commands.c:268 +#: src/irc/irc-commands.c:270 msgid "return a list of information about nicknames" msgstr "devuelve una lista de informacin sobre usuarios" -#: src/irc/irc-commands.c:271 +#: src/irc/irc-commands.c:274 msgid "list of users logged into the server" msgstr "lista de usuarios conectados al servidor" -#: src/irc/irc-commands.c:274 +#: src/irc/irc-commands.c:278 msgid "gives the version info of nick or server (current or specified)" msgstr "" "da la informacin de versin del usuario o servidor (actual o especificado)" -#: src/irc/irc-commands.c:275 +#: src/irc/irc-commands.c:279 msgid "[server | nickname]" msgstr "[servidor | usuario]" -#: src/irc/irc-commands.c:276 +#: src/irc/irc-commands.c:280 msgid "" "server: server name\n" "nickname: nickname" @@ -884,11 +884,11 @@ msgstr "" "servidor: nombre de servidor\n" "usuario: usuario" -#: src/irc/irc-commands.c:279 +#: src/irc/irc-commands.c:283 msgid "gives voice to nickname(s)" msgstr "da voz a/a los usuario(s)" -#: src/irc/irc-commands.c:282 +#: src/irc/irc-commands.c:286 msgid "" "send a message to all currently connected users who have set the 'w' user " "mode for themselves" @@ -896,19 +896,19 @@ msgstr "" "enviar un mensaje a todos los usuarios conectados que tengan activo el modo " "de usuario 'w' para ellos mismos" -#: src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:289 msgid "text to send" msgstr "texto a enviar" -#: src/irc/irc-commands.c:286 +#: src/irc/irc-commands.c:291 msgid "generate a query which returns a list of information" msgstr "genera una consulta que devuelve una lista de informacin" -#: src/irc/irc-commands.c:287 +#: src/irc/irc-commands.c:292 msgid "[mask [\"o\"]]" msgstr "[mscara [\"o\"]]" -#: src/irc/irc-commands.c:288 +#: src/irc/irc-commands.c:293 msgid "" "mask: only information which match this mask\n" "o: only operators are returned according to the mask supplied" @@ -916,15 +916,15 @@ msgstr "" "mscara: slo informacin que concuerde con esta mscara\n" "o: slo son devueltos operadores de acuerdo con la mscara proporcionada" -#: src/irc/irc-commands.c:291 +#: src/irc/irc-commands.c:296 msgid "query information about user(s)" msgstr "pedir informacin sobre el/los usuario(s)" -#: src/irc/irc-commands.c:292 +#: src/irc/irc-commands.c:297 msgid "[server] nickname[,nickname]" msgstr "[servidor] usuario[,usuario]" -#: src/irc/irc-commands.c:293 +#: src/irc/irc-commands.c:298 msgid "" "server: server name\n" "nickname: nickname (may be a mask)" @@ -932,15 +932,15 @@ msgstr "" "servidor: nombre del servidor\n" "usuario: nombre de usuario (puede que sea una mscara)" -#: src/irc/irc-commands.c:296 +#: src/irc/irc-commands.c:301 msgid "ask for information about a nickname which no longer exists" msgstr "pedir informacin sobre un usuario que ya no existe" -#: src/irc/irc-commands.c:297 +#: src/irc/irc-commands.c:302 msgid "nickname [,nickname [,nickname ...]] [count [target]]" msgstr "usuario [,usuario [,usuario ...]] [nmero [destinatario]]" -#: src/irc/irc-commands.c:298 +#: src/irc/irc-commands.c:303 msgid "" "nickname: nickname to search\n" "count: number of replies to return (full search if negative number)\n" @@ -951,121 +951,121 @@ msgstr "" "negativo)\n" "destinatario: la respuesta debera concordar con esta mscara" -#: src/irc/irc-commands.c:302 src/irc/irc-commands.c:303 -#: src/irc/irc-commands.c:304 src/irc/irc-commands.c:305 -#: src/irc/irc-commands.c:306 src/irc/irc-commands.c:307 -#: src/irc/irc-commands.c:308 src/irc/irc-commands.c:309 -#: src/irc/irc-commands.c:310 src/irc/irc-commands.c:311 -#: src/irc/irc-commands.c:313 src/irc/irc-commands.c:314 -#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:316 -#: src/irc/irc-commands.c:317 src/irc/irc-commands.c:318 -#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:320 -#: src/irc/irc-commands.c:321 src/irc/irc-commands.c:322 -#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:324 -#: src/irc/irc-commands.c:325 src/irc/irc-commands.c:326 -#: src/irc/irc-commands.c:327 src/irc/irc-commands.c:328 -#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:330 -#: src/irc/irc-commands.c:331 src/irc/irc-commands.c:332 -#: src/irc/irc-commands.c:380 src/irc/irc-commands.c:381 -#: src/irc/irc-commands.c:382 src/irc/irc-commands.c:383 -#: src/irc/irc-commands.c:384 src/irc/irc-commands.c:385 -#: src/irc/irc-commands.c:491 +#: src/irc/irc-commands.c:307 src/irc/irc-commands.c:309 +#: src/irc/irc-commands.c:311 src/irc/irc-commands.c:313 +#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:317 +#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:321 +#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:325 +#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:331 +#: src/irc/irc-commands.c:333 src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:337 src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:341 src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:345 src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:349 src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:353 src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:357 src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:361 src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:365 src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:449 src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:453 src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:457 src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:569 msgid "a server message" msgstr "un mensaje de servidor" -#: src/irc/irc-commands.c:312 +#: src/irc/irc-commands.c:327 msgid "user mode string" msgstr "cadena de modo usuario" -#: src/irc/irc-commands.c:333 +#: src/irc/irc-commands.c:369 msgid "away message" msgstr "mensaje de ausencia" -#: src/irc/irc-commands.c:334 +#: src/irc/irc-commands.c:371 msgid "userhost" msgstr "nombre de la mquina de usuario" -#: src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:373 msgid "ison" msgstr "est presente" -#: src/irc/irc-commands.c:336 +#: src/irc/irc-commands.c:375 msgid "unaway" msgstr "no ausente" -#: src/irc/irc-commands.c:337 +#: src/irc/irc-commands.c:377 msgid "now away" msgstr "ahora ausente" -#: src/irc/irc-commands.c:338 +#: src/irc/irc-commands.c:379 msgid "whois (registered nick)" msgstr "quin es (usuario registrado)" -#: src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:381 msgid "whois (user)" msgstr "quin es (usuario)" -#: src/irc/irc-commands.c:340 +#: src/irc/irc-commands.c:383 msgid "whois (server)" msgstr "quin es (servidor)" -#: src/irc/irc-commands.c:341 +#: src/irc/irc-commands.c:385 msgid "whois (operator)" msgstr "quin es (operador)" -#: src/irc/irc-commands.c:342 +#: src/irc/irc-commands.c:387 msgid "whowas" msgstr "quin era" -#: src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:389 msgid "end of /who list" msgstr "fin de la lista /who" -#: src/irc/irc-commands.c:344 +#: src/irc/irc-commands.c:391 msgid "whois (idle)" msgstr "quin es (idle)" -#: src/irc/irc-commands.c:345 +#: src/irc/irc-commands.c:393 msgid "whois (end)" msgstr "quin es (fin)" -#: src/irc/irc-commands.c:346 +#: src/irc/irc-commands.c:395 msgid "whois (channels)" msgstr "quin es (canales)" -#: src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:397 msgid "whois (identified user)" msgstr "quin es (usuario identificado)" -#: src/irc/irc-commands.c:348 +#: src/irc/irc-commands.c:399 msgid "/list start" msgstr "/list inicio" -#: src/irc/irc-commands.c:349 +#: src/irc/irc-commands.c:401 msgid "channel (for /list)" msgstr "canal (para /list)" -#: src/irc/irc-commands.c:350 +#: src/irc/irc-commands.c:403 msgid "/list end" msgstr "/list fin" -#: src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:405 msgid "channel mode" msgstr "modo de canal" -#: src/irc/irc-commands.c:353 +#: src/irc/irc-commands.c:409 msgid "no topic for channel" msgstr "sin tema para el canal" -#: src/irc/irc-commands.c:354 +#: src/irc/irc-commands.c:411 msgid "topic of channel" msgstr "tema de canal" -#: src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:412 msgid "channel :topic" msgstr "canal :tema" -#: src/irc/irc-commands.c:356 +#: src/irc/irc-commands.c:413 msgid "" "channel: name of channel\n" "topic: topic of the channel" @@ -1073,47 +1073,47 @@ msgstr "" "canal: nombre del canal\n" "tema: tema del canal" -#: src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:416 msgid "infos about topic (nick & date changed)" msgstr "informacin sobre el tema (usuario y fecha de modificacin)" -#: src/irc/irc-commands.c:362 +#: src/irc/irc-commands.c:418 msgid "inviting" msgstr "invitando" -#: src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:420 msgid "channel reop" msgstr "canal reop" -#: src/irc/irc-commands.c:364 +#: src/irc/irc-commands.c:422 msgid "end of channel reop list" msgstr "fin de la lista de canal reop" -#: src/irc/irc-commands.c:365 +#: src/irc/irc-commands.c:424 msgid "channel exception list" msgstr "lista de excepcin de canal" -#: src/irc/irc-commands.c:366 +#: src/irc/irc-commands.c:426 msgid "end of channel exception list" msgstr "fin de lista de excepcin de canal" -#: src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:428 msgid "server version" msgstr "versin del servidor" -#: src/irc/irc-commands.c:368 +#: src/irc/irc-commands.c:430 msgid "who" msgstr "quin" -#: src/irc/irc-commands.c:369 +#: src/irc/irc-commands.c:432 msgid "list of nicks on channel" msgstr "lista de usuarios en el canal" -#: src/irc/irc-commands.c:370 +#: src/irc/irc-commands.c:433 msgid "channel :[[@|+]nick ...]" msgstr "canal :[[@|+]usuario ...]" -#: src/irc/irc-commands.c:371 +#: src/irc/irc-commands.c:434 msgid "" "channel: name of channel\n" "nick: nick on the channel" @@ -1121,243 +1121,243 @@ msgstr "" "canal: nombre del canal\n" "usuario: usuario en el canal" -#: src/irc/irc-commands.c:374 +#: src/irc/irc-commands.c:437 msgid "links" msgstr "enlaces" -#: src/irc/irc-commands.c:375 +#: src/irc/irc-commands.c:439 msgid "end of /links list" msgstr "fin de la lista /links" -#: src/irc/irc-commands.c:376 +#: src/irc/irc-commands.c:441 msgid "end of /names list" msgstr "fin de la lista /names" -#: src/irc/irc-commands.c:377 +#: src/irc/irc-commands.c:443 msgid "banlist" msgstr "lista de baneos" -#: src/irc/irc-commands.c:378 +#: src/irc/irc-commands.c:445 msgid "end of banlist" msgstr "fin de la lista de baneos" -#: src/irc/irc-commands.c:379 +#: src/irc/irc-commands.c:447 msgid "end of /whowas list" msgstr "fin de la lista /whowas" -#: src/irc/irc-commands.c:386 +#: src/irc/irc-commands.c:461 msgid "you are now an IRC operator" msgstr "ahora es usted un operador IRC" -#: src/irc/irc-commands.c:387 +#: src/irc/irc-commands.c:463 msgid "rehashing" msgstr "redispersin" -#: src/irc/irc-commands.c:388 +#: src/irc/irc-commands.c:465 msgid "server local time" msgstr "hora local del servidor" -#: src/irc/irc-commands.c:389 +#: src/irc/irc-commands.c:467 msgid "no such nick/channel" msgstr "no existe ese usuario/canal" -#: src/irc/irc-commands.c:391 +#: src/irc/irc-commands.c:469 msgid "no such server" msgstr "no existe ese servidor" -#: src/irc/irc-commands.c:393 +#: src/irc/irc-commands.c:471 msgid "no such channel" msgstr "no existe ese canal" -#: src/irc/irc-commands.c:395 +#: src/irc/irc-commands.c:473 msgid "cannot send to channel" msgstr "no ha sido posible enviar al canal" -#: src/irc/irc-commands.c:397 +#: src/irc/irc-commands.c:475 msgid "too many channels" msgstr "demasiados canales" -#: src/irc/irc-commands.c:399 src/irc/irc-commands.c:401 +#: src/irc/irc-commands.c:477 src/irc/irc-commands.c:479 msgid "was no such nick" msgstr "no estaba ese usuario" -#: src/irc/irc-commands.c:403 +#: src/irc/irc-commands.c:481 msgid "no origin" msgstr "sin origen" -#: src/irc/irc-commands.c:405 +#: src/irc/irc-commands.c:483 msgid "no services" msgstr "sin servicios" -#: src/irc/irc-commands.c:407 +#: src/irc/irc-commands.c:485 msgid "no recipient" msgstr "sin destinatario" -#: src/irc/irc-commands.c:409 +#: src/irc/irc-commands.c:487 msgid "no text to send" msgstr "sin texto a enviar" -#: src/irc/irc-commands.c:411 +#: src/irc/irc-commands.c:489 msgid "no toplevel" msgstr "sin nivel superior" -#: src/irc/irc-commands.c:413 +#: src/irc/irc-commands.c:491 msgid "wilcard in toplevel domain" msgstr "carcter comodn en el dominio del nivel superior" -#: src/irc/irc-commands.c:415 +#: src/irc/irc-commands.c:493 msgid "unknown command" msgstr "comando desconocido" -#: src/irc/irc-commands.c:417 +#: src/irc/irc-commands.c:495 msgid "MOTD is missing" msgstr "MOTD falta" -#: src/irc/irc-commands.c:419 +#: src/irc/irc-commands.c:497 msgid "no administrative info" msgstr "sin informacin administrativa" -#: src/irc/irc-commands.c:421 +#: src/irc/irc-commands.c:499 msgid "file error" msgstr "error de fichero" -#: src/irc/irc-commands.c:423 +#: src/irc/irc-commands.c:501 msgid "no nickname given" msgstr "no se ha dado un nombre de usuario" -#: src/irc/irc-commands.c:425 +#: src/irc/irc-commands.c:503 msgid "erroneous nickname" msgstr "nombre de usuario errneo" -#: src/irc/irc-commands.c:427 +#: src/irc/irc-commands.c:505 msgid "nickname already in use" msgstr "nombre de usuario ya en uso" -#: src/irc/irc-commands.c:429 +#: src/irc/irc-commands.c:507 msgid "nickname collision" msgstr "colisin en el nombre de usuario" -#: src/irc/irc-commands.c:431 +#: src/irc/irc-commands.c:509 msgid "not authorized to change nickname" msgstr "no autorizado a cambiar el nombre de usuario" -#: src/irc/irc-commands.c:433 +#: src/irc/irc-commands.c:511 msgid "user not in channel" msgstr "usuario no presente en el canal" -#: src/irc/irc-commands.c:435 +#: src/irc/irc-commands.c:513 msgid "not on channel" msgstr "no presente en el canal" -#: src/irc/irc-commands.c:437 +#: src/irc/irc-commands.c:515 msgid "user already on channel" msgstr "usuario ya en el canal" -#: src/irc/irc-commands.c:439 +#: src/irc/irc-commands.c:517 msgid "user not logged in" msgstr "usuario no registrado" -#: src/irc/irc-commands.c:441 +#: src/irc/irc-commands.c:519 msgid "summon has been disabled" msgstr "la peticin de ayuda ha sido desactivada" -#: src/irc/irc-commands.c:443 +#: src/irc/irc-commands.c:521 msgid "users has been disabled" msgstr "los usuarios han sido desactivados" -#: src/irc/irc-commands.c:445 +#: src/irc/irc-commands.c:523 msgid "you are not registered" msgstr "usted no est registrado" -#: src/irc/irc-commands.c:447 +#: src/irc/irc-commands.c:525 msgid "not enough parameters" msgstr "no hay parmetros suficientes" -#: src/irc/irc-commands.c:449 +#: src/irc/irc-commands.c:527 msgid "you may not register" msgstr "usted no puede registrarse" -#: src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:529 msgid "your host isn't among the privileged" msgstr "su nombre de mquina no est entre los privilegiados" -#: src/irc/irc-commands.c:453 +#: src/irc/irc-commands.c:531 msgid "password incorrect" msgstr "contrasea incorrecta" -#: src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:533 msgid "you are banned from this server" msgstr "usted est baneado de este servidor" -#: src/irc/irc-commands.c:457 +#: src/irc/irc-commands.c:535 msgid "channel key already set" msgstr "clave de canal ya definida" -#: src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:537 msgid "forwarding to another channel" msgstr "reenvo a otro canal" -#: src/irc/irc-commands.c:461 +#: src/irc/irc-commands.c:539 msgid "channel is already full" msgstr "el canal ya est lleno" -#: src/irc/irc-commands.c:463 +#: src/irc/irc-commands.c:541 msgid "unknown mode char to me" msgstr "carcter de modo desconocido para m" -#: src/irc/irc-commands.c:465 +#: src/irc/irc-commands.c:543 msgid "cannot join channel (invite only)" msgstr "no es posible unirse al canal (slo invitados)" -#: src/irc/irc-commands.c:467 +#: src/irc/irc-commands.c:545 msgid "cannot join channel (banned from channel)" msgstr "no es posible unirse al canal (baneado del canal)" -#: src/irc/irc-commands.c:469 +#: src/irc/irc-commands.c:547 msgid "cannot join channel (bad channel key)" msgstr "no es posible unirse al canal (clave de canal incorrecta)" -#: src/irc/irc-commands.c:471 +#: src/irc/irc-commands.c:549 msgid "bad channel mask" msgstr "mscara de canal incorrecta" -#: src/irc/irc-commands.c:473 +#: src/irc/irc-commands.c:551 msgid "channel doesn't support modes" msgstr "el canal no soporta los modos" -#: src/irc/irc-commands.c:475 +#: src/irc/irc-commands.c:553 msgid "you're not an IRC operator" msgstr "usted no es un operador IRC" -#: src/irc/irc-commands.c:477 +#: src/irc/irc-commands.c:555 msgid "you're not channel operator" msgstr "usted no es operador del canal" -#: src/irc/irc-commands.c:479 +#: src/irc/irc-commands.c:557 msgid "you can't kill a server!" msgstr "usted no puede matar a un servidor!" -#: src/irc/irc-commands.c:481 +#: src/irc/irc-commands.c:559 msgid "your connection is restricted!" msgstr "su conexin est restringida!" -#: src/irc/irc-commands.c:483 +#: src/irc/irc-commands.c:561 msgid "user is immune from kick/deop" msgstr "el usuario es inmune a kick/deop" -#: src/irc/irc-commands.c:485 +#: src/irc/irc-commands.c:563 msgid "no O-lines for your host" msgstr "no hay O-lines para su mququina" -#: src/irc/irc-commands.c:487 +#: src/irc/irc-commands.c:565 msgid "unknown mode flag" msgstr "indicador de modo desconocido" -#: src/irc/irc-commands.c:489 +#: src/irc/irc-commands.c:567 msgid "can't change mode for other users" msgstr "no es posible cambiar el modo para el resto de usuarios" -#: src/irc/irc-commands.c:492 +#: src/irc/irc-commands.c:571 msgid "whois (secure connection)" msgstr "quin es (conexin segura)" @@ -1405,7 +1405,7 @@ msgstr "desconocido" msgid "%s: using local hostname \"%s\"\n" msgstr "%s: utilizacin del nombre de mquina local \"%s\"\n" -#: src/irc/irc-send.c:177 src/common/command.c:814 +#: src/irc/irc-send.c:177 src/common/command.c:816 #, 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" @@ -1422,8 +1422,8 @@ msgstr "" #: src/irc/irc-send.c:489 src/irc/irc-send.c:501 src/irc/irc-send.c:519 #: src/irc/irc-send.c:1184 src/irc/irc-send.c:1309 src/irc/irc-send.c:1842 -#: src/common/command.c:1605 src/common/command.c:2103 -#: src/common/command.c:2242 +#: src/common/command.c:1607 src/common/command.c:2105 +#: src/common/command.c:2244 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s nmero de argumentos incorrecto para el comando \"%s\"\n" @@ -1761,11 +1761,11 @@ msgstr "%s%s %s(%s%s@%s%s)%s estaba %s\n" msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s inactividad: " -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "days" msgstr "das" -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "day" msgstr "da" @@ -2142,7 +2142,7 @@ msgstr "" "%s plugin %s: no ha sido posible aadir un manejador para el comando IRC \"%s" "\" (no hay suficiente memoria)\n" -#: src/plugins/plugins.c:248 +#: src/plugins/plugins.c:250 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (already exists)\n" @@ -2150,7 +2150,7 @@ msgstr "" "%s plugin %s: no ha sido posible aadir un manejador para el comando \"%s" "\" (ya existe)\n" -#: src/plugins/plugins.c:285 +#: src/plugins/plugins.c:288 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n" @@ -2158,19 +2158,19 @@ msgstr "" "%s plugin %s: no ha sido posible aadir un manejador para el comando \"%s" "\" (no hay suficiente memoria)\n" -#: src/plugins/plugins.c:532 +#: src/plugins/plugins.c:535 #, 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:543 +#: src/plugins/plugins.c:546 #, 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:554 +#: src/plugins/plugins.c:557 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" @@ -2178,7 +2178,7 @@ msgstr "" "%s no ha sido posible cargar el plugin \"%s\": un plugin con el mismo nombre " "ya existe\n" -#: src/plugins/plugins.c:566 +#: src/plugins/plugins.c:569 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" @@ -2186,7 +2186,7 @@ msgstr "" "%s smbolo \"plugin_description\" no encontrado en el plugin \"%s\", fall " "al cargar\n" -#: src/plugins/plugins.c:577 +#: src/plugins/plugins.c:580 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" @@ -2194,7 +2194,7 @@ msgstr "" "%s smbolo \"plugin_version\" no encontrado en el plugin \"%s\", fall al " "cargar\n" -#: src/plugins/plugins.c:588 +#: src/plugins/plugins.c:591 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " @@ -2203,33 +2203,33 @@ msgstr "" "%s funcin \"weechat_plugin_init\" no encontrada en el plugin \"%s\", fall " "al cargar\n" -#: src/plugins/plugins.c:642 +#: src/plugins/plugins.c:645 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "Inicializando plugin \"%s\" %s\n" -#: src/plugins/plugins.c:650 +#: src/plugins/plugins.c:653 #, 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:661 +#: src/plugins/plugins.c:664 #, 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:669 +#: src/plugins/plugins.c:672 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "Plugin \"%s\" (%s) cargado.\n" -#: src/plugins/plugins.c:809 +#: src/plugins/plugins.c:838 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "Plugin \"%s\" descargado.\n" -#: src/plugins/plugins.c:815 +#: src/plugins/plugins.c:844 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "%s plugin \"%s\" no encontrado\n" @@ -2512,7 +2512,7 @@ msgstr "recargar la pantalla" msgid "grab a key" msgstr "capturar una clave" -#: src/gui/gui-keyboard.c:434 src/common/command.c:2118 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2120 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s No ha sido posible atar la clave \"%s\"\n" @@ -2651,19 +2651,19 @@ msgstr "mostrar ayuda sobre los comandos" msgid "[command]" msgstr "[comando]" -#: src/common/command.c:85 +#: src/common/command.c:86 msgid "command: name of a WeeChat or IRC command" msgstr "comando: nombre de un comando de Weechat o de IRC" -#: src/common/command.c:87 +#: src/common/command.c:88 msgid "show buffer command history" msgstr "mostrar historial de comandos de bfer" -#: src/common/command.c:88 +#: src/common/command.c:89 msgid "[clear | value]" msgstr "[limpiar | valor]" -#: src/common/command.c:89 +#: src/common/command.c:90 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2671,15 +2671,15 @@ msgstr "" "limpiar: limpiar historial\n" "valor: nmero de entradas del historial para mostrar" -#: src/common/command.c:92 +#: src/common/command.c:93 msgid "ignore IRC messages and/or hosts" msgstr "ignorar los mensajes IRC y/o los hosts" -#: src/common/command.c:93 +#: src/common/command.c:94 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[mscara [[tipo | comando] [canal [servidor]]]]" -#: src/common/command.c:94 +#: src/common/command.c:95 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2699,40 +2699,39 @@ msgstr "" "Para cada argumento, '*' significa todo.\n" "Sin argumentos, el comando /ignore lista todos los ignores definidos." -#: src/common/command.c:102 +#: src/common/command.c:104 msgid "bind/unbind keys" msgstr "atar/desatar claves" -#: src/common/command.c:103 +#: src/common/command.c:105 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "[clave funcin/comando] [desatar clave] [funciones] [reset -yes]" -#: src/common/command.c:104 +#: src/common/command.c:106 msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" -"unbind: unbind a key (if \"all\", default bindings are restored)\n" +"unbind: unbind a key\n" "functions: list internal functions for key bindings\n" "reset: restore bindings to the default values and delete ALL personal " "binding (use carefully!)" msgstr "" "clave: ata esta clave a una funcin interna o a un comando (comenzando por " "\"/ \")\n" -"desatar: desata una clave(si \"all\", se restauran los anclajes por " -"defecto)\n" +"desatar: desata una clave\n" "funciones: lista funciones internas para el anclaje de claves\n" "reset: restaura anclajes a los valores por defecto y elimina todos los " "anclajes personales (usar cuidadosamente)" -#: src/common/command.c:109 +#: src/common/command.c:111 msgid "list/load/unload plugins" msgstr "listar/cargar/descargar plugins" -#: src/common/command.c:110 +#: src/common/command.c:112 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[cargar fichero] | [autocargar] | [recargar] | [descargar]" -#: src/common/command.c:111 +#: src/common/command.c:113 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2742,11 +2741,11 @@ msgstr "" "\n" "Sin argumentos, el comando /plugin lista todos los plugins cargados." -#: src/common/command.c:114 +#: src/common/command.c:116 msgid "list, add or remove servers" msgstr "lista, ade o elimina servidores" -#: src/common/command.c:115 +#: src/common/command.c:117 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2758,7 +2757,7 @@ msgstr "" "username nombre de usuario] [-realname nombre_real] [-command comando] [-" "autojoin canal[,canal]] ] | [del nombre_de_servidor]" -#: src/common/command.c:120 +#: src/common/command.c:122 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2784,27 +2783,27 @@ msgstr "" "nombre_de_usuario: nombre de usuario\n" "nombre_real: nombre real del usuario" -#: src/common/command.c:132 +#: src/common/command.c:134 msgid "save config to disk" msgstr "guardar configuracin a disco" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "[file]" msgstr "[archivo]" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "file: filename for writing config" msgstr "archivo: fichero en el que guardar la configuracin" -#: src/common/command.c:135 +#: src/common/command.c:137 msgid "set config parameters" msgstr "modificar parmetros de configuracin" -#: src/common/command.c:136 +#: src/common/command.c:138 msgid "[option [ = value]]" msgstr "[opcin [ = valor]]" -#: src/common/command.c:137 +#: src/common/command.c:139 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2814,27 +2813,27 @@ msgstr "" "valor, entonces se muestra la ayuda de la opcin)\n" "valor: valor para una opcin" -#: src/common/command.c:141 +#: src/common/command.c:143 msgid "remove an alias" msgstr "eliminar un alias" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name" msgstr "alias" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name: name of alias to remove" msgstr "alias: nombre del alias a suprimir" -#: src/common/command.c:144 +#: src/common/command.c:146 msgid "unignore IRC messages and/or hosts" msgstr "no ignorar mensajes IRC y/o hosts" -#: src/common/command.c:145 +#: src/common/command.c:147 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[nmero | [mscara [[tipo | comando] [canal [servidor]]]]]" -#: src/common/command.c:146 +#: src/common/command.c:148 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2857,33 +2856,35 @@ msgstr "" "Para cada argumento, '*' significa todo.\n" "Sin argumentos, el comando /unignore lista todos los ignores definidos." -#: src/common/command.c:155 +#: src/common/command.c:158 msgid "upgrade WeeChat without disconnecting from servers" msgstr "" -#: src/common/command.c:159 +#: src/common/command.c:160 msgid "show WeeChat uptime" msgstr "muestra el tiempo de uso de WeeChat" -#: src/common/command.c:160 +#: src/common/command.c:161 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:161 +#: src/common/command.c:162 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:163 +#: src/common/command.c:164 msgid "manage windows" msgstr "gestin de ventanas" -#: src/common/command.c:164 +#: src/common/command.c:165 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" -msgstr "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all]]" +msgstr "" +"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " +"[pct] | resize pct | merge [all]]" -#: src/common/command.c:166 +#: src/common/command.c:167 #, fuzzy, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2917,29 +2918,29 @@ 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:323 +#: src/common/command.c:325 #, c-format msgid "%s alias or command \"%s\" already exists!\n" msgstr "%s el alias o el comando \"%s\" ya existe!\n" -#: src/common/command.c:333 +#: src/common/command.c:335 #, c-format msgid "%s alias cannot run another alias!\n" msgstr "%s el alias no puede ejecutar otro alias!\n" -#: src/common/command.c:340 +#: src/common/command.c:342 #, c-format msgid "%s target command \"/%s\" does not exist!\n" msgstr "%s el comando objetivo \"/%s\" no existe!\n" -#: src/common/command.c:578 +#: src/common/command.c:580 #, 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:590 +#: src/common/command.c:592 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -2948,19 +2949,19 @@ msgstr "" "%s nmero de argumentos incorrecto para el comando %s \"%s\" (esperado: " "entre %d y %d parmetro%s)\n" -#: src/common/command.c:612 src/common/command.c:681 +#: src/common/command.c:614 src/common/command.c:683 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s el comando \"%s\" ha fallado\n" -#: src/common/command.c:637 +#: src/common/command.c:639 #, 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:649 +#: src/common/command.c:651 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -2969,283 +2970,283 @@ msgstr "" "%s nmero de argumentos incorrecto para el comando IRC \"%s\" (esperado: " "entre %d y %d parmetro%s)\n" -#: src/common/command.c:664 +#: src/common/command.c:666 #, 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:725 +#: src/common/command.c:727 #, 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:859 +#: src/common/command.c:861 msgid "This window is not a channel!\n" msgstr "Esta ventana no es un canal!\n" -#: src/common/command.c:890 src/common/command.c:921 src/common/command.c:1036 +#: src/common/command.c:892 src/common/command.c:923 src/common/command.c:1038 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s faltan argumentos para el comando \"%s\"\n" -#: src/common/command.c:897 +#: src/common/command.c:899 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "%s el alias no puede empezar con \"/\"\n" -#: src/common/command.c:906 +#: src/common/command.c:908 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" creado\n" -#: src/common/command.c:912 +#: src/common/command.c:914 #, 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:932 +#: src/common/command.c:934 msgid "List of aliases:\n" msgstr "Lista de alias:\n" -#: src/common/command.c:946 +#: src/common/command.c:948 msgid "No alias defined.\n" msgstr "Ningn alias definido.\n" -#: src/common/command.c:965 +#: src/common/command.c:967 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServidor: %s%s\n" -#: src/common/command.c:970 +#: src/common/command.c:972 #, c-format msgid "%snot connected\n" msgstr "%sno conectado\n" -#: src/common/command.c:974 +#: src/common/command.c:976 #, 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:983 +#: src/common/command.c:985 #, 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:992 +#: src/common/command.c:994 #, c-format msgid "%sunknown\n" msgstr "" -#: src/common/command.c:1015 +#: src/common/command.c:1017 msgid "Opened buffers:\n" msgstr "Bfers abiertos:\n" -#: src/common/command.c:1059 +#: src/common/command.c:1061 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s nmero de bfer incorrecto\n" -#: src/common/command.c:1075 +#: src/common/command.c:1077 #, 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:1085 +#: src/common/command.c:1087 #, 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:1134 +#: src/common/command.c:1136 msgid "Notify levels: " msgstr "Niveles de notificacin: " -#: src/common/command.c:1163 src/common/command.c:1211 +#: src/common/command.c:1165 src/common/command.c:1213 #, 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:1172 +#: src/common/command.c:1174 #, 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:1181 +#: src/common/command.c:1183 #, 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:1191 +#: src/common/command.c:1193 msgid "(hotlist: never)\n" msgstr "(hotlist: nunca)\n" -#: src/common/command.c:1194 +#: src/common/command.c:1196 msgid "(hotlist: highlights)\n" msgstr "(hotlist: resaltados)\n" -#: src/common/command.c:1197 +#: src/common/command.c:1199 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: resaltados + mensajes)\n" -#: src/common/command.c:1200 +#: src/common/command.c:1202 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "(hotlist: resaltados + mensajes + join/part (todos))\n" -#: src/common/command.c:1299 +#: src/common/command.c:1301 #, c-format msgid "Charsets for server %s%s%s: " msgstr "" -#: src/common/command.c:1307 +#: src/common/command.c:1309 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "" -#: src/common/command.c:1315 +#: src/common/command.c:1317 #, c-format msgid "Charsets for private %s%s%s: " msgstr "" -#: src/common/command.c:1343 src/common/command.c:1373 -#: src/common/command.c:1403 +#: src/common/command.c:1345 src/common/command.c:1375 +#: src/common/command.c:1405 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr "" -#: src/common/command.c:1467 src/common/command.c:1490 -#: src/common/command.c:1624 src/common/command.c:2235 -#: src/common/command.c:3312 src/common/command.c:3355 +#: src/common/command.c:1469 src/common/command.c:1492 +#: src/common/command.c:1626 src/common/command.c:2237 +#: src/common/command.c:3301 src/common/command.c:3344 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "%s opcin desconocida para el comando \"%s\"\n" -#: src/common/command.c:1520 +#: src/common/command.c:1522 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s ya conectado al servidor \"%s\"!\n" -#: src/common/command.c:1528 +#: src/common/command.c:1530 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "%s actualmente conectando al servidor \"%s\"!\n" -#: src/common/command.c:1546 src/common/command.c:1669 +#: src/common/command.c:1548 src/common/command.c:1671 #, c-format msgid "%s server not found\n" msgstr "%s servidor no encontrado\n" -#: src/common/command.c:1653 +#: src/common/command.c:1655 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s no conectado al servidor \"%s\"!\n" -#: src/common/command.c:1661 +#: src/common/command.c:1663 msgid "Auto-reconnection is cancelled\n" msgstr "La reconexin automtica est anulada\n" -#: src/common/command.c:1695 src/common/weechat.c:400 +#: src/common/command.c:1697 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "Comandos internos %s :\n" -#: src/common/command.c:1705 src/common/weechat.c:420 +#: src/common/command.c:1707 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "Comandos IRC :\n" -#: src/common/command.c:1719 +#: src/common/command.c:1721 msgid "Plugin commands:\n" msgstr "Comandos de plugin:\n" -#: src/common/command.c:1835 +#: src/common/command.c:1837 #, 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:1901 +#: src/common/command.c:1903 #, 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:1935 +#: src/common/command.c:1937 msgid "List of ignore:\n" msgstr "Lista de ignores:\n" -#: src/common/command.c:1952 +#: src/common/command.c:1954 msgid "No ignore defined.\n" msgstr "Sin ignores definidos.\n" -#: src/common/command.c:1978 +#: src/common/command.c:1980 msgid "New ignore:" msgstr "Nuevo ignore:" -#: src/common/command.c:1998 +#: src/common/command.c:2000 #, c-format msgid "New key binding: %s" msgstr "Nueva anclaje de clave: %s" -#: src/common/command.c:2035 +#: src/common/command.c:2037 msgid "Key bindings:\n" msgstr "Anclajes de clave:\n" -#: src/common/command.c:2049 +#: src/common/command.c:2051 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Clave \"%s\" desatada\n" -#: src/common/command.c:2055 +#: src/common/command.c:2057 #, 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:2063 src/common/weechat.c:452 +#: src/common/command.c:2065 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "Funciones de clave internas:\n" -#: src/common/command.c:2083 +#: src/common/command.c:2085 msgid "Default key bindings restored\n" msgstr "Anclajes de clave por defecto restaurados\n" -#: src/common/command.c:2089 +#: src/common/command.c:2091 #, 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:2148 +#: src/common/command.c:2150 msgid "Plugins loaded:\n" msgstr "Plugins cargados:\n" -#: src/common/command.c:2164 +#: src/common/command.c:2166 msgid " message handlers:\n" msgstr " manejadores de mensaje:\n" -#: src/common/command.c:2173 +#: src/common/command.c:2175 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:2180 +#: src/common/command.c:2182 msgid " (no message handler)\n" msgstr " (sin manejador de mensaje)\n" -#: src/common/command.c:2185 +#: src/common/command.c:2187 msgid " command handlers:\n" msgstr " manejadores de comando:\n" -#: src/common/command.c:2206 +#: src/common/command.c:2208 msgid " (no command handler)\n" msgstr " (sin manejador de comando)\n" -#: src/common/command.c:2212 +#: src/common/command.c:2214 msgid " (no plugin)\n" msgstr " (sin plugins)\n" -#: src/common/command.c:2248 +#: src/common/command.c:2250 msgid "" "Command \"plugin\" is not available, WeeChat was built without plugins " "support.\n" @@ -3253,32 +3254,32 @@ msgstr "" "El comando \"plugin\" no est disponible, Weechat fue compilado sin soporte " "para plugins.\n" -#: src/common/command.c:2299 +#: src/common/command.c:2301 msgid "No server.\n" msgstr "Ningn servidor.\n" -#: src/common/command.c:2310 +#: src/common/command.c:2312 #, c-format msgid "Server '%s' not found.\n" msgstr "Servidor '%s' no encontrado.\n" -#: src/common/command.c:2322 +#: src/common/command.c:2324 #, 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:2330 +#: src/common/command.c:2332 #, 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:2349 +#: src/common/command.c:2351 #, 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:2357 +#: src/common/command.c:2359 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3287,216 +3288,216 @@ 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:2377 +#: src/common/command.c:2379 #, 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:2396 +#: src/common/command.c:2398 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s faltan parmetros para el comando \"%s\"\n" -#: src/common/command.c:2406 +#: src/common/command.c:2408 #, 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:2435 src/common/command.c:2463 -#: src/common/command.c:2476 src/common/command.c:2502 +#: src/common/command.c:2437 src/common/command.c:2465 +#: src/common/command.c:2478 src/common/command.c:2504 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s falta contrasea para el comando \"%s\"\n" -#: src/common/command.c:2448 +#: src/common/command.c:2450 #, 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:2489 +#: src/common/command.c:2491 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s falta comando para el parmetro \"%s\"\n" -#: src/common/command.c:2525 +#: src/common/command.c:2527 #, c-format msgid "Server %s%s%s created\n" msgstr "Servidor %s%s%s creado\n" -#: src/common/command.c:2534 +#: src/common/command.c:2536 #, c-format msgid "%s unable to create server\n" msgstr "%s no es posible crear el servidor\n" -#: src/common/command.c:2593 +#: src/common/command.c:2595 msgid "(unknown)" msgstr "(desconocido)" -#: src/common/command.c:2616 +#: src/common/command.c:2618 #, c-format msgid "%s(password hidden) " msgstr "%s(contrasea oculta) " -#: src/common/command.c:2712 +#: src/common/command.c:2714 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s servidor \"%s\" no encontrado\n" -#: src/common/command.c:2745 src/common/command.c:2793 +#: src/common/command.c:2747 src/common/command.c:2795 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s opcin de configuracin \"%s\" no encontrada\n" -#: src/common/command.c:2750 src/common/command.c:2785 +#: src/common/command.c:2752 src/common/command.c:2787 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s valor incorrecto para la opcin \"%s\"\n" -#: src/common/command.c:2766 +#: src/common/command.c:2768 #, 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:2876 +#: src/common/command.c:2878 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Ninguna opcin de configuracin encontrada con \"%s\"\n" -#: src/common/command.c:2879 +#: src/common/command.c:2881 msgid "No config option found\n" msgstr "Ninguna opcin de configuracin encontrada\n" -#: src/common/command.c:2886 +#: src/common/command.c:2888 #, c-format msgid "%sDetail:\n" msgstr "%sDetalle:\n" -#: src/common/command.c:2891 src/common/weechat.c:336 +#: src/common/command.c:2893 src/common/weechat.c:336 #, c-format msgid " . type boolean (values: 'on' or 'off')\n" msgstr " . tipo booleano (valores: 'on' u 'off')\n" -#: src/common/command.c:2892 src/common/command.c:2915 -#: src/common/command.c:2921 src/common/command.c:2927 +#: src/common/command.c:2894 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/command.c:2929 #: src/common/weechat.c:337 src/common/weechat.c:360 src/common/weechat.c:366 #: src/common/weechat.c:372 #, c-format msgid " . default value: '%s'\n" msgstr " . valor por defecto: '%s'\n" -#: src/common/command.c:2897 src/common/weechat.c:342 +#: src/common/command.c:2899 src/common/weechat.c:342 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr " . tipo entero (valores: entre %d y %d)\n" -#: src/common/command.c:2900 src/common/weechat.c:345 +#: src/common/command.c:2902 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr " . valor por defecto: %d\n" -#: src/common/command.c:2904 src/common/weechat.c:349 +#: src/common/command.c:2906 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr " . tipo cadena (valores: " -#: src/common/command.c:2917 src/common/command.c:2923 -#: src/common/command.c:2929 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2919 src/common/command.c:2925 +#: src/common/command.c:2931 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "vaco" -#: src/common/command.c:2920 src/common/weechat.c:365 +#: src/common/command.c:2922 src/common/weechat.c:365 #, c-format 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:2926 src/common/weechat.c:371 +#: src/common/command.c:2928 src/common/weechat.c:371 #, c-format msgid " . type string (any string)\n" msgstr " . tipo cadena (cualquier cadena)\n" -#: src/common/command.c:2932 src/common/weechat.c:377 +#: src/common/command.c:2934 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr " . descripcin: %s\n" -#: src/common/command.c:2943 +#: src/common/command.c:2945 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "opcin/opciones de configuracin encontrada(s) con \"%s\"\n" -#: src/common/command.c:2946 +#: src/common/command.c:2948 msgid "config option(s) found\n" msgstr "opcin/opciones de configuracin encontrada(s)\n" -#: src/common/command.c:2970 +#: src/common/command.c:2972 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias o comando \"%s\" no encontrado\n" -#: src/common/command.c:2980 +#: src/common/command.c:2982 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" eliminado\n" -#: src/common/command.c:3036 +#: src/common/command.c:3038 msgid "ignore were removed.\n" msgstr "los ignores fueron eliminados.\n" -#: src/common/command.c:3038 +#: src/common/command.c:3040 msgid "ignore was removed.\n" msgstr "el ignore fue eliminado.\n" -#: src/common/command.c:3043 +#: src/common/command.c:3045 #, c-format msgid "%s no ignore found\n" msgstr "%s no se encontraron ignores\n" -#: src/common/command.c:3075 +#: src/common/command.c:3077 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "" -#: src/common/command.c:3085 +#: src/common/command.c:3087 #, 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:3101 +#: src/common/command.c:3103 msgid "Upgrading WeeChat...\n" msgstr "" -#: src/common/command.c:3108 +#: src/common/command.c:3110 #, c-format msgid "%s unable to save session in file\n" msgstr "" -#: src/common/command.c:3146 +#: src/common/command.c:3135 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:3182 +#: src/common/command.c:3171 #, 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:3196 +#: src/common/command.c:3185 #, 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:3236 +#: src/common/command.c:3225 msgid "Opened windows:\n" msgstr "Ventanas abiertas:\n" -#: src/common/command.c:3323 +#: src/common/command.c:3312 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3566,13 +3567,13 @@ msgstr "**** Comienzo del log (registro) " msgid "**** End of log " msgstr "**** Fin del log " -#: src/common/session.c:451 +#: src/common/session.c:453 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" msgstr "" -#: src/common/session.c:456 +#: src/common/session.c:458 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3580,284 +3581,284 @@ msgid "" "Be careful, private info may be in these files.\n" msgstr "" -#: src/common/session.c:480 src/common/session.c:514 src/common/session.c:571 -#: src/common/session.c:612 +#: src/common/session.c:482 src/common/session.c:516 src/common/session.c:573 +#: src/common/session.c:614 #, c-format msgid "wrong type in file (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:583 src/common/session.c:624 +#: src/common/session.c:585 src/common/session.c:626 msgid "invalid length for a buffer" msgstr "" -#: src/common/session.c:648 +#: src/common/session.c:650 msgid "object read error" msgstr "" -#: src/common/session.c:653 +#: src/common/session.c:655 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:663 +#: src/common/session.c:665 msgid "type read error" msgstr "" -#: src/common/session.c:668 +#: src/common/session.c:670 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:753 +#: src/common/session.c:755 msgid "server name not found" msgstr "" -#: src/common/session.c:758 +#: src/common/session.c:760 #, c-format msgid "session: loading server \"%s\"\n" msgstr "" -#: src/common/session.c:762 +#: src/common/session.c:764 msgid "server found, updating values\n" msgstr "" -#: src/common/session.c:765 +#: src/common/session.c:767 msgid "server not found, creating new one\n" msgstr "" -#: src/common/session.c:770 +#: src/common/session.c:772 msgid "can't create new server" msgstr "" -#: src/common/session.c:784 +#: src/common/session.c:786 msgid "unexpected end of file (reading server)" msgstr "" -#: src/common/session.c:872 +#: src/common/session.c:874 msgid "gnutls init error" msgstr "" -#: src/common/session.c:889 +#: src/common/session.c:891 msgid "gnutls handshake failed" msgstr "" -#: src/common/session.c:932 +#: src/common/session.c:934 #, c-format msgid "session: warning: ignoring value from server (object id: %d)\n" msgstr "" -#: src/common/session.c:954 +#: src/common/session.c:956 msgid "channel found without server" msgstr "" -#: src/common/session.c:961 +#: src/common/session.c:963 msgid "channel type not found" msgstr "" -#: src/common/session.c:969 +#: src/common/session.c:971 msgid "channel name not found" msgstr "" -#: src/common/session.c:974 +#: src/common/session.c:976 #, c-format msgid "session: loading channel \"%s\"\n" msgstr "" -#: src/common/session.c:982 +#: src/common/session.c:984 msgid "can't create new channel" msgstr "" -#: src/common/session.c:992 +#: src/common/session.c:994 msgid "unexpected end of file (reading channel)" msgstr "" -#: src/common/session.c:1022 +#: src/common/session.c:1024 #, c-format msgid "session: warning: ignoring value from channel (object id: %d)\n" msgstr "" -#: src/common/session.c:1045 +#: src/common/session.c:1047 msgid "nick found without channel" msgstr "" -#: src/common/session.c:1053 +#: src/common/session.c:1055 msgid "nick name not found" msgstr "" -#: src/common/session.c:1063 +#: src/common/session.c:1065 msgid "can't create new nick" msgstr "" -#: src/common/session.c:1073 +#: src/common/session.c:1075 msgid "unexpected end of file (reading nick)" msgstr "" -#: src/common/session.c:1089 +#: src/common/session.c:1091 #, c-format msgid "session: warning: ignoring value from nick (object id: %d)\n" msgstr "" -#: src/common/session.c:1115 +#: src/common/session.c:1117 msgid "can't create new DCC" msgstr "" -#: src/common/session.c:1119 +#: src/common/session.c:1121 msgid "session: loading DCC\n" msgstr "" -#: src/common/session.c:1129 +#: src/common/session.c:1131 msgid "unexpected end of file (reading DCC)" msgstr "" -#: src/common/session.c:1148 +#: src/common/session.c:1150 msgid "server not found for DCC" msgstr "" -#: src/common/session.c:1157 +#: src/common/session.c:1159 msgid "DCC with channel but without server" msgstr "" -#: src/common/session.c:1169 +#: src/common/session.c:1171 msgid "channel not found for DCC" msgstr "" -#: src/common/session.c:1243 +#: src/common/session.c:1245 #, c-format msgid "session: warning: ignoring value from DCC (object id: %d)\n" msgstr "" -#: src/common/session.c:1263 +#: src/common/session.c:1265 msgid "session: loading buffer history\n" msgstr "" -#: src/common/session.c:1265 +#: src/common/session.c:1267 msgid "session: loading global history\n" msgstr "" -#: src/common/session.c:1273 +#: src/common/session.c:1275 msgid "unexpected end of file (reading history)" msgstr "" -#: src/common/session.c:1293 +#: src/common/session.c:1295 #, c-format msgid "session: warning: ignoring value from history (object id: %d)\n" msgstr "" -#: src/common/session.c:1319 +#: src/common/session.c:1321 msgid "server name not found for buffer" msgstr "" -#: src/common/session.c:1327 +#: src/common/session.c:1329 msgid "channel name not found for buffer" msgstr "" -#: src/common/session.c:1334 +#: src/common/session.c:1336 msgid "dcc flag not found for buffer" msgstr "" -#: src/common/session.c:1339 +#: src/common/session.c:1341 #, c-format msgid "session: loading buffer (server: %s, channel: %s, dcc: %d)\n" msgstr "" -#: src/common/session.c:1350 +#: src/common/session.c:1352 msgid "server not found for buffer" msgstr "" -#: src/common/session.c:1360 +#: src/common/session.c:1362 msgid "channel not found for buffer" msgstr "" -#: src/common/session.c:1368 +#: src/common/session.c:1370 msgid "can't create new buffer" msgstr "" -#: src/common/session.c:1381 +#: src/common/session.c:1383 msgid "unexpected end of file (reading buffer)" msgstr "" -#: src/common/session.c:1391 +#: src/common/session.c:1393 #, c-format msgid "session: warning: ignoring value from buffer (object id: %d)\n" msgstr "" -#: src/common/session.c:1413 +#: src/common/session.c:1415 msgid "line found without buffer" msgstr "" -#: src/common/session.c:1421 +#: src/common/session.c:1423 msgid "can't create new line" msgstr "" -#: src/common/session.c:1431 +#: src/common/session.c:1433 msgid "unexpected end of file (reading line)" msgstr "" -#: src/common/session.c:1462 +#: src/common/session.c:1464 #, c-format msgid "session: warning: ignoring value from line (object id: %d)\n" msgstr "" -#: src/common/session.c:1492 +#: src/common/session.c:1494 msgid "session file not found" msgstr "" -#: src/common/session.c:1499 +#: src/common/session.c:1501 msgid "signature not found" msgstr "" -#: src/common/session.c:1504 +#: src/common/session.c:1506 msgid "bad session signature" msgstr "" -#: src/common/session.c:1515 +#: src/common/session.c:1517 msgid "object id not found" msgstr "" -#: src/common/session.c:1523 +#: src/common/session.c:1525 msgid "failed to load server" msgstr "" -#: src/common/session.c:1530 +#: src/common/session.c:1532 msgid "failed to load channel" msgstr "" -#: src/common/session.c:1537 +#: src/common/session.c:1539 msgid "failed to load nick" msgstr "" -#: src/common/session.c:1544 +#: src/common/session.c:1546 msgid "failed to load DCC" msgstr "" -#: src/common/session.c:1551 +#: src/common/session.c:1553 msgid "failed to load history" msgstr "" -#: src/common/session.c:1558 +#: src/common/session.c:1560 msgid "failed to load buffer" msgstr "" -#: src/common/session.c:1565 +#: src/common/session.c:1567 msgid "failed to load line" msgstr "" -#: src/common/session.c:1570 +#: src/common/session.c:1572 #, c-format msgid "ignoring object (id: %d)\n" msgstr "" -#: src/common/session.c:1574 +#: src/common/session.c:1576 #, c-format msgid "failed to ignore object (id: %d)" msgstr "" -#: src/common/session.c:1598 +#: src/common/session.c:1600 #, c-format msgid "%s can't delete session file (%s)\n" msgstr "" -#: src/common/session.c:1604 +#: src/common/session.c:1606 msgid "Upgrade completed successfully\n" msgstr "" diff --git a/weechat/po/fr.po b/weechat/po/fr.po index 5ac576ccf..386c77ef3 100644 --- a/weechat/po/fr.po +++ b/weechat/po/fr.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.7-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-12-12 12:05+0100\n" -"PO-Revision-Date: 2005-12-12 12:06+0100\n" +"POT-Creation-Date: 2005-12-16 14:01+0100\n" +"PO-Revision-Date: 2005-12-16 14:02+0100\n" "Last-Translator: FlashCode <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "MIME-Version: 1.0\n" @@ -178,12 +178,12 @@ msgstr "trouver les informations sur l'administrateur du serveur" #: src/irc/irc-commands.c:35 src/irc/irc-commands.c:85 #: src/irc/irc-commands.c:162 src/irc/irc-commands.c:253 -#: src/irc/irc-commands.c:261 src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:262 src/irc/irc-commands.c:275 msgid "[target]" msgstr "[cible]" -#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:261 -#: src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:276 msgid "target: server" msgstr "cible: serveur" @@ -204,7 +204,7 @@ msgstr "message: message envoyer" msgid "send message to all channels of all connected servers" msgstr "envoyer un message tous les canaux de tous les serveurs connects" -#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:288 msgid "text" msgstr "texte" @@ -288,7 +288,7 @@ msgstr "retire le statut de demi-oprateur du canal /aux nick(s)" #: src/irc/irc-commands.c:69 src/irc/irc-commands.c:72 #: src/irc/irc-commands.c:75 src/irc/irc-commands.c:82 -#: src/irc/irc-commands.c:280 +#: src/irc/irc-commands.c:284 msgid "[nickname [nickname]]" msgstr "[pseudo [pseudo]]" @@ -304,7 +304,7 @@ msgstr "retire la voix du/des pseudo(s)" msgid "shutdown the server" msgstr "arrter le serveur" -#: src/irc/irc-commands.c:80 +#: src/irc/irc-commands.c:79 msgid "error received from IRC server" msgstr "erreur reue du serveur IRC" @@ -340,11 +340,11 @@ msgstr "" msgid "check if a nickname is currently on IRC" msgstr "vrifier si un utilisateur est actuellement sur IRC" -#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:271 msgid "nickname [nickname ...]" msgstr "pseudo [pseudo ...]" -#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:272 msgid "nickname: nickname" msgstr "pseudo: pseudo" @@ -550,19 +550,19 @@ msgstr "lister les utilisateurs sur des canaux" msgid "[channel[,channel]]" msgstr "[canal[,canal]]" -#: src/irc/irc-commands.c:171 +#: src/irc/irc-commands.c:172 msgid "channel: channel name" msgstr "canal: nom du canal" -#: src/irc/irc-commands.c:173 +#: src/irc/irc-commands.c:174 msgid "change current nickname" msgstr "changer le pseudo courant" -#: src/irc/irc-commands.c:174 +#: src/irc/irc-commands.c:175 msgid "[-all] nickname" msgstr "[-all] pseudo" -#: src/irc/irc-commands.c:175 +#: src/irc/irc-commands.c:176 msgid "" "-all: set new nickname for all connected servers\n" "nickname: new nickname" @@ -570,15 +570,15 @@ msgstr "" "-all: dfinir le nouveau pseudo sur tous les serveurs connects\n" "pseudo: nouveau pseudo" -#: src/irc/irc-commands.c:178 +#: src/irc/irc-commands.c:179 msgid "send notice message to user" msgstr "envoyer un message notice un utilisateur" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:180 msgid "nickname text" msgstr "pseudo texte" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:181 msgid "" "nickname: user to send notice to\n" "text: text to send" @@ -586,37 +586,37 @@ msgstr "" "pseudo: utilisateur cible pour la notice\n" "texte: texte envoyer" -#: src/irc/irc-commands.c:181 +#: src/irc/irc-commands.c:183 msgid "gives channel operator status to nickname(s)" msgstr "donner le statut oprateur un/des utilisateur(s)" -#: src/irc/irc-commands.c:182 +#: src/irc/irc-commands.c:184 msgid "nickname [nickname]" msgstr "pseudo [pseudo]" -#: src/irc/irc-commands.c:184 +#: src/irc/irc-commands.c:186 msgid "get operator privileges" msgstr "obtenir le statut d'oprateur" -#: src/irc/irc-commands.c:185 +#: src/irc/irc-commands.c:187 msgid "user password" msgstr "utilisateur mot_de_passe" -#: src/irc/irc-commands.c:186 +#: src/irc/irc-commands.c:188 msgid "user/password: used to get privileges on current IRC server" msgstr "" "utilisateur/mot_de_passe: utilis pour obtenir les privilges sur le serveur " "IRC courant" -#: src/irc/irc-commands.c:188 +#: src/irc/irc-commands.c:190 msgid "leave a channel" msgstr "quitter un canal" -#: src/irc/irc-commands.c:189 +#: src/irc/irc-commands.c:191 msgid "[channel[,channel]] [part_message]" msgstr "[canal[,canall] [message_de_fin]" -#: src/irc/irc-commands.c:190 +#: src/irc/irc-commands.c:192 msgid "" "channel: channel name to leave\n" "part_message: part message (displayed to other users)" @@ -624,15 +624,15 @@ msgstr "" "canal: canal quitter\n" "message_de_fin: message de fin (affich aux autres utilisateurs)" -#: src/irc/irc-commands.c:193 +#: src/irc/irc-commands.c:195 msgid "ping server" msgstr "pinguer un serveur" -#: src/irc/irc-commands.c:194 +#: src/irc/irc-commands.c:196 msgid "server1 [server2]" msgstr "serveur1 [serveur2]" -#: src/irc/irc-commands.c:195 +#: src/irc/irc-commands.c:197 msgid "" "server1: server to ping\n" "server2: forward ping to this server" @@ -640,15 +640,15 @@ msgstr "" "serveur1: serveur pinguer\n" "serveur2: faire suivre le ping ce serveur" -#: src/irc/irc-commands.c:197 +#: src/irc/irc-commands.c:199 msgid "answer to a ping message" msgstr "rpondre un message ping" -#: src/irc/irc-commands.c:198 +#: src/irc/irc-commands.c:200 msgid "daemon [daemon2]" msgstr "dmon [dmon2]" -#: src/irc/irc-commands.c:199 +#: src/irc/irc-commands.c:201 msgid "" "daemon: daemon who has responded to Ping message\n" "daemon2: forward message to this daemon" @@ -656,19 +656,19 @@ msgstr "" "dmon: dmon qui a rpondu au message Ping\n" "dmon2: faire suivre le message ce dmon" -#: src/irc/irc-commands.c:202 +#: src/irc/irc-commands.c:204 msgid "message received" msgstr "message reu" -#: src/irc/irc-commands.c:205 +#: src/irc/irc-commands.c:206 msgid "send a private message to a nick" msgstr "envoyer un message priv un utilisateur" -#: src/irc/irc-commands.c:206 +#: src/irc/irc-commands.c:207 msgid "nickname [text]" msgstr "pseudo [texte]" -#: src/irc/irc-commands.c:207 +#: src/irc/irc-commands.c:208 msgid "" "nickname: nickname for private conversation\n" "text: text to send" @@ -676,31 +676,31 @@ msgstr "" "pseudo: utilisateur pour la conversation prive\n" "texte: texte envoyer" -#: src/irc/irc-commands.c:210 +#: src/irc/irc-commands.c:211 msgid "close all connections & quit" msgstr "fermer toutes les connexions et quitter" -#: src/irc/irc-commands.c:211 +#: src/irc/irc-commands.c:212 msgid "[quit_message]" msgstr "[message_de_fin]" -#: src/irc/irc-commands.c:212 +#: src/irc/irc-commands.c:213 msgid "quit_message: quit message (displayed to other users)" msgstr "message_de_fin: message de fin (affich aux autres utilisateurs)" -#: src/irc/irc-commands.c:214 +#: src/irc/irc-commands.c:215 msgid "send raw data to server without parsing" msgstr "envoyer des donnes brutes au serveur sans analyse" -#: src/irc/irc-commands.c:215 +#: src/irc/irc-commands.c:216 msgid "data" msgstr "donnes" -#: src/irc/irc-commands.c:216 +#: src/irc/irc-commands.c:217 msgid "data: raw data to send" msgstr "donnes: donnes brutes envoyer" -#: src/irc/irc-commands.c:218 +#: src/irc/irc-commands.c:219 msgid "tell the server to reload its config file" msgstr "demander au serveur de recharger son fichier de configuration" @@ -708,15 +708,15 @@ msgstr "demander au serveur de recharger son fichier de configuration" msgid "tell the server to restart itself" msgstr "demander au serveur de redmarrer" -#: src/irc/irc-commands.c:224 +#: src/irc/irc-commands.c:223 msgid "register a new service" msgstr "enregister un nouveau service" -#: src/irc/irc-commands.c:225 +#: src/irc/irc-commands.c:224 msgid "nickname reserved distribution type reserved info" msgstr "pseudo rserv distribution type rserv info" -#: src/irc/irc-commands.c:226 +#: src/irc/irc-commands.c:225 msgid "" "distribution: visibility of service\n" "type: reserved for future usage" @@ -724,15 +724,15 @@ msgstr "" "distribution: visibilit du service\n" "type: rserv pour une utilisation future" -#: src/irc/irc-commands.c:229 +#: src/irc/irc-commands.c:228 msgid "list services currently connected to the network" msgstr "lister les services actuellement connects au rseau" -#: src/irc/irc-commands.c:230 +#: src/irc/irc-commands.c:229 msgid "[mask [type]]" msgstr "[masque [type]]" -#: src/irc/irc-commands.c:231 +#: src/irc/irc-commands.c:230 msgid "" "mask: list only services matching this mask\n" "type: list only services of this type" @@ -740,15 +740,15 @@ msgstr "" "masque: lister seulement les services qui correspondent ce masque\n" "type: lister seulement les services de ce type" -#: src/irc/irc-commands.c:234 +#: src/irc/irc-commands.c:233 msgid "deliver a message to a service" msgstr "envoyer un message un service" -#: src/irc/irc-commands.c:235 +#: src/irc/irc-commands.c:234 msgid "service text" msgstr "service texte" -#: src/irc/irc-commands.c:236 +#: src/irc/irc-commands.c:235 msgid "" "service: name of service\n" "text: text to send" @@ -756,15 +756,15 @@ msgstr "" "service: nom du service\n" "texte: texte envoyer" -#: src/irc/irc-commands.c:238 +#: src/irc/irc-commands.c:237 msgid "disconnect server links" msgstr "dconnecter les liens vers un serveur" -#: src/irc/irc-commands.c:239 +#: src/irc/irc-commands.c:238 msgid "server comment" msgstr "serveur commentaire" -#: src/irc/irc-commands.c:240 +#: src/irc/irc-commands.c:239 msgid "" "server: server name\n" "comment: comment for quit" @@ -772,15 +772,15 @@ msgstr "" "serveur: nom du serveur\n" "commentaire: commentaire pour quitter" -#: src/irc/irc-commands.c:242 +#: src/irc/irc-commands.c:241 msgid "query statistics about server" msgstr "demander des statistiques sur le serveur" -#: src/irc/irc-commands.c:243 +#: src/irc/irc-commands.c:242 msgid "[query [server]]" msgstr "[requte [serveur]]" -#: src/irc/irc-commands.c:244 +#: src/irc/irc-commands.c:243 msgid "" "query: c/h/i/k/l/m/o/y/u (see RFC1459)\n" "server: server name" @@ -814,19 +814,19 @@ msgstr "" msgid "query local time from server" msgstr "demander l'heure locale de serveur" -#: src/irc/irc-commands.c:253 +#: src/irc/irc-commands.c:254 msgid "target: query time from specified server" msgstr "cible: demander l'heure de ce serveur" -#: src/irc/irc-commands.c:255 +#: src/irc/irc-commands.c:256 msgid "get/set channel topic" msgstr "recevoir/dfinir le titre du canal" -#: src/irc/irc-commands.c:256 +#: src/irc/irc-commands.c:257 msgid "[channel] [topic]" msgstr "[canal] [titre]" -#: src/irc/irc-commands.c:257 +#: src/irc/irc-commands.c:258 msgid "" "channel: channel name\n" "topic: new topic for channel (if topic is \"-delete\" then topic is deleted)" @@ -835,19 +835,19 @@ msgstr "" "titre: nouveau titre pour le canal (si le titre est \"-delete\" alors le " "titre est supprim)" -#: src/irc/irc-commands.c:260 +#: src/irc/irc-commands.c:261 msgid "find the route to specific server" msgstr "trouver le chemin jusqu' un serveur spcifique" -#: src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:265 msgid "unbans nicks or hosts" msgstr "supprime le bannissement sur des pseudos ou masques" -#: src/irc/irc-commands.c:264 +#: src/irc/irc-commands.c:266 msgid "[channel] nickname [nickname ...]" msgstr "[canal] pseudo [pseudo ...]" -#: src/irc/irc-commands.c:265 +#: src/irc/irc-commands.c:267 msgid "" "channel: channel for unban\n" "nickname: user or host to unban" @@ -855,24 +855,24 @@ msgstr "" "canal: nom du canal pour supprimer le bannissement\n" "pseudo: pseudo ou masque pour supprimer le bannissement" -#: src/irc/irc-commands.c:268 +#: src/irc/irc-commands.c:270 msgid "return a list of information about nicknames" msgstr "retourne une liste d'informations sur des utilisateurs" -#: src/irc/irc-commands.c:271 +#: src/irc/irc-commands.c:274 msgid "list of users logged into the server" msgstr "liste des utilisateurs connects au serveur" -#: src/irc/irc-commands.c:274 +#: src/irc/irc-commands.c:278 msgid "gives the version info of nick or server (current or specified)" msgstr "" "retourne la version de l'utilisateur ou du serveur (courant ou spcifi)" -#: src/irc/irc-commands.c:275 +#: src/irc/irc-commands.c:279 msgid "[server | nickname]" msgstr "[serveur | pseudo]" -#: src/irc/irc-commands.c:276 +#: src/irc/irc-commands.c:280 msgid "" "server: server name\n" "nickname: nickname" @@ -880,11 +880,11 @@ msgstr "" "serveur: nom du serveur\n" "pseudo: utilisateur" -#: src/irc/irc-commands.c:279 +#: src/irc/irc-commands.c:283 msgid "gives voice to nickname(s)" msgstr "donne la voix /aux utilisateur(s)" -#: src/irc/irc-commands.c:282 +#: src/irc/irc-commands.c:286 msgid "" "send a message to all currently connected users who have set the 'w' user " "mode for themselves" @@ -892,19 +892,19 @@ msgstr "" "envoyer un message tous les utilisateurs connects qui ont activ le mode " "utilisateur 'w' pour eux-mmes" -#: src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:289 msgid "text to send" msgstr "texte envoyer" -#: src/irc/irc-commands.c:286 +#: src/irc/irc-commands.c:291 msgid "generate a query which returns a list of information" msgstr "gnre une requte qui retourne une liste d'information" -#: src/irc/irc-commands.c:287 +#: src/irc/irc-commands.c:292 msgid "[mask [\"o\"]]" msgstr "[masque [\"o\"]]" -#: src/irc/irc-commands.c:288 +#: src/irc/irc-commands.c:293 msgid "" "mask: only information which match this mask\n" "o: only operators are returned according to the mask supplied" @@ -912,15 +912,15 @@ msgstr "" "masque: information qui correspond ce masque uniquement\n" "o: seul les oprateurs sont retourns correspondant au masque fourni" -#: src/irc/irc-commands.c:291 +#: src/irc/irc-commands.c:296 msgid "query information about user(s)" msgstr "demande les informations sur le(s) utilisateur(s)" -#: src/irc/irc-commands.c:292 +#: src/irc/irc-commands.c:297 msgid "[server] nickname[,nickname]" msgstr "[serveur] pseudo[,pseudo]" -#: src/irc/irc-commands.c:293 +#: src/irc/irc-commands.c:298 msgid "" "server: server name\n" "nickname: nickname (may be a mask)" @@ -928,15 +928,15 @@ msgstr "" "serveur: nom du serveur\n" "pseudo: utilisateur (peut tre un masque)" -#: src/irc/irc-commands.c:296 +#: src/irc/irc-commands.c:301 msgid "ask for information about a nickname which no longer exists" msgstr "demander de l'information sur un nick qui n'existe plus" -#: src/irc/irc-commands.c:297 +#: src/irc/irc-commands.c:302 msgid "nickname [,nickname [,nickname ...]] [count [target]]" msgstr "pseudo [,pseudo [,pseudo ...]] [nombre [cible]]" -#: src/irc/irc-commands.c:298 +#: src/irc/irc-commands.c:303 msgid "" "nickname: nickname to search\n" "count: number of replies to return (full search if negative number)\n" @@ -947,121 +947,121 @@ msgstr "" "ngatif)\n" "cible: la rponse doit correspondre ce masque" -#: src/irc/irc-commands.c:302 src/irc/irc-commands.c:303 -#: src/irc/irc-commands.c:304 src/irc/irc-commands.c:305 -#: src/irc/irc-commands.c:306 src/irc/irc-commands.c:307 -#: src/irc/irc-commands.c:308 src/irc/irc-commands.c:309 -#: src/irc/irc-commands.c:310 src/irc/irc-commands.c:311 -#: src/irc/irc-commands.c:313 src/irc/irc-commands.c:314 -#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:316 -#: src/irc/irc-commands.c:317 src/irc/irc-commands.c:318 -#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:320 -#: src/irc/irc-commands.c:321 src/irc/irc-commands.c:322 -#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:324 -#: src/irc/irc-commands.c:325 src/irc/irc-commands.c:326 -#: src/irc/irc-commands.c:327 src/irc/irc-commands.c:328 -#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:330 -#: src/irc/irc-commands.c:331 src/irc/irc-commands.c:332 -#: src/irc/irc-commands.c:380 src/irc/irc-commands.c:381 -#: src/irc/irc-commands.c:382 src/irc/irc-commands.c:383 -#: src/irc/irc-commands.c:384 src/irc/irc-commands.c:385 -#: src/irc/irc-commands.c:491 +#: src/irc/irc-commands.c:307 src/irc/irc-commands.c:309 +#: src/irc/irc-commands.c:311 src/irc/irc-commands.c:313 +#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:317 +#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:321 +#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:325 +#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:331 +#: src/irc/irc-commands.c:333 src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:337 src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:341 src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:345 src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:349 src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:353 src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:357 src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:361 src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:365 src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:449 src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:453 src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:457 src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:569 msgid "a server message" msgstr "un message du serveur" -#: src/irc/irc-commands.c:312 +#: src/irc/irc-commands.c:327 msgid "user mode string" msgstr "chaine de mode utilisateur" -#: src/irc/irc-commands.c:333 +#: src/irc/irc-commands.c:369 msgid "away message" msgstr "message d'absence" -#: src/irc/irc-commands.c:334 +#: src/irc/irc-commands.c:371 msgid "userhost" msgstr "nom de machine utilisateur" -#: src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:373 msgid "ison" msgstr "est prsent" -#: src/irc/irc-commands.c:336 +#: src/irc/irc-commands.c:375 msgid "unaway" msgstr "non absent" -#: src/irc/irc-commands.c:337 +#: src/irc/irc-commands.c:377 msgid "now away" msgstr "maintenant absent" -#: src/irc/irc-commands.c:338 +#: src/irc/irc-commands.c:379 msgid "whois (registered nick)" msgstr "qui est (pseudo enregistr)" -#: src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:381 msgid "whois (user)" msgstr "qui est (utilisateur)" -#: src/irc/irc-commands.c:340 +#: src/irc/irc-commands.c:383 msgid "whois (server)" msgstr "qui est (serveur)" -#: src/irc/irc-commands.c:341 +#: src/irc/irc-commands.c:385 msgid "whois (operator)" msgstr "qui est (oprateur)" -#: src/irc/irc-commands.c:342 +#: src/irc/irc-commands.c:387 msgid "whowas" msgstr "qui tait-ce" -#: src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:389 msgid "end of /who list" msgstr "fin de /who list" -#: src/irc/irc-commands.c:344 +#: src/irc/irc-commands.c:391 msgid "whois (idle)" msgstr "qui est (inactif)" -#: src/irc/irc-commands.c:345 +#: src/irc/irc-commands.c:393 msgid "whois (end)" msgstr "qui est (fin)" -#: src/irc/irc-commands.c:346 +#: src/irc/irc-commands.c:395 msgid "whois (channels)" msgstr "qui est (canaux)" -#: src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:397 msgid "whois (identified user)" msgstr "qui est (utilisateur identifi)" -#: src/irc/irc-commands.c:348 +#: src/irc/irc-commands.c:399 msgid "/list start" msgstr "/list dbut" -#: src/irc/irc-commands.c:349 +#: src/irc/irc-commands.c:401 msgid "channel (for /list)" msgstr "canal (pour /list)" -#: src/irc/irc-commands.c:350 +#: src/irc/irc-commands.c:403 msgid "/list end" msgstr "/list fin" -#: src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:405 msgid "channel mode" msgstr "mode du canal" -#: src/irc/irc-commands.c:353 +#: src/irc/irc-commands.c:409 msgid "no topic for channel" msgstr "pas de titre pour le canal" -#: src/irc/irc-commands.c:354 +#: src/irc/irc-commands.c:411 msgid "topic of channel" msgstr "titre du canal" -#: src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:412 msgid "channel :topic" msgstr "canal :titre" -#: src/irc/irc-commands.c:356 +#: src/irc/irc-commands.c:413 msgid "" "channel: name of channel\n" "topic: topic of the channel" @@ -1069,47 +1069,47 @@ msgstr "" "canal: nom du canal\n" "titre: titre du canal" -#: src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:416 msgid "infos about topic (nick & date changed)" msgstr "infos sur le titre (utilisateur et date de changement)" -#: src/irc/irc-commands.c:362 +#: src/irc/irc-commands.c:418 msgid "inviting" msgstr "invitation" -#: src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:420 msgid "channel reop" msgstr "reop canal" -#: src/irc/irc-commands.c:364 +#: src/irc/irc-commands.c:422 msgid "end of channel reop list" msgstr "fin du reop canal" -#: src/irc/irc-commands.c:365 +#: src/irc/irc-commands.c:424 msgid "channel exception list" msgstr "liste d'exception de canal" -#: src/irc/irc-commands.c:366 +#: src/irc/irc-commands.c:426 msgid "end of channel exception list" msgstr "fin de liste d'exception de canal" -#: src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:428 msgid "server version" msgstr "version du serveur" -#: src/irc/irc-commands.c:368 +#: src/irc/irc-commands.c:430 msgid "who" msgstr "qui" -#: src/irc/irc-commands.c:369 +#: src/irc/irc-commands.c:432 msgid "list of nicks on channel" msgstr "liste des utilisateurs sur un canal" -#: src/irc/irc-commands.c:370 +#: src/irc/irc-commands.c:433 msgid "channel :[[@|+]nick ...]" msgstr "canal :[[@|+]pseudo ...]" -#: src/irc/irc-commands.c:371 +#: src/irc/irc-commands.c:434 msgid "" "channel: name of channel\n" "nick: nick on the channel" @@ -1117,243 +1117,243 @@ msgstr "" "canal: nom du canal\n" "pseudo: utilisateur sur le canal" -#: src/irc/irc-commands.c:374 +#: src/irc/irc-commands.c:437 msgid "links" msgstr "liens" -#: src/irc/irc-commands.c:375 +#: src/irc/irc-commands.c:439 msgid "end of /links list" msgstr "fin de /links list" -#: src/irc/irc-commands.c:376 +#: src/irc/irc-commands.c:441 msgid "end of /names list" msgstr "fin de la liste /names" -#: src/irc/irc-commands.c:377 +#: src/irc/irc-commands.c:443 msgid "banlist" msgstr "liste de bannissement" -#: src/irc/irc-commands.c:378 +#: src/irc/irc-commands.c:445 msgid "end of banlist" msgstr "fin de la liste de bannissement" -#: src/irc/irc-commands.c:379 +#: src/irc/irc-commands.c:447 msgid "end of /whowas list" msgstr "fin de /whowas list" -#: src/irc/irc-commands.c:386 +#: src/irc/irc-commands.c:461 msgid "you are now an IRC operator" msgstr "vous tes maintenant un oprateur IRC" -#: src/irc/irc-commands.c:387 +#: src/irc/irc-commands.c:463 msgid "rehashing" msgstr "rechargement" -#: src/irc/irc-commands.c:388 +#: src/irc/irc-commands.c:465 msgid "server local time" msgstr "heure locale du serveur" -#: src/irc/irc-commands.c:389 +#: src/irc/irc-commands.c:467 msgid "no such nick/channel" msgstr "pas de tel utilisateur/canal" -#: src/irc/irc-commands.c:391 +#: src/irc/irc-commands.c:469 msgid "no such server" msgstr "pas de tel serveur" -#: src/irc/irc-commands.c:393 +#: src/irc/irc-commands.c:471 msgid "no such channel" msgstr "pas de tel canal" -#: src/irc/irc-commands.c:395 +#: src/irc/irc-commands.c:473 msgid "cannot send to channel" msgstr "impossible d'envoyer au canal" -#: src/irc/irc-commands.c:397 +#: src/irc/irc-commands.c:475 msgid "too many channels" msgstr "trop de canaux" -#: src/irc/irc-commands.c:399 src/irc/irc-commands.c:401 +#: src/irc/irc-commands.c:477 src/irc/irc-commands.c:479 msgid "was no such nick" msgstr "n'y avait pas de tel utilisateur" -#: src/irc/irc-commands.c:403 +#: src/irc/irc-commands.c:481 msgid "no origin" msgstr "pas d'origine" -#: src/irc/irc-commands.c:405 +#: src/irc/irc-commands.c:483 msgid "no services" msgstr "pas de service" -#: src/irc/irc-commands.c:407 +#: src/irc/irc-commands.c:485 msgid "no recipient" msgstr "pas de destinataire" -#: src/irc/irc-commands.c:409 +#: src/irc/irc-commands.c:487 msgid "no text to send" msgstr "pas de texte envoyer" -#: src/irc/irc-commands.c:411 +#: src/irc/irc-commands.c:489 msgid "no toplevel" msgstr "pas de niveau suprieur" -#: src/irc/irc-commands.c:413 +#: src/irc/irc-commands.c:491 msgid "wilcard in toplevel domain" msgstr "caractre joker dans le domaine de niveau suprieur" -#: src/irc/irc-commands.c:415 +#: src/irc/irc-commands.c:493 msgid "unknown command" msgstr "commande inconnue" -#: src/irc/irc-commands.c:417 +#: src/irc/irc-commands.c:495 msgid "MOTD is missing" msgstr "MOTD est manquant" -#: src/irc/irc-commands.c:419 +#: src/irc/irc-commands.c:497 msgid "no administrative info" msgstr "pas d'information administrative" -#: src/irc/irc-commands.c:421 +#: src/irc/irc-commands.c:499 msgid "file error" msgstr "erreur de fichier" -#: src/irc/irc-commands.c:423 +#: src/irc/irc-commands.c:501 msgid "no nickname given" msgstr "pas d'utilisateur donn" -#: src/irc/irc-commands.c:425 +#: src/irc/irc-commands.c:503 msgid "erroneous nickname" msgstr "nom d'utilisateur erron" -#: src/irc/irc-commands.c:427 +#: src/irc/irc-commands.c:505 msgid "nickname already in use" msgstr "nom d'utilisateur dj en cours d'utilisation" -#: src/irc/irc-commands.c:429 +#: src/irc/irc-commands.c:507 msgid "nickname collision" msgstr "collision sur le nom d'utilisateur" -#: src/irc/irc-commands.c:431 +#: src/irc/irc-commands.c:509 msgid "not authorized to change nickname" msgstr "non autoris changer de pseudo" -#: src/irc/irc-commands.c:433 +#: src/irc/irc-commands.c:511 msgid "user not in channel" msgstr "utilisateur non prsent dans le canal" -#: src/irc/irc-commands.c:435 +#: src/irc/irc-commands.c:513 msgid "not on channel" msgstr "non prsent sur le canal" -#: src/irc/irc-commands.c:437 +#: src/irc/irc-commands.c:515 msgid "user already on channel" msgstr "utilisateur dj sur le canal" -#: src/irc/irc-commands.c:439 +#: src/irc/irc-commands.c:517 msgid "user not logged in" msgstr "utilisateur non enregistr" -#: src/irc/irc-commands.c:441 +#: src/irc/irc-commands.c:519 msgid "summon has been disabled" msgstr "summon a t dsactiv" -#: src/irc/irc-commands.c:443 +#: src/irc/irc-commands.c:521 msgid "users has been disabled" msgstr "users a t dsactiv" -#: src/irc/irc-commands.c:445 +#: src/irc/irc-commands.c:523 msgid "you are not registered" msgstr "vous n'tes pas enregistr" -#: src/irc/irc-commands.c:447 +#: src/irc/irc-commands.c:525 msgid "not enough parameters" msgstr "pas assez de paramtres" -#: src/irc/irc-commands.c:449 +#: src/irc/irc-commands.c:527 msgid "you may not register" msgstr "vous ne pouvez pas vous enregistrer" -#: src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:529 msgid "your host isn't among the privileged" msgstr "votre nom de machine n'est pas parmi les privilgis" -#: src/irc/irc-commands.c:453 +#: src/irc/irc-commands.c:531 msgid "password incorrect" msgstr "mot de passe incorrect" -#: src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:533 msgid "you are banned from this server" msgstr "vous tes banni de ce serveur" -#: src/irc/irc-commands.c:457 +#: src/irc/irc-commands.c:535 msgid "channel key already set" msgstr "cl du canal dj dfinie" -#: src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:537 msgid "forwarding to another channel" msgstr "redirection vers un autre canal" -#: src/irc/irc-commands.c:461 +#: src/irc/irc-commands.c:539 msgid "channel is already full" msgstr "le canal est dj plein" -#: src/irc/irc-commands.c:463 +#: src/irc/irc-commands.c:541 msgid "unknown mode char to me" msgstr "caractre de mode inconnu pour moi" -#: src/irc/irc-commands.c:465 +#: src/irc/irc-commands.c:543 msgid "cannot join channel (invite only)" msgstr "impossible de rejoindre le canal (invits seulement)" -#: src/irc/irc-commands.c:467 +#: src/irc/irc-commands.c:545 msgid "cannot join channel (banned from channel)" msgstr "impossible de rejoindre le canal (banni du canal)" -#: src/irc/irc-commands.c:469 +#: src/irc/irc-commands.c:547 msgid "cannot join channel (bad channel key)" msgstr "impossible de rejoindre le canal (mauvaise cl pour le canal)" -#: src/irc/irc-commands.c:471 +#: src/irc/irc-commands.c:549 msgid "bad channel mask" msgstr "mauvais masque de canal" -#: src/irc/irc-commands.c:473 +#: src/irc/irc-commands.c:551 msgid "channel doesn't support modes" msgstr "le canal ne supporte pas les modes" -#: src/irc/irc-commands.c:475 +#: src/irc/irc-commands.c:553 msgid "you're not an IRC operator" msgstr "vous n'tres pas oprateur IRC" -#: src/irc/irc-commands.c:477 +#: src/irc/irc-commands.c:555 msgid "you're not channel operator" msgstr "vous n'tes pas oprateur du canal" -#: src/irc/irc-commands.c:479 +#: src/irc/irc-commands.c:557 msgid "you can't kill a server!" msgstr "vous ne pouvez pas supprimer un serveur !" -#: src/irc/irc-commands.c:481 +#: src/irc/irc-commands.c:559 msgid "your connection is restricted!" msgstr "votre connexion est restreinte !" -#: src/irc/irc-commands.c:483 +#: src/irc/irc-commands.c:561 msgid "user is immune from kick/deop" msgstr "l'utilisateur est protg des kick/deop" -#: src/irc/irc-commands.c:485 +#: src/irc/irc-commands.c:563 msgid "no O-lines for your host" msgstr "pas de O-lines pour votre nom de machine" -#: src/irc/irc-commands.c:487 +#: src/irc/irc-commands.c:565 msgid "unknown mode flag" msgstr "drapeau de mode inconnu" -#: src/irc/irc-commands.c:489 +#: src/irc/irc-commands.c:567 msgid "can't change mode for other users" msgstr "impossible de changer le mode pour les autres utilisateurs" -#: src/irc/irc-commands.c:492 +#: src/irc/irc-commands.c:571 msgid "whois (secure connection)" msgstr "qui est (connexion scurise)" @@ -1401,7 +1401,7 @@ msgstr "inconnu" msgid "%s: using local hostname \"%s\"\n" msgstr "%s: utilisation du nom de machine local \"%s\"\n" -#: src/irc/irc-send.c:177 src/common/command.c:814 +#: src/irc/irc-send.c:177 src/common/command.c:816 #, c-format msgid "%s cannot find nick for sending message\n" msgstr "%s impossible de trouver le pseudo pour envoyer le message\n" @@ -1419,8 +1419,8 @@ msgstr "" #: src/irc/irc-send.c:489 src/irc/irc-send.c:501 src/irc/irc-send.c:519 #: src/irc/irc-send.c:1184 src/irc/irc-send.c:1309 src/irc/irc-send.c:1842 -#: src/common/command.c:1605 src/common/command.c:2103 -#: src/common/command.c:2242 +#: src/common/command.c:1607 src/common/command.c:2105 +#: src/common/command.c:2244 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s nombre de paramtres erron pour la commande \"%s\"\n" @@ -1759,11 +1759,11 @@ msgstr "%s%s %s(%s%s@%s%s)%s tait %s\n" msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s inactivit: " -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "days" msgstr "jours" -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "day" msgstr "jour" @@ -2140,7 +2140,7 @@ msgstr "" "%s extension %s: impossible d'ajouter la fonction pour la commande IRC \"%s" "\" (mmoire insuffisante)\n" -#: src/plugins/plugins.c:248 +#: src/plugins/plugins.c:250 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (already exists)\n" @@ -2148,7 +2148,7 @@ msgstr "" "%s extension %s: impossible d'ajouter la fonction pour la commande \"%s" "\" (existe dj)\n" -#: src/plugins/plugins.c:285 +#: src/plugins/plugins.c:288 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n" @@ -2156,19 +2156,19 @@ msgstr "" "%s extension %s: impossible d'ajouter la fonction pour la commande \"%s" "\" (mmoire insuffisante)\n" -#: src/plugins/plugins.c:532 +#: src/plugins/plugins.c:535 #, 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:543 +#: src/plugins/plugins.c:546 #, 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:554 +#: src/plugins/plugins.c:557 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" @@ -2176,7 +2176,7 @@ msgstr "" "%s impossible de charger l'extension \"%s\": une extension avec le mme nom " "existe dj\n" -#: src/plugins/plugins.c:566 +#: src/plugins/plugins.c:569 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" @@ -2184,7 +2184,7 @@ msgstr "" "%s le symbole \"plugin_description\" est introuvable dans l'extension \"%s" "\", chec de chargement\n" -#: src/plugins/plugins.c:577 +#: src/plugins/plugins.c:580 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" @@ -2192,7 +2192,7 @@ msgstr "" "%s le symbole \"plugin_version\" est introuvable dans l'extension \"%s\", " "chec de chargement\n" -#: src/plugins/plugins.c:588 +#: src/plugins/plugins.c:591 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " @@ -2201,32 +2201,32 @@ msgstr "" "%s la fonction \"weechat_plugin_init\" est introuvable dans l'extension \"%s" "\", chec de chargement\n" -#: src/plugins/plugins.c:642 +#: src/plugins/plugins.c:645 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "Initialisation de l'extension \"%s\" %s\n" -#: src/plugins/plugins.c:650 +#: src/plugins/plugins.c:653 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "%s impossible d'initialiser l'extension \"%s\"\n" -#: src/plugins/plugins.c:661 +#: src/plugins/plugins.c:664 #, 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:669 +#: src/plugins/plugins.c:672 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "Extension \"%s\" (%s) charge.\n" -#: src/plugins/plugins.c:809 +#: src/plugins/plugins.c:838 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "Extension \"%s\" dcharge.\n" -#: src/plugins/plugins.c:815 +#: src/plugins/plugins.c:844 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "%s extension \"%s\" non trouve\n" @@ -2509,7 +2509,7 @@ msgstr "rafraichir l'cran" msgid "grab a key" msgstr "capturer une touche" -#: src/gui/gui-keyboard.c:434 src/common/command.c:2118 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2120 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s impossible de crer la touche \"%s\"\n" @@ -2651,19 +2651,19 @@ msgstr "afficher l'aide sur les commandes" msgid "[command]" msgstr "[commande]" -#: src/common/command.c:85 +#: src/common/command.c:86 msgid "command: name of a WeeChat or IRC command" msgstr "commande: nom d'une commande WeeChat ou IRC" -#: src/common/command.c:87 +#: src/common/command.c:88 msgid "show buffer command history" msgstr "affiche l'historique des commandes du tampon" -#: src/common/command.c:88 +#: src/common/command.c:89 msgid "[clear | value]" msgstr "[clear | valeur]" -#: src/common/command.c:89 +#: src/common/command.c:90 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2671,15 +2671,15 @@ msgstr "" "clear: effacer l'historique\n" "valeur: nombre d'entres dans l'historique afficher" -#: src/common/command.c:92 +#: src/common/command.c:93 msgid "ignore IRC messages and/or hosts" msgstr "ignorer des messages IRC et/ou des masques" -#: src/common/command.c:93 +#: src/common/command.c:94 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[masque [[type | commande] [canal [serveur]]]]" -#: src/common/command.c:94 +#: src/common/command.c:95 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2699,41 +2699,40 @@ msgstr "" "Pour chaque paramtre, '*' signifie tou(te)s.\n" "Sans paramtre, la commande /ignore liste les ignore dfinis." -#: src/common/command.c:102 +#: src/common/command.c:104 msgid "bind/unbind keys" msgstr "associer/librer des touches" -#: src/common/command.c:103 +#: src/common/command.c:105 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "[touche fonction/commande] [unbind touche] [functions] [reset -yes]" -#: src/common/command.c:104 +#: src/common/command.c:106 msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" -"unbind: unbind a key (if \"all\", default bindings are restored)\n" +"unbind: unbind a key\n" "functions: list internal functions for key bindings\n" "reset: restore bindings to the default values and delete ALL personal " "binding (use carefully!)" msgstr "" "touche: associer cette touche une fonction interne ou une commande " "(commenant par \"/\")\n" -"unbind: supprimer l'association une touche (si \"all\", toutes les " -"associations de touches par dfaut sont restaures)\n" +"unbind: supprimer l'association une touche\n" "functions: lister la liste des fonctions internes pour les associations de " "touches\n" "reset: restaure les touches aux valeurs par dfaut et supprime TOUTES les " "touches personnelles (utiliser avec prcaution !)" -#: src/common/command.c:109 +#: src/common/command.c:111 msgid "list/load/unload plugins" msgstr "liste/charge/dcharge des extensions" -#: src/common/command.c:110 +#: src/common/command.c:112 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[load fichier] | [autoload] | [reload] | [unload]" -#: src/common/command.c:111 +#: src/common/command.c:113 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2743,11 +2742,11 @@ msgstr "" "\n" "Sans paramtre, la commande /plugin liste toutes les extensions charges." -#: src/common/command.c:114 +#: src/common/command.c:116 msgid "list, add or remove servers" msgstr "liste, ajoute ou retire des serveurs" -#: src/common/command.c:115 +#: src/common/command.c:117 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2759,7 +2758,7 @@ msgstr "" "nom_utilisateur] [-realname nom_rel] [-command commande] [-autojoin canal[," "canal]] ] | [del nom_serveur]" -#: src/common/command.c:120 +#: src/common/command.c:122 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2785,27 +2784,27 @@ msgstr "" "nom_utilisateur: nom d'utilisateur\n" "nom_rel: nom rel de l'utilisateur" -#: src/common/command.c:132 +#: src/common/command.c:134 msgid "save config to disk" msgstr "sauvegarder la configuration sur disque" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "[file]" msgstr "[fichier]" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "file: filename for writing config" msgstr "fichier: fichier pour sauvegarder la configuration" -#: src/common/command.c:135 +#: src/common/command.c:137 msgid "set config parameters" msgstr "modifier des paramtres de configuration" -#: src/common/command.c:136 +#: src/common/command.c:138 msgid "[option [ = value]]" msgstr "[option [ = valeur]]" -#: src/common/command.c:137 +#: src/common/command.c:139 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2815,27 +2814,27 @@ msgstr "" "donne, alors l'aide sur l'option est affiche)\n" "valeur: valeur pour l'option" -#: src/common/command.c:141 +#: src/common/command.c:143 msgid "remove an alias" msgstr "supprimer un alias" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name" msgstr "nom_alias" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name: name of alias to remove" msgstr "nom_alias: nom de l'alias supprimer" -#: src/common/command.c:144 +#: src/common/command.c:146 msgid "unignore IRC messages and/or hosts" msgstr "supprimer le ignore des messages IRC et/ou des masques" -#: src/common/command.c:145 +#: src/common/command.c:147 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[nombre | [masque [[type | commande] [canal [serveur]]]]]" -#: src/common/command.c:146 +#: src/common/command.c:148 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2858,33 +2857,35 @@ msgstr "" "Pour chaque paramtre, '*' signifie tou(te)s.\n" "Sans paramtre, /ignore liste les ignore dfinis." -#: src/common/command.c:155 +#: src/common/command.c:158 msgid "upgrade WeeChat without disconnecting from servers" msgstr "mettre jour WeeChat sans se dconnecter des serveurs" -#: src/common/command.c:159 +#: src/common/command.c:160 msgid "show WeeChat uptime" msgstr "montrer l'uptime de WeeChat" -#: src/common/command.c:160 +#: src/common/command.c:161 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:161 +#: src/common/command.c:162 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:163 +#: src/common/command.c:164 msgid "manage windows" msgstr "gestion des fentres" -#: src/common/command.c:164 +#: src/common/command.c:165 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" -msgstr "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [ptc] | resize pct | merge [all]]" +msgstr "" +"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " +"[ptc] | resize pct | merge [all]]" -#: src/common/command.c:166 +#: src/common/command.c:167 #, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2914,34 +2915,38 @@ msgstr "" "right: saute la fentre droite\n" "splith: clate la fentre en deux horizontalement\n" "splitv: clate la fentre en deux verticalement\n" -"resize: redimensionne une fentre, la nouvelle taille est <pct>%% de la fentre parent\n" +"resize: redimensionne une fentre, la nouvelle taille est <pct>%% de la " +"fentre parent\n" "merge: fusionne la fentre avec une autre\n" "\n" -"Pour splith et splitv, pct est un pourcentage qui reprsente la taille de la nouvelle fentre, calcule par rapport la taille de la fentre courante. Par exemple 25 signifie crer une fentre qui a pour taille: taille_courante / 4" +"Pour splith et splitv, pct est un pourcentage qui reprsente la taille de la " +"nouvelle fentre, calcule par rapport la taille de la fentre courante. " +"Par exemple 25 signifie crer une fentre qui a pour taille: " +"taille_courante / 4" -#: src/common/command.c:323 +#: src/common/command.c:325 #, c-format msgid "%s alias or command \"%s\" already exists!\n" msgstr "%s l'alias ou la commande \"%s\" existe dj !\n" -#: src/common/command.c:333 +#: src/common/command.c:335 #, c-format msgid "%s alias cannot run another alias!\n" msgstr "%s l'alias ne peut pas lancer un autre alias !\n" -#: src/common/command.c:340 +#: src/common/command.c:342 #, c-format msgid "%s target command \"/%s\" does not exist!\n" msgstr "%s la commande cible \"/%s\" n'existe pas !\n" -#: src/common/command.c:578 +#: src/common/command.c:580 #, 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:590 +#: src/common/command.c:592 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -2950,19 +2955,19 @@ msgstr "" "%s nombre de paramtres incorrect pour la commande %s \"%s\" (attendu: entre " "%d et %d paramtre%s)\n" -#: src/common/command.c:612 src/common/command.c:681 +#: src/common/command.c:614 src/common/command.c:683 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s la commande \"%s\" a chou\n" -#: src/common/command.c:637 +#: src/common/command.c:639 #, 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:649 +#: src/common/command.c:651 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -2971,283 +2976,283 @@ msgstr "" "%s nombre de paramtres incorrect pour la commande IRC \"%s\" (attendu: " "entre %d et %d paramtre%s)\n" -#: src/common/command.c:664 +#: src/common/command.c:666 #, 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:725 +#: src/common/command.c:727 #, 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:859 +#: src/common/command.c:861 msgid "This window is not a channel!\n" msgstr "Cette fentre n'est pas un canal !\n" -#: src/common/command.c:890 src/common/command.c:921 src/common/command.c:1036 +#: src/common/command.c:892 src/common/command.c:923 src/common/command.c:1038 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s paramtres manquants pour la commande \"%s\"\n" -#: src/common/command.c:897 +#: src/common/command.c:899 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "%s l'alias ne peut pas commencer par \"/\"\n" -#: src/common/command.c:906 +#: src/common/command.c:908 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" cr\n" -#: src/common/command.c:912 +#: src/common/command.c:914 #, 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:932 +#: src/common/command.c:934 msgid "List of aliases:\n" msgstr "Liste des alias:\n" -#: src/common/command.c:946 +#: src/common/command.c:948 msgid "No alias defined.\n" msgstr "Aucun alias dfini.\n" -#: src/common/command.c:965 +#: src/common/command.c:967 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServeur: %s%s\n" -#: src/common/command.c:970 +#: src/common/command.c:972 #, c-format msgid "%snot connected\n" msgstr "%snon connect\n" -#: src/common/command.c:974 +#: src/common/command.c:976 #, 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:983 +#: src/common/command.c:985 #, 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:992 +#: src/common/command.c:994 #, c-format msgid "%sunknown\n" msgstr "%sinconnu\n" -#: src/common/command.c:1015 +#: src/common/command.c:1017 msgid "Opened buffers:\n" msgstr "Tampons ouverts:\n" -#: src/common/command.c:1059 +#: src/common/command.c:1061 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s numro de buffer incorrect\n" -#: src/common/command.c:1075 +#: src/common/command.c:1077 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s impossible de fermer le tampon unique\n" -#: src/common/command.c:1085 +#: src/common/command.c:1087 #, 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:1134 +#: src/common/command.c:1136 msgid "Notify levels: " msgstr "Niveaux de notification: " -#: src/common/command.c:1163 src/common/command.c:1211 +#: src/common/command.c:1165 src/common/command.c:1213 #, 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:1172 +#: src/common/command.c:1174 #, 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:1181 +#: src/common/command.c:1183 #, 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:1191 +#: src/common/command.c:1193 msgid "(hotlist: never)\n" msgstr "(hotlist: jamais)\n" -#: src/common/command.c:1194 +#: src/common/command.c:1196 msgid "(hotlist: highlights)\n" msgstr "(hotlist: highlights)\n" -#: src/common/command.c:1197 +#: src/common/command.c:1199 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: highlights + messages)\n" -#: src/common/command.c:1200 +#: src/common/command.c:1202 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "(hotlist: highlights + messages + join/part (tous))\n" -#: src/common/command.c:1299 +#: src/common/command.c:1301 #, c-format msgid "Charsets for server %s%s%s: " msgstr "Jeux de caractres pour le serveur %s%s%s: " -#: src/common/command.c:1307 +#: src/common/command.c:1309 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "Jeux de caractres pour le canal %s%s%s: " -#: src/common/command.c:1315 +#: src/common/command.c:1317 #, c-format msgid "Charsets for private %s%s%s: " msgstr "Jeux de caractres pour le priv %s%s%s: " -#: src/common/command.c:1343 src/common/command.c:1373 -#: src/common/command.c:1403 +#: src/common/command.c:1345 src/common/command.c:1375 +#: src/common/command.c:1405 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr " (hrit: \"%s%s%s\")" -#: src/common/command.c:1467 src/common/command.c:1490 -#: src/common/command.c:1624 src/common/command.c:2235 -#: src/common/command.c:3312 src/common/command.c:3355 +#: src/common/command.c:1469 src/common/command.c:1492 +#: src/common/command.c:1626 src/common/command.c:2237 +#: src/common/command.c:3301 src/common/command.c:3344 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "%s option inconnue pour la commande \"%s\"\n" -#: src/common/command.c:1520 +#: src/common/command.c:1522 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s dj connect au serveur \"%s\" !\n" -#: src/common/command.c:1528 +#: src/common/command.c:1530 #, 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:1546 src/common/command.c:1669 +#: src/common/command.c:1548 src/common/command.c:1671 #, c-format msgid "%s server not found\n" msgstr "%s serveur non trouv\n" -#: src/common/command.c:1653 +#: src/common/command.c:1655 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s non connect au serveur \"%s\" !\n" -#: src/common/command.c:1661 +#: src/common/command.c:1663 msgid "Auto-reconnection is cancelled\n" msgstr "La reconnexion automatique est annule\n" -#: src/common/command.c:1695 src/common/weechat.c:400 +#: src/common/command.c:1697 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "Commandes internes %s :\n" -#: src/common/command.c:1705 src/common/weechat.c:420 +#: src/common/command.c:1707 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "Commandes IRC :\n" -#: src/common/command.c:1719 +#: src/common/command.c:1721 msgid "Plugin commands:\n" msgstr "Commandes d'extension :\n" -#: src/common/command.c:1835 +#: src/common/command.c:1837 #, 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:1901 +#: src/common/command.c:1903 #, 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:1935 +#: src/common/command.c:1937 msgid "List of ignore:\n" msgstr "Liste des ignore:\n" -#: src/common/command.c:1952 +#: src/common/command.c:1954 msgid "No ignore defined.\n" msgstr "Aucun ignore dfini.\n" -#: src/common/command.c:1978 +#: src/common/command.c:1980 msgid "New ignore:" msgstr "Nouveau ignore:" -#: src/common/command.c:1998 +#: src/common/command.c:2000 #, c-format msgid "New key binding: %s" msgstr "Nouvelle touche: %s" -#: src/common/command.c:2035 +#: src/common/command.c:2037 msgid "Key bindings:\n" msgstr "Associations de touches:\n" -#: src/common/command.c:2049 +#: src/common/command.c:2051 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Touche \"%s\" supprime\n" -#: src/common/command.c:2055 +#: src/common/command.c:2057 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "%s impossible de supprimer la touche \"%s\"\n" -#: src/common/command.c:2063 src/common/weechat.c:452 +#: src/common/command.c:2065 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "Fonctions internes pour les touches:\n" -#: src/common/command.c:2083 +#: src/common/command.c:2085 msgid "Default key bindings restored\n" msgstr "Touches par dfaut restaures\n" -#: src/common/command.c:2089 +#: src/common/command.c:2091 #, 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:2148 +#: src/common/command.c:2150 msgid "Plugins loaded:\n" msgstr "Extensions charges :\n" -#: src/common/command.c:2164 +#: src/common/command.c:2166 msgid " message handlers:\n" msgstr " fonctions de message :\n" -#: src/common/command.c:2173 +#: src/common/command.c:2175 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:2180 +#: src/common/command.c:2182 msgid " (no message handler)\n" msgstr " (aucunne fonction de message)\n" -#: src/common/command.c:2185 +#: src/common/command.c:2187 msgid " command handlers:\n" msgstr " commandes :\n" -#: src/common/command.c:2206 +#: src/common/command.c:2208 msgid " (no command handler)\n" msgstr " (aucune commande)\n" -#: src/common/command.c:2212 +#: src/common/command.c:2214 msgid " (no plugin)\n" msgstr " (aucune extension)\n" -#: src/common/command.c:2248 +#: src/common/command.c:2250 msgid "" "Command \"plugin\" is not available, WeeChat was built without plugins " "support.\n" @@ -3255,31 +3260,31 @@ msgstr "" "La commande \"plugin\" n'est pas disponible, WeeChat a t compil sans le " "support des extensions.\n" -#: src/common/command.c:2299 +#: src/common/command.c:2301 msgid "No server.\n" msgstr "Pas de serveur.\n" -#: src/common/command.c:2310 +#: src/common/command.c:2312 #, c-format msgid "Server '%s' not found.\n" msgstr "Serveur '%s' non trouv.\n" -#: src/common/command.c:2322 +#: src/common/command.c:2324 #, 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:2330 +#: src/common/command.c:2332 #, 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:2349 +#: src/common/command.c:2351 #, 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:2357 +#: src/common/command.c:2359 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3288,179 +3293,179 @@ msgstr "" "%s vous ne pouvez pas supprimer le server \"%s\" car vous tes connect " "dessus. Essayez /disconnect %s avant.\n" -#: src/common/command.c:2377 +#: src/common/command.c:2379 #, 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:2396 +#: src/common/command.c:2398 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s paramtres manquants pour la commande \"%s\"\n" -#: src/common/command.c:2406 +#: src/common/command.c:2408 #, 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:2435 src/common/command.c:2463 -#: src/common/command.c:2476 src/common/command.c:2502 +#: src/common/command.c:2437 src/common/command.c:2465 +#: src/common/command.c:2478 src/common/command.c:2504 #, 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:2448 +#: src/common/command.c:2450 #, 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:2489 +#: src/common/command.c:2491 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s commande manquante pour le paramtre \"%s\"\n" -#: src/common/command.c:2525 +#: src/common/command.c:2527 #, c-format msgid "Server %s%s%s created\n" msgstr "Serveur %s%s%s cr\n" -#: src/common/command.c:2534 +#: src/common/command.c:2536 #, c-format msgid "%s unable to create server\n" msgstr "%s impossible de crer le serveur\n" -#: src/common/command.c:2593 +#: src/common/command.c:2595 msgid "(unknown)" msgstr "(inconnu)" -#: src/common/command.c:2616 +#: src/common/command.c:2618 #, c-format msgid "%s(password hidden) " msgstr "%s(mot de passe cach) " -#: src/common/command.c:2712 +#: src/common/command.c:2714 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s serveur \"%s\" non trouv\n" -#: src/common/command.c:2745 src/common/command.c:2793 +#: src/common/command.c:2747 src/common/command.c:2795 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s option de configuration \"%s\" non trouve\n" -#: src/common/command.c:2750 src/common/command.c:2785 +#: src/common/command.c:2752 src/common/command.c:2787 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s valeur incorrecte pour l'option \"%s\"\n" -#: src/common/command.c:2766 +#: src/common/command.c:2768 #, 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:2876 +#: src/common/command.c:2878 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Aucune option de configuration trouve avec \"%s\"\n" -#: src/common/command.c:2879 +#: src/common/command.c:2881 msgid "No config option found\n" msgstr "Aucune option de configuration trouve\n" -#: src/common/command.c:2886 +#: src/common/command.c:2888 #, c-format msgid "%sDetail:\n" msgstr "%sDtail :\n" -#: src/common/command.c:2891 src/common/weechat.c:336 +#: src/common/command.c:2893 src/common/weechat.c:336 #, c-format msgid " . type boolean (values: 'on' or 'off')\n" msgstr " . type boolen (valeurs: 'on' ou 'off')\n" -#: src/common/command.c:2892 src/common/command.c:2915 -#: src/common/command.c:2921 src/common/command.c:2927 +#: src/common/command.c:2894 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/command.c:2929 #: src/common/weechat.c:337 src/common/weechat.c:360 src/common/weechat.c:366 #: src/common/weechat.c:372 #, c-format msgid " . default value: '%s'\n" msgstr " . valeur par dfaut: '%s'\n" -#: src/common/command.c:2897 src/common/weechat.c:342 +#: src/common/command.c:2899 src/common/weechat.c:342 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr " . type entier (valeurs: entre %d et %d)\n" -#: src/common/command.c:2900 src/common/weechat.c:345 +#: src/common/command.c:2902 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr " . valeur par dfaut: %d\n" -#: src/common/command.c:2904 src/common/weechat.c:349 +#: src/common/command.c:2906 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr " . type chane (valeurs: " -#: src/common/command.c:2917 src/common/command.c:2923 -#: src/common/command.c:2929 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2919 src/common/command.c:2925 +#: src/common/command.c:2931 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "vide" -#: src/common/command.c:2920 src/common/weechat.c:365 +#: src/common/command.c:2922 src/common/weechat.c:365 #, c-format 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:2926 src/common/weechat.c:371 +#: src/common/command.c:2928 src/common/weechat.c:371 #, c-format msgid " . type string (any string)\n" msgstr " . type chane (toute chane)\n" -#: src/common/command.c:2932 src/common/weechat.c:377 +#: src/common/command.c:2934 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr " . description: %s\n" -#: src/common/command.c:2943 +#: src/common/command.c:2945 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "option(s) de configuration trouve(s) avec \"%s\"\n" -#: src/common/command.c:2946 +#: src/common/command.c:2948 msgid "config option(s) found\n" msgstr "option(s) de configuration trouve(s)\n" -#: src/common/command.c:2970 +#: src/common/command.c:2972 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias ou commande \"%s\" non trouv\n" -#: src/common/command.c:2980 +#: src/common/command.c:2982 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" supprim\n" -#: src/common/command.c:3036 +#: src/common/command.c:3038 msgid "ignore were removed.\n" msgstr "ignore ont t supprims.\n" -#: src/common/command.c:3038 +#: src/common/command.c:3040 msgid "ignore was removed.\n" msgstr "ignore a t supprim.\n" -#: src/common/command.c:3043 +#: src/common/command.c:3045 #, c-format msgid "%s no ignore found\n" msgstr "%s aucun ignore trouv\n" -#: src/common/command.c:3075 +#: src/common/command.c:3077 #, 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:3085 +#: src/common/command.c:3087 #, c-format msgid "" "%s can't upgrade: connection to at least one SSL server is active (should be " @@ -3469,35 +3474,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:3101 +#: src/common/command.c:3103 msgid "Upgrading WeeChat...\n" msgstr "Mise jour de WeeChat...\n" -#: src/common/command.c:3108 +#: src/common/command.c:3110 #, 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:3146 +#: src/common/command.c:3135 #, 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:3182 +#: src/common/command.c:3171 #, 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:3196 +#: src/common/command.c:3185 #, 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:3236 +#: src/common/command.c:3225 msgid "Opened windows:\n" msgstr "Fentres ouvertes:\n" -#: src/common/command.c:3323 +#: src/common/command.c:3312 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3565,7 +3570,7 @@ msgstr "**** Dbut du log " msgid "**** End of log " msgstr "**** Fin du log " -#: src/common/session.c:451 +#: src/common/session.c:453 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" @@ -3573,7 +3578,7 @@ msgstr "" "Dernire opration avec le fichier de session en position %ld, lecture de %d " "octets\n" -#: src/common/session.c:456 +#: src/common/session.c:458 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3584,284 +3589,284 @@ msgstr "" "dveloppeurs WeeChat pour du support.\n" "Faites attention, des infos prives peuvent se trouver dans ces fichiers.\n" -#: src/common/session.c:480 src/common/session.c:514 src/common/session.c:571 -#: src/common/session.c:612 +#: src/common/session.c:482 src/common/session.c:516 src/common/session.c:573 +#: src/common/session.c:614 #, c-format msgid "wrong type in file (expected: %d, read: %d)" msgstr "type erron dans le fichier (attendu: %d, lu: %d)" -#: src/common/session.c:583 src/common/session.c:624 +#: src/common/session.c:585 src/common/session.c:626 msgid "invalid length for a buffer" msgstr "longueur invalide pour une zone" -#: src/common/session.c:648 +#: src/common/session.c:650 msgid "object read error" msgstr "erreur de lecture de l'objet" -#: src/common/session.c:653 +#: src/common/session.c:655 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "objet erron (attendu: %d, lu: %d)" -#: src/common/session.c:663 +#: src/common/session.c:665 msgid "type read error" msgstr "erreur de lecture du type" -#: src/common/session.c:668 +#: src/common/session.c:670 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "type erron (attendu: %d, lu: %d)" -#: src/common/session.c:753 +#: src/common/session.c:755 msgid "server name not found" msgstr "nom de serveur non trouv" -#: src/common/session.c:758 +#: src/common/session.c:760 #, c-format msgid "session: loading server \"%s\"\n" msgstr "session: chargement du serveur \"%s\"\n" -#: src/common/session.c:762 +#: src/common/session.c:764 msgid "server found, updating values\n" msgstr "serveur trouv, mise jour des valeurs\n" -#: src/common/session.c:765 +#: src/common/session.c:767 msgid "server not found, creating new one\n" msgstr "serveur non trouv, cration d'un nouveau\n" -#: src/common/session.c:770 +#: src/common/session.c:772 msgid "can't create new server" msgstr "impossible de crer un nouveau serveur" -#: src/common/session.c:784 +#: src/common/session.c:786 msgid "unexpected end of file (reading server)" msgstr "fin de fichier inattendue (en lecture d'un serveur)" -#: src/common/session.c:872 +#: src/common/session.c:874 msgid "gnutls init error" msgstr "erreur d'initialisation gnutls" -#: src/common/session.c:889 +#: src/common/session.c:891 msgid "gnutls handshake failed" msgstr "le handshake gnutls a chou" -#: src/common/session.c:932 +#: src/common/session.c:934 #, c-format msgid "session: warning: ignoring value from server (object id: %d)\n" msgstr "session: attention: valeur ignore pour un serveur (id objet: %d)\n" -#: src/common/session.c:954 +#: src/common/session.c:956 msgid "channel found without server" msgstr "canal trouv sans serveur" -#: src/common/session.c:961 +#: src/common/session.c:963 msgid "channel type not found" msgstr "type de canal non trouv" -#: src/common/session.c:969 +#: src/common/session.c:971 msgid "channel name not found" msgstr "nom de canal non trouv" -#: src/common/session.c:974 +#: src/common/session.c:976 #, c-format msgid "session: loading channel \"%s\"\n" msgstr "session: chargement du canal \"%s\"\n" -#: src/common/session.c:982 +#: src/common/session.c:984 msgid "can't create new channel" msgstr "impossible de crer un nouveau canal" -#: src/common/session.c:992 +#: src/common/session.c:994 msgid "unexpected end of file (reading channel)" msgstr "fin de fichier inattendue (en lecture d'un canal)" -#: src/common/session.c:1022 +#: src/common/session.c:1024 #, c-format msgid "session: warning: ignoring value from channel (object id: %d)\n" msgstr "session: attention: valeur ignore pour un canal (id objet: %d)\n" -#: src/common/session.c:1045 +#: src/common/session.c:1047 msgid "nick found without channel" msgstr "pseudo non trouv pour le canal" -#: src/common/session.c:1053 +#: src/common/session.c:1055 msgid "nick name not found" msgstr "pseudo non trouv" -#: src/common/session.c:1063 +#: src/common/session.c:1065 msgid "can't create new nick" msgstr "impossible de crer un nouveau pseudo" -#: src/common/session.c:1073 +#: src/common/session.c:1075 msgid "unexpected end of file (reading nick)" msgstr "fin de fichier inattendue (en lecture d'un pseudo)" -#: src/common/session.c:1089 +#: src/common/session.c:1091 #, c-format msgid "session: warning: ignoring value from nick (object id: %d)\n" msgstr "session: attention: valeur ignore pour un pseudo (id objet: %d)\n" -#: src/common/session.c:1115 +#: src/common/session.c:1117 msgid "can't create new DCC" msgstr "impossible de crer un nouveau DCC" -#: src/common/session.c:1119 +#: src/common/session.c:1121 msgid "session: loading DCC\n" msgstr "session: chargement du DCC\n" -#: src/common/session.c:1129 +#: src/common/session.c:1131 msgid "unexpected end of file (reading DCC)" msgstr "fin de fichier inattendue (en lecture d'un DCC)" -#: src/common/session.c:1148 +#: src/common/session.c:1150 msgid "server not found for DCC" msgstr "serveur non trouv pour le DCC" -#: src/common/session.c:1157 +#: src/common/session.c:1159 msgid "DCC with channel but without server" msgstr "DCC avec un canal mais sans serveur" -#: src/common/session.c:1169 +#: src/common/session.c:1171 msgid "channel not found for DCC" msgstr "canal non trouv pour le DCC" -#: src/common/session.c:1243 +#: src/common/session.c:1245 #, c-format msgid "session: warning: ignoring value from DCC (object id: %d)\n" msgstr "session: attention: valeur ignore pour un DCC (id objet: %d)\n" -#: src/common/session.c:1263 +#: src/common/session.c:1265 msgid "session: loading buffer history\n" msgstr "session: chargement de l'historique du tampon\n" -#: src/common/session.c:1265 +#: src/common/session.c:1267 msgid "session: loading global history\n" msgstr "session: chargement de l'historique global\n" -#: src/common/session.c:1273 +#: src/common/session.c:1275 msgid "unexpected end of file (reading history)" msgstr "fin de fichier inattendue (en lecture de l'historique)" -#: src/common/session.c:1293 +#: src/common/session.c:1295 #, c-format msgid "session: warning: ignoring value from history (object id: %d)\n" msgstr "session: attention: valeur ignore pour un historique (id objet: %d)\n" -#: src/common/session.c:1319 +#: src/common/session.c:1321 msgid "server name not found for buffer" msgstr "nom de serveur non trouve pour le tampon" -#: src/common/session.c:1327 +#: src/common/session.c:1329 msgid "channel name not found for buffer" msgstr "nom de canal non trouv pour un tampon" -#: src/common/session.c:1334 +#: src/common/session.c:1336 msgid "dcc flag not found for buffer" msgstr "drapeau dcc non trouv pour un tampon" -#: src/common/session.c:1339 +#: src/common/session.c:1341 #, c-format msgid "session: loading buffer (server: %s, channel: %s, dcc: %d)\n" msgstr "session: chargement du tampon (serveur: %s, canal: %s, dcc: %d)\n" -#: src/common/session.c:1350 +#: src/common/session.c:1352 msgid "server not found for buffer" msgstr "serveur non trouv pour le tampon" -#: src/common/session.c:1360 +#: src/common/session.c:1362 msgid "channel not found for buffer" msgstr "canal non trouv pour le tampon" -#: src/common/session.c:1368 +#: src/common/session.c:1370 msgid "can't create new buffer" msgstr "impossible de crer un nouveau tampon" -#: src/common/session.c:1381 +#: src/common/session.c:1383 msgid "unexpected end of file (reading buffer)" msgstr "fin de fichier inattendue (en lecture d'un tampon)" -#: src/common/session.c:1391 +#: src/common/session.c:1393 #, c-format msgid "session: warning: ignoring value from buffer (object id: %d)\n" msgstr "session: attention: valeur ignore pour un pseudo (id objet: %d)\n" -#: src/common/session.c:1413 +#: src/common/session.c:1415 msgid "line found without buffer" msgstr "ligne trouve sans tampon" -#: src/common/session.c:1421 +#: src/common/session.c:1423 msgid "can't create new line" msgstr "impossible de crer une nouvelle ligne" -#: src/common/session.c:1431 +#: src/common/session.c:1433 msgid "unexpected end of file (reading line)" msgstr "fin de fichier inattendue (en lecture d'une ligne)" -#: src/common/session.c:1462 +#: src/common/session.c:1464 #, c-format msgid "session: warning: ignoring value from line (object id: %d)\n" msgstr "session: attention: valeur ignore pour une ligne (id objet: %d)\n" -#: src/common/session.c:1492 +#: src/common/session.c:1494 msgid "session file not found" msgstr "fichier de session non trouv" -#: src/common/session.c:1499 +#: src/common/session.c:1501 msgid "signature not found" msgstr "signature non trouve" -#: src/common/session.c:1504 +#: src/common/session.c:1506 msgid "bad session signature" msgstr "signature de session errone" -#: src/common/session.c:1515 +#: src/common/session.c:1517 msgid "object id not found" msgstr "id objet non trouv" -#: src/common/session.c:1523 +#: src/common/session.c:1525 msgid "failed to load server" msgstr "chec de chargement du serveur" -#: src/common/session.c:1530 +#: src/common/session.c:1532 msgid "failed to load channel" msgstr "chec de chargement du canal" -#: src/common/session.c:1537 +#: src/common/session.c:1539 msgid "failed to load nick" msgstr "chec de chargement du pseudo" -#: src/common/session.c:1544 +#: src/common/session.c:1546 msgid "failed to load DCC" msgstr "chec de chargement du DCC" -#: src/common/session.c:1551 +#: src/common/session.c:1553 msgid "failed to load history" msgstr "chec de chargement de l'historique" -#: src/common/session.c:1558 +#: src/common/session.c:1560 msgid "failed to load buffer" msgstr "chec de chargement du tampon" -#: src/common/session.c:1565 +#: src/common/session.c:1567 msgid "failed to load line" msgstr "chec de chargement de la ligne" -#: src/common/session.c:1570 +#: src/common/session.c:1572 #, c-format msgid "ignoring object (id: %d)\n" msgstr "objet ignor (id: %d)\n" -#: src/common/session.c:1574 +#: src/common/session.c:1576 #, c-format msgid "failed to ignore object (id: %d)" msgstr "impossible d'ignorer l'objet (id: %d)" -#: src/common/session.c:1598 +#: src/common/session.c:1600 #, c-format msgid "%s can't delete session file (%s)\n" msgstr "%s impossible de supprimer le fichier de session (%s)\n" -#: src/common/session.c:1604 +#: src/common/session.c:1606 msgid "Upgrade completed successfully\n" msgstr "Mise jour effectue avec succs\n" diff --git a/weechat/po/weechat.pot b/weechat/po/weechat.pot index 5bc460d30..a205881b4 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: 2005-12-12 12:05+0100\n" +"POT-Creation-Date: 2005-12-16 14:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -173,12 +173,12 @@ msgstr "" #: src/irc/irc-commands.c:35 src/irc/irc-commands.c:85 #: src/irc/irc-commands.c:162 src/irc/irc-commands.c:253 -#: src/irc/irc-commands.c:261 src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:262 src/irc/irc-commands.c:275 msgid "[target]" msgstr "" -#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:261 -#: src/irc/irc-commands.c:272 +#: src/irc/irc-commands.c:36 src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:276 msgid "target: server" msgstr "" @@ -198,7 +198,7 @@ msgstr "" msgid "send message to all channels of all connected servers" msgstr "" -#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:43 src/irc/irc-commands.c:288 msgid "text" msgstr "" @@ -270,7 +270,7 @@ msgstr "" #: src/irc/irc-commands.c:69 src/irc/irc-commands.c:72 #: src/irc/irc-commands.c:75 src/irc/irc-commands.c:82 -#: src/irc/irc-commands.c:280 +#: src/irc/irc-commands.c:284 msgid "[nickname [nickname]]" msgstr "" @@ -286,7 +286,7 @@ msgstr "" msgid "shutdown the server" msgstr "" -#: src/irc/irc-commands.c:80 +#: src/irc/irc-commands.c:79 msgid "error received from IRC server" msgstr "" @@ -320,11 +320,11 @@ msgstr "" msgid "check if a nickname is currently on IRC" msgstr "" -#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:94 src/irc/irc-commands.c:271 msgid "nickname [nickname ...]" msgstr "" -#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:269 +#: src/irc/irc-commands.c:95 src/irc/irc-commands.c:272 msgid "nickname: nickname" msgstr "" @@ -488,143 +488,143 @@ msgstr "" msgid "[channel[,channel]]" msgstr "" -#: src/irc/irc-commands.c:171 +#: src/irc/irc-commands.c:172 msgid "channel: channel name" msgstr "" -#: src/irc/irc-commands.c:173 +#: src/irc/irc-commands.c:174 msgid "change current nickname" msgstr "" -#: src/irc/irc-commands.c:174 +#: src/irc/irc-commands.c:175 msgid "[-all] nickname" msgstr "" -#: src/irc/irc-commands.c:175 +#: src/irc/irc-commands.c:176 msgid "" "-all: set new nickname for all connected servers\n" "nickname: new nickname" msgstr "" -#: src/irc/irc-commands.c:178 +#: src/irc/irc-commands.c:179 msgid "send notice message to user" msgstr "" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:180 msgid "nickname text" msgstr "" -#: src/irc/irc-commands.c:179 +#: src/irc/irc-commands.c:181 msgid "" "nickname: user to send notice to\n" "text: text to send" msgstr "" -#: src/irc/irc-commands.c:181 +#: src/irc/irc-commands.c:183 msgid "gives channel operator status to nickname(s)" msgstr "" -#: src/irc/irc-commands.c:182 +#: src/irc/irc-commands.c:184 msgid "nickname [nickname]" msgstr "" -#: src/irc/irc-commands.c:184 +#: src/irc/irc-commands.c:186 msgid "get operator privileges" msgstr "" -#: src/irc/irc-commands.c:185 +#: src/irc/irc-commands.c:187 msgid "user password" msgstr "" -#: src/irc/irc-commands.c:186 +#: src/irc/irc-commands.c:188 msgid "user/password: used to get privileges on current IRC server" msgstr "" -#: src/irc/irc-commands.c:188 +#: src/irc/irc-commands.c:190 msgid "leave a channel" msgstr "" -#: src/irc/irc-commands.c:189 +#: src/irc/irc-commands.c:191 msgid "[channel[,channel]] [part_message]" msgstr "" -#: src/irc/irc-commands.c:190 +#: src/irc/irc-commands.c:192 msgid "" "channel: channel name to leave\n" "part_message: part message (displayed to other users)" msgstr "" -#: src/irc/irc-commands.c:193 +#: src/irc/irc-commands.c:195 msgid "ping server" msgstr "" -#: src/irc/irc-commands.c:194 +#: src/irc/irc-commands.c:196 msgid "server1 [server2]" msgstr "" -#: src/irc/irc-commands.c:195 +#: src/irc/irc-commands.c:197 msgid "" "server1: server to ping\n" "server2: forward ping to this server" msgstr "" -#: src/irc/irc-commands.c:197 +#: src/irc/irc-commands.c:199 msgid "answer to a ping message" msgstr "" -#: src/irc/irc-commands.c:198 +#: src/irc/irc-commands.c:200 msgid "daemon [daemon2]" msgstr "" -#: src/irc/irc-commands.c:199 +#: src/irc/irc-commands.c:201 msgid "" "daemon: daemon who has responded to Ping message\n" "daemon2: forward message to this daemon" msgstr "" -#: src/irc/irc-commands.c:202 +#: src/irc/irc-commands.c:204 msgid "message received" msgstr "" -#: src/irc/irc-commands.c:205 +#: src/irc/irc-commands.c:206 msgid "send a private message to a nick" msgstr "" -#: src/irc/irc-commands.c:206 +#: src/irc/irc-commands.c:207 msgid "nickname [text]" msgstr "" -#: src/irc/irc-commands.c:207 +#: src/irc/irc-commands.c:208 msgid "" "nickname: nickname for private conversation\n" "text: text to send" msgstr "" -#: src/irc/irc-commands.c:210 +#: src/irc/irc-commands.c:211 msgid "close all connections & quit" msgstr "" -#: src/irc/irc-commands.c:211 +#: src/irc/irc-commands.c:212 msgid "[quit_message]" msgstr "" -#: src/irc/irc-commands.c:212 +#: src/irc/irc-commands.c:213 msgid "quit_message: quit message (displayed to other users)" msgstr "" -#: src/irc/irc-commands.c:214 +#: src/irc/irc-commands.c:215 msgid "send raw data to server without parsing" msgstr "" -#: src/irc/irc-commands.c:215 +#: src/irc/irc-commands.c:216 msgid "data" msgstr "" -#: src/irc/irc-commands.c:216 +#: src/irc/irc-commands.c:217 msgid "data: raw data to send" msgstr "" -#: src/irc/irc-commands.c:218 +#: src/irc/irc-commands.c:219 msgid "tell the server to reload its config file" msgstr "" @@ -632,71 +632,71 @@ msgstr "" msgid "tell the server to restart itself" msgstr "" -#: src/irc/irc-commands.c:224 +#: src/irc/irc-commands.c:223 msgid "register a new service" msgstr "" -#: src/irc/irc-commands.c:225 +#: src/irc/irc-commands.c:224 msgid "nickname reserved distribution type reserved info" msgstr "" -#: src/irc/irc-commands.c:226 +#: src/irc/irc-commands.c:225 msgid "" "distribution: visibility of service\n" "type: reserved for future usage" msgstr "" -#: src/irc/irc-commands.c:229 +#: src/irc/irc-commands.c:228 msgid "list services currently connected to the network" msgstr "" -#: src/irc/irc-commands.c:230 +#: src/irc/irc-commands.c:229 msgid "[mask [type]]" msgstr "" -#: src/irc/irc-commands.c:231 +#: src/irc/irc-commands.c:230 msgid "" "mask: list only services matching this mask\n" "type: list only services of this type" msgstr "" -#: src/irc/irc-commands.c:234 +#: src/irc/irc-commands.c:233 msgid "deliver a message to a service" msgstr "" -#: src/irc/irc-commands.c:235 +#: src/irc/irc-commands.c:234 msgid "service text" msgstr "" -#: src/irc/irc-commands.c:236 +#: src/irc/irc-commands.c:235 msgid "" "service: name of service\n" "text: text to send" msgstr "" -#: src/irc/irc-commands.c:238 +#: src/irc/irc-commands.c:237 msgid "disconnect server links" msgstr "" -#: src/irc/irc-commands.c:239 +#: src/irc/irc-commands.c:238 msgid "server comment" msgstr "" -#: src/irc/irc-commands.c:240 +#: src/irc/irc-commands.c:239 msgid "" "server: server name\n" "comment: comment for quit" msgstr "" -#: src/irc/irc-commands.c:242 +#: src/irc/irc-commands.c:241 msgid "query statistics about server" msgstr "" -#: src/irc/irc-commands.c:243 +#: src/irc/irc-commands.c:242 msgid "[query [server]]" msgstr "" -#: src/irc/irc-commands.c:244 +#: src/irc/irc-commands.c:243 msgid "" "query: c/h/i/k/l/m/o/y/u (see RFC1459)\n" "server: server name" @@ -723,524 +723,524 @@ msgstr "" msgid "query local time from server" msgstr "" -#: src/irc/irc-commands.c:253 +#: src/irc/irc-commands.c:254 msgid "target: query time from specified server" msgstr "" -#: src/irc/irc-commands.c:255 +#: src/irc/irc-commands.c:256 msgid "get/set channel topic" msgstr "" -#: src/irc/irc-commands.c:256 +#: src/irc/irc-commands.c:257 msgid "[channel] [topic]" msgstr "" -#: src/irc/irc-commands.c:257 +#: src/irc/irc-commands.c:258 msgid "" "channel: channel name\n" "topic: new topic for channel (if topic is \"-delete\" then topic is deleted)" msgstr "" -#: src/irc/irc-commands.c:260 +#: src/irc/irc-commands.c:261 msgid "find the route to specific server" msgstr "" -#: src/irc/irc-commands.c:263 +#: src/irc/irc-commands.c:265 msgid "unbans nicks or hosts" msgstr "" -#: src/irc/irc-commands.c:264 +#: src/irc/irc-commands.c:266 msgid "[channel] nickname [nickname ...]" msgstr "" -#: src/irc/irc-commands.c:265 +#: src/irc/irc-commands.c:267 msgid "" "channel: channel for unban\n" "nickname: user or host to unban" msgstr "" -#: src/irc/irc-commands.c:268 +#: src/irc/irc-commands.c:270 msgid "return a list of information about nicknames" msgstr "" -#: src/irc/irc-commands.c:271 +#: src/irc/irc-commands.c:274 msgid "list of users logged into the server" msgstr "" -#: src/irc/irc-commands.c:274 +#: src/irc/irc-commands.c:278 msgid "gives the version info of nick or server (current or specified)" msgstr "" -#: src/irc/irc-commands.c:275 +#: src/irc/irc-commands.c:279 msgid "[server | nickname]" msgstr "" -#: src/irc/irc-commands.c:276 +#: src/irc/irc-commands.c:280 msgid "" "server: server name\n" "nickname: nickname" msgstr "" -#: src/irc/irc-commands.c:279 +#: src/irc/irc-commands.c:283 msgid "gives voice to nickname(s)" msgstr "" -#: src/irc/irc-commands.c:282 +#: src/irc/irc-commands.c:286 msgid "" "send a message to all currently connected users who have set the 'w' user " "mode for themselves" msgstr "" -#: src/irc/irc-commands.c:284 +#: src/irc/irc-commands.c:289 msgid "text to send" msgstr "" -#: src/irc/irc-commands.c:286 +#: src/irc/irc-commands.c:291 msgid "generate a query which returns a list of information" msgstr "" -#: src/irc/irc-commands.c:287 +#: src/irc/irc-commands.c:292 msgid "[mask [\"o\"]]" msgstr "" -#: src/irc/irc-commands.c:288 +#: src/irc/irc-commands.c:293 msgid "" "mask: only information which match this mask\n" "o: only operators are returned according to the mask supplied" msgstr "" -#: src/irc/irc-commands.c:291 +#: src/irc/irc-commands.c:296 msgid "query information about user(s)" msgstr "" -#: src/irc/irc-commands.c:292 +#: src/irc/irc-commands.c:297 msgid "[server] nickname[,nickname]" msgstr "" -#: src/irc/irc-commands.c:293 +#: src/irc/irc-commands.c:298 msgid "" "server: server name\n" "nickname: nickname (may be a mask)" msgstr "" -#: src/irc/irc-commands.c:296 +#: src/irc/irc-commands.c:301 msgid "ask for information about a nickname which no longer exists" msgstr "" -#: src/irc/irc-commands.c:297 +#: src/irc/irc-commands.c:302 msgid "nickname [,nickname [,nickname ...]] [count [target]]" msgstr "" -#: src/irc/irc-commands.c:298 +#: src/irc/irc-commands.c:303 msgid "" "nickname: nickname to search\n" "count: number of replies to return (full search if negative number)\n" "target: reply should match this mask" msgstr "" -#: src/irc/irc-commands.c:302 src/irc/irc-commands.c:303 -#: src/irc/irc-commands.c:304 src/irc/irc-commands.c:305 -#: src/irc/irc-commands.c:306 src/irc/irc-commands.c:307 -#: src/irc/irc-commands.c:308 src/irc/irc-commands.c:309 -#: src/irc/irc-commands.c:310 src/irc/irc-commands.c:311 -#: src/irc/irc-commands.c:313 src/irc/irc-commands.c:314 -#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:316 -#: src/irc/irc-commands.c:317 src/irc/irc-commands.c:318 -#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:320 -#: src/irc/irc-commands.c:321 src/irc/irc-commands.c:322 -#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:324 -#: src/irc/irc-commands.c:325 src/irc/irc-commands.c:326 -#: src/irc/irc-commands.c:327 src/irc/irc-commands.c:328 -#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:330 -#: src/irc/irc-commands.c:331 src/irc/irc-commands.c:332 -#: src/irc/irc-commands.c:380 src/irc/irc-commands.c:381 -#: src/irc/irc-commands.c:382 src/irc/irc-commands.c:383 -#: src/irc/irc-commands.c:384 src/irc/irc-commands.c:385 -#: src/irc/irc-commands.c:491 +#: src/irc/irc-commands.c:307 src/irc/irc-commands.c:309 +#: src/irc/irc-commands.c:311 src/irc/irc-commands.c:313 +#: src/irc/irc-commands.c:315 src/irc/irc-commands.c:317 +#: src/irc/irc-commands.c:319 src/irc/irc-commands.c:321 +#: src/irc/irc-commands.c:323 src/irc/irc-commands.c:325 +#: src/irc/irc-commands.c:329 src/irc/irc-commands.c:331 +#: src/irc/irc-commands.c:333 src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:337 src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:341 src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:345 src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:349 src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:353 src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:357 src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:361 src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:365 src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:449 src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:453 src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:457 src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:569 msgid "a server message" msgstr "" -#: src/irc/irc-commands.c:312 +#: src/irc/irc-commands.c:327 msgid "user mode string" msgstr "" -#: src/irc/irc-commands.c:333 +#: src/irc/irc-commands.c:369 msgid "away message" msgstr "" -#: src/irc/irc-commands.c:334 +#: src/irc/irc-commands.c:371 msgid "userhost" msgstr "" -#: src/irc/irc-commands.c:335 +#: src/irc/irc-commands.c:373 msgid "ison" msgstr "" -#: src/irc/irc-commands.c:336 +#: src/irc/irc-commands.c:375 msgid "unaway" msgstr "" -#: src/irc/irc-commands.c:337 +#: src/irc/irc-commands.c:377 msgid "now away" msgstr "" -#: src/irc/irc-commands.c:338 +#: src/irc/irc-commands.c:379 msgid "whois (registered nick)" msgstr "" -#: src/irc/irc-commands.c:339 +#: src/irc/irc-commands.c:381 msgid "whois (user)" msgstr "" -#: src/irc/irc-commands.c:340 +#: src/irc/irc-commands.c:383 msgid "whois (server)" msgstr "" -#: src/irc/irc-commands.c:341 +#: src/irc/irc-commands.c:385 msgid "whois (operator)" msgstr "" -#: src/irc/irc-commands.c:342 +#: src/irc/irc-commands.c:387 msgid "whowas" msgstr "" -#: src/irc/irc-commands.c:343 +#: src/irc/irc-commands.c:389 msgid "end of /who list" msgstr "" -#: src/irc/irc-commands.c:344 +#: src/irc/irc-commands.c:391 msgid "whois (idle)" msgstr "" -#: src/irc/irc-commands.c:345 +#: src/irc/irc-commands.c:393 msgid "whois (end)" msgstr "" -#: src/irc/irc-commands.c:346 +#: src/irc/irc-commands.c:395 msgid "whois (channels)" msgstr "" -#: src/irc/irc-commands.c:347 +#: src/irc/irc-commands.c:397 msgid "whois (identified user)" msgstr "" -#: src/irc/irc-commands.c:348 +#: src/irc/irc-commands.c:399 msgid "/list start" msgstr "" -#: src/irc/irc-commands.c:349 +#: src/irc/irc-commands.c:401 msgid "channel (for /list)" msgstr "" -#: src/irc/irc-commands.c:350 +#: src/irc/irc-commands.c:403 msgid "/list end" msgstr "" -#: src/irc/irc-commands.c:351 +#: src/irc/irc-commands.c:405 msgid "channel mode" msgstr "" -#: src/irc/irc-commands.c:353 +#: src/irc/irc-commands.c:409 msgid "no topic for channel" msgstr "" -#: src/irc/irc-commands.c:354 +#: src/irc/irc-commands.c:411 msgid "topic of channel" msgstr "" -#: src/irc/irc-commands.c:355 +#: src/irc/irc-commands.c:412 msgid "channel :topic" msgstr "" -#: src/irc/irc-commands.c:356 +#: src/irc/irc-commands.c:413 msgid "" "channel: name of channel\n" "topic: topic of the channel" msgstr "" -#: src/irc/irc-commands.c:359 +#: src/irc/irc-commands.c:416 msgid "infos about topic (nick & date changed)" msgstr "" -#: src/irc/irc-commands.c:362 +#: src/irc/irc-commands.c:418 msgid "inviting" msgstr "" -#: src/irc/irc-commands.c:363 +#: src/irc/irc-commands.c:420 msgid "channel reop" msgstr "" -#: src/irc/irc-commands.c:364 +#: src/irc/irc-commands.c:422 msgid "end of channel reop list" msgstr "" -#: src/irc/irc-commands.c:365 +#: src/irc/irc-commands.c:424 msgid "channel exception list" msgstr "" -#: src/irc/irc-commands.c:366 +#: src/irc/irc-commands.c:426 msgid "end of channel exception list" msgstr "" -#: src/irc/irc-commands.c:367 +#: src/irc/irc-commands.c:428 msgid "server version" msgstr "" -#: src/irc/irc-commands.c:368 +#: src/irc/irc-commands.c:430 msgid "who" msgstr "" -#: src/irc/irc-commands.c:369 +#: src/irc/irc-commands.c:432 msgid "list of nicks on channel" msgstr "" -#: src/irc/irc-commands.c:370 +#: src/irc/irc-commands.c:433 msgid "channel :[[@|+]nick ...]" msgstr "" -#: src/irc/irc-commands.c:371 +#: src/irc/irc-commands.c:434 msgid "" "channel: name of channel\n" "nick: nick on the channel" msgstr "" -#: src/irc/irc-commands.c:374 +#: src/irc/irc-commands.c:437 msgid "links" msgstr "" -#: src/irc/irc-commands.c:375 +#: src/irc/irc-commands.c:439 msgid "end of /links list" msgstr "" -#: src/irc/irc-commands.c:376 +#: src/irc/irc-commands.c:441 msgid "end of /names list" msgstr "" -#: src/irc/irc-commands.c:377 +#: src/irc/irc-commands.c:443 msgid "banlist" msgstr "" -#: src/irc/irc-commands.c:378 +#: src/irc/irc-commands.c:445 msgid "end of banlist" msgstr "" -#: src/irc/irc-commands.c:379 +#: src/irc/irc-commands.c:447 msgid "end of /whowas list" msgstr "" -#: src/irc/irc-commands.c:386 +#: src/irc/irc-commands.c:461 msgid "you are now an IRC operator" msgstr "" -#: src/irc/irc-commands.c:387 +#: src/irc/irc-commands.c:463 msgid "rehashing" msgstr "" -#: src/irc/irc-commands.c:388 +#: src/irc/irc-commands.c:465 msgid "server local time" msgstr "" -#: src/irc/irc-commands.c:389 +#: src/irc/irc-commands.c:467 msgid "no such nick/channel" msgstr "" -#: src/irc/irc-commands.c:391 +#: src/irc/irc-commands.c:469 msgid "no such server" msgstr "" -#: src/irc/irc-commands.c:393 +#: src/irc/irc-commands.c:471 msgid "no such channel" msgstr "" -#: src/irc/irc-commands.c:395 +#: src/irc/irc-commands.c:473 msgid "cannot send to channel" msgstr "" -#: src/irc/irc-commands.c:397 +#: src/irc/irc-commands.c:475 msgid "too many channels" msgstr "" -#: src/irc/irc-commands.c:399 src/irc/irc-commands.c:401 +#: src/irc/irc-commands.c:477 src/irc/irc-commands.c:479 msgid "was no such nick" msgstr "" -#: src/irc/irc-commands.c:403 +#: src/irc/irc-commands.c:481 msgid "no origin" msgstr "" -#: src/irc/irc-commands.c:405 +#: src/irc/irc-commands.c:483 msgid "no services" msgstr "" -#: src/irc/irc-commands.c:407 +#: src/irc/irc-commands.c:485 msgid "no recipient" msgstr "" -#: src/irc/irc-commands.c:409 +#: src/irc/irc-commands.c:487 msgid "no text to send" msgstr "" -#: src/irc/irc-commands.c:411 +#: src/irc/irc-commands.c:489 msgid "no toplevel" msgstr "" -#: src/irc/irc-commands.c:413 +#: src/irc/irc-commands.c:491 msgid "wilcard in toplevel domain" msgstr "" -#: src/irc/irc-commands.c:415 +#: src/irc/irc-commands.c:493 msgid "unknown command" msgstr "" -#: src/irc/irc-commands.c:417 +#: src/irc/irc-commands.c:495 msgid "MOTD is missing" msgstr "" -#: src/irc/irc-commands.c:419 +#: src/irc/irc-commands.c:497 msgid "no administrative info" msgstr "" -#: src/irc/irc-commands.c:421 +#: src/irc/irc-commands.c:499 msgid "file error" msgstr "" -#: src/irc/irc-commands.c:423 +#: src/irc/irc-commands.c:501 msgid "no nickname given" msgstr "" -#: src/irc/irc-commands.c:425 +#: src/irc/irc-commands.c:503 msgid "erroneous nickname" msgstr "" -#: src/irc/irc-commands.c:427 +#: src/irc/irc-commands.c:505 msgid "nickname already in use" msgstr "" -#: src/irc/irc-commands.c:429 +#: src/irc/irc-commands.c:507 msgid "nickname collision" msgstr "" -#: src/irc/irc-commands.c:431 +#: src/irc/irc-commands.c:509 msgid "not authorized to change nickname" msgstr "" -#: src/irc/irc-commands.c:433 +#: src/irc/irc-commands.c:511 msgid "user not in channel" msgstr "" -#: src/irc/irc-commands.c:435 +#: src/irc/irc-commands.c:513 msgid "not on channel" msgstr "" -#: src/irc/irc-commands.c:437 +#: src/irc/irc-commands.c:515 msgid "user already on channel" msgstr "" -#: src/irc/irc-commands.c:439 +#: src/irc/irc-commands.c:517 msgid "user not logged in" msgstr "" -#: src/irc/irc-commands.c:441 +#: src/irc/irc-commands.c:519 msgid "summon has been disabled" msgstr "" -#: src/irc/irc-commands.c:443 +#: src/irc/irc-commands.c:521 msgid "users has been disabled" msgstr "" -#: src/irc/irc-commands.c:445 +#: src/irc/irc-commands.c:523 msgid "you are not registered" msgstr "" -#: src/irc/irc-commands.c:447 +#: src/irc/irc-commands.c:525 msgid "not enough parameters" msgstr "" -#: src/irc/irc-commands.c:449 +#: src/irc/irc-commands.c:527 msgid "you may not register" msgstr "" -#: src/irc/irc-commands.c:451 +#: src/irc/irc-commands.c:529 msgid "your host isn't among the privileged" msgstr "" -#: src/irc/irc-commands.c:453 +#: src/irc/irc-commands.c:531 msgid "password incorrect" msgstr "" -#: src/irc/irc-commands.c:455 +#: src/irc/irc-commands.c:533 msgid "you are banned from this server" msgstr "" -#: src/irc/irc-commands.c:457 +#: src/irc/irc-commands.c:535 msgid "channel key already set" msgstr "" -#: src/irc/irc-commands.c:459 +#: src/irc/irc-commands.c:537 msgid "forwarding to another channel" msgstr "" -#: src/irc/irc-commands.c:461 +#: src/irc/irc-commands.c:539 msgid "channel is already full" msgstr "" -#: src/irc/irc-commands.c:463 +#: src/irc/irc-commands.c:541 msgid "unknown mode char to me" msgstr "" -#: src/irc/irc-commands.c:465 +#: src/irc/irc-commands.c:543 msgid "cannot join channel (invite only)" msgstr "" -#: src/irc/irc-commands.c:467 +#: src/irc/irc-commands.c:545 msgid "cannot join channel (banned from channel)" msgstr "" -#: src/irc/irc-commands.c:469 +#: src/irc/irc-commands.c:547 msgid "cannot join channel (bad channel key)" msgstr "" -#: src/irc/irc-commands.c:471 +#: src/irc/irc-commands.c:549 msgid "bad channel mask" msgstr "" -#: src/irc/irc-commands.c:473 +#: src/irc/irc-commands.c:551 msgid "channel doesn't support modes" msgstr "" -#: src/irc/irc-commands.c:475 +#: src/irc/irc-commands.c:553 msgid "you're not an IRC operator" msgstr "" -#: src/irc/irc-commands.c:477 +#: src/irc/irc-commands.c:555 msgid "you're not channel operator" msgstr "" -#: src/irc/irc-commands.c:479 +#: src/irc/irc-commands.c:557 msgid "you can't kill a server!" msgstr "" -#: src/irc/irc-commands.c:481 +#: src/irc/irc-commands.c:559 msgid "your connection is restricted!" msgstr "" -#: src/irc/irc-commands.c:483 +#: src/irc/irc-commands.c:561 msgid "user is immune from kick/deop" msgstr "" -#: src/irc/irc-commands.c:485 +#: src/irc/irc-commands.c:563 msgid "no O-lines for your host" msgstr "" -#: src/irc/irc-commands.c:487 +#: src/irc/irc-commands.c:565 msgid "unknown mode flag" msgstr "" -#: src/irc/irc-commands.c:489 +#: src/irc/irc-commands.c:567 msgid "can't change mode for other users" msgstr "" -#: src/irc/irc-commands.c:492 +#: src/irc/irc-commands.c:571 msgid "whois (secure connection)" msgstr "" @@ -1288,7 +1288,7 @@ msgstr "" msgid "%s: using local hostname \"%s\"\n" msgstr "" -#: src/irc/irc-send.c:177 src/common/command.c:814 +#: src/irc/irc-send.c:177 src/common/command.c:816 #, c-format msgid "%s cannot find nick for sending message\n" msgstr "" @@ -1304,8 +1304,8 @@ msgstr "" #: src/irc/irc-send.c:489 src/irc/irc-send.c:501 src/irc/irc-send.c:519 #: src/irc/irc-send.c:1184 src/irc/irc-send.c:1309 src/irc/irc-send.c:1842 -#: src/common/command.c:1605 src/common/command.c:2103 -#: src/common/command.c:2242 +#: src/common/command.c:1607 src/common/command.c:2105 +#: src/common/command.c:2244 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "" @@ -1643,11 +1643,11 @@ msgstr "" msgid "%s[%s%s%s]%s idle: " msgstr "" -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "days" msgstr "" -#: src/irc/irc-recv.c:3159 src/common/command.c:3184 src/common/command.c:3202 +#: src/irc/irc-recv.c:3159 src/common/command.c:3173 src/common/command.c:3191 msgid "day" msgstr "" @@ -1999,79 +1999,79 @@ msgid "" "memory)\n" msgstr "" -#: src/plugins/plugins.c:248 +#: src/plugins/plugins.c:250 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (already exists)\n" msgstr "" -#: src/plugins/plugins.c:285 +#: src/plugins/plugins.c:288 #, c-format msgid "" "%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n" msgstr "" -#: src/plugins/plugins.c:532 +#: src/plugins/plugins.c:535 #, c-format msgid "%s unable to load plugin \"%s\": %s\n" msgstr "" -#: src/plugins/plugins.c:543 +#: src/plugins/plugins.c:546 #, c-format msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n" msgstr "" -#: src/plugins/plugins.c:554 +#: src/plugins/plugins.c:557 #, c-format msgid "" "%s unable to load plugin \"%s\": a plugin with same name already exists\n" msgstr "" -#: src/plugins/plugins.c:566 +#: src/plugins/plugins.c:569 #, c-format msgid "" "%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n" msgstr "" -#: src/plugins/plugins.c:577 +#: src/plugins/plugins.c:580 #, c-format msgid "" "%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n" msgstr "" -#: src/plugins/plugins.c:588 +#: src/plugins/plugins.c:591 #, c-format msgid "" "%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to " "load\n" msgstr "" -#: src/plugins/plugins.c:642 +#: src/plugins/plugins.c:645 #, c-format msgid "Initializing plugin \"%s\" %s\n" msgstr "" -#: src/plugins/plugins.c:650 +#: src/plugins/plugins.c:653 #, c-format msgid "%s unable to initialize plugin \"%s\"\n" msgstr "" -#: src/plugins/plugins.c:661 +#: src/plugins/plugins.c:664 #, c-format msgid "%s unable to load plugin \"%s\" (not enough memory)\n" msgstr "" -#: src/plugins/plugins.c:669 +#: src/plugins/plugins.c:672 #, c-format msgid "Plugin \"%s\" (%s) loaded.\n" msgstr "" -#: src/plugins/plugins.c:809 +#: src/plugins/plugins.c:838 #, c-format msgid "Plugin \"%s\" unloaded.\n" msgstr "" -#: src/plugins/plugins.c:815 +#: src/plugins/plugins.c:844 #, c-format msgid "%s plugin \"%s\" not found\n" msgstr "" @@ -2349,7 +2349,7 @@ msgstr "" msgid "grab a key" msgstr "" -#: src/gui/gui-keyboard.c:434 src/common/command.c:2118 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2120 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "" @@ -2470,33 +2470,33 @@ msgstr "" msgid "[command]" msgstr "" -#: src/common/command.c:85 +#: src/common/command.c:86 msgid "command: name of a WeeChat or IRC command" msgstr "" -#: src/common/command.c:87 +#: src/common/command.c:88 msgid "show buffer command history" msgstr "" -#: src/common/command.c:88 +#: src/common/command.c:89 msgid "[clear | value]" msgstr "" -#: src/common/command.c:89 +#: src/common/command.c:90 msgid "" "clear: clear history\n" "value: number of history entries to show" msgstr "" -#: src/common/command.c:92 +#: src/common/command.c:93 msgid "ignore IRC messages and/or hosts" msgstr "" -#: src/common/command.c:93 +#: src/common/command.c:94 msgid "[mask [[type | command] [channel [server]]]]" msgstr "" -#: src/common/command.c:94 +#: src/common/command.c:95 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2508,44 +2508,44 @@ msgid "" "Without argument, /ignore command lists all defined ignore." msgstr "" -#: src/common/command.c:102 +#: src/common/command.c:104 msgid "bind/unbind keys" msgstr "" -#: src/common/command.c:103 +#: src/common/command.c:105 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "" -#: src/common/command.c:104 +#: src/common/command.c:106 msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" -"unbind: unbind a key (if \"all\", default bindings are restored)\n" +"unbind: unbind a key\n" "functions: list internal functions for key bindings\n" "reset: restore bindings to the default values and delete ALL personal " "binding (use carefully!)" msgstr "" -#: src/common/command.c:109 +#: src/common/command.c:111 msgid "list/load/unload plugins" msgstr "" -#: src/common/command.c:110 +#: src/common/command.c:112 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "" -#: src/common/command.c:111 +#: src/common/command.c:113 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" "Without argument, /plugin command lists all loaded plugins." msgstr "" -#: src/common/command.c:114 +#: src/common/command.c:116 msgid "list, add or remove servers" msgstr "" -#: src/common/command.c:115 +#: src/common/command.c:117 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2553,7 +2553,7 @@ msgid "" "servername]" msgstr "" -#: src/common/command.c:120 +#: src/common/command.c:122 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2568,54 +2568,54 @@ msgid "" "realname: real name of user" msgstr "" -#: src/common/command.c:132 +#: src/common/command.c:134 msgid "save config to disk" msgstr "" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "[file]" msgstr "" -#: src/common/command.c:133 +#: src/common/command.c:135 msgid "file: filename for writing config" msgstr "" -#: src/common/command.c:135 +#: src/common/command.c:137 msgid "set config parameters" msgstr "" -#: src/common/command.c:136 +#: src/common/command.c:138 msgid "[option [ = value]]" msgstr "" -#: src/common/command.c:137 +#: src/common/command.c:139 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" "value: value for option" msgstr "" -#: src/common/command.c:141 +#: src/common/command.c:143 msgid "remove an alias" msgstr "" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name" msgstr "" -#: src/common/command.c:142 +#: src/common/command.c:144 msgid "alias_name: name of alias to remove" msgstr "" -#: src/common/command.c:144 +#: src/common/command.c:146 msgid "unignore IRC messages and/or hosts" msgstr "" -#: src/common/command.c:145 +#: src/common/command.c:147 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "" -#: src/common/command.c:146 +#: src/common/command.c:148 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2628,33 +2628,33 @@ msgid "" "Without argument, /unignore command lists all defined ignore." msgstr "" -#: src/common/command.c:155 +#: src/common/command.c:158 msgid "upgrade WeeChat without disconnecting from servers" msgstr "" -#: src/common/command.c:159 +#: src/common/command.c:160 msgid "show WeeChat uptime" msgstr "" -#: src/common/command.c:160 +#: src/common/command.c:161 msgid "[-o]" msgstr "" -#: src/common/command.c:161 +#: src/common/command.c:162 msgid "-o: send uptime on current channel as an IRC message" msgstr "" -#: src/common/command.c:163 +#: src/common/command.c:164 msgid "manage windows" msgstr "" -#: src/common/command.c:164 +#: src/common/command.c:165 msgid "" "[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv " "[pct] | resize pct | merge [all]]" msgstr "" -#: src/common/command.c:166 +#: src/common/command.c:167 #, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2675,564 +2675,564 @@ msgid "" "create a new window with size = current_size / 4" msgstr "" -#: src/common/command.c:323 +#: src/common/command.c:325 #, c-format msgid "%s alias or command \"%s\" already exists!\n" msgstr "" -#: src/common/command.c:333 +#: src/common/command.c:335 #, c-format msgid "%s alias cannot run another alias!\n" msgstr "" -#: src/common/command.c:340 +#: src/common/command.c:342 #, c-format msgid "%s target command \"/%s\" does not exist!\n" msgstr "" -#: src/common/command.c:578 +#: src/common/command.c:580 #, c-format msgid "%s wrong argument count for %s command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:590 +#: src/common/command.c:592 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:612 src/common/command.c:681 +#: src/common/command.c:614 src/common/command.c:683 #, c-format msgid "%s command \"%s\" failed\n" msgstr "" -#: src/common/command.c:637 +#: src/common/command.c:639 #, c-format msgid "%s wrong argument count for IRC command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:649 +#: src/common/command.c:651 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:664 +#: src/common/command.c:666 #, c-format msgid "%s command \"%s\" needs a server connection!\n" msgstr "" -#: src/common/command.c:725 +#: src/common/command.c:727 #, c-format msgid "%s unknown command \"%s\" (type /help for help)\n" msgstr "" -#: src/common/command.c:859 +#: src/common/command.c:861 msgid "This window is not a channel!\n" msgstr "" -#: src/common/command.c:890 src/common/command.c:921 src/common/command.c:1036 +#: src/common/command.c:892 src/common/command.c:923 src/common/command.c:1038 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "" -#: src/common/command.c:897 +#: src/common/command.c:899 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "" -#: src/common/command.c:906 +#: src/common/command.c:908 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "" -#: src/common/command.c:912 +#: src/common/command.c:914 #, c-format msgid "Failed to create alias \"%s\" => \"%s\" (not enough memory)\n" msgstr "" -#: src/common/command.c:932 +#: src/common/command.c:934 msgid "List of aliases:\n" msgstr "" -#: src/common/command.c:946 +#: src/common/command.c:948 msgid "No alias defined.\n" msgstr "" -#: src/common/command.c:965 +#: src/common/command.c:967 #, c-format msgid "%sServer: %s%s\n" msgstr "" -#: src/common/command.c:970 +#: src/common/command.c:972 #, c-format msgid "%snot connected\n" msgstr "" -#: src/common/command.c:974 +#: src/common/command.c:976 #, c-format msgid "%sChannel: %s%s %s(server: %s%s%s)\n" msgstr "" -#: src/common/command.c:983 +#: src/common/command.c:985 #, c-format msgid "%sPrivate with: %s%s %s(server: %s%s%s)\n" msgstr "" -#: src/common/command.c:992 +#: src/common/command.c:994 #, c-format msgid "%sunknown\n" msgstr "" -#: src/common/command.c:1015 +#: src/common/command.c:1017 msgid "Opened buffers:\n" msgstr "" -#: src/common/command.c:1059 +#: src/common/command.c:1061 #, c-format msgid "%s incorrect buffer number\n" msgstr "" -#: src/common/command.c:1075 +#: src/common/command.c:1077 #, c-format msgid "%s can not close the single buffer\n" msgstr "" -#: src/common/command.c:1085 +#: src/common/command.c:1087 #, c-format msgid "%s can not close server buffer while channels are opened\n" msgstr "" -#: src/common/command.c:1134 +#: src/common/command.c:1136 msgid "Notify levels: " msgstr "" -#: src/common/command.c:1163 src/common/command.c:1211 +#: src/common/command.c:1165 src/common/command.c:1213 #, c-format msgid "%s incorrect notify level (must be between %d and %d)\n" msgstr "" -#: src/common/command.c:1172 +#: src/common/command.c:1174 #, c-format msgid "%s incorrect buffer for notify (must be channel or private)\n" msgstr "" -#: src/common/command.c:1181 +#: src/common/command.c:1183 #, c-format msgid "New notify level for %s%s%s: %s%d %s" msgstr "" -#: src/common/command.c:1191 +#: src/common/command.c:1193 msgid "(hotlist: never)\n" msgstr "" -#: src/common/command.c:1194 +#: src/common/command.c:1196 msgid "(hotlist: highlights)\n" msgstr "" -#: src/common/command.c:1197 +#: src/common/command.c:1199 msgid "(hotlist: highlights + messages)\n" msgstr "" -#: src/common/command.c:1200 +#: src/common/command.c:1202 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "" -#: src/common/command.c:1299 +#: src/common/command.c:1301 #, c-format msgid "Charsets for server %s%s%s: " msgstr "" -#: src/common/command.c:1307 +#: src/common/command.c:1309 #, c-format msgid "Charsets for channel %s%s%s: " msgstr "" -#: src/common/command.c:1315 +#: src/common/command.c:1317 #, c-format msgid "Charsets for private %s%s%s: " msgstr "" -#: src/common/command.c:1343 src/common/command.c:1373 -#: src/common/command.c:1403 +#: src/common/command.c:1345 src/common/command.c:1375 +#: src/common/command.c:1405 #, c-format msgid " (inherited: \"%s%s%s\")" msgstr "" -#: src/common/command.c:1467 src/common/command.c:1490 -#: src/common/command.c:1624 src/common/command.c:2235 -#: src/common/command.c:3312 src/common/command.c:3355 +#: src/common/command.c:1469 src/common/command.c:1492 +#: src/common/command.c:1626 src/common/command.c:2237 +#: src/common/command.c:3301 src/common/command.c:3344 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "" -#: src/common/command.c:1520 +#: src/common/command.c:1522 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1528 +#: src/common/command.c:1530 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1546 src/common/command.c:1669 +#: src/common/command.c:1548 src/common/command.c:1671 #, c-format msgid "%s server not found\n" msgstr "" -#: src/common/command.c:1653 +#: src/common/command.c:1655 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1661 +#: src/common/command.c:1663 msgid "Auto-reconnection is cancelled\n" msgstr "" -#: src/common/command.c:1695 src/common/weechat.c:400 +#: src/common/command.c:1697 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "" -#: src/common/command.c:1705 src/common/weechat.c:420 +#: src/common/command.c:1707 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "" -#: src/common/command.c:1719 +#: src/common/command.c:1721 msgid "Plugin commands:\n" msgstr "" -#: src/common/command.c:1835 +#: src/common/command.c:1837 #, c-format msgid "No help available, \"%s\" is an unknown command\n" msgstr "" -#: src/common/command.c:1901 +#: src/common/command.c:1903 #, c-format msgid "%son %s%s%s/%s%s%s:%s ignoring %s%s%s from %s%s\n" msgstr "" -#: src/common/command.c:1935 +#: src/common/command.c:1937 msgid "List of ignore:\n" msgstr "" -#: src/common/command.c:1952 +#: src/common/command.c:1954 msgid "No ignore defined.\n" msgstr "" -#: src/common/command.c:1978 +#: src/common/command.c:1980 msgid "New ignore:" msgstr "" -#: src/common/command.c:1998 +#: src/common/command.c:2000 #, c-format msgid "New key binding: %s" msgstr "" -#: src/common/command.c:2035 +#: src/common/command.c:2037 msgid "Key bindings:\n" msgstr "" -#: src/common/command.c:2049 +#: src/common/command.c:2051 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "" -#: src/common/command.c:2055 +#: src/common/command.c:2057 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "" -#: src/common/command.c:2063 src/common/weechat.c:452 +#: src/common/command.c:2065 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "" -#: src/common/command.c:2083 +#: src/common/command.c:2085 msgid "Default key bindings restored\n" msgstr "" -#: src/common/command.c:2089 +#: src/common/command.c:2091 #, c-format msgid "%s \"-yes\" argument is required for keys reset (securuty reason)\n" msgstr "" -#: src/common/command.c:2148 +#: src/common/command.c:2150 msgid "Plugins loaded:\n" msgstr "" -#: src/common/command.c:2164 +#: src/common/command.c:2166 msgid " message handlers:\n" msgstr "" -#: src/common/command.c:2173 +#: src/common/command.c:2175 #, c-format msgid " IRC(%s)\n" msgstr "" -#: src/common/command.c:2180 +#: src/common/command.c:2182 msgid " (no message handler)\n" msgstr "" -#: src/common/command.c:2185 +#: src/common/command.c:2187 msgid " command handlers:\n" msgstr "" -#: src/common/command.c:2206 +#: src/common/command.c:2208 msgid " (no command handler)\n" msgstr "" -#: src/common/command.c:2212 +#: src/common/command.c:2214 msgid " (no plugin)\n" msgstr "" -#: src/common/command.c:2248 +#: src/common/command.c:2250 msgid "" "Command \"plugin\" is not available, WeeChat was built without plugins " "support.\n" msgstr "" -#: src/common/command.c:2299 +#: src/common/command.c:2301 msgid "No server.\n" msgstr "" -#: src/common/command.c:2310 +#: src/common/command.c:2312 #, c-format msgid "Server '%s' not found.\n" msgstr "" -#: src/common/command.c:2322 +#: src/common/command.c:2324 #, c-format msgid "%s missing servername for \"%s\" command\n" msgstr "" -#: src/common/command.c:2330 +#: src/common/command.c:2332 #, c-format msgid "%s too much arguments for \"%s\" command, ignoring arguments\n" msgstr "" -#: src/common/command.c:2349 +#: src/common/command.c:2351 #, c-format msgid "%s server \"%s\" not found for \"%s\" command\n" msgstr "" -#: src/common/command.c:2357 +#: src/common/command.c:2359 #, 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:2377 +#: src/common/command.c:2379 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "" -#: src/common/command.c:2396 +#: src/common/command.c:2398 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "" -#: src/common/command.c:2406 +#: src/common/command.c:2408 #, c-format msgid "%s server \"%s\" already exists, can't create it!\n" msgstr "" -#: src/common/command.c:2435 src/common/command.c:2463 -#: src/common/command.c:2476 src/common/command.c:2502 +#: src/common/command.c:2437 src/common/command.c:2465 +#: src/common/command.c:2478 src/common/command.c:2504 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2448 +#: src/common/command.c:2450 #, c-format msgid "%s missing nick(s) for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2489 +#: src/common/command.c:2491 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2525 +#: src/common/command.c:2527 #, c-format msgid "Server %s%s%s created\n" msgstr "" -#: src/common/command.c:2534 +#: src/common/command.c:2536 #, c-format msgid "%s unable to create server\n" msgstr "" -#: src/common/command.c:2593 +#: src/common/command.c:2595 msgid "(unknown)" msgstr "" -#: src/common/command.c:2616 +#: src/common/command.c:2618 #, c-format msgid "%s(password hidden) " msgstr "" -#: src/common/command.c:2712 +#: src/common/command.c:2714 #, c-format msgid "%s server \"%s\" not found\n" msgstr "" -#: src/common/command.c:2745 src/common/command.c:2793 +#: src/common/command.c:2747 src/common/command.c:2795 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "" -#: src/common/command.c:2750 src/common/command.c:2785 +#: src/common/command.c:2752 src/common/command.c:2787 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "" -#: src/common/command.c:2766 +#: src/common/command.c:2768 #, c-format msgid "%s option \"%s\" can not be changed while WeeChat is running\n" msgstr "" -#: src/common/command.c:2876 +#: src/common/command.c:2878 #, c-format msgid "No config option found with \"%s\"\n" msgstr "" -#: src/common/command.c:2879 +#: src/common/command.c:2881 msgid "No config option found\n" msgstr "" -#: src/common/command.c:2886 +#: src/common/command.c:2888 #, c-format msgid "%sDetail:\n" msgstr "" -#: src/common/command.c:2891 src/common/weechat.c:336 +#: src/common/command.c:2893 src/common/weechat.c:336 #, c-format msgid " . type boolean (values: 'on' or 'off')\n" msgstr "" -#: src/common/command.c:2892 src/common/command.c:2915 -#: src/common/command.c:2921 src/common/command.c:2927 +#: src/common/command.c:2894 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/command.c:2929 #: src/common/weechat.c:337 src/common/weechat.c:360 src/common/weechat.c:366 #: src/common/weechat.c:372 #, c-format msgid " . default value: '%s'\n" msgstr "" -#: src/common/command.c:2897 src/common/weechat.c:342 +#: src/common/command.c:2899 src/common/weechat.c:342 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr "" -#: src/common/command.c:2900 src/common/weechat.c:345 +#: src/common/command.c:2902 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr "" -#: src/common/command.c:2904 src/common/weechat.c:349 +#: src/common/command.c:2906 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr "" -#: src/common/command.c:2917 src/common/command.c:2923 -#: src/common/command.c:2929 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2919 src/common/command.c:2925 +#: src/common/command.c:2931 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "" -#: src/common/command.c:2920 src/common/weechat.c:365 +#: src/common/command.c:2922 src/common/weechat.c:365 #, c-format msgid " . type color (Curses or Gtk color, look at WeeChat doc)\n" msgstr "" -#: src/common/command.c:2926 src/common/weechat.c:371 +#: src/common/command.c:2928 src/common/weechat.c:371 #, c-format msgid " . type string (any string)\n" msgstr "" -#: src/common/command.c:2932 src/common/weechat.c:377 +#: src/common/command.c:2934 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr "" -#: src/common/command.c:2943 +#: src/common/command.c:2945 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "" -#: src/common/command.c:2946 +#: src/common/command.c:2948 msgid "config option(s) found\n" msgstr "" -#: src/common/command.c:2970 +#: src/common/command.c:2972 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "" -#: src/common/command.c:2980 +#: src/common/command.c:2982 #, c-format msgid "Alias \"%s\" removed\n" msgstr "" -#: src/common/command.c:3036 +#: src/common/command.c:3038 msgid "ignore were removed.\n" msgstr "" -#: src/common/command.c:3038 +#: src/common/command.c:3040 msgid "ignore was removed.\n" msgstr "" -#: src/common/command.c:3043 +#: src/common/command.c:3045 #, c-format msgid "%s no ignore found\n" msgstr "" -#: src/common/command.c:3075 +#: src/common/command.c:3077 #, c-format msgid "%s can't upgrade: connection to at least one server is pending\n" msgstr "" -#: src/common/command.c:3085 +#: src/common/command.c:3087 #, 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:3101 +#: src/common/command.c:3103 msgid "Upgrading WeeChat...\n" msgstr "" -#: src/common/command.c:3108 +#: src/common/command.c:3110 #, c-format msgid "%s unable to save session in file\n" msgstr "" -#: src/common/command.c:3146 +#: src/common/command.c:3135 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:3182 +#: src/common/command.c:3171 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "" -#: src/common/command.c:3196 +#: src/common/command.c:3185 #, 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:3236 +#: src/common/command.c:3225 msgid "Opened windows:\n" msgstr "" -#: src/common/command.c:3323 +#: src/common/command.c:3312 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3298,13 +3298,13 @@ msgstr "" msgid "**** End of log " msgstr "" -#: src/common/session.c:451 +#: src/common/session.c:453 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" msgstr "" -#: src/common/session.c:456 +#: src/common/session.c:458 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3312,284 +3312,284 @@ msgid "" "Be careful, private info may be in these files.\n" msgstr "" -#: src/common/session.c:480 src/common/session.c:514 src/common/session.c:571 -#: src/common/session.c:612 +#: src/common/session.c:482 src/common/session.c:516 src/common/session.c:573 +#: src/common/session.c:614 #, c-format msgid "wrong type in file (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:583 src/common/session.c:624 +#: src/common/session.c:585 src/common/session.c:626 msgid "invalid length for a buffer" msgstr "" -#: src/common/session.c:648 +#: src/common/session.c:650 msgid "object read error" msgstr "" -#: src/common/session.c:653 +#: src/common/session.c:655 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:663 +#: src/common/session.c:665 msgid "type read error" msgstr "" -#: src/common/session.c:668 +#: src/common/session.c:670 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:753 +#: src/common/session.c:755 msgid "server name not found" msgstr "" -#: src/common/session.c:758 +#: src/common/session.c:760 #, c-format msgid "session: loading server \"%s\"\n" msgstr "" -#: src/common/session.c:762 +#: src/common/session.c:764 msgid "server found, updating values\n" msgstr "" -#: src/common/session.c:765 +#: src/common/session.c:767 msgid "server not found, creating new one\n" msgstr "" -#: src/common/session.c:770 +#: src/common/session.c:772 msgid "can't create new server" msgstr "" -#: src/common/session.c:784 +#: src/common/session.c:786 msgid "unexpected end of file (reading server)" msgstr "" -#: src/common/session.c:872 +#: src/common/session.c:874 msgid "gnutls init error" msgstr "" -#: src/common/session.c:889 +#: src/common/session.c:891 msgid "gnutls handshake failed" msgstr "" -#: src/common/session.c:932 +#: src/common/session.c:934 #, c-format msgid "session: warning: ignoring value from server (object id: %d)\n" msgstr "" -#: src/common/session.c:954 +#: src/common/session.c:956 msgid "channel found without server" msgstr "" -#: src/common/session.c:961 +#: src/common/session.c:963 msgid "channel type not found" msgstr "" -#: src/common/session.c:969 +#: src/common/session.c:971 msgid "channel name not found" msgstr "" -#: src/common/session.c:974 +#: src/common/session.c:976 #, c-format msgid "session: loading channel \"%s\"\n" msgstr "" -#: src/common/session.c:982 +#: src/common/session.c:984 msgid "can't create new channel" msgstr "" -#: src/common/session.c:992 +#: src/common/session.c:994 msgid "unexpected end of file (reading channel)" msgstr "" -#: src/common/session.c:1022 +#: src/common/session.c:1024 #, c-format msgid "session: warning: ignoring value from channel (object id: %d)\n" msgstr "" -#: src/common/session.c:1045 +#: src/common/session.c:1047 msgid "nick found without channel" msgstr "" -#: src/common/session.c:1053 +#: src/common/session.c:1055 msgid "nick name not found" msgstr "" -#: src/common/session.c:1063 +#: src/common/session.c:1065 msgid "can't create new nick" msgstr "" -#: src/common/session.c:1073 +#: src/common/session.c:1075 msgid "unexpected end of file (reading nick)" msgstr "" -#: src/common/session.c:1089 +#: src/common/session.c:1091 #, c-format msgid "session: warning: ignoring value from nick (object id: %d)\n" msgstr "" -#: src/common/session.c:1115 +#: src/common/session.c:1117 msgid "can't create new DCC" msgstr "" -#: src/common/session.c:1119 +#: src/common/session.c:1121 msgid "session: loading DCC\n" msgstr "" -#: src/common/session.c:1129 +#: src/common/session.c:1131 msgid "unexpected end of file (reading DCC)" msgstr "" -#: src/common/session.c:1148 +#: src/common/session.c:1150 msgid "server not found for DCC" msgstr "" -#: src/common/session.c:1157 +#: src/common/session.c:1159 msgid "DCC with channel but without server" msgstr "" -#: src/common/session.c:1169 +#: src/common/session.c:1171 msgid "channel not found for DCC" msgstr "" -#: src/common/session.c:1243 +#: src/common/session.c:1245 #, c-format msgid "session: warning: ignoring value from DCC (object id: %d)\n" msgstr "" -#: src/common/session.c:1263 +#: src/common/session.c:1265 msgid "session: loading buffer history\n" msgstr "" -#: src/common/session.c:1265 +#: src/common/session.c:1267 msgid "session: loading global history\n" msgstr "" -#: src/common/session.c:1273 +#: src/common/session.c:1275 msgid "unexpected end of file (reading history)" msgstr "" -#: src/common/session.c:1293 +#: src/common/session.c:1295 #, c-format msgid "session: warning: ignoring value from history (object id: %d)\n" msgstr "" -#: src/common/session.c:1319 +#: src/common/session.c:1321 msgid "server name not found for buffer" msgstr "" -#: src/common/session.c:1327 +#: src/common/session.c:1329 msgid "channel name not found for buffer" msgstr "" -#: src/common/session.c:1334 +#: src/common/session.c:1336 msgid "dcc flag not found for buffer" msgstr "" -#: src/common/session.c:1339 +#: src/common/session.c:1341 #, c-format msgid "session: loading buffer (server: %s, channel: %s, dcc: %d)\n" msgstr "" -#: src/common/session.c:1350 +#: src/common/session.c:1352 msgid "server not found for buffer" msgstr "" -#: src/common/session.c:1360 +#: src/common/session.c:1362 msgid "channel not found for buffer" msgstr "" -#: src/common/session.c:1368 +#: src/common/session.c:1370 msgid "can't create new buffer" msgstr "" -#: src/common/session.c:1381 +#: src/common/session.c:1383 msgid "unexpected end of file (reading buffer)" msgstr "" -#: src/common/session.c:1391 +#: src/common/session.c:1393 #, c-format msgid "session: warning: ignoring value from buffer (object id: %d)\n" msgstr "" -#: src/common/session.c:1413 +#: src/common/session.c:1415 msgid "line found without buffer" msgstr "" -#: src/common/session.c:1421 +#: src/common/session.c:1423 msgid "can't create new line" msgstr "" -#: src/common/session.c:1431 +#: src/common/session.c:1433 msgid "unexpected end of file (reading line)" msgstr "" -#: src/common/session.c:1462 +#: src/common/session.c:1464 #, c-format msgid "session: warning: ignoring value from line (object id: %d)\n" msgstr "" -#: src/common/session.c:1492 +#: src/common/session.c:1494 msgid "session file not found" msgstr "" -#: src/common/session.c:1499 +#: src/common/session.c:1501 msgid "signature not found" msgstr "" -#: src/common/session.c:1504 +#: src/common/session.c:1506 msgid "bad session signature" msgstr "" -#: src/common/session.c:1515 +#: src/common/session.c:1517 msgid "object id not found" msgstr "" -#: src/common/session.c:1523 +#: src/common/session.c:1525 msgid "failed to load server" msgstr "" -#: src/common/session.c:1530 +#: src/common/session.c:1532 msgid "failed to load channel" msgstr "" -#: src/common/session.c:1537 +#: src/common/session.c:1539 msgid "failed to load nick" msgstr "" -#: src/common/session.c:1544 +#: src/common/session.c:1546 msgid "failed to load DCC" msgstr "" -#: src/common/session.c:1551 +#: src/common/session.c:1553 msgid "failed to load history" msgstr "" -#: src/common/session.c:1558 +#: src/common/session.c:1560 msgid "failed to load buffer" msgstr "" -#: src/common/session.c:1565 +#: src/common/session.c:1567 msgid "failed to load line" msgstr "" -#: src/common/session.c:1570 +#: src/common/session.c:1572 #, c-format msgid "ignoring object (id: %d)\n" msgstr "" -#: src/common/session.c:1574 +#: src/common/session.c:1576 #, c-format msgid "failed to ignore object (id: %d)" msgstr "" -#: src/common/session.c:1598 +#: src/common/session.c:1600 #, c-format msgid "%s can't delete session file (%s)\n" msgstr "" -#: src/common/session.c:1604 +#: src/common/session.c:1606 msgid "Upgrade completed successfully\n" msgstr "" diff --git a/weechat/src/common/command.c b/weechat/src/common/command.c index 1c76fa02f..ff497169a 100644 --- a/weechat/src/common/command.c +++ b/weechat/src/common/command.c @@ -46,7 +46,7 @@ t_weechat_command weechat_commands[] = N_("[alias_name [command [arguments]]"), N_("alias_name: name of alias\ncommand: command name (WeeChat " "or IRC command, without first '/')\n" "arguments: arguments for command"), - 0, MAX_ARGS, NULL, weechat_cmd_alias }, + "%- %A", 0, MAX_ARGS, NULL, weechat_cmd_alias }, { "buffer", N_("manage buffers"), N_("[action | number | [[server] [channel]]]"), N_("action: action to do:\n" @@ -56,39 +56,40 @@ t_weechat_command weechat_commands[] = " notify: set notify level for buffer (0=never, 1=highlight, 2=1+msg, 3=2+join/part)\n" "server,channel: jump to buffer by server and/or channel name\n" "number: jump to buffer by number"), - 0, MAX_ARGS, weechat_cmd_buffer, NULL }, + "move|close|list|notify", 0, MAX_ARGS, weechat_cmd_buffer, NULL }, { "charset", N_("change charset for server or channel"), N_("[(decode_iso | decode_utf | encode) charset]"), N_("decode_iso: charset used for decoding ISO\n" "decode_utf: charset used for decoding UTF\n" " encode: charset used for encoding messages\n" " charset: charset to use (for example: ISO-8859-15, UTF-8,..)"), - 0, 2, weechat_cmd_charset, NULL }, + "decode_iso|decode_utf|encode", 0, 2, weechat_cmd_charset, NULL }, { "clear", N_("clear window(s)"), N_("[-all]"), N_("-all: clear all windows"), - 0, 1, weechat_cmd_clear, NULL }, + "-all", 0, 1, weechat_cmd_clear, NULL }, { "connect", N_("connect to a server"), N_("[servername]"), N_("servername: server name to connect"), - 0, 1, weechat_cmd_connect, NULL }, + "%S", 0, 1, weechat_cmd_connect, NULL }, { "disconnect", N_("disconnect from a server"), N_("[servername]"), N_("servername: server name to disconnect"), - 0, 1, weechat_cmd_disconnect, NULL }, + "%S", 0, 1, weechat_cmd_disconnect, NULL }, { "debug", N_("print debug messages"), N_("dump | windows"), N_("dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)\n" "windows: display windows tree"), - 1, 1, weechat_cmd_debug, NULL }, + "dump|windows", 1, 1, weechat_cmd_debug, NULL }, { "help", N_("display help about commands"), - N_("[command]"), N_("command: name of a WeeChat or IRC command"), - 0, 1, weechat_cmd_help, NULL }, + N_("[command]"), + N_("command: name of a WeeChat or IRC command"), + "%w|%i|%h", 0, 1, weechat_cmd_help, NULL }, { "history", N_("show buffer command history"), N_("[clear | value]"), N_("clear: clear history\n" "value: number of history entries to show"), - 0, 1, weechat_cmd_history, NULL }, + "clear", 0, 1, weechat_cmd_history, NULL }, { "ignore", N_("ignore IRC messages and/or hosts"), N_("[mask [[type | command] [channel [server]]]]"), N_(" mask: nick or host mask to ignore\n" @@ -98,19 +99,20 @@ t_weechat_command weechat_commands[] = " server: name of server for ignore\n\n" "For each argument, '*' means all.\n" "Without argument, /ignore command lists all defined ignore."), + "*|%n *|action|ctcp|dcc|pv|%I *|%c *|%s", 0, 4, weechat_cmd_ignore, NULL }, { "key", N_("bind/unbind keys"), N_("[key function/command] [unbind key] [functions] [reset -yes]"), N_("key: bind this key to an internal function or a command (beginning by \"/\")\n" - "unbind: unbind a key (if \"all\", default bindings are restored)\n" + "unbind: unbind a key\n" "functions: list internal functions for key bindings\n" "reset: restore bindings to the default values and delete ALL personal binding (use carefully!)"), - 0, MAX_ARGS, NULL, weechat_cmd_key }, + "unbind|functions|reset %k", 0, MAX_ARGS, NULL, weechat_cmd_key }, { "plugin", N_("list/load/unload plugins"), N_("[load filename] | [autoload] | [reload] | [unload]"), N_("filename: WeeChat plugin (file) to load\n\n" "Without argument, /plugin command lists all loaded plugins."), - 0, 2, weechat_cmd_plugin, NULL }, + "load|autoload|reload|unload", 0, 2, weechat_cmd_plugin, NULL }, { "server", N_("list, add or remove servers"), N_("[servername] | " "[servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-pwd password] [-nicks nick1 " @@ -128,19 +130,19 @@ t_weechat_command weechat_commands[] = "nick3: second alternate nick for server\n" "username: user name\n" "realname: real name of user"), - 0, MAX_ARGS, weechat_cmd_server, NULL }, + NULL, 0, MAX_ARGS, weechat_cmd_server, NULL }, { "save", N_("save config to disk"), N_("[file]"), N_("file: filename for writing config"), - 0, 1, weechat_cmd_save, NULL }, + NULL, 0, 1, weechat_cmd_save, NULL }, { "set", N_("set config parameters"), N_("[option [ = value]]"), N_("option: name of an option (if name is full " "and no value is given, then help is displayed on option)\n" "value: value for option"), - 0, MAX_ARGS, NULL, weechat_cmd_set }, + "%o = %v", 0, MAX_ARGS, NULL, weechat_cmd_set }, { "unalias", N_("remove an alias"), N_("alias_name"), N_("alias_name: name of alias to remove"), - 1, 1, NULL, weechat_cmd_unalias }, + "%a", 1, 1, NULL, weechat_cmd_unalias }, { "unignore", N_("unignore IRC messages and/or hosts"), N_("[number | [mask [[type | command] [channel [server]]]]]"), N_(" number: # of ignore to unignore (number is displayed by list of ignore)\n" @@ -151,15 +153,14 @@ t_weechat_command weechat_commands[] = " server: name of server for unignore\n\n" "For each argument, '*' means all.\n" "Without argument, /unignore command lists all defined ignore."), + "*|%n *|action|ctcp|dcc|pv|%I *|%c *|%s", 0, 4, weechat_cmd_unignore, NULL }, - { "upgrade", N_("upgrade WeeChat without disconnecting from servers"), - "", - "", - 0, 0, weechat_cmd_upgrade, NULL }, + { "upgrade", N_("upgrade WeeChat without disconnecting from servers"), "", "", + NULL, 0, 0, weechat_cmd_upgrade, NULL }, { "uptime", N_("show WeeChat uptime"), N_("[-o]"), N_("-o: send uptime on current channel as an IRC message"), - 0, 1, weechat_cmd_uptime, NULL }, + "-o", 0, 1, weechat_cmd_uptime, NULL }, { "window", N_("manage windows"), N_("[list | -1 | +1 | b# | up | down | left | right | splith [pct] " "| splitv [pct] | resize pct | merge [all]]"), @@ -178,8 +179,9 @@ t_weechat_command weechat_commands[] = "For splith and splitv, pct is a pourcentage which represents " "size of new window, computed with current window as size reference. " "For example 25 means create a new window with size = current_size / 4"), + "list|-1|+1|up|down|left|right|splith|splitv|resize|merge all", 0, 2, weechat_cmd_window, NULL }, - { NULL, NULL, NULL, NULL, 0, 0, NULL, NULL } + { NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL } }; t_weechat_alias *weechat_alias = NULL; diff --git a/weechat/src/common/command.h b/weechat/src/common/command.h index 10cd44c86..4d9d7fcd0 100644 --- a/weechat/src/common/command.h +++ b/weechat/src/common/command.h @@ -31,13 +31,17 @@ typedef struct t_weechat_command t_weechat_command; struct t_weechat_command { - char *command_name; - char *command_description; - char *arguments; - char *arguments_description; - int min_arg, max_arg; + char *command_name; /* WeeChat (internal) command name */ + char *command_description; /* command description (for /help) */ + char *arguments; /* command arguments (for /help) */ + char *arguments_description; /* arguments description (for /help) */ + char *completion_template; /* template for completion */ + /* NULL=no completion, ""=default (nick) */ + int min_arg, max_arg; /* min & max number of arguments */ int (*cmd_function_args)(t_gui_window *, int, char **); + /* function called when user enters cmd */ int (*cmd_function_1arg)(t_gui_window *, char *); + /* function called when user enters cmd */ }; typedef struct t_weechat_alias t_weechat_alias; diff --git a/weechat/src/common/completion.c b/weechat/src/common/completion.c index c4202997f..a09cfd51b 100644 --- a/weechat/src/common/completion.c +++ b/weechat/src/common/completion.c @@ -45,8 +45,10 @@ */ void -completion_init (t_completion *completion) +completion_init (t_completion *completion, void *server, void *channel) { + completion->server = server; + completion->channel = channel; completion->context = COMPLETION_NULL; completion->base_command = NULL; completion->base_command_arg = 0; @@ -97,684 +99,637 @@ completion_stop (t_completion *completion) } /* - * completion_build_list: build data list according to command and argument # + * completion_get_command_infos: return completion template and max arg for command */ void -completion_build_list (t_completion *completion, void *server, void *channel) +completion_get_command_infos (t_completion *completion, + char **template, int *max_arg) { - t_weelist *ptr_list; - int i, j, length; - t_irc_server *ptr_server; - t_irc_channel *ptr_channel; - t_irc_nick *ptr_nick; - char *pos, option_name[256], *string, *string2; - t_weechat_alias *ptr_alias; - t_config_option *option; - void *option_value; - char option_string[2048]; + int i; #ifdef PLUGINS t_weechat_plugin *ptr_plugin; t_plugin_handler *ptr_handler; #endif - /* WeeChat internal commands */ + *template = NULL; + *max_arg = MAX_ARGS; - /* no completion for some commands */ - if ((ascii_strcasecmp (completion->base_command, "server") == 0) - || (ascii_strcasecmp (completion->base_command, "save") == 0)) +#ifdef PLUGINS + /* look for plugin command handler */ + for (ptr_plugin = weechat_plugins; ptr_plugin; + ptr_plugin = ptr_plugin->next_plugin) { - completion_stop (completion); - return; + for (ptr_handler = ptr_plugin->handlers; + ptr_handler; ptr_handler = ptr_handler->next_handler) + { + if ((ptr_handler->type == HANDLER_COMMAND) + && (ascii_strcasecmp (ptr_handler->command, + completion->base_command) == 0)) + { + *template = ptr_handler->completion_template; + *max_arg = MAX_ARGS; + return; + } + } } - if ((ascii_strcasecmp (completion->base_command, "alias") == 0) - && (completion->base_command_arg == 1)) +#endif + + /* look for WeeChat internal command */ + for (i = 0; weechat_commands[i].command_name; i++) { - for (ptr_list = index_commands; ptr_list; ptr_list = ptr_list->next_weelist) + if (ascii_strcasecmp (weechat_commands[i].command_name, + completion->base_command) == 0) { - weelist_add (&completion->completion_list, - &completion->last_completion, - ptr_list->data); + *template = weechat_commands[i].completion_template; + *max_arg = weechat_commands[i].max_arg; + return; } - return; } - if ((ascii_strcasecmp (completion->base_command, "buffer") == 0) - && (completion->base_command_arg == 1)) + + /* look for IRC command */ + for (i = 0; irc_commands[i].command_name; i++) + { + if ((irc_commands[i].cmd_function_args || irc_commands[i].cmd_function_1arg) + && (ascii_strcasecmp (irc_commands[i].command_name, + completion->base_command) == 0)) + { + *template = irc_commands[i].completion_template; + *max_arg = irc_commands[i].max_arg; + return; + } + } + + return; +} + +/* + * completion_list_add_alias: add alias to completion list + */ + +void +completion_list_add_alias (t_completion *completion) +{ + t_weechat_alias *ptr_alias; + + for (ptr_alias = weechat_alias; ptr_alias; ptr_alias = ptr_alias->next_alias) { weelist_add (&completion->completion_list, &completion->last_completion, - "close"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "list"); + ptr_alias->alias_name); + } +} + +/* + * completion_list_add_alias_cmd: add alias and comands to completion list + */ + +void +completion_list_add_alias_cmd (t_completion *completion) +{ + t_weelist *ptr_list; + + for (ptr_list = index_commands; ptr_list; ptr_list = ptr_list->next_weelist) + { weelist_add (&completion->completion_list, &completion->last_completion, - "move"); + ptr_list->data); + } +} + +/* + * completion_list_add_channel: add current channel to completion list + */ + +void +completion_list_add_channel (t_completion *completion) +{ + if (completion->channel) weelist_add (&completion->completion_list, &completion->last_completion, - "notify"); - return; - } - if (ascii_strcasecmp (completion->base_command, "charset") == 0) + ((t_irc_channel *)(completion->channel))->name); +} + +/* + * completion_list_add_server_channels: add server channels to completion list + */ + +void +completion_list_add_server_channels (t_completion *completion) +{ + t_irc_channel *ptr_channel; + + if (completion->server) { - if (completion->base_command_arg == 1) + for (ptr_channel = ((t_irc_server *)(completion->server))->channels; + ptr_channel; ptr_channel = ptr_channel->next_channel) { weelist_add (&completion->completion_list, &completion->last_completion, - "decode_iso"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "decode_utf"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "encode"); + ptr_channel->name); } - else if (completion->base_command_arg == 2) + } +} + +/* + * completion_list_add_filename: add filename to completion list + */ + +void +completion_list_add_filename (t_completion *completion) +{ + /* TODO: add filename completion */ + completion_stop (completion); +} + +/* + * completion_list_add_plugin_cmd: add plugin command handlers to completion list + */ + +void +completion_list_add_plugin_cmd (t_completion *completion) +{ +#ifdef PLUGINS + t_weechat_plugin *ptr_plugin; + t_plugin_handler *ptr_handler; + + 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 (!server) - { - completion_stop (completion); - return; - } - pos = strchr (completion->args, ' '); - if (pos) - pos[0] = '\0'; - string2 = NULL; - if (ascii_strcasecmp (completion->args, "decode_iso") == 0) - { - config_option_list_get_value (&(((t_irc_server *)server)->charset_decode_iso), - (channel) ? ((t_irc_channel *)channel)->name : "server", - &string, &length); - if (string && (length > 0)) - { - string2 = strdup (string); - string2[length] = '\0'; - } - } - else if (ascii_strcasecmp (completion->args, "decode_utf") == 0) - { - config_option_list_get_value (&(((t_irc_server *)server)->charset_decode_utf), - (channel) ? ((t_irc_channel *)channel)->name : "server", - &string, &length); - if (string && (length > 0)) - { - string2 = strdup (string); - string2[length] = '\0'; - } - } - else if (ascii_strcasecmp (completion->args, "encode") == 0) - { - config_option_list_get_value (&(((t_irc_server *)server)->charset_encode), - (channel) ? ((t_irc_channel *)channel)->name : "server", - &string, &length); - if (string && (length > 0)) - { - string2 = strdup (string); - string2[length] = '\0'; - } - } - - if (string2) - { + if (ptr_handler->type == HANDLER_COMMAND) weelist_add (&completion->completion_list, &completion->last_completion, - string2); - free (string2); - } - else - completion_stop (completion); - - if (pos) - pos[0] = ' '; + ptr_handler->command); } - else - completion_stop (completion); - return; } - if ((ascii_strcasecmp (completion->base_command, "clear") == 0) - && (completion->base_command_arg == 1)) +#else + /* make gcc happy */ + (void) completion; +#endif +} + +/* + * completion_list_add_irc_cmd_sent: add IRC command (sent) to completion list + */ + +void +completion_list_add_irc_cmd_sent (t_completion *completion) +{ + int i; + + for (i = 0; irc_commands[i].command_name; i++) + { + if (irc_commands[i].cmd_function_args || irc_commands[i].cmd_function_1arg) + weelist_add (&completion->completion_list, + &completion->last_completion, + irc_commands[i].command_name); + } +} + +/* + * completion_list_add_irc_cmd_recv: add IRC command (received) to completion list + */ + +void +completion_list_add_irc_cmd_recv (t_completion *completion) +{ + int i; + + for (i = 0; irc_commands[i].command_name; i++) + { + if (irc_commands[i].recv_function) + weelist_add(&completion->completion_list, + &completion->last_completion, + irc_commands[i].command_name); + } +} + +/* + * completion_list_add_key_cmd: add key commands/functions to completion list + */ + +void +completion_list_add_key_cmd (t_completion *completion) +{ + int i; + + for (i = 0; gui_key_functions[i].function_name; i++) { weelist_add (&completion->completion_list, &completion->last_completion, - "-all"); - return; + gui_key_functions[i].function_name); } - if ((ascii_strcasecmp (completion->base_command, "connect") == 0) - || (ascii_strcasecmp (completion->base_command, "disconnect") == 0)) +} + +/* + * completion_list_add_channel_nicks: add channel nicks to completion list + */ + +void +completion_list_add_channel_nicks (t_completion *completion) +{ + t_irc_nick *ptr_nick; + + if (completion->channel) { - if (completion->base_command_arg == 1) + if (((t_irc_channel *)(completion->channel))->type == CHANNEL_TYPE_CHANNEL) { - for (ptr_server = irc_servers; ptr_server; - ptr_server = ptr_server->next_server) + for (ptr_nick = ((t_irc_channel *)(completion->channel))->nicks; + ptr_nick; ptr_nick = ptr_nick->next_nick) { weelist_add (&completion->completion_list, &completion->last_completion, - ptr_server->name); + ptr_nick->nick); } - return; - } - else - { - completion_stop (completion); - return; } - } - if (ascii_strcasecmp (completion->base_command, "debug") == 0) - { - if (completion->base_command_arg == 1) + if (((t_irc_channel *)(completion->channel))->type == CHANNEL_TYPE_PRIVATE) { weelist_add (&completion->completion_list, &completion->last_completion, - "dump"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "windows"); + ((t_irc_channel *)(completion->channel))->name); } - else - completion_stop (completion); - return; - } - if ((ascii_strcasecmp (completion->base_command, "help") == 0) - && (completion->base_command_arg == 1)) - { - for (i = 0; weechat_commands[i].command_name; i++) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - weechat_commands[i].command_name); - } - for (i = 0; irc_commands[i].command_name; i++) - { - if (irc_commands[i].cmd_function_args || irc_commands[i].cmd_function_1arg) - weelist_add (&completion->completion_list, - &completion->last_completion, - irc_commands[i].command_name); - } -#ifdef PLUGINS - 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_COMMAND) - weelist_add (&completion->completion_list, - &completion->last_completion, - ptr_handler->command); - } - } -#endif - return; } - if (ascii_strcasecmp (completion->base_command, "history") == 0) - { - if (completion->base_command_arg == 1) - weelist_add (&completion->completion_list, - &completion->last_completion, - "clear"); - else - completion_stop (completion); - return; - } - if (ascii_strcasecmp (completion->base_command, "ignore") == 0) +} + +/* + * completion_list_add_option: add config option to completion list + */ + +void +completion_list_add_option (t_completion *completion) +{ + int i, j; + t_irc_server *ptr_server; + char option_name[256]; + + for (i = 0; i < CONFIG_NUMBER_SECTIONS; i++) { - /* arg 1: nicks of current channel and "*" */ - if (completion->base_command_arg == 1) + if ((i != CONFIG_SECTION_KEYS) && (i != CONFIG_SECTION_ALIAS) + && (i != CONFIG_SECTION_IGNORE) && (i != CONFIG_SECTION_SERVER)) { - weelist_add (&completion->completion_list, - &completion->last_completion, - "*"); - if (channel) - { - if (((t_irc_channel *)channel)->type == CHANNEL_TYPE_CHANNEL) - { - for (ptr_nick = ((t_irc_channel *)channel)->nicks; ptr_nick; - ptr_nick = ptr_nick->next_nick) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - ptr_nick->nick); - } - } - if (((t_irc_channel *)channel)->type == CHANNEL_TYPE_PRIVATE) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - ((t_irc_channel *)channel)->name); - } - } - return; - } - - /* arg 2: type / command and "*" */ - if (completion->base_command_arg == 2) - { - weelist_add(&completion->completion_list, - &completion->last_completion, - "*"); - i = 0; - while (ignore_types[i]) + for (j = 0; weechat_options[i][j].option_name; j++) { weelist_add (&completion->completion_list, &completion->last_completion, - ignore_types[i]); - i++; - } - i = 0; - while (irc_commands[i].command_name) - { - if (irc_commands[i].recv_function) - weelist_add(&completion->completion_list, - &completion->last_completion, - irc_commands[i].command_name); - i++; + weechat_options[i][j].option_name); } - return; - } - - /* arg 3: channel and "*" */ - if (completion->base_command_arg == 3) - { - weelist_add(&completion->completion_list, - &completion->last_completion, - "*"); - if (((t_irc_channel *)channel)->type == CHANNEL_TYPE_CHANNEL) - weelist_add(&completion->completion_list, - &completion->last_completion, - ((t_irc_channel *)channel)->name); - return; - } - - /* arg 4: server */ - if (completion->base_command_arg == 4) - { - weelist_add(&completion->completion_list, - &completion->last_completion, - "*"); - if (SERVER(gui_current_window->buffer)) - weelist_add(&completion->completion_list, - &completion->last_completion, - SERVER(gui_current_window->buffer)->name); - return; } } - if (ascii_strcasecmp (completion->base_command, "key") == 0) + for (ptr_server = irc_servers; ptr_server; + ptr_server = ptr_server->next_server) { - if (completion->base_command_arg == 1) + for (i = 0; weechat_options[CONFIG_SECTION_SERVER][i].option_name; i++) { + snprintf (option_name, sizeof (option_name), "%s.%s", + ptr_server->name, + weechat_options[CONFIG_SECTION_SERVER][i].option_name); weelist_add (&completion->completion_list, &completion->last_completion, - "unbind"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "functions"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "reset"); - return; - } - if (completion->base_command_arg == 2) - { - i = 0; - while (gui_key_functions[i].function_name) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - gui_key_functions[i].function_name); - i++; - } - return; + option_name); } } - if ((ascii_strcasecmp (completion->base_command, "plugin") == 0) - && (completion->base_command_arg == 1)) - { +} + +/* + * completion_list_add_part: add part message to completion list + */ + +void +completion_list_add_part (t_completion *completion) +{ + if (cfg_irc_default_msg_part && cfg_irc_default_msg_part[0]) weelist_add (&completion->completion_list, &completion->last_completion, - "load"); + cfg_irc_default_msg_part); +} + +/* + * completion_list_add_quit: add quit message to completion list + */ + +void +completion_list_add_quit (t_completion *completion) +{ + if (cfg_irc_default_msg_quit && cfg_irc_default_msg_quit[0]) weelist_add (&completion->completion_list, &completion->last_completion, - "autoload"); + cfg_irc_default_msg_quit); +} + +/* + * completion_list_add_server: add current server to completion list + */ + +void +completion_list_add_server (t_completion *completion) +{ + if (completion->server) weelist_add (&completion->completion_list, &completion->last_completion, - "reload"); + ((t_irc_server *)(completion->server))->name); +} + +/* + * completion_list_add_servers: add all servers to completion list + */ + +void +completion_list_add_servers (t_completion *completion) +{ + t_irc_server *ptr_server; + + for (ptr_server = irc_servers; ptr_server; + ptr_server = ptr_server->next_server) + { weelist_add (&completion->completion_list, &completion->last_completion, - "unload"); - return; + ptr_server->name); } - if (ascii_strcasecmp (completion->base_command, "set") == 0) +} + +/* + * completion_list_add_topic: add topic to completion list + */ + +void +completion_list_add_topic (t_completion *completion) +{ + char *string, *string2; + + if (!completion->server || !completion->channel + || !((t_irc_channel *)(completion->channel))->topic + || !((t_irc_channel *)(completion->channel))->topic[0]) + completion_stop (completion); + else + { + if (cfg_irc_colors_send) + string = (char *)gui_color_decode_for_user_entry ((unsigned char *)((t_irc_channel *)(completion->channel))->topic); + else + string = (char *)gui_color_decode ((unsigned char *)((t_irc_channel *)(completion->channel))->topic, 0); + string2 = channel_iconv_decode ((t_irc_server *)(completion->server), + (t_irc_channel *)(completion->channel), + (string) ? string : ((t_irc_channel *)(completion->channel))->topic); + weelist_add (&completion->completion_list, + &completion->last_completion, + (string2) ? string2 : ((string) ? string : ((t_irc_channel *)(completion->channel))->topic)); + if (string) + free (string); + if (string2) + free (string2); + } +} + +/* + * completion_list_add_option_value: add option value to completion list + */ + +void +completion_list_add_option_value (t_completion *completion) +{ + char *pos; + t_config_option *option; + void *option_value; + char option_string[2048]; + + if (completion->args) { - if (completion->base_command_arg == 1) + pos = strchr (completion->args, ' '); + if (pos) + pos[0] = '\0'; + option = NULL; + option_value = NULL; + config_option_search_option_value (completion->args, &option, &option_value); + if (option && option_value) { - for (i = 0; i < CONFIG_NUMBER_SECTIONS; i++) + switch (option->option_type) { - if ((i != CONFIG_SECTION_KEYS) && (i != CONFIG_SECTION_ALIAS) - && (i != CONFIG_SECTION_IGNORE) && (i != CONFIG_SECTION_SERVER)) - { - for (j = 0; weechat_options[i][j].option_name; j++) - { + case OPTION_TYPE_BOOLEAN: + if (option_value && (*((int *)(option_value)))) weelist_add (&completion->completion_list, &completion->last_completion, - weechat_options[i][j].option_name); - } - } - } - for (ptr_server = irc_servers; ptr_server; - ptr_server = ptr_server->next_server) - { - for (i = 0; weechat_options[CONFIG_SECTION_SERVER][i].option_name; i++) - { - snprintf (option_name, sizeof (option_name), "%s.%s", - ptr_server->name, - weechat_options[CONFIG_SECTION_SERVER][i].option_name); + "on"); + else + weelist_add (&completion->completion_list, + &completion->last_completion, + "off"); + break; + case OPTION_TYPE_INT: + snprintf (option_string, sizeof (option_string) - 1, + "%d", (option_value) ? *((int *)(option_value)) : option->default_int); weelist_add (&completion->completion_list, &completion->last_completion, - option_name); - } + option_string); + break; + case OPTION_TYPE_INT_WITH_STRING: + weelist_add (&completion->completion_list, + &completion->last_completion, + (option_value) ? + option->array_values[*((int *)(option_value))] : + option->array_values[option->default_int]); + break; + case OPTION_TYPE_COLOR: + weelist_add (&completion->completion_list, + &completion->last_completion, + (option_value) ? + gui_get_color_name (*((int *)(option_value))) : + option->default_string); + break; + case OPTION_TYPE_STRING: + snprintf (option_string, sizeof (option_string) - 1, + "\"%s\"", + (option_value) ? + *((char **)(option_value)) : + option->default_string); + weelist_add (&completion->completion_list, + &completion->last_completion, + option_string); + break; } } - else if (completion->base_command_arg == 3) + if (pos) + pos[0] = ' '; + } +} + +/* + * completion_list_add_weechat_cmd: add WeeChat commands to completion list + */ + +void +completion_list_add_weechat_cmd (t_completion *completion) +{ + int i; + + for (i = 0; weechat_commands[i].command_name; i++) + { + weelist_add (&completion->completion_list, + &completion->last_completion, + weechat_commands[i].command_name); + } +} + +/* + * completion_list_add_away: add away message to completion list + */ + +void +completion_list_add_away (t_completion *completion) +{ + if (cfg_irc_default_msg_away && cfg_irc_default_msg_away[0]) + weelist_add (&completion->completion_list, + &completion->last_completion, + cfg_irc_default_msg_away); +} + +/* + * completion_build_list_template: build data list according to a template + */ + +void +completion_build_list_template (t_completion *completion, char *template) +{ + char *word, *pos; + int word_offset; + + word = strdup (template); + word_offset = 0; + pos = template; + while (pos) + { + switch (pos[0]) { - if (completion->args) - { - pos = strchr (completion->args, ' '); - if (pos) - pos[0] = '\0'; - option = NULL; - option_value = NULL; - config_option_search_option_value (completion->args, &option, &option_value); - if (option && option_value) + case '\0': + case ' ': + case '|': + if (word_offset > 0) + { + word[word_offset] = '\0'; + weelist_add (&completion->completion_list, + &completion->last_completion, + word); + } + word_offset = 0; + break; + case '%': + pos++; + if (pos && pos[0]) { - switch (option->option_type) + switch (pos[0]) { - case OPTION_TYPE_BOOLEAN: - if (option_value && (*((int *)(option_value)))) - weelist_add (&completion->completion_list, - &completion->last_completion, - "on"); - else - weelist_add (&completion->completion_list, - &completion->last_completion, - "off"); + case '-': /* stop completion */ + completion_stop (completion); + free (word); + return; + break; + case 'a': /* alias */ + completion_list_add_alias (completion); break; - case OPTION_TYPE_INT: - snprintf (option_string, sizeof (option_string) - 1, - "%d", (option_value) ? *((int *)(option_value)) : option->default_int); - weelist_add (&completion->completion_list, - &completion->last_completion, - option_string); + case 'A': /* alias or any command */ + completion_list_add_alias_cmd (completion); break; - case OPTION_TYPE_INT_WITH_STRING: - weelist_add (&completion->completion_list, - &completion->last_completion, - (option_value) ? - option->array_values[*((int *)(option_value))] : - option->array_values[option->default_int]); + case 'c': /* current channel */ + completion_list_add_channel (completion); break; - case OPTION_TYPE_COLOR: - weelist_add (&completion->completion_list, - &completion->last_completion, - (option_value) ? - gui_get_color_name (*((int *)(option_value))) : - option->default_string); + case 'C': /* all channels */ + completion_list_add_server_channels (completion); break; - case OPTION_TYPE_STRING: - snprintf (option_string, sizeof (option_string) - 1, - "\"%s\"", - (option_value) ? - *((char **)(option_value)) : - option->default_string); - weelist_add (&completion->completion_list, - &completion->last_completion, - option_string); + case 'f': /* filename */ + completion_list_add_filename (completion); + break; + case 'h': /* plugin command handlers */ + completion_list_add_plugin_cmd (completion); + break; + case 'i': /* IRC command (sent) */ + completion_list_add_irc_cmd_sent (completion); + break; + case 'I': /* IRC command (received) */ + completion_list_add_irc_cmd_recv (completion); + break; + case 'k': /* key cmd/funtcions*/ + completion_list_add_key_cmd (completion); + break; + case 'n': /* channel nicks */ + completion_list_add_channel_nicks (completion); + break; + case 'o': /* config option */ + completion_list_add_option (completion); + break; + case 'p': /* part message */ + completion_list_add_part (completion); + break; + case 'q': /* quit message */ + completion_list_add_quit (completion); + break; + case 's': /* current server */ + completion_list_add_server (completion); + break; + case 'S': /* all servers */ + completion_list_add_servers (completion); + break; + case 't': /* topic */ + completion_list_add_topic (completion); + break; + case 'v': /* value of config option */ + completion_list_add_option_value (completion); + break; + case 'w': /* WeeChat commands */ + completion_list_add_weechat_cmd (completion); + break; + case 'y': /* away message */ + completion_list_add_away (completion); break; } } - if (pos) - pos[0] = ' '; - } + break; + default: + word[word_offset++] = pos[0]; } + /* end of argument in template? */ + if (!pos[0] || (pos[0] == ' ')) + pos = NULL; else - completion_stop (completion); - return; - } - if ((ascii_strcasecmp (completion->base_command, "unalias") == 0) - && (completion->base_command_arg == 1)) - { - for (ptr_alias = weechat_alias; ptr_alias; ptr_alias = ptr_alias->next_alias) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - ptr_alias->alias_name); - } - return; - } - if (ascii_strcasecmp (completion->base_command, "window") == 0) - { - if (completion->base_command_arg == 1) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - "list"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "splith"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "splitv"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "resize"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "merge"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "up"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "down"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "left"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "right"); - return; - } - - if (completion->base_command_arg == 2) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - "down"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "up"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "left"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "right"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "all"); - return; - } - - completion_stop (completion); - return; + pos++; } + free (word); +} + +/* + * completion_build_list: build data list according to command and argument # + */ + +void +completion_build_list (t_completion *completion) +{ + char *template, *pos_space; + int max_arg, i; - /* IRC commands */ - - /* no completion for some commands */ - if ((ascii_strcasecmp (completion->base_command, "admin") == 0) - || (ascii_strcasecmp (completion->base_command, "die") == 0) - || (ascii_strcasecmp (completion->base_command, "info") == 0) - || (ascii_strcasecmp (completion->base_command, "join") == 0) - || (ascii_strcasecmp (completion->base_command, "links") == 0) - || (ascii_strcasecmp (completion->base_command, "list") == 0) - || (ascii_strcasecmp (completion->base_command, "lusers") == 0) - || (ascii_strcasecmp (completion->base_command, "motd") == 0) - || (ascii_strcasecmp (completion->base_command, "oper") == 0) - || (ascii_strcasecmp (completion->base_command, "rehash") == 0) - || (ascii_strcasecmp (completion->base_command, "restart") == 0) - || (ascii_strcasecmp (completion->base_command, "service") == 0) - || (ascii_strcasecmp (completion->base_command, "servlist") == 0) - || (ascii_strcasecmp (completion->base_command, "squery") == 0) - || (ascii_strcasecmp (completion->base_command, "squit") == 0) - || (ascii_strcasecmp (completion->base_command, "stats") == 0) - || (ascii_strcasecmp (completion->base_command, "summon") == 0) - || (ascii_strcasecmp (completion->base_command, "time") == 0) - || (ascii_strcasecmp (completion->base_command, "trace") == 0) - || (ascii_strcasecmp (completion->base_command, "users") == 0) - || (ascii_strcasecmp (completion->base_command, "wallops") == 0) - || (ascii_strcasecmp (completion->base_command, "who") == 0)) + completion_get_command_infos (completion, &template, &max_arg); + if (!template || (completion->base_command_arg > max_arg)) { completion_stop (completion); return; } - if ((ascii_strcasecmp (completion->base_command, "away") == 0) - && (completion->base_command_arg == 1)) - { - if (cfg_irc_default_msg_away && cfg_irc_default_msg_away[0]) - weelist_add (&completion->completion_list, - &completion->last_completion, - cfg_irc_default_msg_away); - return; - } - if ((ascii_strcasecmp (completion->base_command, "ctcp") == 0) - && (completion->base_command_arg == 2)) + i = 1; + while (template && template[0]) { - weelist_add (&completion->completion_list, - &completion->last_completion, - "action"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "ping"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "version"); - return; - } - if ((ascii_strcasecmp (completion->base_command, "dcc") == 0) - && (completion->base_command_arg == 1)) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - "chat"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "send"); - weelist_add (&completion->completion_list, - &completion->last_completion, - "close"); - return; - } - if (ascii_strcasecmp (completion->base_command, "invite") == 0) - { - /* arg1: nickname */ - if (completion->base_command_arg == 1) - return; - - /* arg > 2: not allowed */ - if (completion->base_command_arg > 2) + pos_space = strchr (template, ' '); + if (i == completion->base_command_arg) { - completion_stop (completion); + completion_build_list_template (completion, template); return; } - - /* arg2: channel */ - if (SERVER(gui_current_window->buffer)) + if (pos_space) { - for (ptr_channel = SERVER(gui_current_window->buffer)->channels; - ptr_channel; ptr_channel = ptr_channel->next_channel) - { - weelist_add (&completion->completion_list, - &completion->last_completion, - ptr_channel->name); - } - } - return; - } - if (ascii_strcasecmp (completion->base_command, "kick") == 0) - { - if (completion->base_command_arg != 1) - completion_stop (completion); - return; - } - if (ascii_strcasecmp (completion->base_command, "kill") == 0) - { - if (completion->base_command_arg != 1) - completion_stop (completion); - return; - } - if (ascii_strcasecmp (completion->base_command, "me") == 0) - { - completion->context = COMPLETION_NICK; - return; - } - if (ascii_strcasecmp (completion->base_command, "notice") == 0) - { - if (completion->base_command_arg != 1) - completion_stop (completion); - return; - } - if ((ascii_strcasecmp (completion->base_command, "part") == 0) - && (completion->base_command_arg == 1)) - { - if (cfg_irc_default_msg_part && cfg_irc_default_msg_part[0]) - weelist_add (&completion->completion_list, - &completion->last_completion, - cfg_irc_default_msg_part); - return; - } - if (ascii_strcasecmp (completion->base_command, "query") == 0) - { - if (completion->base_command_arg != 1) - completion_stop (completion); - return; - } - if ((ascii_strcasecmp (completion->base_command, "quit") == 0) - && (completion->base_command_arg == 1)) - { - if (cfg_irc_default_msg_quit && cfg_irc_default_msg_quit[0]) - weelist_add (&completion->completion_list, - &completion->last_completion, - cfg_irc_default_msg_quit); - return; - } - if (ascii_strcasecmp (completion->base_command, "topic") == 0) - { - if (completion->base_command_arg == 1) - { - if (!channel || !((t_irc_channel *)channel)->topic - || !((t_irc_channel *)channel)->topic[0]) - completion_stop (completion); - else - { - if (cfg_irc_colors_send) - string = (char *)gui_color_decode_for_user_entry ((unsigned char *)((t_irc_channel *)channel)->topic); - else - string = (char *)gui_color_decode ((unsigned char *)((t_irc_channel *)channel)->topic, 0); - string2 = channel_iconv_decode ((t_irc_server *)server, - (t_irc_channel *)channel, - (string) ? string : ((t_irc_channel *)channel)->topic); - weelist_add (&completion->completion_list, - &completion->last_completion, - (string2) ? string2 : ((t_irc_channel *)channel)->topic); - if (string) - free (string); - if (string2) - free (string2); - } + template = pos_space; + while (template[0] == ' ') + template++; } else - completion_stop (completion); - return; + template = NULL; + i++; } } @@ -783,8 +738,7 @@ completion_build_list (t_completion *completion, void *server, void *channel) */ void -completion_find_context (t_completion *completion, void *server, void *channel, - char *buffer, int size, int pos) +completion_find_context (t_completion *completion, char *buffer, int size, int pos) { int i, command, command_arg, pos_start, pos_end; @@ -821,7 +775,7 @@ completion_find_context (t_completion *completion, void *server, void *channel, } else { - if (channel) + if (completion->channel) completion->context = COMPLETION_NICK; else completion->context = COMPLETION_NULL; @@ -894,7 +848,7 @@ completion_find_context (t_completion *completion, void *server, void *channel, for (i = pos_start; i <= pos_end; i++) completion->base_command[i - pos_start] = buffer[i]; completion->base_command[pos_end - pos_start + 1] = '\0'; - completion_build_list (completion, server, channel); + completion_build_list (completion); } } @@ -907,18 +861,18 @@ completion_find_context (t_completion *completion, void *server, void *channel, return; } - if (!completion->completion_list && channel && - (((t_irc_channel *)channel)->type == CHANNEL_TYPE_PRIVATE) + if (!completion->completion_list && completion->channel && + (((t_irc_channel *)(completion->channel))->type == CHANNEL_TYPE_PRIVATE) && (completion->context == COMPLETION_NICK)) { /* nick completion in private (only other nick and self) */ completion->context = COMPLETION_NICK; weelist_add (&completion->completion_list, &completion->last_completion, - ((t_irc_channel *)channel)->name); + ((t_irc_channel *)(completion->channel))->name); weelist_add (&completion->completion_list, &completion->last_completion, - SERVER(gui_current_window->buffer)->nick); + ((t_irc_server *)(completion->server))->nick); } } @@ -1043,8 +997,7 @@ completion_nickncmp (char *base_word, char *nick, int max) */ void -completion_command_arg (t_completion *completion, t_irc_channel *channel, - int nick_completion) +completion_command_arg (t_completion *completion, int nick_completion) { int length, word_found_seen, other_completion; t_weelist *ptr_weelist, *ptr_weelist2; @@ -1086,7 +1039,7 @@ completion_command_arg (t_completion *completion, t_irc_channel *channel, if (completion->word_found) { completion->word_found = NULL; - completion_command_arg (completion, channel, nick_completion); + completion_command_arg (completion, nick_completion); } } @@ -1095,24 +1048,25 @@ completion_command_arg (t_completion *completion, t_irc_channel *channel, */ void -completion_nick (t_completion *completion, t_irc_channel *channel) +completion_nick (t_completion *completion) { int length, word_found_seen, other_completion; t_irc_nick *ptr_nick, *ptr_nick2; - if (!channel) + if (!completion->channel) return; - if (((t_irc_channel *)channel)->type == CHANNEL_TYPE_PRIVATE) + if (((t_irc_channel *)(completion->channel))->type == CHANNEL_TYPE_PRIVATE) { - completion_command_arg (completion, channel, 1); + completion_command_arg (completion, 1); return; } length = strlen (completion->base_word); word_found_seen = 0; other_completion = 0; - for (ptr_nick = channel->nicks; ptr_nick; ptr_nick = ptr_nick->next_nick) + for (ptr_nick = ((t_irc_channel *)(completion->channel))->nicks; + ptr_nick; ptr_nick = ptr_nick->next_nick) { if (completion_nickncmp (completion->base_word, ptr_nick->nick, length) == 0) { @@ -1143,7 +1097,7 @@ completion_nick (t_completion *completion, t_irc_channel *channel) if (completion->word_found) { completion->word_found = NULL; - completion_nick (completion, channel); + completion_nick (completion); } } @@ -1152,8 +1106,7 @@ completion_nick (t_completion *completion, t_irc_channel *channel) */ void -completion_search (t_completion *completion, void *server, void *channel, - char *buffer, int size, int pos) +completion_search (t_completion *completion, char *buffer, int size, int pos) { char *old_word_found; @@ -1161,7 +1114,7 @@ completion_search (t_completion *completion, void *server, void *channel, if (pos != completion->position) { completion->word_found = NULL; - completion_find_context (completion, server, channel, buffer, size, pos); + completion_find_context (completion, buffer, size, pos); } /* completion */ @@ -1172,8 +1125,8 @@ completion_search (t_completion *completion, void *server, void *channel, /* should never be executed */ return; case COMPLETION_NICK: - if (channel) - completion_nick (completion, (t_irc_channel *)channel); + if (completion->channel) + completion_nick (completion); else return; break; @@ -1182,9 +1135,9 @@ completion_search (t_completion *completion, void *server, void *channel, break; case COMPLETION_COMMAND_ARG: if (completion->completion_list) - completion_command_arg (completion, (t_irc_channel *)channel, 0); + completion_command_arg (completion, 0); else - completion_nick (completion, (t_irc_channel *)channel); + completion_nick (completion); break; } if (completion->word_found) diff --git a/weechat/src/common/completion.h b/weechat/src/common/completion.h index 56464a3f7..32850dc2a 100644 --- a/weechat/src/common/completion.h +++ b/weechat/src/common/completion.h @@ -33,27 +33,29 @@ typedef struct t_completion t_completion; struct t_completion { /* completion context */ - int context; /* context: null, nick, command, cmd arg */ - char *base_command; /* command with arg to complete (can be NULL) */ - int base_command_arg; /* # arg to complete (if context is cmd arg) */ - char *base_word; /* word to complete (when Tab was pressed) */ - int base_word_pos; /* beggining of base word */ - int position; /* position where Tab was pressed */ - char *args; /* command line args (including base word) */ + void *server; /* server pointer */ + void *channel; /* channel pointer */ + int context; /* context: null, nick, command, cmd arg */ + char *base_command; /* command with arg to complete (can be NULL) */ + int base_command_arg; /* # arg to complete (if context is cmd arg) */ + char *base_word; /* word to complete (when Tab was pressed) */ + int base_word_pos; /* beggining of base word */ + int position; /* position where Tab was pressed */ + char *args; /* command line args (including base word) */ /* for command argument completion */ - t_weelist *completion_list; /* data list for completion */ - t_weelist *last_completion; /* last data element for completion */ + t_weelist *completion_list; /* data list for completion */ + t_weelist *last_completion; /* last data element for completion */ /* completion found */ - char *word_found; /* word found (to replace base word) */ - int position_replace; /* position where word has to be replaced */ - int diff_size; /* size difference (< 0 = char(s) deleted) */ - int diff_length; /* length difference (<= diff_size) */ + char *word_found; /* word found (to replace base word) */ + int position_replace; /* position where word has to be replaced */ + int diff_size; /* size difference (< 0 = char(s) deleted) */ + int diff_length; /* length difference (<= diff_size) */ }; -extern void completion_init (t_completion *); +extern void completion_init (t_completion *, void *, void *); extern void completion_free (t_completion *); -extern void completion_search (t_completion *, void *, void *, char *, int, int); +extern void completion_search (t_completion *, char *, int, int); #endif /* completion.h */ diff --git a/weechat/src/gui/gui-action.c b/weechat/src/gui/gui-action.c index e68e883f1..f84af7ced 100644 --- a/weechat/src/gui/gui-action.c +++ b/weechat/src/gui/gui-action.c @@ -126,8 +126,6 @@ gui_action_tab (t_gui_window *window) if (window->buffer->has_input) { completion_search (&(window->buffer->completion), - SERVER(window->buffer), - CHANNEL(window->buffer), window->buffer->input_buffer, window->buffer->input_buffer_size, utf8_real_pos (window->buffer->input_buffer, diff --git a/weechat/src/gui/gui-common.c b/weechat/src/gui/gui-common.c index 53bca6cc8..5f67d2ce7 100644 --- a/weechat/src/gui/gui-common.c +++ b/weechat/src/gui/gui-common.c @@ -474,7 +474,7 @@ gui_buffer_new (t_gui_window *window, void *server, void *channel, int dcc, new_buffer->input_buffer_1st_display = 0; /* init completion */ - completion_init (&(new_buffer->completion)); + completion_init (&(new_buffer->completion), server, channel); /* init history */ new_buffer->history = NULL; diff --git a/weechat/src/irc/irc-commands.c b/weechat/src/irc/irc-commands.c index c14a096c9..413197a46 100644 --- a/weechat/src/irc/irc-commands.c +++ b/weechat/src/irc/irc-commands.c @@ -34,462 +34,541 @@ t_irc_command irc_commands[] = { { "admin", N_("find information about the administrator of the server"), N_("[target]"), N_("target: server"), - 0, 1, 1, NULL, irc_cmd_send_admin, NULL }, + NULL, 0, 1, 1, NULL, irc_cmd_send_admin, NULL }, { "ame", N_("send a CTCP action to all channels of all connected servers"), N_("message"), N_("message: message to send"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_ame, NULL }, + "", 1, MAX_ARGS, 1, NULL, irc_cmd_send_ame, NULL }, { "amsg", N_("send message to all channels of all connected servers"), N_("text"), N_("text: text to send"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_amsg, NULL }, + "", 1, MAX_ARGS, 1, NULL, irc_cmd_send_amsg, NULL }, { "away", N_("toggle away status"), N_("[-all] [message]"), N_("-all: toggle away status on all connected servers\n" - "message: message for away (if no message is given, away status is removed)"), - 0, MAX_ARGS, 1, NULL, irc_cmd_send_away, NULL }, + "message: message for away (if no message is given, away status is removed)"), + "%y", 0, MAX_ARGS, 1, NULL, irc_cmd_send_away, NULL }, { "ban", N_("bans nicks or hosts"), N_("[channel] [nickname [nickname ...]]"), N_("channel: channel for ban\n" "nickname: user or host to ban"), - 0, MAX_ARGS, 1, NULL, irc_cmd_send_ban, NULL }, + "", 0, MAX_ARGS, 1, NULL, irc_cmd_send_ban, NULL }, { "ctcp", N_("send a CTCP message (Client-To-Client Protocol)"), N_("nickname type [arguments]"), N_("nickname: user to send CTCP to\n" "type: CTCP type (examples: \"version\", \"ping\", ..)\n" "arguments: arguments for CTCP"), - 2, MAX_ARGS, 1, NULL, irc_cmd_send_ctcp, NULL }, + "%n action|ping|version", 2, MAX_ARGS, 1, NULL, irc_cmd_send_ctcp, NULL }, { "dcc", N_("starts DCC (file or chat) or close chat"), N_("action [nickname [file]]"), N_("action: 'send' (file) or 'chat' or 'close' (chat)\n" - "nickname: nickname to send file or chat\n" - "file: filename (on local host)"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_dcc, NULL }, + "nickname: nickname to send file or chat\n" + "file: filename (on local host)"), + "chat|send|close %n %f", 1, MAX_ARGS, 1, NULL, irc_cmd_send_dcc, NULL }, { "dehalfop", N_("removes half channel operator status from nickname(s)"), N_("[nickname [nickname]]"), "", - 0, MAX_ARGS, 1, irc_cmd_send_dehalfop, NULL, NULL }, + "", 0, MAX_ARGS, 1, irc_cmd_send_dehalfop, NULL, NULL }, { "deop", N_("removes channel operator status from nickname(s)"), N_("[nickname [nickname]]"), "", - 0, MAX_ARGS, 1, irc_cmd_send_deop, NULL, NULL }, + "", 0, MAX_ARGS, 1, irc_cmd_send_deop, NULL, NULL }, { "devoice", N_("removes voice from nickname(s)"), N_("[nickname [nickname]]"), "", - 0, MAX_ARGS, 1, irc_cmd_send_devoice, NULL, NULL }, - { "die", N_("shutdown the server"), - "", "", - 0, 0, 1, NULL, irc_cmd_send_die, NULL }, - { "error", N_("error received from IRC server"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_error }, + "", 0, MAX_ARGS, 1, irc_cmd_send_devoice, NULL, NULL }, + { "die", N_("shutdown the server"), "", "", + NULL, 0, 0, 1, NULL, irc_cmd_send_die, NULL }, + { "error", N_("error received from IRC server"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_error }, { "halfop", N_("gives half channel operator status to nickname(s)"), N_("[nickname [nickname]]"), "", - 0, MAX_ARGS, 1, irc_cmd_send_halfop, NULL, NULL }, + "", 0, MAX_ARGS, 1, irc_cmd_send_halfop, NULL, NULL }, { "info", N_("get information describing the server"), N_("[target]"), N_("target: server name"), - 0, 1, 1, NULL, irc_cmd_send_info, NULL }, + NULL, 0, 1, 1, NULL, irc_cmd_send_info, NULL }, { "invite", N_("invite a nick on a channel"), N_("nickname channel"), N_("nickname: nick to invite\n" "channel: channel to invite"), - 1, 2, 1, irc_cmd_send_invite, NULL, irc_cmd_recv_invite }, + "%n %c", 1, 2, 1, irc_cmd_send_invite, NULL, irc_cmd_recv_invite }, { "ison", N_("check if a nickname is currently on IRC"), N_("nickname [nickname ...]"), N_("nickname: nickname"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_ison, NULL }, + "", 1, MAX_ARGS, 1, NULL, irc_cmd_send_ison, NULL }, { "join", N_("join a channel"), N_("channel[,channel] [key[,key]]"), N_("channel: channel name to join\n" "key: key to join the channel"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_join, irc_cmd_recv_join }, + NULL, 1, MAX_ARGS, 1, NULL, irc_cmd_send_join, irc_cmd_recv_join }, { "kick", N_("forcibly remove a user from a channel"), N_("[channel] nickname [comment]"), N_("channel: channel where user is\n" "nickname: nickname to kick\n" "comment: comment for kick"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_kick, irc_cmd_recv_kick }, + "%n %-", 1, MAX_ARGS, 1, NULL, irc_cmd_send_kick, irc_cmd_recv_kick }, { "kickban", N_("kicks and bans a nick from a channel"), N_("[channel] nickname [comment]"), N_("channel: channel where user is\n" "nickname: nickname to kick and ban\n" "comment: comment for kick"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_kickban, NULL }, + "%n %-", 1, MAX_ARGS, 1, NULL, irc_cmd_send_kickban, NULL }, { "kill", N_("close client-server connection"), N_("nickname comment"), N_("nickname: nickname\n" "comment: comment for kill"), - 2, MAX_ARGS, 1, NULL, irc_cmd_send_kill, irc_cmd_recv_kill }, + "%n %-", 2, MAX_ARGS, 1, NULL, irc_cmd_send_kill, irc_cmd_recv_kill }, { "links", N_("list all servernames which are known by the server answering the query"), N_("[[server] server_mask]"), N_("server: this server should answer the query\n" - "server_mask: list of servers must match this mask"), - 0, 2, 1, NULL, irc_cmd_send_links, NULL }, + "server_mask: list of servers must match this mask"), + NULL, 0, 2, 1, NULL, irc_cmd_send_links, NULL }, { "list", N_("list channels and their topic"), N_("[channel[,channel] [server]]"), N_("channel: channel to list\nserver: server name"), - 0, MAX_ARGS, 1, NULL, irc_cmd_send_list, NULL }, + NULL, 0, MAX_ARGS, 1, NULL, irc_cmd_send_list, NULL }, { "lusers", N_("get statistics about the size of the IRC network"), N_("[mask [target]]"), N_("mask: servers matching the mask only\n" - "target: server for forwarding request"), - 0, 2, 1, NULL, irc_cmd_send_lusers, NULL }, + "target: server for forwarding request"), + NULL, 0, 2, 1, NULL, irc_cmd_send_lusers, NULL }, { "me", N_("send a CTCP action to the current channel"), N_("message"), N_("message: message to send"), - 0, MAX_ARGS, 1, NULL, irc_cmd_send_me, NULL }, + "", 0, MAX_ARGS, 1, NULL, irc_cmd_send_me, NULL }, { "mode", N_("change channel or user mode"), N_("{ channel {[+|-]|o|p|s|i|t|n|b|v} [limit] [user] [ban mask] } | " - "{ nickname {[+|-]|i|w|s|o} }"), + "{ nickname {[+|-]|i|w|s|o} }"), N_("channel modes:\n" - " channel: channel name to modify\n" - " o: give/take channel operator privileges\n" - " p: private channel flag\n" - " s: secret channel flag\n" - " i: invite-only channel flag\n" - " t: topic settable by channel operator only flag\n" - " n: no messages to channel from clients on the outside\n" - " m: moderated channel\n" - " l: set the user limit to channel\n" - " b: set a ban mask to keep users out\n" - " e: set exception mask\n" - " v: give/take the ability to speak on a moderated channel\n" - " k: set a channel key (password)\n" - "user modes:\n" - " nickname: nickname to modify\n" - " i: mark a user as invisible\n" - " s: mark a user for receive server notices\n" - " w: user receives wallops\n" - " o: operator flag"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_mode, irc_cmd_recv_mode }, + " channel: channel name to modify\n" + " o: give/take channel operator privileges\n" + " p: private channel flag\n" + " s: secret channel flag\n" + " i: invite-only channel flag\n" + " t: topic settable by channel operator only flag\n" + " n: no messages to channel from clients on the outside\n" + " m: moderated channel\n" + " l: set the user limit to channel\n" + " b: set a ban mask to keep users out\n" + " e: set exception mask\n" + " v: give/take the ability to speak on a moderated channel\n" + " k: set a channel key (password)\n" + "user modes:\n" + " nickname: nickname to modify\n" + " i: mark a user as invisible\n" + " s: mark a user for receive server notices\n" + " w: user receives wallops\n" + " o: operator flag"), + "", 1, MAX_ARGS, 1, NULL, irc_cmd_send_mode, irc_cmd_recv_mode }, { "motd", N_("get the \"Message Of The Day\""), N_("[target]"), N_("target: server name"), - 0, 1, 1, NULL, irc_cmd_send_motd, NULL }, + NULL, 0, 1, 1, NULL, irc_cmd_send_motd, NULL }, { "msg", N_("send message to a nick or channel"), N_("receiver[,receiver] text"), N_("receiver: nick or channel (may be mask, '*' = current channel)\n" - "text: text to send"), - 2, MAX_ARGS, 1, NULL, irc_cmd_send_msg, NULL }, + "text: text to send"), + "", 2, MAX_ARGS, 1, NULL, irc_cmd_send_msg, NULL }, { "names", N_("list nicknames on channels"), - N_("[channel[,channel]]"), N_("channel: channel name"), - 0, 1, 1, NULL, irc_cmd_send_names, NULL }, + N_("[channel[,channel]]"), + N_("channel: channel name"), + NULL, 0, 1, 1, NULL, irc_cmd_send_names, NULL }, { "nick", N_("change current nickname"), N_("[-all] nickname"), N_("-all: set new nickname for all connected servers\n" - "nickname: new nickname"), - 1, 2, 0, irc_cmd_send_nick, NULL, irc_cmd_recv_nick }, + "nickname: new nickname"), + NULL, 1, 2, 0, irc_cmd_send_nick, NULL, irc_cmd_recv_nick }, { "notice", N_("send notice message to user"), - N_("nickname text"), N_("nickname: user to send notice to\ntext: text to send"), - 2, MAX_ARGS, 1, NULL, irc_cmd_send_notice, irc_cmd_recv_notice }, + N_("nickname text"), + N_("nickname: user to send notice to\ntext: text to send"), + "%n %-", 2, MAX_ARGS, 1, NULL, irc_cmd_send_notice, irc_cmd_recv_notice }, { "op", N_("gives channel operator status to nickname(s)"), N_("nickname [nickname]"), "", - 1, MAX_ARGS, 1, irc_cmd_send_op, NULL, NULL }, + "", 1, MAX_ARGS, 1, irc_cmd_send_op, NULL, NULL }, { "oper", N_("get operator privileges"), N_("user password"), N_("user/password: used to get privileges on current IRC server"), - 2, 2, 1, NULL, irc_cmd_send_oper, NULL }, + NULL, 2, 2, 1, NULL, irc_cmd_send_oper, NULL }, { "part", N_("leave a channel"), N_("[channel[,channel]] [part_message]"), N_("channel: channel name to leave\n" "part_message: part message (displayed to other users)"), - 0, MAX_ARGS, 1, NULL, irc_cmd_send_part, irc_cmd_recv_part }, + "%p", 0, MAX_ARGS, 1, NULL, irc_cmd_send_part, irc_cmd_recv_part }, { "ping", N_("ping server"), N_("server1 [server2]"), N_("server1: server to ping\nserver2: forward ping to this server"), - 1, 2, 1, NULL, irc_cmd_send_ping, irc_cmd_recv_ping }, + NULL, 1, 2, 1, NULL, irc_cmd_send_ping, irc_cmd_recv_ping }, { "pong", N_("answer to a ping message"), N_("daemon [daemon2]"), N_("daemon: daemon who has responded to Ping message\n" "daemon2: forward message to this daemon"), - 1, 2, 1, NULL, irc_cmd_send_pong, irc_cmd_recv_pong }, - { "privmsg", N_("message received"), - "", "", - 0, 0, 1, NULL, NULL, irc_cmd_recv_privmsg }, + NULL, 1, 2, 1, NULL, irc_cmd_send_pong, irc_cmd_recv_pong }, + { "privmsg", N_("message received"), "", "", + "", 0, 0, 1, NULL, NULL, irc_cmd_recv_privmsg }, { "query", N_("send a private message to a nick"), N_("nickname [text]"), N_("nickname: nickname for private conversation\n" - "text: text to send"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_query, NULL }, + "text: text to send"), + "%n %-", 1, MAX_ARGS, 1, NULL, irc_cmd_send_query, NULL }, { "quit", N_("close all connections & quit"), N_("[quit_message]"), N_("quit_message: quit message (displayed to other users)"), - 0, MAX_ARGS, 0, NULL, irc_cmd_send_quit, irc_cmd_recv_quit }, + "%q", 0, MAX_ARGS, 0, NULL, irc_cmd_send_quit, irc_cmd_recv_quit }, { "quote", N_("send raw data to server without parsing"), N_("data"), N_("data: raw data to send"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_quote, NULL }, - { "rehash", N_("tell the server to reload its config file"), - "", "", - 0, 0, 1, NULL, irc_cmd_send_rehash, NULL }, - { "restart", N_("tell the server to restart itself"), - "", "", - 0, 0, 1, NULL, irc_cmd_send_restart, NULL }, + "", 1, MAX_ARGS, 1, NULL, irc_cmd_send_quote, NULL }, + { "rehash", N_("tell the server to reload its config file"), "", "", + NULL, 0, 0, 1, NULL, irc_cmd_send_rehash, NULL }, + { "restart", N_("tell the server to restart itself"), "", "", + NULL, 0, 0, 1, NULL, irc_cmd_send_restart, NULL }, { "service", N_("register a new service"), N_("nickname reserved distribution type reserved info"), N_("distribution: visibility of service\n" - "type: reserved for future usage"), - 6, 6, 1, NULL, irc_cmd_send_service, NULL }, + "type: reserved for future usage"), + NULL, 6, 6, 1, NULL, irc_cmd_send_service, NULL }, { "servlist", N_("list services currently connected to the network"), N_("[mask [type]]"), N_("mask: list only services matching this mask\n" "type: list only services of this type"), - 0, 2, 1, NULL, irc_cmd_send_servlist, NULL }, + NULL, 0, 2, 1, NULL, irc_cmd_send_servlist, NULL }, { "squery", N_("deliver a message to a service"), N_("service text"), N_("service: name of service\ntext: text to send"), - 2, 2, 1, NULL, irc_cmd_send_squery, NULL }, + NULL, 2, 2, 1, NULL, irc_cmd_send_squery, NULL }, { "squit", N_("disconnect server links"), N_("server comment"), N_("server: server name\ncomment: comment for quit"), - 2, 2, 1, NULL, irc_cmd_send_squit, NULL }, + NULL, 2, 2, 1, NULL, irc_cmd_send_squit, NULL }, { "stats", N_("query statistics about server"), N_("[query [server]]"), - N_("query: c/h/i/k/l/m/o/y/u (see RFC1459)\nserver: server name"), - 0, 2, 1, NULL, irc_cmd_send_stats, NULL }, + N_("query: c/h/i/k/l/m/o/y/u (see RFC1459)\n" + "server: server name"), + NULL, 0, 2, 1, NULL, irc_cmd_send_stats, NULL }, { "summon", N_("give users who are on a host running an IRC server a message " "asking them to please join IRC"), N_("user [target [channel]]"), N_("user: username\ntarget: server name\n" "channel: channel name"), - 1, 3, 1, NULL, irc_cmd_send_summon, NULL }, + NULL, 1, 3, 1, NULL, irc_cmd_send_summon, NULL }, { "time", N_("query local time from server"), - N_("[target]"), N_("target: query time from specified server"), - 0, 1, 1, NULL, irc_cmd_send_time, NULL }, + N_("[target]"), + N_("target: query time from specified server"), + NULL, 0, 1, 1, NULL, irc_cmd_send_time, NULL }, { "topic", N_("get/set channel topic"), N_("[channel] [topic]"), N_("channel: channel name\ntopic: new topic for channel " "(if topic is \"-delete\" then topic is deleted)"), - 0, MAX_ARGS, 1, NULL, irc_cmd_send_topic, irc_cmd_recv_topic }, + "%t", 0, MAX_ARGS, 1, NULL, irc_cmd_send_topic, irc_cmd_recv_topic }, { "trace", N_("find the route to specific server"), - N_("[target]"), N_("target: server"), - 0, 1, 1, NULL, irc_cmd_send_trace, NULL }, + N_("[target]"), + N_("target: server"), + NULL, 0, 1, 1, NULL, irc_cmd_send_trace, NULL }, { "unban", N_("unbans nicks or hosts"), N_("[channel] nickname [nickname ...]"), N_("channel: channel for unban\n" "nickname: user or host to unban"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_unban, NULL }, + "%n", 1, MAX_ARGS, 1, NULL, irc_cmd_send_unban, NULL }, { "userhost", N_("return a list of information about nicknames"), - N_("nickname [nickname ...]"), N_("nickname: nickname"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_userhost, NULL }, + N_("nickname [nickname ...]"), + N_("nickname: nickname"), + NULL, 1, MAX_ARGS, 1, NULL, irc_cmd_send_userhost, NULL }, { "users", N_("list of users logged into the server"), - N_("[target]"), N_("target: server"), - 0, 1, 1, NULL, irc_cmd_send_users, NULL }, + N_("[target]"), + N_("target: server"), + NULL, 0, 1, 1, NULL, irc_cmd_send_users, NULL }, { "version", N_("gives the version info of nick or server (current or specified)"), N_("[server | nickname]"), N_("server: server name\n" "nickname: nickname"), - 0, 1, 1, NULL, irc_cmd_send_version, NULL }, + NULL, 0, 1, 1, NULL, irc_cmd_send_version, NULL }, { "voice", N_("gives voice to nickname(s)"), N_("[nickname [nickname]]"), "", - 0, MAX_ARGS, 1, irc_cmd_send_voice, NULL, NULL }, + "", 0, MAX_ARGS, 1, irc_cmd_send_voice, NULL, NULL }, { "wallops", N_("send a message to all currently connected users who have " "set the 'w' user mode for themselves"), - N_("text"), N_("text to send"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_wallops, NULL }, + N_("text"), + N_("text to send"), + NULL, 1, MAX_ARGS, 1, NULL, irc_cmd_send_wallops, NULL }, { "who", N_("generate a query which returns a list of information"), N_("[mask [\"o\"]]"), N_("mask: only information which match this mask\n" "o: only operators are returned according to the mask supplied"), - 0, 2, 1, NULL, irc_cmd_send_who, NULL }, + "%C", 0, 2, 1, NULL, irc_cmd_send_who, NULL }, { "whois", N_("query information about user(s)"), N_("[server] nickname[,nickname]"), N_("server: server name\n" "nickname: nickname (may be a mask)"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_whois, NULL }, + "", 1, MAX_ARGS, 1, NULL, irc_cmd_send_whois, NULL }, { "whowas", N_("ask for information about a nickname which no longer exists"), N_("nickname [,nickname [,nickname ...]] [count [target]]"), N_("nickname: nickname to search\n" "count: number of replies to return (full search if negative number)\n" "target: reply should match this mask"), - 1, MAX_ARGS, 1, NULL, irc_cmd_send_whowas, NULL }, - { "001", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "002", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "003", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "004", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_004 }, - { "005", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "008", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "020", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "042", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "212", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "219", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "221", N_("user mode string"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_221 }, - { "250", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "251", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "252", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "253", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "254", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "255", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "256", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "257", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "258", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "259", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "260", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "261", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "262", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "263", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "264", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "265", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "266", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "267", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "268", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "269", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "301", N_("away message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_301 }, - { "302", N_("userhost"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_302 }, - { "303", N_("ison"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_303 }, - { "305", N_("unaway"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_305 }, - { "306", N_("now away"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_306 }, - { "307", N_("whois (registered nick)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_307 }, - { "311", N_("whois (user)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_311 }, - { "312", N_("whois (server)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_312 }, - { "313", N_("whois (operator)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_313 }, - { "314", N_("whowas"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_314 }, - { "315", N_("end of /who list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_315 }, - { "317", N_("whois (idle)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_317 }, - { "318", N_("whois (end)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_318 }, - { "319", N_("whois (channels)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_319 }, - { "320", N_("whois (identified user)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_320 }, - { "321", N_("/list start"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_321 }, - { "322", N_("channel (for /list)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_322 }, - { "323", N_("/list end"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_323 }, - { "324", N_("channel mode"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_324 }, - { "329", "???", "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_329 }, - { "331", N_("no topic for channel"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_331 }, + "", 1, MAX_ARGS, 1, NULL, irc_cmd_send_whowas, NULL }, + { "001", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "002", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "003", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "004", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_004 }, + { "005", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "008", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "020", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "042", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "212", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "219", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "221", N_("user mode string"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_221 }, + { "250", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "251", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "252", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "253", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "254", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "255", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "256", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "257", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "258", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "259", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "260", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "261", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "262", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "263", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "264", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "265", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "266", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "267", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "268", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "269", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "301", N_("away message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_301 }, + { "302", N_("userhost"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_302 }, + { "303", N_("ison"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_303 }, + { "305", N_("unaway"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_305 }, + { "306", N_("now away"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_306 }, + { "307", N_("whois (registered nick)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_307 }, + { "311", N_("whois (user)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_311 }, + { "312", N_("whois (server)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_312 }, + { "313", N_("whois (operator)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_313 }, + { "314", N_("whowas"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_314 }, + { "315", N_("end of /who list"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_315 }, + { "317", N_("whois (idle)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_317 }, + { "318", N_("whois (end)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_318 }, + { "319", N_("whois (channels)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_319 }, + { "320", N_("whois (identified user)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_320 }, + { "321", N_("/list start"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_321 }, + { "322", N_("channel (for /list)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_322 }, + { "323", N_("/list end"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_323 }, + { "324", N_("channel mode"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_324 }, + { "329", "???", "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_329 }, + { "331", N_("no topic for channel"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_331 }, { "332", N_("topic of channel"), N_("channel :topic"), N_("channel: name of channel\n" "topic: topic of the channel"), - 2, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_332 }, - { "333", N_("infos about topic (nick & date changed)"), - "", "", - 0, 0, 1, NULL, NULL, irc_cmd_recv_333 }, - { "341", N_("inviting"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_341 }, - { "344", N_("channel reop"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_344 }, - { "345", N_("end of channel reop list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_345 }, - { "348", N_("channel exception list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_348 }, - { "349", N_("end of channel exception list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_349 }, - { "351", N_("server version"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_351 }, - { "352", N_("who"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_352 }, + NULL, 2, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_332 }, + { "333", N_("infos about topic (nick & date changed)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_333 }, + { "341", N_("inviting"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_341 }, + { "344", N_("channel reop"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_344 }, + { "345", N_("end of channel reop list"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_345 }, + { "348", N_("channel exception list"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_348 }, + { "349", N_("end of channel exception list"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_349 }, + { "351", N_("server version"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_351 }, + { "352", N_("who"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_352 }, { "353", N_("list of nicks on channel"), N_("channel :[[@|+]nick ...]"), N_("channel: name of channel\n" "nick: nick on the channel"), - 2, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_353 }, - { "364", N_("links"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "365", N_("end of /links list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "366", N_("end of /names list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_366 }, - { "367", N_("banlist"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_367 }, - { "368", N_("end of banlist"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_368 }, - { "369", N_("end of /whowas list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "371", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "372", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "373", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "374", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "375", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "376", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "381", N_("you are now an IRC operator"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "382", N_("rehashing"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "391", N_("server local time"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "401", N_("no such nick/channel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "402", N_("no such server"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "403", N_("no such channel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "404", N_("cannot send to channel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "405", N_("too many channels"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "406", N_("was no such nick"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "407", N_("was no such nick"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "409", N_("no origin"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "410", N_("no services"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "411", N_("no recipient"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "412", N_("no text to send"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "413", N_("no toplevel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "414", N_("wilcard in toplevel domain"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "421", N_("unknown command"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "422", N_("MOTD is missing"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "423", N_("no administrative info"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "424", N_("file error"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "431", N_("no nickname given"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "432", N_("erroneous nickname"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "433", N_("nickname already in use"), - "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_433 }, - { "436", N_("nickname collision"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "438", N_("not authorized to change nickname"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_438 }, - { "441", N_("user not in channel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "442", N_("not on channel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "443", N_("user already on channel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "444", N_("user not logged in"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "445", N_("summon has been disabled"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "446", N_("users has been disabled"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "451", N_("you are not registered"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "461", N_("not enough parameters"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "462", N_("you may not register"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "463", N_("your host isn't among the privileged"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "464", N_("password incorrect"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "465", N_("you are banned from this server"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "467", N_("channel key already set"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "470", N_("forwarding to another channel"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "471", N_("channel is already full"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "472", N_("unknown mode char to me"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "473", N_("cannot join channel (invite only)"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "474", N_("cannot join channel (banned from channel)"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "475", N_("cannot join channel (bad channel key)"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "476", N_("bad channel mask"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "477", N_("channel doesn't support modes"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "481", N_("you're not an IRC operator"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "482", N_("you're not channel operator"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "483", N_("you can't kill a server!"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "484", N_("your connection is restricted!"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "485", N_("user is immune from kick/deop"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "491", N_("no O-lines for your host"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "501", N_("unknown mode flag"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "502", N_("can't change mode for other users"), - "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, - { "505", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, - { "671", N_("whois (secure connection)"), - "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_671 }, - { NULL, NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL } + NULL, 2, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_353 }, + { "364", N_("links"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "365", N_("end of /links list"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "366", N_("end of /names list"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_366 }, + { "367", N_("banlist"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_367 }, + { "368", N_("end of banlist"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_368 }, + { "369", N_("end of /whowas list"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "371", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "372", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "373", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "374", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "375", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "376", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "381", N_("you are now an IRC operator"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "382", N_("rehashing"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "391", N_("server local time"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "401", N_("no such nick/channel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "402", N_("no such server"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "403", N_("no such channel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "404", N_("cannot send to channel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "405", N_("too many channels"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "406", N_("was no such nick"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "407", N_("was no such nick"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "409", N_("no origin"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "410", N_("no services"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "411", N_("no recipient"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "412", N_("no text to send"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "413", N_("no toplevel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "414", N_("wilcard in toplevel domain"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "421", N_("unknown command"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "422", N_("MOTD is missing"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "423", N_("no administrative info"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "424", N_("file error"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "431", N_("no nickname given"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "432", N_("erroneous nickname"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "433", N_("nickname already in use"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_433 }, + { "436", N_("nickname collision"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "438", N_("not authorized to change nickname"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_438 }, + { "441", N_("user not in channel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "442", N_("not on channel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "443", N_("user already on channel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "444", N_("user not logged in"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "445", N_("summon has been disabled"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "446", N_("users has been disabled"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "451", N_("you are not registered"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "461", N_("not enough parameters"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "462", N_("you may not register"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "463", N_("your host isn't among the privileged"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "464", N_("password incorrect"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "465", N_("you are banned from this server"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "467", N_("channel key already set"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "470", N_("forwarding to another channel"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "471", N_("channel is already full"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "472", N_("unknown mode char to me"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "473", N_("cannot join channel (invite only)"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "474", N_("cannot join channel (banned from channel)"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "475", N_("cannot join channel (bad channel key)"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "476", N_("bad channel mask"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "477", N_("channel doesn't support modes"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "481", N_("you're not an IRC operator"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "482", N_("you're not channel operator"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "483", N_("you can't kill a server!"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "484", N_("your connection is restricted!"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "485", N_("user is immune from kick/deop"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "491", N_("no O-lines for your host"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "501", N_("unknown mode flag"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "502", N_("can't change mode for other users"), "", "", + NULL, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "505", N_("a server message"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg }, + { "671", N_("whois (secure connection)"), "", "", + NULL, 0, 0, 1, NULL, NULL, irc_cmd_recv_671 }, + { NULL, NULL, NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL } }; diff --git a/weechat/src/irc/irc.h b/weechat/src/irc/irc.h index 28a10b13f..0b736fd47 100644 --- a/weechat/src/irc/irc.h +++ b/weechat/src/irc/irc.h @@ -66,12 +66,12 @@ typedef struct t_irc_nick t_irc_nick; struct t_irc_nick { - char *nick; /* nickname */ - int flags; /* chanowner/chanadmin (unrealircd), */ - /* op, halfop, voice, away */ - int color; /* color for nickname in chat window */ - t_irc_nick *prev_nick; /* link to previous nick on the channel */ - t_irc_nick *next_nick; /* link to next nick on the channel */ + char *nick; /* nickname */ + int flags; /* chanowner/chanadmin (unrealircd), */ + /* op, halfop, voice, away */ + int color; /* color for nickname in chat window */ + t_irc_nick *prev_nick; /* link to previous nick on the channel */ + t_irc_nick *next_nick; /* link to next nick on the channel */ }; /* channel types */ @@ -100,20 +100,20 @@ typedef struct t_irc_channel t_irc_channel; struct t_irc_channel { - int type; /* channel type */ - void *dcc_chat; /* DCC CHAT pointer (NULL if not DCC) */ - char *name; /* name of channel (exemple: "#abc") */ - char *topic; /* topic of channel (host for private) */ - char *modes; /* channel modes */ - int limit; /* user limit (0 is limit not set) */ - char *key; /* channel key (NULL if no key is set) */ - int nicks_count; /* # nicks on channel (0 if dcc/pv) */ - int checking_away; /* = 1 if checking away with WHO cmd */ - t_irc_nick *nicks; /* nicks on the channel */ - t_irc_nick *last_nick; /* last nick on the channel */ - t_gui_buffer *buffer; /* GUI buffer allocated for channel */ - t_irc_channel *prev_channel; /* link to previous channel */ - t_irc_channel *next_channel; /* link to next channel */ + int type; /* channel type */ + void *dcc_chat; /* DCC CHAT pointer (NULL if not DCC) */ + char *name; /* name of channel (exemple: "#abc") */ + char *topic; /* topic of channel (host for private) */ + char *modes; /* channel modes */ + int limit; /* user limit (0 is limit not set) */ + char *key; /* channel key (NULL if no key is set) */ + int nicks_count; /* # nicks on channel (0 if dcc/pv) */ + int checking_away; /* = 1 if checking away with WHO cmd */ + t_irc_nick *nicks; /* nicks on the channel */ + t_irc_nick *last_nick; /* last nick on the channel */ + t_gui_buffer *buffer; /* GUI buffer allocated for channel */ + t_irc_channel *prev_channel; /* link to previous channel */ + t_irc_channel *next_channel; /* link to next channel */ }; /* server types */ @@ -123,55 +123,55 @@ typedef struct t_irc_server t_irc_server; struct t_irc_server { /* user choices */ - char *name; /* name of server (only for display) */ - int autoconnect; /* = 1 if auto connect at startup */ - int autoreconnect; /* = 1 if auto reco when disconnected */ - int autoreconnect_delay; /* delay before trying again reconnect */ - int command_line; /* server was given on command line */ - char *address; /* address of server (IP or name) */ - int port; /* port for server (6667 by default) */ - int ipv6; /* use IPv6 protocol */ - int ssl; /* SSL protocol */ - char *password; /* password for server */ - char *nick1; /* first nickname for the server */ - char *nick2; /* alternate nickname */ - char *nick3; /* 2nd alternate nickname */ - char *username; /* user name */ - char *realname; /* real name */ - char *command; /* command to run once connected */ - int command_delay; /* delay after execution of command */ - char *autojoin; /* channels to automatically join */ - int autorejoin; /* auto rejoin channels when kicked */ - char *notify_levels; /* channels notify levels */ - char *charset_decode_iso; /* channels charsets for decoding ISO */ - char *charset_decode_utf; /* channels charsets for decoding UTF */ - char *charset_encode; /* channels charsets for encoding msgs */ + char *name; /* name of server (only for display) */ + int autoconnect; /* = 1 if auto connect at startup */ + int autoreconnect; /* = 1 if auto reco when disconnected */ + int autoreconnect_delay; /* delay before trying again reconnect */ + int command_line; /* server was given on command line */ + char *address; /* address of server (IP or name) */ + int port; /* port for server (6667 by default) */ + int ipv6; /* use IPv6 protocol */ + int ssl; /* SSL protocol */ + char *password; /* password for server */ + char *nick1; /* first nickname for the server */ + char *nick2; /* alternate nickname */ + char *nick3; /* 2nd alternate nickname */ + char *username; /* user name */ + char *realname; /* real name */ + char *command; /* command to run once connected */ + int command_delay; /* delay after execution of command */ + char *autojoin; /* channels to automatically join */ + int autorejoin; /* auto rejoin channels when kicked */ + char *notify_levels; /* channels notify levels */ + char *charset_decode_iso; /* channels charsets for decoding ISO */ + char *charset_decode_utf; /* channels charsets for decoding UTF */ + char *charset_encode; /* channels charsets for encoding msgs */ /* internal vars */ - pid_t child_pid; /* pid of child process (connecting) */ - int child_read; /* to read into child pipe */ - int child_write; /* to write into child pipe */ - int sock; /* socket for server (IPv4 or IPv6) */ - int is_connected; /* 1 if WeeChat is connected to server */ - int ssl_connected; /* = 1 if connected with SSL */ + pid_t child_pid; /* pid of child process (connecting) */ + int child_read; /* to read into child pipe */ + int child_write; /* to write into child pipe */ + int sock; /* socket for server (IPv4 or IPv6) */ + int is_connected; /* 1 if WeeChat is connected to server */ + int ssl_connected; /* = 1 if connected with SSL */ #ifdef HAVE_GNUTLS - gnutls_session gnutls_sess; /* gnutls session (only if SSL is used) */ + gnutls_session gnutls_sess; /* gnutls session (only if SSL is used) */ #endif - char *unterminated_message; /* beginning of a message in input buf */ - char *nick; /* current nickname */ - time_t reconnect_start; /* this time + delay = reconnect time */ - int reconnect_join; /* 1 if channels opened to rejoin */ - int is_away; /* 1 is user is marker as away */ - time_t away_time; /* time() when user marking as away */ - int lag; /* lag (in milliseconds) */ - struct timeval lag_check_time; /* last time lag was checked (ping sent)*/ - time_t lag_next_check; /* time for next check */ - t_gui_buffer *buffer; /* GUI buffer allocated for server */ - t_gui_buffer *saved_buffer; /* channel before jumping to next server*/ - t_irc_channel *channels; /* opened channels on server */ - t_irc_channel *last_channel; /* last opened channal on server */ - t_irc_server *prev_server; /* link to previous server */ - t_irc_server *next_server; /* link to next server */ + char *unterminated_message; /* beginning of a message in input buf */ + char *nick; /* current nickname */ + time_t reconnect_start; /* this time + delay = reconnect time */ + int reconnect_join; /* 1 if channels opened to rejoin */ + int is_away; /* 1 is user is marker as away */ + time_t away_time; /* time() when user marking as away */ + int lag; /* lag (in milliseconds) */ + struct timeval lag_check_time; /* last time lag was checked (ping sent) */ + time_t lag_next_check; /* time for next check */ + t_gui_buffer *buffer; /* GUI buffer allocated for server */ + t_gui_buffer *saved_buffer; /* channel before jumping to next server */ + t_irc_channel *channels; /* opened channels on server */ + t_irc_channel *last_channel; /* last opened channal on server */ + t_irc_server *prev_server; /* link to previous server */ + t_irc_server *next_server; /* link to next server */ }; /* irc commands */ @@ -180,18 +180,20 @@ typedef struct t_irc_command t_irc_command; struct t_irc_command { - char *command_name; /* command name (internal or IRC cmd) */ - char *command_description; /* command description */ - char *arguments; /* command parameters */ - char *arguments_description; /* parameters description */ - int min_arg, max_arg; /* min & max number of parameters */ - int need_connection; /* = 1 if cmd needs server connection */ + char *command_name; /* IRC command name */ + char *command_description; /* command description (for /help) */ + char *arguments; /* command arguments (for /help) */ + char *arguments_description; /* arguments description (for /help) */ + char *completion_template; /* template for completion */ + /* NULL=no completion, ""=default (nick) */ + int min_arg, max_arg; /* min & max number of arguments */ + int need_connection; /* = 1 if cmd needs server connection */ int (*cmd_function_args)(t_irc_server *, int, char **); - /* function called when user enters cmd */ + /* function called when user enters cmd */ int (*cmd_function_1arg)(t_irc_server *, char *); - /* function called when user enters cmd */ + /* function called when user enters cmd */ int (*recv_function)(t_irc_server *, char *, char *, char *); - /* function called when cmd is received */ + /* function called when cmd is received */ }; /* irc messages */ @@ -200,24 +202,24 @@ typedef struct t_irc_message t_irc_message; struct t_irc_message { - t_irc_server *server; /* server pointer for received msg */ - char *data; /* message content */ - t_irc_message *next_message; /* link to next message */ + t_irc_server *server; /* server pointer for received msg */ + char *data; /* message content */ + t_irc_message *next_message; /* link to next message */ }; /* DCC types */ -#define DCC_CHAT_RECV 0 /* receiving DCC chat */ -#define DCC_CHAT_SEND 1 /* sending DCC chat */ -#define DCC_FILE_RECV 2 /* incoming DCC file */ -#define DCC_FILE_SEND 3 /* sending DCC file */ +#define DCC_CHAT_RECV 0 /* receiving DCC chat */ +#define DCC_CHAT_SEND 1 /* sending DCC chat */ +#define DCC_FILE_RECV 2 /* incoming DCC file */ +#define DCC_FILE_SEND 3 /* sending DCC file */ -#define DCC_WAITING 0 /* waiting for host answer */ -#define DCC_CONNECTING 1 /* connecting to host */ -#define DCC_ACTIVE 2 /* sending/receiving data */ -#define DCC_DONE 3 /* transfer done */ -#define DCC_FAILED 4 /* DCC failed */ -#define DCC_ABORTED 5 /* DCC aborted by user */ +#define DCC_WAITING 0 /* waiting for host answer */ +#define DCC_CONNECTING 1 /* connecting to host */ +#define DCC_ACTIVE 2 /* sending/receiving data */ +#define DCC_DONE 3 /* transfer done */ +#define DCC_FAILED 4 /* DCC failed */ +#define DCC_ABORTED 5 /* DCC aborted by user */ #define DCC_IS_CHAT(type) ((type == DCC_CHAT_RECV) || (type == DCC_CHAT_SEND)) #define DCC_IS_FILE(type) ((type == DCC_FILE_RECV) || (type == DCC_FILE_SEND)) @@ -231,38 +233,38 @@ typedef struct t_irc_dcc t_irc_dcc; struct t_irc_dcc { - t_irc_server *server; /* irc server */ - t_irc_channel *channel; /* irc channel (for DCC chat only) */ - int type; /* DCC type (send or receive) */ - int status; /* DCC status (waiting, sending, ..) */ - time_t start_time; /* the time when DCC started */ - time_t start_transfer; /* the time when DCC transfer started */ - unsigned long addr; /* IP address */ - int port; /* port */ - char *nick; /* remote nick */ - int sock; /* socket for connection */ - char *unterminated_message; /* beginning of a message in input buf */ - int file; /* local file (for reading or writing) */ - char *filename; /* filename (given by sender) */ - char *local_filename; /* local filename (with path) */ - int filename_suffix; /* suffix (.1 for ex) if renaming file */ - unsigned long size; /* file size */ - unsigned long pos; /* number of bytes received/sent */ - unsigned long ack; /* number of bytes received OK */ - unsigned long start_resume; /* start of resume (in bytes) */ - time_t last_check_time; /* last time we looked at bytes sent/rcv*/ - unsigned long last_check_pos; /* bytes sent/recv at last check */ - time_t last_activity; /* time of last byte received/sent */ - unsigned long bytes_per_sec; /* bytes per second */ - unsigned long eta; /* estimated time of arrival */ - t_irc_dcc *prev_dcc; /* link to previous dcc file/chat */ - t_irc_dcc *next_dcc; /* link to next dcc file/chat */ + t_irc_server *server; /* irc server */ + t_irc_channel *channel; /* irc channel (for DCC chat only) */ + int type; /* DCC type (send or receive) */ + int status; /* DCC status (waiting, sending, ..) */ + time_t start_time; /* the time when DCC started */ + time_t start_transfer; /* the time when DCC transfer started */ + unsigned long addr; /* IP address */ + int port; /* port */ + char *nick; /* remote nick */ + int sock; /* socket for connection */ + char *unterminated_message; /* beginning of a message in input buf */ + int file; /* local file (for reading or writing) */ + char *filename; /* filename (given by sender) */ + char *local_filename; /* local filename (with path) */ + int filename_suffix; /* suffix (.1 for ex) if renaming file */ + unsigned long size; /* file size */ + unsigned long pos; /* number of bytes received/sent */ + unsigned long ack; /* number of bytes received OK */ + unsigned long start_resume; /* start of resume (in bytes) */ + time_t last_check_time; /* last time we looked at bytes sent/recv */ + unsigned long last_check_pos; /* bytes sent/recv at last check */ + time_t last_activity; /* time of last byte received/sent */ + unsigned long bytes_per_sec; /* bytes per second */ + unsigned long eta; /* estimated time of arrival */ + t_irc_dcc *prev_dcc; /* link to previous dcc file/chat */ + t_irc_dcc *next_dcc; /* link to next dcc file/chat */ }; /* ignore types */ -/* pre-defined ignore types, all other types are made with IRC commands */ -/* for example: part join quit notice invite ... */ +/* pre-defined ignore types, all other types are made with IRC commands */ +/* for example: part join quit notice invite ... */ #define IGNORE_ACTION "action" #define IGNORE_CTCP "ctcp" @@ -273,12 +275,12 @@ typedef struct t_irc_ignore t_irc_ignore; struct t_irc_ignore { - char *mask; /* nickname or mask */ - char *type; /* type of ignore */ - char *channel_name; /* name of channel, "*" == all */ - char *server_name; /* name of server, "*" == all */ - t_irc_ignore *prev_ignore; /* pointer to previous ignore */ - t_irc_ignore *next_ignore; /* pointer to next ignore */ + char *mask; /* nickname or mask */ + char *type; /* type of ignore */ + char *channel_name; /* name of channel, "*" == all */ + char *server_name; /* name of server, "*" == all */ + t_irc_ignore *prev_ignore; /* pointer to previous ignore */ + t_irc_ignore *next_ignore; /* pointer to next ignore */ }; /* variables */ diff --git a/weechat/src/plugins/plugins-interface.c b/weechat/src/plugins/plugins-interface.c index 615ef89d6..13aaf06a4 100644 --- a/weechat/src/plugins/plugins-interface.c +++ b/weechat/src/plugins/plugins-interface.c @@ -237,12 +237,14 @@ t_plugin_handler * weechat_plugin_cmd_handler_add (t_weechat_plugin *plugin, char *command, char *description, char *arguments, char *arguments_description, + char *completion_template, t_plugin_handler_func *handler_func, char *handler_args, void *handler_pointer) { if (plugin && command && handler_func) return plugin_cmd_handler_add (plugin, command, description, arguments, arguments_description, + completion_template, handler_func, handler_args, handler_pointer); diff --git a/weechat/src/plugins/plugins.c b/weechat/src/plugins/plugins.c index 3b1d62c45..e8ce91cee 100644 --- a/weechat/src/plugins/plugins.c +++ b/weechat/src/plugins/plugins.c @@ -225,10 +225,11 @@ plugin_msg_handler_add (t_weechat_plugin *plugin, char *irc_command, * 3. command description (for /help) * 4. command arguments (for /help) * 5. command args description (for /help) - * 6. the handler function - * 7. handler args: a string given to + * 6. completion template + * 7. the handler function + * 8. handler args: a string given to * handler when called (used by scripts) - * 8. handler pointer: a pointer given to + * 9. handler pointer: a pointer given to * handler when called (used by scripts) */ @@ -236,6 +237,7 @@ t_plugin_handler * plugin_cmd_handler_add (t_weechat_plugin *plugin, char *command, char *description, char *arguments, char *arguments_description, + char *completion_template, t_plugin_handler_func *handler_func, char *handler_args, void *handler_pointer) { @@ -260,6 +262,7 @@ plugin_cmd_handler_add (t_weechat_plugin *plugin, char *command, new_handler->description = (description) ? strdup (description) : NULL; new_handler->arguments = (arguments) ? strdup (arguments) : NULL; new_handler->arguments_description = (arguments_description) ? strdup (arguments_description) : NULL; + new_handler->completion_template = (completion_template) ? strdup (completion_template) : NULL; new_handler->handler = handler_func; new_handler->handler_args = (handler_args) ? strdup (handler_args) : NULL; new_handler->handler_pointer = handler_pointer; @@ -706,35 +709,61 @@ int plugin_auto_load_file (t_weechat_plugin *plugin, char *filename) void plugin_auto_load () { - char *ptr_home, *dir_name; + char *ptr_home, *dir_name, *list_plugins, *pos, *pos2; - /* auto-load plugins in WeeChat home dir */ - if (cfg_plugins_path && cfg_plugins_path[0]) + if (cfg_plugins_autoload && cfg_plugins_autoload[0]) { - if (cfg_plugins_path[0] == '~') + if (ascii_strcasecmp (cfg_plugins_autoload, "*") == 0) { - ptr_home = getenv ("HOME"); - dir_name = (char *)malloc (strlen (cfg_plugins_path) + strlen (ptr_home) + 2); + /* auto-load plugins in WeeChat home dir */ + if (cfg_plugins_path && cfg_plugins_path[0]) + { + if (cfg_plugins_path[0] == '~') + { + ptr_home = getenv ("HOME"); + dir_name = (char *)malloc (strlen (cfg_plugins_path) + strlen (ptr_home) + 2); + if (dir_name) + { + strcpy (dir_name, ptr_home); + strcat (dir_name, cfg_plugins_path + 1); + plugin_exec_on_files (NULL, dir_name, &plugin_auto_load_file); + free (dir_name); + } + } + else + plugin_exec_on_files (NULL, cfg_plugins_path, &plugin_auto_load_file); + } + + /* auto-load plugins in WeeChat global lib dir */ + dir_name = (char *)malloc (strlen (WEECHAT_LIBDIR) + 16); if (dir_name) { - strcpy (dir_name, ptr_home); - strcat (dir_name, cfg_plugins_path + 1); + snprintf (dir_name, strlen (WEECHAT_LIBDIR) + 16, + "%s/plugins", WEECHAT_LIBDIR); plugin_exec_on_files (NULL, dir_name, &plugin_auto_load_file); free (dir_name); } } else - plugin_exec_on_files (NULL, cfg_plugins_path, &plugin_auto_load_file); - } - - /* auto-load plugins in WeeChat global lib dir */ - dir_name = (char *)malloc (strlen (WEECHAT_LIBDIR) + 16); - if (dir_name) - { - snprintf (dir_name, strlen (WEECHAT_LIBDIR) + 16, - "%s/plugins", WEECHAT_LIBDIR); - plugin_exec_on_files (NULL, dir_name, &plugin_auto_load_file); - free (dir_name); + { + list_plugins = strdup (cfg_plugins_autoload); + if (list_plugins) + { + pos = list_plugins; + while (pos && pos[0]) + { + pos2 = strchr (pos, ','); + if (pos2) + pos2[0] = '\0'; + plugin_load (pos); + if (pos2) + pos = pos2 + 1; + else + pos = NULL; + } + free (list_plugins); + } + } } } @@ -835,37 +864,12 @@ plugin_unload_all () void plugin_init (int auto_load) { - char *list_plugins, *pos, *pos2; - /* read plugins options on disk */ plugin_config_read (); /* auto-load plugins if asked */ - if (auto_load && cfg_plugins_autoload && cfg_plugins_autoload[0]) - { - if (ascii_strcasecmp (cfg_plugins_autoload, "*") == 0) - plugin_auto_load (); - else - { - list_plugins = strdup (cfg_plugins_autoload); - if (list_plugins) - { - pos = list_plugins; - while (pos && pos[0]) - { - pos2 = strchr (pos, ','); - if (pos2) - pos2[0] = '\0'; - plugin_load (pos); - if (pos2) - pos = pos2 + 1; - else - pos = NULL; - } - free (list_plugins); - } - } - } + if (auto_load) + plugin_auto_load (); } /* diff --git a/weechat/src/plugins/plugins.h b/weechat/src/plugins/plugins.h index 3c05e0f3b..85b03a8d9 100644 --- a/weechat/src/plugins/plugins.h +++ b/weechat/src/plugins/plugins.h @@ -41,6 +41,7 @@ extern t_plugin_handler *plugin_msg_handler_add (t_weechat_plugin *, char *, char *, void *); extern t_plugin_handler *plugin_cmd_handler_add (t_weechat_plugin *, char *, char *, char *, char *, + char *, t_plugin_handler_func *, char *, void *); extern int plugin_msg_handler_exec (char *, char *, char *); diff --git a/weechat/src/plugins/scripts/perl/weechat-perl.c b/weechat/src/plugins/scripts/perl/weechat-perl.c index ab4513972..877de0ef1 100644 --- a/weechat/src/plugins/scripts/perl/weechat-perl.c +++ b/weechat/src/plugins/scripts/perl/weechat-perl.c @@ -426,6 +426,7 @@ static XS (XS_weechat_add_message_handler) static XS (XS_weechat_add_command_handler) { char *command, *function, *description, *arguments, *arguments_description; + char *completion_template; unsigned int integer; dXSARGS; @@ -453,12 +454,14 @@ static XS (XS_weechat_add_command_handler) description = (items >= 3) ? SvPV (ST (2), integer) : NULL; arguments = (items >= 4) ? SvPV (ST (3), integer) : NULL; arguments_description = (items >= 5) ? SvPV (ST (4), integer) : NULL; + completion_template = (items >= 6) ? SvPV (ST (5), integer) : NULL; if (perl_plugin->cmd_handler_add (perl_plugin, command, description, arguments, arguments_description, + completion_template, weechat_perl_handler, function, (void *)perl_current_script)) @@ -1197,6 +1200,7 @@ weechat_plugin_init (t_weechat_plugin *plugin) "[load filename] | [autoload] | [reload] | [unload]", "filename: Perl script (file) to load\n\n" "Without argument, /perl command lists all loaded Perl scripts.", + "load|autoload|reload|unload", weechat_perl_cmd, NULL, NULL); plugin->mkdir_home (plugin, "perl"); diff --git a/weechat/src/plugins/scripts/python/weechat-python.c b/weechat/src/plugins/scripts/python/weechat-python.c index 00728bba5..bbe74ef8e 100644 --- a/weechat/src/plugins/scripts/python/weechat-python.c +++ b/weechat/src/plugins/scripts/python/weechat-python.c @@ -333,6 +333,7 @@ static PyObject * weechat_python_add_command_handler (PyObject *self, PyObject *args) { char *command, *function, *description, *arguments, *arguments_description; + char *completion_template; /* make gcc happy */ (void) self; @@ -350,9 +351,11 @@ weechat_python_add_command_handler (PyObject *self, PyObject *args) description = NULL; arguments = NULL; arguments_description = NULL; + completion_template = NULL; - if (!PyArg_ParseTuple (args, "ss|sss", &command, &function, - &description, &arguments, &arguments_description)) + if (!PyArg_ParseTuple (args, "ss|ssss", &command, &function, + &description, &arguments, &arguments_description, + completion_template)) { python_plugin->printf_server (python_plugin, "Python error: wrong parameters for " @@ -365,6 +368,7 @@ weechat_python_add_command_handler (PyObject *self, PyObject *args) description, arguments, arguments_description, + completion_template, weechat_python_handler, function, (void *)python_current_script)) @@ -1151,6 +1155,7 @@ weechat_plugin_init (t_weechat_plugin *plugin) "[load filename] | [autoload] | [reload] | [unload]", "filename: Python script (file) to load\n\n" "Without argument, /python command lists all loaded Python scripts.", + "load|autoload|reload|unload", weechat_python_cmd, NULL, NULL); plugin->mkdir_home (plugin, "python"); diff --git a/weechat/src/plugins/scripts/ruby/weechat-ruby.c b/weechat/src/plugins/scripts/ruby/weechat-ruby.c index 389100264..294a57244 100644 --- a/weechat/src/plugins/scripts/ruby/weechat-ruby.c +++ b/weechat/src/plugins/scripts/ruby/weechat-ruby.c @@ -448,7 +448,9 @@ static VALUE weechat_ruby_add_command_handler (int argc, VALUE *argv, VALUE class) { VALUE command, function, description, arguments, arguments_description; + VALUE completion_template; char *c_command, *c_function, *c_description, *c_arguments, *c_arguments_description; + char *c_completion_template; /* make gcc happy */ (void) class; @@ -466,14 +468,16 @@ weechat_ruby_add_command_handler (int argc, VALUE *argv, VALUE class) description = Qnil; arguments = Qnil; arguments_description = Qnil; + completion_template = Qnil; c_command = NULL; c_function = NULL; c_description = NULL; c_arguments = NULL; c_arguments_description = NULL; + c_completion_template = NULL; - rb_scan_args (argc, argv, "23", &command, &function, &description, - &arguments, &arguments_description); + rb_scan_args (argc, argv, "24", &command, &function, &description, + &arguments, &arguments_description, &completion_template); if (NIL_P (command) || NIL_P (function)) { @@ -500,16 +504,24 @@ weechat_ruby_add_command_handler (int argc, VALUE *argv, VALUE class) c_arguments = STR2CSTR (arguments); } - if (!NIL_P (arguments_description)) { + if (!NIL_P (arguments_description)) + { Check_Type (arguments_description, T_STRING); c_arguments_description = STR2CSTR (arguments_description); } + if (!NIL_P (completion_template)) + { + Check_Type (completion_template, T_STRING); + c_completion_template = STR2CSTR (completion_template); + } + if (ruby_plugin->cmd_handler_add (ruby_plugin, c_command, c_description, c_arguments, c_arguments_description, + c_completion_template, weechat_ruby_handler, c_function, (void *)ruby_current_script)) @@ -1322,6 +1334,7 @@ weechat_plugin_init (t_weechat_plugin *plugin) "[load filename] | [autoload] | [reload] | [unload]", "filename: Ruby script (file) to load\n\n" "Without argument, /ruby command lists all loaded Ruby scripts.", + "load|autoload|reload|unload", weechat_ruby_cmd, NULL, NULL); plugin->mkdir_home (plugin, "ruby"); diff --git a/weechat/src/plugins/weechat-plugin.h b/weechat/src/plugins/weechat-plugin.h index acce6b4fa..101c3df3f 100644 --- a/weechat/src/plugins/weechat-plugin.h +++ b/weechat/src/plugins/weechat-plugin.h @@ -86,6 +86,7 @@ struct t_plugin_handler char *description; /* (for /help) short cmd description */ char *arguments; /* (for /help) command arguments */ char *arguments_description; /* (for /help) args long description */ + char *completion_template; /* template for completion */ /* data common to all handlers */ t_plugin_handler_func *handler; /* pointer to handler */ @@ -141,6 +142,7 @@ struct t_weechat_plugin char *, void *); t_plugin_handler *(*cmd_handler_add) (t_weechat_plugin *, char *, char *, char *, char *, + char *, t_plugin_handler_func *, char *, void *); void (*handler_remove) (t_weechat_plugin *, t_plugin_handler *); @@ -178,6 +180,7 @@ extern t_plugin_handler *weechat_plugin_msg_handler_add (t_weechat_plugin *, cha char *, void *); extern t_plugin_handler *weechat_plugin_cmd_handler_add (t_weechat_plugin *, char *, char *, char *, char *, + char *, t_plugin_handler_func *, char *, void *); extern void weechat_plugin_handler_remove (t_weechat_plugin *, t_plugin_handler *); |