diff options
64 files changed, 6750 insertions, 4894 deletions
@@ -1,10 +1,11 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2005-12-09 +ChangeLog - 2005-12-11 Version 0.1.7 (under dev!): + * added charset by server and channel, new command: /charset * added Ruby script plugin * added /upgrade command * added ETA (Estimated Time of Arrival) for DCC files diff --git a/doc/weechat_doc_en.texi b/doc/weechat_doc_en.texi index 8f3f65240..c5762e92d 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, 6 2005 +@subtitle Documentation for WeeChat v0.1.7-cvs - December, 11 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -289,9 +289,6 @@ Type: boolean (values: 'on' or 'off'), default value: 'off'@* @item look_buffer_timestamp Timestamp for buffers@* Type: string (any string), default value: '[%H:%M:%S]'@* -@item look_color_nicks -Display nick names with different colors@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* @item look_color_nicks_number Number of colors to use for nicks colors@* Type: integer (values: between 1 and 10), default value: 10@* @@ -742,6 +739,15 @@ Type: boolean (values: 'on' or 'off'), default value: 'on'@* @item server_notify_levels Comma separated list of notify levels for channels of this server (format: #channel:1,..)@* Type: string (any string), default value: ''@* +@item server_charset_decode_iso +Comma separated list of charsets for server and channels, to decode ISO (format: server:charset,#channel:charset,..)@* +Type: string (any string), default value: ''@* +@item server_charset_decode_utf +Comma separated list of charsets for server and channels, to decode UTF (format: server:charset,#channel:charset,..)@* +Type: string (any string), default value: ''@* +@item server_charset_encode +Comma separated list of charsets for server and channels, to encode messages (format: server:charset,#channel:charset,..)@* +Type: string (any string), default value: ''@* @end table Colors for Curses GUI are:@* @@ -928,6 +934,14 @@ action: action to do:@* server,channel: jump to buffer by server and/or channel name@* number: jump to buffer by number@* @* +@item charset [(decode_iso | decode_utf | encode) charset] +@* +change charset for server or channel@* +@* +decode_iso: charset used for decoding ISO@* +decode_utf: charset used for decoding UTF@* + encode: charset used for encoding messages@* +@* @item clear [-all] @* clear window(s)@* diff --git a/doc/weechat_doc_es.texi b/doc/weechat_doc_es.texi index 58407bcf8..74b3eb824 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 - 6 de diciembre de 2005 +@subtitle Documentaci@'on para WeeChat v0.1.7-cvs - 11 de diciembre de 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -260,488 +260,494 @@ Enumeraci@'on de las opciones del fichero de configuraci@'on:@* @table @kbd @item look_set_title -Set title for window (terminal for Curses GUI) with name & version@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Define el t@'itulo de la ventana (el terminal para la interfaz Curses) con el nombre y la versi@'on@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_startup_logo -Display WeeChat logo at startup@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar el logotipo de WeeChat en el arranque@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_startup_version -Display WeeChat version at startup@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar la versi@'on de Weechat en el arranque@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_weechat_slogan -WeeChat slogan (if empty, slogan is not used)@* -Type: string (any string), default value: 'the geekest IRC client!'@* +Esl@'ogan de WeeChat (si est@'a vac@'io, el esl@'ogan no ser@'a utilizado)@* +Typo: cadena (cualquier cadena), valor por defecto: 'the geekest IRC client!'@* @item look_charset_decode_iso -ISO charset for decoding messages from server (used only if locale is UTF-8) (if empty, messages are not converted if locale is UTF-8@* -Type: string (any string), default value: 'ISO-8859-1'@* +Juego de caracteres ISO para decodificar mensajes del servidor (usado s@'olo si locale es UTF-8) (si est@'a vac@'io, los mensajes no se convierten si locale es UTF-8@* +Typo: cadena (cualquier cadena), valor por defecto: 'ISO-8859-1'@* @item look_charset_decode_utf -UTF charset for decoding messages from server (used only if locale is not UTF-8) (if empty, messages are not converted if locale is not UTF-8@* -Type: string (any string), default value: 'UTF-8'@* +Juego de caracteres UTF para decodificar mensajes del servidor (usado s@'olo si locale no es UTF-8) (si est@'a vac@'io, los mensajes no se convierten si locale no es UTF-8@* +Typo: cadena (cualquier cadena), valor por defecto: 'UTF-8'@* @item look_charset_encode -Charset for encoding messages sent to server, examples: UFT-8, ISO-8859-1 (if empty, messages are not converted)@* -Type: string (any string), default value: ''@* +Juego de caracteres para codificar los mensajes enviados al servidor, ejemplos: UTF-8, ISO-8859-1 (si est@'a vac@'io, los mensajes no se convierten)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item look_charset_internal -Forces internal WeeChat charset (should be empty in most cases, that means detected charset is used)@* -Type: string (any string), default value: ''@* +Fuerza el juego de caracteres interno de Weechat (deber@'ia estar vac@'io en la mayor@'ia de los casos, eso significa que se utiliza el juego de caracteres detectado)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item look_one_server_buffer -Use same buffer for all servers@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Usar el mismo bfer para todos los servidores@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item look_buffer_timestamp -Timestamp for buffers@* -Type: string (any string), default value: '[%H:%M:%S]'@* -@item look_color_nicks -Display nick names with different colors@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Fecha y hora para las bfers@* +Typo: cadena (cualquier cadena), valor por defecto: '[%H:%M:%S]'@* @item look_color_nicks_number -Number of colors to use for nicks colors@* -Type: integer (values: between 1 and 10), default value: 10@* +Nmero de colores para usar en los colores de nombres de usuario@* +Typo: entero (valores: entre 1 y 10), valor por defecto: 10@* @item look_color_actions -Display actions with different colors@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar acciones con colores diferentes@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_nicklist -Display nicklist window (for channel windows)@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar ventana de usuarios (para las ventanas de canal)@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_nicklist_position -Nicklist position (top, left, right (default), bottom)@* -Type: string (values: 'left', 'right', 'top', 'bottom'), default value: 'right'@* +Posici@'on de la ventana de usuarios (arriba (top), izquierda (left), derecha (right, por defecto), abajo (bottom))@* +Typo: cadena (valores: 'left', 'right', 'top', 'bottom'), valor por defecto: 'right'@* @item look_nicklist_min_size -Min size for nicklist (width or height, depending on look_nicklist_position (0 = no min size))@* -Type: integer (values: between 0 and 100), default value: 0@* +Tama@~no m@'inimo para la ventana de usuarios (ancho o alto, dependiendo de look_nicklist_position (0 = sin tama@~no m@'inimo))@* +Typo: entero (valores: entre 0 y 100), valor por defecto: 0@* @item look_nicklist_max_size -Max size for nicklist (width or height, depending on look_nicklist_position (0 = no max size; if min == max and > 0, then size is fixed))@* -Type: integer (values: between 0 and 100), default value: 0@* +Tama@~no m@'aximo para la ventana de usuarios (ancho o alto, dependiendo de look_nicklist_position (0 = sin tama@~no m@'aximo, si min == max y > 0, entonces se fija el tama@~no))@* +Typo: entero (valores: entre 0 y 100), valor por defecto: 0@* @item look_no_nickname -Text to display instead of nick when not connected@* -Type: string (any string), default value: '-cmd-'@* +Texto a mostrar en lugar del nick cuando no se est@'a conectado@* +Typo: cadena (cualquier cadena), valor por defecto: '-cmd-'@* @item look_nickmode -Display nick mode ((half)op/voice) before each nick@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar modo del usuario ((half)op/voice) antes de cada usuario@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_nickmode_empty -Display space if nick mode is not (half)op/voice@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Mostrar un espacio si el modo de usuario no es (half)op/voice@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item look_nick_completor -The string inserted after nick completion@* -Type: string (any string), default value: ':'@* +La cadena mostrada tras la finalizaci@'on de los nombres de usuario@* +Typo: cadena (cualquier cadena), valor por defecto: ':'@* @item look_nick_completion_ignore -Chars ignored for nick completion@* -Type: string (any string), default value: '[]-^'@* +Caracteres ignorados para el completado del nombre de usuario@* +Typo: cadena (cualquier cadena), valor por defecto: '[]-^'@* @item look_infobar -Enable info bar@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Activa la barra de informaci@'on@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_infobar_timestamp -Timestamp for time in infobar@* -Type: string (any string), default value: '%B, %A %d %Y'@* +Fecha y hora para las conversaciones guardadas@* +Typo: cadena (cualquier cadena), valor por defecto: '%B, %A %d %Y'@* @item look_infobar_seconds -Display seconds in infobar time@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar segundos en la hora de la barra de herramientas@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_infobar_delay_highlight -Delay (in seconds) for highlight messages in infobar (0 = disable highlight notifications in infobar)@* -Type: integer (values: between 0 and 2147483647), default value: 7@* +Retraso (en segundos) para la notificaci@'on de mensajes en la barra de informaci@'on (0 = desactivar las notificaciones en la barra de informaci@'on)@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 7@* @item look_hotlist_names_count -Max number of names in hotlist (0 = no name displayed, only buffer numbers)@* -Type: integer (values: between 0 and 32), default value: 3@* +Nmero m@'aximo de nombres en la hotlist (0 = no se muestra ninguno, s@'olo los nmeros de bfer)@* +Typo: entero (valores: entre 0 y 32), valor por defecto: 3@* @item look_hotlist_names_level -Level for displaying names in hotlist (combination of: 1=join/part, 2=message, 4=private, 8=highlight, for example: 12=private+highlight)@* -Type: integer (values: between 1 and 15), default value: 12@* +Nivel para mostrar mensajes en la hotlist (combinaci@'on de: 1=join/part, 2=mensaje, 4=privado, 8=resaltado, por ejemplo: 12=privado + resaltado)@* +Typo: entero (valores: entre 1 y 15), valor por defecto: 12@* @item look_hotlist_names_length -Max length of names in hotlist (0 = no limit)@* -Type: integer (values: between 0 and 32), default value: 0@* +Longitud m@'axima de nombres en la hotlist (0 = sin l@'imite)@* +Typo: entero (valores: entre 0 y 32), valor por defecto: 0@* @item look_day_change -Display special message when day changes@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar un mensaje especial cuando el d@'ia cambia@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_day_change_timestamp -Timestamp for date displayed when day changed@* -Type: string (any string), default value: '%a, %d %b %Y'@* +Marca de tiempo para la fecha mostrada cuando el d@'ia cambi@'o@* +Typo: cadena (cualquier cadena), valor por defecto: '%a, %d %b %Y'@* @item look_read_marker Use a marker on servers/channels to show first unread line@* -Type: string (any string), default value: ' '@* +Typo: cadena (cualquier cadena), valor por defecto: ' '@* @item col_real_white -If set, uses real white color, disabled by default for terms with white background (if you never use white background, you should turn on this option to see real white instead of default term foreground color)@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Si se establece, usa el color blanco verdadero, desactivado por defecto para terminales con el fondo blanco (si tu nunca usas un fondo blanco, deber@'ias activar esta opci@'on para ver el blanco verdadero en vez del color de primer plano del terminal por defecto)@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item col_title -Color for title bar@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para la barra de t@'itulo@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_title_bg -Background for title bar@* -Type: color (Curses or Gtk color), default value: 'blue'@* +Color de fondo para la barra de t@'itulo@* +Typo: color (color Curses o Gtk), valor por defecto: 'blue'@* @item col_chat -Color for chat text@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para el texto de conversaci@'on@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_chat_time -Color for time in chat window@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para la hora en la ventana de conversaci@'on@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_chat_time_sep -Color for time separator (chat window)@* -Type: color (Curses or Gtk color), default value: 'brown'@* +Color para el separador de la hora (ventana de conversaci@'on)@* +Typo: color (color Curses o Gtk), valor por defecto: 'brown'@* @item col_chat_prefix1 -Color for 1st and 3rd char of prefix@* -Type: color (Curses or Gtk color), default value: 'lightcyan'@* +Color para el primer o tercer car@'acter de prefijo@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightcyan'@* @item col_chat_prefix2 -Color for middle char of prefix@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para el car @'acter de en medio del prefijo@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_chat_server -Color for server name@* -Type: color (Curses or Gtk color), default value: 'brown'@* +Color para el nombre del servidor@* +Typo: color (color Curses o Gtk), valor por defecto: 'brown'@* @item col_chat_join -Color for join arrow (prefix)@* -Type: color (Curses or Gtk color), default value: 'lightgreen'@* +Color para la flecha de join (prefijo)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightgreen'@* @item col_chat_part -Color for part/quit arrow (prefix)@* -Type: color (Curses or Gtk color), default value: 'lightred'@* +Color para la flecha de part/quit (prefijo)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightred'@* @item col_chat_nick -Color for nicks in actions (chat window)@* -Type: color (Curses or Gtk color), default value: 'lightcyan'@* +Color para los nombres de usuario en las acciones (ventana de conversaci@'on)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightcyan'@* @item col_chat_host -Color for hostnames (chat window)@* -Type: color (Curses or Gtk color), default value: 'cyan'@* +Color para los nombres de m@'aquina (ventana de conversaci@'on)@* +Typo: color (color Curses o Gtk), valor por defecto: 'cyan'@* @item col_chat_channel -Color for channel names in actions (chat window)@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para los nombres de canal en las acciones (ventana de conversaci@'on)@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_chat_dark -Color for dark separators (chat window)@* -Type: color (Curses or Gtk color), default value: 'green'@* +Color para los separadores oscuros (ventana de conversaci@'on)@* +Typo: color (color Curses o Gtk), valor por defecto: 'green'@* @item col_chat_highlight -Color for highlighted nick (chat window)@* -Type: color (Curses or Gtk color), default value: 'yellow'@* +Color para el alias subrayado (ventana de conversaci@'on)@* +Typo: color (color Curses o Gtk), valor por defecto: 'yellow'@* @item col_chat_bg -Background for chat window@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color de fondo para la ventana de conversaci@'on@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_chat_read_marker Color for unread data marker@* -Type: color (Curses or Gtk color), default value: 'yellow'@* +Typo: color (color Curses o Gtk), valor por defecto: 'yellow'@* @item col_chat_read_marker_bg Background for unread data marker@* -Type: color (Curses or Gtk color), default value: 'magenta'@* +Typo: color (color Curses o Gtk), valor por defecto: 'magenta'@* @item col_status -Color for status bar@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para la barra de estado@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_status_delimiters -Color for status bar delimiters@* -Type: color (Curses or Gtk color), default value: 'cyan'@* +Color para los delimitadores de la barra de estado@* +Typo: color (color Curses o Gtk), valor por defecto: 'cyan'@* @item col_status_channel -Color for current channel in status bar@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para el canal actual en la barra de estado@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_status_data_msg -Color for window with new messages (status bar)@* -Type: color (Curses or Gtk color), default value: 'yellow'@* +Color para una ventana con mensajes nuevos (barra de estado)@* +Typo: color (color Curses o Gtk), valor por defecto: 'yellow'@* @item col_status_private -Color for window with private message (status bar)@* -Type: color (Curses or Gtk color), default value: 'lightmagenta'@* +Color para una ventana con un mensaje privado (barra de estado)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightmagenta'@* @item col_status_highlight -Color for window with highlight (status bar)@* -Type: color (Curses or Gtk color), default value: 'lightred'@* +Color para una ventana con resaltado (barra de estado)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightred'@* @item col_status_data_other -Color for window with new data (not messages) (status bar)@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para una ventana con nuevos datos (no mensajes) (barra de estado)@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_status_more -Color for window with new data (status bar)@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para una ventana con nuevos datos (barra de estado)@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_status_bg -Background for status window@* -Type: color (Curses or Gtk color), default value: 'blue'@* +Color de fondo para la ventana de estado@* +Typo: color (color Curses o Gtk), valor por defecto: 'blue'@* @item col_infobar -Color for info bar text@* -Type: color (Curses or Gtk color), default value: 'black'@* +Color para el texto de la barra de informaci@'on@* +Typo: color (color Curses o Gtk), valor por defecto: 'black'@* @item col_infobar_delimiters -Color for infobar delimiters@* -Type: color (Curses or Gtk color), default value: 'blue'@* +Color para los delimitadores de la barra de informaci@'on@* +Typo: color (color Curses o Gtk), valor por defecto: 'blue'@* @item col_infobar_highlight -Color for info bar highlight notification@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para la notificaci@'on en la barra de informaci@'on@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_infobar_bg -Background for info bar window@* -Type: color (Curses or Gtk color), default value: 'cyan'@* +Color de fondo para la ventana de la barra de informaci@'on@* +Typo: color (color Curses o Gtk), valor por defecto: 'cyan'@* @item col_input -Color for input text@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para el texto de entrada@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_input_channel -Color for input text (channel name)@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para el texto de entrada (nombre de canal)@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_input_nick -Color for input text (nick name)@* -Type: color (Curses or Gtk color), default value: 'lightcyan'@* +Color para el texto de entrada (alias)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightcyan'@* @item col_input_delimiters -Color for input text (delimiters)@* -Type: color (Curses or Gtk color), default value: 'cyan'@* +Color para el texto de entrada (delimitadores)@* +Typo: color (color Curses o Gtk), valor por defecto: 'cyan'@* @item col_input_bg -Background for input window@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color de fondo para la ventana de entrada@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_nick -Color for nicknames@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para los nombres de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_nick_away -Color for away nicknames@* -Type: color (Curses or Gtk color), default value: 'cyan'@* +Color para los usuarios ausentes@* +Typo: color (color Curses o Gtk), valor por defecto: 'cyan'@* @item col_nick_chanowner -Color for chan owner symbol (specific to unrealircd)@* -Type: color (Curses or Gtk color), default value: 'lightgreen'@* +Color para el s@'imbolo de propietario de canal (especificado en unrealircd)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightgreen'@* @item col_nick_chanadmin -Color for chan admin symbol (specific to unrealircd)@* -Type: color (Curses or Gtk color), default value: 'lightgreen'@* +Color para el s@'imbolo de administrador de canal (especificado en unrealircd)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightgreen'@* @item col_nick_op -Color for operator symbol@* -Type: color (Curses or Gtk color), default value: 'lightgreen'@* +Color para el s@'imbolo de operador@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightgreen'@* @item col_nick_halfop -Color for half-operator symbol@* -Type: color (Curses or Gtk color), default value: 'lightmagenta'@* +Color para el s@'imbolo de semi-operador@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightmagenta'@* @item col_nick_voice -Color for voice symbol@* -Type: color (Curses or Gtk color), default value: 'yellow'@* +Color para el s@'imbolo de voz@* +Typo: color (color Curses o Gtk), valor por defecto: 'yellow'@* @item col_nick_more -Color for '+' when scrolling nicks@* -Type: color (Curses or Gtk color), default value: 'lightmagenta'@* +Color para '+' al desplazar nicks@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightmagenta'@* @item col_nick_sep -Color for nick separator@* -Type: color (Curses or Gtk color), default value: 'blue'@* +Color para el separador de alias@* +Typo: color (color Curses o Gtk), valor por defecto: 'blue'@* @item col_nick_self -Color for local nick@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para el alias local@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_nick_color1 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'cyan'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'cyan'@* @item col_nick_color2 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'magenta'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'magenta'@* @item col_nick_color3 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'green'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'green'@* @item col_nick_color4 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'brown'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'brown'@* @item col_nick_color5 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'lightblue'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightblue'@* @item col_nick_color6 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_nick_color7 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'lightcyan'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightcyan'@* @item col_nick_color8 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'lightmagenta'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightmagenta'@* @item col_nick_color9 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'lightgreen'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightgreen'@* @item col_nick_color10 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'blue'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'blue'@* @item col_nick_private -Color for other nick in private window@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para el otro alias en la ventana privada@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_nick_bg -Background for nicknames@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color de fondo para los nombres de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_chat_dcc_selected -Color for selected DCC (chat window)@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para el DCC seleccionado (ventana de conversaci@'in)@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_dcc_waiting -Color for "waiting" dcc status@* -Type: color (Curses or Gtk color), default value: 'lightcyan'@* +Color para el estado dcc "esperando"@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightcyan'@* @item col_dcc_connecting -Color for "connecting" dcc status@* -Type: color (Curses or Gtk color), default value: 'yellow'@* +Color para el estado dcc "conectando"@* +Typo: color (color Curses o Gtk), valor por defecto: 'yellow'@* @item col_dcc_active -Color for "active" dcc status@* -Type: color (Curses or Gtk color), default value: 'lightblue'@* +Color para el estado dcc "activo"@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightblue'@* @item col_dcc_done -Color for "done" dcc status@* -Type: color (Curses or Gtk color), default value: 'lightgreen'@* +Color para el estado dcc "terminado"@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightgreen'@* @item col_dcc_failed -Color for "failed" dcc status@* -Type: color (Curses or Gtk color), default value: 'lightred'@* +Color para el estado dcc "fallo"@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightred'@* @item col_dcc_aborted -Color for "aborted" dcc status@* -Type: color (Curses or Gtk color), default value: 'lightred'@* +Color para el estado dcc "abortado"@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightred'@* @item history_max_lines -Maximum number of lines in history for one server/channel/private window (0 = unlimited)@* -Type: integer (values: between 0 and 2147483647), default value: 4096@* +Nmero m@'aximo de l@'ineas en el hist@'orico para un servidor/canal/privado (0 = ilimitado)@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 4096@* @item history_max_commands -Maximum number of user commands in history (0 = unlimited)@* -Type: integer (values: between 0 and 2147483647), default value: 100@* +Nmero mximo de comandos de usuario en el hist@'orico (0 = ilimitado)@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 100@* @item history_display_default -Maximum number of commands to display by default in history listing (0 = unlimited)@* -Type: integer (values: between 0 and 2147483647), default value: 5@* +Nmero m@'aximo de comandos para mostrar por defecto en el listado del historial (0 = ilimitado)@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 5@* @item log_auto_server -Automatically log server messages@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Registrar autom@'aticamente los mensajes de servidor@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item log_auto_channel -Automatically log channel chats@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Registrar autom@'aticamente las conversaciones de canal@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item log_auto_private -Automatically log private chats@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Registrar autom@'aticamente las conversaciones privadas@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item log_plugin_msg -Log messages from plugins (scripts)@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Registrar mensajes de plugins (scripts)@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item log_path -Path for WeeChat log files@* -Type: string (any string), default value: '~/.weechat/logs/'@* +Ruta para los archivos de registro (logs) de WeeChat@* +Typo: cadena (cualquier cadena), valor por defecto: '~/.weechat/logs/'@* @item log_timestamp -Timestamp for log (see man strftime for date/time specifiers)@* -Type: string (any string), default value: '%Y %b %d %H:%M:%S'@* +Fecha y hora para los registros (ver man strftime para el formato de fecha/hora)@* +Typo: cadena (cualquier cadena), valor por defecto: '%Y %b %d %H:%M:%S'@* @item log_hide_nickserv_pwd -Hide password displayed by nickserv@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Ocultar contrase@~na mostrada por nickserv@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item irc_display_away -Display message to all channels when (un)marking as away@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar mensaje en todos los canales cuando se vuelva del estado ausente@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item irc_default_msg_away -Default message when away@* -Type: string (any string), default value: 'away'@* +Mensaje por defecto para el estado ausente@* +Typo: cadena (cualquier cadena), valor por defecto: 'away'@* @item irc_default_msg_part -Default part message (leaving channel)@* -Type: string (any string), default value: 'WeeChat %v'@* +Mensaje por defecto de salida (saliendo de un canal)@* +Typo: cadena (cualquier cadena), valor por defecto: 'WeeChat %v'@* @item irc_default_msg_quit -Default quit message ('%v' will be replaced by WeeChat version in string)@* -Type: string (any string), default value: 'WeeChat %v'@* +Mensaje de fin por defecto ('%v' ser@'a reemplazado por la versi@'on de WeeChat en la cadena)@* +Typo: cadena (cualquier cadena), valor por defecto: 'WeeChat %v'@* @item irc_notice_as_pv -Display notices as private messages@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Mostrar noticias como mensajes privados@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item irc_away_check -Interval between two checks for away (in minutes, 0 = never check)@* -Type: integer (values: between 0 and 2147483647), default value: 0@* +Intervalo entre dos comprobaciones de ausencia (en minutos, 0 = no comprobar)@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 0@* @item irc_lag_check -Interval between two checks for lag (in seconds)@* -Type: integer (values: between 30 and 2147483647), default value: 60@* +Intervalo entre dos medidas de lag (en segundos)@* +Typo: entero (valores: entre 30 y 2147483647), valor por defecto: 60@* @item irc_lag_min_show -Minimum lag to show (in seconds)@* -Type: integer (values: between 0 and 2147483647), default value: 1@* +Lag m@'inimo a mostrar (en segundos)@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 1@* @item irc_lag_disconnect -Disconnect after important lag (in minutes, 0 = never disconnect)@* -Type: integer (values: between 0 and 2147483647), default value: 5@* +Desconexi@'on tras un lag importante (en minutos, 0 = no desconectar nunca)@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 5@* @item irc_fifo_pipe -Create a FIFO pipe for remote control@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Crea una tuber@'ia FIFO para control remoto@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item irc_highlight -Comma separated list of words to highlight (case insensitive comparison, words may begin or end with "*" for partial match)@* -Type: string (any string), default value: ''@* +Lista separada por comas de palabras a resaltar (comparaci@'on insensible a maysculas, las palabras pueden empezar o terminar con "*" para una concordancia parcial)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item irc_colors_receive -When off, colors codes are ignored in incoming messages@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Cuando se desactiva, los c@'odigos de color se ignoran en los mensajes entrantes@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item irc_colors_send -Allow user to send colors with special codes (%B=bold, %Cxx,yy=color, %U=underline, %R=reverse)@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Permitir al usuario enviar colores con c@'odigos especiales (%B=negrita, %Cxx,yy=color, %U=subrayado, %R=invertido) @* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item dcc_auto_accept_files -Automatically accept incoming dcc files@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Aceptar autom@'aticamente los ficheros dcc entrantes@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item dcc_auto_accept_chats -Automatically accept dcc chats (use carefully!)@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Aceptar autom@'aticamente las peticiones de conversaci@'on dcc (utilizar con precauci@'on!)@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item dcc_timeout -Timeout for dcc request (in seconds)@* -Type: integer (values: between 1 and 2147483647), default value: 300@* +Tiempo de espera para la petici@'on dcc (en segundos)@* +Typo: entero (valores: entre 1 y 2147483647), valor por defecto: 300@* @item dcc_blocksize -Block size for dcc packets in bytes (default: 65536)@* -Type: integer (values: between 1024 and 102400), default value: 65536@* +Tama@~no de bloque para los paquetes dcc en bytes (por defecto: 65536)@* +Typo: entero (valores: entre 1024 y 102400), valor por defecto: 65536@* @item dcc_port_range -Restricts outgoing dcc to use only ports in the given range (useful for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, empty value means any port)@* -Type: string (any string), default value: ''@* +Restringe el dcc de salida a utilizar nicamente los puertos del rango especificado (til para NAT) (sintaxis: un puerto simple, e.g. 5000, o un rango de puertos, e.g. 5000-5015, un valor vac@'io significa cualquier puerto)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item dcc_own_ip -IP or DNS address used for outgoing dcc (if empty, local interface IP is used)@* -Type: string (any string), default value: ''@* +Direcci@'on IP o DNS usado para dcc de salida (si est@'a vac@'io, se utiliza la IP de interfaz local)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item dcc_download_path -Path for writing incoming files with dcc (default: user home)@* -Type: string (any string), default value: '~'@* +Ruta para los ficheros recibidos con dcc (por defecto: directorio home del usuario)@* +Typo: cadena (cualquier cadena), valor por defecto: '~'@* @item dcc_upload_path -Path for reading files when sending thru dcc (when no path is specified)@* -Type: string (any string), default value: '~'@* +Ruta para la lectura de ficheros cuando se env@'ian a trav@'es de dcc (cuando no se especifica una ruta)@* +Typo: cadena (cualquier cadena), valor por defecto: '~'@* @item dcc_convert_spaces -Convert spaces to underscores when sending files@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Convertir los espacios a subrayados cuando se env@'ian los ficheros@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item dcc_auto_rename -Rename incoming files if already exists (add '.1', '.2', ...)@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Renombrar los ficheros recibidos si ya existen (a@~nadir '.1', '.2', ...)@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item dcc_auto_resume -Automatically resume dcc transfer if connection with remote host is loosed@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Continuar autom@'aticamente la transferencia dcc si se ha perdido la conexi@'on con la m@'aquina remota@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item proxy_use -Use a proxy server to connect to irc server@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Utilizar un proxy para conectarse al servidor irc@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item proxy_type -Proxy type (http (default), socks4, socks5)@* -Type: string (values: 'http', 'socks4', 'socks5'), default value: 'http'@* +Tipo de proxy(http (por defecto), socks4, socks5)@* +Typo: cadena (valores: 'http', 'socks4', 'socks5'), valor por defecto: 'http'@* @item proxy_ipv6 -Connect to proxy in ipv6@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Conectar al proxy en ipv6@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item proxy_address -Proxy server address (IP or hostname)@* -Type: string (any string), default value: ''@* +Direcci@'on del servidor proxy (IP o nombre de m@'aquina)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item proxy_port -Port for connecting to proxy server@* -Type: integer (values: between 0 and 65535), default value: 3128@* +Puerto para conectarse al servidor proxy@* +Typo: entero (valores: entre 0 y 65535), valor por defecto: 3128@* @item proxy_username -Username for proxy server@* -Type: string (any string), default value: ''@* +Nombre de usuario para el servidor proxy@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item proxy_password -Password for proxy server@* -Type: string (any string), default value: ''@* +Contrase@~na para el servidor proxy@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item plugins_path -Path for searching plugins@* -Type: string (any string), default value: '~/.weechat/plugins'@* +Ruta para la bsqueda de plugins@* +Typo: cadena (cualquier cadena), valor por defecto: '~/.weechat/plugins'@* @item plugins_autoload -Comma separated list of plugins to load automatically at startup, "*" means all plugins found (names may be partial, for example "perl" is ok for "libperl.so")@* -Type: string (any string), default value: '*'@* +Lista de plugins separados por comas para cargar autom@'aticamente al iniciar, "*" significa todos los plugins encontrados (los nombres pueden ser parciales, por ejemplo "perl" est@'a bien para "libperl.so")@* +Typo: cadena (cualquier cadena), valor por defecto: '*'@* @item plugins_extension -Standard plugins extension in filename, used for autoload (if empty, then all files are loaded when autoload is "*")@* -Type: string (any string), default value: '.so'@* +Extensi@'on de plugins est@'andar en nombre de archivo, usada para la autocarga (si est@'a vac@'io, entonces se cargan todos los archivos cuando la autocarga es "*")@* +Typo: cadena (cualquier cadena), valor por defecto: '.so'@* @item server_name -Name associated to IRC server (for display only)@* -Type: string (any string), default value: ''@* +Nombre asociado al servidor IRC (para mostrar solamente)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_autoconnect -Automatically connect to server when WeeChat is starting@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Conexi@'on autom@'atica al servidor cuando WeeChat est@'a arrancando@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item server_autoreconnect -Automatically reconnect to server when disconnected@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Reconexi@'on autom@'atica al servidor tras una desconexi@'on@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item server_autoreconnect_delay -Delay (in seconds) before trying again to reconnect to server@* -Type: integer (values: between 0 and 65535), default value: 30@* +Espera (en segundos) antes de intentar de nuevo una reconexi@'on al servidor@* +Typo: entero (valores: entre 0 y 65535), valor por defecto: 30@* @item server_address -IP address or hostname of IRC server@* -Type: string (any string), default value: ''@* +Direcci@'on IP o nombre de m@'aquina del servidor IRC@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_port -Port for connecting to server@* -Type: integer (values: between 0 and 65535), default value: 6667@* +Puerto para conectarse al servidor@* +Typo: entero (valores: entre 0 y 65535), valor por defecto: 6667@* @item server_ipv6 -Use IPv6 protocol for server communication@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Usar el protocolo IPv6 para la comunicaci@'on del servidor@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item server_ssl -Use SSL for server communication@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Usar SSL para la comunicaci@'on del servidor@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item server_password -Password for IRC server@* -Type: string (any string), default value: ''@* +Contrase@~na para el servidor IRC@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_nick1 -Nickname to use on IRC server@* -Type: string (any string), default value: ''@* +Nombre de usuario a utilizar en el servidor IRC@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_nick2 -Alternate nickname to use on IRC server (if nickname is already used)@* -Type: string (any string), default value: ''@* +Nombre de usuario alternativo para el servidor IRC (si el nombre de usuario ya est@'a en uso)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_nick3 -2nd alternate nickname to use on IRC server (if alternate nickname is already used)@* -Type: string (any string), default value: ''@* +Segundo nombre de usuario alternativo a utilizar en el servidor IRC (si el nombre de usuario alternativo ya est@'a en uso)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_username -User name to use on IRC server@* -Type: string (any string), default value: ''@* +Nombre de usuario para el servidor IRC@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_realname -Real name to use on IRC server@* -Type: string (any string), default value: ''@* +Nombre real para el servidor IRC@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_command -First command to run when connected to server@* -Type: string (any string), default value: ''@* +Primer comando a ejecutar cuando se conecte a un servidor@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_command_delay -Delay (in seconds) after command was executed (example: give some time for authentication)@* -Type: integer (values: between 0 and 5), default value: 0@* +Espera (en segundos) despu@'es de que el comando sea ejecutado (ejemplo: dar algo de tiempo para la autenticaci@'on)@* +Typo: entero (valores: entre 0 y 5), valor por defecto: 0@* @item server_autojoin -Comma separated list of channels to join when connected to server (example: "#chan1,#chan2,#chan3 key1,key2")@* -Type: string (any string), default value: ''@* +Lista de canales (separados por comas) a unirse cuando se conecte a un servidor (ejemplo: "#chan1,#chan2,#chan3 key1,key2")@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_autorejoin -Automatically rejoin channels when kicked@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Unirse de nuevo autom@'aticamente a los canales cuando sea expulsado@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item server_notify_levels -Comma separated list of notify levels for channels of this server (format: #channel:1,..)@* -Type: string (any string), default value: ''@* +Lista separada por comas de niveles de notificaci@'on para canales de este servidor (formato: #canal:1,...)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* +@item server_charset_decode_iso +Comma separated list of charsets for server and channels, to decode ISO (format: server:charset,#channel:charset,..)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* +@item server_charset_decode_utf +Comma separated list of charsets for server and channels, to decode UTF (format: server:charset,#channel:charset,..)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* +@item server_charset_encode +Comma separated list of charsets for server and channels, to encode messages (format: server:charset,#channel:charset,..)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @end table Los colores para el interfaz Curses son:@* @@ -908,17 +914,17 @@ Scroll nicklist@* Comandos internos WeeChat:@* @table @kbd -@item alias [alias_name [command [arguments]] +@item alias [nombre_alias [comando [argumentos]] @* -create an alias for a command@* +crear un alias para un comando@* @* -alias_name: name of alias@* -command: command name (WeeChat or IRC command, without first '/')@* -arguments: arguments for command@* +nombre_alias: nombre del seud@'onimo@* +comando: nombre del comando (comando WeeChat o IRC, sin el primer '/')@* +argumentos: par@'ametros para el comando@* @* -@item buffer [action | number | [[server] [channel]]] +@item buffer [acci@'on | nmero | [[servidor] [canal]]] @* -manage buffers@* +gestionar los bfers@* @* action: action to do:@* move: move buffer in the list (may be relative, for example -1)@* @@ -928,122 +934,130 @@ action: action to do:@* server,channel: jump to buffer by server and/or channel name@* number: jump to buffer by number@* @* +@item charset [(decode_iso | decode_utf | encode) charset] +@* +change charset for server or channel@* +@* +decode_iso: charset used for decoding ISO@* +decode_utf: charset used for decoding UTF@* + encode: charset used for encoding messages@* +@* @item clear [-all] @* -clear window(s)@* +limpiar la(s) ventana(s)@* @* --all: clear all windows@* +-all: limpiar todas las ventanas@* @* -@item connect [servername] +@item connect [nombre_del_servidor] @* -connect to a server@* +conectarse a un servidor@* @* -servername: server name to connect@* +nombre_del_servidor: nombre del servidor al que conectarse@* @* -@item disconnect [servername] +@item disconnect [nombre_del_servidor] @* -disconnect from a server@* +desconectarse de un servidor@* @* -servername: server name to disconnect@* +nombre_del_servidor: nombre del servidor del que desconectarse@* @* -@item debug dump | windows +@item debug volcar | ventanas @* -print debug messages@* +imprime mensajes de depuraci@'on@* @* -dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)@* -windows: display windows tree@* +volcar: guarda el volcado de memoria en el archivo de registro de WeeChat (se escribe el mismo volcado cuando WeeChat se cuelga)@* +ventanas: muestra el @'arbol de ventanas@* @* -@item help [command] +@item help [comando] @* -display help about commands@* +mostrar ayuda sobre los comandos@* @* -command: name of a WeeChat or IRC command@* +comando: nombre de un comando de Weechat o de IRC@* @* -@item history [clear | value] +@item history [limpiar | valor] @* -show buffer command history@* +mostrar historial de comandos de bfer@* @* -clear: clear history@* -value: number of history entries to show@* +limpiar: limpiar historial@* +valor: nmero de entradas del historial para mostrar@* @* -@item ignore [mask [[type | command] [channel [server]]]] +@item ignore [m@'ascara [[tipo | comando] [canal [servidor]]]] @* -ignore IRC messages and/or hosts@* +ignorar los mensajes IRC y/o los hosts@* @* - mask: nick or host mask to ignore@* - type: type of message to ignore (action, ctcp, dcc, pv)@* -command: IRC command@* -channel: name of channel for ignore@* - server: name of server for ignore@* + m@'ascara: m@'ascara de usuario o m@'aquina que ignorar@* + tipo: tipo de mensaje que ignorar (action, ctcp, dcc, pv)@* +comando: comando IRC@* +canal: nombre del canal que ignorar@* + servidor: nombre del servidor que ignorar@* @* -For each argument, '*' means all.@* -Without argument, /ignore command lists all defined ignore.@* +Para cada argumento, '*' significa todo.@* +Sin argumentos, el comando /ignore lista todos los ignores definidos.@* @* -@item key [key function/command] [unbind key] [functions] [reset -yes] +@item key [clave funci@'on/comando] [desatar clave] [funciones] [reset -yes] @* -bind/unbind keys@* +atar/desatar claves@* @* -key: bind this key to an internal function or a command (beginning by "/")@* -unbind: unbind a key (if "all", default bindings are restored)@* -functions: list internal functions for key bindings@* -reset: restore bindings to the default values and delete ALL personal binding (use carefully!)@* +clave: ata esta clave a una funci@'on interna o a un comando (comenzando por "/ ")@* +desatar: desata una clave(si "all", se restauran los anclajes por defecto)@* +funciones: lista funciones internas para el anclaje de claves@* +reset: restaura anclajes a los valores por defecto y elimina todos los anclajes personales (usar cuidadosamente)@* @* -@item plugin [load filename] | [autoload] | [reload] | [unload] +@item plugin [cargar fichero] | [autocargar] | [recargar] | [descargar] @* -list/load/unload plugins@* +listar/cargar/descargar plugins@* @* -filename: WeeChat plugin (file) to load@* +fichero: plugin (archivo) WeeChat para cargar@* @* -Without argument, /plugin command lists all loaded plugins.@* +Sin argumentos, el comando /plugin lista todos los plugins cargados.@* @* -@item server [servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname realname] [-command command] [-autojoin channel[,channel]] ] | [del servername] +@item server [nombre_de_servidor] | [nombre_de_servidor nombre/IP puerto [-auto | -noauto] [-ipv6] [-ssl] [-pwd contrase@~na] [-nicks alias1 alias2 alias3] [-username nombre de usuario] [-realname nombre_real] [-command comando] [-autojoin canal[,canal]] ] | [del nombre_de_servidor] @* -list, add or remove servers@* +lista, a@~nde o elimina servidores@* @* -servername: server name, for internal & display use@* -hostname: name or IP address of server@* -port: port for server (integer)@* -ipv6: use IPv6 protocol@* -ssl: use SSL protocol@* -password: password for server@* -nick1: first nick for server@* -nick2: alternate nick for server@* -nick3: second alternate nick for server@* -username: user name@* -realname: real name of user@* +nombre_de_servidor: nombre del servidor, para uso interno y para mostrar@* +nombre_de_anfitri@'on: nombre o direcci@'on IP del servidor@* +puerto: puerto para el servidor (nmero entero)@* +ipv6: utilizar protocolo IPv6@* +ssl: utilizar protocolo SSL@* +contrase@~na: contrase@~na para el servidor@* +alias1: primer alias para el servidor@* +alias2: alias alternativo para el servidor@* +alias3: segundo alias alternativo para el servidor@* +nombre_de_usuario: nombre de usuario@* +nombre_real: nombre real del usuario@* @* -@item save [file] +@item save [archivo] @* -save config to disk@* +guardar configuraci@'on a disco@* @* -file: filename for writing config@* +archivo: fichero en el que guardar la configuraci@'on@* @* -@item set [option [ = value]] +@item set [opci@'on [ = valor]] @* -set config parameters@* +modificar par@'ametros de configuraci@'on@* @* -option: name of an option (if name is full and no value is given, then help is displayed on option)@* -value: value for option@* +opci@'on: nombre de una opci@'on (si el nombre est@'a completo y no se da ningn valor, entonces se muestra la ayuda de la opci@'on)@* +valor: valor para una opci@'on@* @* -@item unalias alias_name +@item unalias alias @* -remove an alias@* +eliminar un alias@* @* -alias_name: name of alias to remove@* +alias: nombre del alias a suprimir@* @* -@item unignore [number | [mask [[type | command] [channel [server]]]]] +@item unignore [nmero | [m@'ascara [[tipo | comando] [canal [servidor]]]]] @* -unignore IRC messages and/or hosts@* +no ignorar mensajes IRC y/o hosts@* @* - number: # of ignore to unignore (number is displayed by list of ignore)@* - mask: nick or host mask to unignore@* - type: type of message to unignore (action, ctcp, dcc, pv)@* -command: IRC command@* -channel: name of channel for unignore@* - server: name of server for unignore@* + nmero: # de ignores para quitar (el nmero se muestra por la lista de ignores)@* + m@'ascara de usuario o m@'aquina para no ignorar@* + tipo: tipo de mensaje para no ignorar(action, ctcp, dcc, pv)@* +comando: comando IRC@* +canal: nombre del canal para no ignorar@* + servidor: nombre del servidor para no ignorar@* @* -For each argument, '*' means all.@* -Without argument, /unignore command lists all defined ignore.@* +Para cada argumento, '*' significa todo.@* +Sin argumentos, el comando /unignore lista todos los ignores definidos.@* @* @item upgrade @* @@ -1051,24 +1065,24 @@ upgrade WeeChat without disconnecting from servers@* @* @item uptime [-o] @* -show WeeChat uptime@* +muestra el tiempo de uso de WeeChat@* @* --o: send uptime on current channel as an IRC message@* +-o: env@'ia el tiempo de uso en el canal actual como un mensaje IRC@* @* @item window [list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge [all]] @* -manage windows@* +gesti@'on de ventanas@* @* -list: list opened windows (no parameter implies this list)@* --1: jump to previous window@* -+1: jump to next window@* -b#: jump to next window displaying buffer number #@* -splith: split current window horizontally@* -splitv: split current window vertically@* -resize: resize window size, new size is <pct>%% of parent window@* -merge: merge window with another (all = keep only one window)@* +list: lista las ventanas abiertas(sin par@'ametros implica esta lista)@* +-1: salta a la ventana previa@* ++1: salta a la ventana siguiente@* +b#: salta a la ventana siguiente mostrando el nmero de bfer@* +splith: divide la ventana actual horizontalmente@* +splitv: divide la ventana actual verticalmente@* +resize: redimensiona el tama@~no de la ventana, el nuevo tama@~no es <pct>%% de la ventana padre@* +merge: fusionar la ventana con otra(all = mantener s@'olo una ventana)@* @* -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@* +Para splith y splitv, pct es un porcentaje que representa el tama@~no de la nueva ventana, tomando como referencia el tama@~no de la ventana actual. Por ejemplo 25 significa crear una nueva ventana con tama@~no = tama@~no_actual / 4@* @* @end table diff --git a/doc/weechat_doc_fr.texi b/doc/weechat_doc_fr.texi index e8bd62555..96f01401d 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 - 6 decembre 2005 +@subtitle Documentation pour WeeChat v0.1.7-cvs - 11 decembre 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -290,9 +290,6 @@ Type: bool@'een (valeurs: 'on' ou 'off'), valeur par d@'efaut: 'off'@* @item look_buffer_timestamp Format de date/heure pour les tampons@* Type: cha@^ine (toute cha@^ine), valeur par d@'efaut: '[%H:%M:%S]'@* -@item look_color_nicks -Afficher les utilisateurs avec diff@'erentes couleurs@* -Type: bool@'een (valeurs: 'on' ou 'off'), valeur par d@'efaut: 'on'@* @item look_color_nicks_number Nombre de couleurs @`a utiliser pour les couleurs des pseudos@* Type: entier (valeurs: entre 1 et 10), valeur par d@'efaut: 10@* @@ -743,6 +740,15 @@ Type: bool@'een (valeurs: 'on' ou 'off'), valeur par d@'efaut: 'on'@* @item server_notify_levels Liste des niveaux de notifications (s@'epar@'es par des virgules) pour les canaux de ce serveur (format: #canal:1,..)@* Type: cha@^ine (toute cha@^ine), valeur par d@'efaut: ''@* +@item server_charset_decode_iso +Liste des jeux de caract@`eres (s@'epar@'es par des virgules) pour le serveur et les canaux, pour d@'ecoder l'ISO (format: server:charset,#canal:charset,..)@* +Type: cha@^ine (toute cha@^ine), valeur par d@'efaut: ''@* +@item server_charset_decode_utf +Liste des jeux de caract@`eres (s@'epar@'es par des virgules) pour le serveur et les canaux, pour d@'ecoder l'UTF (format: server:charset,#canal:charset,..)@* +Type: cha@^ine (toute cha@^ine), valeur par d@'efaut: ''@* +@item server_charset_encode +Liste des jeux de caract@`eres (s@'epar@'es par des virgules) pour le serveur et les canaux, pour encoder les messages (format: server:charset,#canal:charset,..)@* +Type: cha@^ine (toute cha@^ine), valeur par d@'efaut: ''@* @end table Les couleurs pour l'interface Curses sont :@* @@ -929,6 +935,14 @@ action: action @`a effectuer:@* serveur,canal: sauter au tampon par serveur et/ou nom de canal@* nombre: sauter au tampon qui a ce num@'ero@* @* +@item charset [(decode_iso | decode_utf | encode) charset] +@* +changer le jeu de caract@`eres pour le serveur ou le canal@* +@* +decode_iso: jeu de caract@`ere utilis@'e pour d@'ecoder l'ISO@* +decode_utf: jeu de caract@`ere utilis@'e pour d@'ecoder l'UTF@* + encode: jeu de caract@`ere utilis@'e pour encoder les messages@* +@* @item clear [-all] @* effacer la/les fen@^etre(s)@* @@ -987,7 +1001,7 @@ associer/lib@'erer des touches@* touche: associer cette touche @`a une fonction interne ou une commande (commen@,{c}ant par "/")@* unbind: supprimer l'association @`a une touche (si "all", toutes les associations de touches par d@'efaut sont restaur@'ees)@* functions: lister la liste des fonctions internes pour les associations de touches@* -reset: restaur les touches aux valeurs par d@'efaut et supprime TOUTES les touches personnelles (utiliser avec pr@'ecaution !)@* +reset: restaure les touches aux valeurs par d@'efaut et supprime TOUTES les touches personnelles (utiliser avec pr@'ecaution !)@* @* @item plugin [load fichier] | [autoload] | [reload] | [unload] @* diff --git a/doc/weechat_doc_pt.texi b/doc/weechat_doc_pt.texi index 25839cc64..b4f472bd7 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 - 6 de dezembro de 2005 +@subtitle Documenta@,{c}@~ao do WeeChat v0.1.7-cvs - 11 de dezembro de 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -287,9 +287,6 @@ Type: boolean (values: 'on' or 'off'), default value: 'off'@* @item look_buffer_timestamp Timestamp for buffers@* Type: string (any string), default value: '[%H:%M:%S]'@* -@item look_color_nicks -Display nick names with different colors@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* @item look_color_nicks_number Number of colors to use for nicks colors@* Type: integer (values: between 1 and 10), default value: 10@* @@ -740,6 +737,15 @@ Type: boolean (values: 'on' or 'off'), default value: 'on'@* @item server_notify_levels Comma separated list of notify levels for channels of this server (format: #channel:1,..)@* Type: string (any string), default value: ''@* +@item server_charset_decode_iso +Comma separated list of charsets for server and channels, to decode ISO (format: server:charset,#channel:charset,..)@* +Type: string (any string), default value: ''@* +@item server_charset_decode_utf +Comma separated list of charsets for server and channels, to decode UTF (format: server:charset,#channel:charset,..)@* +Type: string (any string), default value: ''@* +@item server_charset_encode +Comma separated list of charsets for server and channels, to encode messages (format: server:charset,#channel:charset,..)@* +Type: string (any string), default value: ''@* @end table Colors for Curses GUI are:@* @@ -926,6 +932,14 @@ action: action to do:@* server,channel: jump to buffer by server and/or channel name@* number: jump to buffer by number@* @* +@item charset [(decode_iso | decode_utf | encode) charset] +@* +change charset for server or channel@* +@* +decode_iso: charset used for decoding ISO@* +decode_utf: charset used for decoding UTF@* + encode: charset used for encoding messages@* +@* @item clear [-all] @* clear window(s)@* @@ -7,95 +7,95 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.7-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-12-06 18:33+0100\n" -"PO-Revision-Date: 2005-12-01 16:40+0100\n" +"POT-Creation-Date: 2005-12-11 01:50+0100\n" +"PO-Revision-Date: 2005-12-10 22:45+0100\n" "Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/irc/irc-server.c:179 src/common/weeconfig.c:2054 +#: src/irc/irc-server.c:182 src/common/weeconfig.c:2189 msgid "Unable to get user's name" msgstr "Nemůžu získat jméno uživatele" -#: src/irc/irc-server.c:247 +#: src/irc/irc-server.c:250 #, c-format msgid "%s cannot allocate new server\n" msgstr "%s nemůžu přidělit nový server\n" -#: src/irc/irc-server.c:464 +#: src/irc/irc-server.c:563 #, c-format msgid "%s error sending data to IRC server\n" msgstr "%s chyba při zasílání dat na IRC server\n" -#: src/irc/irc-server.c:487 src/irc/irc-server.c:500 src/irc/irc-server.c:547 -#: src/irc/irc-server.c:560 +#: src/irc/irc-server.c:585 src/irc/irc-server.c:598 src/irc/irc-server.c:645 +#: src/irc/irc-server.c:658 #, c-format msgid "%s not enough memory for received IRC message\n" msgstr "%s nedostatek paměti pro získání IRC zprávy\n" -#: src/irc/irc-server.c:672 +#: src/irc/irc-server.c:770 #, c-format msgid "%s Command \"%s\" failed!\n" msgstr "%s Příkaz \"%s\" selhal\n" -#: src/irc/irc-server.c:678 +#: src/irc/irc-server.c:776 #, c-format msgid "%s No command to execute!\n" msgstr "%s Žádný příkaz pro provedení!\n" -#: src/irc/irc-server.c:684 +#: src/irc/irc-server.c:782 #, c-format msgid "%s Unknown command: cmd=\"%s\", host=\"%s\", args=\"%s\"\n" msgstr "%s Neznámý příkaz: příkaz=\"%s\", host=\"%s\", parametry=\"%s\"\n" -#: src/irc/irc-server.c:735 +#: src/irc/irc-server.c:833 #, c-format msgid "%s cannot read data from socket, disconnecting from server...\n" msgstr "%s nemůžu přečíst data ze soketu, odpojuji se od serveru...\n" -#: src/irc/irc-server.c:816 +#: src/irc/irc-server.c:914 #, c-format msgid "%s: Reconnecting to server in %d seconds\n" msgstr "%s: Navazuji nové spojení se serverem za %d sekund\n" -#: src/irc/irc-server.c:850 +#: src/irc/irc-server.c:948 #, c-format msgid "%s gnutls handshake failed\n" msgstr "%s handshake s gnutls selhal\n" -#: src/irc/irc-server.c:867 +#: src/irc/irc-server.c:965 #, c-format msgid "%s proxy address \"%s\" not found\n" msgstr "%s adresa proxy \"%s\" nenalezena\n" -#: src/irc/irc-server.c:871 +#: src/irc/irc-server.c:969 #, c-format msgid "%s address \"%s\" not found\n" msgstr "%s adresa \"%s\" nenalezena\n" -#: src/irc/irc-server.c:881 +#: src/irc/irc-server.c:979 #, c-format msgid "%s proxy IP address not found\n" msgstr "%s IP adresa proxy nenalezena\n" -#: src/irc/irc-server.c:884 +#: src/irc/irc-server.c:982 #, c-format msgid "%s IP address not found\n" msgstr "%s IP adresa nenalezena\n" -#: src/irc/irc-server.c:893 +#: src/irc/irc-server.c:991 #, c-format msgid "%s proxy connection refused\n" msgstr "%s proxy odmítla spojení\n" -#: src/irc/irc-server.c:896 +#: src/irc/irc-server.c:994 #, c-format msgid "%s connection refused\n" msgstr "%s spojení odmítnuto\n" -#: src/irc/irc-server.c:904 +#: src/irc/irc-server.c:1002 #, c-format msgid "" "%s proxy fails to establish connection to server (check username/password if " @@ -104,7 +104,7 @@ msgstr "" "%s selhalo zjednání spojení s proxy serverem (zkontrolujte uživatelské jméno " "a heslo pokud jsou vyžadovány)\n" -#: src/irc/irc-server.c:1383 +#: src/irc/irc-server.c:1481 #, c-format msgid "" "%s cannot connect with SSL since WeeChat was not built with GNUtls support\n" @@ -112,61 +112,61 @@ msgstr "" "%s nemohu se připojit pomocí SSL, protže WeeChat nebyl sestaven s podporou " "GNUtls\n" -#: src/irc/irc-server.c:1392 +#: src/irc/irc-server.c:1490 #, c-format msgid "%s: connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "%s: připojuji se k serveru %s:%d%s%s přes %s proxy %s:%d%s...\n" -#: src/irc/irc-server.c:1398 +#: src/irc/irc-server.c:1496 #, c-format msgid "Connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "Připojuji se k serveru %s:%d%s%s přes %s proxy %s:%d%s...\n" -#: src/irc/irc-server.c:1408 +#: src/irc/irc-server.c:1506 #, c-format msgid "%s: connecting to server %s:%d%s%s...\n" msgstr "%s: připojuji se k serveru %s:%d%s%s...\n" -#: src/irc/irc-server.c:1412 +#: src/irc/irc-server.c:1510 #, c-format msgid "Connecting to server %s:%d%s%s...\n" msgstr "Připojuji se k serveru %s:%d%s%s...\n" -#: src/irc/irc-server.c:1430 +#: src/irc/irc-server.c:1528 #, c-format msgid "%s gnutls init error\n" msgstr "%s chyba inicializace gnutls\n" -#: src/irc/irc-server.c:1445 +#: src/irc/irc-server.c:1543 #, c-format msgid "%s cannot create pipe\n" msgstr "%s nemohu vytvořit rouru\n" -#: src/irc/irc-server.c:1460 +#: src/irc/irc-server.c:1558 #, c-format msgid "%s cannot create socket\n" msgstr "%s nemohu vytvořit soket\n" -#: src/irc/irc-server.c:1471 +#: src/irc/irc-server.c:1569 #, c-format msgid "%s cannot set socket option \"SO_REUSEADDR\"\n" msgstr "%s nemohu nastavit nastavení sketu \"SO_REUSEADDR\"\n" -#: src/irc/irc-server.c:1482 +#: src/irc/irc-server.c:1580 #, c-format msgid "%s cannot set socket option \"SO_KEEPALIVE\"\n" msgstr "%s nemohu nastavit nastavení soketu \"SO_KEEPALIVE\"\n" -#: src/irc/irc-server.c:1513 +#: src/irc/irc-server.c:1611 #, c-format msgid "%s: Reconnecting to server...\n" msgstr "%s: Připojuji se znovu k serveru...\n" -#: src/irc/irc-server.c:1563 src/irc/irc-server.c:1572 +#: src/irc/irc-server.c:1661 src/irc/irc-server.c:1670 msgid "Disconnected from server!\n" msgstr "Odpojen od serveru!\n" -#: src/irc/irc-channel.c:51 +#: src/irc/irc-channel.c:53 #, c-format msgid "%s cannot allocate new channel" msgstr "%s nemohu přidělit nový kanál" @@ -1376,7 +1376,7 @@ msgstr "off" msgid " (temporary server, will not be saved)" msgstr " (dočasný server, nebude uložen)" -#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3173 +#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3175 msgid "seconds" msgstr "sekund" @@ -1384,7 +1384,7 @@ msgstr "sekund" msgid "(hidden)" msgstr "(skrytý)" -#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4699 +#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4701 msgid "unknown" msgstr "neznámý" @@ -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:800 +#: src/irc/irc-send.c:177 src/common/command.c:808 #, 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:1392 src/common/command.c:1877 -#: src/common/command.c:2013 +#: src/common/command.c:1599 src/common/command.c:2097 +#: src/common/command.c:2236 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s špatný počet parametrů pro příkaz \"%s\"\n" @@ -1448,8 +1448,8 @@ msgid "You have been invited to %s%s%s by %s%s\n" msgstr "Byl jsi pozván na %s%s%s od %s%s\n" #: src/irc/irc-recv.c:376 src/irc/irc-recv.c:470 src/irc/irc-recv.c:1009 -#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3545 -#: src/irc/irc-recv.c:3566 src/irc/irc-recv.c:3626 src/irc/irc-recv.c:3697 +#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3547 +#: src/irc/irc-recv.c:3568 src/irc/irc-recv.c:3628 src/irc/irc-recv.c:3699 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "%s kanál \"%s\" nebyl nalezen příkazem \"%s\"\n" @@ -1640,7 +1640,7 @@ msgstr "CTCP %sVERSION%s odpověď od %s%s%s: %s\n" msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "CTCP %sPING%s odpověď od %s%s%s: %ld.%ld sekund\n" -#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1214 +#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1217 #, c-format msgid "Private %s> %s" msgstr "Soukromý %s> %s" @@ -1689,12 +1689,12 @@ msgstr "CTCP %sVERSION%s obdržen od %s%s" #: src/irc/irc-recv.c:1812 src/irc/irc-recv.c:1838 src/irc/irc-recv.c:1859 #: src/irc/irc-recv.c:1875 src/irc/irc-recv.c:1900 src/irc/irc-recv.c:1921 #: src/irc/irc-recv.c:1937 src/irc/irc-recv.c:1962 src/irc/irc-recv.c:1983 -#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2522 -#: src/irc/irc-recv.c:3904 src/irc/irc-recv.c:3919 src/irc/irc-recv.c:3934 -#: src/irc/irc-recv.c:3949 src/irc/irc-recv.c:3962 src/irc/irc-recv.c:4027 -#: src/irc/irc-recv.c:4041 src/irc/irc-recv.c:4275 src/irc/irc-recv.c:4333 -#: src/irc/irc-recv.c:4471 src/irc/irc-recv.c:4486 src/irc/irc-recv.c:4592 -#: src/irc/irc-recv.c:4606 +#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2524 +#: src/irc/irc-recv.c:3906 src/irc/irc-recv.c:3921 src/irc/irc-recv.c:3936 +#: src/irc/irc-recv.c:3951 src/irc/irc-recv.c:3964 src/irc/irc-recv.c:4029 +#: src/irc/irc-recv.c:4043 src/irc/irc-recv.c:4277 src/irc/irc-recv.c:4335 +#: src/irc/irc-recv.c:4473 src/irc/irc-recv.c:4488 src/irc/irc-recv.c:4594 +#: src/irc/irc-recv.c:4608 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "%s nemohu rozpársovat příkaz \"%s\"\n" @@ -1706,197 +1706,197 @@ msgstr "%s neznámý DCC CHAT typ obdržen od " #: src/irc/irc-recv.c:2228 #, c-format -msgid "%s%s %s(%s%s%s)%s has quit %s(%s%s%s)\n" -msgstr "%s%s %s(%s%s%s)%s skončil %s(%s%s%s)\n" +msgid "%s%s %s(%s%s%s)%s has quit" +msgstr "%s%s %s(%s%s%s)%s skončil" -#: src/irc/irc-recv.c:2358 +#: src/irc/irc-recv.c:2360 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "%s \"%s\" příkaz obdržen bez kanálu\n" -#: src/irc/irc-recv.c:2387 +#: src/irc/irc-recv.c:2389 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "%s%s%s změnil téma pro %s%s%s na:" -#: src/irc/irc-recv.c:2398 +#: src/irc/irc-recv.c:2400 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "%s%s%s zrušil téma pro %s%s\n" -#: src/irc/irc-recv.c:2508 +#: src/irc/irc-recv.c:2510 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "Uživatelský mód %s[%s%s%s/%s%s%s]\n" -#: src/irc/irc-recv.c:2563 +#: src/irc/irc-recv.c:2565 #, c-format msgid "%s%s%s is away: %s\n" msgstr "%s%s%s je pryč: %s\n" -#: src/irc/irc-recv.c:2648 +#: src/irc/irc-recv.c:2650 msgid "Users online: " msgstr "Uživatelů online: " -#: src/irc/irc-recv.c:3024 +#: src/irc/irc-recv.c:3026 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "%s%s %s(%s%s@%s%s)%s byl %s\n" -#: src/irc/irc-recv.c:3145 +#: src/irc/irc-recv.c:3147 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s nečinný: " -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "days" msgstr "dní" -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "day" msgstr "den" -#: src/irc/irc-recv.c:3161 +#: src/irc/irc-recv.c:3163 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, přihlášen v: %s%s" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hours" msgstr "hodin" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hour" msgstr "hodina" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minutes" msgstr "minut" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minute" msgstr "minuta" -#: src/irc/irc-recv.c:3173 +#: src/irc/irc-recv.c:3175 msgid "second" msgstr "sekunda" -#: src/irc/irc-recv.c:3557 +#: src/irc/irc-recv.c:3559 #, c-format msgid "No topic set for %s%s\n" msgstr "Není nastaveno téma pro %s%s\n" -#: src/irc/irc-recv.c:3613 +#: src/irc/irc-recv.c:3615 #, c-format msgid "Topic for %s%s%s is: \"%s\"\n" msgstr "Téma pro %s%s%s je: \"%s\"\n" -#: src/irc/irc-recv.c:3636 src/irc/irc-recv.c:3724 src/irc/irc-recv.c:3779 +#: src/irc/irc-recv.c:3638 src/irc/irc-recv.c:3726 src/irc/irc-recv.c:3781 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "%s nemohu identifikovat kanál pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:3686 +#: src/irc/irc-recv.c:3688 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "Téma nastevil %s%s%s, %s" -#: src/irc/irc-recv.c:3706 +#: src/irc/irc-recv.c:3708 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "%s nemohu identofikovat datum/čas pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:3715 src/irc/irc-recv.c:3788 +#: src/irc/irc-recv.c:3717 src/irc/irc-recv.c:3790 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "%s nemohu identifikovat přezdívku pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:3764 +#: src/irc/irc-recv.c:3766 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "%s%s%s pozval %s%s%s na %s%s\n" -#: src/irc/irc-recv.c:3824 +#: src/irc/irc-recv.c:3826 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "Reop kanálu %s%s%s: %s%s\n" -#: src/irc/irc-recv.c:4321 +#: src/irc/irc-recv.c:4323 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "%s nemohu vztvořit přezdívku \"%s\" pro kanál \"%s\"\n" -#: src/irc/irc-recv.c:4379 +#: src/irc/irc-recv.c:4381 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "Přezdívkz %s%s%s: %s[" -#: src/irc/irc-recv.c:4400 +#: src/irc/irc-recv.c:4402 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" "Kanál %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nicks" msgstr "přezdívky" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nick" msgstr "přezdívka" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "ops" msgstr "ops" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "op" msgstr "op" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfops" msgstr "částeční-ops" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfop" msgstr "částečný-op" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voices" msgstr "voices" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voice" msgstr "voice" -#: src/irc/irc-recv.c:4425 +#: src/irc/irc-recv.c:4427 msgid "normal" msgstr "normální" -#: src/irc/irc-recv.c:4526 +#: src/irc/irc-recv.c:4528 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "%s[%s%s%s] %s%s%s zakázal " -#: src/irc/irc-recv.c:4561 +#: src/irc/irc-recv.c:4563 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "%s[%s%s%s] %s%s%s takázaný\n" -#: src/irc/irc-recv.c:4653 +#: src/irc/irc-recv.c:4655 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" "%s: přezdívka \"%s\" je již používaná, zkouším druhou přezdívku \"%s\"\n" -#: src/irc/irc-recv.c:4665 +#: src/irc/irc-recv.c:4667 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" "%s: přezdívka \"%s\" je již používaná, zkouším třetí přezdívku \"%s\"\n" -#: src/irc/irc-recv.c:4677 +#: src/irc/irc-recv.c:4679 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " @@ -1905,7 +1905,7 @@ msgstr "" "%s: všechny deklarované přezdívky jsou již používány, zavírám spojení se " "serverem!\n" -#: src/irc/irc-recv.c:4687 +#: src/irc/irc-recv.c:4689 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -2066,12 +2066,12 @@ msgstr "%s nemůžu najít dostupný port pro DCC\n" msgid "%s cannot send DCC\n" msgstr "%s neomhu poslat DCC\n" -#: src/irc/irc-dcc.c:1132 +#: src/irc/irc-dcc.c:1131 #, c-format msgid "%s error sending data to \"%s\" via DCC CHAT\n" msgstr "%s chyba posílání dat k \"%s\" přes DCC CHAT\n" -#: src/irc/irc-dcc.c:1411 +#: src/irc/irc-dcc.c:1416 #, c-format msgid "" "%s DCC failed because blocksize is too big. Check value of \"dcc_blocksize\" " @@ -2080,7 +2080,7 @@ msgstr "" "%s DCC selhalo, protože velikost bloku je příliž velká. Zkontrolujte hodnotu " "\"dcc_blocksize\" nastavní, maximum je %d.\n" -#: src/irc/irc-dcc.c:1486 +#: src/irc/irc-dcc.c:1491 #, c-format msgid "Aborting active DCC: \"%s\" from %s\n" msgstr "Ruším aktivní DCC: \"%s\" od %s\n" @@ -2211,13 +2211,13 @@ msgstr "Plugin \"%s\" odebrán.\n" msgid "%s plugin \"%s\" not found\n" msgstr "%s plugin \"%s\" nenalezen\n" -#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1698 +#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1833 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "%s %s, řádek %d: nevalidní syntax, chybí \"=\"\n" -#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:1908 -#: src/common/weeconfig.c:2110 +#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:2043 +#: src/common/weeconfig.c:2249 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "%s nemohu vytvořit soubor \"%s\"\n" @@ -2252,68 +2252,68 @@ msgstr "Změnil se den na %s\n" msgid "%s lag is high, disconnecting from server...\n" msgstr "%s zpoždění je veliké, odpojuji se od serveru...\n" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "bytes" msgstr "bajtů" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Kb" msgstr "Kb" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Mb" msgstr "Mb" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Gb" msgstr "Gb" -#: src/gui/curses/gui-display.c:1600 +#: src/gui/curses/gui-display.c:1594 msgid "ETA" msgstr "" -#: src/gui/curses/gui-display.c:1945 +#: src/gui/curses/gui-display.c:1941 msgid "<servers>" msgstr "<serverů>" -#: src/gui/curses/gui-display.c:1957 +#: src/gui/curses/gui-display.c:1953 msgid "(away)" msgstr "(pryč)" -#: src/gui/curses/gui-display.c:2091 +#: src/gui/curses/gui-display.c:2087 msgid "[not connected] " msgstr "[nepřipojen] " -#: src/gui/curses/gui-display.c:2101 +#: src/gui/curses/gui-display.c:2097 msgid "Act: " msgstr "Aktivní: " -#: src/gui/curses/gui-display.c:2189 +#: src/gui/curses/gui-display.c:2185 #, c-format msgid "Lag: %.1f" msgstr "Zpoždění: %.1f" -#: src/gui/curses/gui-display.c:2205 +#: src/gui/curses/gui-display.c:2201 msgid "-MORE-" msgstr "-VÍCE-" -#: src/gui/curses/gui-display.c:2378 +#: src/gui/curses/gui-display.c:2374 msgid " [A] Accept" msgstr " [A] Akceptovat" -#: src/gui/curses/gui-display.c:2379 src/gui/curses/gui-display.c:2383 +#: src/gui/curses/gui-display.c:2375 src/gui/curses/gui-display.c:2379 msgid " [C] Cancel" msgstr " [C] Storno" -#: src/gui/curses/gui-display.c:2388 +#: src/gui/curses/gui-display.c:2384 msgid " [R] Remove" msgstr " [R] Odebrat" -#: src/gui/curses/gui-display.c:2392 +#: src/gui/curses/gui-display.c:2388 msgid " [P] Purge old DCC" msgstr " [P] Pročistit staré DCC" -#: src/gui/curses/gui-display.c:2393 +#: src/gui/curses/gui-display.c:2389 msgid " [Q] Close DCC view" msgstr " [Q] Zavřít DCC pohled" @@ -2321,11 +2321,11 @@ msgstr " [Q] Zavřít DCC pohled" msgid "server" msgstr "server" -#: src/gui/gui-common.c:696 +#: src/gui/gui-common.c:716 msgid "Not enough memory for new line\n" msgstr "Nedostatek paměti pro nový řádek\n" -#: src/gui/gui-common.c:1047 +#: src/gui/gui-common.c:1054 msgid "Not enough memory for infobar message\n" msgstr "Nedostatek paměti pro infobar zprávu\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:1892 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2112 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s nemohu napojit kalávesu \"%s\"\n" @@ -2504,15 +2504,15 @@ msgstr "%s nemohu napojit kalávesu \"%s\" (nevalidní jméno funkce: \"%s\")\n" msgid "%s not enough memory for key binding\n" msgstr "%s nedostatek paměti pro klávesovou zkratku\n" -#: src/common/command.c:44 +#: src/common/command.c:45 msgid "create an alias for a command" msgstr "vytvoří alias pro příkaz" -#: src/common/command.c:45 +#: src/common/command.c:46 msgid "[alias_name [command [arguments]]" msgstr "[jméno_aliasu [příkaz [argumenty]]" -#: src/common/command.c:46 +#: src/common/command.c:47 msgid "" "alias_name: name of alias\n" "command: command name (WeeChat or IRC command, without first '/')\n" @@ -2522,16 +2522,16 @@ msgstr "" "příkaz: jméno příkazu (WeeChat nebo IRC příkaz, bez prvního '/')\n" "argumenty: argumenty příkazu" -#: src/common/command.c:49 +#: src/common/command.c:50 msgid "manage buffers" msgstr "řídit buffery" -#: src/common/command.c:50 +#: src/common/command.c:51 #, fuzzy msgid "[action | number | [[server] [channel]]]" msgstr "[akce | číslo]" -#: src/common/command.c:51 +#: src/common/command.c:52 #, fuzzy msgid "" "action: action to do:\n" @@ -2553,47 +2553,62 @@ msgstr "" "3=2+join/part)\n" "číslo: skočí na buffer, podle čísla" -#: src/common/command.c:59 +#: src/common/command.c:60 +msgid "change charset for server or channel" +msgstr "" + +#: src/common/command.c:61 +msgid "[(decode_iso | decode_utf | encode) charset]" +msgstr "" + +#: src/common/command.c:62 +msgid "" +"decode_iso: charset used for decoding ISO\n" +"decode_utf: charset used for decoding UTF\n" +" encode: charset used for encoding messages" +msgstr "" + +#: src/common/command.c:66 msgid "clear window(s)" msgstr "vyčistí okno/okna" -#: src/common/command.c:60 +#: src/common/command.c:67 msgid "[-all]" msgstr "[-all]" -#: src/common/command.c:61 +#: src/common/command.c:68 msgid "-all: clear all windows" msgstr "-all: vyčistí všechna okna" -#: src/common/command.c:63 +#: src/common/command.c:70 msgid "connect to a server" msgstr "připojit na server" -#: src/common/command.c:64 src/common/command.c:68 +#: src/common/command.c:71 src/common/command.c:75 msgid "[servername]" msgstr "[jméno_serveru]" -#: src/common/command.c:65 +#: src/common/command.c:72 msgid "servername: server name to connect" msgstr "jméno_serveru: jméno serveru pro přípojení" -#: src/common/command.c:67 +#: src/common/command.c:74 msgid "disconnect from a server" msgstr "odpojit ze serveru" -#: src/common/command.c:69 +#: src/common/command.c:76 msgid "servername: server name to disconnect" msgstr "jméno_serveru: jméno serveru pro odpojení" -#: src/common/command.c:71 +#: src/common/command.c:78 msgid "print debug messages" msgstr "vypsat debug zprávy" -#: src/common/command.c:72 +#: src/common/command.c:79 msgid "dump | windows" msgstr "dump | windows" -#: src/common/command.c:73 +#: src/common/command.c:80 #, fuzzy msgid "" "dump: save memory dump in WeeChat log file (same dump is written when " @@ -2603,41 +2618,41 @@ msgstr "" "dump: uloží dump paměti ve WeeChat log souboru (stejný dump jako když " "Weechat havaruje)" -#: src/common/command.c:76 +#: src/common/command.c:83 msgid "display help about commands" msgstr "zobrazí nápovědu k příkazům" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "[command]" msgstr "[příkaz]" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "command: name of a WeeChat or IRC command" msgstr "příkaz: jméno WeeChat nebo IRC příkazu" -#: src/common/command.c:79 +#: src/common/command.c:86 msgid "show buffer command history" msgstr "" -#: src/common/command.c:80 +#: src/common/command.c:87 msgid "[clear | value]" msgstr "" -#: src/common/command.c:81 +#: src/common/command.c:88 msgid "" "clear: clear history\n" "value: number of history entries to show" msgstr "" -#: src/common/command.c:84 +#: src/common/command.c:91 msgid "ignore IRC messages and/or hosts" msgstr "ignoruje IRC příkaz a/nebo hosta" -#: src/common/command.c:85 +#: src/common/command.c:92 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[maska [[typ | příkaz] [kanál [server]]]]" -#: src/common/command.c:86 +#: src/common/command.c:93 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2657,15 +2672,15 @@ msgstr "" "Pro každý argument, znamená '*' vše.\n" "Bez arumentů vypíše příkaz /ignore seznam všech definovaných ignorování." -#: src/common/command.c:94 +#: src/common/command.c:101 msgid "bind/unbind keys" msgstr "napojit/odpojit klávesy" -#: src/common/command.c:95 +#: src/common/command.c:102 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:96 +#: src/common/command.c:103 msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" @@ -2680,15 +2695,15 @@ msgstr "" "reset: obnoví klávesy na výchozí hodnoty a smaže uživatlské zkratky " "(používejte opatrně)" -#: src/common/command.c:101 +#: src/common/command.c:108 msgid "list/load/unload plugins" msgstr "seznam/načíst/odebrat pluginy" -#: src/common/command.c:102 +#: src/common/command.c:109 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[load jméno_souboru] | [autoload] | [reload] | [unload]" -#: src/common/command.c:103 +#: src/common/command.c:110 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2698,11 +2713,11 @@ msgstr "" "\n" "Příkaz /plugin bez argumentů vypíše seznam všech načtených pluginů." -#: src/common/command.c:106 +#: src/common/command.c:113 msgid "list, add or remove servers" msgstr "vypíše, přídá nebo odebere servery" -#: src/common/command.c:107 +#: src/common/command.c:114 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2714,7 +2729,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:112 +#: src/common/command.c:119 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2740,27 +2755,27 @@ msgstr "" "uživatelské_jméno: uživatelské jméno\n" "pravé_jméno: pravé jméno uživatele" -#: src/common/command.c:124 +#: src/common/command.c:131 msgid "save config to disk" msgstr "uloží nastavení na disk" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "[file]" msgstr "[soubor]" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "file: filename for writing config" msgstr "soubor: jméno souboru pro zapsání" -#: src/common/command.c:127 +#: src/common/command.c:134 msgid "set config parameters" msgstr "nastaví konfigurační parametry" -#: src/common/command.c:128 +#: src/common/command.c:135 msgid "[option [ = value]]" msgstr "[volba [ = hodnota]]" -#: src/common/command.c:129 +#: src/common/command.c:136 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2770,27 +2785,27 @@ msgstr "" "zobrazena nápověda pro volby)\n" "hodnota: hodnota volby" -#: src/common/command.c:133 +#: src/common/command.c:140 msgid "remove an alias" msgstr "odebere alias" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name" msgstr "jméno_aliasu" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name: name of alias to remove" msgstr "jméno_aliasu: jméno aliasu pro odebrání" -#: src/common/command.c:136 +#: src/common/command.c:143 msgid "unignore IRC messages and/or hosts" msgstr "zruší ignorování IRC zprávy a/nebo hosta" -#: src/common/command.c:137 +#: src/common/command.c:144 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[číslo | [maska [[typ | příkaz] [kanál [server]]]]]" -#: src/common/command.c:138 +#: src/common/command.c:145 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2813,27 +2828,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:147 +#: src/common/command.c:154 msgid "upgrade WeeChat without disconnecting from servers" msgstr "" -#: src/common/command.c:151 +#: src/common/command.c:158 msgid "show WeeChat uptime" msgstr "" -#: src/common/command.c:152 +#: src/common/command.c:159 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:153 +#: src/common/command.c:160 msgid "-o: send uptime on current channel as an IRC message" msgstr "" -#: src/common/command.c:155 +#: src/common/command.c:162 msgid "manage windows" msgstr "spravuje okna" -#: src/common/command.c:156 +#: src/common/command.c:163 msgid "" "[list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge " "[all]]" @@ -2841,7 +2856,7 @@ msgstr "" "[list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge " "[all]]" -#: src/common/command.c:157 +#: src/common/command.c:164 #, fuzzy, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2865,28 +2880,28 @@ msgstr "" "splitv: rozdělí aktuální okno vertikálně\n" "merge: spojí okno s jiným" -#: src/common/command.c:310 +#: src/common/command.c:317 #, 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:320 +#: src/common/command.c:327 #, 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:327 +#: src/common/command.c:334 #, c-format msgid "%s target command \"/%s\" does not exist!\n" msgstr "%s cílový příkaz \"/%s\" neexistuje!\n" -#: src/common/command.c:565 +#: src/common/command.c:572 #, 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:577 +#: src/common/command.c:584 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -2895,18 +2910,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:599 src/common/command.c:668 +#: src/common/command.c:606 src/common/command.c:675 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s příkaz \"%s\" selhal\n" -#: src/common/command.c:624 +#: src/common/command.c:631 #, 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:636 +#: src/common/command.c:643 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -2915,293 +2930,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:651 +#: src/common/command.c:658 #, 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:711 +#: src/common/command.c:719 #, 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:845 +#: src/common/command.c:853 msgid "This window is not a channel!\n" msgstr "Tohe není okno kanálu!\n" -#: src/common/command.c:873 src/common/command.c:904 src/common/command.c:1019 +#: src/common/command.c:884 src/common/command.c:915 src/common/command.c:1030 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s chybí argumenty pro příkaz \"%s\"\n" -#: src/common/command.c:880 +#: src/common/command.c:891 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "%s alias nemůže žačínat \"/\"!\n" -#: src/common/command.c:889 +#: src/common/command.c:900 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" vytvořen\n" -#: src/common/command.c:895 +#: src/common/command.c:906 #, 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:915 +#: src/common/command.c:926 msgid "List of aliases:\n" msgstr "Seznam pro aliasy:\n" -#: src/common/command.c:929 +#: src/common/command.c:940 msgid "No alias defined.\n" msgstr "Žádné aliasy nejsou definovány.\n" -#: src/common/command.c:948 +#: src/common/command.c:959 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServer: %s%s\n" -#: src/common/command.c:953 -#, fuzzy, c-format +#: src/common/command.c:964 +#, c-format msgid "%snot connected\n" -msgstr "nepřipojen\n" +msgstr "" -#: src/common/command.c:957 +#: src/common/command.c:968 #, 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:966 +#: src/common/command.c:977 #, 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:975 -#, fuzzy, c-format +#: src/common/command.c:986 +#, c-format msgid "%sunknown\n" -msgstr "neznámý" +msgstr "" -#: src/common/command.c:998 +#: src/common/command.c:1009 msgid "Opened buffers:\n" msgstr "Otevřené buffery:\n" -#: src/common/command.c:1042 +#: src/common/command.c:1053 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s nekorektní číslo bufferu\n" -#: src/common/command.c:1058 +#: src/common/command.c:1069 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s nemohu zavřít jediný buffer\n" -#: src/common/command.c:1068 +#: src/common/command.c:1079 #, 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:1117 +#: src/common/command.c:1128 msgid "Notify levels: " msgstr "Level upozornění: " -#: src/common/command.c:1146 src/common/command.c:1194 +#: src/common/command.c:1157 src/common/command.c:1205 #, 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:1155 +#: src/common/command.c:1166 #, 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:1164 +#: src/common/command.c:1175 #, 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:1174 +#: src/common/command.c:1185 msgid "(hotlist: never)\n" msgstr "(hotlist: nikdy)\n" -#: src/common/command.c:1177 +#: src/common/command.c:1188 msgid "(hotlist: highlights)\n" msgstr "(hotlist: zvýraznění)\n" -#: src/common/command.c:1180 +#: src/common/command.c:1191 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: zvýraznění + zprávy)\n" -#: src/common/command.c:1183 +#: src/common/command.c:1194 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:1280 +#: src/common/command.c:1293 +#, c-format +msgid "Charsets for server %s%s%s: " +msgstr "" + +#: src/common/command.c:1301 +#, c-format +msgid "Charsets for channel %s%s%s: " +msgstr "" + +#: src/common/command.c:1309 +#, c-format +msgid "Charsets for private %s%s%s: " +msgstr "" + +#: src/common/command.c:1337 src/common/command.c:1367 +#: src/common/command.c:1397 +#, c-format +msgid " (inherited: \"%s%s%s\")" +msgstr "" + +#: src/common/command.c:1461 src/common/command.c:1484 +#: src/common/command.c:1618 src/common/command.c:2229 +#: src/common/command.c:3286 src/common/command.c:3329 #, c-format -msgid "unknown parameter \"%s\" for \"%s\" command\n" -msgstr "neznámý parametr \"%s\" pro příkaz \"%s\"\n" +msgid "%s unknown option for \"%s\" command\n" +msgstr "%s neznámá volba pro příkaz \"%s\"\n" -#: src/common/command.c:1310 +#: src/common/command.c:1514 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s již vytvořený server \"%s\"!\n" -#: src/common/command.c:1318 +#: src/common/command.c:1522 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "%s zrovna připojuji k serveru \"%s\"!\n" -#: src/common/command.c:1336 src/common/command.c:1456 +#: src/common/command.c:1540 src/common/command.c:1663 #, c-format msgid "%s server not found\n" msgstr "%s server nenalezen\n" -#: src/common/command.c:1411 src/common/command.c:2006 -#: src/common/command.c:3047 src/common/command.c:3090 -#, c-format -msgid "%s unknown option for \"%s\" command\n" -msgstr "%s neznámá volba pro příkaz \"%s\"\n" - -#: src/common/command.c:1440 +#: src/common/command.c:1647 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s nepřipojen k serveru \"%s\"!\n" -#: src/common/command.c:1448 +#: src/common/command.c:1655 msgid "Auto-reconnection is cancelled\n" msgstr "Automatické znovupřipojené je zrušeno\n" -#: src/common/command.c:1479 src/common/weechat.c:400 +#: src/common/command.c:1689 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "%s vnitřní příkazy:\n" -#: src/common/command.c:1489 src/common/weechat.c:420 +#: src/common/command.c:1699 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "IRC příkazy:\n" -#: src/common/command.c:1503 +#: src/common/command.c:1713 msgid "Plugin commands:\n" msgstr "Příkazy pluginu:\n" -#: src/common/command.c:1619 +#: src/common/command.c:1829 #, 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:1678 +#: src/common/command.c:1895 #, 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:1712 +#: src/common/command.c:1929 msgid "List of ignore:\n" msgstr "Seznam ignorování:\n" -#: src/common/command.c:1729 +#: src/common/command.c:1946 msgid "No ignore defined.\n" msgstr "Žádné ignorování není definováno.\n" -#: src/common/command.c:1755 +#: src/common/command.c:1972 msgid "New ignore:" msgstr "Nové ignorování:" -#: src/common/command.c:1775 +#: src/common/command.c:1992 #, c-format msgid "New key binding: %s" msgstr "Nová klávesová zkratka: %s" -#: src/common/command.c:1809 +#: src/common/command.c:2029 msgid "Key bindings:\n" msgstr "Klávesové zkratky:\n" -#: src/common/command.c:1823 +#: src/common/command.c:2043 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Klávesa \"%s\" odpojena\n" -#: src/common/command.c:1829 +#: src/common/command.c:2049 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "%s nemohu odpojit klávesu \"%s\"\n" -#: src/common/command.c:1837 src/common/weechat.c:452 +#: src/common/command.c:2057 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "Vnitřní klávesové funkce:\n" -#: src/common/command.c:1857 +#: src/common/command.c:2077 msgid "Default key bindings restored\n" msgstr "Výchozí klávesové zkratky obnoveny\n" -#: src/common/command.c:1863 +#: src/common/command.c:2083 #, 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:1919 +#: src/common/command.c:2142 msgid "Plugins loaded:\n" msgstr "Načtené pluginy:\n" -#: src/common/command.c:1935 +#: src/common/command.c:2158 msgid " message handlers:\n" msgstr " obsluhovače zpráv:\n" -#: src/common/command.c:1944 +#: src/common/command.c:2167 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:1951 +#: src/common/command.c:2174 msgid " (no message handler)\n" msgstr " (není obsluhovač zprávy)\n" -#: src/common/command.c:1956 +#: src/common/command.c:2179 msgid " command handlers:\n" msgstr " obsluhovače příkazu:\n" -#: src/common/command.c:1977 +#: src/common/command.c:2200 msgid " (no command handler)\n" msgstr " (není obsluhovač příkazu)\n" -#: src/common/command.c:1983 +#: src/common/command.c:2206 msgid " (no plugin)\n" msgstr " (není plugin)\n" -#: src/common/command.c:2019 +#: src/common/command.c:2242 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:2067 +#: src/common/command.c:2293 msgid "No server.\n" msgstr "žádný server.\n" -#: src/common/command.c:2078 +#: src/common/command.c:2304 #, c-format msgid "Server '%s' not found.\n" msgstr "Server '%s' nenalezen.\n" -#: src/common/command.c:2090 +#: src/common/command.c:2316 #, 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:2098 +#: src/common/command.c:2324 #, 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:2117 +#: src/common/command.c:2343 #, 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:2125 +#: src/common/command.c:2351 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3210,205 +3242,205 @@ msgstr "" "%s nemůžete odebrat server \"%s\", protože jste k němu připojent. Skuste " "nejprve /dissconnect %s.\n" -#: src/common/command.c:2145 +#: src/common/command.c:2371 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "Server %s%s%s byl odebrán\n" -#: src/common/command.c:2164 +#: src/common/command.c:2390 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s chybí parametry pro příkaz \"%s\"\n" -#: src/common/command.c:2174 +#: src/common/command.c:2400 #, 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:2203 src/common/command.c:2231 -#: src/common/command.c:2244 src/common/command.c:2270 +#: src/common/command.c:2429 src/common/command.c:2457 +#: src/common/command.c:2470 src/common/command.c:2496 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s chybí heslo pro parametr \"%s\"\n" -#: src/common/command.c:2216 +#: src/common/command.c:2442 #, 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:2257 +#: src/common/command.c:2483 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s chybí příkaz pro parametr \"%s\"\n" -#: src/common/command.c:2292 +#: src/common/command.c:2519 #, c-format msgid "Server %s%s%s created\n" msgstr "Server %s%s%s vytvořen\n" -#: src/common/command.c:2301 +#: src/common/command.c:2528 #, c-format msgid "%s unable to create server\n" msgstr "%s nemohu vytvořit server\n" -#: src/common/command.c:2360 +#: src/common/command.c:2587 msgid "(unknown)" msgstr "(neznámý)" -#: src/common/command.c:2383 +#: src/common/command.c:2610 #, c-format msgid "%s(password hidden) " msgstr "%s(heslo schováno) " -#: src/common/command.c:2473 +#: src/common/command.c:2706 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s server \"%s\" nenalezen\n" -#: src/common/command.c:2506 src/common/command.c:2554 +#: src/common/command.c:2739 src/common/command.c:2787 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s volba nastavení \"%s\" nenalezena\n" -#: src/common/command.c:2511 src/common/command.c:2546 +#: src/common/command.c:2744 src/common/command.c:2779 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s nekorektní hodnota pro volbu \"%s\"\n" -#: src/common/command.c:2527 +#: src/common/command.c:2760 #, 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:2637 +#: src/common/command.c:2870 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Nebyla nalezena žádná volba nastavení s \"%s\"\n" -#: src/common/command.c:2640 +#: src/common/command.c:2873 msgid "No config option found\n" msgstr "Nebyla nalezena žádná volba nastavení\n" -#: src/common/command.c:2647 +#: src/common/command.c:2880 #, c-format msgid "%sDetail:\n" msgstr "%sDetail:\n" -#: src/common/command.c:2652 src/common/weechat.c:336 +#: src/common/command.c:2885 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:2653 src/common/command.c:2676 -#: src/common/command.c:2682 src/common/command.c:2688 +#: src/common/command.c:2886 src/common/command.c:2909 +#: src/common/command.c:2915 src/common/command.c:2921 #: 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:2658 src/common/weechat.c:342 +#: src/common/command.c:2891 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:2661 src/common/weechat.c:345 +#: src/common/command.c:2894 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr " . výchozí hodnota: %d\n" -#: src/common/command.c:2665 src/common/weechat.c:349 +#: src/common/command.c:2898 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr " . typ řetězec (hodnoty: " -#: src/common/command.c:2678 src/common/command.c:2684 -#: src/common/command.c:2690 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2911 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "prázdný" -#: src/common/command.c:2681 src/common/weechat.c:365 +#: src/common/command.c:2914 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:2687 src/common/weechat.c:371 +#: src/common/command.c:2920 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:2693 src/common/weechat.c:377 +#: src/common/command.c:2926 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr " . popis: %s\n" -#: src/common/command.c:2704 +#: src/common/command.c:2937 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "volba/volby nastavení nalezeny s \"%s\"\n" -#: src/common/command.c:2707 +#: src/common/command.c:2940 msgid "config option(s) found\n" msgstr "volba/volby nastavení nalezeny\n" -#: src/common/command.c:2728 +#: src/common/command.c:2964 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias nebo příkaz \"%s\" nenalezen\n" -#: src/common/command.c:2738 +#: src/common/command.c:2974 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" odebrán\n" -#: src/common/command.c:2794 +#: src/common/command.c:3030 msgid "ignore were removed.\n" msgstr "ignorování bylo odebráno.\n" -#: src/common/command.c:2796 +#: src/common/command.c:3032 msgid "ignore was removed.\n" msgstr "ignorování bylo odebrán\n" -#: src/common/command.c:2801 +#: src/common/command.c:3037 #, c-format msgid "%s no ignore found\n" msgstr "%s žádné ignorování nenaleyeno\n" -#: src/common/command.c:2832 +#: src/common/command.c:3069 #, c-format msgid "%s can't upgrade: connection to at least one server is pending" msgstr "" -#: src/common/command.c:2848 +#: src/common/command.c:3084 msgid "Upgrading WeeChat...\n" msgstr "" -#: src/common/command.c:2856 -#, fuzzy, c-format +#: src/common/command.c:3091 +#, c-format msgid "%s unable to save session in file\n" -msgstr "%s nemohu vytvořit server\n" +msgstr "" -#: src/common/command.c:2878 +#: src/common/command.c:3120 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:2914 +#: src/common/command.c:3156 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "" -#: src/common/command.c:2931 +#: src/common/command.c:3170 #, 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:2971 +#: src/common/command.c:3210 msgid "Opened windows:\n" msgstr "Otevřené okna:\n" -#: src/common/command.c:3058 +#: src/common/command.c:3297 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3444,12 +3476,12 @@ msgstr "%s server \"%s\" nenalezen (data FIFO roury)\n" msgid "%s channel \"%s\" not found (FIFO pipe data)\n" msgstr "%s kanál \"%s\" nenalezen (data FIFO roury)\n" -#: src/common/fifo.c:251 src/common/fifo.c:253 +#: src/common/fifo.c:252 src/common/fifo.c:254 #, c-format msgid "%s error reading FIFO pipe, closing it\n" msgstr "%s chyba při čtení FIFO roury, zavírám ji\n" -#: src/common/fifo.c:295 +#: src/common/fifo.c:296 msgid "FIFO pipe is closed\n" msgstr "FIFO roura zavřena\n" @@ -3474,13 +3506,13 @@ msgstr "**** Beginning of log " msgid "**** End of log " msgstr "**** End of log " -#: src/common/session.c:432 +#: src/common/session.c:435 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" msgstr "" -#: src/common/session.c:437 +#: src/common/session.c:440 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3488,314 +3520,275 @@ msgid "" "Be careful, private info may be in these files.\n" msgstr "" -#: src/common/session.c:461 src/common/session.c:495 src/common/session.c:552 +#: src/common/session.c:464 src/common/session.c:498 src/common/session.c:555 #, c-format msgid "wrong type in file (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:564 -#, fuzzy +#: src/common/session.c:567 msgid "invalid length for a buffer" -msgstr "Nemůžu zapsat log soubor bufferu\n" +msgstr "" -#: src/common/session.c:589 +#: src/common/session.c:592 msgid "object read error" msgstr "" -#: src/common/session.c:594 +#: src/common/session.c:597 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:604 +#: src/common/session.c:607 msgid "type read error" msgstr "" -#: src/common/session.c:609 +#: src/common/session.c:612 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:688 -#, fuzzy +#: src/common/session.c:691 msgid "server name not found" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:693 -#, fuzzy, c-format +#: src/common/session.c:696 +#, c-format msgid "session: loading server \"%s\"\n" -msgstr "%s zrovna připojuji k serveru \"%s\"!\n" +msgstr "" -#: src/common/session.c:697 +#: src/common/session.c:700 msgid "server found, updating values\n" msgstr "" -#: src/common/session.c:700 -#, fuzzy +#: src/common/session.c:703 msgid "server not found, creating new one\n" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:705 -#, fuzzy +#: src/common/session.c:708 msgid "can't create new server" -msgstr "%s nemůžu přidělit nový server\n" +msgstr "" -#: src/common/session.c:719 -#, fuzzy +#: src/common/session.c:722 msgid "unexpected end of file (reading server)" -msgstr "smazat do konce řádku" +msgstr "" -#: src/common/session.c:836 +#: src/common/session.c:848 #, c-format msgid "session: warning: ignoring value from server (object id: %d)\n" msgstr "" -#: src/common/session.c:858 +#: src/common/session.c:870 msgid "channel found without server" msgstr "" -#: src/common/session.c:865 +#: src/common/session.c:877 msgid "channel type not found" msgstr "" -#: src/common/session.c:873 -#, fuzzy +#: src/common/session.c:885 msgid "channel name not found" -msgstr "mód kanálu" +msgstr "" -#: src/common/session.c:878 -#, fuzzy, c-format +#: src/common/session.c:890 +#, c-format msgid "session: loading channel \"%s\"\n" -msgstr "%s: používám lokální jméno hosta \"%s\"\n" +msgstr "" -#: src/common/session.c:886 -#, fuzzy +#: src/common/session.c:898 msgid "can't create new channel" -msgstr "%s nemohu vytvořit nový kanál \"%s\"\n" +msgstr "" -#: src/common/session.c:896 -#, fuzzy +#: src/common/session.c:908 msgid "unexpected end of file (reading channel)" -msgstr "smazat do konce řádku" +msgstr "" -#: src/common/session.c:924 +#: src/common/session.c:936 #, c-format msgid "session: warning: ignoring value from channel (object id: %d)\n" msgstr "" -#: src/common/session.c:947 -#, fuzzy +#: src/common/session.c:959 msgid "nick found without channel" -msgstr "nemohu poslat na kanál" +msgstr "" -#: src/common/session.c:955 -#, fuzzy +#: src/common/session.c:967 msgid "nick name not found" -msgstr "mód kanálu" +msgstr "" -#: src/common/session.c:965 -#, fuzzy +#: src/common/session.c:977 msgid "can't create new nick" -msgstr "%s nemohu vytvořit nový kanál \"%s\"\n" +msgstr "" -#: src/common/session.c:975 -#, fuzzy +#: src/common/session.c:987 msgid "unexpected end of file (reading nick)" -msgstr "smazat do konce řádku" +msgstr "" -#: src/common/session.c:991 +#: src/common/session.c:1003 #, c-format msgid "session: warning: ignoring value from nick (object id: %d)\n" msgstr "" -#: src/common/session.c:1017 -#, fuzzy +#: src/common/session.c:1029 msgid "can't create new DCC" -msgstr "%s nemohu vytvořit nový kanál \"%s\"\n" +msgstr "" -#: src/common/session.c:1021 -#, fuzzy +#: src/common/session.c:1033 msgid "session: loading DCC\n" -msgstr "%s zrovna připojuji k serveru \"%s\"!\n" +msgstr "" -#: src/common/session.c:1031 -#, fuzzy +#: src/common/session.c:1043 msgid "unexpected end of file (reading DCC)" -msgstr "smazat do konce řádku" +msgstr "" -#: src/common/session.c:1050 -#, fuzzy +#: src/common/session.c:1062 msgid "server not found for DCC" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:1059 +#: src/common/session.c:1071 msgid "DCC with channel but without server" msgstr "" -#: src/common/session.c:1071 -#, fuzzy +#: src/common/session.c:1083 msgid "channel not found for DCC" -msgstr "%s kanál \"%s\" nebyl nalezen příkazem \"%s\"\n" +msgstr "" -#: src/common/session.c:1145 +#: src/common/session.c:1157 #, c-format msgid "session: warning: ignoring value from DCC (object id: %d)\n" msgstr "" -#: src/common/session.c:1165 -#, fuzzy +#: src/common/session.c:1177 msgid "session: loading buffer history\n" -msgstr "%s zrovna připojuji k serveru \"%s\"!\n" +msgstr "" -#: src/common/session.c:1167 -#, fuzzy +#: src/common/session.c:1179 msgid "session: loading global history\n" -msgstr "%s: používám lokální jméno hosta \"%s\"\n" +msgstr "" -#: src/common/session.c:1175 -#, fuzzy +#: src/common/session.c:1187 msgid "unexpected end of file (reading history)" -msgstr "smazat do konce řádku" +msgstr "" -#: src/common/session.c:1195 +#: src/common/session.c:1207 #, c-format msgid "session: warning: ignoring value from history (object id: %d)\n" msgstr "" -#: src/common/session.c:1221 -#, fuzzy +#: src/common/session.c:1233 msgid "server name not found for buffer" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:1229 -#, fuzzy +#: src/common/session.c:1241 msgid "channel name not found for buffer" -msgstr "mód kanálu" +msgstr "" -#: src/common/session.c:1236 +#: src/common/session.c:1248 msgid "dcc flag not found for buffer" msgstr "" -#: src/common/session.c:1241 -#, fuzzy, c-format +#: src/common/session.c:1253 +#, c-format msgid "session: loading buffer (server: %s, channel: %s, dcc: %d)\n" -msgstr "%s: používám lokální jméno hosta \"%s\"\n" +msgstr "" -#: src/common/session.c:1252 -#, fuzzy +#: src/common/session.c:1264 msgid "server not found for buffer" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:1262 -#, fuzzy +#: src/common/session.c:1274 msgid "channel not found for buffer" -msgstr "%s kanál \"%s\" nebyl nalezen příkazem \"%s\"\n" +msgstr "" -#: src/common/session.c:1270 -#, fuzzy +#: src/common/session.c:1282 msgid "can't create new buffer" -msgstr "%s nemůžu přidělit nový server\n" +msgstr "" -#: src/common/session.c:1283 -#, fuzzy +#: src/common/session.c:1295 msgid "unexpected end of file (reading buffer)" -msgstr "smazat do konce řádku" +msgstr "" -#: src/common/session.c:1293 +#: src/common/session.c:1305 #, c-format msgid "session: warning: ignoring value from buffer (object id: %d)\n" msgstr "" -#: src/common/session.c:1315 -#, fuzzy +#: src/common/session.c:1327 msgid "line found without buffer" -msgstr "nemohu poslat na kanál" +msgstr "" -#: src/common/session.c:1323 -#, fuzzy +#: src/common/session.c:1335 msgid "can't create new line" -msgstr "%s nemohu vytvořit nový kanál \"%s\"\n" +msgstr "" -#: src/common/session.c:1333 -#, fuzzy +#: src/common/session.c:1345 msgid "unexpected end of file (reading line)" -msgstr "smazat do konce řádku" +msgstr "" -#: src/common/session.c:1364 +#: src/common/session.c:1376 #, c-format msgid "session: warning: ignoring value from line (object id: %d)\n" msgstr "" -#: src/common/session.c:1394 -#, fuzzy +#: src/common/session.c:1406 msgid "session file not found" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:1401 -#, fuzzy +#: src/common/session.c:1413 msgid "signature not found" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:1406 +#: src/common/session.c:1418 msgid "bad session signature" msgstr "" -#: src/common/session.c:1417 -#, fuzzy +#: src/common/session.c:1429 msgid "object id not found" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:1425 -#, fuzzy +#: src/common/session.c:1437 msgid "failed to load server" -msgstr "%s nemohu vytvořit server\n" +msgstr "" -#: src/common/session.c:1432 -#, fuzzy +#: src/common/session.c:1444 msgid "failed to load channel" -msgstr "opustit kanál" +msgstr "" -#: src/common/session.c:1439 -#, fuzzy +#: src/common/session.c:1451 msgid "failed to load nick" -msgstr "opustit kanál" +msgstr "" -#: src/common/session.c:1446 -#, fuzzy +#: src/common/session.c:1458 msgid "failed to load DCC" -msgstr "opustit kanál" +msgstr "" -#: src/common/session.c:1453 -#, fuzzy +#: src/common/session.c:1465 msgid "failed to load history" -msgstr "%s nemohu vytvořit server\n" +msgstr "" -#: src/common/session.c:1460 -#, fuzzy +#: src/common/session.c:1472 msgid "failed to load buffer" -msgstr "%s nemohu vytvořit server\n" +msgstr "" -#: src/common/session.c:1467 -#, fuzzy +#: src/common/session.c:1479 msgid "failed to load line" -msgstr "opustit kanál" +msgstr "" -#: src/common/session.c:1472 +#: src/common/session.c:1484 #, c-format msgid "ignoring object (id: %d)\n" msgstr "" -#: src/common/session.c:1476 +#: src/common/session.c:1488 #, c-format msgid "failed to ignore object (id: %d)" msgstr "" -#: src/common/session.c:1499 -#, fuzzy, c-format +#: src/common/session.c:1512 +#, c-format msgid "%s can't delete session file (%s)\n" -msgstr "%s nemohu vytvořit soubor \"%s\"\n" +msgstr "" -#: src/common/session.c:1505 +#: src/common/session.c:1518 msgid "Upgrade completed successfully\n" msgstr "" @@ -3861,61 +3854,61 @@ msgid "%s default keys:\n" msgstr "%s výchozí klávesy:\n" #: src/common/weechat.c:554 -#, fuzzy, c-format +#, c-format msgid "%s missing argument for --session option\n" -msgstr "%s chybí argumenty pro příkaz \"%s\"\n" +msgstr "" #: src/common/weechat.c:575 #, c-format msgid "%s invalid syntax for IRC server ('%s'), ignored\n" msgstr "%s nevalidní syntaxe pro IRC server ('%s'), ignorován\n" -#: src/common/weechat.c:588 +#: src/common/weechat.c:589 #, c-format msgid "%s unable to create server ('%s'), ignored\n" msgstr "%s nemohu vytvořit server ('%s'), ignorován\n" -#: src/common/weechat.c:597 +#: src/common/weechat.c:598 #, c-format msgid "%s unknown parameter '%s', ignored\n" msgstr "%s neznámý parametr '%s', ignorován\n" -#: src/common/weechat.c:617 +#: src/common/weechat.c:618 #, c-format msgid "%s cannot create directory \"%s\"\n" msgstr "%s nemohu vytvořit adresář \"%s\"\n" -#: src/common/weechat.c:638 +#: src/common/weechat.c:639 #, c-format msgid "%s unable to get HOME directory\n" msgstr "%s nemohu získat HOME adresář\n" -#: src/common/weechat.c:647 +#: src/common/weechat.c:648 #, c-format msgid "%s not enough memory for home directory\n" msgstr "%s nedostatek paměti pro domácí adresář\n" -#: src/common/weechat.c:657 +#: src/common/weechat.c:658 #, c-format msgid "%s unable to create ~/.weechat directory\n" msgstr "%s nemohu vytvořit adresář ~/.weechat\n" -#: src/common/weechat.c:670 +#: src/common/weechat.c:671 #, c-format msgid "%s unable to create ~/.weechat/logs directory\n" msgstr "%s nemohu vytvořit adresář ~/.weechat/logs\n" -#: src/common/weechat.c:716 +#: src/common/weechat.c:717 #, c-format msgid "%s unable to create/append to log file (~/.weechat/%s)" msgstr "%s nemohu vytvořit/přidat do log souboru (~/.weechat/%s)" -#: src/common/weechat.c:767 +#: src/common/weechat.c:768 #, c-format msgid "%sWelcome to %s%s%s, %s\n" msgstr "%sVítejte do %s%s%s, %s\n" -#: src/common/weechat.c:781 src/common/weechat.c:791 +#: src/common/weechat.c:782 src/common/weechat.c:792 msgid "compiled on" msgstr "kompilováno" @@ -4959,62 +4952,92 @@ msgstr "" "čárkou oddělený seznam levelů upozornění pro kanály na tomto serveru " "(formát: #kanál:1,..)" -#: src/common/weeconfig.c:1510 +#: src/common/weeconfig.c:940 +msgid "charset for decoding ISO on server and channels" +msgstr "" + +#: src/common/weeconfig.c:941 +msgid "" +"comma separated list of charsets for server and channels, to decode ISO " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:945 +msgid "charset for decoding UTF on server and channels" +msgstr "" + +#: src/common/weeconfig.c:946 +msgid "" +"comma separated list of charsets for server and channels, to decode UTF " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:950 +msgid "charset for encoding messages on server and channels" +msgstr "" + +#: src/common/weeconfig.c:951 +msgid "" +"comma separated list of charsets for server and channels, to encode messages " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:1643 #, c-format msgid "%s %s, line %d: new server, but previous was incomplete\n" msgstr "%s %s, řádek %d: nový server, ale předchozí byl nekompletní\n" -#: src/common/weeconfig.c:1519 +#: src/common/weeconfig.c:1652 #, c-format msgid "%s %s, line %d: server '%s' already exists\n" msgstr "%s %s, řádek %d: server '%s' již existuje\n" -#: src/common/weeconfig.c:1534 +#: src/common/weeconfig.c:1669 #, c-format msgid "%s %s, line %d: unable to create server\n" msgstr "%s %s, řádek %d: nemohu vytvořit server\n" -#: src/common/weeconfig.c:1574 +#: src/common/weeconfig.c:1709 #, c-format msgid "%s unable to assign default int with string (\"%s\")\n" msgstr "%s nemohu přiřadit výchozí číslo s řetězcem (\"%s\")\n" -#: src/common/weeconfig.c:1585 +#: src/common/weeconfig.c:1720 #, c-format msgid "%s unable to assign default color (\"%s\")\n" msgstr "%s nemohu přiřadit výchozí barvu (\"%s\")\n" -#: src/common/weeconfig.c:1623 +#: src/common/weeconfig.c:1758 #, c-format msgid "%s config file \"%s\" not found.\n" msgstr "%s konfigurační soubor \"%s\" nenalezen\n" -#: src/common/weeconfig.c:1655 +#: src/common/weeconfig.c:1790 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"]\"\n" msgstr "%s %s, řádek %d: nevalidní syntaxe, chybí \"]\"\n" -#: src/common/weeconfig.c:1672 +#: src/common/weeconfig.c:1807 #, c-format msgid "%s %s, line %d: unknown section identifier (\"%s\")\n" msgstr "%s %s, řádek %d: neznámý identifikátor sekce (\"%s\")\n" -#: src/common/weeconfig.c:1690 +#: src/common/weeconfig.c:1825 #, c-format msgid "%s %s, line %d: invalid section for option, line is ignored\n" msgstr "%s %s, řádek %d: nevalidní sekce pro volbu, řádek je ignorován\n" -#: src/common/weeconfig.c:1772 src/common/weeconfig.c:1798 +#: src/common/weeconfig.c:1907 src/common/weeconfig.c:1933 #, c-format msgid "%s %s, line %d: invalid option \"%s\"\n" msgstr "%s %s, řádek %d: nevalidní volba \"%s\"\n" -#: src/common/weeconfig.c:1778 +#: src/common/weeconfig.c:1913 #, c-format msgid "%s %s, line %d: invalid ignore options \"%s\"\n" msgstr "%s %s, řádek %d: nevalidní volba \"%s\" pro ignorování\n" -#: src/common/weeconfig.c:1809 +#: src/common/weeconfig.c:1944 #, c-format msgid "" "%s %s, line %d: invalid value foroption '%s'\n" @@ -5023,7 +5046,7 @@ msgstr "" "%s %s, řádek %d: nevalidní hodnota pro volbu '%s'\n" "Očekáváno: hodnota boolean: 'off' nebo 'on'\n" -#: src/common/weeconfig.c:1818 +#: src/common/weeconfig.c:1953 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" @@ -5032,7 +5055,7 @@ msgstr "" "%s %s, řádek %d: nevalidní hodnota pro volbu '%s'\n" "Očekáváno: celé číslo mezi %d a %d\n" -#: src/common/weeconfig.c:1829 +#: src/common/weeconfig.c:1964 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" @@ -5041,21 +5064,21 @@ msgstr "" "%s %s, řádek %d: nevalidní hodnota pro volbu '%s'\n" "Očekáváno: jeden z těchto řetězců: " -#: src/common/weeconfig.c:1845 +#: src/common/weeconfig.c:1980 #, c-format msgid "%s %s, line %d: invalid color name for option '%s'\n" msgstr "%s %s, řádek %d: nevalidní jméno barvy pro hodnotu '%s'\n" -#: src/common/weeconfig.c:1914 +#: src/common/weeconfig.c:2049 #, c-format msgid "%s: creating default config file...\n" msgstr "%s: vytvářím výchozí konfigurační soubor...\n" -#: src/common/weeconfig.c:1915 +#: src/common/weeconfig.c:2050 msgid "Creating default config file\n" msgstr "Vytvářím výchozí konfigurační soubor\n" -#: src/common/weeconfig.c:1918 src/common/weeconfig.c:2119 +#: src/common/weeconfig.c:2053 src/common/weeconfig.c:2258 #, c-format msgid "" "#\n" @@ -5064,7 +5087,7 @@ msgstr "" "#\n" "# %s konfigurační soubor, vytvořil %s v%s %s" -#: src/common/weeconfig.c:1922 src/common/weeconfig.c:2123 +#: src/common/weeconfig.c:2057 src/common/weeconfig.c:2262 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -5075,26 +5098,6 @@ msgstr "" "tento soubor při ukončení.\n" "#\n" -#: src/common/weeconfig.c:2116 +#: src/common/weeconfig.c:2255 msgid "Saving config to disk\n" msgstr "Ukládám konfiguraci na disk\n" - -#, fuzzy -#~ msgid "channel name (content) not found" -#~ msgstr "mód kanálu" - -#, fuzzy -#~ msgid "server name (content) not found" -#~ msgstr "%s server nenalezen\n" - -#~ msgid "%s cannot allocate new nick\n" -#~ msgstr "%s nemůžu přidělit novou přezdívku\n" - -#~ msgid "display nick names with different colors" -#~ msgstr "zobrazit přezdívky různými barvami" - -#~ msgid "dump" -#~ msgstr "dump" - -#~ msgid "%s unable to call handler for message (not enough memory)\n" -#~ msgstr "%s nemohu zavolat handler pro zprávu (neodstatek paměti)\n" @@ -7,96 +7,96 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.7-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-12-06 18:33+0100\n" -"PO-Revision-Date: 2005-12-06 17:57+0100\n" +"POT-Creation-Date: 2005-12-11 01:50+0100\n" +"PO-Revision-Date: 2005-12-10 22:41+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" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" -#: src/irc/irc-server.c:179 src/common/weeconfig.c:2054 +#: src/irc/irc-server.c:182 src/common/weeconfig.c:2189 msgid "Unable to get user's name" msgstr "No ha sido posible obtener el nombre de usuario" -#: src/irc/irc-server.c:247 +#: src/irc/irc-server.c:250 #, c-format msgid "%s cannot allocate new server\n" msgstr "%s no ha sido posible crear un nuevo servidor\n" -#: src/irc/irc-server.c:464 +#: src/irc/irc-server.c:563 #, c-format msgid "%s error sending data to IRC server\n" msgstr "%s error enviando datos al servidor IRC\n" -#: src/irc/irc-server.c:487 src/irc/irc-server.c:500 src/irc/irc-server.c:547 -#: src/irc/irc-server.c:560 +#: src/irc/irc-server.c:585 src/irc/irc-server.c:598 src/irc/irc-server.c:645 +#: src/irc/irc-server.c:658 #, c-format msgid "%s not enough memory for received IRC message\n" msgstr "%s memoria insuficiente para un mensaje IRC recibido\n" -#: src/irc/irc-server.c:672 +#: src/irc/irc-server.c:770 #, c-format msgid "%s Command \"%s\" failed!\n" msgstr "%s El comando \"%s\" ha fallado!\n" -#: src/irc/irc-server.c:678 +#: src/irc/irc-server.c:776 #, c-format msgid "%s No command to execute!\n" msgstr "%s Ningn comando para ejecutar!\n" -#: src/irc/irc-server.c:684 +#: src/irc/irc-server.c:782 #, c-format msgid "%s Unknown command: cmd=\"%s\", host=\"%s\", args=\"%s\"\n" msgstr "%s Comando desconocido: cmd=\"%s\", host=\"%s\", params=\"%s\"\n" -#: src/irc/irc-server.c:735 +#: src/irc/irc-server.c:833 #, c-format msgid "%s cannot read data from socket, disconnecting from server...\n" msgstr "" "%s no ha sido posible leer datos del socket, desconectando del servidor...\n" -#: src/irc/irc-server.c:816 +#: src/irc/irc-server.c:914 #, c-format msgid "%s: Reconnecting to server in %d seconds\n" msgstr "%s: Reconexin al servidor en %d segundos\n" -#: src/irc/irc-server.c:850 +#: src/irc/irc-server.c:948 #, c-format msgid "%s gnutls handshake failed\n" msgstr "%s el handshake gnutls ha fallado\n" -#: src/irc/irc-server.c:867 +#: src/irc/irc-server.c:965 #, c-format msgid "%s proxy address \"%s\" not found\n" msgstr "%s direccin proxy \"%s\" no encontrada\n" -#: src/irc/irc-server.c:871 +#: src/irc/irc-server.c:969 #, c-format msgid "%s address \"%s\" not found\n" msgstr "%s direccin \"%s\" no encontrada\n" -#: src/irc/irc-server.c:881 +#: src/irc/irc-server.c:979 #, c-format msgid "%s proxy IP address not found\n" msgstr "%s direccin proxy IP no encontrada\n" -#: src/irc/irc-server.c:884 +#: src/irc/irc-server.c:982 #, c-format msgid "%s IP address not found\n" msgstr "%s Direccin IP no encontrada\n" -#: src/irc/irc-server.c:893 +#: src/irc/irc-server.c:991 #, c-format msgid "%s proxy connection refused\n" msgstr "%s conexin proxy rechazada\n" -#: src/irc/irc-server.c:896 +#: src/irc/irc-server.c:994 #, c-format msgid "%s connection refused\n" msgstr "%s conexin rechazada\n" -#: src/irc/irc-server.c:904 +#: src/irc/irc-server.c:1002 #, c-format msgid "" "%s proxy fails to establish connection to server (check username/password if " @@ -105,7 +105,7 @@ msgstr "" "%s el proxy ha fallado al establecer la conexin al servidor (comprueba el " "nombre de usuario o la contrasea si es necesario)\n" -#: src/irc/irc-server.c:1383 +#: src/irc/irc-server.c:1481 #, c-format msgid "" "%s cannot connect with SSL since WeeChat was not built with GNUtls support\n" @@ -113,61 +113,61 @@ msgstr "" "%s No ha sido posible conectar con SSL debido a que Weechat no fue compilado " "con soporte GNUtls\n" -#: src/irc/irc-server.c:1392 +#: src/irc/irc-server.c:1490 #, c-format msgid "%s: connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "%s: conectando al servidor %s:%d%s%s va %s proxy %s: %d%s...\n" -#: src/irc/irc-server.c:1398 +#: src/irc/irc-server.c:1496 #, c-format msgid "Connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "Conectando al servidor %s:%d%s%s va %s proxy %s:%d%s...\n" -#: src/irc/irc-server.c:1408 +#: src/irc/irc-server.c:1506 #, c-format msgid "%s: connecting to server %s:%d%s%s...\n" msgstr "%s: conectando al servidor %s:%d%s%s...\n" -#: src/irc/irc-server.c:1412 +#: src/irc/irc-server.c:1510 #, c-format msgid "Connecting to server %s:%d%s%s...\n" msgstr "Conectando al servidor %s:%d%s%s...\n" -#: src/irc/irc-server.c:1430 +#: src/irc/irc-server.c:1528 #, c-format msgid "%s gnutls init error\n" msgstr "%s error de inicializacin de gnutls\n" -#: src/irc/irc-server.c:1445 +#: src/irc/irc-server.c:1543 #, c-format msgid "%s cannot create pipe\n" msgstr "%s no ha sido posible crear la interconexin\n" -#: src/irc/irc-server.c:1460 +#: src/irc/irc-server.c:1558 #, c-format msgid "%s cannot create socket\n" msgstr "%s no ha sido posible crear el socket\n" -#: src/irc/irc-server.c:1471 +#: src/irc/irc-server.c:1569 #, c-format msgid "%s cannot set socket option \"SO_REUSEADDR\"\n" msgstr "%s no ha sido posible configurar la opcin socket \"SO_REUSEADDR\"\n" -#: src/irc/irc-server.c:1482 +#: src/irc/irc-server.c:1580 #, c-format msgid "%s cannot set socket option \"SO_KEEPALIVE\"\n" msgstr "%s no ha sido posible configurar la opcin socket \"SO_KEEPALIVE\"\n" -#: src/irc/irc-server.c:1513 +#: src/irc/irc-server.c:1611 #, c-format msgid "%s: Reconnecting to server...\n" msgstr "%s: Reconectando al servidor...\n" -#: src/irc/irc-server.c:1563 src/irc/irc-server.c:1572 +#: src/irc/irc-server.c:1661 src/irc/irc-server.c:1670 msgid "Disconnected from server!\n" msgstr "Desconectado del servidor!\n" -#: src/irc/irc-channel.c:51 +#: src/irc/irc-channel.c:53 #, c-format msgid "%s cannot allocate new channel" msgstr "%s no ha sido posible crear un nuevo canal" @@ -1388,7 +1388,7 @@ msgstr "inactivo" msgid " (temporary server, will not be saved)" msgstr " (servidor temporal, no ser guardado)" -#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3173 +#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3175 msgid "seconds" msgstr "segundos" @@ -1396,7 +1396,7 @@ msgstr "segundos" msgid "(hidden)" msgstr "(oculto)" -#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4699 +#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4701 msgid "unknown" msgstr "desconocido" @@ -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:800 +#: src/irc/irc-send.c:177 src/common/command.c:808 #, 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:1392 src/common/command.c:1877 -#: src/common/command.c:2013 +#: src/common/command.c:1599 src/common/command.c:2097 +#: src/common/command.c:2236 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s nmero de argumentos incorrecto para el comando \"%s\"\n" @@ -1461,8 +1461,8 @@ msgid "You have been invited to %s%s%s by %s%s\n" msgstr "Usted ha sido invitado a %s%s%s por %s%s\n" #: src/irc/irc-recv.c:376 src/irc/irc-recv.c:470 src/irc/irc-recv.c:1009 -#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3545 -#: src/irc/irc-recv.c:3566 src/irc/irc-recv.c:3626 src/irc/irc-recv.c:3697 +#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3547 +#: src/irc/irc-recv.c:3568 src/irc/irc-recv.c:3628 src/irc/irc-recv.c:3699 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "%s canal \"%s\" no encontrado para el comando \"%s\"\n" @@ -1653,7 +1653,7 @@ msgstr "CTCP %sVERSION%s respuesta de %s%s%s: %s\n" msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "CTCP %sPING%s respuesta de %s%s%s: %ld.%ld segundos\n" -#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1214 +#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1217 #, c-format msgid "Private %s> %s" msgstr "Privado %s> %s" @@ -1702,12 +1702,12 @@ msgstr "CTCP %sVERSION%s recibido de %s%s" #: src/irc/irc-recv.c:1812 src/irc/irc-recv.c:1838 src/irc/irc-recv.c:1859 #: src/irc/irc-recv.c:1875 src/irc/irc-recv.c:1900 src/irc/irc-recv.c:1921 #: src/irc/irc-recv.c:1937 src/irc/irc-recv.c:1962 src/irc/irc-recv.c:1983 -#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2522 -#: src/irc/irc-recv.c:3904 src/irc/irc-recv.c:3919 src/irc/irc-recv.c:3934 -#: src/irc/irc-recv.c:3949 src/irc/irc-recv.c:3962 src/irc/irc-recv.c:4027 -#: src/irc/irc-recv.c:4041 src/irc/irc-recv.c:4275 src/irc/irc-recv.c:4333 -#: src/irc/irc-recv.c:4471 src/irc/irc-recv.c:4486 src/irc/irc-recv.c:4592 -#: src/irc/irc-recv.c:4606 +#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2524 +#: src/irc/irc-recv.c:3906 src/irc/irc-recv.c:3921 src/irc/irc-recv.c:3936 +#: src/irc/irc-recv.c:3951 src/irc/irc-recv.c:3964 src/irc/irc-recv.c:4029 +#: src/irc/irc-recv.c:4043 src/irc/irc-recv.c:4277 src/irc/irc-recv.c:4335 +#: src/irc/irc-recv.c:4473 src/irc/irc-recv.c:4488 src/irc/irc-recv.c:4594 +#: src/irc/irc-recv.c:4608 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "%s no es posible analizar el comando \"%s\"\n" @@ -1719,200 +1719,200 @@ msgstr "%s tipo DCC CHAT desconocido recibido de " #: src/irc/irc-recv.c:2228 #, c-format -msgid "%s%s %s(%s%s%s)%s has quit %s(%s%s%s)\n" -msgstr "%s%s %s(%s%s%s)%s ha salido %s(%s%s%s)\n" +msgid "%s%s %s(%s%s%s)%s has quit" +msgstr "%s%s %s(%s%s%s)%s ha salido" -#: src/irc/irc-recv.c:2358 +#: src/irc/irc-recv.c:2360 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "%s comando \"%s\" recibido sin canal\n" -#: src/irc/irc-recv.c:2387 +#: src/irc/irc-recv.c:2389 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "%s%s%s ha cambiado el tema para %s%s%s a:" -#: src/irc/irc-recv.c:2398 +#: src/irc/irc-recv.c:2400 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "%s%s%s ha quitado el tema para %s%s\n" -#: src/irc/irc-recv.c:2508 +#: src/irc/irc-recv.c:2510 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "Modo de usuario %s[%s%s%s/%s%s%s]\n" -#: src/irc/irc-recv.c:2563 +#: src/irc/irc-recv.c:2565 #, c-format msgid "%s%s%s is away: %s\n" msgstr "%s%s%s est ausente: %s\n" -#: src/irc/irc-recv.c:2648 +#: src/irc/irc-recv.c:2650 msgid "Users online: " msgstr "Usuarios conectados: " -#: src/irc/irc-recv.c:3024 +#: src/irc/irc-recv.c:3026 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "%s%s %s(%s%s@%s%s)%s estaba %s\n" -#: src/irc/irc-recv.c:3145 +#: src/irc/irc-recv.c:3147 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s inactividad: " -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "days" msgstr "das" -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "day" msgstr "da" -#: src/irc/irc-recv.c:3161 +#: src/irc/irc-recv.c:3163 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, firm en: %s%s" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hours" msgstr "horas" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hour" msgstr "hora" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minutes" msgstr "minutos" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minute" msgstr "minuto" -#: src/irc/irc-recv.c:3173 +#: src/irc/irc-recv.c:3175 msgid "second" msgstr "segundo" -#: src/irc/irc-recv.c:3557 +#: src/irc/irc-recv.c:3559 #, c-format msgid "No topic set for %s%s\n" msgstr "Sin tema establecido para %s%s\n" -#: src/irc/irc-recv.c:3613 +#: src/irc/irc-recv.c:3615 #, c-format msgid "Topic for %s%s%s is: \"%s\"\n" msgstr "El tema para %s%s%s es: \"%s\"\n" -#: src/irc/irc-recv.c:3636 src/irc/irc-recv.c:3724 src/irc/irc-recv.c:3779 +#: src/irc/irc-recv.c:3638 src/irc/irc-recv.c:3726 src/irc/irc-recv.c:3781 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "%s no es posible identificar el canal para el comando \"%s\"\n" -#: src/irc/irc-recv.c:3686 +#: src/irc/irc-recv.c:3688 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "Tema establecido por %s%s%s, %s" -#: src/irc/irc-recv.c:3706 +#: src/irc/irc-recv.c:3708 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "%s no es posible identificar la fecha/hora para el comando \"%s\"\n" -#: src/irc/irc-recv.c:3715 src/irc/irc-recv.c:3788 +#: src/irc/irc-recv.c:3717 src/irc/irc-recv.c:3790 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "" "%s no es posible determinar el nombre de usuario para el comando \"%s\"\n" -#: src/irc/irc-recv.c:3764 +#: src/irc/irc-recv.c:3766 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "%s%s%s ha invitado a %s%s%s en %s%s\n" -#: src/irc/irc-recv.c:3824 +#: src/irc/irc-recv.c:3826 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "reop canal %s%s%s: %s%s\n" -#: src/irc/irc-recv.c:4321 +#: src/irc/irc-recv.c:4323 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "%s no es posible crear el usuario \"%s\" para el canal \"%s\"\n" -#: src/irc/irc-recv.c:4379 +#: src/irc/irc-recv.c:4381 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "Usuarios %s%s%s: %s[" -#: src/irc/irc-recv.c:4400 +#: src/irc/irc-recv.c:4402 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" "Canal %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nicks" msgstr "usuarios" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nick" msgstr "usuario" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "ops" msgstr "operadores" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "op" msgstr "operador" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfops" msgstr "semi-operadores" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfop" msgstr "semi-operador" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voices" msgstr "voces" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voice" msgstr "voz" -#: src/irc/irc-recv.c:4425 +#: src/irc/irc-recv.c:4427 msgid "normal" msgstr "normal" -#: src/irc/irc-recv.c:4526 +#: src/irc/irc-recv.c:4528 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "%s[%s%s%s] %s%s%s baneado por " -#: src/irc/irc-recv.c:4561 +#: src/irc/irc-recv.c:4563 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "%s[%s%s%s] %s%s%s baneado\n" -#: src/irc/irc-recv.c:4653 +#: src/irc/irc-recv.c:4655 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" "%s: el nombre de usuario \"%s\" ya est en uso, probando con el 2 nombre de " "usuario \"%s\"\n" -#: src/irc/irc-recv.c:4665 +#: src/irc/irc-recv.c:4667 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" "%s: el nombre de usuario \"%s\" ya est en uso, probando con el 3 nombre de " "usuario \"%s\"\n" -#: src/irc/irc-recv.c:4677 +#: src/irc/irc-recv.c:4679 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " @@ -1921,7 +1921,7 @@ msgstr "" "%s: todos los nombres de usuario declarados ya estn en uso, cerrando la " "conexin con el servidor!\n" -#: src/irc/irc-recv.c:4687 +#: src/irc/irc-recv.c:4689 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -2084,12 +2084,12 @@ msgstr "%s no puede encontrar un puerto disponible para el DCC\n" msgid "%s cannot send DCC\n" msgstr "%s no es posible enviar el DCC\n" -#: src/irc/irc-dcc.c:1132 +#: src/irc/irc-dcc.c:1131 #, c-format msgid "%s error sending data to \"%s\" via DCC CHAT\n" msgstr "%s error enviando datos al \"%s\" con DCC CHAT\n" -#: src/irc/irc-dcc.c:1411 +#: src/irc/irc-dcc.c:1416 #, c-format msgid "" "%s DCC failed because blocksize is too big. Check value of \"dcc_blocksize\" " @@ -2098,7 +2098,7 @@ msgstr "" "%s El DCC ha fallado porque el tamao de bloque es demasiado grande. " "Compruebe el valor de la opcin \"dcc_blocksize\", el mximo es %d.\n" -#: src/irc/irc-dcc.c:1486 +#: src/irc/irc-dcc.c:1491 #, c-format msgid "Aborting active DCC: \"%s\" from %s\n" msgstr "Abandonar el DCC activo: \"%s\" de %s\n" @@ -2234,13 +2234,13 @@ msgstr "Plugin \"%s\" descargado.\n" msgid "%s plugin \"%s\" not found\n" msgstr "%s plugin \"%s\" no encontrado\n" -#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1698 +#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1833 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "%s %s, lnea %d: sintaxis invlida, falta \"=\"\n" -#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:1908 -#: src/common/weeconfig.c:2110 +#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:2043 +#: src/common/weeconfig.c:2249 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "%s no es posible crear el fichero \"%s\"\n" @@ -2275,68 +2275,68 @@ msgstr "Da cambiado a %s\n" msgid "%s lag is high, disconnecting from server...\n" msgstr "%s el lag (retraso) es alto, desconectando del servidor...\n" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "bytes" msgstr "bytes" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Kb" msgstr "KB" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Mb" msgstr "MB" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Gb" msgstr "GB" -#: src/gui/curses/gui-display.c:1600 +#: src/gui/curses/gui-display.c:1594 msgid "ETA" msgstr "" -#: src/gui/curses/gui-display.c:1945 +#: src/gui/curses/gui-display.c:1941 msgid "<servers>" msgstr "<servidores>" -#: src/gui/curses/gui-display.c:1957 +#: src/gui/curses/gui-display.c:1953 msgid "(away)" msgstr "(ausente)" -#: src/gui/curses/gui-display.c:2091 +#: src/gui/curses/gui-display.c:2087 msgid "[not connected] " msgstr "[no conectado] " -#: src/gui/curses/gui-display.c:2101 +#: src/gui/curses/gui-display.c:2097 msgid "Act: " msgstr "Act: " -#: src/gui/curses/gui-display.c:2189 +#: src/gui/curses/gui-display.c:2185 #, c-format msgid "Lag: %.1f" msgstr "Lag: %.1f" -#: src/gui/curses/gui-display.c:2205 +#: src/gui/curses/gui-display.c:2201 msgid "-MORE-" msgstr "-MS-" -#: src/gui/curses/gui-display.c:2378 +#: src/gui/curses/gui-display.c:2374 msgid " [A] Accept" msgstr " [A] Aceptar" -#: src/gui/curses/gui-display.c:2379 src/gui/curses/gui-display.c:2383 +#: src/gui/curses/gui-display.c:2375 src/gui/curses/gui-display.c:2379 msgid " [C] Cancel" msgstr " [C] Cancelar" -#: src/gui/curses/gui-display.c:2388 +#: src/gui/curses/gui-display.c:2384 msgid " [R] Remove" msgstr " [R] Eliminar" -#: src/gui/curses/gui-display.c:2392 +#: src/gui/curses/gui-display.c:2388 msgid " [P] Purge old DCC" msgstr " [P] Purgar los viejos DCC" -#: src/gui/curses/gui-display.c:2393 +#: src/gui/curses/gui-display.c:2389 msgid " [Q] Close DCC view" msgstr " [Q] Cerrar la vista DCC" @@ -2344,11 +2344,11 @@ msgstr " [Q] Cerrar la vista DCC" msgid "server" msgstr "servidor" -#: src/gui/gui-common.c:696 +#: src/gui/gui-common.c:716 msgid "Not enough memory for new line\n" msgstr "No hay suficiente memoria para una nueva lnea\n" -#: src/gui/gui-common.c:1047 +#: src/gui/gui-common.c:1054 msgid "Not enough memory for infobar message\n" msgstr "No hay suficiente memoria para el mensaje de la barra de informacin\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:1892 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2112 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s No ha sido posible atar la clave \"%s\"\n" @@ -2529,15 +2529,15 @@ msgstr "" msgid "%s not enough memory for key binding\n" msgstr "%s no hay suficiente memoria para atar la clave\n" -#: src/common/command.c:44 +#: src/common/command.c:45 msgid "create an alias for a command" msgstr "crear un alias para un comando" -#: src/common/command.c:45 +#: src/common/command.c:46 msgid "[alias_name [command [arguments]]" msgstr "[nombre_alias [comando [argumentos]]" -#: src/common/command.c:46 +#: src/common/command.c:47 msgid "" "alias_name: name of alias\n" "command: command name (WeeChat or IRC command, without first '/')\n" @@ -2547,16 +2547,15 @@ msgstr "" "comando: nombre del comando (comando WeeChat o IRC, sin el primer '/')\n" "argumentos: parmetros para el comando" -#: src/common/command.c:49 +#: src/common/command.c:50 msgid "manage buffers" msgstr "gestionar los bfers" -#: src/common/command.c:50 -#, fuzzy +#: src/common/command.c:51 msgid "[action | number | [[server] [channel]]]" -msgstr "[accin | nmero]" +msgstr "[accin | nmero | [[servidor] [canal]]]" -#: src/common/command.c:51 +#: src/common/command.c:52 #, fuzzy msgid "" "action: action to do:\n" @@ -2578,47 +2577,62 @@ msgstr "" "+join/part)\n" "nmero: saltar al bfer por nmero" -#: src/common/command.c:59 +#: src/common/command.c:60 +msgid "change charset for server or channel" +msgstr "" + +#: src/common/command.c:61 +msgid "[(decode_iso | decode_utf | encode) charset]" +msgstr "" + +#: src/common/command.c:62 +msgid "" +"decode_iso: charset used for decoding ISO\n" +"decode_utf: charset used for decoding UTF\n" +" encode: charset used for encoding messages" +msgstr "" + +#: src/common/command.c:66 msgid "clear window(s)" msgstr "limpiar la(s) ventana(s)" -#: src/common/command.c:60 +#: src/common/command.c:67 msgid "[-all]" msgstr "[-all]" -#: src/common/command.c:61 +#: src/common/command.c:68 msgid "-all: clear all windows" msgstr "-all: limpiar todas las ventanas" -#: src/common/command.c:63 +#: src/common/command.c:70 msgid "connect to a server" msgstr "conectarse a un servidor" -#: src/common/command.c:64 src/common/command.c:68 +#: src/common/command.c:71 src/common/command.c:75 msgid "[servername]" msgstr "[nombre_del_servidor]" -#: src/common/command.c:65 +#: src/common/command.c:72 msgid "servername: server name to connect" msgstr "nombre_del_servidor: nombre del servidor al que conectarse" -#: src/common/command.c:67 +#: src/common/command.c:74 msgid "disconnect from a server" msgstr "desconectarse de un servidor" -#: src/common/command.c:69 +#: src/common/command.c:76 msgid "servername: server name to disconnect" msgstr "nombre_del_servidor: nombre del servidor del que desconectarse" -#: src/common/command.c:71 +#: src/common/command.c:78 msgid "print debug messages" msgstr "imprime mensajes de depuracin" -#: src/common/command.c:72 +#: src/common/command.c:79 msgid "dump | windows" msgstr "volcar | ventanas" -#: src/common/command.c:73 +#: src/common/command.c:80 msgid "" "dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" @@ -2628,27 +2642,27 @@ msgstr "" "(se escribe el mismo volcado cuando WeeChat se cuelga)\n" "ventanas: muestra el rbol de ventanas" -#: src/common/command.c:76 +#: src/common/command.c:83 msgid "display help about commands" msgstr "mostrar ayuda sobre los comandos" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "[command]" msgstr "[comando]" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "command: name of a WeeChat or IRC command" msgstr "comando: nombre de un comando de Weechat o de IRC" -#: src/common/command.c:79 +#: src/common/command.c:86 msgid "show buffer command history" msgstr "mostrar historial de comandos de bfer" -#: src/common/command.c:80 +#: src/common/command.c:87 msgid "[clear | value]" msgstr "[limpiar | valor]" -#: src/common/command.c:81 +#: src/common/command.c:88 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2656,15 +2670,15 @@ msgstr "" "limpiar: limpiar historial\n" "valor: nmero de entradas del historial para mostrar" -#: src/common/command.c:84 +#: src/common/command.c:91 msgid "ignore IRC messages and/or hosts" msgstr "ignorar los mensajes IRC y/o los hosts" -#: src/common/command.c:85 +#: src/common/command.c:92 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[mscara [[tipo | comando] [canal [servidor]]]]" -#: src/common/command.c:86 +#: src/common/command.c:93 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2684,15 +2698,15 @@ msgstr "" "Para cada argumento, '*' significa todo.\n" "Sin argumentos, el comando /ignore lista todos los ignores definidos." -#: src/common/command.c:94 +#: src/common/command.c:101 msgid "bind/unbind keys" msgstr "atar/desatar claves" -#: src/common/command.c:95 +#: src/common/command.c:102 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "[clave funcin/comando] [desatar clave] [funciones] [reset -yes]" -#: src/common/command.c:96 +#: src/common/command.c:103 msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" @@ -2709,15 +2723,15 @@ msgstr "" "reset: restaura anclajes a los valores por defecto y elimina todos los " "anclajes personales (usar cuidadosamente)" -#: src/common/command.c:101 +#: src/common/command.c:108 msgid "list/load/unload plugins" msgstr "listar/cargar/descargar plugins" -#: src/common/command.c:102 +#: src/common/command.c:109 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[cargar fichero] | [autocargar] | [recargar] | [descargar]" -#: src/common/command.c:103 +#: src/common/command.c:110 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2727,11 +2741,11 @@ msgstr "" "\n" "Sin argumentos, el comando /plugin lista todos los plugins cargados." -#: src/common/command.c:106 +#: src/common/command.c:113 msgid "list, add or remove servers" msgstr "lista, ade o elimina servidores" -#: src/common/command.c:107 +#: src/common/command.c:114 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2743,7 +2757,7 @@ msgstr "" "username nombre de usuario] [-realname nombre_real] [-command comando] [-" "autojoin canal[,canal]] ] | [del nombre_de_servidor]" -#: src/common/command.c:112 +#: src/common/command.c:119 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2769,27 +2783,27 @@ msgstr "" "nombre_de_usuario: nombre de usuario\n" "nombre_real: nombre real del usuario" -#: src/common/command.c:124 +#: src/common/command.c:131 msgid "save config to disk" msgstr "guardar configuracin a disco" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "[file]" msgstr "[archivo]" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "file: filename for writing config" msgstr "archivo: fichero en el que guardar la configuracin" -#: src/common/command.c:127 +#: src/common/command.c:134 msgid "set config parameters" msgstr "modificar parmetros de configuracin" -#: src/common/command.c:128 +#: src/common/command.c:135 msgid "[option [ = value]]" msgstr "[opcin [ = valor]]" -#: src/common/command.c:129 +#: src/common/command.c:136 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2799,27 +2813,27 @@ msgstr "" "valor, entonces se muestra la ayuda de la opcin)\n" "valor: valor para una opcin" -#: src/common/command.c:133 +#: src/common/command.c:140 msgid "remove an alias" msgstr "eliminar un alias" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name" msgstr "alias" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name: name of alias to remove" msgstr "alias: nombre del alias a suprimir" -#: src/common/command.c:136 +#: src/common/command.c:143 msgid "unignore IRC messages and/or hosts" msgstr "no ignorar mensajes IRC y/o hosts" -#: src/common/command.c:137 +#: src/common/command.c:144 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[nmero | [mscara [[tipo | comando] [canal [servidor]]]]]" -#: src/common/command.c:138 +#: src/common/command.c:145 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2842,27 +2856,27 @@ msgstr "" "Para cada argumento, '*' significa todo.\n" "Sin argumentos, el comando /unignore lista todos los ignores definidos." -#: src/common/command.c:147 +#: src/common/command.c:154 msgid "upgrade WeeChat without disconnecting from servers" msgstr "" -#: src/common/command.c:151 +#: src/common/command.c:158 msgid "show WeeChat uptime" msgstr "muestra el tiempo de uso de WeeChat" -#: src/common/command.c:152 +#: src/common/command.c:159 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:153 +#: src/common/command.c:160 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:155 +#: src/common/command.c:162 msgid "manage windows" msgstr "gestin de ventanas" -#: src/common/command.c:156 +#: src/common/command.c:163 msgid "" "[list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge " "[all]]" @@ -2870,7 +2884,7 @@ msgstr "" "[list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge " "[all]]" -#: src/common/command.c:157 +#: src/common/command.c:164 #, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2900,29 +2914,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:310 +#: src/common/command.c:317 #, 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:320 +#: src/common/command.c:327 #, c-format msgid "%s alias cannot run another alias!\n" msgstr "%s el alias no puede ejecutar otro alias!\n" -#: src/common/command.c:327 +#: src/common/command.c:334 #, c-format msgid "%s target command \"/%s\" does not exist!\n" msgstr "%s el comando objetivo \"/%s\" no existe!\n" -#: src/common/command.c:565 +#: src/common/command.c:572 #, 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:577 +#: src/common/command.c:584 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -2931,19 +2945,19 @@ msgstr "" "%s nmero de argumentos incorrecto para el comando %s \"%s\" (esperado: " "entre %d y %d parmetro%s)\n" -#: src/common/command.c:599 src/common/command.c:668 +#: src/common/command.c:606 src/common/command.c:675 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s el comando \"%s\" ha fallado\n" -#: src/common/command.c:624 +#: src/common/command.c:631 #, 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:636 +#: src/common/command.c:643 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -2952,266 +2966,283 @@ msgstr "" "%s nmero de argumentos incorrecto para el comando IRC \"%s\" (esperado: " "entre %d y %d parmetro%s)\n" -#: src/common/command.c:651 +#: src/common/command.c:658 #, 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:711 +#: src/common/command.c:719 #, 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:845 +#: src/common/command.c:853 msgid "This window is not a channel!\n" msgstr "Esta ventana no es un canal!\n" -#: src/common/command.c:873 src/common/command.c:904 src/common/command.c:1019 +#: src/common/command.c:884 src/common/command.c:915 src/common/command.c:1030 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s faltan argumentos para el comando \"%s\"\n" -#: src/common/command.c:880 +#: src/common/command.c:891 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "%s el alias no puede empezar con \"/\"\n" -#: src/common/command.c:889 +#: src/common/command.c:900 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" creado\n" -#: src/common/command.c:895 +#: src/common/command.c:906 #, 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:915 +#: src/common/command.c:926 msgid "List of aliases:\n" msgstr "Lista de alias:\n" -#: src/common/command.c:929 +#: src/common/command.c:940 msgid "No alias defined.\n" msgstr "Ningn alias definido.\n" -#: src/common/command.c:948 +#: src/common/command.c:959 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServidor: %s%s\n" -#: src/common/command.c:953 +#: src/common/command.c:964 #, c-format msgid "%snot connected\n" msgstr "%sno conectado\n" -#: src/common/command.c:957 +#: src/common/command.c:968 #, 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:966 +#: src/common/command.c:977 #, 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:975 +#: src/common/command.c:986 #, c-format msgid "%sunknown\n" msgstr "" -#: src/common/command.c:998 +#: src/common/command.c:1009 msgid "Opened buffers:\n" msgstr "Bfers abiertos:\n" -#: src/common/command.c:1042 +#: src/common/command.c:1053 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s nmero de bfer incorrecto\n" -#: src/common/command.c:1058 +#: src/common/command.c:1069 #, 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:1068 +#: src/common/command.c:1079 #, 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:1117 +#: src/common/command.c:1128 msgid "Notify levels: " msgstr "Niveles de notificacin: " -#: src/common/command.c:1146 src/common/command.c:1194 +#: src/common/command.c:1157 src/common/command.c:1205 #, 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:1155 +#: src/common/command.c:1166 #, 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:1164 +#: src/common/command.c:1175 #, 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:1174 +#: src/common/command.c:1185 msgid "(hotlist: never)\n" msgstr "(hotlist: nunca)\n" -#: src/common/command.c:1177 +#: src/common/command.c:1188 msgid "(hotlist: highlights)\n" msgstr "(hotlist: resaltados)\n" -#: src/common/command.c:1180 +#: src/common/command.c:1191 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: resaltados + mensajes)\n" -#: src/common/command.c:1183 +#: src/common/command.c:1194 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "(hotlist: resaltados + mensajes + join/part (todos))\n" -#: src/common/command.c:1280 +#: src/common/command.c:1293 +#, c-format +msgid "Charsets for server %s%s%s: " +msgstr "" + +#: src/common/command.c:1301 +#, c-format +msgid "Charsets for channel %s%s%s: " +msgstr "" + +#: src/common/command.c:1309 +#, c-format +msgid "Charsets for private %s%s%s: " +msgstr "" + +#: src/common/command.c:1337 src/common/command.c:1367 +#: src/common/command.c:1397 +#, c-format +msgid " (inherited: \"%s%s%s\")" +msgstr "" + +#: src/common/command.c:1461 src/common/command.c:1484 +#: src/common/command.c:1618 src/common/command.c:2229 +#: src/common/command.c:3286 src/common/command.c:3329 #, c-format -msgid "unknown parameter \"%s\" for \"%s\" command\n" -msgstr "parmetro desconocido \"%s\" para el comando \"%s\"\n" +msgid "%s unknown option for \"%s\" command\n" +msgstr "%s opcin desconocida para el comando \"%s\"\n" -#: src/common/command.c:1310 +#: src/common/command.c:1514 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s ya conectado al servidor \"%s\"!\n" -#: src/common/command.c:1318 +#: src/common/command.c:1522 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "%s actualmente conectando al servidor \"%s\"!\n" -#: src/common/command.c:1336 src/common/command.c:1456 +#: src/common/command.c:1540 src/common/command.c:1663 #, c-format msgid "%s server not found\n" msgstr "%s servidor no encontrado\n" -#: src/common/command.c:1411 src/common/command.c:2006 -#: src/common/command.c:3047 src/common/command.c:3090 -#, c-format -msgid "%s unknown option for \"%s\" command\n" -msgstr "%s opcin desconocida para el comando \"%s\"\n" - -#: src/common/command.c:1440 +#: src/common/command.c:1647 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s no conectado al servidor \"%s\"!\n" -#: src/common/command.c:1448 +#: src/common/command.c:1655 msgid "Auto-reconnection is cancelled\n" msgstr "La reconexin automtica est anulada\n" -#: src/common/command.c:1479 src/common/weechat.c:400 +#: src/common/command.c:1689 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "Comandos internos %s :\n" -#: src/common/command.c:1489 src/common/weechat.c:420 +#: src/common/command.c:1699 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "Comandos IRC :\n" -#: src/common/command.c:1503 +#: src/common/command.c:1713 msgid "Plugin commands:\n" msgstr "Comandos de plugin:\n" -#: src/common/command.c:1619 +#: src/common/command.c:1829 #, 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:1678 +#: src/common/command.c:1895 #, 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:1712 +#: src/common/command.c:1929 msgid "List of ignore:\n" msgstr "Lista de ignores:\n" -#: src/common/command.c:1729 +#: src/common/command.c:1946 msgid "No ignore defined.\n" msgstr "Sin ignores definidos.\n" -#: src/common/command.c:1755 +#: src/common/command.c:1972 msgid "New ignore:" msgstr "Nuevo ignore:" -#: src/common/command.c:1775 +#: src/common/command.c:1992 #, c-format msgid "New key binding: %s" msgstr "Nueva anclaje de clave: %s" -#: src/common/command.c:1809 +#: src/common/command.c:2029 msgid "Key bindings:\n" msgstr "Anclajes de clave:\n" -#: src/common/command.c:1823 +#: src/common/command.c:2043 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Clave \"%s\" desatada\n" -#: src/common/command.c:1829 +#: src/common/command.c:2049 #, 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:1837 src/common/weechat.c:452 +#: src/common/command.c:2057 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "Funciones de clave internas:\n" -#: src/common/command.c:1857 +#: src/common/command.c:2077 msgid "Default key bindings restored\n" msgstr "Anclajes de clave por defecto restaurados\n" -#: src/common/command.c:1863 +#: src/common/command.c:2083 #, 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:1919 +#: src/common/command.c:2142 msgid "Plugins loaded:\n" msgstr "Plugins cargados:\n" -#: src/common/command.c:1935 +#: src/common/command.c:2158 msgid " message handlers:\n" msgstr " manejadores de mensaje:\n" -#: src/common/command.c:1944 +#: src/common/command.c:2167 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:1951 +#: src/common/command.c:2174 msgid " (no message handler)\n" msgstr " (sin manejador de mensaje)\n" -#: src/common/command.c:1956 +#: src/common/command.c:2179 msgid " command handlers:\n" msgstr " manejadores de comando:\n" -#: src/common/command.c:1977 +#: src/common/command.c:2200 msgid " (no command handler)\n" msgstr " (sin manejador de comando)\n" -#: src/common/command.c:1983 +#: src/common/command.c:2206 msgid " (no plugin)\n" msgstr " (sin plugins)\n" -#: src/common/command.c:2019 +#: src/common/command.c:2242 msgid "" "Command \"plugin\" is not available, WeeChat was built without plugins " "support.\n" @@ -3219,32 +3250,32 @@ msgstr "" "El comando \"plugin\" no est disponible, Weechat fue compilado sin soporte " "para plugins.\n" -#: src/common/command.c:2067 +#: src/common/command.c:2293 msgid "No server.\n" msgstr "Ningn servidor.\n" -#: src/common/command.c:2078 +#: src/common/command.c:2304 #, c-format msgid "Server '%s' not found.\n" msgstr "Servidor '%s' no encontrado.\n" -#: src/common/command.c:2090 +#: src/common/command.c:2316 #, 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:2098 +#: src/common/command.c:2324 #, 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:2117 +#: src/common/command.c:2343 #, 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:2125 +#: src/common/command.c:2351 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3253,209 +3284,209 @@ 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:2145 +#: src/common/command.c:2371 #, 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:2164 +#: src/common/command.c:2390 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s faltan parmetros para el comando \"%s\"\n" -#: src/common/command.c:2174 +#: src/common/command.c:2400 #, 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:2203 src/common/command.c:2231 -#: src/common/command.c:2244 src/common/command.c:2270 +#: src/common/command.c:2429 src/common/command.c:2457 +#: src/common/command.c:2470 src/common/command.c:2496 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s falta contrasea para el comando \"%s\"\n" -#: src/common/command.c:2216 +#: src/common/command.c:2442 #, 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:2257 +#: src/common/command.c:2483 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s falta comando para el parmetro \"%s\"\n" -#: src/common/command.c:2292 +#: src/common/command.c:2519 #, c-format msgid "Server %s%s%s created\n" msgstr "Servidor %s%s%s creado\n" -#: src/common/command.c:2301 +#: src/common/command.c:2528 #, c-format msgid "%s unable to create server\n" msgstr "%s no es posible crear el servidor\n" -#: src/common/command.c:2360 +#: src/common/command.c:2587 msgid "(unknown)" msgstr "(desconocido)" -#: src/common/command.c:2383 +#: src/common/command.c:2610 #, c-format msgid "%s(password hidden) " msgstr "%s(contrasea oculta) " -#: src/common/command.c:2473 +#: src/common/command.c:2706 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s servidor \"%s\" no encontrado\n" -#: src/common/command.c:2506 src/common/command.c:2554 +#: src/common/command.c:2739 src/common/command.c:2787 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s opcin de configuracin \"%s\" no encontrada\n" -#: src/common/command.c:2511 src/common/command.c:2546 +#: src/common/command.c:2744 src/common/command.c:2779 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s valor incorrecto para la opcin \"%s\"\n" -#: src/common/command.c:2527 +#: src/common/command.c:2760 #, 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:2637 +#: src/common/command.c:2870 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Ninguna opcin de configuracin encontrada con \"%s\"\n" -#: src/common/command.c:2640 +#: src/common/command.c:2873 msgid "No config option found\n" msgstr "Ninguna opcin de configuracin encontrada\n" -#: src/common/command.c:2647 +#: src/common/command.c:2880 #, c-format msgid "%sDetail:\n" msgstr "%sDetalle:\n" -#: src/common/command.c:2652 src/common/weechat.c:336 +#: src/common/command.c:2885 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:2653 src/common/command.c:2676 -#: src/common/command.c:2682 src/common/command.c:2688 +#: src/common/command.c:2886 src/common/command.c:2909 +#: src/common/command.c:2915 src/common/command.c:2921 #: 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:2658 src/common/weechat.c:342 +#: src/common/command.c:2891 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:2661 src/common/weechat.c:345 +#: src/common/command.c:2894 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr " . valor por defecto: %d\n" -#: src/common/command.c:2665 src/common/weechat.c:349 +#: src/common/command.c:2898 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr " . tipo cadena (valores: " -#: src/common/command.c:2678 src/common/command.c:2684 -#: src/common/command.c:2690 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2911 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "vaco" -#: src/common/command.c:2681 src/common/weechat.c:365 +#: src/common/command.c:2914 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:2687 src/common/weechat.c:371 +#: src/common/command.c:2920 src/common/weechat.c:371 #, c-format msgid " . type string (any string)\n" msgstr " . tipo cadena (cualquier cadena)\n" -#: src/common/command.c:2693 src/common/weechat.c:377 +#: src/common/command.c:2926 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr " . descripcin: %s\n" -#: src/common/command.c:2704 +#: src/common/command.c:2937 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "opcin/opciones de configuracin encontrada(s) con \"%s\"\n" -#: src/common/command.c:2707 +#: src/common/command.c:2940 msgid "config option(s) found\n" msgstr "opcin/opciones de configuracin encontrada(s)\n" -#: src/common/command.c:2728 +#: src/common/command.c:2964 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias o comando \"%s\" no encontrado\n" -#: src/common/command.c:2738 +#: src/common/command.c:2974 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" eliminado\n" -#: src/common/command.c:2794 +#: src/common/command.c:3030 msgid "ignore were removed.\n" msgstr "los ignores fueron eliminados.\n" -#: src/common/command.c:2796 +#: src/common/command.c:3032 msgid "ignore was removed.\n" msgstr "el ignore fue eliminado.\n" -#: src/common/command.c:2801 +#: src/common/command.c:3037 #, c-format msgid "%s no ignore found\n" msgstr "%s no se encontraron ignores\n" -#: src/common/command.c:2832 +#: src/common/command.c:3069 #, c-format msgid "%s can't upgrade: connection to at least one server is pending" msgstr "" -#: src/common/command.c:2848 +#: src/common/command.c:3084 msgid "Upgrading WeeChat...\n" msgstr "" -#: src/common/command.c:2856 +#: src/common/command.c:3091 #, c-format msgid "%s unable to save session in file\n" msgstr "" -#: src/common/command.c:2878 +#: src/common/command.c:3120 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:2914 +#: src/common/command.c:3156 #, 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:2931 +#: src/common/command.c:3170 #, 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:2971 +#: src/common/command.c:3210 msgid "Opened windows:\n" msgstr "Ventanas abiertas:\n" -#: src/common/command.c:3058 +#: src/common/command.c:3297 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3494,12 +3525,12 @@ msgstr "%s servidor \"%s\" no encontrado (datos de la tubera FIFO)\n" msgid "%s channel \"%s\" not found (FIFO pipe data)\n" msgstr "%s canal \"%s\" no encontrado (datos de la tubera FIFO)\n" -#: src/common/fifo.c:251 src/common/fifo.c:253 +#: src/common/fifo.c:252 src/common/fifo.c:254 #, c-format msgid "%s error reading FIFO pipe, closing it\n" msgstr "%s error al leer la tubera FIFO, cerrndola\n" -#: src/common/fifo.c:295 +#: src/common/fifo.c:296 msgid "FIFO pipe is closed\n" msgstr "La tubera FIFO est cerrada\n" @@ -3525,13 +3556,13 @@ msgstr "**** Comienzo del log (registro) " msgid "**** End of log " msgstr "**** Fin del log " -#: src/common/session.c:432 +#: src/common/session.c:435 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" msgstr "" -#: src/common/session.c:437 +#: src/common/session.c:440 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3539,275 +3570,275 @@ msgid "" "Be careful, private info may be in these files.\n" msgstr "" -#: src/common/session.c:461 src/common/session.c:495 src/common/session.c:552 +#: src/common/session.c:464 src/common/session.c:498 src/common/session.c:555 #, c-format msgid "wrong type in file (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:564 +#: src/common/session.c:567 msgid "invalid length for a buffer" msgstr "" -#: src/common/session.c:589 +#: src/common/session.c:592 msgid "object read error" msgstr "" -#: src/common/session.c:594 +#: src/common/session.c:597 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:604 +#: src/common/session.c:607 msgid "type read error" msgstr "" -#: src/common/session.c:609 +#: src/common/session.c:612 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:688 +#: src/common/session.c:691 msgid "server name not found" msgstr "" -#: src/common/session.c:693 +#: src/common/session.c:696 #, c-format msgid "session: loading server \"%s\"\n" msgstr "" -#: src/common/session.c:697 +#: src/common/session.c:700 msgid "server found, updating values\n" msgstr "" -#: src/common/session.c:700 +#: src/common/session.c:703 msgid "server not found, creating new one\n" msgstr "" -#: src/common/session.c:705 +#: src/common/session.c:708 msgid "can't create new server" msgstr "" -#: src/common/session.c:719 +#: src/common/session.c:722 msgid "unexpected end of file (reading server)" msgstr "" -#: src/common/session.c:836 +#: src/common/session.c:848 #, c-format msgid "session: warning: ignoring value from server (object id: %d)\n" msgstr "" -#: src/common/session.c:858 +#: src/common/session.c:870 msgid "channel found without server" msgstr "" -#: src/common/session.c:865 +#: src/common/session.c:877 msgid "channel type not found" msgstr "" -#: src/common/session.c:873 +#: src/common/session.c:885 msgid "channel name not found" msgstr "" -#: src/common/session.c:878 +#: src/common/session.c:890 #, c-format msgid "session: loading channel \"%s\"\n" msgstr "" -#: src/common/session.c:886 +#: src/common/session.c:898 msgid "can't create new channel" msgstr "" -#: src/common/session.c:896 +#: src/common/session.c:908 msgid "unexpected end of file (reading channel)" msgstr "" -#: src/common/session.c:924 +#: src/common/session.c:936 #, c-format msgid "session: warning: ignoring value from channel (object id: %d)\n" msgstr "" -#: src/common/session.c:947 +#: src/common/session.c:959 msgid "nick found without channel" msgstr "" -#: src/common/session.c:955 +#: src/common/session.c:967 msgid "nick name not found" msgstr "" -#: src/common/session.c:965 +#: src/common/session.c:977 msgid "can't create new nick" msgstr "" -#: src/common/session.c:975 +#: src/common/session.c:987 msgid "unexpected end of file (reading nick)" msgstr "" -#: src/common/session.c:991 +#: src/common/session.c:1003 #, c-format msgid "session: warning: ignoring value from nick (object id: %d)\n" msgstr "" -#: src/common/session.c:1017 +#: src/common/session.c:1029 msgid "can't create new DCC" msgstr "" -#: src/common/session.c:1021 +#: src/common/session.c:1033 msgid "session: loading DCC\n" msgstr "" -#: src/common/session.c:1031 +#: src/common/session.c:1043 msgid "unexpected end of file (reading DCC)" msgstr "" -#: src/common/session.c:1050 +#: src/common/session.c:1062 msgid "server not found for DCC" msgstr "" -#: src/common/session.c:1059 +#: src/common/session.c:1071 msgid "DCC with channel but without server" msgstr "" -#: src/common/session.c:1071 +#: src/common/session.c:1083 msgid "channel not found for DCC" msgstr "" -#: src/common/session.c:1145 +#: src/common/session.c:1157 #, c-format msgid "session: warning: ignoring value from DCC (object id: %d)\n" msgstr "" -#: src/common/session.c:1165 +#: src/common/session.c:1177 msgid "session: loading buffer history\n" msgstr "" -#: src/common/session.c:1167 +#: src/common/session.c:1179 msgid "session: loading global history\n" msgstr "" -#: src/common/session.c:1175 +#: src/common/session.c:1187 msgid "unexpected end of file (reading history)" msgstr "" -#: src/common/session.c:1195 +#: src/common/session.c:1207 #, c-format msgid "session: warning: ignoring value from history (object id: %d)\n" msgstr "" -#: src/common/session.c:1221 +#: src/common/session.c:1233 msgid "server name not found for buffer" msgstr "" -#: src/common/session.c:1229 +#: src/common/session.c:1241 msgid "channel name not found for buffer" msgstr "" -#: src/common/session.c:1236 +#: src/common/session.c:1248 msgid "dcc flag not found for buffer" msgstr "" -#: src/common/session.c:1241 +#: src/common/session.c:1253 #, c-format msgid "session: loading buffer (server: %s, channel: %s, dcc: %d)\n" msgstr "" -#: src/common/session.c:1252 +#: src/common/session.c:1264 msgid "server not found for buffer" msgstr "" -#: src/common/session.c:1262 +#: src/common/session.c:1274 msgid "channel not found for buffer" msgstr "" -#: src/common/session.c:1270 +#: src/common/session.c:1282 msgid "can't create new buffer" msgstr "" -#: src/common/session.c:1283 +#: src/common/session.c:1295 msgid "unexpected end of file (reading buffer)" msgstr "" -#: src/common/session.c:1293 +#: src/common/session.c:1305 #, c-format msgid "session: warning: ignoring value from buffer (object id: %d)\n" msgstr "" -#: src/common/session.c:1315 +#: src/common/session.c:1327 msgid "line found without buffer" msgstr "" -#: src/common/session.c:1323 +#: src/common/session.c:1335 msgid "can't create new line" msgstr "" -#: src/common/session.c:1333 +#: src/common/session.c:1345 msgid "unexpected end of file (reading line)" msgstr "" -#: src/common/session.c:1364 +#: src/common/session.c:1376 #, c-format msgid "session: warning: ignoring value from line (object id: %d)\n" msgstr "" -#: src/common/session.c:1394 +#: src/common/session.c:1406 msgid "session file not found" msgstr "" -#: src/common/session.c:1401 +#: src/common/session.c:1413 msgid "signature not found" msgstr "" -#: src/common/session.c:1406 +#: src/common/session.c:1418 msgid "bad session signature" msgstr "" -#: src/common/session.c:1417 +#: src/common/session.c:1429 msgid "object id not found" msgstr "" -#: src/common/session.c:1425 +#: src/common/session.c:1437 msgid "failed to load server" msgstr "" -#: src/common/session.c:1432 +#: src/common/session.c:1444 msgid "failed to load channel" msgstr "" -#: src/common/session.c:1439 +#: src/common/session.c:1451 msgid "failed to load nick" msgstr "" -#: src/common/session.c:1446 +#: src/common/session.c:1458 msgid "failed to load DCC" msgstr "" -#: src/common/session.c:1453 +#: src/common/session.c:1465 msgid "failed to load history" msgstr "" -#: src/common/session.c:1460 +#: src/common/session.c:1472 msgid "failed to load buffer" msgstr "" -#: src/common/session.c:1467 +#: src/common/session.c:1479 msgid "failed to load line" msgstr "" -#: src/common/session.c:1472 +#: src/common/session.c:1484 #, c-format msgid "ignoring object (id: %d)\n" msgstr "" -#: src/common/session.c:1476 +#: src/common/session.c:1488 #, c-format msgid "failed to ignore object (id: %d)" msgstr "" -#: src/common/session.c:1499 +#: src/common/session.c:1512 #, c-format msgid "%s can't delete session file (%s)\n" msgstr "" -#: src/common/session.c:1505 +#: src/common/session.c:1518 msgid "Upgrade completed successfully\n" msgstr "" @@ -3882,52 +3913,52 @@ msgstr "" msgid "%s invalid syntax for IRC server ('%s'), ignored\n" msgstr "%s sintaxis invlida para el servidor IRC ('%s'), ignorado\n" -#: src/common/weechat.c:588 +#: src/common/weechat.c:589 #, c-format msgid "%s unable to create server ('%s'), ignored\n" msgstr "%s no es posible crear el servidor ('%s'), ignorado\n" -#: src/common/weechat.c:597 +#: src/common/weechat.c:598 #, c-format msgid "%s unknown parameter '%s', ignored\n" msgstr "%s parmetro desconocido '%s', ignorado\n" -#: src/common/weechat.c:617 +#: src/common/weechat.c:618 #, c-format msgid "%s cannot create directory \"%s\"\n" msgstr "%s no es posible crear el directorio \"%s\"\n" -#: src/common/weechat.c:638 +#: src/common/weechat.c:639 #, c-format msgid "%s unable to get HOME directory\n" msgstr "%s no ha sido posible leer el directorio HOME\n" -#: src/common/weechat.c:647 +#: src/common/weechat.c:648 #, c-format msgid "%s not enough memory for home directory\n" msgstr "%s no hay suficiente memoria para el directorio home\n" -#: src/common/weechat.c:657 +#: src/common/weechat.c:658 #, c-format msgid "%s unable to create ~/.weechat directory\n" msgstr "%s no es posible crear el directorio ~/.weechat\n" -#: src/common/weechat.c:670 +#: src/common/weechat.c:671 #, c-format msgid "%s unable to create ~/.weechat/logs directory\n" msgstr "%s no es posible crear el directorio ~/.weechat/logs\n" -#: src/common/weechat.c:716 +#: src/common/weechat.c:717 #, c-format msgid "%s unable to create/append to log file (~/.weechat/%s)" msgstr "%s no es posible crear/aadir en el fichero de log (~/.weechat/%s)" -#: src/common/weechat.c:767 +#: src/common/weechat.c:768 #, c-format msgid "%sWelcome to %s%s%s, %s\n" msgstr "%sBienvenido a %s%s%s, %s\n" -#: src/common/weechat.c:781 src/common/weechat.c:791 +#: src/common/weechat.c:782 src/common/weechat.c:792 msgid "compiled on" msgstr "compilado en" @@ -5004,62 +5035,92 @@ msgstr "" "lista separada por comas de niveles de notificacin para canales de este " "servidor (formato: #canal:1,...)" -#: src/common/weeconfig.c:1510 +#: src/common/weeconfig.c:940 +msgid "charset for decoding ISO on server and channels" +msgstr "" + +#: src/common/weeconfig.c:941 +msgid "" +"comma separated list of charsets for server and channels, to decode ISO " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:945 +msgid "charset for decoding UTF on server and channels" +msgstr "" + +#: src/common/weeconfig.c:946 +msgid "" +"comma separated list of charsets for server and channels, to decode UTF " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:950 +msgid "charset for encoding messages on server and channels" +msgstr "" + +#: src/common/weeconfig.c:951 +msgid "" +"comma separated list of charsets for server and channels, to encode messages " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:1643 #, c-format msgid "%s %s, line %d: new server, but previous was incomplete\n" msgstr "%s %s, lnea %d: nuevo servidor, pero el anterior estaba incompleto\n" -#: src/common/weeconfig.c:1519 +#: src/common/weeconfig.c:1652 #, c-format msgid "%s %s, line %d: server '%s' already exists\n" msgstr "%s %s, lnea %d: el servidor '%s' ya existe\n" -#: src/common/weeconfig.c:1534 +#: src/common/weeconfig.c:1669 #, c-format msgid "%s %s, line %d: unable to create server\n" msgstr "%s %s, lnea %d: no es posible crear el servidor\n" -#: src/common/weeconfig.c:1574 +#: src/common/weeconfig.c:1709 #, c-format msgid "%s unable to assign default int with string (\"%s\")\n" msgstr "%s no es posible asignar el valor entero con la cadena (\"%s\")\n" -#: src/common/weeconfig.c:1585 +#: src/common/weeconfig.c:1720 #, c-format msgid "%s unable to assign default color (\"%s\")\n" msgstr "%s no es posible asignar el color por defecto (\"%s\")\n" -#: src/common/weeconfig.c:1623 +#: src/common/weeconfig.c:1758 #, c-format msgid "%s config file \"%s\" not found.\n" msgstr "%s fichero de configuracin \"%s\" no encontrado.\n" -#: src/common/weeconfig.c:1655 +#: src/common/weeconfig.c:1790 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"]\"\n" msgstr "%s %s, lnea %d: sintaxis invlida, falta \"]\"\n" -#: src/common/weeconfig.c:1672 +#: src/common/weeconfig.c:1807 #, c-format msgid "%s %s, line %d: unknown section identifier (\"%s\")\n" msgstr "%s %s, lnea %d: identificador de seccin desconocido (\"%s\")\n" -#: src/common/weeconfig.c:1690 +#: src/common/weeconfig.c:1825 #, c-format msgid "%s %s, line %d: invalid section for option, line is ignored\n" msgstr "%s %s, lnea %d: seccin invlida para la opcin, lnea ignorada\n" -#: src/common/weeconfig.c:1772 src/common/weeconfig.c:1798 +#: src/common/weeconfig.c:1907 src/common/weeconfig.c:1933 #, c-format msgid "%s %s, line %d: invalid option \"%s\"\n" msgstr "%s %s, lnea %d: opcin \"%s\" invlida\n" -#: src/common/weeconfig.c:1778 +#: src/common/weeconfig.c:1913 #, c-format msgid "%s %s, line %d: invalid ignore options \"%s\"\n" msgstr "%s %s, lnea %d: opciones de ignore invlidas \"%s\"\n" -#: src/common/weeconfig.c:1809 +#: src/common/weeconfig.c:1944 #, c-format msgid "" "%s %s, line %d: invalid value foroption '%s'\n" @@ -5068,7 +5129,7 @@ msgstr "" "%s %s, lnea %d: valor invlido para la opcin '%s'\n" "Esperado: valor booleano: 'off' u 'on'\n" -#: src/common/weeconfig.c:1818 +#: src/common/weeconfig.c:1953 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" @@ -5077,7 +5138,7 @@ msgstr "" "%s %s, lnea %d: valor invlido para la opcin %s'\n" "Esperado: entero comprendido entre %d y %d\n" -#: src/common/weeconfig.c:1829 +#: src/common/weeconfig.c:1964 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" @@ -5086,21 +5147,21 @@ msgstr "" "%s %s, lnea %d: valor invlido para la opcin '%s'\n" "Esperado: una de estas cadenas: " -#: src/common/weeconfig.c:1845 +#: src/common/weeconfig.c:1980 #, c-format msgid "%s %s, line %d: invalid color name for option '%s'\n" msgstr "%s %s, lnea %d: nombre de color invlido para la opcin '%s'\n" -#: src/common/weeconfig.c:1914 +#: src/common/weeconfig.c:2049 #, c-format msgid "%s: creating default config file...\n" msgstr "%s: creando fichero de configuracin por defecto...\n" -#: src/common/weeconfig.c:1915 +#: src/common/weeconfig.c:2050 msgid "Creating default config file\n" msgstr "Creando fichero de configuracin por defecto\n" -#: src/common/weeconfig.c:1918 src/common/weeconfig.c:2119 +#: src/common/weeconfig.c:2053 src/common/weeconfig.c:2258 #, c-format msgid "" "#\n" @@ -5109,7 +5170,7 @@ msgstr "" "#\n" "# %s: fichero de configuracin, creado por %s v%s el %s" -#: src/common/weeconfig.c:1922 src/common/weeconfig.c:2123 +#: src/common/weeconfig.c:2057 src/common/weeconfig.c:2262 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -5120,6 +5181,6 @@ msgstr "" "fichero al salir.\n" "#\n" -#: src/common/weeconfig.c:2116 +#: src/common/weeconfig.c:2255 msgid "Saving config to disk\n" msgstr "Guardar configuracin a disco\n" @@ -7,96 +7,96 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.7-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-12-06 18:33+0100\n" -"PO-Revision-Date: 2005-12-06 18:34+0100\n" +"POT-Creation-Date: 2005-12-11 01:50+0100\n" +"PO-Revision-Date: 2005-12-10 22:58+0100\n" "Last-Translator: FlashCode <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" -#: src/irc/irc-server.c:179 src/common/weeconfig.c:2054 +#: src/irc/irc-server.c:182 src/common/weeconfig.c:2189 msgid "Unable to get user's name" msgstr "Impossible de dterminer le nom d'utilisateur" -#: src/irc/irc-server.c:247 +#: src/irc/irc-server.c:250 #, c-format msgid "%s cannot allocate new server\n" msgstr "%s impossible d'allouer un nouveau serveur\n" -#: src/irc/irc-server.c:464 +#: src/irc/irc-server.c:563 #, c-format msgid "%s error sending data to IRC server\n" msgstr "%s erreur d'envoi de donnes au serveur IRC\n" -#: src/irc/irc-server.c:487 src/irc/irc-server.c:500 src/irc/irc-server.c:547 -#: src/irc/irc-server.c:560 +#: src/irc/irc-server.c:585 src/irc/irc-server.c:598 src/irc/irc-server.c:645 +#: src/irc/irc-server.c:658 #, c-format msgid "%s not enough memory for received IRC message\n" msgstr "%s mmoire insuffisante pour un message IRC reu\n" -#: src/irc/irc-server.c:672 +#: src/irc/irc-server.c:770 #, c-format msgid "%s Command \"%s\" failed!\n" msgstr "%s La commande \"%s\" a chou !\n" -#: src/irc/irc-server.c:678 +#: src/irc/irc-server.c:776 #, c-format msgid "%s No command to execute!\n" msgstr "%s Pas de commande excuter !\n" -#: src/irc/irc-server.c:684 +#: src/irc/irc-server.c:782 #, c-format msgid "%s Unknown command: cmd=\"%s\", host=\"%s\", args=\"%s\"\n" msgstr "%s Commande inconnue: cmd=\"%s\", hote=\"%s\", params=\"%s\"\n" -#: src/irc/irc-server.c:735 +#: src/irc/irc-server.c:833 #, c-format msgid "%s cannot read data from socket, disconnecting from server...\n" msgstr "" "%s impossible de lire des donnes sur la socket, dconnexion du serveur...\n" -#: src/irc/irc-server.c:816 +#: src/irc/irc-server.c:914 #, c-format msgid "%s: Reconnecting to server in %d seconds\n" msgstr "%s: Reconnexion au serveur dans %d secondes\n" -#: src/irc/irc-server.c:850 +#: src/irc/irc-server.c:948 #, c-format msgid "%s gnutls handshake failed\n" msgstr "%s le handshake gnutls a chou\n" -#: src/irc/irc-server.c:867 +#: src/irc/irc-server.c:965 #, c-format msgid "%s proxy address \"%s\" not found\n" msgstr "%s adresse du proxy \"%s\" introuvable\n" -#: src/irc/irc-server.c:871 +#: src/irc/irc-server.c:969 #, c-format msgid "%s address \"%s\" not found\n" msgstr "%s adresse \"%s\" introuvable\n" -#: src/irc/irc-server.c:881 +#: src/irc/irc-server.c:979 #, c-format msgid "%s proxy IP address not found\n" msgstr "%s adresse IP du proxy introuvable\n" -#: src/irc/irc-server.c:884 +#: src/irc/irc-server.c:982 #, c-format msgid "%s IP address not found\n" msgstr "%s adresse IP introuvable\n" -#: src/irc/irc-server.c:893 +#: src/irc/irc-server.c:991 #, c-format msgid "%s proxy connection refused\n" msgstr "%s connexion au proxy refuse\n" -#: src/irc/irc-server.c:896 +#: src/irc/irc-server.c:994 #, c-format msgid "%s connection refused\n" msgstr "%s connexion refuse\n" -#: src/irc/irc-server.c:904 +#: src/irc/irc-server.c:1002 #, c-format msgid "" "%s proxy fails to establish connection to server (check username/password if " @@ -105,7 +105,7 @@ msgstr "" "%s le proxy n'a pas pu se connecter au serveur (vrifiez l'utilisateur/mot " "de passe si utiliss)\n" -#: src/irc/irc-server.c:1383 +#: src/irc/irc-server.c:1481 #, c-format msgid "" "%s cannot connect with SSL since WeeChat was not built with GNUtls support\n" @@ -113,61 +113,61 @@ msgstr "" "%s impossible de se connecter en SSL car WeeChat n'a pas t construit avec " "le support GNUtls\n" -#: src/irc/irc-server.c:1392 +#: src/irc/irc-server.c:1490 #, c-format msgid "%s: connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "%s: connexion au serveur %s:%d%s%s via le proxy %s %s:%d%s...\n" -#: src/irc/irc-server.c:1398 +#: src/irc/irc-server.c:1496 #, c-format msgid "Connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "Connexion au serveur %s:%d%s%s via le proxy %s %s:%d%s...\n" -#: src/irc/irc-server.c:1408 +#: src/irc/irc-server.c:1506 #, c-format msgid "%s: connecting to server %s:%d%s%s...\n" msgstr "%s: connexion au serveur %s:%d%s%s...\n" -#: src/irc/irc-server.c:1412 +#: src/irc/irc-server.c:1510 #, c-format msgid "Connecting to server %s:%d%s%s...\n" msgstr "Connexion au serveur %s:%d%s%s...\n" -#: src/irc/irc-server.c:1430 +#: src/irc/irc-server.c:1528 #, c-format msgid "%s gnutls init error\n" msgstr "%s erreur d'initialisation gnutls\n" -#: src/irc/irc-server.c:1445 +#: src/irc/irc-server.c:1543 #, c-format msgid "%s cannot create pipe\n" msgstr "%s impossible de crer le pipe\n" -#: src/irc/irc-server.c:1460 +#: src/irc/irc-server.c:1558 #, c-format msgid "%s cannot create socket\n" msgstr "%s impossible de crer la socket\n" -#: src/irc/irc-server.c:1471 +#: src/irc/irc-server.c:1569 #, c-format msgid "%s cannot set socket option \"SO_REUSEADDR\"\n" msgstr "%s impossible de paramtrer l'option socket \"SO_REUSEADDR\"\n" -#: src/irc/irc-server.c:1482 +#: src/irc/irc-server.c:1580 #, c-format msgid "%s cannot set socket option \"SO_KEEPALIVE\"\n" msgstr "%s impossible de paramtrer l'option socket \"SO_KEEPALIVE\"\n" -#: src/irc/irc-server.c:1513 +#: src/irc/irc-server.c:1611 #, c-format msgid "%s: Reconnecting to server...\n" msgstr "%s: Reconnexion au serveur...\n" -#: src/irc/irc-server.c:1563 src/irc/irc-server.c:1572 +#: src/irc/irc-server.c:1661 src/irc/irc-server.c:1670 msgid "Disconnected from server!\n" msgstr "Dconnect du serveur !\n" -#: src/irc/irc-channel.c:51 +#: src/irc/irc-channel.c:53 #, c-format msgid "%s cannot allocate new channel" msgstr "%s impossible d'allouer un nouveau canal" @@ -1384,7 +1384,7 @@ msgstr "dsactiv" msgid " (temporary server, will not be saved)" msgstr " (serveur temporaire, ne sera pas sauv)" -#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3173 +#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3175 msgid "seconds" msgstr "secondes" @@ -1392,7 +1392,7 @@ msgstr "secondes" msgid "(hidden)" msgstr "(cach)" -#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4699 +#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4701 msgid "unknown" msgstr "inconnu" @@ -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:800 +#: src/irc/irc-send.c:177 src/common/command.c:808 #, 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:1392 src/common/command.c:1877 -#: src/common/command.c:2013 +#: src/common/command.c:1599 src/common/command.c:2097 +#: src/common/command.c:2236 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s nombre de paramtres erron pour la commande \"%s\"\n" @@ -1459,8 +1459,8 @@ msgid "You have been invited to %s%s%s by %s%s\n" msgstr "Vous avez t invit sur %s%s%s par %s%s\n" #: src/irc/irc-recv.c:376 src/irc/irc-recv.c:470 src/irc/irc-recv.c:1009 -#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3545 -#: src/irc/irc-recv.c:3566 src/irc/irc-recv.c:3626 src/irc/irc-recv.c:3697 +#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3547 +#: src/irc/irc-recv.c:3568 src/irc/irc-recv.c:3628 src/irc/irc-recv.c:3699 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "%s canal \"%s\" non trouv pour la commande \"%s\"\n" @@ -1651,7 +1651,7 @@ msgstr "CTCP %sVERSION%s rponse de %s%s%s: %s\n" msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "CTCP %sPING%s rponse de %s%s%s: %ld.%ld secondes\n" -#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1214 +#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1217 #, c-format msgid "Private %s> %s" msgstr "Priv %s> %s" @@ -1700,12 +1700,12 @@ msgstr "CTCP %sVERSION%s reu de %s%s" #: src/irc/irc-recv.c:1812 src/irc/irc-recv.c:1838 src/irc/irc-recv.c:1859 #: src/irc/irc-recv.c:1875 src/irc/irc-recv.c:1900 src/irc/irc-recv.c:1921 #: src/irc/irc-recv.c:1937 src/irc/irc-recv.c:1962 src/irc/irc-recv.c:1983 -#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2522 -#: src/irc/irc-recv.c:3904 src/irc/irc-recv.c:3919 src/irc/irc-recv.c:3934 -#: src/irc/irc-recv.c:3949 src/irc/irc-recv.c:3962 src/irc/irc-recv.c:4027 -#: src/irc/irc-recv.c:4041 src/irc/irc-recv.c:4275 src/irc/irc-recv.c:4333 -#: src/irc/irc-recv.c:4471 src/irc/irc-recv.c:4486 src/irc/irc-recv.c:4592 -#: src/irc/irc-recv.c:4606 +#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2524 +#: src/irc/irc-recv.c:3906 src/irc/irc-recv.c:3921 src/irc/irc-recv.c:3936 +#: src/irc/irc-recv.c:3951 src/irc/irc-recv.c:3964 src/irc/irc-recv.c:4029 +#: src/irc/irc-recv.c:4043 src/irc/irc-recv.c:4277 src/irc/irc-recv.c:4335 +#: src/irc/irc-recv.c:4473 src/irc/irc-recv.c:4488 src/irc/irc-recv.c:4594 +#: src/irc/irc-recv.c:4608 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "%s impossible d'analyser la commande \"%s\"\n" @@ -1717,200 +1717,200 @@ msgstr "%s type de DCC CHAT inconnu reu de " #: src/irc/irc-recv.c:2228 #, c-format -msgid "%s%s %s(%s%s%s)%s has quit %s(%s%s%s)\n" -msgstr "%s%s %s(%s%s%s)%s a quitt %s(%s%s%s)\n" +msgid "%s%s %s(%s%s%s)%s has quit" +msgstr "%s%s %s(%s%s%s)%s a quitt" -#: src/irc/irc-recv.c:2358 +#: src/irc/irc-recv.c:2360 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "%s commande \"%s\" reue sans canal\n" -#: src/irc/irc-recv.c:2387 +#: src/irc/irc-recv.c:2389 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "%s%s%s a chang le titre pour %s%s%s en:" -#: src/irc/irc-recv.c:2398 +#: src/irc/irc-recv.c:2400 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "%s%s%s a retir le titre pour %s%s\n" -#: src/irc/irc-recv.c:2508 +#: src/irc/irc-recv.c:2510 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "Mode utilisateur %s[%s%s%s/%s%s%s]\n" -#: src/irc/irc-recv.c:2563 +#: src/irc/irc-recv.c:2565 #, c-format msgid "%s%s%s is away: %s\n" msgstr "%s%s%s est absent: %s\n" -#: src/irc/irc-recv.c:2648 +#: src/irc/irc-recv.c:2650 msgid "Users online: " msgstr "Utilisateurs en ligne: " -#: src/irc/irc-recv.c:3024 +#: src/irc/irc-recv.c:3026 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "%s%s %s(%s%s@%s%s)%s tait %s\n" -#: src/irc/irc-recv.c:3145 +#: src/irc/irc-recv.c:3147 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s inactivit: " -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "days" msgstr "jours" -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "day" msgstr "jour" -#: src/irc/irc-recv.c:3161 +#: src/irc/irc-recv.c:3163 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, sign le: %s%s" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hours" msgstr "heures" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hour" msgstr "heure" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minutes" msgstr "minutes" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minute" msgstr "minute" -#: src/irc/irc-recv.c:3173 +#: src/irc/irc-recv.c:3175 msgid "second" msgstr "seconde" -#: src/irc/irc-recv.c:3557 +#: src/irc/irc-recv.c:3559 #, c-format msgid "No topic set for %s%s\n" msgstr "Pas de titre dfini pour %s%s\n" -#: src/irc/irc-recv.c:3613 +#: src/irc/irc-recv.c:3615 #, c-format msgid "Topic for %s%s%s is: \"%s\"\n" msgstr "Le titre pour %s%s%s est: \"%s\"\n" -#: src/irc/irc-recv.c:3636 src/irc/irc-recv.c:3724 src/irc/irc-recv.c:3779 +#: src/irc/irc-recv.c:3638 src/irc/irc-recv.c:3726 src/irc/irc-recv.c:3781 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "%s impossible de dterminer le canal pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:3686 +#: src/irc/irc-recv.c:3688 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "Titre dfini par %s%s%s, %s" -#: src/irc/irc-recv.c:3706 +#: src/irc/irc-recv.c:3708 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "%s impossible d'identifier la date/heure pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:3715 src/irc/irc-recv.c:3788 +#: src/irc/irc-recv.c:3717 src/irc/irc-recv.c:3790 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "" "%s impossible de dterminer le nom d'utilisateur pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:3764 +#: src/irc/irc-recv.c:3766 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "%s%s%s a invit %s%s%s sur %s%s\n" -#: src/irc/irc-recv.c:3824 +#: src/irc/irc-recv.c:3826 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "Reop canal %s%s%s: %s%s\n" -#: src/irc/irc-recv.c:4321 +#: src/irc/irc-recv.c:4323 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "%s impossible de crer l'utilisateur \"%s\" pour le canal \"%s\"\n" -#: src/irc/irc-recv.c:4379 +#: src/irc/irc-recv.c:4381 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "Utilisateurs %s%s%s: %s[" -#: src/irc/irc-recv.c:4400 +#: src/irc/irc-recv.c:4402 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" "Canal %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nicks" msgstr "utilisateurs" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nick" msgstr "utilisateur" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "ops" msgstr "ops" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "op" msgstr "op" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfops" msgstr "halfops" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfop" msgstr "halfop" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voices" msgstr "voices" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voice" msgstr "voice" -#: src/irc/irc-recv.c:4425 +#: src/irc/irc-recv.c:4427 msgid "normal" msgstr "normal" -#: src/irc/irc-recv.c:4526 +#: src/irc/irc-recv.c:4528 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "%s[%s%s%s] %s%s%s banni par " -#: src/irc/irc-recv.c:4561 +#: src/irc/irc-recv.c:4563 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "%s[%s%s%s] %s%s%s banni\n" -#: src/irc/irc-recv.c:4653 +#: src/irc/irc-recv.c:4655 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" "%s: l'utilisateur \"%s\" est dj en cours d'utilisation, essai avec le 2nd " "nom d'utilisateur \"%s\"\n" -#: src/irc/irc-recv.c:4665 +#: src/irc/irc-recv.c:4667 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" "%s: l'utilisateur \"%s\" est dj en cours d'utilisation, essai avec le 3me " "nom d'utilisateur \"%s\"\n" -#: src/irc/irc-recv.c:4677 +#: src/irc/irc-recv.c:4679 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " @@ -1919,7 +1919,7 @@ msgstr "" "%s: tous les noms d'utilisateurs dclars sont dj en cours d'utilisation, " "fermeture de la connexion avec le serveur !\n" -#: src/irc/irc-recv.c:4687 +#: src/irc/irc-recv.c:4689 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -2081,12 +2081,12 @@ msgstr "%s impossible de trouver un port disponible pour le DCC\n" msgid "%s cannot send DCC\n" msgstr "%s impossible d'envoyer le DCC\n" -#: src/irc/irc-dcc.c:1132 +#: src/irc/irc-dcc.c:1131 #, c-format msgid "%s error sending data to \"%s\" via DCC CHAT\n" msgstr "%s erreur d'envoi de donnes \"%s\" via DCC CHAT\n" -#: src/irc/irc-dcc.c:1411 +#: src/irc/irc-dcc.c:1416 #, c-format msgid "" "%s DCC failed because blocksize is too big. Check value of \"dcc_blocksize\" " @@ -2095,7 +2095,7 @@ msgstr "" "%s le DCC a chou car la taille de bloc est trop grande. Vrifiez la valeur " "de l'option \"dcc_blocksize\", le maximum est %d.\n" -#: src/irc/irc-dcc.c:1486 +#: src/irc/irc-dcc.c:1491 #, c-format msgid "Aborting active DCC: \"%s\" from %s\n" msgstr "Abandon du DCC actif: \"%s\" de %s\n" @@ -2231,13 +2231,13 @@ msgstr "Extension \"%s\" dcharge.\n" msgid "%s plugin \"%s\" not found\n" msgstr "%s extension \"%s\" non trouve\n" -#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1698 +#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1833 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "%s %s, ligne %d: syntaxe invalide, il manque \"=\"\n" -#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:1908 -#: src/common/weeconfig.c:2110 +#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:2043 +#: src/common/weeconfig.c:2249 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "%s impossible de crer le fichier \"%s\"\n" @@ -2272,68 +2272,68 @@ msgstr "Jour chang: %s\n" msgid "%s lag is high, disconnecting from server...\n" msgstr "%s le lag est lev, dconnexion du serveur...\n" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "bytes" msgstr "octets" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Kb" msgstr "Ko" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Mb" msgstr "Mo" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Gb" msgstr "Go" -#: src/gui/curses/gui-display.c:1600 +#: src/gui/curses/gui-display.c:1594 msgid "ETA" msgstr "ETA" -#: src/gui/curses/gui-display.c:1945 +#: src/gui/curses/gui-display.c:1941 msgid "<servers>" msgstr "<serveurs>" -#: src/gui/curses/gui-display.c:1957 +#: src/gui/curses/gui-display.c:1953 msgid "(away)" msgstr "(absent)" -#: src/gui/curses/gui-display.c:2091 +#: src/gui/curses/gui-display.c:2087 msgid "[not connected] " msgstr "[non connect] " -#: src/gui/curses/gui-display.c:2101 +#: src/gui/curses/gui-display.c:2097 msgid "Act: " msgstr "Act: " -#: src/gui/curses/gui-display.c:2189 +#: src/gui/curses/gui-display.c:2185 #, c-format msgid "Lag: %.1f" msgstr "Lag: %.1f" -#: src/gui/curses/gui-display.c:2205 +#: src/gui/curses/gui-display.c:2201 msgid "-MORE-" msgstr "-PLUS-" -#: src/gui/curses/gui-display.c:2378 +#: src/gui/curses/gui-display.c:2374 msgid " [A] Accept" msgstr " [A] Accepter" -#: src/gui/curses/gui-display.c:2379 src/gui/curses/gui-display.c:2383 +#: src/gui/curses/gui-display.c:2375 src/gui/curses/gui-display.c:2379 msgid " [C] Cancel" msgstr " [C] Annuler" -#: src/gui/curses/gui-display.c:2388 +#: src/gui/curses/gui-display.c:2384 msgid " [R] Remove" msgstr " [R] Retirer" -#: src/gui/curses/gui-display.c:2392 +#: src/gui/curses/gui-display.c:2388 msgid " [P] Purge old DCC" msgstr " [P] Purger anciens DCC" -#: src/gui/curses/gui-display.c:2393 +#: src/gui/curses/gui-display.c:2389 msgid " [Q] Close DCC view" msgstr " [Q] Fermer la vue DCC" @@ -2341,11 +2341,11 @@ msgstr " [Q] Fermer la vue DCC" msgid "server" msgstr "serveur" -#: src/gui/gui-common.c:696 +#: src/gui/gui-common.c:716 msgid "Not enough memory for new line\n" msgstr "Pas assez de mmoire pour une nouvelle ligne !\n" -#: src/gui/gui-common.c:1047 +#: src/gui/gui-common.c:1054 msgid "Not enough memory for infobar message\n" msgstr "Pas assez de mmoire pour un message de la barre d'infos\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:1892 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2112 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s impossible de crer la touche \"%s\"\n" @@ -2525,15 +2525,15 @@ msgstr "" msgid "%s not enough memory for key binding\n" msgstr "%s pas assez de mmoire pour la touche\n" -#: src/common/command.c:44 +#: src/common/command.c:45 msgid "create an alias for a command" msgstr "crer un alias pour une commande" -#: src/common/command.c:45 +#: src/common/command.c:46 msgid "[alias_name [command [arguments]]" msgstr "[nom_alias [commande [paramtres]]" -#: src/common/command.c:46 +#: src/common/command.c:47 msgid "" "alias_name: name of alias\n" "command: command name (WeeChat or IRC command, without first '/')\n" @@ -2543,15 +2543,15 @@ msgstr "" "commande: nom de la commande (commande WeeChat ou IRC, sans le premier '/')\n" "paramtres: paramtres pour la commande" -#: src/common/command.c:49 +#: src/common/command.c:50 msgid "manage buffers" msgstr "gestion des tampons" -#: src/common/command.c:50 +#: src/common/command.c:51 msgid "[action | number | [[server] [channel]]]" msgstr "[action | nombre | [[serveur] [canal]]]" -#: src/common/command.c:51 +#: src/common/command.c:52 msgid "" "action: action to do:\n" " move: move buffer in the list (may be relative, for example -1)\n" @@ -2573,47 +2573,65 @@ msgstr "" "serveur,canal: sauter au tampon par serveur et/ou nom de canal\n" "nombre: sauter au tampon qui a ce numro" -#: src/common/command.c:59 +#: src/common/command.c:60 +msgid "change charset for server or channel" +msgstr "changer le jeu de caractres pour le serveur ou le canal" + +#: src/common/command.c:61 +msgid "[(decode_iso | decode_utf | encode) charset]" +msgstr "[(decode_iso | decode_utf | encode) charset]" + +#: src/common/command.c:62 +msgid "" +"decode_iso: charset used for decoding ISO\n" +"decode_utf: charset used for decoding UTF\n" +" encode: charset used for encoding messages" +msgstr "" +"decode_iso: jeu de caractre utilis pour dcoder l'ISO\n" +"decode_utf: jeu de caractre utilis pour dcoder l'UTF\n" +" encode: jeu de caractre utilis pour encoder les messages" + +#: src/common/command.c:66 msgid "clear window(s)" msgstr "effacer la/les fentre(s)" -#: src/common/command.c:60 +#: src/common/command.c:67 msgid "[-all]" msgstr "[-all]" -#: src/common/command.c:61 +#: src/common/command.c:68 msgid "-all: clear all windows" msgstr "-all: effacer toutes les fentres" -#: src/common/command.c:63 +#: src/common/command.c:70 msgid "connect to a server" msgstr "se connecter un serveur" -#: src/common/command.c:64 src/common/command.c:68 +#: src/common/command.c:71 src/common/command.c:75 msgid "[servername]" msgstr "[nom_serveur]" -#: src/common/command.c:65 +#: src/common/command.c:72 msgid "servername: server name to connect" msgstr "nom_serveur: nom du serveur pour se connecter" -#: src/common/command.c:67 +#: src/common/command.c:74 msgid "disconnect from a server" msgstr "se dconnecter d'un serveur" -#: src/common/command.c:69 +#: src/common/command.c:76 msgid "servername: server name to disconnect" msgstr "nom_serveur: nom du serveur pour se dconnecter" -#: src/common/command.c:71 +#: src/common/command.c:78 msgid "print debug messages" msgstr "affiche des messages de debuggage" -#: src/common/command.c:72 +#: src/common/command.c:79 msgid "dump | windows" msgstr "dump | windows" -#: src/common/command.c:73 +#: src/common/command.c:80 msgid "" "dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" @@ -2623,27 +2641,27 @@ msgstr "" "messages sont affichs lorsque WeeChat plante)\n" "windows: affiche l'arbre des fentres" -#: src/common/command.c:76 +#: src/common/command.c:83 msgid "display help about commands" msgstr "afficher l'aide sur les commandes" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "[command]" msgstr "[commande]" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "command: name of a WeeChat or IRC command" msgstr "commande: nom d'une commande WeeChat ou IRC" -#: src/common/command.c:79 +#: src/common/command.c:86 msgid "show buffer command history" msgstr "affiche l'historique des commandes du tampon" -#: src/common/command.c:80 +#: src/common/command.c:87 msgid "[clear | value]" msgstr "[clear | valeur]" -#: src/common/command.c:81 +#: src/common/command.c:88 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2651,15 +2669,15 @@ msgstr "" "clear: effacer l'historique\n" "valeur: nombre d'entres dans l'historique afficher" -#: src/common/command.c:84 +#: src/common/command.c:91 msgid "ignore IRC messages and/or hosts" msgstr "ignorer des messages IRC et/ou des masques" -#: src/common/command.c:85 +#: src/common/command.c:92 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[masque [[type | commande] [canal [serveur]]]]" -#: src/common/command.c:86 +#: src/common/command.c:93 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2679,15 +2697,15 @@ msgstr "" "Pour chaque paramtre, '*' signifie tou(te)s.\n" "Sans paramtre, la commande /ignore liste les ignore dfinis." -#: src/common/command.c:94 +#: src/common/command.c:101 msgid "bind/unbind keys" msgstr "associer/librer des touches" -#: src/common/command.c:95 +#: src/common/command.c:102 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "[touche fonction/commande] [unbind touche] [functions] [reset -yes]" -#: src/common/command.c:96 +#: src/common/command.c:103 msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" @@ -2705,15 +2723,15 @@ msgstr "" "reset: restaure les touches aux valeurs par dfaut et supprime TOUTES les " "touches personnelles (utiliser avec prcaution !)" -#: src/common/command.c:101 +#: src/common/command.c:108 msgid "list/load/unload plugins" msgstr "liste/charge/dcharge des extensions" -#: src/common/command.c:102 +#: src/common/command.c:109 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[load fichier] | [autoload] | [reload] | [unload]" -#: src/common/command.c:103 +#: src/common/command.c:110 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2723,11 +2741,11 @@ msgstr "" "\n" "Sans paramtre, la commande /plugin liste toutes les extensions charges." -#: src/common/command.c:106 +#: src/common/command.c:113 msgid "list, add or remove servers" msgstr "liste, ajoute ou retire des serveurs" -#: src/common/command.c:107 +#: src/common/command.c:114 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2739,7 +2757,7 @@ msgstr "" "nom_utilisateur] [-realname nom_rel] [-command commande] [-autojoin canal[," "canal]] ] | [del nom_serveur]" -#: src/common/command.c:112 +#: src/common/command.c:119 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2765,27 +2783,27 @@ msgstr "" "nom_utilisateur: nom d'utilisateur\n" "nom_rel: nom rel de l'utilisateur" -#: src/common/command.c:124 +#: src/common/command.c:131 msgid "save config to disk" msgstr "sauvegarder la configuration sur disque" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "[file]" msgstr "[fichier]" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "file: filename for writing config" msgstr "fichier: fichier pour sauvegarder la configuration" -#: src/common/command.c:127 +#: src/common/command.c:134 msgid "set config parameters" msgstr "modifier des paramtres de configuration" -#: src/common/command.c:128 +#: src/common/command.c:135 msgid "[option [ = value]]" msgstr "[option [ = valeur]]" -#: src/common/command.c:129 +#: src/common/command.c:136 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2795,27 +2813,27 @@ msgstr "" "donne, alors l'aide sur l'option est affiche)\n" "valeur: valeur pour l'option" -#: src/common/command.c:133 +#: src/common/command.c:140 msgid "remove an alias" msgstr "supprimer un alias" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name" msgstr "nom_alias" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name: name of alias to remove" msgstr "nom_alias: nom de l'alias supprimer" -#: src/common/command.c:136 +#: src/common/command.c:143 msgid "unignore IRC messages and/or hosts" msgstr "supprimer le ignore des messages IRC et/ou des masques" -#: src/common/command.c:137 +#: src/common/command.c:144 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[nombre | [masque [[type | commande] [canal [serveur]]]]]" -#: src/common/command.c:138 +#: src/common/command.c:145 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2838,27 +2856,27 @@ msgstr "" "Pour chaque paramtre, '*' signifie tou(te)s.\n" "Sans paramtre, /ignore liste les ignore dfinis." -#: src/common/command.c:147 +#: src/common/command.c:154 msgid "upgrade WeeChat without disconnecting from servers" msgstr "mettre jour WeeChat sans se dconnecter des serveurs" -#: src/common/command.c:151 +#: src/common/command.c:158 msgid "show WeeChat uptime" msgstr "montrer l'uptime de WeeChat" -#: src/common/command.c:152 +#: src/common/command.c:159 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:153 +#: src/common/command.c:160 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:155 +#: src/common/command.c:162 msgid "manage windows" msgstr "gestion des fentres" -#: src/common/command.c:156 +#: src/common/command.c:163 msgid "" "[list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge " "[all]]" @@ -2866,7 +2884,7 @@ msgstr "" "[list | -1 | +1 | b# | splith [pct] | splitv [ptc] | resize pct | merge " "[all]]" -#: src/common/command.c:157 +#: src/common/command.c:164 #, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2897,29 +2915,29 @@ msgstr "" "Par exemple 25 signifie crer une fentre qui a pour taille: " "taille_courante / 4" -#: src/common/command.c:310 +#: src/common/command.c:317 #, 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:320 +#: src/common/command.c:327 #, 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:327 +#: src/common/command.c:334 #, 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:565 +#: src/common/command.c:572 #, 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:577 +#: src/common/command.c:584 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -2928,19 +2946,19 @@ msgstr "" "%s nombre de paramtres incorrect pour la commande %s \"%s\" (attendu: entre " "%d et %d paramtre%s)\n" -#: src/common/command.c:599 src/common/command.c:668 +#: src/common/command.c:606 src/common/command.c:675 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s la commande \"%s\" a chou\n" -#: src/common/command.c:624 +#: src/common/command.c:631 #, 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:636 +#: src/common/command.c:643 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -2949,266 +2967,283 @@ msgstr "" "%s nombre de paramtres incorrect pour la commande IRC \"%s\" (attendu: " "entre %d et %d paramtre%s)\n" -#: src/common/command.c:651 +#: src/common/command.c:658 #, 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:711 +#: src/common/command.c:719 #, 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:845 +#: src/common/command.c:853 msgid "This window is not a channel!\n" msgstr "Cette fentre n'est pas un canal !\n" -#: src/common/command.c:873 src/common/command.c:904 src/common/command.c:1019 +#: src/common/command.c:884 src/common/command.c:915 src/common/command.c:1030 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s paramtres manquants pour la commande \"%s\"\n" -#: src/common/command.c:880 +#: src/common/command.c:891 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "%s l'alias ne peut pas commencer par \"/\"\n" -#: src/common/command.c:889 +#: src/common/command.c:900 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" cr\n" -#: src/common/command.c:895 +#: src/common/command.c:906 #, 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:915 +#: src/common/command.c:926 msgid "List of aliases:\n" msgstr "Liste des alias:\n" -#: src/common/command.c:929 +#: src/common/command.c:940 msgid "No alias defined.\n" msgstr "Aucun alias dfini.\n" -#: src/common/command.c:948 +#: src/common/command.c:959 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServeur: %s%s\n" -#: src/common/command.c:953 +#: src/common/command.c:964 #, c-format msgid "%snot connected\n" msgstr "%snon connect\n" -#: src/common/command.c:957 +#: src/common/command.c:968 #, 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:966 +#: src/common/command.c:977 #, 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:975 +#: src/common/command.c:986 #, c-format msgid "%sunknown\n" msgstr "%sinconnu\n" -#: src/common/command.c:998 +#: src/common/command.c:1009 msgid "Opened buffers:\n" msgstr "Tampons ouverts:\n" -#: src/common/command.c:1042 +#: src/common/command.c:1053 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s numro de buffer incorrect\n" -#: src/common/command.c:1058 +#: src/common/command.c:1069 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s impossible de fermer le tampon unique\n" -#: src/common/command.c:1068 +#: src/common/command.c:1079 #, 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:1117 +#: src/common/command.c:1128 msgid "Notify levels: " msgstr "Niveaux de notification: " -#: src/common/command.c:1146 src/common/command.c:1194 +#: src/common/command.c:1157 src/common/command.c:1205 #, 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:1155 +#: src/common/command.c:1166 #, 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:1164 +#: src/common/command.c:1175 #, 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:1174 +#: src/common/command.c:1185 msgid "(hotlist: never)\n" msgstr "(hotlist: jamais)\n" -#: src/common/command.c:1177 +#: src/common/command.c:1188 msgid "(hotlist: highlights)\n" msgstr "(hotlist: highlights)\n" -#: src/common/command.c:1180 +#: src/common/command.c:1191 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: highlights + messages)\n" -#: src/common/command.c:1183 +#: src/common/command.c:1194 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "(hotlist: highlights + messages + join/part (tous))\n" -#: src/common/command.c:1280 +#: src/common/command.c:1293 +#, c-format +msgid "Charsets for server %s%s%s: " +msgstr "Jeux de caractres pour le serveur %s%s%s: " + +#: src/common/command.c:1301 +#, c-format +msgid "Charsets for channel %s%s%s: " +msgstr "Jeux de caractres pour le canal %s%s%s: " + +#: src/common/command.c:1309 +#, c-format +msgid "Charsets for private %s%s%s: " +msgstr "Jeux de caractres pour le priv %s%s%s: " + +#: src/common/command.c:1337 src/common/command.c:1367 +#: src/common/command.c:1397 +#, c-format +msgid " (inherited: \"%s%s%s\")" +msgstr " (hrit: \"%s%s%s\")" + +#: src/common/command.c:1461 src/common/command.c:1484 +#: src/common/command.c:1618 src/common/command.c:2229 +#: src/common/command.c:3286 src/common/command.c:3329 #, c-format -msgid "unknown parameter \"%s\" for \"%s\" command\n" -msgstr "paramtre inconnu \"%s\" pour la commande \"%s\"\n" +msgid "%s unknown option for \"%s\" command\n" +msgstr "%s option inconnue pour la commande \"%s\"\n" -#: src/common/command.c:1310 +#: src/common/command.c:1514 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s dj connect au serveur \"%s\" !\n" -#: src/common/command.c:1318 +#: src/common/command.c:1522 #, 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:1336 src/common/command.c:1456 +#: src/common/command.c:1540 src/common/command.c:1663 #, c-format msgid "%s server not found\n" msgstr "%s serveur non trouv\n" -#: src/common/command.c:1411 src/common/command.c:2006 -#: src/common/command.c:3047 src/common/command.c:3090 -#, c-format -msgid "%s unknown option for \"%s\" command\n" -msgstr "%s option inconnue pour la commande \"%s\"\n" - -#: src/common/command.c:1440 +#: src/common/command.c:1647 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s non connect au serveur \"%s\" !\n" -#: src/common/command.c:1448 +#: src/common/command.c:1655 msgid "Auto-reconnection is cancelled\n" msgstr "La reconnexion automatique est annule\n" -#: src/common/command.c:1479 src/common/weechat.c:400 +#: src/common/command.c:1689 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "Commandes internes %s :\n" -#: src/common/command.c:1489 src/common/weechat.c:420 +#: src/common/command.c:1699 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "Commandes IRC :\n" -#: src/common/command.c:1503 +#: src/common/command.c:1713 msgid "Plugin commands:\n" msgstr "Commandes d'extension :\n" -#: src/common/command.c:1619 +#: src/common/command.c:1829 #, 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:1678 +#: src/common/command.c:1895 #, 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:1712 +#: src/common/command.c:1929 msgid "List of ignore:\n" msgstr "Liste des ignore:\n" -#: src/common/command.c:1729 +#: src/common/command.c:1946 msgid "No ignore defined.\n" msgstr "Aucun ignore dfini.\n" -#: src/common/command.c:1755 +#: src/common/command.c:1972 msgid "New ignore:" msgstr "Nouveau ignore:" -#: src/common/command.c:1775 +#: src/common/command.c:1992 #, c-format msgid "New key binding: %s" msgstr "Nouvelle touche: %s" -#: src/common/command.c:1809 +#: src/common/command.c:2029 msgid "Key bindings:\n" msgstr "Associations de touches:\n" -#: src/common/command.c:1823 +#: src/common/command.c:2043 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Touche \"%s\" supprime\n" -#: src/common/command.c:1829 +#: src/common/command.c:2049 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "%s impossible de supprimer la touche \"%s\"\n" -#: src/common/command.c:1837 src/common/weechat.c:452 +#: src/common/command.c:2057 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "Fonctions internes pour les touches:\n" -#: src/common/command.c:1857 +#: src/common/command.c:2077 msgid "Default key bindings restored\n" msgstr "Touches par dfaut restaures\n" -#: src/common/command.c:1863 +#: src/common/command.c:2083 #, 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:1919 +#: src/common/command.c:2142 msgid "Plugins loaded:\n" msgstr "Extensions charges :\n" -#: src/common/command.c:1935 +#: src/common/command.c:2158 msgid " message handlers:\n" msgstr " fonctions de message :\n" -#: src/common/command.c:1944 +#: src/common/command.c:2167 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:1951 +#: src/common/command.c:2174 msgid " (no message handler)\n" msgstr " (aucunne fonction de message)\n" -#: src/common/command.c:1956 +#: src/common/command.c:2179 msgid " command handlers:\n" msgstr " commandes :\n" -#: src/common/command.c:1977 +#: src/common/command.c:2200 msgid " (no command handler)\n" msgstr " (aucune commande)\n" -#: src/common/command.c:1983 +#: src/common/command.c:2206 msgid " (no plugin)\n" msgstr " (aucune extension)\n" -#: src/common/command.c:2019 +#: src/common/command.c:2242 msgid "" "Command \"plugin\" is not available, WeeChat was built without plugins " "support.\n" @@ -3216,31 +3251,31 @@ msgstr "" "La commande \"plugin\" n'est pas disponible, WeeChat a t compil sans le " "support des extensions.\n" -#: src/common/command.c:2067 +#: src/common/command.c:2293 msgid "No server.\n" msgstr "Pas de serveur.\n" -#: src/common/command.c:2078 +#: src/common/command.c:2304 #, c-format msgid "Server '%s' not found.\n" msgstr "Serveur '%s' non trouv.\n" -#: src/common/command.c:2090 +#: src/common/command.c:2316 #, 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:2098 +#: src/common/command.c:2324 #, 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:2117 +#: src/common/command.c:2343 #, 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:2125 +#: src/common/command.c:2351 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3249,207 +3284,207 @@ msgstr "" "%s vous ne pouvez pas supprimer le server \"%s\" car vous tes connect " "dessus. Essayez /disconnect %s avant.\n" -#: src/common/command.c:2145 +#: src/common/command.c:2371 #, 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:2164 +#: src/common/command.c:2390 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s paramtres manquants pour la commande \"%s\"\n" -#: src/common/command.c:2174 +#: src/common/command.c:2400 #, 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:2203 src/common/command.c:2231 -#: src/common/command.c:2244 src/common/command.c:2270 +#: src/common/command.c:2429 src/common/command.c:2457 +#: src/common/command.c:2470 src/common/command.c:2496 #, 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:2216 +#: src/common/command.c:2442 #, 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:2257 +#: src/common/command.c:2483 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s commande manquante pour le paramtre \"%s\"\n" -#: src/common/command.c:2292 +#: src/common/command.c:2519 #, c-format msgid "Server %s%s%s created\n" msgstr "Serveur %s%s%s cr\n" -#: src/common/command.c:2301 +#: src/common/command.c:2528 #, c-format msgid "%s unable to create server\n" msgstr "%s impossible de crer le serveur\n" -#: src/common/command.c:2360 +#: src/common/command.c:2587 msgid "(unknown)" msgstr "(inconnu)" -#: src/common/command.c:2383 +#: src/common/command.c:2610 #, c-format msgid "%s(password hidden) " msgstr "%s(mot de passe cach) " -#: src/common/command.c:2473 +#: src/common/command.c:2706 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s serveur \"%s\" non trouv\n" -#: src/common/command.c:2506 src/common/command.c:2554 +#: src/common/command.c:2739 src/common/command.c:2787 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s option de configuration \"%s\" non trouve\n" -#: src/common/command.c:2511 src/common/command.c:2546 +#: src/common/command.c:2744 src/common/command.c:2779 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s valeur incorrecte pour l'option \"%s\"\n" -#: src/common/command.c:2527 +#: src/common/command.c:2760 #, 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:2637 +#: src/common/command.c:2870 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Aucune option de configuration trouve avec \"%s\"\n" -#: src/common/command.c:2640 +#: src/common/command.c:2873 msgid "No config option found\n" msgstr "Aucune option de configuration trouve\n" -#: src/common/command.c:2647 +#: src/common/command.c:2880 #, c-format msgid "%sDetail:\n" msgstr "%sDtail :\n" -#: src/common/command.c:2652 src/common/weechat.c:336 +#: src/common/command.c:2885 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:2653 src/common/command.c:2676 -#: src/common/command.c:2682 src/common/command.c:2688 +#: src/common/command.c:2886 src/common/command.c:2909 +#: src/common/command.c:2915 src/common/command.c:2921 #: 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:2658 src/common/weechat.c:342 +#: src/common/command.c:2891 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:2661 src/common/weechat.c:345 +#: src/common/command.c:2894 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr " . valeur par dfaut: %d\n" -#: src/common/command.c:2665 src/common/weechat.c:349 +#: src/common/command.c:2898 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr " . type chane (valeurs: " -#: src/common/command.c:2678 src/common/command.c:2684 -#: src/common/command.c:2690 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2911 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "vide" -#: src/common/command.c:2681 src/common/weechat.c:365 +#: src/common/command.c:2914 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:2687 src/common/weechat.c:371 +#: src/common/command.c:2920 src/common/weechat.c:371 #, c-format msgid " . type string (any string)\n" msgstr " . type chane (toute chane)\n" -#: src/common/command.c:2693 src/common/weechat.c:377 +#: src/common/command.c:2926 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr " . description: %s\n" -#: src/common/command.c:2704 +#: src/common/command.c:2937 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "option(s) de configuration trouve(s) avec \"%s\"\n" -#: src/common/command.c:2707 +#: src/common/command.c:2940 msgid "config option(s) found\n" msgstr "option(s) de configuration trouve(s)\n" -#: src/common/command.c:2728 +#: src/common/command.c:2964 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias ou commande \"%s\" non trouv\n" -#: src/common/command.c:2738 +#: src/common/command.c:2974 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" supprim\n" -#: src/common/command.c:2794 +#: src/common/command.c:3030 msgid "ignore were removed.\n" msgstr "ignore ont t supprims.\n" -#: src/common/command.c:2796 +#: src/common/command.c:3032 msgid "ignore was removed.\n" msgstr "ignore a t supprim.\n" -#: src/common/command.c:2801 +#: src/common/command.c:3037 #, c-format msgid "%s no ignore found\n" msgstr "%s aucun ignore trouv\n" -#: src/common/command.c:2832 +#: src/common/command.c:3069 #, c-format msgid "%s can't upgrade: connection to at least one server is pending" msgstr "" "%s impossible de mettre jour: une connexion au moins un serveur est en " "cours" -#: src/common/command.c:2848 +#: src/common/command.c:3084 msgid "Upgrading WeeChat...\n" msgstr "Mise jour de WeeChat...\n" -#: src/common/command.c:2856 +#: src/common/command.c:3091 #, 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:2878 +#: src/common/command.c:3120 #, 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:2914 +#: src/common/command.c:3156 #, 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:2931 +#: src/common/command.c:3170 #, 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:2971 +#: src/common/command.c:3210 msgid "Opened windows:\n" msgstr "Fentres ouvertes:\n" -#: src/common/command.c:3058 +#: src/common/command.c:3297 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3487,12 +3522,12 @@ msgstr "%s serveur \"%s\" non trouv (donnes du tube FIFO)\n" msgid "%s channel \"%s\" not found (FIFO pipe data)\n" msgstr "%s canal \"%s\" non trouv (donnes du tube FIFO)\n" -#: src/common/fifo.c:251 src/common/fifo.c:253 +#: src/common/fifo.c:252 src/common/fifo.c:254 #, c-format msgid "%s error reading FIFO pipe, closing it\n" msgstr "%s erreur en lecture du tube FIFO, fermeture\n" -#: src/common/fifo.c:295 +#: src/common/fifo.c:296 msgid "FIFO pipe is closed\n" msgstr "Le tube FIFO est ferm\n" @@ -3517,7 +3552,7 @@ msgstr "**** Dbut du log " msgid "**** End of log " msgstr "**** Fin du log " -#: src/common/session.c:432 +#: src/common/session.c:435 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" @@ -3525,7 +3560,7 @@ msgstr "" "Dernire opration avec le fichier de session en position %ld, lecture de %d " "octets\n" -#: src/common/session.c:437 +#: src/common/session.c:440 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3536,275 +3571,275 @@ msgstr "" "dveloppeurs WeeChat pour du support.\n" "Faites attention, des infos prives peuvent se trouver dans ces fichiers.\n" -#: src/common/session.c:461 src/common/session.c:495 src/common/session.c:552 +#: src/common/session.c:464 src/common/session.c:498 src/common/session.c:555 #, 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:564 +#: src/common/session.c:567 msgid "invalid length for a buffer" msgstr "longueur invalide pour une zone" -#: src/common/session.c:589 +#: src/common/session.c:592 msgid "object read error" msgstr "erreur de lecture de l'objet" -#: src/common/session.c:594 +#: src/common/session.c:597 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "objet erron (attendu: %d, lu: %d)" -#: src/common/session.c:604 +#: src/common/session.c:607 msgid "type read error" msgstr "erreur de lecture du type" -#: src/common/session.c:609 +#: src/common/session.c:612 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "type erron (attendu: %d, lu: %d)" -#: src/common/session.c:688 +#: src/common/session.c:691 msgid "server name not found" msgstr "nom de serveur non trouv" -#: src/common/session.c:693 +#: src/common/session.c:696 #, c-format msgid "session: loading server \"%s\"\n" msgstr "session: chargement du serveur \"%s\"\n" -#: src/common/session.c:697 +#: src/common/session.c:700 msgid "server found, updating values\n" msgstr "serveur trouv, mise jour des valeurs\n" -#: src/common/session.c:700 +#: src/common/session.c:703 msgid "server not found, creating new one\n" msgstr "serveur non trouv, cration d'un nouveau\n" -#: src/common/session.c:705 +#: src/common/session.c:708 msgid "can't create new server" msgstr "impossible de crer un nouveau serveur" -#: src/common/session.c:719 +#: src/common/session.c:722 msgid "unexpected end of file (reading server)" msgstr "fin de fichier inattendue (en lecture d'un serveur)" -#: src/common/session.c:836 +#: src/common/session.c:848 #, 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:858 +#: src/common/session.c:870 msgid "channel found without server" msgstr "canal trouv sans serveur" -#: src/common/session.c:865 +#: src/common/session.c:877 msgid "channel type not found" msgstr "type de canal non trouv" -#: src/common/session.c:873 +#: src/common/session.c:885 msgid "channel name not found" msgstr "nom de canal non trouv" -#: src/common/session.c:878 +#: src/common/session.c:890 #, c-format msgid "session: loading channel \"%s\"\n" msgstr "session: chargement du canal \"%s\"\n" -#: src/common/session.c:886 +#: src/common/session.c:898 msgid "can't create new channel" msgstr "impossible de crer un nouveau canal" -#: src/common/session.c:896 +#: src/common/session.c:908 msgid "unexpected end of file (reading channel)" msgstr "fin de fichier inattendue (en lecture d'un canal)" -#: src/common/session.c:924 +#: src/common/session.c:936 #, 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:947 +#: src/common/session.c:959 msgid "nick found without channel" msgstr "pseudo non trouv pour le canal" -#: src/common/session.c:955 +#: src/common/session.c:967 msgid "nick name not found" msgstr "pseudo non trouv" -#: src/common/session.c:965 +#: src/common/session.c:977 msgid "can't create new nick" msgstr "impossible de crer un nouveau pseudo" -#: src/common/session.c:975 +#: src/common/session.c:987 msgid "unexpected end of file (reading nick)" msgstr "fin de fichier inattendue (en lecture d'un pseudo)" -#: src/common/session.c:991 +#: src/common/session.c:1003 #, 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:1017 +#: src/common/session.c:1029 msgid "can't create new DCC" msgstr "impossible de crer un nouveau DCC" -#: src/common/session.c:1021 +#: src/common/session.c:1033 msgid "session: loading DCC\n" msgstr "session: chargement du DCC\n" -#: src/common/session.c:1031 +#: src/common/session.c:1043 msgid "unexpected end of file (reading DCC)" msgstr "fin de fichier inattendue (en lecture d'un DCC)" -#: src/common/session.c:1050 +#: src/common/session.c:1062 msgid "server not found for DCC" msgstr "serveur non trouv pour le DCC" -#: src/common/session.c:1059 +#: src/common/session.c:1071 msgid "DCC with channel but without server" msgstr "DCC avec un canal mais sans serveur" -#: src/common/session.c:1071 +#: src/common/session.c:1083 msgid "channel not found for DCC" msgstr "canal non trouv pour le DCC" -#: src/common/session.c:1145 +#: src/common/session.c:1157 #, 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:1165 +#: src/common/session.c:1177 msgid "session: loading buffer history\n" msgstr "session: chargement de l'historique du tampon\n" -#: src/common/session.c:1167 +#: src/common/session.c:1179 msgid "session: loading global history\n" msgstr "session: chargement de l'historique global\n" -#: src/common/session.c:1175 +#: src/common/session.c:1187 msgid "unexpected end of file (reading history)" msgstr "fin de fichier inattendue (en lecture de l'historique)" -#: src/common/session.c:1195 +#: src/common/session.c:1207 #, 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:1221 +#: src/common/session.c:1233 msgid "server name not found for buffer" msgstr "nom de serveur non trouve pour le tampon" -#: src/common/session.c:1229 +#: src/common/session.c:1241 msgid "channel name not found for buffer" msgstr "nom de canal non trouv pour un tampon" -#: src/common/session.c:1236 +#: src/common/session.c:1248 msgid "dcc flag not found for buffer" msgstr "drapeau dcc non trouv pour un tampon" -#: src/common/session.c:1241 +#: src/common/session.c:1253 #, 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:1252 +#: src/common/session.c:1264 msgid "server not found for buffer" msgstr "serveur non trouv pour le tampon" -#: src/common/session.c:1262 +#: src/common/session.c:1274 msgid "channel not found for buffer" msgstr "canal non trouv pour le tampon" -#: src/common/session.c:1270 +#: src/common/session.c:1282 msgid "can't create new buffer" msgstr "impossible de crer un nouveau tampon" -#: src/common/session.c:1283 +#: src/common/session.c:1295 msgid "unexpected end of file (reading buffer)" msgstr "fin de fichier inattendue (en lecture d'un tampon)" -#: src/common/session.c:1293 +#: src/common/session.c:1305 #, 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:1315 +#: src/common/session.c:1327 msgid "line found without buffer" msgstr "ligne trouve sans tampon" -#: src/common/session.c:1323 +#: src/common/session.c:1335 msgid "can't create new line" msgstr "impossible de crer une nouvelle ligne" -#: src/common/session.c:1333 +#: src/common/session.c:1345 msgid "unexpected end of file (reading line)" msgstr "fin de fichier inattendue (en lecture d'une ligne)" -#: src/common/session.c:1364 +#: src/common/session.c:1376 #, 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:1394 +#: src/common/session.c:1406 msgid "session file not found" msgstr "fichier de session non trouv" -#: src/common/session.c:1401 +#: src/common/session.c:1413 msgid "signature not found" msgstr "signature non trouve" -#: src/common/session.c:1406 +#: src/common/session.c:1418 msgid "bad session signature" msgstr "signature de session errone" -#: src/common/session.c:1417 +#: src/common/session.c:1429 msgid "object id not found" msgstr "id objet non trouv" -#: src/common/session.c:1425 +#: src/common/session.c:1437 msgid "failed to load server" msgstr "chec de chargement du serveur" -#: src/common/session.c:1432 +#: src/common/session.c:1444 msgid "failed to load channel" msgstr "chec de chargement du canal" -#: src/common/session.c:1439 +#: src/common/session.c:1451 msgid "failed to load nick" msgstr "chec de chargement du pseudo" -#: src/common/session.c:1446 +#: src/common/session.c:1458 msgid "failed to load DCC" msgstr "chec de chargement du DCC" -#: src/common/session.c:1453 +#: src/common/session.c:1465 msgid "failed to load history" msgstr "chec de chargement de l'historique" -#: src/common/session.c:1460 +#: src/common/session.c:1472 msgid "failed to load buffer" msgstr "chec de chargement du tampon" -#: src/common/session.c:1467 +#: src/common/session.c:1479 msgid "failed to load line" msgstr "chec de chargement de la ligne" -#: src/common/session.c:1472 +#: src/common/session.c:1484 #, c-format msgid "ignoring object (id: %d)\n" msgstr "objet ignor (id: %d)\n" -#: src/common/session.c:1476 +#: src/common/session.c:1488 #, c-format msgid "failed to ignore object (id: %d)" msgstr "impossible d'ignorer l'objet (id: %d)" -#: src/common/session.c:1499 +#: src/common/session.c:1512 #, 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:1505 +#: src/common/session.c:1518 msgid "Upgrade completed successfully\n" msgstr "Mise jour effectue avec succs\n" @@ -3896,52 +3931,52 @@ msgstr "%s paramtre manquant pour l'option --session\n" msgid "%s invalid syntax for IRC server ('%s'), ignored\n" msgstr "%s syntaxe invalide pour le serveur IRC ('%s'), ignor\n" -#: src/common/weechat.c:588 +#: src/common/weechat.c:589 #, c-format msgid "%s unable to create server ('%s'), ignored\n" msgstr "%s impossible de crer le serveur ('%s'), ignor\n" -#: src/common/weechat.c:597 +#: src/common/weechat.c:598 #, c-format msgid "%s unknown parameter '%s', ignored\n" msgstr "%s paramtre inconnu '%s', ignor\n" -#: src/common/weechat.c:617 +#: src/common/weechat.c:618 #, c-format msgid "%s cannot create directory \"%s\"\n" msgstr "%s impossible de crer le rpertoire \"%s\"\n" -#: src/common/weechat.c:638 +#: src/common/weechat.c:639 #, c-format msgid "%s unable to get HOME directory\n" msgstr "%s impossible de lire le rpertoire personnel\n" -#: src/common/weechat.c:647 +#: src/common/weechat.c:648 #, c-format msgid "%s not enough memory for home directory\n" msgstr "%s pas assez de mmoire pour le rpertoire personnel\n" -#: src/common/weechat.c:657 +#: src/common/weechat.c:658 #, c-format msgid "%s unable to create ~/.weechat directory\n" msgstr "%s impossible de crer le rpertoire ~/.weechat\n" -#: src/common/weechat.c:670 +#: src/common/weechat.c:671 #, c-format msgid "%s unable to create ~/.weechat/logs directory\n" msgstr "%s impossible de crer le rpertoire ~/.weechat/logs\n" -#: src/common/weechat.c:716 +#: src/common/weechat.c:717 #, c-format msgid "%s unable to create/append to log file (~/.weechat/%s)" msgstr "%s impossible de crer/ajouter dans le fichier de log (~/.weechat/%s)" -#: src/common/weechat.c:767 +#: src/common/weechat.c:768 #, c-format msgid "%sWelcome to %s%s%s, %s\n" msgstr "%sBienvenue dans %s%s%s, %s\n" -#: src/common/weechat.c:781 src/common/weechat.c:791 +#: src/common/weechat.c:782 src/common/weechat.c:792 msgid "compiled on" msgstr "compil le" @@ -5018,64 +5053,102 @@ msgstr "" "liste des niveaux de notifications (spars par des virgules) pour les " "canaux de ce serveur (format: #canal:1,..)" -#: src/common/weeconfig.c:1510 +#: src/common/weeconfig.c:940 +msgid "charset for decoding ISO on server and channels" +msgstr "jeu de caractres pour dcoder l'ISO sur le serveur et les canaux" + +#: src/common/weeconfig.c:941 +msgid "" +"comma separated list of charsets for server and channels, to decode ISO " +"(format: server:charset,#channel:charset,..)" +msgstr "" +"liste des jeux de caractres (spars par des virgules) pour le serveur et " +"les canaux, pour dcoder l'ISO (format: server:charset,#canal:charset,..)" + +#: src/common/weeconfig.c:945 +msgid "charset for decoding UTF on server and channels" +msgstr "jeu de caractres pour dcoder l'UTF sur le serveur et les canaux" + +#: src/common/weeconfig.c:946 +msgid "" +"comma separated list of charsets for server and channels, to decode UTF " +"(format: server:charset,#channel:charset,..)" +msgstr "" +"liste des jeux de caractres (spars par des virgules) pour le serveur et " +"les canaux, pour dcoder l'UTF (format: server:charset,#canal:charset,..)" + +#: src/common/weeconfig.c:950 +msgid "charset for encoding messages on server and channels" +msgstr "" +"jeu de caractres pour encoder les messages envoys au serveur et aux canaux" + +#: src/common/weeconfig.c:951 +msgid "" +"comma separated list of charsets for server and channels, to encode messages " +"(format: server:charset,#channel:charset,..)" +msgstr "" +"liste des jeux de caractres (spars par des virgules) pour le serveur et " +"les canaux, pour encoder les messages (format: server:charset,#canal:" +"charset,..)" + +#: src/common/weeconfig.c:1643 #, c-format msgid "%s %s, line %d: new server, but previous was incomplete\n" msgstr "%s %s, ligne %d: nouveau serveur, mais le prcdent tait incomplet\n" -#: src/common/weeconfig.c:1519 +#: src/common/weeconfig.c:1652 #, c-format msgid "%s %s, line %d: server '%s' already exists\n" msgstr "%s %s, ligne %d: le serveur '%s' existe dj\n" -#: src/common/weeconfig.c:1534 +#: src/common/weeconfig.c:1669 #, c-format msgid "%s %s, line %d: unable to create server\n" msgstr "%s %s, ligne %d: impossible de crer le serveur\n" -#: src/common/weeconfig.c:1574 +#: src/common/weeconfig.c:1709 #, c-format msgid "%s unable to assign default int with string (\"%s\")\n" msgstr "" "%s impossible d'assigner la valeur entire par dfaut avec la chane (\"%s" "\")\n" -#: src/common/weeconfig.c:1585 +#: src/common/weeconfig.c:1720 #, c-format msgid "%s unable to assign default color (\"%s\")\n" msgstr "%s impossible d'assigner la couleur par dfaut (\"%s\")\n" -#: src/common/weeconfig.c:1623 +#: src/common/weeconfig.c:1758 #, c-format msgid "%s config file \"%s\" not found.\n" msgstr "%s fichier de configuration \"%s\" non trouv.\n" -#: src/common/weeconfig.c:1655 +#: src/common/weeconfig.c:1790 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"]\"\n" msgstr "%s %s, ligne %d: syntaxe invalide, il manque \"]\"\n" -#: src/common/weeconfig.c:1672 +#: src/common/weeconfig.c:1807 #, c-format msgid "%s %s, line %d: unknown section identifier (\"%s\")\n" msgstr "%s %s, ligne %d: section inconnue (\"%s\")\n" -#: src/common/weeconfig.c:1690 +#: src/common/weeconfig.c:1825 #, c-format msgid "%s %s, line %d: invalid section for option, line is ignored\n" msgstr "%s %s, ligne %d: section invalide pour l'option, ligne ignore\n" -#: src/common/weeconfig.c:1772 src/common/weeconfig.c:1798 +#: src/common/weeconfig.c:1907 src/common/weeconfig.c:1933 #, c-format msgid "%s %s, line %d: invalid option \"%s\"\n" msgstr "%s %s, ligne %d: option \"%s\" invalide\n" -#: src/common/weeconfig.c:1778 +#: src/common/weeconfig.c:1913 #, c-format msgid "%s %s, line %d: invalid ignore options \"%s\"\n" msgstr "%s %s, ligne %d: options \"%s\" invalides pour le ignore\n" -#: src/common/weeconfig.c:1809 +#: src/common/weeconfig.c:1944 #, c-format msgid "" "%s %s, line %d: invalid value foroption '%s'\n" @@ -5084,7 +5157,7 @@ msgstr "" "%s %s, ligne %d: valeur invalide pour l'option '%s'\n" "Attendu: valeur boolenne: 'off' ou 'on'\n" -#: src/common/weeconfig.c:1818 +#: src/common/weeconfig.c:1953 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" @@ -5093,7 +5166,7 @@ msgstr "" "%s %s, ligne %d: valeur invalide pour l'option '%s'\n" "Attendu: entier compris entre %d et %d\n" -#: src/common/weeconfig.c:1829 +#: src/common/weeconfig.c:1964 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" @@ -5102,21 +5175,21 @@ msgstr "" "%s %s, ligne %d: valeur invalide pour l'option '%s'\n" "Attendu: une de ces chanes: " -#: src/common/weeconfig.c:1845 +#: src/common/weeconfig.c:1980 #, c-format msgid "%s %s, line %d: invalid color name for option '%s'\n" msgstr "%s %s, ligne %d: nom de couleur invalide pour l'option '%s'\n" -#: src/common/weeconfig.c:1914 +#: src/common/weeconfig.c:2049 #, c-format msgid "%s: creating default config file...\n" msgstr "%s: cration du fichier de configuration par dfaut...\n" -#: src/common/weeconfig.c:1915 +#: src/common/weeconfig.c:2050 msgid "Creating default config file\n" msgstr "Cration du fichier de configuration par dfaut\n" -#: src/common/weeconfig.c:1918 src/common/weeconfig.c:2119 +#: src/common/weeconfig.c:2053 src/common/weeconfig.c:2258 #, c-format msgid "" "#\n" @@ -5125,7 +5198,7 @@ msgstr "" "#\n" "# %s: fichier de configuration, cr par %s v%s le %s" -#: src/common/weeconfig.c:1922 src/common/weeconfig.c:2123 +#: src/common/weeconfig.c:2057 src/common/weeconfig.c:2262 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -5136,6 +5209,6 @@ msgstr "" "quittant.\n" "#\n" -#: src/common/weeconfig.c:2116 +#: src/common/weeconfig.c:2255 msgid "Saving config to disk\n" msgstr "Sauvegarde de la configuration sur disque\n" diff --git a/po/weechat.pot b/po/weechat.pot index 1e353a84a..3c565fdaa 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-06 18:33+0100\n" +"POT-Creation-Date: 2005-12-11 01:50+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" @@ -15,154 +15,154 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: src/irc/irc-server.c:179 src/common/weeconfig.c:2054 +#: src/irc/irc-server.c:182 src/common/weeconfig.c:2189 msgid "Unable to get user's name" msgstr "" -#: src/irc/irc-server.c:247 +#: src/irc/irc-server.c:250 #, c-format msgid "%s cannot allocate new server\n" msgstr "" -#: src/irc/irc-server.c:464 +#: src/irc/irc-server.c:563 #, c-format msgid "%s error sending data to IRC server\n" msgstr "" -#: src/irc/irc-server.c:487 src/irc/irc-server.c:500 src/irc/irc-server.c:547 -#: src/irc/irc-server.c:560 +#: src/irc/irc-server.c:585 src/irc/irc-server.c:598 src/irc/irc-server.c:645 +#: src/irc/irc-server.c:658 #, c-format msgid "%s not enough memory for received IRC message\n" msgstr "" -#: src/irc/irc-server.c:672 +#: src/irc/irc-server.c:770 #, c-format msgid "%s Command \"%s\" failed!\n" msgstr "" -#: src/irc/irc-server.c:678 +#: src/irc/irc-server.c:776 #, c-format msgid "%s No command to execute!\n" msgstr "" -#: src/irc/irc-server.c:684 +#: src/irc/irc-server.c:782 #, c-format msgid "%s Unknown command: cmd=\"%s\", host=\"%s\", args=\"%s\"\n" msgstr "" -#: src/irc/irc-server.c:735 +#: src/irc/irc-server.c:833 #, c-format msgid "%s cannot read data from socket, disconnecting from server...\n" msgstr "" -#: src/irc/irc-server.c:816 +#: src/irc/irc-server.c:914 #, c-format msgid "%s: Reconnecting to server in %d seconds\n" msgstr "" -#: src/irc/irc-server.c:850 +#: src/irc/irc-server.c:948 #, c-format msgid "%s gnutls handshake failed\n" msgstr "" -#: src/irc/irc-server.c:867 +#: src/irc/irc-server.c:965 #, c-format msgid "%s proxy address \"%s\" not found\n" msgstr "" -#: src/irc/irc-server.c:871 +#: src/irc/irc-server.c:969 #, c-format msgid "%s address \"%s\" not found\n" msgstr "" -#: src/irc/irc-server.c:881 +#: src/irc/irc-server.c:979 #, c-format msgid "%s proxy IP address not found\n" msgstr "" -#: src/irc/irc-server.c:884 +#: src/irc/irc-server.c:982 #, c-format msgid "%s IP address not found\n" msgstr "" -#: src/irc/irc-server.c:893 +#: src/irc/irc-server.c:991 #, c-format msgid "%s proxy connection refused\n" msgstr "" -#: src/irc/irc-server.c:896 +#: src/irc/irc-server.c:994 #, c-format msgid "%s connection refused\n" msgstr "" -#: src/irc/irc-server.c:904 +#: src/irc/irc-server.c:1002 #, c-format msgid "" "%s proxy fails to establish connection to server (check username/password if " "used)\n" msgstr "" -#: src/irc/irc-server.c:1383 +#: src/irc/irc-server.c:1481 #, c-format msgid "" "%s cannot connect with SSL since WeeChat was not built with GNUtls support\n" msgstr "" -#: src/irc/irc-server.c:1392 +#: src/irc/irc-server.c:1490 #, c-format msgid "%s: connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "" -#: src/irc/irc-server.c:1398 +#: src/irc/irc-server.c:1496 #, c-format msgid "Connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "" -#: src/irc/irc-server.c:1408 +#: src/irc/irc-server.c:1506 #, c-format msgid "%s: connecting to server %s:%d%s%s...\n" msgstr "" -#: src/irc/irc-server.c:1412 +#: src/irc/irc-server.c:1510 #, c-format msgid "Connecting to server %s:%d%s%s...\n" msgstr "" -#: src/irc/irc-server.c:1430 +#: src/irc/irc-server.c:1528 #, c-format msgid "%s gnutls init error\n" msgstr "" -#: src/irc/irc-server.c:1445 +#: src/irc/irc-server.c:1543 #, c-format msgid "%s cannot create pipe\n" msgstr "" -#: src/irc/irc-server.c:1460 +#: src/irc/irc-server.c:1558 #, c-format msgid "%s cannot create socket\n" msgstr "" -#: src/irc/irc-server.c:1471 +#: src/irc/irc-server.c:1569 #, c-format msgid "%s cannot set socket option \"SO_REUSEADDR\"\n" msgstr "" -#: src/irc/irc-server.c:1482 +#: src/irc/irc-server.c:1580 #, c-format msgid "%s cannot set socket option \"SO_KEEPALIVE\"\n" msgstr "" -#: src/irc/irc-server.c:1513 +#: src/irc/irc-server.c:1611 #, c-format msgid "%s: Reconnecting to server...\n" msgstr "" -#: src/irc/irc-server.c:1563 src/irc/irc-server.c:1572 +#: src/irc/irc-server.c:1661 src/irc/irc-server.c:1670 msgid "Disconnected from server!\n" msgstr "" -#: src/irc/irc-channel.c:51 +#: src/irc/irc-channel.c:53 #, c-format msgid "%s cannot allocate new channel" msgstr "" @@ -1271,7 +1271,7 @@ msgstr "" msgid " (temporary server, will not be saved)" msgstr "" -#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3173 +#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3175 msgid "seconds" msgstr "" @@ -1279,7 +1279,7 @@ msgstr "" msgid "(hidden)" msgstr "" -#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4699 +#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4701 msgid "unknown" msgstr "" @@ -1288,7 +1288,7 @@ msgstr "" msgid "%s: using local hostname \"%s\"\n" msgstr "" -#: src/irc/irc-send.c:177 src/common/command.c:800 +#: src/irc/irc-send.c:177 src/common/command.c:808 #, 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:1392 src/common/command.c:1877 -#: src/common/command.c:2013 +#: src/common/command.c:1599 src/common/command.c:2097 +#: src/common/command.c:2236 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "" @@ -1343,8 +1343,8 @@ msgid "You have been invited to %s%s%s by %s%s\n" msgstr "" #: src/irc/irc-recv.c:376 src/irc/irc-recv.c:470 src/irc/irc-recv.c:1009 -#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3545 -#: src/irc/irc-recv.c:3566 src/irc/irc-recv.c:3626 src/irc/irc-recv.c:3697 +#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3547 +#: src/irc/irc-recv.c:3568 src/irc/irc-recv.c:3628 src/irc/irc-recv.c:3699 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "" @@ -1535,7 +1535,7 @@ msgstr "" msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "" -#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1214 +#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1217 #, c-format msgid "Private %s> %s" msgstr "" @@ -1584,12 +1584,12 @@ msgstr "" #: src/irc/irc-recv.c:1812 src/irc/irc-recv.c:1838 src/irc/irc-recv.c:1859 #: src/irc/irc-recv.c:1875 src/irc/irc-recv.c:1900 src/irc/irc-recv.c:1921 #: src/irc/irc-recv.c:1937 src/irc/irc-recv.c:1962 src/irc/irc-recv.c:1983 -#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2522 -#: src/irc/irc-recv.c:3904 src/irc/irc-recv.c:3919 src/irc/irc-recv.c:3934 -#: src/irc/irc-recv.c:3949 src/irc/irc-recv.c:3962 src/irc/irc-recv.c:4027 -#: src/irc/irc-recv.c:4041 src/irc/irc-recv.c:4275 src/irc/irc-recv.c:4333 -#: src/irc/irc-recv.c:4471 src/irc/irc-recv.c:4486 src/irc/irc-recv.c:4592 -#: src/irc/irc-recv.c:4606 +#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2524 +#: src/irc/irc-recv.c:3906 src/irc/irc-recv.c:3921 src/irc/irc-recv.c:3936 +#: src/irc/irc-recv.c:3951 src/irc/irc-recv.c:3964 src/irc/irc-recv.c:4029 +#: src/irc/irc-recv.c:4043 src/irc/irc-recv.c:4277 src/irc/irc-recv.c:4335 +#: src/irc/irc-recv.c:4473 src/irc/irc-recv.c:4488 src/irc/irc-recv.c:4594 +#: src/irc/irc-recv.c:4608 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "" @@ -1601,201 +1601,201 @@ msgstr "" #: src/irc/irc-recv.c:2228 #, c-format -msgid "%s%s %s(%s%s%s)%s has quit %s(%s%s%s)\n" +msgid "%s%s %s(%s%s%s)%s has quit" msgstr "" -#: src/irc/irc-recv.c:2358 +#: src/irc/irc-recv.c:2360 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "" -#: src/irc/irc-recv.c:2387 +#: src/irc/irc-recv.c:2389 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "" -#: src/irc/irc-recv.c:2398 +#: src/irc/irc-recv.c:2400 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "" -#: src/irc/irc-recv.c:2508 +#: src/irc/irc-recv.c:2510 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "" -#: src/irc/irc-recv.c:2563 +#: src/irc/irc-recv.c:2565 #, c-format msgid "%s%s%s is away: %s\n" msgstr "" -#: src/irc/irc-recv.c:2648 +#: src/irc/irc-recv.c:2650 msgid "Users online: " msgstr "" -#: src/irc/irc-recv.c:3024 +#: src/irc/irc-recv.c:3026 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "" -#: src/irc/irc-recv.c:3145 +#: src/irc/irc-recv.c:3147 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "" -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "days" msgstr "" -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "day" msgstr "" -#: src/irc/irc-recv.c:3161 +#: src/irc/irc-recv.c:3163 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hours" msgstr "" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hour" msgstr "" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minutes" msgstr "" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minute" msgstr "" -#: src/irc/irc-recv.c:3173 +#: src/irc/irc-recv.c:3175 msgid "second" msgstr "" -#: src/irc/irc-recv.c:3557 +#: src/irc/irc-recv.c:3559 #, c-format msgid "No topic set for %s%s\n" msgstr "" -#: src/irc/irc-recv.c:3613 +#: src/irc/irc-recv.c:3615 #, c-format msgid "Topic for %s%s%s is: \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:3636 src/irc/irc-recv.c:3724 src/irc/irc-recv.c:3779 +#: src/irc/irc-recv.c:3638 src/irc/irc-recv.c:3726 src/irc/irc-recv.c:3781 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:3686 +#: src/irc/irc-recv.c:3688 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "" -#: src/irc/irc-recv.c:3706 +#: src/irc/irc-recv.c:3708 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:3715 src/irc/irc-recv.c:3788 +#: src/irc/irc-recv.c:3717 src/irc/irc-recv.c:3790 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:3764 +#: src/irc/irc-recv.c:3766 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "" -#: src/irc/irc-recv.c:3824 +#: src/irc/irc-recv.c:3826 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "" -#: src/irc/irc-recv.c:4321 +#: src/irc/irc-recv.c:4323 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:4379 +#: src/irc/irc-recv.c:4381 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "" -#: src/irc/irc-recv.c:4400 +#: src/irc/irc-recv.c:4402 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nicks" msgstr "" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nick" msgstr "" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "ops" msgstr "" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "op" msgstr "" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfops" msgstr "" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfop" msgstr "" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voices" msgstr "" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voice" msgstr "" -#: src/irc/irc-recv.c:4425 +#: src/irc/irc-recv.c:4427 msgid "normal" msgstr "" -#: src/irc/irc-recv.c:4526 +#: src/irc/irc-recv.c:4528 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "" -#: src/irc/irc-recv.c:4561 +#: src/irc/irc-recv.c:4563 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "" -#: src/irc/irc-recv.c:4653 +#: src/irc/irc-recv.c:4655 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:4665 +#: src/irc/irc-recv.c:4667 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:4677 +#: src/irc/irc-recv.c:4679 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " "server!\n" msgstr "" -#: src/irc/irc-recv.c:4687 +#: src/irc/irc-recv.c:4689 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -1946,19 +1946,19 @@ msgstr "" msgid "%s cannot send DCC\n" msgstr "" -#: src/irc/irc-dcc.c:1132 +#: src/irc/irc-dcc.c:1131 #, c-format msgid "%s error sending data to \"%s\" via DCC CHAT\n" msgstr "" -#: src/irc/irc-dcc.c:1411 +#: src/irc/irc-dcc.c:1416 #, c-format msgid "" "%s DCC failed because blocksize is too big. Check value of \"dcc_blocksize\" " "option, max is %d.\n" msgstr "" -#: src/irc/irc-dcc.c:1486 +#: src/irc/irc-dcc.c:1491 #, c-format msgid "Aborting active DCC: \"%s\" from %s\n" msgstr "" @@ -2076,13 +2076,13 @@ msgstr "" msgid "%s plugin \"%s\" not found\n" msgstr "" -#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1698 +#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1833 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "" -#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:1908 -#: src/common/weeconfig.c:2110 +#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:2043 +#: src/common/weeconfig.c:2249 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "" @@ -2112,68 +2112,68 @@ msgstr "" msgid "%s lag is high, disconnecting from server...\n" msgstr "" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "bytes" msgstr "" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Kb" msgstr "" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Mb" msgstr "" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Gb" msgstr "" -#: src/gui/curses/gui-display.c:1600 +#: src/gui/curses/gui-display.c:1594 msgid "ETA" msgstr "" -#: src/gui/curses/gui-display.c:1945 +#: src/gui/curses/gui-display.c:1941 msgid "<servers>" msgstr "" -#: src/gui/curses/gui-display.c:1957 +#: src/gui/curses/gui-display.c:1953 msgid "(away)" msgstr "" -#: src/gui/curses/gui-display.c:2091 +#: src/gui/curses/gui-display.c:2087 msgid "[not connected] " msgstr "" -#: src/gui/curses/gui-display.c:2101 +#: src/gui/curses/gui-display.c:2097 msgid "Act: " msgstr "" -#: src/gui/curses/gui-display.c:2189 +#: src/gui/curses/gui-display.c:2185 #, c-format msgid "Lag: %.1f" msgstr "" -#: src/gui/curses/gui-display.c:2205 +#: src/gui/curses/gui-display.c:2201 msgid "-MORE-" msgstr "" -#: src/gui/curses/gui-display.c:2378 +#: src/gui/curses/gui-display.c:2374 msgid " [A] Accept" msgstr "" -#: src/gui/curses/gui-display.c:2379 src/gui/curses/gui-display.c:2383 +#: src/gui/curses/gui-display.c:2375 src/gui/curses/gui-display.c:2379 msgid " [C] Cancel" msgstr "" -#: src/gui/curses/gui-display.c:2388 +#: src/gui/curses/gui-display.c:2384 msgid " [R] Remove" msgstr "" -#: src/gui/curses/gui-display.c:2392 +#: src/gui/curses/gui-display.c:2388 msgid " [P] Purge old DCC" msgstr "" -#: src/gui/curses/gui-display.c:2393 +#: src/gui/curses/gui-display.c:2389 msgid " [Q] Close DCC view" msgstr "" @@ -2181,11 +2181,11 @@ msgstr "" msgid "server" msgstr "" -#: src/gui/gui-common.c:696 +#: src/gui/gui-common.c:716 msgid "Not enough memory for new line\n" msgstr "" -#: src/gui/gui-common.c:1047 +#: src/gui/gui-common.c:1054 msgid "Not enough memory for infobar message\n" msgstr "" @@ -2349,7 +2349,7 @@ msgstr "" msgid "grab a key" msgstr "" -#: src/gui/gui-keyboard.c:434 src/common/command.c:1892 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2112 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "" @@ -2364,30 +2364,30 @@ msgstr "" msgid "%s not enough memory for key binding\n" msgstr "" -#: src/common/command.c:44 +#: src/common/command.c:45 msgid "create an alias for a command" msgstr "" -#: src/common/command.c:45 +#: src/common/command.c:46 msgid "[alias_name [command [arguments]]" msgstr "" -#: src/common/command.c:46 +#: src/common/command.c:47 msgid "" "alias_name: name of alias\n" "command: command name (WeeChat or IRC command, without first '/')\n" "arguments: arguments for command" msgstr "" -#: src/common/command.c:49 +#: src/common/command.c:50 msgid "manage buffers" msgstr "" -#: src/common/command.c:50 +#: src/common/command.c:51 msgid "[action | number | [[server] [channel]]]" msgstr "" -#: src/common/command.c:51 +#: src/common/command.c:52 msgid "" "action: action to do:\n" " move: move buffer in the list (may be relative, for example -1)\n" @@ -2399,88 +2399,103 @@ msgid "" "number: jump to buffer by number" msgstr "" -#: src/common/command.c:59 +#: src/common/command.c:60 +msgid "change charset for server or channel" +msgstr "" + +#: src/common/command.c:61 +msgid "[(decode_iso | decode_utf | encode) charset]" +msgstr "" + +#: src/common/command.c:62 +msgid "" +"decode_iso: charset used for decoding ISO\n" +"decode_utf: charset used for decoding UTF\n" +" encode: charset used for encoding messages" +msgstr "" + +#: src/common/command.c:66 msgid "clear window(s)" msgstr "" -#: src/common/command.c:60 +#: src/common/command.c:67 msgid "[-all]" msgstr "" -#: src/common/command.c:61 +#: src/common/command.c:68 msgid "-all: clear all windows" msgstr "" -#: src/common/command.c:63 +#: src/common/command.c:70 msgid "connect to a server" msgstr "" -#: src/common/command.c:64 src/common/command.c:68 +#: src/common/command.c:71 src/common/command.c:75 msgid "[servername]" msgstr "" -#: src/common/command.c:65 +#: src/common/command.c:72 msgid "servername: server name to connect" msgstr "" -#: src/common/command.c:67 +#: src/common/command.c:74 msgid "disconnect from a server" msgstr "" -#: src/common/command.c:69 +#: src/common/command.c:76 msgid "servername: server name to disconnect" msgstr "" -#: src/common/command.c:71 +#: src/common/command.c:78 msgid "print debug messages" msgstr "" -#: src/common/command.c:72 +#: src/common/command.c:79 msgid "dump | windows" msgstr "" -#: src/common/command.c:73 +#: src/common/command.c:80 msgid "" "dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" "windows: display windows tree" msgstr "" -#: src/common/command.c:76 +#: src/common/command.c:83 msgid "display help about commands" msgstr "" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "[command]" msgstr "" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "command: name of a WeeChat or IRC command" msgstr "" -#: src/common/command.c:79 +#: src/common/command.c:86 msgid "show buffer command history" msgstr "" -#: src/common/command.c:80 +#: src/common/command.c:87 msgid "[clear | value]" msgstr "" -#: src/common/command.c:81 +#: src/common/command.c:88 msgid "" "clear: clear history\n" "value: number of history entries to show" msgstr "" -#: src/common/command.c:84 +#: src/common/command.c:91 msgid "ignore IRC messages and/or hosts" msgstr "" -#: src/common/command.c:85 +#: src/common/command.c:92 msgid "[mask [[type | command] [channel [server]]]]" msgstr "" -#: src/common/command.c:86 +#: src/common/command.c:93 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2492,15 +2507,15 @@ msgid "" "Without argument, /ignore command lists all defined ignore." msgstr "" -#: src/common/command.c:94 +#: src/common/command.c:101 msgid "bind/unbind keys" msgstr "" -#: src/common/command.c:95 +#: src/common/command.c:102 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "" -#: src/common/command.c:96 +#: src/common/command.c:103 msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" @@ -2510,26 +2525,26 @@ msgid "" "binding (use carefully!)" msgstr "" -#: src/common/command.c:101 +#: src/common/command.c:108 msgid "list/load/unload plugins" msgstr "" -#: src/common/command.c:102 +#: src/common/command.c:109 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "" -#: src/common/command.c:103 +#: src/common/command.c:110 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" "Without argument, /plugin command lists all loaded plugins." msgstr "" -#: src/common/command.c:106 +#: src/common/command.c:113 msgid "list, add or remove servers" msgstr "" -#: src/common/command.c:107 +#: src/common/command.c:114 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2537,7 +2552,7 @@ msgid "" "servername]" msgstr "" -#: src/common/command.c:112 +#: src/common/command.c:119 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2552,54 +2567,54 @@ msgid "" "realname: real name of user" msgstr "" -#: src/common/command.c:124 +#: src/common/command.c:131 msgid "save config to disk" msgstr "" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "[file]" msgstr "" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "file: filename for writing config" msgstr "" -#: src/common/command.c:127 +#: src/common/command.c:134 msgid "set config parameters" msgstr "" -#: src/common/command.c:128 +#: src/common/command.c:135 msgid "[option [ = value]]" msgstr "" -#: src/common/command.c:129 +#: src/common/command.c:136 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:133 +#: src/common/command.c:140 msgid "remove an alias" msgstr "" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name" msgstr "" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name: name of alias to remove" msgstr "" -#: src/common/command.c:136 +#: src/common/command.c:143 msgid "unignore IRC messages and/or hosts" msgstr "" -#: src/common/command.c:137 +#: src/common/command.c:144 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "" -#: src/common/command.c:138 +#: src/common/command.c:145 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2612,33 +2627,33 @@ msgid "" "Without argument, /unignore command lists all defined ignore." msgstr "" -#: src/common/command.c:147 +#: src/common/command.c:154 msgid "upgrade WeeChat without disconnecting from servers" msgstr "" -#: src/common/command.c:151 +#: src/common/command.c:158 msgid "show WeeChat uptime" msgstr "" -#: src/common/command.c:152 +#: src/common/command.c:159 msgid "[-o]" msgstr "" -#: src/common/command.c:153 +#: src/common/command.c:160 msgid "-o: send uptime on current channel as an IRC message" msgstr "" -#: src/common/command.c:155 +#: src/common/command.c:162 msgid "manage windows" msgstr "" -#: src/common/command.c:156 +#: src/common/command.c:163 msgid "" "[list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge " "[all]]" msgstr "" -#: src/common/command.c:157 +#: src/common/command.c:164 #, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2655,540 +2670,557 @@ msgid "" "create a new window with size = current_size / 4" msgstr "" -#: src/common/command.c:310 +#: src/common/command.c:317 #, c-format msgid "%s alias or command \"%s\" already exists!\n" msgstr "" -#: src/common/command.c:320 +#: src/common/command.c:327 #, c-format msgid "%s alias cannot run another alias!\n" msgstr "" -#: src/common/command.c:327 +#: src/common/command.c:334 #, c-format msgid "%s target command \"/%s\" does not exist!\n" msgstr "" -#: src/common/command.c:565 +#: src/common/command.c:572 #, c-format msgid "%s wrong argument count for %s command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:577 +#: src/common/command.c:584 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:599 src/common/command.c:668 +#: src/common/command.c:606 src/common/command.c:675 #, c-format msgid "%s command \"%s\" failed\n" msgstr "" -#: src/common/command.c:624 +#: src/common/command.c:631 #, c-format msgid "%s wrong argument count for IRC command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:636 +#: src/common/command.c:643 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:651 +#: src/common/command.c:658 #, c-format msgid "%s command \"%s\" needs a server connection!\n" msgstr "" -#: src/common/command.c:711 +#: src/common/command.c:719 #, c-format msgid "%s unknown command \"%s\" (type /help for help)\n" msgstr "" -#: src/common/command.c:845 +#: src/common/command.c:853 msgid "This window is not a channel!\n" msgstr "" -#: src/common/command.c:873 src/common/command.c:904 src/common/command.c:1019 +#: src/common/command.c:884 src/common/command.c:915 src/common/command.c:1030 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "" -#: src/common/command.c:880 +#: src/common/command.c:891 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "" -#: src/common/command.c:889 +#: src/common/command.c:900 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "" -#: src/common/command.c:895 +#: src/common/command.c:906 #, c-format msgid "Failed to create alias \"%s\" => \"%s\" (not enough memory)\n" msgstr "" -#: src/common/command.c:915 +#: src/common/command.c:926 msgid "List of aliases:\n" msgstr "" -#: src/common/command.c:929 +#: src/common/command.c:940 msgid "No alias defined.\n" msgstr "" -#: src/common/command.c:948 +#: src/common/command.c:959 #, c-format msgid "%sServer: %s%s\n" msgstr "" -#: src/common/command.c:953 +#: src/common/command.c:964 #, c-format msgid "%snot connected\n" msgstr "" -#: src/common/command.c:957 +#: src/common/command.c:968 #, c-format msgid "%sChannel: %s%s %s(server: %s%s%s)\n" msgstr "" -#: src/common/command.c:966 +#: src/common/command.c:977 #, c-format msgid "%sPrivate with: %s%s %s(server: %s%s%s)\n" msgstr "" -#: src/common/command.c:975 +#: src/common/command.c:986 #, c-format msgid "%sunknown\n" msgstr "" -#: src/common/command.c:998 +#: src/common/command.c:1009 msgid "Opened buffers:\n" msgstr "" -#: src/common/command.c:1042 +#: src/common/command.c:1053 #, c-format msgid "%s incorrect buffer number\n" msgstr "" -#: src/common/command.c:1058 +#: src/common/command.c:1069 #, c-format msgid "%s can not close the single buffer\n" msgstr "" -#: src/common/command.c:1068 +#: src/common/command.c:1079 #, c-format msgid "%s can not close server buffer while channels are opened\n" msgstr "" -#: src/common/command.c:1117 +#: src/common/command.c:1128 msgid "Notify levels: " msgstr "" -#: src/common/command.c:1146 src/common/command.c:1194 +#: src/common/command.c:1157 src/common/command.c:1205 #, c-format msgid "%s incorrect notify level (must be between %d and %d)\n" msgstr "" -#: src/common/command.c:1155 +#: src/common/command.c:1166 #, c-format msgid "%s incorrect buffer for notify (must be channel or private)\n" msgstr "" -#: src/common/command.c:1164 +#: src/common/command.c:1175 #, c-format msgid "New notify level for %s%s%s: %s%d %s" msgstr "" -#: src/common/command.c:1174 +#: src/common/command.c:1185 msgid "(hotlist: never)\n" msgstr "" -#: src/common/command.c:1177 +#: src/common/command.c:1188 msgid "(hotlist: highlights)\n" msgstr "" -#: src/common/command.c:1180 +#: src/common/command.c:1191 msgid "(hotlist: highlights + messages)\n" msgstr "" -#: src/common/command.c:1183 +#: src/common/command.c:1194 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "" -#: src/common/command.c:1280 +#: src/common/command.c:1293 #, c-format -msgid "unknown parameter \"%s\" for \"%s\" command\n" +msgid "Charsets for server %s%s%s: " msgstr "" -#: src/common/command.c:1310 +#: src/common/command.c:1301 #, c-format -msgid "%s already connected to server \"%s\"!\n" +msgid "Charsets for channel %s%s%s: " msgstr "" -#: src/common/command.c:1318 +#: src/common/command.c:1309 #, c-format -msgid "%s currently connecting to server \"%s\"!\n" +msgid "Charsets for private %s%s%s: " msgstr "" -#: src/common/command.c:1336 src/common/command.c:1456 +#: src/common/command.c:1337 src/common/command.c:1367 +#: src/common/command.c:1397 #, c-format -msgid "%s server not found\n" +msgid " (inherited: \"%s%s%s\")" msgstr "" -#: src/common/command.c:1411 src/common/command.c:2006 -#: src/common/command.c:3047 src/common/command.c:3090 +#: src/common/command.c:1461 src/common/command.c:1484 +#: src/common/command.c:1618 src/common/command.c:2229 +#: src/common/command.c:3286 src/common/command.c:3329 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "" -#: src/common/command.c:1440 +#: src/common/command.c:1514 +#, c-format +msgid "%s already connected to server \"%s\"!\n" +msgstr "" + +#: src/common/command.c:1522 +#, c-format +msgid "%s currently connecting to server \"%s\"!\n" +msgstr "" + +#: src/common/command.c:1540 src/common/command.c:1663 +#, c-format +msgid "%s server not found\n" +msgstr "" + +#: src/common/command.c:1647 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1448 +#: src/common/command.c:1655 msgid "Auto-reconnection is cancelled\n" msgstr "" -#: src/common/command.c:1479 src/common/weechat.c:400 +#: src/common/command.c:1689 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "" -#: src/common/command.c:1489 src/common/weechat.c:420 +#: src/common/command.c:1699 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "" -#: src/common/command.c:1503 +#: src/common/command.c:1713 msgid "Plugin commands:\n" msgstr "" -#: src/common/command.c:1619 +#: src/common/command.c:1829 #, c-format msgid "No help available, \"%s\" is an unknown command\n" msgstr "" -#: src/common/command.c:1678 +#: src/common/command.c:1895 #, c-format msgid "%son %s%s%s/%s%s%s:%s ignoring %s%s%s from %s%s\n" msgstr "" -#: src/common/command.c:1712 +#: src/common/command.c:1929 msgid "List of ignore:\n" msgstr "" -#: src/common/command.c:1729 +#: src/common/command.c:1946 msgid "No ignore defined.\n" msgstr "" -#: src/common/command.c:1755 +#: src/common/command.c:1972 msgid "New ignore:" msgstr "" -#: src/common/command.c:1775 +#: src/common/command.c:1992 #, c-format msgid "New key binding: %s" msgstr "" -#: src/common/command.c:1809 +#: src/common/command.c:2029 msgid "Key bindings:\n" msgstr "" -#: src/common/command.c:1823 +#: src/common/command.c:2043 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "" -#: src/common/command.c:1829 +#: src/common/command.c:2049 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "" -#: src/common/command.c:1837 src/common/weechat.c:452 +#: src/common/command.c:2057 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "" -#: src/common/command.c:1857 +#: src/common/command.c:2077 msgid "Default key bindings restored\n" msgstr "" -#: src/common/command.c:1863 +#: src/common/command.c:2083 #, c-format msgid "%s \"-yes\" argument is required for keys reset (securuty reason)\n" msgstr "" -#: src/common/command.c:1919 +#: src/common/command.c:2142 msgid "Plugins loaded:\n" msgstr "" -#: src/common/command.c:1935 +#: src/common/command.c:2158 msgid " message handlers:\n" msgstr "" -#: src/common/command.c:1944 +#: src/common/command.c:2167 #, c-format msgid " IRC(%s)\n" msgstr "" -#: src/common/command.c:1951 +#: src/common/command.c:2174 msgid " (no message handler)\n" msgstr "" -#: src/common/command.c:1956 +#: src/common/command.c:2179 msgid " command handlers:\n" msgstr "" -#: src/common/command.c:1977 +#: src/common/command.c:2200 msgid " (no command handler)\n" msgstr "" -#: src/common/command.c:1983 +#: src/common/command.c:2206 msgid " (no plugin)\n" msgstr "" -#: src/common/command.c:2019 +#: src/common/command.c:2242 msgid "" "Command \"plugin\" is not available, WeeChat was built without plugins " "support.\n" msgstr "" -#: src/common/command.c:2067 +#: src/common/command.c:2293 msgid "No server.\n" msgstr "" -#: src/common/command.c:2078 +#: src/common/command.c:2304 #, c-format msgid "Server '%s' not found.\n" msgstr "" -#: src/common/command.c:2090 +#: src/common/command.c:2316 #, c-format msgid "%s missing servername for \"%s\" command\n" msgstr "" -#: src/common/command.c:2098 +#: src/common/command.c:2324 #, c-format msgid "%s too much arguments for \"%s\" command, ignoring arguments\n" msgstr "" -#: src/common/command.c:2117 +#: src/common/command.c:2343 #, c-format msgid "%s server \"%s\" not found for \"%s\" command\n" msgstr "" -#: src/common/command.c:2125 +#: src/common/command.c:2351 #, 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:2145 +#: src/common/command.c:2371 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "" -#: src/common/command.c:2164 +#: src/common/command.c:2390 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "" -#: src/common/command.c:2174 +#: src/common/command.c:2400 #, c-format msgid "%s server \"%s\" already exists, can't create it!\n" msgstr "" -#: src/common/command.c:2203 src/common/command.c:2231 -#: src/common/command.c:2244 src/common/command.c:2270 +#: src/common/command.c:2429 src/common/command.c:2457 +#: src/common/command.c:2470 src/common/command.c:2496 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2216 +#: src/common/command.c:2442 #, c-format msgid "%s missing nick(s) for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2257 +#: src/common/command.c:2483 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2292 +#: src/common/command.c:2519 #, c-format msgid "Server %s%s%s created\n" msgstr "" -#: src/common/command.c:2301 +#: src/common/command.c:2528 #, c-format msgid "%s unable to create server\n" msgstr "" -#: src/common/command.c:2360 +#: src/common/command.c:2587 msgid "(unknown)" msgstr "" -#: src/common/command.c:2383 +#: src/common/command.c:2610 #, c-format msgid "%s(password hidden) " msgstr "" -#: src/common/command.c:2473 +#: src/common/command.c:2706 #, c-format msgid "%s server \"%s\" not found\n" msgstr "" -#: src/common/command.c:2506 src/common/command.c:2554 +#: src/common/command.c:2739 src/common/command.c:2787 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "" -#: src/common/command.c:2511 src/common/command.c:2546 +#: src/common/command.c:2744 src/common/command.c:2779 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "" -#: src/common/command.c:2527 +#: src/common/command.c:2760 #, c-format msgid "%s option \"%s\" can not be changed while WeeChat is running\n" msgstr "" -#: src/common/command.c:2637 +#: src/common/command.c:2870 #, c-format msgid "No config option found with \"%s\"\n" msgstr "" -#: src/common/command.c:2640 +#: src/common/command.c:2873 msgid "No config option found\n" msgstr "" -#: src/common/command.c:2647 +#: src/common/command.c:2880 #, c-format msgid "%sDetail:\n" msgstr "" -#: src/common/command.c:2652 src/common/weechat.c:336 +#: src/common/command.c:2885 src/common/weechat.c:336 #, c-format msgid " . type boolean (values: 'on' or 'off')\n" msgstr "" -#: src/common/command.c:2653 src/common/command.c:2676 -#: src/common/command.c:2682 src/common/command.c:2688 +#: src/common/command.c:2886 src/common/command.c:2909 +#: src/common/command.c:2915 src/common/command.c:2921 #: 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:2658 src/common/weechat.c:342 +#: src/common/command.c:2891 src/common/weechat.c:342 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr "" -#: src/common/command.c:2661 src/common/weechat.c:345 +#: src/common/command.c:2894 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr "" -#: src/common/command.c:2665 src/common/weechat.c:349 +#: src/common/command.c:2898 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr "" -#: src/common/command.c:2678 src/common/command.c:2684 -#: src/common/command.c:2690 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2911 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "" -#: src/common/command.c:2681 src/common/weechat.c:365 +#: src/common/command.c:2914 src/common/weechat.c:365 #, c-format msgid " . type color (Curses or Gtk color, look at WeeChat doc)\n" msgstr "" -#: src/common/command.c:2687 src/common/weechat.c:371 +#: src/common/command.c:2920 src/common/weechat.c:371 #, c-format msgid " . type string (any string)\n" msgstr "" -#: src/common/command.c:2693 src/common/weechat.c:377 +#: src/common/command.c:2926 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr "" -#: src/common/command.c:2704 +#: src/common/command.c:2937 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "" -#: src/common/command.c:2707 +#: src/common/command.c:2940 msgid "config option(s) found\n" msgstr "" -#: src/common/command.c:2728 +#: src/common/command.c:2964 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "" -#: src/common/command.c:2738 +#: src/common/command.c:2974 #, c-format msgid "Alias \"%s\" removed\n" msgstr "" -#: src/common/command.c:2794 +#: src/common/command.c:3030 msgid "ignore were removed.\n" msgstr "" -#: src/common/command.c:2796 +#: src/common/command.c:3032 msgid "ignore was removed.\n" msgstr "" -#: src/common/command.c:2801 +#: src/common/command.c:3037 #, c-format msgid "%s no ignore found\n" msgstr "" -#: src/common/command.c:2832 +#: src/common/command.c:3069 #, c-format msgid "%s can't upgrade: connection to at least one server is pending" msgstr "" -#: src/common/command.c:2848 +#: src/common/command.c:3084 msgid "Upgrading WeeChat...\n" msgstr "" -#: src/common/command.c:2856 +#: src/common/command.c:3091 #, c-format msgid "%s unable to save session in file\n" msgstr "" -#: src/common/command.c:2878 +#: src/common/command.c:3120 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:2914 +#: src/common/command.c:3156 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "" -#: src/common/command.c:2931 +#: src/common/command.c:3170 #, 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:2971 +#: src/common/command.c:3210 msgid "Opened windows:\n" msgstr "" -#: src/common/command.c:3058 +#: src/common/command.c:3297 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3224,12 +3256,12 @@ msgstr "" msgid "%s channel \"%s\" not found (FIFO pipe data)\n" msgstr "" -#: src/common/fifo.c:251 src/common/fifo.c:253 +#: src/common/fifo.c:252 src/common/fifo.c:254 #, c-format msgid "%s error reading FIFO pipe, closing it\n" msgstr "" -#: src/common/fifo.c:295 +#: src/common/fifo.c:296 msgid "FIFO pipe is closed\n" msgstr "" @@ -3254,13 +3286,13 @@ msgstr "" msgid "**** End of log " msgstr "" -#: src/common/session.c:432 +#: src/common/session.c:435 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" msgstr "" -#: src/common/session.c:437 +#: src/common/session.c:440 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3268,275 +3300,275 @@ msgid "" "Be careful, private info may be in these files.\n" msgstr "" -#: src/common/session.c:461 src/common/session.c:495 src/common/session.c:552 +#: src/common/session.c:464 src/common/session.c:498 src/common/session.c:555 #, c-format msgid "wrong type in file (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:564 +#: src/common/session.c:567 msgid "invalid length for a buffer" msgstr "" -#: src/common/session.c:589 +#: src/common/session.c:592 msgid "object read error" msgstr "" -#: src/common/session.c:594 +#: src/common/session.c:597 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:604 +#: src/common/session.c:607 msgid "type read error" msgstr "" -#: src/common/session.c:609 +#: src/common/session.c:612 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:688 +#: src/common/session.c:691 msgid "server name not found" msgstr "" -#: src/common/session.c:693 +#: src/common/session.c:696 #, c-format msgid "session: loading server \"%s\"\n" msgstr "" -#: src/common/session.c:697 +#: src/common/session.c:700 msgid "server found, updating values\n" msgstr "" -#: src/common/session.c:700 +#: src/common/session.c:703 msgid "server not found, creating new one\n" msgstr "" -#: src/common/session.c:705 +#: src/common/session.c:708 msgid "can't create new server" msgstr "" -#: src/common/session.c:719 +#: src/common/session.c:722 msgid "unexpected end of file (reading server)" msgstr "" -#: src/common/session.c:836 +#: src/common/session.c:848 #, c-format msgid "session: warning: ignoring value from server (object id: %d)\n" msgstr "" -#: src/common/session.c:858 +#: src/common/session.c:870 msgid "channel found without server" msgstr "" -#: src/common/session.c:865 +#: src/common/session.c:877 msgid "channel type not found" msgstr "" -#: src/common/session.c:873 +#: src/common/session.c:885 msgid "channel name not found" msgstr "" -#: src/common/session.c:878 +#: src/common/session.c:890 #, c-format msgid "session: loading channel \"%s\"\n" msgstr "" -#: src/common/session.c:886 +#: src/common/session.c:898 msgid "can't create new channel" msgstr "" -#: src/common/session.c:896 +#: src/common/session.c:908 msgid "unexpected end of file (reading channel)" msgstr "" -#: src/common/session.c:924 +#: src/common/session.c:936 #, c-format msgid "session: warning: ignoring value from channel (object id: %d)\n" msgstr "" -#: src/common/session.c:947 +#: src/common/session.c:959 msgid "nick found without channel" msgstr "" -#: src/common/session.c:955 +#: src/common/session.c:967 msgid "nick name not found" msgstr "" -#: src/common/session.c:965 +#: src/common/session.c:977 msgid "can't create new nick" msgstr "" -#: src/common/session.c:975 +#: src/common/session.c:987 msgid "unexpected end of file (reading nick)" msgstr "" -#: src/common/session.c:991 +#: src/common/session.c:1003 #, c-format msgid "session: warning: ignoring value from nick (object id: %d)\n" msgstr "" -#: src/common/session.c:1017 +#: src/common/session.c:1029 msgid "can't create new DCC" msgstr "" -#: src/common/session.c:1021 +#: src/common/session.c:1033 msgid "session: loading DCC\n" msgstr "" -#: src/common/session.c:1031 +#: src/common/session.c:1043 msgid "unexpected end of file (reading DCC)" msgstr "" -#: src/common/session.c:1050 +#: src/common/session.c:1062 msgid "server not found for DCC" msgstr "" -#: src/common/session.c:1059 +#: src/common/session.c:1071 msgid "DCC with channel but without server" msgstr "" -#: src/common/session.c:1071 +#: src/common/session.c:1083 msgid "channel not found for DCC" msgstr "" -#: src/common/session.c:1145 +#: src/common/session.c:1157 #, c-format msgid "session: warning: ignoring value from DCC (object id: %d)\n" msgstr "" -#: src/common/session.c:1165 +#: src/common/session.c:1177 msgid "session: loading buffer history\n" msgstr "" -#: src/common/session.c:1167 +#: src/common/session.c:1179 msgid "session: loading global history\n" msgstr "" -#: src/common/session.c:1175 +#: src/common/session.c:1187 msgid "unexpected end of file (reading history)" msgstr "" -#: src/common/session.c:1195 +#: src/common/session.c:1207 #, c-format msgid "session: warning: ignoring value from history (object id: %d)\n" msgstr "" -#: src/common/session.c:1221 +#: src/common/session.c:1233 msgid "server name not found for buffer" msgstr "" -#: src/common/session.c:1229 +#: src/common/session.c:1241 msgid "channel name not found for buffer" msgstr "" -#: src/common/session.c:1236 +#: src/common/session.c:1248 msgid "dcc flag not found for buffer" msgstr "" -#: src/common/session.c:1241 +#: src/common/session.c:1253 #, c-format msgid "session: loading buffer (server: %s, channel: %s, dcc: %d)\n" msgstr "" -#: src/common/session.c:1252 +#: src/common/session.c:1264 msgid "server not found for buffer" msgstr "" -#: src/common/session.c:1262 +#: src/common/session.c:1274 msgid "channel not found for buffer" msgstr "" -#: src/common/session.c:1270 +#: src/common/session.c:1282 msgid "can't create new buffer" msgstr "" -#: src/common/session.c:1283 +#: src/common/session.c:1295 msgid "unexpected end of file (reading buffer)" msgstr "" -#: src/common/session.c:1293 +#: src/common/session.c:1305 #, c-format msgid "session: warning: ignoring value from buffer (object id: %d)\n" msgstr "" -#: src/common/session.c:1315 +#: src/common/session.c:1327 msgid "line found without buffer" msgstr "" -#: src/common/session.c:1323 +#: src/common/session.c:1335 msgid "can't create new line" msgstr "" -#: src/common/session.c:1333 +#: src/common/session.c:1345 msgid "unexpected end of file (reading line)" msgstr "" -#: src/common/session.c:1364 +#: src/common/session.c:1376 #, c-format msgid "session: warning: ignoring value from line (object id: %d)\n" msgstr "" -#: src/common/session.c:1394 +#: src/common/session.c:1406 msgid "session file not found" msgstr "" -#: src/common/session.c:1401 +#: src/common/session.c:1413 msgid "signature not found" msgstr "" -#: src/common/session.c:1406 +#: src/common/session.c:1418 msgid "bad session signature" msgstr "" -#: src/common/session.c:1417 +#: src/common/session.c:1429 msgid "object id not found" msgstr "" -#: src/common/session.c:1425 +#: src/common/session.c:1437 msgid "failed to load server" msgstr "" -#: src/common/session.c:1432 +#: src/common/session.c:1444 msgid "failed to load channel" msgstr "" -#: src/common/session.c:1439 +#: src/common/session.c:1451 msgid "failed to load nick" msgstr "" -#: src/common/session.c:1446 +#: src/common/session.c:1458 msgid "failed to load DCC" msgstr "" -#: src/common/session.c:1453 +#: src/common/session.c:1465 msgid "failed to load history" msgstr "" -#: src/common/session.c:1460 +#: src/common/session.c:1472 msgid "failed to load buffer" msgstr "" -#: src/common/session.c:1467 +#: src/common/session.c:1479 msgid "failed to load line" msgstr "" -#: src/common/session.c:1472 +#: src/common/session.c:1484 #, c-format msgid "ignoring object (id: %d)\n" msgstr "" -#: src/common/session.c:1476 +#: src/common/session.c:1488 #, c-format msgid "failed to ignore object (id: %d)" msgstr "" -#: src/common/session.c:1499 +#: src/common/session.c:1512 #, c-format msgid "%s can't delete session file (%s)\n" msgstr "" -#: src/common/session.c:1505 +#: src/common/session.c:1518 msgid "Upgrade completed successfully\n" msgstr "" @@ -3605,52 +3637,52 @@ msgstr "" msgid "%s invalid syntax for IRC server ('%s'), ignored\n" msgstr "" -#: src/common/weechat.c:588 +#: src/common/weechat.c:589 #, c-format msgid "%s unable to create server ('%s'), ignored\n" msgstr "" -#: src/common/weechat.c:597 +#: src/common/weechat.c:598 #, c-format msgid "%s unknown parameter '%s', ignored\n" msgstr "" -#: src/common/weechat.c:617 +#: src/common/weechat.c:618 #, c-format msgid "%s cannot create directory \"%s\"\n" msgstr "" -#: src/common/weechat.c:638 +#: src/common/weechat.c:639 #, c-format msgid "%s unable to get HOME directory\n" msgstr "" -#: src/common/weechat.c:647 +#: src/common/weechat.c:648 #, c-format msgid "%s not enough memory for home directory\n" msgstr "" -#: src/common/weechat.c:657 +#: src/common/weechat.c:658 #, c-format msgid "%s unable to create ~/.weechat directory\n" msgstr "" -#: src/common/weechat.c:670 +#: src/common/weechat.c:671 #, c-format msgid "%s unable to create ~/.weechat/logs directory\n" msgstr "" -#: src/common/weechat.c:716 +#: src/common/weechat.c:717 #, c-format msgid "%s unable to create/append to log file (~/.weechat/%s)" msgstr "" -#: src/common/weechat.c:767 +#: src/common/weechat.c:768 #, c-format msgid "%sWelcome to %s%s%s, %s\n" msgstr "" -#: src/common/weechat.c:781 src/common/weechat.c:791 +#: src/common/weechat.c:782 src/common/weechat.c:792 msgid "compiled on" msgstr "" @@ -4635,104 +4667,134 @@ msgid "" "#channel:1,..)" msgstr "" -#: src/common/weeconfig.c:1510 +#: src/common/weeconfig.c:940 +msgid "charset for decoding ISO on server and channels" +msgstr "" + +#: src/common/weeconfig.c:941 +msgid "" +"comma separated list of charsets for server and channels, to decode ISO " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:945 +msgid "charset for decoding UTF on server and channels" +msgstr "" + +#: src/common/weeconfig.c:946 +msgid "" +"comma separated list of charsets for server and channels, to decode UTF " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:950 +msgid "charset for encoding messages on server and channels" +msgstr "" + +#: src/common/weeconfig.c:951 +msgid "" +"comma separated list of charsets for server and channels, to encode messages " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:1643 #, c-format msgid "%s %s, line %d: new server, but previous was incomplete\n" msgstr "" -#: src/common/weeconfig.c:1519 +#: src/common/weeconfig.c:1652 #, c-format msgid "%s %s, line %d: server '%s' already exists\n" msgstr "" -#: src/common/weeconfig.c:1534 +#: src/common/weeconfig.c:1669 #, c-format msgid "%s %s, line %d: unable to create server\n" msgstr "" -#: src/common/weeconfig.c:1574 +#: src/common/weeconfig.c:1709 #, c-format msgid "%s unable to assign default int with string (\"%s\")\n" msgstr "" -#: src/common/weeconfig.c:1585 +#: src/common/weeconfig.c:1720 #, c-format msgid "%s unable to assign default color (\"%s\")\n" msgstr "" -#: src/common/weeconfig.c:1623 +#: src/common/weeconfig.c:1758 #, c-format msgid "%s config file \"%s\" not found.\n" msgstr "" -#: src/common/weeconfig.c:1655 +#: src/common/weeconfig.c:1790 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"]\"\n" msgstr "" -#: src/common/weeconfig.c:1672 +#: src/common/weeconfig.c:1807 #, c-format msgid "%s %s, line %d: unknown section identifier (\"%s\")\n" msgstr "" -#: src/common/weeconfig.c:1690 +#: src/common/weeconfig.c:1825 #, c-format msgid "%s %s, line %d: invalid section for option, line is ignored\n" msgstr "" -#: src/common/weeconfig.c:1772 src/common/weeconfig.c:1798 +#: src/common/weeconfig.c:1907 src/common/weeconfig.c:1933 #, c-format msgid "%s %s, line %d: invalid option \"%s\"\n" msgstr "" -#: src/common/weeconfig.c:1778 +#: src/common/weeconfig.c:1913 #, c-format msgid "%s %s, line %d: invalid ignore options \"%s\"\n" msgstr "" -#: src/common/weeconfig.c:1809 +#: src/common/weeconfig.c:1944 #, c-format msgid "" "%s %s, line %d: invalid value foroption '%s'\n" "Expected: boolean value: 'off' or 'on'\n" msgstr "" -#: src/common/weeconfig.c:1818 +#: src/common/weeconfig.c:1953 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" "Expected: integer between %d and %d\n" msgstr "" -#: src/common/weeconfig.c:1829 +#: src/common/weeconfig.c:1964 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" "Expected: one of these strings: " msgstr "" -#: src/common/weeconfig.c:1845 +#: src/common/weeconfig.c:1980 #, c-format msgid "%s %s, line %d: invalid color name for option '%s'\n" msgstr "" -#: src/common/weeconfig.c:1914 +#: src/common/weeconfig.c:2049 #, c-format msgid "%s: creating default config file...\n" msgstr "" -#: src/common/weeconfig.c:1915 +#: src/common/weeconfig.c:2050 msgid "Creating default config file\n" msgstr "" -#: src/common/weeconfig.c:1918 src/common/weeconfig.c:2119 +#: src/common/weeconfig.c:2053 src/common/weeconfig.c:2258 #, c-format msgid "" "#\n" "# %s configuration file, created by %s v%s on %s" msgstr "" -#: src/common/weeconfig.c:1922 src/common/weeconfig.c:2123 +#: src/common/weeconfig.c:2057 src/common/weeconfig.c:2262 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -4740,6 +4802,6 @@ msgid "" "#\n" msgstr "" -#: src/common/weeconfig.c:2116 +#: src/common/weeconfig.c:2255 msgid "Saving config to disk\n" msgstr "" diff --git a/src/common/command.c b/src/common/command.c index 50dc1349b..5e395dfe1 100644 --- a/src/common/command.c +++ b/src/common/command.c @@ -57,6 +57,12 @@ t_weechat_command weechat_commands[] = "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 }, + { "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"), + 0, 2, weechat_cmd_charset, NULL }, { "clear", N_("clear window(s)"), N_("[-all]"), N_("-all: clear all windows"), @@ -500,7 +506,7 @@ free_exploded_string (char **exploded_string) */ int -exec_weechat_command (t_irc_server *server, char *string) +exec_weechat_command (t_gui_window *window, t_irc_server *server, char *string) { int i, argc, return_code, length1, length2; char *command, *pos, *ptr_args, *ptr_args_color, **argv, *alias_command; @@ -589,10 +595,10 @@ exec_weechat_command (t_irc_server *server, char *string) { if (weechat_commands[i].cmd_function_args) return_code = (int) (weechat_commands[i].cmd_function_args) - (argc, argv); + (window, argc, argv); else return_code = (int) (weechat_commands[i].cmd_function_1arg) - (ptr_args); + (window, ptr_args); if (return_code < 0) { irc_display_prefix (NULL, NULL, PREFIX_ERROR); @@ -693,12 +699,13 @@ exec_weechat_command (t_irc_server *server, char *string) alias_command[length1] = ' '; strcpy (alias_command + length1 + 1, ptr_args); } - (void) exec_weechat_command (server, alias_command); + (void) exec_weechat_command (window, server, alias_command); if (alias_command) free (alias_command); } else - (void) exec_weechat_command (server, ptr_alias->alias_command); + (void) exec_weechat_command (window, server, + ptr_alias->alias_command); free_exploded_string (argv); free (command); @@ -726,7 +733,7 @@ exec_weechat_command (t_irc_server *server, char *string) */ void -user_command (t_irc_server *server, t_gui_buffer *buffer, char *command) +user_command (t_gui_window *window, t_irc_server *server, char *command) { t_irc_nick *ptr_nick; int plugin_args_length; @@ -738,44 +745,44 @@ user_command (t_irc_server *server, t_gui_buffer *buffer, char *command) if ((command[0] == '/') && (command[1] != '/')) { /* WeeChat internal command (or IRC command) */ - (void) exec_weechat_command (server, command); + (void) exec_weechat_command (window, server, command); } else { - if (!buffer) - buffer = gui_current_window->buffer; + if (!window) + window = gui_current_window; if ((command[0] == '/') && (command[1] == '/')) command++; - if (server && (!BUFFER_IS_SERVER(buffer))) + if (server && (!BUFFER_IS_SERVER(window->buffer))) { command_with_colors = (cfg_irc_colors_send) ? (char *)gui_color_encode ((unsigned char *)command) : NULL; - if (CHANNEL(buffer)->dcc_chat) - dcc_chat_sendf ((t_irc_dcc *)(CHANNEL(buffer)->dcc_chat), + if (CHANNEL(window->buffer)->dcc_chat) + dcc_chat_sendf ((t_irc_dcc *)(CHANNEL(window->buffer)->dcc_chat), "%s\r\n", (command_with_colors) ? command_with_colors : command); else server_sendf (server, "PRIVMSG %s :%s\r\n", - CHANNEL(buffer)->name, + CHANNEL(window->buffer)->name, (command_with_colors) ? command_with_colors : command); command_with_colors2 = (command_with_colors) ? (char *)gui_color_decode ((unsigned char *)command_with_colors, 1) : NULL; - if (CHANNEL(buffer)->type == CHANNEL_TYPE_PRIVATE) + if (CHANNEL(window->buffer)->type == CHANNEL_TYPE_PRIVATE) { - gui_printf_type (CHANNEL(buffer)->buffer, + gui_printf_type (window->buffer, MSG_TYPE_NICK, "%s<%s%s%s> ", GUI_COLOR(COLOR_WIN_CHAT_DARK), GUI_COLOR(COLOR_WIN_NICK_SELF), server->nick, GUI_COLOR(COLOR_WIN_CHAT_DARK)); - gui_printf_type (CHANNEL(buffer)->buffer, + gui_printf_type (window->buffer, MSG_TYPE_MSG, "%s%s\n", GUI_COLOR(COLOR_WIN_CHAT), @@ -784,12 +791,12 @@ user_command (t_irc_server *server, t_gui_buffer *buffer, char *command) } else { - ptr_nick = nick_search (CHANNEL(buffer), server->nick); + ptr_nick = nick_search (CHANNEL(window->buffer), server->nick); if (ptr_nick) { - irc_display_nick (CHANNEL(buffer)->buffer, ptr_nick, NULL, + irc_display_nick (CHANNEL(window->buffer)->buffer, ptr_nick, NULL, MSG_TYPE_NICK, 1, 1, 0); - gui_printf (CHANNEL(buffer)->buffer, + gui_printf (CHANNEL(window->buffer)->buffer, "%s\n", (command_with_colors2) ? command_with_colors2 : command); @@ -853,11 +860,14 @@ user_command (t_irc_server *server, t_gui_buffer *buffer, char *command) */ int -weechat_cmd_alias (char *arguments) +weechat_cmd_alias (t_gui_window *window, char *arguments) { char *pos; t_weechat_alias *ptr_alias; + /* make gcc happy */ + (void) window; + if (arguments && arguments[0]) { /* Define new alias */ @@ -982,7 +992,7 @@ weechat_cmd_buffer_display_info (t_gui_buffer *buffer) */ int -weechat_cmd_buffer (int argc, char **argv) +weechat_cmd_buffer (t_gui_window *window, int argc, char **argv) { t_gui_buffer *ptr_buffer; t_irc_server *ptr_server; @@ -1028,13 +1038,13 @@ weechat_cmd_buffer (int argc, char **argv) if ((error) && (error[0] == '\0')) { if (argv[1][0] == '+') - gui_buffer_move_to_number (gui_current_window, - gui_current_window->buffer->number + ((int) number)); + gui_buffer_move_to_number (window, + window->buffer->number + ((int) number)); else if (argv[1][0] == '-') - gui_buffer_move_to_number (gui_current_window, - gui_current_window->buffer->number - ((int) number)); + gui_buffer_move_to_number (window, + window->buffer->number - ((int) number)); else - gui_buffer_move_to_number (gui_current_window, (int) number); + gui_buffer_move_to_number (window, (int) number); } else { @@ -1049,10 +1059,10 @@ weechat_cmd_buffer (int argc, char **argv) { /* close buffer (server or channel/private) */ - if ((!gui_current_window->buffer->next_buffer) - && (gui_current_window->buffer == gui_buffers) - && ((!gui_current_window->buffer->all_servers) - || (!SERVER(gui_current_window->buffer)))) + if ((!window->buffer->next_buffer) + && (window->buffer == gui_buffers) + && ((!window->buffer->all_servers) + || (!SERVER(window->buffer)))) { irc_display_prefix (NULL, NULL, PREFIX_ERROR); gui_printf (NULL, @@ -1060,9 +1070,9 @@ weechat_cmd_buffer (int argc, char **argv) WEECHAT_ERROR); return -1; } - if (BUFFER_IS_SERVER(gui_current_window->buffer)) + if (BUFFER_IS_SERVER(window->buffer)) { - if (SERVER(gui_current_window->buffer)->channels) + if (SERVER(window->buffer)->channels) { irc_display_prefix (NULL, NULL, PREFIX_ERROR); gui_printf (NULL, @@ -1071,43 +1081,43 @@ weechat_cmd_buffer (int argc, char **argv) WEECHAT_ERROR); return -1; } - server_disconnect (SERVER(gui_current_window->buffer), 0); - ptr_server = SERVER(gui_current_window->buffer); - if (!gui_current_window->buffer->all_servers) + server_disconnect (SERVER(window->buffer), 0); + ptr_server = SERVER(window->buffer); + if (!window->buffer->all_servers) { - gui_buffer_free (gui_current_window->buffer, 1); + gui_buffer_free (window->buffer, 1); ptr_server->buffer = NULL; } else { ptr_server->buffer = NULL; - gui_current_window->buffer->server = NULL; - gui_window_switch_server (gui_current_window); + window->buffer->server = NULL; + gui_window_switch_server (window); } } else { - if (SERVER(gui_current_window->buffer)) + if (SERVER(window->buffer)) { - if (SERVER(gui_current_window->buffer)->is_connected - && CHANNEL(gui_current_window->buffer) - && CHANNEL(gui_current_window->buffer)->nicks) - irc_cmd_send_part (SERVER(gui_current_window->buffer), NULL); + if (SERVER(window->buffer)->is_connected + && CHANNEL(window->buffer) + && CHANNEL(window->buffer)->nicks) + irc_cmd_send_part (SERVER(window->buffer), NULL); else { - ptr_channel = channel_search (SERVER(gui_current_window->buffer), - CHANNEL(gui_current_window->buffer)->name); + ptr_channel = channel_search (SERVER(window->buffer), + CHANNEL(window->buffer)->name); if (ptr_channel) - channel_free (SERVER(gui_current_window->buffer), + channel_free (SERVER(window->buffer), ptr_channel); - gui_buffer_free (gui_current_window->buffer, 1); + gui_buffer_free (window->buffer, 1); } } else - gui_buffer_free (gui_current_window->buffer, 1); + gui_buffer_free (window->buffer, 1); } - gui_draw_buffer_status (gui_current_window->buffer, 1); + gui_draw_buffer_status (window->buffer, 1); } else if (ascii_strcasecmp (argv[0], "notify") == 0) { @@ -1148,8 +1158,8 @@ weechat_cmd_buffer (int argc, char **argv) WEECHAT_ERROR, NOTIFY_LEVEL_MIN, NOTIFY_LEVEL_MAX); return -1; } - if ((!BUFFER_IS_CHANNEL(gui_current_window->buffer)) - && (!BUFFER_IS_PRIVATE(gui_current_window->buffer))) + if ((!BUFFER_IS_CHANNEL(window->buffer)) + && (!BUFFER_IS_PRIVATE(window->buffer))) { /* invalid buffer type (only ok on channel or private) */ irc_display_prefix (NULL, NULL, PREFIX_ERROR); @@ -1157,14 +1167,14 @@ weechat_cmd_buffer (int argc, char **argv) WEECHAT_ERROR); return -1; } - gui_current_window->buffer->notify_level = number; - channel_set_notify_level (SERVER(gui_current_window->buffer), - CHANNEL(gui_current_window->buffer), + window->buffer->notify_level = number; + channel_set_notify_level (SERVER(window->buffer), + CHANNEL(window->buffer), number); irc_display_prefix (NULL, NULL, PREFIX_INFO); gui_printf (NULL, _("New notify level for %s%s%s: %s%d %s"), GUI_COLOR(COLOR_WIN_CHAT_CHANNEL), - CHANNEL(gui_current_window->buffer)->name, + CHANNEL(window->buffer)->name, GUI_COLOR(COLOR_WIN_CHAT), GUI_COLOR(COLOR_WIN_CHAT_CHANNEL), number, @@ -1209,11 +1219,11 @@ weechat_cmd_buffer (int argc, char **argv) number = strtol (argv[0] + 1, &error, 10); if ((error) && (error[0] == '\0')) { - target_buffer = gui_current_window->buffer->number - (int) number; + target_buffer = window->buffer->number - (int) number; if (target_buffer < 1) target_buffer = (last_gui_buffer) ? last_gui_buffer->number + target_buffer : 1; - gui_buffer_switch_by_number (gui_current_window, + gui_buffer_switch_by_number (window, target_buffer); } } @@ -1224,10 +1234,10 @@ weechat_cmd_buffer (int argc, char **argv) number = strtol (argv[0] + 1, &error, 10); if ((error) && (error[0] == '\0')) { - target_buffer = gui_current_window->buffer->number + (int) number; + target_buffer = window->buffer->number + (int) number; if (last_gui_buffer && target_buffer > last_gui_buffer->number) target_buffer -= last_gui_buffer->number; - gui_buffer_switch_by_number (gui_current_window, + gui_buffer_switch_by_number (window, target_buffer); } } @@ -1237,7 +1247,7 @@ weechat_cmd_buffer (int argc, char **argv) error = NULL; number = strtol (argv[0], &error, 10); if ((error) && (error[0] == '\0')) - gui_buffer_switch_by_number (gui_current_window, (int) number); + gui_buffer_switch_by_number (window, (int) number); else { ptr_buffer = NULL; @@ -1252,7 +1262,7 @@ weechat_cmd_buffer (int argc, char **argv) } if (ptr_buffer) { - gui_switch_to_buffer (gui_current_window, ptr_buffer); + gui_switch_to_buffer (window, ptr_buffer); gui_redraw_buffer (ptr_buffer); } } @@ -1264,11 +1274,204 @@ weechat_cmd_buffer (int argc, char **argv) } /* + * weechat_cmd_charset_display: display charsets for current server or channel + */ + +void +weechat_cmd_charset_display (t_gui_window *window) +{ + char *server_item = "server", *ptr_item; + char *value, *string, *herited; + int length; + + if (BUFFER_IS_SERVER(window->buffer) || + BUFFER_IS_CHANNEL(window->buffer) || + BUFFER_IS_PRIVATE(window->buffer)) + { + if (BUFFER_IS_SERVER(window->buffer)) + { + gui_printf_nolog (NULL, _("Charsets for server %s%s%s: "), + GUI_COLOR(COLOR_WIN_CHAT_SERVER), + SERVER(window->buffer)->name, + GUI_COLOR(COLOR_WIN_CHAT)); + ptr_item = server_item; + } + else if (BUFFER_IS_CHANNEL(window->buffer)) + { + gui_printf_nolog (NULL, _("Charsets for channel %s%s%s: "), + GUI_COLOR(COLOR_WIN_CHAT_CHANNEL), + CHANNEL(window->buffer)->name, + GUI_COLOR(COLOR_WIN_CHAT)); + ptr_item = CHANNEL(window->buffer)->name; + } + else + { + gui_printf_nolog (NULL, _("Charsets for private %s%s%s: "), + GUI_COLOR(COLOR_WIN_CHAT_CHANNEL), + CHANNEL(window->buffer)->name, + GUI_COLOR(COLOR_WIN_CHAT)); + ptr_item = CHANNEL(window->buffer)->name; + } + + /* decode ISO */ + herited = NULL; + config_option_list_get_value (&(SERVER(window->buffer)->charset_decode_iso), + ptr_item, &value, &length); + if (value && (length > 0)) + { + string = strdup (value); + string[length] = '\0'; + } + else + { + string = strdup (""); + herited = channel_get_charset_decode_iso (SERVER(window->buffer), + CHANNEL(window->buffer)); + } + gui_printf (NULL, "decode_iso: \"%s%s%s\"", + GUI_COLOR(COLOR_WIN_CHAT_HOST), + string, + GUI_COLOR(COLOR_WIN_CHAT)); + if (herited) + { + gui_printf (NULL, _(" (inherited: \"%s%s%s\")"), + GUI_COLOR(COLOR_WIN_CHAT_HOST), + herited, + GUI_COLOR(COLOR_WIN_CHAT)); + free (herited); + } + gui_printf (NULL, ", "); + free (string); + + /* decode UTF */ + herited = NULL; + config_option_list_get_value (&(SERVER(window->buffer)->charset_decode_utf), + ptr_item, &value, &length); + if (value && (length > 0)) + { + string = strdup (value); + string[length] = '\0'; + } + else + { + string = strdup (""); + herited = channel_get_charset_decode_utf (SERVER(window->buffer), + CHANNEL(window->buffer)); + } + gui_printf (NULL, "decode_utf: \"%s%s%s\"", + GUI_COLOR(COLOR_WIN_CHAT_HOST), + string, + GUI_COLOR(COLOR_WIN_CHAT)); + if (herited) + { + gui_printf (NULL, _(" (inherited: \"%s%s%s\")"), + GUI_COLOR(COLOR_WIN_CHAT_HOST), + herited, + GUI_COLOR(COLOR_WIN_CHAT)); + free (herited); + } + gui_printf (NULL, ", "); + free (string); + + /* encode */ + herited = NULL; + config_option_list_get_value (&(SERVER(window->buffer)->charset_encode), + ptr_item, &value, &length); + if (value && (length > 0)) + { + string = strdup (value); + string[length] = '\0'; + } + else + { + string = strdup (""); + herited = channel_get_charset_encode (SERVER(window->buffer), + CHANNEL(window->buffer)); + } + gui_printf (NULL, "encode: \"%s%s%s\"", + GUI_COLOR(COLOR_WIN_CHAT_HOST), + string, + GUI_COLOR(COLOR_WIN_CHAT)); + if (herited) + { + gui_printf (NULL, _(" (inherited: \"%s%s%s\")"), + GUI_COLOR(COLOR_WIN_CHAT_HOST), + herited, + GUI_COLOR(COLOR_WIN_CHAT)); + free (herited); + } + gui_printf (NULL, "\n"); + free (string); + } +} + +/* + * weechat_cmd_charset_set: set a charset for server or channel + */ + +void +weechat_cmd_charset_set (t_gui_window *window, char **string, char *charset) +{ + if (BUFFER_IS_SERVER(window->buffer)) + { + if (charset) + config_option_list_set (string, "server", charset); + else + config_option_list_remove (string, "server"); + weechat_cmd_charset_display (window); + } + else if (BUFFER_IS_CHANNEL(window->buffer) || + BUFFER_IS_PRIVATE(window->buffer)) + { + if (charset) + config_option_list_set (string, CHANNEL(window->buffer)->name, charset); + else + config_option_list_remove (string, CHANNEL(window->buffer)->name); + weechat_cmd_charset_display (window); + } +} + +/* + * weechat_cmd_charset: change charset for server or channel + */ + +int +weechat_cmd_charset (t_gui_window *window, int argc, char **argv) +{ + if (argc == 0) + weechat_cmd_charset_display (window); + else + { + if (ascii_strcasecmp (argv[0], "decode_iso") == 0) + weechat_cmd_charset_set (window, + &(SERVER(window->buffer)->charset_decode_iso), + (argc > 1) ? argv[1] : NULL); + else if (ascii_strcasecmp (argv[0], "decode_utf") == 0) + weechat_cmd_charset_set (window, + &(SERVER(window->buffer)->charset_decode_utf), + (argc > 1) ? argv[1] : NULL); + else if (ascii_strcasecmp (argv[0], "encode") == 0) + weechat_cmd_charset_set (window, + &(SERVER(window->buffer)->charset_encode), + (argc > 1) ? argv[1] : NULL); + else + { + irc_display_prefix (NULL, NULL, PREFIX_ERROR); + gui_printf (NULL, + _("%s unknown option for \"%s\" command\n"), + WEECHAT_ERROR, "charset"); + return -1; + } + } + return 0; +} + +/* * weechat_cmd_clear: display or create alias */ int -weechat_cmd_clear (int argc, char **argv) +weechat_cmd_clear (t_gui_window *window, int argc, char **argv) { if (argc == 1) { @@ -1278,13 +1481,13 @@ weechat_cmd_clear (int argc, char **argv) { irc_display_prefix (NULL, NULL, PREFIX_ERROR); gui_printf (NULL, - _("unknown parameter \"%s\" for \"%s\" command\n"), - argv[0], "clear"); + _("%s unknown option for \"%s\" command\n"), + WEECHAT_ERROR, "clear"); return -1; } } else - gui_buffer_clear (gui_current_window->buffer); + gui_buffer_clear (window->buffer); return 0; } @@ -1293,14 +1496,14 @@ weechat_cmd_clear (int argc, char **argv) */ int -weechat_cmd_connect (int argc, char **argv) +weechat_cmd_connect (t_gui_window *window, int argc, char **argv) { t_irc_server *ptr_server; if (argc == 1) ptr_server = server_search (argv[0]); else - ptr_server = SERVER(gui_current_window->buffer); + ptr_server = SERVER(window->buffer); if (ptr_server) { @@ -1322,7 +1525,7 @@ weechat_cmd_connect (int argc, char **argv) } if (!ptr_server->buffer) { - if (!gui_buffer_new (gui_current_window, ptr_server, NULL, 0, 1)) + if (!gui_buffer_new (window, ptr_server, NULL, 0, 1)) return -1; } if (server_connect (ptr_server)) @@ -1384,8 +1587,11 @@ weechat_cmd_debug_display_windows (t_gui_window_tree *tree, int indent) */ int -weechat_cmd_debug (int argc, char **argv) +weechat_cmd_debug (t_gui_window *window, int argc, char **argv) { + /* make gcc happy */ + (void) window; + if (argc != 1) { irc_display_prefix (NULL, NULL, PREFIX_ERROR); @@ -1422,14 +1628,14 @@ weechat_cmd_debug (int argc, char **argv) */ int -weechat_cmd_disconnect (int argc, char **argv) +weechat_cmd_disconnect (t_gui_window *window, int argc, char **argv) { t_irc_server *ptr_server; if (argc == 1) ptr_server = server_search (argv[0]); else - ptr_server = SERVER(gui_current_window->buffer); + ptr_server = SERVER(window->buffer); if (ptr_server) { @@ -1449,7 +1655,7 @@ weechat_cmd_disconnect (int argc, char **argv) _("Auto-reconnection is cancelled\n")); } server_disconnect (ptr_server, 0); - gui_draw_buffer_status (gui_current_window->buffer, 1); + gui_draw_buffer_status (window->buffer, 1); } else { @@ -1465,14 +1671,17 @@ weechat_cmd_disconnect (int argc, char **argv) */ int -weechat_cmd_help (int argc, char **argv) +weechat_cmd_help (t_gui_window *window, int argc, char **argv) { int i; #ifdef PLUGINS t_weechat_plugin *ptr_plugin; t_plugin_handler *ptr_handler; #endif - + + /* make gcc happy */ + (void) window; + switch (argc) { case 0: @@ -1629,38 +1838,45 @@ weechat_cmd_help (int argc, char **argv) */ int -weechat_cmd_history (int argc, char **argv) { - - t_history *p; +weechat_cmd_history (t_gui_window *window, int argc, char **argv) +{ + t_history *ptr_history; int n; int n_total; - int n_user = cfg_history_display_default; - + int n_user; + + n_user = cfg_history_display_default; + if (argc == 1) { if (ascii_strcasecmp (argv[0], "clear") == 0) { - history_buffer_free (gui_current_window->buffer); + history_buffer_free (window->buffer); return 0; } else n_user = atoi (argv[0]); } - if (gui_current_window->buffer->history != NULL) + if (window->buffer->history != NULL) { - for(n_total = 1, p = gui_current_window->buffer->history; p->next_history != NULL; p = p->next_history, n_total++); - for(n=0; p != NULL; p=p->prev_history, n++) + n_total = 1; + for (ptr_history = window->buffer->history; + ptr_history->next_history; + ptr_history = ptr_history->next_history) + { + n_total++; + } + for (n = 0; ptr_history; ptr_history = ptr_history->prev_history) { - if (n_user > 0 && (n_total-n_user) > n) + if ((n_user > 0) && ((n_total - n_user) > n)) continue; - irc_display_prefix (NULL, gui_current_window->buffer, - PREFIX_INFO); - gui_printf_nolog (gui_current_window->buffer, - "%s\n", p->text); + irc_display_prefix (NULL, window->buffer, PREFIX_INFO); + gui_printf_nolog (window->buffer, "%s\n", ptr_history->text); + n++; } } - + return 0; } @@ -1697,7 +1913,7 @@ weechat_cmd_ignore_display (char *text, t_irc_ignore *ptr_ignore) */ int -weechat_cmd_ignore (int argc, char **argv) +weechat_cmd_ignore (t_gui_window *window, int argc, char **argv) { t_irc_ignore *ptr_ignore; int i; @@ -1733,18 +1949,18 @@ weechat_cmd_ignore (int argc, char **argv) break; case 1: ptr_ignore = ignore_add (argv[0], "*", "*", - (SERVER(gui_current_window->buffer)) ? - SERVER(gui_current_window->buffer)->name : "*"); + (SERVER(window->buffer)) ? + SERVER(window->buffer)->name : "*"); break; case 2: ptr_ignore = ignore_add (argv[0], argv[1], "*", - (SERVER(gui_current_window->buffer)) ? - SERVER(gui_current_window->buffer)->name : "*"); + (SERVER(window->buffer)) ? + SERVER(window->buffer)->name : "*"); break; case 3: ptr_ignore = ignore_add (argv[0], argv[1], argv[2], - (SERVER(gui_current_window->buffer)) ? - SERVER(gui_current_window->buffer)->name : "*"); + (SERVER(window->buffer)) ? + SERVER(window->buffer)->name : "*"); break; case 4: ptr_ignore = ignore_add (argv[0], argv[1], argv[2], argv[3]); @@ -1792,12 +2008,15 @@ weechat_cmd_key_display (t_gui_key *key, int new_key) */ int -weechat_cmd_key (char *arguments) +weechat_cmd_key (t_gui_window *window, char *arguments) { char *pos; int i; t_gui_key *ptr_key; + /* make gcc happy */ + (void) window; + if (arguments) { while (arguments[0] == ' ') @@ -1904,13 +2123,16 @@ weechat_cmd_key (char *arguments) */ int -weechat_cmd_plugin (int argc, char **argv) +weechat_cmd_plugin (t_gui_window *window, int argc, char **argv) { #ifdef PLUGINS t_weechat_plugin *ptr_plugin; t_plugin_handler *ptr_handler; int handler_found; + /* make gcc happy */ + (void) window; + switch (argc) { case 0: @@ -2032,8 +2254,11 @@ weechat_cmd_plugin (int argc, char **argv) */ int -weechat_cmd_save (int argc, char **argv) +weechat_cmd_save (t_gui_window *window, int argc, char **argv) { + /* make gcc happy */ + (void) window; + return (config_write ((argc == 1) ? argv[0] : NULL)); } @@ -2042,7 +2267,7 @@ weechat_cmd_save (int argc, char **argv) */ int -weechat_cmd_server (int argc, char **argv) +weechat_cmd_server (t_gui_window *window, int argc, char **argv) { int i; t_irc_server server, *ptr_server, *server_found, *new_server; @@ -2150,7 +2375,7 @@ weechat_cmd_server (int argc, char **argv) if (server_name) free (server_name); - gui_redraw_buffer (gui_current_window->buffer); + gui_redraw_buffer (window->buffer); return 0; } @@ -2286,7 +2511,8 @@ weechat_cmd_server (int argc, char **argv) server.ssl, server.password, server.nick1, server.nick2, server.nick3, server.username, server.realname, - server.command, 1, server.autojoin, 1, NULL); + server.command, 1, server.autojoin, 1, NULL, + NULL, NULL, NULL); if (new_server) { irc_display_prefix (NULL, NULL, PREFIX_INFO); @@ -2307,7 +2533,7 @@ weechat_cmd_server (int argc, char **argv) if (new_server->autoconnect) { - (void) gui_buffer_new (gui_current_window, new_server, NULL, 0, 1); + (void) gui_buffer_new (window, new_server, NULL, 0, 1); server_connect (new_server); } @@ -2391,6 +2617,9 @@ weechat_cmd_set_display_option (t_config_option *option, char *prefix, void *val GUI_COLOR(COLOR_WIN_CHAT_DARK)); free (value2); } + else + gui_printf (NULL, "%s\"\"", + GUI_COLOR(COLOR_WIN_CHAT_DARK)); gui_printf (NULL, "\n"); break; } @@ -2401,7 +2630,7 @@ weechat_cmd_set_display_option (t_config_option *option, char *prefix, void *val */ int -weechat_cmd_set (char *arguments) +weechat_cmd_set (t_gui_window *window, char *arguments) { char *option, *value, *pos; int i, j, section_displayed; @@ -2410,7 +2639,10 @@ weechat_cmd_set (char *arguments) char option_name[256]; void *ptr_option_value; int last_section, last_option, number_found; - + + /* make gcc happy */ + (void) window; + option = NULL; value = NULL; if (arguments && arguments[0]) @@ -2717,11 +2949,14 @@ weechat_cmd_set (char *arguments) */ int -weechat_cmd_unalias (char *arguments) +weechat_cmd_unalias (t_gui_window *window, char *arguments) { t_weelist *ptr_weelist; t_weechat_alias *ptr_alias; + /* make gcc happy */ + (void) window; + ptr_weelist = weelist_search (index_commands, arguments); if (!ptr_weelist) { @@ -2746,7 +2981,7 @@ weechat_cmd_unalias (char *arguments) */ int -weechat_cmd_unignore (int argc, char **argv) +weechat_cmd_unignore (t_gui_window *window, int argc, char **argv) { char *error; int number, ret; @@ -2756,7 +2991,7 @@ weechat_cmd_unignore (int argc, char **argv) { case 0: /* List all ignore */ - weechat_cmd_ignore (argc, argv); + weechat_cmd_ignore (window, argc, argv); return 0; break; case 1: @@ -2766,18 +3001,18 @@ weechat_cmd_unignore (int argc, char **argv) ret = ignore_search_free_by_number (number); else ret = ignore_search_free (argv[0], "*", "*", - (SERVER(gui_current_window->buffer)) ? - SERVER(gui_current_window->buffer)->name : "*"); + (SERVER(window->buffer)) ? + SERVER(window->buffer)->name : "*"); break; case 2: ret = ignore_search_free (argv[0], argv[1], "*", - (SERVER(gui_current_window->buffer)) ? - SERVER(gui_current_window->buffer)->name : "*"); + (SERVER(window->buffer)) ? + SERVER(window->buffer)->name : "*"); break; case 3: ret = ignore_search_free (argv[0], argv[1], argv[2], - (SERVER(gui_current_window->buffer)) ? - SERVER(gui_current_window->buffer)->name : "*"); + (SERVER(window->buffer)) ? + SERVER(window->buffer)->name : "*"); break; case 4: ret = ignore_search_free (argv[0], argv[1], argv[2], argv[3]); @@ -2812,7 +3047,7 @@ weechat_cmd_unignore (int argc, char **argv) */ int -weechat_cmd_upgrade (int argc, char **argv) +weechat_cmd_upgrade (t_gui_window *window, int argc, char **argv) { t_irc_server *ptr_server; int filename_length; @@ -2820,6 +3055,7 @@ weechat_cmd_upgrade (int argc, char **argv) char *exec_args[5] = { NULL, "-a", "--session", NULL, NULL }; /* make gcc happy */ + (void) window; (void) argc; (void) argv; @@ -2828,7 +3064,7 @@ weechat_cmd_upgrade (int argc, char **argv) { if (ptr_server->child_pid != 0) { - irc_display_prefix (NULL, gui_current_window->buffer, PREFIX_ERROR); + irc_display_prefix (NULL, NULL, PREFIX_ERROR); gui_printf_nolog (NULL, _("%s can't upgrade: connection to at least " "one server is pending"), @@ -2900,7 +3136,7 @@ weechat_cmd_upgrade (int argc, char **argv) */ int -weechat_cmd_uptime (int argc, char **argv) +weechat_cmd_uptime (t_gui_window *window, int argc, char **argv) { time_t running_time; int day, hour, min, sec; @@ -2913,8 +3149,8 @@ weechat_cmd_uptime (int argc, char **argv) sec = ((running_time % (60 * 60 * 24)) % (60 * 60)) % 60; if ((argc == 1) && (strcmp (argv[0], "-o") == 0) - && ((BUFFER_IS_CHANNEL(gui_current_window->buffer)) - || (BUFFER_IS_PRIVATE(gui_current_window->buffer)))) + && ((BUFFER_IS_CHANNEL(window->buffer)) + || (BUFFER_IS_PRIVATE(window->buffer)))) { snprintf (string, sizeof (string), _("WeeChat uptime: %d %s %02d:%02d:%02d, started on %s"), @@ -2925,15 +3161,12 @@ weechat_cmd_uptime (int argc, char **argv) sec, ctime (&weechat_start_time)); string[strlen (string) - 1] = '\0'; - user_command (SERVER(gui_current_window->buffer), - gui_current_window->buffer, - string); + user_command (window, SERVER(window->buffer), string); } else { - irc_display_prefix (NULL, gui_current_window->buffer, - PREFIX_INFO); - gui_printf_nolog (gui_current_window->buffer, + irc_display_prefix (NULL, window->buffer, PREFIX_INFO); + gui_printf_nolog (window->buffer, _("WeeChat uptime: %s%d %s%s " "%s%02d%s:%s%02d%s:%s%02d%s, " "started on %s%s"), @@ -2962,7 +3195,7 @@ weechat_cmd_uptime (int argc, char **argv) */ int -weechat_cmd_window (int argc, char **argv) +weechat_cmd_window (t_gui_window *window, int argc, char **argv) { t_gui_window *ptr_win; int i; @@ -3009,10 +3242,10 @@ weechat_cmd_window (int argc, char **argv) number = strtol (argv[1], &error, 10); if ((error) && (error[0] == '\0') && (number > 0) && (number < 100)) - gui_window_split_horiz (gui_current_window, number); + gui_window_split_horiz (window, number); } else - gui_window_split_horiz (gui_current_window, 50); + gui_window_split_horiz (window, 50); } else if (ascii_strcasecmp (argv[0], "splitv") == 0) { @@ -3023,10 +3256,10 @@ weechat_cmd_window (int argc, char **argv) number = strtol (argv[1], &error, 10); if ((error) && (error[0] == '\0') && (number > 0) && (number < 100)) - gui_window_split_vertic (gui_current_window, number); + gui_window_split_vertic (window, number); } else - gui_window_split_vertic (gui_current_window, 50); + gui_window_split_vertic (window, 50); } else if (ascii_strcasecmp (argv[0], "resize") == 0) { @@ -3037,7 +3270,7 @@ weechat_cmd_window (int argc, char **argv) number = strtol (argv[1], &error, 10); if ((error) && (error[0] == '\0') && (number > 0) && (number < 100)) - gui_window_resize (gui_current_window, number); + gui_window_resize (window, number); } } else if (ascii_strcasecmp (argv[0], "merge") == 0) @@ -3045,7 +3278,7 @@ weechat_cmd_window (int argc, char **argv) if (argc >= 2) { if (ascii_strcasecmp (argv[1], "all") == 0) - gui_window_merge_all (gui_current_window); + gui_window_merge_all (window); else { irc_display_prefix (NULL, NULL, PREFIX_ERROR); @@ -3057,7 +3290,7 @@ weechat_cmd_window (int argc, char **argv) } else { - if (!gui_window_merge (gui_current_window)) + if (!gui_window_merge (window)) { irc_display_prefix (NULL, NULL, PREFIX_ERROR); gui_printf (NULL, @@ -3075,20 +3308,20 @@ weechat_cmd_window (int argc, char **argv) error = NULL; number = strtol (argv[0] + 1, &error, 10); if ((error) && (error[0] == '\0')) - gui_window_switch_by_buffer (gui_current_window, number); + gui_window_switch_by_buffer (window, number); } else if (ascii_strcasecmp (argv[0], "-1") == 0) - gui_window_switch_previous (gui_current_window); + gui_window_switch_previous (window); else if (ascii_strcasecmp (argv[0], "+1") == 0) - gui_window_switch_next (gui_current_window); + gui_window_switch_next (window); else if (ascii_strcasecmp (argv[0], "up") == 0) - gui_window_switch_up (gui_current_window); + gui_window_switch_up (window); else if (ascii_strcasecmp (argv[0], "down") == 0) - gui_window_switch_down (gui_current_window); + gui_window_switch_down (window); else if (ascii_strcasecmp (argv[0], "left") == 0) - gui_window_switch_left (gui_current_window); + gui_window_switch_left (window); else if (ascii_strcasecmp (argv[0], "right") == 0) - gui_window_switch_right (gui_current_window); + gui_window_switch_right (window); else { irc_display_prefix (NULL, NULL, PREFIX_ERROR); diff --git a/src/common/command.h b/src/common/command.h index 3cbd599a5..10cd44c86 100644 --- a/src/common/command.h +++ b/src/common/command.h @@ -36,8 +36,8 @@ struct t_weechat_command char *arguments; char *arguments_description; int min_arg, max_arg; - int (*cmd_function_args)(int, char **); - int (*cmd_function_1arg)(char *); + int (*cmd_function_args)(t_gui_window *, int, char **); + int (*cmd_function_1arg)(t_gui_window *, char *); }; typedef struct t_weechat_alias t_weechat_alias; @@ -62,27 +62,28 @@ extern t_weechat_alias *alias_new (char *, char *); extern void alias_free_all (); extern char **explode_string (char *, char *, int, int *); extern void free_exploded_string (char **); -extern int exec_weechat_command (t_irc_server *, char *); -extern void user_command (t_irc_server *, t_gui_buffer *, char *); -extern int weechat_cmd_alias (char *); -extern int weechat_cmd_buffer (int, char **); -extern int weechat_cmd_clear (int, char **); -extern int weechat_cmd_connect (int, char **); -extern int weechat_cmd_debug (int, char **); -extern int weechat_cmd_disconnect (int, char **); -extern int weechat_cmd_help (int, char **); -extern int weechat_cmd_history (int, char **); +extern int exec_weechat_command (t_gui_window *, t_irc_server *, char *); +extern void user_command (t_gui_window *, t_irc_server *, char *); +extern int weechat_cmd_alias (t_gui_window *, char *); +extern int weechat_cmd_buffer (t_gui_window *, int, char **); +extern int weechat_cmd_charset (t_gui_window *, int, char **); +extern int weechat_cmd_clear (t_gui_window *, int, char **); +extern int weechat_cmd_connect (t_gui_window *, int, char **); +extern int weechat_cmd_debug (t_gui_window *, int, char **); +extern int weechat_cmd_disconnect (t_gui_window *, int, char **); +extern int weechat_cmd_help (t_gui_window *, int, char **); +extern int weechat_cmd_history (t_gui_window *, int, char **); extern void weechat_cmd_ignore_display (char *, t_irc_ignore *); -extern int weechat_cmd_ignore (int, char **); -extern int weechat_cmd_key (char *); -extern int weechat_cmd_plugin (int, char **); -extern int weechat_cmd_save (int, char **); -extern int weechat_cmd_server (int, char **); -extern int weechat_cmd_set (char *); -extern int weechat_cmd_unalias (char *); -extern int weechat_cmd_unignore (int, char **); -extern int weechat_cmd_upgrade (int, char **); -extern int weechat_cmd_uptime (int, char **); -extern int weechat_cmd_window (int, char **); +extern int weechat_cmd_ignore (t_gui_window *, int, char **); +extern int weechat_cmd_key (t_gui_window *, char *); +extern int weechat_cmd_plugin (t_gui_window *, int, char **); +extern int weechat_cmd_save (t_gui_window *, int, char **); +extern int weechat_cmd_server (t_gui_window *, int, char **); +extern int weechat_cmd_set (t_gui_window *, char *); +extern int weechat_cmd_unalias (t_gui_window *, char *); +extern int weechat_cmd_unignore (t_gui_window *, int, char **); +extern int weechat_cmd_upgrade (t_gui_window *, int, char **); +extern int weechat_cmd_uptime (t_gui_window *, int, char **); +extern int weechat_cmd_window (t_gui_window *, int, char **); #endif /* command.h */ diff --git a/src/common/completion.c b/src/common/completion.c index 8cf2a81b0..f681bd097 100644 --- a/src/common/completion.c +++ b/src/common/completion.c @@ -101,10 +101,10 @@ completion_stop (t_completion *completion) */ void -completion_build_list (t_completion *completion, void *channel) +completion_build_list (t_completion *completion, void *server, void *channel) { t_weelist *ptr_list; - int i, j; + int i, j, length; t_irc_server *ptr_server; t_irc_channel *ptr_channel; t_irc_nick *ptr_nick; @@ -155,6 +155,82 @@ completion_build_list (t_completion *completion, void *channel) "notify"); return; } + if (ascii_strcasecmp (completion->base_command, "charset") == 0) + { + if (completion->base_command_arg == 1) + { + 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"); + } + else if (completion->base_command_arg == 2) + { + 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) + { + weelist_add (&completion->completion_list, + &completion->last_completion, + string2); + free (string2); + } + else + completion_stop (completion); + + if (pos) + pos[0] = ' '; + } + else + completion_stop (completion); + return; + } if ((ascii_strcasecmp (completion->base_command, "clear") == 0) && (completion->base_command_arg == 1)) { @@ -672,11 +748,9 @@ completion_build_list (t_completion *completion, void *channel) 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 = weechat_convert_encoding ((local_utf8) ? - cfg_look_charset_decode_iso : cfg_look_charset_decode_utf, - (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - (string) ? string : ((t_irc_channel *)channel)->topic); + 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); @@ -697,8 +771,8 @@ completion_build_list (t_completion *completion, void *channel) */ void -completion_find_context (t_completion *completion, void *channel, char *buffer, - int size, int pos) +completion_find_context (t_completion *completion, void *server, void *channel, + char *buffer, int size, int pos) { int i, command, command_arg, pos_start, pos_end; @@ -808,7 +882,7 @@ completion_find_context (t_completion *completion, void *channel, char *buffer, 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, channel); + completion_build_list (completion, server, channel); } } @@ -1066,7 +1140,7 @@ completion_nick (t_completion *completion, t_irc_channel *channel) */ void -completion_search (t_completion *completion, void *channel, +completion_search (t_completion *completion, void *server, void *channel, char *buffer, int size, int pos) { char *old_word_found; @@ -1075,7 +1149,7 @@ completion_search (t_completion *completion, void *channel, if (pos != completion->position) { completion->word_found = NULL; - completion_find_context (completion, channel, buffer, size, pos); + completion_find_context (completion, server, channel, buffer, size, pos); } /* completion */ diff --git a/src/common/completion.h b/src/common/completion.h index a9451eed3..56464a3f7 100644 --- a/src/common/completion.h +++ b/src/common/completion.h @@ -54,6 +54,6 @@ struct t_completion extern void completion_init (t_completion *); extern void completion_free (t_completion *); -extern void completion_search (t_completion *, void *, char *, int, int); +extern void completion_search (t_completion *, void *, void *, char *, int, int); #endif /* completion.h */ diff --git a/src/common/fifo.c b/src/common/fifo.c index b4a690446..c53987796 100644 --- a/src/common/fifo.c +++ b/src/common/fifo.c @@ -174,7 +174,8 @@ fifo_exec (char *text) ptr_buffer = gui_buffers; } - user_command (ptr_server, ptr_buffer, pos_msg); + user_command (gui_buffer_find_window (ptr_buffer), + ptr_server, pos_msg); } /* diff --git a/src/common/session.c b/src/common/session.c index 0ac84d817..833ea874d 100644 --- a/src/common/session.c +++ b/src/common/session.c @@ -237,6 +237,9 @@ session_save_servers (FILE *file) rc = rc && (session_write_int (file, SESSION_SERV_LAG, ptr_server->lag)); rc = rc && (session_write_buf (file, SESSION_SERV_LAG_CHECK_TIME, &(ptr_server->lag_check_time), sizeof (struct timeval))); rc = rc && (session_write_buf (file, SESSION_SERV_LAG_NEXT_CHECK, &(ptr_server->lag_next_check), sizeof (time_t))); + rc = rc && (session_write_str (file, SESSION_SERV_CHARSET_DECODE_ISO, ptr_server->charset_decode_iso)); + rc = rc && (session_write_str (file, SESSION_SERV_CHARSET_DECODE_UTF, ptr_server->charset_decode_utf)); + rc = rc && (session_write_str (file, SESSION_SERV_CHARSET_ENCODE, ptr_server->charset_encode)); rc = rc && (session_write_id (file, SESSION_SERV_END)); if (!rc) @@ -832,6 +835,15 @@ session_load_server (FILE *file) case SESSION_SERV_LAG_NEXT_CHECK: rc = rc && (session_read_buf (file, &(session_current_server->lag_next_check), sizeof (time_t))); break; + case SESSION_SERV_CHARSET_DECODE_ISO: + rc = rc && (session_read_str (file, &(session_current_server->charset_decode_iso))); + break; + case SESSION_SERV_CHARSET_DECODE_UTF: + rc = rc && (session_read_str (file, &(session_current_server->charset_decode_utf))); + break; + case SESSION_SERV_CHARSET_ENCODE: + rc = rc && (session_read_str (file, &(session_current_server->charset_encode))); + break; default: weechat_log_printf (_("session: warning: ignoring value from " "server (object id: %d)\n")); diff --git a/src/common/session.h b/src/common/session.h index 666b7aca9..f0e29df72 100644 --- a/src/common/session.h +++ b/src/common/session.h @@ -84,7 +84,10 @@ enum t_session_server SESSION_SERV_AWAY_TIME, SESSION_SERV_LAG, SESSION_SERV_LAG_CHECK_TIME, - SESSION_SERV_LAG_NEXT_CHECK + SESSION_SERV_LAG_NEXT_CHECK, + SESSION_SERV_CHARSET_DECODE_ISO, + SESSION_SERV_CHARSET_DECODE_UTF, + SESSION_SERV_CHARSET_ENCODE }; enum t_session_channel diff --git a/src/common/weechat.c b/src/common/weechat.c index e076b4da3..d9f834853 100644 --- a/src/common/weechat.c +++ b/src/common/weechat.c @@ -209,11 +209,11 @@ weechat_log_printf (char *message, ...) } /* - * weechat_convert_encoding: convert string to another encoding + * weechat_iconv: convert string to another charset */ char * -weechat_convert_encoding (char *from_code, char *to_code, char *string) +weechat_iconv (char *from_code, char *to_code, char *string) { char *outbuf; @@ -584,7 +584,8 @@ weechat_parse_args (int argc, char *argv[]) server_tmp.ipv6, server_tmp.ssl, server_tmp.password, server_tmp.nick1, server_tmp.nick2, server_tmp.nick3, - NULL, NULL, NULL, 0, server_tmp.autojoin, 1, NULL)) + NULL, NULL, NULL, 0, server_tmp.autojoin, 1, NULL, + NULL, NULL, NULL)) fprintf (stderr, _("%s unable to create server ('%s'), ignored\n"), WEECHAT_WARNING, argv[i]); server_destroy (&server_tmp); diff --git a/src/common/weechat.h b/src/common/weechat.h index 379ab80da..273ecc4ad 100644 --- a/src/common/weechat.h +++ b/src/common/weechat.h @@ -109,7 +109,7 @@ extern int ascii_strcasecmp (char *, char *); extern int ascii_strncasecmp (char *, char *, int); extern void weechat_log_printf (char *, ...); extern void weechat_dump (int); -extern char *weechat_convert_encoding (char *, char *, char *); +extern char *weechat_iconv (char *, char *, char *); extern long get_timeval_diff (struct timeval *, struct timeval *); extern void weechat_shutdown (int, int); diff --git a/src/common/weeconfig.c b/src/common/weeconfig.c index bc86c20c5..3ff0bc16a 100644 --- a/src/common/weeconfig.c +++ b/src/common/weeconfig.c @@ -937,6 +937,21 @@ t_config_option weechat_options_server[] = N_("comma separated list of notify levels for channels of this server (format: #channel:1,..)"), OPTION_TYPE_STRING, 0, 0, 0, "", NULL, NULL, &(cfg_server.notify_levels), config_change_notify_levels }, + { "server_charset_decode_iso", N_("charset for decoding ISO on server and channels"), + N_("comma separated list of charsets for server and channels, " + "to decode ISO (format: server:charset,#channel:charset,..)"), + OPTION_TYPE_STRING, 0, 0, 0, + "", NULL, NULL, &(cfg_server.charset_decode_iso), config_change_noop }, + { "server_charset_decode_utf", N_("charset for decoding UTF on server and channels"), + N_("comma separated list of charsets for server and channels, " + "to decode UTF (format: server:charset,#channel:charset,..)"), + OPTION_TYPE_STRING, 0, 0, 0, + "", NULL, NULL, &(cfg_server.charset_decode_utf), config_change_noop }, + { "server_charset_encode", N_("charset for encoding messages on server and channels"), + N_("comma separated list of charsets for server and channels, " + "to encode messages (format: server:charset,#channel:charset,..)"), + OPTION_TYPE_STRING, 0, 0, 0, + "", NULL, NULL, &(cfg_server.charset_encode), config_change_noop }, { NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL } }; @@ -951,12 +966,12 @@ t_config_option *weechat_options[CONFIG_NUMBER_SECTIONS] = /* - * get_pos_array_values: returns position of a string in an array of values - * returns -1 if not found, otherwise position + * config_get_pos_array_values: return position of a string in an array of values + * return -1 if not found, otherwise position */ int -get_pos_array_values (char **array, char *string) +config_get_pos_array_values (char **array, char *string) { int i; @@ -1240,7 +1255,8 @@ config_option_set_value (t_config_option *option, char *value) *(option->ptr_int) = int_value; break; case OPTION_TYPE_INT_WITH_STRING: - int_value = get_pos_array_values (option->array_values, value); + int_value = config_get_pos_array_values (option->array_values, + value); if (int_value < 0) return -1; *(option->ptr_int) = int_value; @@ -1259,6 +1275,116 @@ config_option_set_value (t_config_option *option, char *value) } /* + * config_option_list_remove: remove an item from a list for an option + * (for options with value like: "abc:1,def:blabla") + */ + +void +config_option_list_remove (char **string, char *item) +{ + char *name, *pos, *pos2; + + if (!string || !(*string)) + return; + + name = (char *) malloc (strlen (item) + 2); + strcpy (name, item); + strcat (name, ":"); + pos = strstr (*string, name); + free (name); + if (pos) + { + pos2 = pos + strlen (item); + if (pos2[0] == ':') + { + pos2++; + if (pos2[0]) + { + while (pos2[0] && (pos2[0] != ',')) + pos2++; + if (pos2[0] == ',') + pos2++; + if (!pos2[0] && (pos != (*string))) + pos--; + strcpy (pos, pos2); + if (!(*string)[0]) + { + free (*string); + *string = NULL; + } + else + (*string) = (char *) realloc (*string, strlen (*string) + 1); + } + } + } +} + +/* + * config_option_list_set: set an item from a list for an option + * (for options with value like: "abc:1,def:blabla") + */ + +void +config_option_list_set (char **string, char *item, char *value) +{ + config_option_list_remove (string, item); + + if (!(*string)) + { + (*string) = (char *) malloc (strlen (item) + 1 + strlen (value) + 1); + (*string)[0] = '\0'; + } + else + (*string) = (char *) realloc (*string, + strlen (*string) + 1 + + strlen (item) + 1 + strlen (value) + 1); + + if ((*string)[0]) + strcat (*string, ","); + strcat (*string, item); + strcat (*string, ":"); + strcat (*string, value); +} + +/* + * config_option_list_get_value: return position of item value in the list + * (for options with value like: "abc:1,def:blabla") + */ + +void +config_option_list_get_value (char **string, char *item, + char **pos_found, int *length) +{ + char *name, *pos, *pos2, *pos_comma; + + *pos_found = NULL; + *length = 0; + + if (!string || !(*string)) + return; + + name = (char *) malloc (strlen (item) + 2); + strcpy (name, item); + strcat (name, ":"); + pos = strstr (*string, name); + free (name); + if (pos) + { + pos2 = pos + strlen (item); + if (pos2[0] == ':') + { + pos2++; + *pos_found = pos2; + pos_comma = strchr (pos2, ','); + if (pos_comma) + *length = pos_comma - pos2; + else + *length = strlen (pos2); + } + } +} + +/* * config_get_server_option_ptr: get a pointer to a server config option */ @@ -1303,6 +1429,12 @@ config_get_server_option_ptr (t_irc_server *server, char *option_name) return (void *)(&server->autorejoin); if (ascii_strcasecmp (option_name, "server_notify_levels") == 0) return (void *)(&server->notify_levels); + if (ascii_strcasecmp (option_name, "server_charset_decode_iso") == 0) + return (void *)(&server->charset_decode_iso); + if (ascii_strcasecmp (option_name, "server_charset_decode_utf") == 0) + return (void *)(&server->charset_decode_utf); + if (ascii_strcasecmp (option_name, "server_charset_encode") == 0) + return (void *)(&server->charset_encode); /* option not found */ return NULL; } @@ -1357,7 +1489,8 @@ config_set_server_value (t_irc_server *server, char *option_name, *((int *)(ptr_data)) = int_value; break; case OPTION_TYPE_INT_WITH_STRING: - int_value = get_pos_array_values (ptr_option->array_values, value); + int_value = config_get_pos_array_values (ptr_option->array_values, + value); if (int_value < 0) return -2; *((int *)(ptr_data)) = int_value; @@ -1527,7 +1660,9 @@ config_allocate_server (char *filename, int line_number) cfg_server.password, cfg_server.nick1, cfg_server.nick2, cfg_server.nick3, cfg_server.username, cfg_server.realname, cfg_server.command, cfg_server.command_delay, cfg_server.autojoin, - cfg_server.autorejoin, cfg_server.notify_levels)) + cfg_server.autorejoin, cfg_server.notify_levels, + cfg_server.charset_decode_iso, cfg_server.charset_decode_utf, + cfg_server.charset_encode)) { server_free_all (); gui_printf (NULL, @@ -1566,7 +1701,7 @@ config_default_values () weechat_options[i][j].default_int; break; case OPTION_TYPE_INT_WITH_STRING: - int_value = get_pos_array_values ( + int_value = config_get_pos_array_values ( weechat_options[i][j].array_values, weechat_options[i][j].default_string); if (int_value < 0) @@ -2064,6 +2199,10 @@ config_create_default () fprintf (file, "server_command_delay = 0\n"); fprintf (file, "server_autojoin = \"\"\n"); fprintf (file, "server_autorejoin = on\n"); + fprintf (file, "server_notify_levels = \"\"\n"); + fprintf (file, "server_charset_decode_iso = \"\"\n"); + fprintf (file, "server_charset_decode_utf = \"\"\n"); + fprintf (file, "server_charset_encode = \"\"\n"); fclose (file); chmod (filename, 0600); @@ -2251,6 +2390,12 @@ config_write (char *config_name) (ptr_server->autorejoin) ? "on" : "off"); fprintf (file, "server_notify_levels = \"%s\"\n", (ptr_server->notify_levels) ? ptr_server->notify_levels : ""); + fprintf (file, "server_charset_decode_iso = \"%s\"\n", + (ptr_server->charset_decode_iso) ? ptr_server->charset_decode_iso : ""); + fprintf (file, "server_charset_decode_utf = \"%s\"\n", + (ptr_server->charset_decode_utf) ? ptr_server->charset_decode_utf : ""); + fprintf (file, "server_charset_encode = \"%s\"\n", + (ptr_server->charset_encode) ? ptr_server->charset_encode : ""); } } diff --git a/src/common/weeconfig.h b/src/common/weeconfig.h index 38096af2f..7df3d78cb 100644 --- a/src/common/weeconfig.h +++ b/src/common/weeconfig.h @@ -238,6 +238,9 @@ extern void config_change_fifo_pipe (); extern void config_change_notify_levels (); extern void config_change_log (); extern int config_option_set_value (t_config_option *, char *); +extern void config_option_list_remove (char **, char *); +extern void config_option_list_set (char **, char *, char *); +extern void config_option_list_get_value (char **, char *, char **, int *); extern t_config_option *config_option_search (char *); extern void config_option_search_option_value (char *, t_config_option **, void **); extern int config_set_value (char *, char *); diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c index f9832e3ac..aa103abb9 100644 --- a/src/gui/curses/gui-display.c +++ b/src/gui/curses/gui-display.c @@ -806,11 +806,9 @@ gui_draw_buffer_title (t_gui_buffer *buffer, int erase) if (CHANNEL(buffer)->topic) { buf = (char *)gui_color_decode ((unsigned char *)(CHANNEL(buffer)->topic), 0); - buf2 = weechat_convert_encoding ((local_utf8) ? - cfg_look_charset_decode_iso : cfg_look_charset_decode_utf, - (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - (buf) ? buf : CHANNEL(buffer)->topic); + buf2 = channel_iconv_decode (SERVER(buffer), + CHANNEL(buffer), + (buf) ? buf : CHANNEL(buffer)->topic); mvwprintw (ptr_win->win_title, 0, 0, format, (buf2) ? buf2 : CHANNEL(buffer)->topic); if (buf) free (buf); @@ -1519,12 +1517,10 @@ gui_draw_buffer_chat (t_gui_buffer *buffer, int erase) mvwprintw (ptr_win->win_chat, i, 0, "%s %-16s ", (ptr_dcc == dcc_selected) ? "***" : " ", ptr_dcc->nick); - buf = weechat_convert_encoding ((local_utf8) ? - cfg_look_charset_decode_iso : cfg_look_charset_decode_utf, - (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - (DCC_IS_CHAT(ptr_dcc->type)) ? - _(ptr_dcc->filename) : ptr_dcc->filename); + buf = channel_iconv_decode (SERVER(buffer), + CHANNEL(buffer), + (DCC_IS_CHAT(ptr_dcc->type)) ? + _(ptr_dcc->filename) : ptr_dcc->filename); wprintw (ptr_win->win_chat, "%s", buf); free (buf); if (DCC_IS_FILE(ptr_dcc->type)) @@ -1543,11 +1539,9 @@ gui_draw_buffer_chat (t_gui_buffer *buffer, int erase) (DCC_IS_RECV(ptr_dcc->type)) ? "-->>" : "<<--"); gui_window_set_weechat_color (ptr_win->win_chat, COLOR_DCC_WAITING + ptr_dcc->status); - buf = weechat_convert_encoding ((local_utf8) ? - cfg_look_charset_decode_iso : cfg_look_charset_decode_utf, - (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - _(dcc_status_string[ptr_dcc->status])); + buf = channel_iconv_decode (SERVER(buffer), + CHANNEL(buffer), + _(dcc_status_string[ptr_dcc->status])); wprintw (ptr_win->win_chat, "%-10s", buf); free (buf); @@ -1604,11 +1598,9 @@ gui_draw_buffer_chat (t_gui_buffer *buffer, int erase) ptr_dcc->eta % 60); } sprintf (format, "%s %%s/s)", unit_format[num_unit]); - buf = weechat_convert_encoding ((local_utf8) ? - cfg_look_charset_decode_iso : cfg_look_charset_decode_utf, - (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - unit_name[num_unit]); + buf = channel_iconv_decode (SERVER(buffer), + CHANNEL(buffer), + unit_name[num_unit]); wprintw (ptr_win->win_chat, format, ((long double) ptr_dcc->bytes_per_sec) / ((long double)(unit_divide[num_unit])), buf); diff --git a/src/gui/gui-action.c b/src/gui/gui-action.c index ddfc8def8..e68e883f1 100644 --- a/src/gui/gui-action.c +++ b/src/gui/gui-action.c @@ -108,9 +108,7 @@ gui_action_return (t_gui_window *window) window->buffer->completion.position = -1; window->buffer->ptr_history = NULL; gui_draw_buffer_input (window->buffer, 0); - user_command (SERVER(window->buffer), - window->buffer, - command); + user_command (window, SERVER(window->buffer), command); free (command); } } @@ -128,6 +126,7 @@ 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, diff --git a/src/gui/gui-common.c b/src/gui/gui-common.c index af1e0f86b..85a59fdb5 100644 --- a/src/gui/gui-common.c +++ b/src/gui/gui-common.c @@ -322,6 +322,26 @@ gui_buffer_search (char *server, char *channel) } /* + * gui_buffer_find_window: find a window displaying buffer + */ + +t_gui_window * +gui_buffer_find_window (t_gui_buffer *buffer) +{ + t_gui_window *ptr_win; + + for (ptr_win = gui_windows; ptr_win; + ptr_win = ptr_win->next_window) + { + if (ptr_win->buffer == buffer) + return ptr_win; + } + + /* no window found */ + return NULL; +} + +/* * gui_buffer_servers_search: search servers buffer * (when same buffer is used for all servers) */ @@ -857,7 +877,7 @@ gui_printf_internal (t_gui_buffer *buffer, int display_time, int type, char *mes time_t time_seconds; struct tm *local_time; int time_first_digit, time_last_digit; - char *pos, *buf2; + char *buf2, *pos; int i; va_list argptr; static time_t seconds; @@ -898,12 +918,8 @@ gui_printf_internal (t_gui_buffer *buffer, int display_time, int type, char *mes if (!buf[0]) return; - if (!local_utf8 || !utf8_is_valid (buf)) - buf2 = weechat_convert_encoding ((local_utf8) ? - cfg_look_charset_decode_iso : cfg_look_charset_decode_utf, - (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - buf); + if (gui_init_ok) + buf2 = channel_iconv_decode (SERVER(buffer), CHANNEL(buffer), buf); else buf2 = strdup (buf); @@ -1015,16 +1031,7 @@ gui_infobar_printf (int time_displayed, int color, char *message, ...) buf2 = (char *)gui_color_decode ((unsigned char *)buffer, 0); if (buf2) - { - if (!local_utf8 || !utf8_is_valid (buf2)) - buf3 = weechat_convert_encoding ((local_utf8) ? - cfg_look_charset_decode_iso : cfg_look_charset_decode_utf, - (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - buf2); - else - buf3 = strdup (buf2); - } + buf3 = channel_iconv_decode (NULL, NULL, buf2); else buf3 = NULL; diff --git a/src/gui/gui-keyboard.c b/src/gui/gui-keyboard.c index 60d06e9db..556962f3c 100644 --- a/src/gui/gui-keyboard.c +++ b/src/gui/gui-keyboard.c @@ -517,8 +517,8 @@ gui_key_pressed (char *key_str) /* exact combo found => execute function or command */ gui_key_buffer[0] = '\0'; if (ptr_key->command) - user_command (SERVER(gui_current_window->buffer), - gui_current_window->buffer, + user_command (gui_current_window, + SERVER(gui_current_window->buffer), ptr_key->command); else (void)(ptr_key->function)(gui_current_window); diff --git a/src/gui/gui.h b/src/gui/gui.h index b19b82237..5515bb805 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -402,6 +402,7 @@ extern void gui_window_tree_node_to_leaf (t_gui_window_tree *, t_gui_window *); extern void gui_window_tree_free (t_gui_window_tree **); extern t_gui_window *gui_window_new (t_gui_window *, int, int, int, int, int, int); extern t_gui_buffer *gui_buffer_search (char *, char *); +extern t_gui_window *gui_buffer_find_window (t_gui_buffer *); extern t_gui_buffer *gui_buffer_new (t_gui_window *, void *, void *, int, int); extern void gui_buffer_clear (t_gui_buffer *); extern void gui_buffer_clear_all (); diff --git a/src/irc/irc-channel.c b/src/irc/irc-channel.c index 761e64fc7..6d2baa925 100644 --- a/src/irc/irc-channel.c +++ b/src/irc/irc-channel.c @@ -30,6 +30,8 @@ #include "../common/weechat.h" #include "irc.h" +#include "../common/utf8.h" +#include "../common/weeconfig.h" #include "../gui/gui.h" @@ -172,6 +174,143 @@ string_is_channel (char *string) } /* + * channel_get_charset_decode_iso: get decode iso value for channel + * if not found for channel, look for server + * if not found for server, look for global + */ + +char * +channel_get_charset_decode_iso (t_irc_server *server, t_irc_channel *channel) +{ + char *pos, *result; + int length; + + if (!server) + return (cfg_look_charset_decode_iso) ? + strdup (cfg_look_charset_decode_iso) : strdup (""); + + if (!channel) + return server_get_charset_decode_iso (server); + + config_option_list_get_value (&(server->charset_decode_iso), + channel->name, &pos, &length); + if (pos && (length > 0)) + { + result = strdup (pos); + result[length] = '\0'; + return result; + } + + return server_get_charset_decode_iso (server); +} + +/* + * channel_get_charset_decode_utf: get decode utf value for channel + * if not found for channel, look for server + * if not found for server, look for global + */ + +char * +channel_get_charset_decode_utf (t_irc_server *server, t_irc_channel *channel) +{ + char *pos, *result; + int length; + + if (!server) + return (cfg_look_charset_decode_utf) ? + strdup (cfg_look_charset_decode_utf) : strdup (""); + + if (!channel) + return server_get_charset_decode_utf (server); + + config_option_list_get_value (&(server->charset_decode_utf), + channel->name, &pos, &length); + if (pos && (length > 0)) + { + result = strdup (pos); + result[length] = '\0'; + return result; + } + + return server_get_charset_decode_utf (server); +} + +/* + * channel_get_charset_encode: get encode value for channel + * if not found for channel, look for server + * if not found for server, look for global + */ + +char * +channel_get_charset_encode (t_irc_server *server, t_irc_channel *channel) +{ + char *pos, *result; + int length; + + if (!server) + return (cfg_look_charset_encode) ? + strdup (cfg_look_charset_encode) : strdup (""); + + if (!channel) + return server_get_charset_encode (server); + + config_option_list_get_value (&(server->charset_encode), + channel->name, &pos, &length); + if (pos && (length > 0)) + { + result = strdup (pos); + result[length] = '\0'; + return result; + } + + return server_get_charset_encode (server); +} + +/* + * channel_iconv_decode: convert string to local charset + */ + +char * +channel_iconv_decode (t_irc_server *server, t_irc_channel *channel, char *string) +{ + char *from_charset, *string2; + + if (!local_utf8 || !utf8_is_valid (string)) + { + if (local_utf8) + from_charset = channel_get_charset_decode_iso (server, channel); + else + from_charset = channel_get_charset_decode_utf (server, channel); + string2 = weechat_iconv (from_charset, + (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? + cfg_look_charset_internal : local_charset, + string); + free (from_charset); + return string2; + } + else + return strdup (string); +} + +/* + * + */ + +char * +channel_iconv_encode (t_irc_server *server, t_irc_channel *channel, char *string) +{ + char *to_charset, *string2; + + to_charset = channel_get_charset_encode (server, channel); + string2 = weechat_iconv ((cfg_look_charset_internal && cfg_look_charset_internal[0]) ? + cfg_look_charset_internal : local_charset, + to_charset, + string); + free (to_charset); + return string2; +} + +/* * channel_remove_away: remove away for all nicks on a channel */ @@ -306,96 +445,25 @@ channel_get_notify_level (t_irc_server *server, t_irc_channel *channel) } /* - * server_remove_notify_level: remove channel notify from list - */ - -void -channel_remove_notify_level (t_irc_server *server, t_irc_channel *channel) -{ - char *name, *pos, *pos2; - - if ((!server) || (!channel)) - return; - - name = (char *) malloc (strlen (channel->name) + 2); - strcpy (name, channel->name); - strcat (name, ":"); - pos = strstr (server->notify_levels, name); - free (name); - if (pos) - { - pos2 = pos + strlen (channel->name); - if (pos2[0] == ':') - { - pos2++; - if (pos2[0]) - { - pos2++; - if (pos2[0] == ',') - pos2++; - if (!pos2[0] && (pos != server->notify_levels)) - pos--; - strcpy (pos, pos2); - server->notify_levels = (char *) realloc (server->notify_levels, - strlen (server->notify_levels) + 1); - } - } - } -} - -/* * server_set_notify_level: set channel notify level */ void channel_set_notify_level (t_irc_server *server, t_irc_channel *channel, int notify) { - char *name, *pos, *pos2, level_string[2]; + char level_string[2]; if ((!server) || (!channel)) return; if (notify == NOTIFY_LEVEL_DEFAULT) - { - channel_remove_notify_level (server, channel); - return; - } - - if (!server->notify_levels) - { - server->notify_levels = (char *) malloc (strlen (channel->name) + 3); - server->notify_levels[0] = '\0'; - } + config_option_list_remove (&(server->notify_levels), channel->name); else { - name = (char *) malloc (strlen (channel->name) + 2); - strcpy (name, channel->name); - strcat (name, ":"); - pos = strstr (server->notify_levels, name); - free (name); - if (pos) - { - pos2 = pos + strlen (channel->name) + 1; - if (pos2[0]) - { - pos2[0] = '0' + notify; - return; - } - } - /* realloc notify list to add channel */ - server->notify_levels = (char *) realloc (server->notify_levels, - strlen (server->notify_levels) + 1 + - strlen (channel->name) + 2 + 1); + level_string[0] = notify + '0'; + level_string[1] = '\0'; + config_option_list_set (&(server->notify_levels), channel->name, level_string); } - - /* channel not in notify list => add it */ - if (server->notify_levels[0]) - strcat (server->notify_levels, ","); - strcat (server->notify_levels, channel->name); - strcat (server->notify_levels, ":"); - level_string[0] = notify + '0'; - level_string[1] = '\0'; - strcat (server->notify_levels, level_string); } /* diff --git a/src/irc/irc-dcc.c b/src/irc/irc-dcc.c index cdf7d08b1..422e4c85a 100644 --- a/src/irc/irc-dcc.c +++ b/src/irc/irc-dcc.c @@ -1120,10 +1120,9 @@ dcc_chat_sendf (t_irc_dcc *ptr_dcc, char *fmt, ...) gui_printf (ptr_dcc->server->buffer, "[DEBUG] Sending to remote host (DCC CHAT) >>> %s\n", buffer); buffer[size_buf - 2] = '\r'; #endif - buf2 = weechat_convert_encoding ((cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - cfg_look_charset_encode, - buffer); + buf2 = channel_iconv_encode (ptr_dcc->server, + ptr_dcc->channel, + buffer); if (dcc_chat_send (ptr_dcc, buf2, strlen (buf2)) <= 0) { irc_display_prefix (ptr_dcc->server, ptr_dcc->server->buffer, @@ -1144,7 +1143,7 @@ void dcc_chat_recv (t_irc_dcc *ptr_dcc) { static char buffer[4096 + 2]; - char *buf2, *pos, *ptr_buf, *next_ptr_buf; + char *buf2, *pos, *ptr_buf, *ptr_buf2, *next_ptr_buf; char *ptr_buf_color; int num_read; @@ -1196,7 +1195,11 @@ dcc_chat_recv (t_irc_dcc *ptr_dcc) if (ptr_buf) { - ptr_buf_color = (char *)gui_color_decode ((unsigned char *)ptr_buf, + ptr_buf2 = channel_iconv_decode (ptr_dcc->server, + ptr_dcc->channel, + ptr_buf); + ptr_buf_color = (char *)gui_color_decode ((ptr_buf2) ? + (unsigned char *)ptr_buf2 : (unsigned char *)ptr_buf, cfg_irc_colors_receive); gui_printf_type (ptr_dcc->channel->buffer, MSG_TYPE_NICK, "%s<", GUI_COLOR(COLOR_WIN_CHAT_DARK)); @@ -1213,7 +1216,7 @@ dcc_chat_recv (t_irc_dcc *ptr_dcc) COLOR_WIN_INFOBAR_HIGHLIGHT, _("Private %s> %s"), ptr_dcc->nick, - (ptr_buf_color) ? ptr_buf_color : ptr_buf); + (ptr_buf_color) ? ptr_buf_color : ((ptr_buf2) ? ptr_buf2 : ptr_buf)); } else gui_printf_type (ptr_dcc->channel->buffer, MSG_TYPE_NICK, @@ -1228,13 +1231,15 @@ dcc_chat_recv (t_irc_dcc *ptr_dcc) (ptr_buf_color) ? ptr_buf_color : ptr_buf); if (ptr_buf_color) free (ptr_buf_color); + if (ptr_buf2) + free (ptr_buf2); } ptr_buf = next_ptr_buf; } if (buf2) -free (buf2); + free (buf2); } else { diff --git a/src/irc/irc-display.c b/src/irc/irc-display.c index b8be20219..05332ae63 100644 --- a/src/irc/irc-display.c +++ b/src/irc/irc-display.c @@ -185,27 +185,27 @@ irc_display_server (t_irc_server *server) _("connected") : _("not connected"), GUI_COLOR(COLOR_WIN_CHAT_DARK)); - gui_printf (NULL, " server_autoconnect . . . .: %s%s\n", + gui_printf (NULL, " server_autoconnect . . . . : %s%s\n", (server->autoconnect) ? _("on") : _("off"), (server->command_line) ? _(" (temporary server, will not be saved)") : ""); - gui_printf (NULL, " server_autoreconnect . . .: %s\n", + gui_printf (NULL, " server_autoreconnect . . . : %s\n", (server->autoreconnect) ? _("on") : _("off")); - gui_printf (NULL, " server_autoreconnect_delay: %d %s\n", + gui_printf (NULL, " server_autoreconnect_delay : %d %s\n", server->autoreconnect_delay, _("seconds")); - gui_printf (NULL, " server_address . . . . . .: %s\n", + gui_printf (NULL, " server_address . . . . . . : %s\n", server->address); - gui_printf (NULL, " server_port . . . . . . .: %d\n", + gui_printf (NULL, " server_port . . . . . . . : %d\n", server->port); - gui_printf (NULL, " server_ipv6 . . . . . . .: %s\n", + gui_printf (NULL, " server_ipv6 . . . . . . . : %s\n", (server->ipv6) ? _("on") : _("off")); - gui_printf (NULL, " server_ssl . . . . . . . .: %s\n", + gui_printf (NULL, " server_ssl . . . . . . . . : %s\n", (server->ssl) ? _("on") : _("off")); - gui_printf (NULL, " server_password . . . . .: %s\n", + gui_printf (NULL, " server_password . . . . . : %s\n", (server->password && server->password[0]) ? _("(hidden)") : ""); - gui_printf (NULL, " server_nick1/2/3 . . . . .: %s %s/ %s%s %s/ %s%s\n", + gui_printf (NULL, " server_nick1/2/3 . . . . . : %s %s/ %s%s %s/ %s%s\n", server->nick1, GUI_COLOR(COLOR_WIN_CHAT_DARK), GUI_COLOR(COLOR_WIN_CHAT), @@ -213,20 +213,29 @@ irc_display_server (t_irc_server *server) GUI_COLOR(COLOR_WIN_CHAT_DARK), GUI_COLOR(COLOR_WIN_CHAT), server->nick3); - gui_printf (NULL, " server_username . . . . .: %s\n", + gui_printf (NULL, " server_username . . . . . : %s\n", server->username); - gui_printf (NULL, " server_realname . . . . .: %s\n", + gui_printf (NULL, " server_realname . . . . . : %s\n", server->realname); - gui_printf (NULL, " server_command . . . . . .: %s\n", + gui_printf (NULL, " server_command . . . . . . : %s\n", (server->command && server->command[0]) ? server->command : ""); - gui_printf (NULL, " server_command_delay . . .: %d %s\n", + gui_printf (NULL, " server_command_delay . . . : %d %s\n", server->command_delay, _("seconds")); - gui_printf (NULL, " server_autojoin . . . . .: %s\n", + gui_printf (NULL, " server_autojoin . . . . . : %s\n", (server->autojoin && server->autojoin[0]) ? server->autojoin : ""); - gui_printf (NULL, " server_notify_levels . . .: %s\n", + gui_printf (NULL, " server_notify_levels . . . : %s\n", (server->notify_levels && server->notify_levels[0]) ? server->notify_levels : ""); + gui_printf (NULL, " server_charset_decode_iso. : %s\n", + (server->charset_decode_iso && server->charset_decode_iso[0]) ? + server->charset_decode_iso : ""); + gui_printf (NULL, " server_charset_decode_utf. : %s\n", + (server->charset_decode_utf && server->charset_decode_utf[0]) ? + server->charset_decode_utf : ""); + gui_printf (NULL, " server_charset_encode. . . : %s\n", + (server->charset_encode && server->charset_encode[0]) ? + server->charset_encode : ""); } diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c index a19196315..bb0eeb359 100644 --- a/src/irc/irc-recv.c +++ b/src/irc/irc-recv.c @@ -2225,14 +2225,16 @@ irc_cmd_recv_quit (t_irc_server *server, char *host, char *nick, char *arguments pos = strchr (host, '!'); irc_display_prefix (server, ptr_channel->buffer, PREFIX_QUIT); gui_printf (ptr_channel->buffer, - _("%s%s %s(%s%s%s)%s has quit %s(%s%s%s)\n"), + _("%s%s %s(%s%s%s)%s has quit"), GUI_COLOR(COLOR_WIN_CHAT_NICK), nick, GUI_COLOR(COLOR_WIN_CHAT_DARK), GUI_COLOR(COLOR_WIN_CHAT_HOST), (pos) ? pos + 1 : "", GUI_COLOR(COLOR_WIN_CHAT_DARK), - GUI_COLOR(COLOR_WIN_CHAT), + GUI_COLOR(COLOR_WIN_CHAT)); + gui_printf (ptr_channel->buffer, + " %s(%s%s%s)\n", GUI_COLOR(COLOR_WIN_CHAT_DARK), GUI_COLOR(COLOR_WIN_CHAT), arguments, @@ -2447,7 +2449,7 @@ irc_cmd_recv_004 (t_irc_server *server, char *host, char *nick, char *arguments) /* execute command once connected */ if (server->command && server->command[0]) { - user_command(server, NULL, server->command); + user_command(NULL, server, server->command); if (server->command_delay > 0) sleep (server->command_delay); } diff --git a/src/irc/irc-server.c b/src/irc/irc-server.c index 2a4b6107e..33cf7afd0 100644 --- a/src/irc/irc-server.c +++ b/src/irc/irc-server.c @@ -84,6 +84,9 @@ server_init (t_irc_server *server) server->autojoin = NULL; server->autorejoin = 0; server->notify_levels = NULL; + server->charset_decode_iso = NULL; + server->charset_decode_utf = NULL; + server->charset_encode = NULL; /* internal vars */ server->child_pid = 0; @@ -294,6 +297,12 @@ server_destroy (t_irc_server *server) free (server->autojoin); if (server->notify_levels) free (server->notify_levels); + if (server->charset_decode_iso) + free (server->charset_decode_iso); + if (server->charset_decode_utf) + free (server->charset_decode_utf); + if (server->charset_encode) + free (server->charset_encode); if (server->unterminated_message) free (server->unterminated_message); if (server->nick) @@ -355,7 +364,8 @@ server_new (char *name, int autoconnect, int autoreconnect, int autoreconnect_de int command_line, char *address, int port, int ipv6, int ssl, char *password, char *nick1, char *nick2, char *nick3, char *username, char *realname, char *command, int command_delay, char *autojoin, - int autorejoin, char *notify_levels) + int autorejoin, char *notify_levels, char *charset_decode_iso, + char *charset_decode_utf, char *charset_encode) { t_irc_server *new_server; @@ -365,12 +375,16 @@ server_new (char *name, int autoconnect, int autoreconnect, int autoreconnect_de #ifdef DEBUG weechat_log_printf ("Creating new server (name:%s, address:%s, port:%d, pwd:%s, " "nick1:%s, nick2:%s, nick3:%s, username:%s, realname:%s, " - "command:%s, autojoin:%s, autorejoin:%s, notify_levels:%s)\n", + "command:%s, autojoin:%s, autorejoin:%s, notify_levels:%s, " + "decode_iso:%s, decode_utf:%s, encode:%s)\n", name, address, port, (password) ? password : "", (nick1) ? nick1 : "", (nick2) ? nick2 : "", (nick3) ? nick3 : "", (username) ? username : "", (realname) ? realname : "", (command) ? command : "", (autojoin) ? autojoin : "", - (autorejoin) ? "on" : "off", (notify_levels) ? notify_levels : ""); + (autorejoin) ? "on" : "off", (notify_levels) ? notify_levels : "", + (charset_decode_iso) ? charset_decode_iso : "", + (charset_decode_utf) ? charset_decode_utf : "", + (charset_encode) ? charset_encode : ""); #endif if ((new_server = server_alloc ())) @@ -400,6 +414,12 @@ server_new (char *name, int autoconnect, int autoreconnect, int autoreconnect_de new_server->autorejoin = autorejoin; new_server->notify_levels = (notify_levels) ? strdup (notify_levels) : NULL; + new_server->charset_decode_iso = + (charset_decode_iso) ? strdup (charset_decode_iso) : NULL; + new_server->charset_decode_utf = + (charset_decode_utf) ? strdup (charset_decode_utf) : NULL; + new_server->charset_encode = + (charset_encode) ? strdup (charset_encode) : NULL; } else return NULL; @@ -407,6 +427,90 @@ server_new (char *name, int autoconnect, int autoreconnect, int autoreconnect_de } /* + * server_get_charset_decode_iso: get decode iso value for server + * if not found for server, look for global + */ + +char * +server_get_charset_decode_iso (t_irc_server *server) +{ + char *pos, *result; + int length; + + if (!server) + return (cfg_look_charset_decode_iso) ? + strdup (cfg_look_charset_decode_iso) : strdup (""); + + config_option_list_get_value (&(server->charset_decode_iso), + "server", &pos, &length); + if (pos && (length > 0)) + { + result = strdup (pos); + result[length] = '\0'; + return result; + } + + return (cfg_look_charset_decode_iso) ? + strdup (cfg_look_charset_decode_iso) : strdup (""); +} + +/* + * server_get_charset_decode_utf: get decode utf value for server + * if not found for server, look for global + */ + +char * +server_get_charset_decode_utf (t_irc_server *server) +{ + char *pos, *result; + int length; + + if (!server) + return (cfg_look_charset_decode_utf) ? + strdup (cfg_look_charset_decode_utf) : strdup (""); + + config_option_list_get_value (&(server->charset_decode_utf), + "server", &pos, &length); + if (pos && (length > 0)) + { + result = strdup (pos); + result[length] = '\0'; + return result; + } + + return (cfg_look_charset_decode_utf) ? + strdup (cfg_look_charset_decode_utf) : strdup (""); +} + +/* + * server_get_charset_encode: get encode value for server + * if not found for server, look for global + */ + +char * +server_get_charset_encode (t_irc_server *server) +{ + char *pos, *result; + int length; + + if (!server) + return (cfg_look_charset_encode) ? + strdup (cfg_look_charset_encode) : strdup (""); + + config_option_list_get_value (&(server->charset_encode), + "server", &pos, &length); + if (pos && (length > 0)) + { + result = strdup (pos); + result[length] = '\0'; + return result; + } + + return (cfg_look_charset_encode) ? + strdup (cfg_look_charset_encode) : strdup (""); +} + +/* * server_send: send data to IRC server */ @@ -433,7 +537,6 @@ server_sendf (t_irc_server *server, char *fmt, ...) { va_list args; static char buffer[4096]; - char *buf2; int size_buf; if (!server) @@ -454,17 +557,12 @@ server_sendf (t_irc_server *server, char *fmt, ...) gui_printf (server->buffer, "[DEBUG] Sending to server >>> %s\n", buffer); buffer[size_buf - 2] = '\r'; #endif - buf2 = weechat_convert_encoding ((cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - cfg_look_charset_encode, - buffer); - if (server_send (server, buf2, strlen (buf2)) <= 0) + if (server_send (server, buffer, strlen (buffer)) <= 0) { irc_display_prefix (server, server->buffer, PREFIX_ERROR); gui_printf (server->buffer, _("%s error sending data to IRC server\n"), WEECHAT_ERROR); } - free (buf2); } /* @@ -1782,6 +1880,9 @@ server_print_log (t_irc_server *server) weechat_log_printf (" autojoin. . . . . . : '%s'\n", server->autojoin); weechat_log_printf (" autorejoin. . . . . : %d\n", server->autorejoin); weechat_log_printf (" notify_levels . . . : %s\n", server->notify_levels); + weechat_log_printf (" charset_decode_iso. : %s\n", server->charset_decode_iso); + weechat_log_printf (" charset_decode_utf. : %s\n", server->charset_decode_utf); + weechat_log_printf (" charset_encode. . . : %s\n", server->charset_encode); weechat_log_printf (" child_pid . . . . . : %d\n", server->child_pid); weechat_log_printf (" child_read . . . . : %d\n", server->child_read); weechat_log_printf (" child_write . . . . : %d\n", server->child_write); diff --git a/src/irc/irc.h b/src/irc/irc.h index e2fdc00fb..28a10b13f 100644 --- a/src/irc/irc.h +++ b/src/irc/irc.h @@ -143,6 +143,9 @@ struct t_irc_server 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) */ @@ -301,7 +304,11 @@ extern void server_free (t_irc_server *); extern void server_free_all (); extern t_irc_server *server_new (char *, int, int, int, int, char *, int, int, int, char *, char *, char *, char *, char *, char *, - char *, int, char *, int, char *); + char *, int, char *, int, char *, char *, char *, + char *); +extern char *server_get_charset_decode_iso (t_irc_server *); +extern char *server_get_charset_decode_utf (t_irc_server *); +extern char *server_get_charset_encode (t_irc_server *); extern int server_send (t_irc_server *, char *, int); extern void server_sendf (t_irc_server *, char *, ...); extern void server_recv (t_irc_server *); @@ -336,13 +343,17 @@ extern void channel_free (t_irc_server *, t_irc_channel *); extern void channel_free_all (t_irc_server *); extern t_irc_channel *channel_search (t_irc_server *, char *); extern int string_is_channel (char *); +extern char *channel_get_charset_decode_iso (t_irc_server *, t_irc_channel *); +extern char *channel_get_charset_decode_utf (t_irc_server *, t_irc_channel *); +extern char *channel_get_charset_encode (t_irc_server *, t_irc_channel *); +extern char *channel_iconv_decode (t_irc_server *, t_irc_channel *, char *); +extern char *channel_iconv_encode (t_irc_server *, t_irc_channel *, char *); extern void channel_remove_away (t_irc_channel *); extern void channel_check_away (t_irc_server *, t_irc_channel *); extern void channel_set_away (t_irc_channel *, char *, int); extern int channel_create_dcc (t_irc_dcc *); extern void channel_remove_dcc (t_irc_dcc *); extern int channel_get_notify_level (t_irc_server *, t_irc_channel *); -extern void channel_remove_notify_level (t_irc_server *, t_irc_channel *); extern void channel_set_notify_level (t_irc_server *, t_irc_channel *, int); extern void channel_print_log (t_irc_channel *); @@ -387,12 +398,9 @@ extern void irc_display_mode (t_irc_server *, t_gui_buffer *, char *, char, char *, char *, char *, char *); extern void irc_display_server (t_irc_server *ptr_server); -/* IRC protocol (irc-commands.c) */ +/* IRC commands issued by user (irc-send.c) */ -extern int irc_is_highlight (char *, char *); -extern int irc_recv_command (t_irc_server *, char *, char *, char *, char *); extern void irc_login (t_irc_server *); -/* IRC commands issued by user */ extern int irc_cmd_send_admin (t_irc_server *, char *); extern int irc_cmd_send_ame (t_irc_server *, char *); extern int irc_cmd_send_amsg (t_irc_server *, char *); @@ -452,7 +460,11 @@ extern int irc_cmd_send_wallops (t_irc_server *, char *); extern int irc_cmd_send_who (t_irc_server *, char *); extern int irc_cmd_send_whois (t_irc_server *, char *); extern int irc_cmd_send_whowas (t_irc_server *, char *); -/* IRC commands executed when received from server */ + +/* IRC commands executed when received from server (irc-recv.c) */ + +extern int irc_is_highlight (char *, char *); +extern int irc_recv_command (t_irc_server *, char *, char *, char *, char *); extern int irc_cmd_recv_error (t_irc_server *, char *, char *, char *); extern int irc_cmd_recv_invite (t_irc_server *, char *, char *, char *); extern int irc_cmd_recv_join (t_irc_server *, char *, char *, char *); diff --git a/src/plugins/plugins-interface.c b/src/plugins/plugins-interface.c index 12083faf4..615ef89d6 100644 --- a/src/plugins/plugins-interface.c +++ b/src/plugins/plugins-interface.c @@ -288,11 +288,14 @@ weechat_plugin_exec_command (t_weechat_plugin *plugin, plugin_find_server_channel (server, channel, &ptr_server, &ptr_channel); if (ptr_server && ptr_channel) - user_command (ptr_server, ptr_channel->buffer, command); + user_command (gui_buffer_find_window (ptr_channel->buffer), + ptr_server, command); else if (ptr_server && (ptr_server->buffer)) - user_command (ptr_server, ptr_server->buffer, command); + user_command (gui_buffer_find_window (ptr_server->buffer), + ptr_server, command); else - user_command (NULL, gui_buffers, command); + user_command (gui_buffer_find_window (gui_buffers), + NULL, command); } /* diff --git a/weechat/ChangeLog b/weechat/ChangeLog index ed91c6c66..f819b3cce 100644 --- a/weechat/ChangeLog +++ b/weechat/ChangeLog @@ -1,10 +1,11 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2005-12-09 +ChangeLog - 2005-12-11 Version 0.1.7 (under dev!): + * added charset by server and channel, new command: /charset * added Ruby script plugin * added /upgrade command * added ETA (Estimated Time of Arrival) for DCC files diff --git a/weechat/doc/weechat_doc_en.texi b/weechat/doc/weechat_doc_en.texi index 8f3f65240..c5762e92d 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, 6 2005 +@subtitle Documentation for WeeChat v0.1.7-cvs - December, 11 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -289,9 +289,6 @@ Type: boolean (values: 'on' or 'off'), default value: 'off'@* @item look_buffer_timestamp Timestamp for buffers@* Type: string (any string), default value: '[%H:%M:%S]'@* -@item look_color_nicks -Display nick names with different colors@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* @item look_color_nicks_number Number of colors to use for nicks colors@* Type: integer (values: between 1 and 10), default value: 10@* @@ -742,6 +739,15 @@ Type: boolean (values: 'on' or 'off'), default value: 'on'@* @item server_notify_levels Comma separated list of notify levels for channels of this server (format: #channel:1,..)@* Type: string (any string), default value: ''@* +@item server_charset_decode_iso +Comma separated list of charsets for server and channels, to decode ISO (format: server:charset,#channel:charset,..)@* +Type: string (any string), default value: ''@* +@item server_charset_decode_utf +Comma separated list of charsets for server and channels, to decode UTF (format: server:charset,#channel:charset,..)@* +Type: string (any string), default value: ''@* +@item server_charset_encode +Comma separated list of charsets for server and channels, to encode messages (format: server:charset,#channel:charset,..)@* +Type: string (any string), default value: ''@* @end table Colors for Curses GUI are:@* @@ -928,6 +934,14 @@ action: action to do:@* server,channel: jump to buffer by server and/or channel name@* number: jump to buffer by number@* @* +@item charset [(decode_iso | decode_utf | encode) charset] +@* +change charset for server or channel@* +@* +decode_iso: charset used for decoding ISO@* +decode_utf: charset used for decoding UTF@* + encode: charset used for encoding messages@* +@* @item clear [-all] @* clear window(s)@* diff --git a/weechat/doc/weechat_doc_es.texi b/weechat/doc/weechat_doc_es.texi index 58407bcf8..74b3eb824 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 - 6 de diciembre de 2005 +@subtitle Documentaci@'on para WeeChat v0.1.7-cvs - 11 de diciembre de 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -260,488 +260,494 @@ Enumeraci@'on de las opciones del fichero de configuraci@'on:@* @table @kbd @item look_set_title -Set title for window (terminal for Curses GUI) with name & version@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Define el t@'itulo de la ventana (el terminal para la interfaz Curses) con el nombre y la versi@'on@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_startup_logo -Display WeeChat logo at startup@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar el logotipo de WeeChat en el arranque@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_startup_version -Display WeeChat version at startup@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar la versi@'on de Weechat en el arranque@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_weechat_slogan -WeeChat slogan (if empty, slogan is not used)@* -Type: string (any string), default value: 'the geekest IRC client!'@* +Esl@'ogan de WeeChat (si est@'a vac@'io, el esl@'ogan no ser@'a utilizado)@* +Typo: cadena (cualquier cadena), valor por defecto: 'the geekest IRC client!'@* @item look_charset_decode_iso -ISO charset for decoding messages from server (used only if locale is UTF-8) (if empty, messages are not converted if locale is UTF-8@* -Type: string (any string), default value: 'ISO-8859-1'@* +Juego de caracteres ISO para decodificar mensajes del servidor (usado s@'olo si locale es UTF-8) (si est@'a vac@'io, los mensajes no se convierten si locale es UTF-8@* +Typo: cadena (cualquier cadena), valor por defecto: 'ISO-8859-1'@* @item look_charset_decode_utf -UTF charset for decoding messages from server (used only if locale is not UTF-8) (if empty, messages are not converted if locale is not UTF-8@* -Type: string (any string), default value: 'UTF-8'@* +Juego de caracteres UTF para decodificar mensajes del servidor (usado s@'olo si locale no es UTF-8) (si est@'a vac@'io, los mensajes no se convierten si locale no es UTF-8@* +Typo: cadena (cualquier cadena), valor por defecto: 'UTF-8'@* @item look_charset_encode -Charset for encoding messages sent to server, examples: UFT-8, ISO-8859-1 (if empty, messages are not converted)@* -Type: string (any string), default value: ''@* +Juego de caracteres para codificar los mensajes enviados al servidor, ejemplos: UTF-8, ISO-8859-1 (si est@'a vac@'io, los mensajes no se convierten)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item look_charset_internal -Forces internal WeeChat charset (should be empty in most cases, that means detected charset is used)@* -Type: string (any string), default value: ''@* +Fuerza el juego de caracteres interno de Weechat (deber@'ia estar vac@'io en la mayor@'ia de los casos, eso significa que se utiliza el juego de caracteres detectado)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item look_one_server_buffer -Use same buffer for all servers@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Usar el mismo bfer para todos los servidores@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item look_buffer_timestamp -Timestamp for buffers@* -Type: string (any string), default value: '[%H:%M:%S]'@* -@item look_color_nicks -Display nick names with different colors@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Fecha y hora para las bfers@* +Typo: cadena (cualquier cadena), valor por defecto: '[%H:%M:%S]'@* @item look_color_nicks_number -Number of colors to use for nicks colors@* -Type: integer (values: between 1 and 10), default value: 10@* +Nmero de colores para usar en los colores de nombres de usuario@* +Typo: entero (valores: entre 1 y 10), valor por defecto: 10@* @item look_color_actions -Display actions with different colors@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar acciones con colores diferentes@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_nicklist -Display nicklist window (for channel windows)@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar ventana de usuarios (para las ventanas de canal)@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_nicklist_position -Nicklist position (top, left, right (default), bottom)@* -Type: string (values: 'left', 'right', 'top', 'bottom'), default value: 'right'@* +Posici@'on de la ventana de usuarios (arriba (top), izquierda (left), derecha (right, por defecto), abajo (bottom))@* +Typo: cadena (valores: 'left', 'right', 'top', 'bottom'), valor por defecto: 'right'@* @item look_nicklist_min_size -Min size for nicklist (width or height, depending on look_nicklist_position (0 = no min size))@* -Type: integer (values: between 0 and 100), default value: 0@* +Tama@~no m@'inimo para la ventana de usuarios (ancho o alto, dependiendo de look_nicklist_position (0 = sin tama@~no m@'inimo))@* +Typo: entero (valores: entre 0 y 100), valor por defecto: 0@* @item look_nicklist_max_size -Max size for nicklist (width or height, depending on look_nicklist_position (0 = no max size; if min == max and > 0, then size is fixed))@* -Type: integer (values: between 0 and 100), default value: 0@* +Tama@~no m@'aximo para la ventana de usuarios (ancho o alto, dependiendo de look_nicklist_position (0 = sin tama@~no m@'aximo, si min == max y > 0, entonces se fija el tama@~no))@* +Typo: entero (valores: entre 0 y 100), valor por defecto: 0@* @item look_no_nickname -Text to display instead of nick when not connected@* -Type: string (any string), default value: '-cmd-'@* +Texto a mostrar en lugar del nick cuando no se est@'a conectado@* +Typo: cadena (cualquier cadena), valor por defecto: '-cmd-'@* @item look_nickmode -Display nick mode ((half)op/voice) before each nick@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar modo del usuario ((half)op/voice) antes de cada usuario@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_nickmode_empty -Display space if nick mode is not (half)op/voice@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Mostrar un espacio si el modo de usuario no es (half)op/voice@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item look_nick_completor -The string inserted after nick completion@* -Type: string (any string), default value: ':'@* +La cadena mostrada tras la finalizaci@'on de los nombres de usuario@* +Typo: cadena (cualquier cadena), valor por defecto: ':'@* @item look_nick_completion_ignore -Chars ignored for nick completion@* -Type: string (any string), default value: '[]-^'@* +Caracteres ignorados para el completado del nombre de usuario@* +Typo: cadena (cualquier cadena), valor por defecto: '[]-^'@* @item look_infobar -Enable info bar@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Activa la barra de informaci@'on@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_infobar_timestamp -Timestamp for time in infobar@* -Type: string (any string), default value: '%B, %A %d %Y'@* +Fecha y hora para las conversaciones guardadas@* +Typo: cadena (cualquier cadena), valor por defecto: '%B, %A %d %Y'@* @item look_infobar_seconds -Display seconds in infobar time@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar segundos en la hora de la barra de herramientas@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_infobar_delay_highlight -Delay (in seconds) for highlight messages in infobar (0 = disable highlight notifications in infobar)@* -Type: integer (values: between 0 and 2147483647), default value: 7@* +Retraso (en segundos) para la notificaci@'on de mensajes en la barra de informaci@'on (0 = desactivar las notificaciones en la barra de informaci@'on)@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 7@* @item look_hotlist_names_count -Max number of names in hotlist (0 = no name displayed, only buffer numbers)@* -Type: integer (values: between 0 and 32), default value: 3@* +Nmero m@'aximo de nombres en la hotlist (0 = no se muestra ninguno, s@'olo los nmeros de bfer)@* +Typo: entero (valores: entre 0 y 32), valor por defecto: 3@* @item look_hotlist_names_level -Level for displaying names in hotlist (combination of: 1=join/part, 2=message, 4=private, 8=highlight, for example: 12=private+highlight)@* -Type: integer (values: between 1 and 15), default value: 12@* +Nivel para mostrar mensajes en la hotlist (combinaci@'on de: 1=join/part, 2=mensaje, 4=privado, 8=resaltado, por ejemplo: 12=privado + resaltado)@* +Typo: entero (valores: entre 1 y 15), valor por defecto: 12@* @item look_hotlist_names_length -Max length of names in hotlist (0 = no limit)@* -Type: integer (values: between 0 and 32), default value: 0@* +Longitud m@'axima de nombres en la hotlist (0 = sin l@'imite)@* +Typo: entero (valores: entre 0 y 32), valor por defecto: 0@* @item look_day_change -Display special message when day changes@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar un mensaje especial cuando el d@'ia cambia@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item look_day_change_timestamp -Timestamp for date displayed when day changed@* -Type: string (any string), default value: '%a, %d %b %Y'@* +Marca de tiempo para la fecha mostrada cuando el d@'ia cambi@'o@* +Typo: cadena (cualquier cadena), valor por defecto: '%a, %d %b %Y'@* @item look_read_marker Use a marker on servers/channels to show first unread line@* -Type: string (any string), default value: ' '@* +Typo: cadena (cualquier cadena), valor por defecto: ' '@* @item col_real_white -If set, uses real white color, disabled by default for terms with white background (if you never use white background, you should turn on this option to see real white instead of default term foreground color)@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Si se establece, usa el color blanco verdadero, desactivado por defecto para terminales con el fondo blanco (si tu nunca usas un fondo blanco, deber@'ias activar esta opci@'on para ver el blanco verdadero en vez del color de primer plano del terminal por defecto)@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item col_title -Color for title bar@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para la barra de t@'itulo@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_title_bg -Background for title bar@* -Type: color (Curses or Gtk color), default value: 'blue'@* +Color de fondo para la barra de t@'itulo@* +Typo: color (color Curses o Gtk), valor por defecto: 'blue'@* @item col_chat -Color for chat text@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para el texto de conversaci@'on@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_chat_time -Color for time in chat window@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para la hora en la ventana de conversaci@'on@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_chat_time_sep -Color for time separator (chat window)@* -Type: color (Curses or Gtk color), default value: 'brown'@* +Color para el separador de la hora (ventana de conversaci@'on)@* +Typo: color (color Curses o Gtk), valor por defecto: 'brown'@* @item col_chat_prefix1 -Color for 1st and 3rd char of prefix@* -Type: color (Curses or Gtk color), default value: 'lightcyan'@* +Color para el primer o tercer car@'acter de prefijo@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightcyan'@* @item col_chat_prefix2 -Color for middle char of prefix@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para el car @'acter de en medio del prefijo@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_chat_server -Color for server name@* -Type: color (Curses or Gtk color), default value: 'brown'@* +Color para el nombre del servidor@* +Typo: color (color Curses o Gtk), valor por defecto: 'brown'@* @item col_chat_join -Color for join arrow (prefix)@* -Type: color (Curses or Gtk color), default value: 'lightgreen'@* +Color para la flecha de join (prefijo)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightgreen'@* @item col_chat_part -Color for part/quit arrow (prefix)@* -Type: color (Curses or Gtk color), default value: 'lightred'@* +Color para la flecha de part/quit (prefijo)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightred'@* @item col_chat_nick -Color for nicks in actions (chat window)@* -Type: color (Curses or Gtk color), default value: 'lightcyan'@* +Color para los nombres de usuario en las acciones (ventana de conversaci@'on)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightcyan'@* @item col_chat_host -Color for hostnames (chat window)@* -Type: color (Curses or Gtk color), default value: 'cyan'@* +Color para los nombres de m@'aquina (ventana de conversaci@'on)@* +Typo: color (color Curses o Gtk), valor por defecto: 'cyan'@* @item col_chat_channel -Color for channel names in actions (chat window)@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para los nombres de canal en las acciones (ventana de conversaci@'on)@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_chat_dark -Color for dark separators (chat window)@* -Type: color (Curses or Gtk color), default value: 'green'@* +Color para los separadores oscuros (ventana de conversaci@'on)@* +Typo: color (color Curses o Gtk), valor por defecto: 'green'@* @item col_chat_highlight -Color for highlighted nick (chat window)@* -Type: color (Curses or Gtk color), default value: 'yellow'@* +Color para el alias subrayado (ventana de conversaci@'on)@* +Typo: color (color Curses o Gtk), valor por defecto: 'yellow'@* @item col_chat_bg -Background for chat window@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color de fondo para la ventana de conversaci@'on@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_chat_read_marker Color for unread data marker@* -Type: color (Curses or Gtk color), default value: 'yellow'@* +Typo: color (color Curses o Gtk), valor por defecto: 'yellow'@* @item col_chat_read_marker_bg Background for unread data marker@* -Type: color (Curses or Gtk color), default value: 'magenta'@* +Typo: color (color Curses o Gtk), valor por defecto: 'magenta'@* @item col_status -Color for status bar@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para la barra de estado@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_status_delimiters -Color for status bar delimiters@* -Type: color (Curses or Gtk color), default value: 'cyan'@* +Color para los delimitadores de la barra de estado@* +Typo: color (color Curses o Gtk), valor por defecto: 'cyan'@* @item col_status_channel -Color for current channel in status bar@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para el canal actual en la barra de estado@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_status_data_msg -Color for window with new messages (status bar)@* -Type: color (Curses or Gtk color), default value: 'yellow'@* +Color para una ventana con mensajes nuevos (barra de estado)@* +Typo: color (color Curses o Gtk), valor por defecto: 'yellow'@* @item col_status_private -Color for window with private message (status bar)@* -Type: color (Curses or Gtk color), default value: 'lightmagenta'@* +Color para una ventana con un mensaje privado (barra de estado)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightmagenta'@* @item col_status_highlight -Color for window with highlight (status bar)@* -Type: color (Curses or Gtk color), default value: 'lightred'@* +Color para una ventana con resaltado (barra de estado)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightred'@* @item col_status_data_other -Color for window with new data (not messages) (status bar)@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para una ventana con nuevos datos (no mensajes) (barra de estado)@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_status_more -Color for window with new data (status bar)@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para una ventana con nuevos datos (barra de estado)@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_status_bg -Background for status window@* -Type: color (Curses or Gtk color), default value: 'blue'@* +Color de fondo para la ventana de estado@* +Typo: color (color Curses o Gtk), valor por defecto: 'blue'@* @item col_infobar -Color for info bar text@* -Type: color (Curses or Gtk color), default value: 'black'@* +Color para el texto de la barra de informaci@'on@* +Typo: color (color Curses o Gtk), valor por defecto: 'black'@* @item col_infobar_delimiters -Color for infobar delimiters@* -Type: color (Curses or Gtk color), default value: 'blue'@* +Color para los delimitadores de la barra de informaci@'on@* +Typo: color (color Curses o Gtk), valor por defecto: 'blue'@* @item col_infobar_highlight -Color for info bar highlight notification@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para la notificaci@'on en la barra de informaci@'on@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_infobar_bg -Background for info bar window@* -Type: color (Curses or Gtk color), default value: 'cyan'@* +Color de fondo para la ventana de la barra de informaci@'on@* +Typo: color (color Curses o Gtk), valor por defecto: 'cyan'@* @item col_input -Color for input text@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para el texto de entrada@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_input_channel -Color for input text (channel name)@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para el texto de entrada (nombre de canal)@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_input_nick -Color for input text (nick name)@* -Type: color (Curses or Gtk color), default value: 'lightcyan'@* +Color para el texto de entrada (alias)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightcyan'@* @item col_input_delimiters -Color for input text (delimiters)@* -Type: color (Curses or Gtk color), default value: 'cyan'@* +Color para el texto de entrada (delimitadores)@* +Typo: color (color Curses o Gtk), valor por defecto: 'cyan'@* @item col_input_bg -Background for input window@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color de fondo para la ventana de entrada@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_nick -Color for nicknames@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para los nombres de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_nick_away -Color for away nicknames@* -Type: color (Curses or Gtk color), default value: 'cyan'@* +Color para los usuarios ausentes@* +Typo: color (color Curses o Gtk), valor por defecto: 'cyan'@* @item col_nick_chanowner -Color for chan owner symbol (specific to unrealircd)@* -Type: color (Curses or Gtk color), default value: 'lightgreen'@* +Color para el s@'imbolo de propietario de canal (especificado en unrealircd)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightgreen'@* @item col_nick_chanadmin -Color for chan admin symbol (specific to unrealircd)@* -Type: color (Curses or Gtk color), default value: 'lightgreen'@* +Color para el s@'imbolo de administrador de canal (especificado en unrealircd)@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightgreen'@* @item col_nick_op -Color for operator symbol@* -Type: color (Curses or Gtk color), default value: 'lightgreen'@* +Color para el s@'imbolo de operador@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightgreen'@* @item col_nick_halfop -Color for half-operator symbol@* -Type: color (Curses or Gtk color), default value: 'lightmagenta'@* +Color para el s@'imbolo de semi-operador@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightmagenta'@* @item col_nick_voice -Color for voice symbol@* -Type: color (Curses or Gtk color), default value: 'yellow'@* +Color para el s@'imbolo de voz@* +Typo: color (color Curses o Gtk), valor por defecto: 'yellow'@* @item col_nick_more -Color for '+' when scrolling nicks@* -Type: color (Curses or Gtk color), default value: 'lightmagenta'@* +Color para '+' al desplazar nicks@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightmagenta'@* @item col_nick_sep -Color for nick separator@* -Type: color (Curses or Gtk color), default value: 'blue'@* +Color para el separador de alias@* +Typo: color (color Curses o Gtk), valor por defecto: 'blue'@* @item col_nick_self -Color for local nick@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para el alias local@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_nick_color1 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'cyan'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'cyan'@* @item col_nick_color2 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'magenta'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'magenta'@* @item col_nick_color3 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'green'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'green'@* @item col_nick_color4 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'brown'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'brown'@* @item col_nick_color5 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'lightblue'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightblue'@* @item col_nick_color6 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_nick_color7 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'lightcyan'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightcyan'@* @item col_nick_color8 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'lightmagenta'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightmagenta'@* @item col_nick_color9 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'lightgreen'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightgreen'@* @item col_nick_color10 -Color for nick@* -Type: color (Curses or Gtk color), default value: 'blue'@* +Color para el nombre de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'blue'@* @item col_nick_private -Color for other nick in private window@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color para el otro alias en la ventana privada@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_nick_bg -Background for nicknames@* -Type: color (Curses or Gtk color), default value: 'default'@* +Color de fondo para los nombres de usuario@* +Typo: color (color Curses o Gtk), valor por defecto: 'default'@* @item col_chat_dcc_selected -Color for selected DCC (chat window)@* -Type: color (Curses or Gtk color), default value: 'white'@* +Color para el DCC seleccionado (ventana de conversaci@'in)@* +Typo: color (color Curses o Gtk), valor por defecto: 'white'@* @item col_dcc_waiting -Color for "waiting" dcc status@* -Type: color (Curses or Gtk color), default value: 'lightcyan'@* +Color para el estado dcc "esperando"@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightcyan'@* @item col_dcc_connecting -Color for "connecting" dcc status@* -Type: color (Curses or Gtk color), default value: 'yellow'@* +Color para el estado dcc "conectando"@* +Typo: color (color Curses o Gtk), valor por defecto: 'yellow'@* @item col_dcc_active -Color for "active" dcc status@* -Type: color (Curses or Gtk color), default value: 'lightblue'@* +Color para el estado dcc "activo"@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightblue'@* @item col_dcc_done -Color for "done" dcc status@* -Type: color (Curses or Gtk color), default value: 'lightgreen'@* +Color para el estado dcc "terminado"@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightgreen'@* @item col_dcc_failed -Color for "failed" dcc status@* -Type: color (Curses or Gtk color), default value: 'lightred'@* +Color para el estado dcc "fallo"@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightred'@* @item col_dcc_aborted -Color for "aborted" dcc status@* -Type: color (Curses or Gtk color), default value: 'lightred'@* +Color para el estado dcc "abortado"@* +Typo: color (color Curses o Gtk), valor por defecto: 'lightred'@* @item history_max_lines -Maximum number of lines in history for one server/channel/private window (0 = unlimited)@* -Type: integer (values: between 0 and 2147483647), default value: 4096@* +Nmero m@'aximo de l@'ineas en el hist@'orico para un servidor/canal/privado (0 = ilimitado)@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 4096@* @item history_max_commands -Maximum number of user commands in history (0 = unlimited)@* -Type: integer (values: between 0 and 2147483647), default value: 100@* +Nmero mximo de comandos de usuario en el hist@'orico (0 = ilimitado)@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 100@* @item history_display_default -Maximum number of commands to display by default in history listing (0 = unlimited)@* -Type: integer (values: between 0 and 2147483647), default value: 5@* +Nmero m@'aximo de comandos para mostrar por defecto en el listado del historial (0 = ilimitado)@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 5@* @item log_auto_server -Automatically log server messages@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Registrar autom@'aticamente los mensajes de servidor@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item log_auto_channel -Automatically log channel chats@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Registrar autom@'aticamente las conversaciones de canal@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item log_auto_private -Automatically log private chats@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Registrar autom@'aticamente las conversaciones privadas@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item log_plugin_msg -Log messages from plugins (scripts)@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Registrar mensajes de plugins (scripts)@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item log_path -Path for WeeChat log files@* -Type: string (any string), default value: '~/.weechat/logs/'@* +Ruta para los archivos de registro (logs) de WeeChat@* +Typo: cadena (cualquier cadena), valor por defecto: '~/.weechat/logs/'@* @item log_timestamp -Timestamp for log (see man strftime for date/time specifiers)@* -Type: string (any string), default value: '%Y %b %d %H:%M:%S'@* +Fecha y hora para los registros (ver man strftime para el formato de fecha/hora)@* +Typo: cadena (cualquier cadena), valor por defecto: '%Y %b %d %H:%M:%S'@* @item log_hide_nickserv_pwd -Hide password displayed by nickserv@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Ocultar contrase@~na mostrada por nickserv@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item irc_display_away -Display message to all channels when (un)marking as away@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Mostrar mensaje en todos los canales cuando se vuelva del estado ausente@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item irc_default_msg_away -Default message when away@* -Type: string (any string), default value: 'away'@* +Mensaje por defecto para el estado ausente@* +Typo: cadena (cualquier cadena), valor por defecto: 'away'@* @item irc_default_msg_part -Default part message (leaving channel)@* -Type: string (any string), default value: 'WeeChat %v'@* +Mensaje por defecto de salida (saliendo de un canal)@* +Typo: cadena (cualquier cadena), valor por defecto: 'WeeChat %v'@* @item irc_default_msg_quit -Default quit message ('%v' will be replaced by WeeChat version in string)@* -Type: string (any string), default value: 'WeeChat %v'@* +Mensaje de fin por defecto ('%v' ser@'a reemplazado por la versi@'on de WeeChat en la cadena)@* +Typo: cadena (cualquier cadena), valor por defecto: 'WeeChat %v'@* @item irc_notice_as_pv -Display notices as private messages@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Mostrar noticias como mensajes privados@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item irc_away_check -Interval between two checks for away (in minutes, 0 = never check)@* -Type: integer (values: between 0 and 2147483647), default value: 0@* +Intervalo entre dos comprobaciones de ausencia (en minutos, 0 = no comprobar)@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 0@* @item irc_lag_check -Interval between two checks for lag (in seconds)@* -Type: integer (values: between 30 and 2147483647), default value: 60@* +Intervalo entre dos medidas de lag (en segundos)@* +Typo: entero (valores: entre 30 y 2147483647), valor por defecto: 60@* @item irc_lag_min_show -Minimum lag to show (in seconds)@* -Type: integer (values: between 0 and 2147483647), default value: 1@* +Lag m@'inimo a mostrar (en segundos)@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 1@* @item irc_lag_disconnect -Disconnect after important lag (in minutes, 0 = never disconnect)@* -Type: integer (values: between 0 and 2147483647), default value: 5@* +Desconexi@'on tras un lag importante (en minutos, 0 = no desconectar nunca)@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 5@* @item irc_fifo_pipe -Create a FIFO pipe for remote control@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Crea una tuber@'ia FIFO para control remoto@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item irc_highlight -Comma separated list of words to highlight (case insensitive comparison, words may begin or end with "*" for partial match)@* -Type: string (any string), default value: ''@* +Lista separada por comas de palabras a resaltar (comparaci@'on insensible a maysculas, las palabras pueden empezar o terminar con "*" para una concordancia parcial)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item irc_colors_receive -When off, colors codes are ignored in incoming messages@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Cuando se desactiva, los c@'odigos de color se ignoran en los mensajes entrantes@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item irc_colors_send -Allow user to send colors with special codes (%B=bold, %Cxx,yy=color, %U=underline, %R=reverse)@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Permitir al usuario enviar colores con c@'odigos especiales (%B=negrita, %Cxx,yy=color, %U=subrayado, %R=invertido) @* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item dcc_auto_accept_files -Automatically accept incoming dcc files@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Aceptar autom@'aticamente los ficheros dcc entrantes@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item dcc_auto_accept_chats -Automatically accept dcc chats (use carefully!)@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Aceptar autom@'aticamente las peticiones de conversaci@'on dcc (utilizar con precauci@'on!)@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item dcc_timeout -Timeout for dcc request (in seconds)@* -Type: integer (values: between 1 and 2147483647), default value: 300@* +Tiempo de espera para la petici@'on dcc (en segundos)@* +Typo: entero (valores: entre 1 y 2147483647), valor por defecto: 300@* @item dcc_blocksize -Block size for dcc packets in bytes (default: 65536)@* -Type: integer (values: between 1024 and 102400), default value: 65536@* +Tama@~no de bloque para los paquetes dcc en bytes (por defecto: 65536)@* +Typo: entero (valores: entre 1024 y 102400), valor por defecto: 65536@* @item dcc_port_range -Restricts outgoing dcc to use only ports in the given range (useful for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, empty value means any port)@* -Type: string (any string), default value: ''@* +Restringe el dcc de salida a utilizar nicamente los puertos del rango especificado (til para NAT) (sintaxis: un puerto simple, e.g. 5000, o un rango de puertos, e.g. 5000-5015, un valor vac@'io significa cualquier puerto)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item dcc_own_ip -IP or DNS address used for outgoing dcc (if empty, local interface IP is used)@* -Type: string (any string), default value: ''@* +Direcci@'on IP o DNS usado para dcc de salida (si est@'a vac@'io, se utiliza la IP de interfaz local)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item dcc_download_path -Path for writing incoming files with dcc (default: user home)@* -Type: string (any string), default value: '~'@* +Ruta para los ficheros recibidos con dcc (por defecto: directorio home del usuario)@* +Typo: cadena (cualquier cadena), valor por defecto: '~'@* @item dcc_upload_path -Path for reading files when sending thru dcc (when no path is specified)@* -Type: string (any string), default value: '~'@* +Ruta para la lectura de ficheros cuando se env@'ian a trav@'es de dcc (cuando no se especifica una ruta)@* +Typo: cadena (cualquier cadena), valor por defecto: '~'@* @item dcc_convert_spaces -Convert spaces to underscores when sending files@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Convertir los espacios a subrayados cuando se env@'ian los ficheros@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item dcc_auto_rename -Rename incoming files if already exists (add '.1', '.2', ...)@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Renombrar los ficheros recibidos si ya existen (a@~nadir '.1', '.2', ...)@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item dcc_auto_resume -Automatically resume dcc transfer if connection with remote host is loosed@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Continuar autom@'aticamente la transferencia dcc si se ha perdido la conexi@'on con la m@'aquina remota@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item proxy_use -Use a proxy server to connect to irc server@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Utilizar un proxy para conectarse al servidor irc@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item proxy_type -Proxy type (http (default), socks4, socks5)@* -Type: string (values: 'http', 'socks4', 'socks5'), default value: 'http'@* +Tipo de proxy(http (por defecto), socks4, socks5)@* +Typo: cadena (valores: 'http', 'socks4', 'socks5'), valor por defecto: 'http'@* @item proxy_ipv6 -Connect to proxy in ipv6@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Conectar al proxy en ipv6@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item proxy_address -Proxy server address (IP or hostname)@* -Type: string (any string), default value: ''@* +Direcci@'on del servidor proxy (IP o nombre de m@'aquina)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item proxy_port -Port for connecting to proxy server@* -Type: integer (values: between 0 and 65535), default value: 3128@* +Puerto para conectarse al servidor proxy@* +Typo: entero (valores: entre 0 y 65535), valor por defecto: 3128@* @item proxy_username -Username for proxy server@* -Type: string (any string), default value: ''@* +Nombre de usuario para el servidor proxy@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item proxy_password -Password for proxy server@* -Type: string (any string), default value: ''@* +Contrase@~na para el servidor proxy@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item plugins_path -Path for searching plugins@* -Type: string (any string), default value: '~/.weechat/plugins'@* +Ruta para la bsqueda de plugins@* +Typo: cadena (cualquier cadena), valor por defecto: '~/.weechat/plugins'@* @item plugins_autoload -Comma separated list of plugins to load automatically at startup, "*" means all plugins found (names may be partial, for example "perl" is ok for "libperl.so")@* -Type: string (any string), default value: '*'@* +Lista de plugins separados por comas para cargar autom@'aticamente al iniciar, "*" significa todos los plugins encontrados (los nombres pueden ser parciales, por ejemplo "perl" est@'a bien para "libperl.so")@* +Typo: cadena (cualquier cadena), valor por defecto: '*'@* @item plugins_extension -Standard plugins extension in filename, used for autoload (if empty, then all files are loaded when autoload is "*")@* -Type: string (any string), default value: '.so'@* +Extensi@'on de plugins est@'andar en nombre de archivo, usada para la autocarga (si est@'a vac@'io, entonces se cargan todos los archivos cuando la autocarga es "*")@* +Typo: cadena (cualquier cadena), valor por defecto: '.so'@* @item server_name -Name associated to IRC server (for display only)@* -Type: string (any string), default value: ''@* +Nombre asociado al servidor IRC (para mostrar solamente)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_autoconnect -Automatically connect to server when WeeChat is starting@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Conexi@'on autom@'atica al servidor cuando WeeChat est@'a arrancando@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item server_autoreconnect -Automatically reconnect to server when disconnected@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Reconexi@'on autom@'atica al servidor tras una desconexi@'on@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item server_autoreconnect_delay -Delay (in seconds) before trying again to reconnect to server@* -Type: integer (values: between 0 and 65535), default value: 30@* +Espera (en segundos) antes de intentar de nuevo una reconexi@'on al servidor@* +Typo: entero (valores: entre 0 y 65535), valor por defecto: 30@* @item server_address -IP address or hostname of IRC server@* -Type: string (any string), default value: ''@* +Direcci@'on IP o nombre de m@'aquina del servidor IRC@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_port -Port for connecting to server@* -Type: integer (values: between 0 and 65535), default value: 6667@* +Puerto para conectarse al servidor@* +Typo: entero (valores: entre 0 y 65535), valor por defecto: 6667@* @item server_ipv6 -Use IPv6 protocol for server communication@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Usar el protocolo IPv6 para la comunicaci@'on del servidor@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item server_ssl -Use SSL for server communication@* -Type: boolean (values: 'on' or 'off'), default value: 'off'@* +Usar SSL para la comunicaci@'on del servidor@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item server_password -Password for IRC server@* -Type: string (any string), default value: ''@* +Contrase@~na para el servidor IRC@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_nick1 -Nickname to use on IRC server@* -Type: string (any string), default value: ''@* +Nombre de usuario a utilizar en el servidor IRC@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_nick2 -Alternate nickname to use on IRC server (if nickname is already used)@* -Type: string (any string), default value: ''@* +Nombre de usuario alternativo para el servidor IRC (si el nombre de usuario ya est@'a en uso)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_nick3 -2nd alternate nickname to use on IRC server (if alternate nickname is already used)@* -Type: string (any string), default value: ''@* +Segundo nombre de usuario alternativo a utilizar en el servidor IRC (si el nombre de usuario alternativo ya est@'a en uso)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_username -User name to use on IRC server@* -Type: string (any string), default value: ''@* +Nombre de usuario para el servidor IRC@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_realname -Real name to use on IRC server@* -Type: string (any string), default value: ''@* +Nombre real para el servidor IRC@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_command -First command to run when connected to server@* -Type: string (any string), default value: ''@* +Primer comando a ejecutar cuando se conecte a un servidor@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_command_delay -Delay (in seconds) after command was executed (example: give some time for authentication)@* -Type: integer (values: between 0 and 5), default value: 0@* +Espera (en segundos) despu@'es de que el comando sea ejecutado (ejemplo: dar algo de tiempo para la autenticaci@'on)@* +Typo: entero (valores: entre 0 y 5), valor por defecto: 0@* @item server_autojoin -Comma separated list of channels to join when connected to server (example: "#chan1,#chan2,#chan3 key1,key2")@* -Type: string (any string), default value: ''@* +Lista de canales (separados por comas) a unirse cuando se conecte a un servidor (ejemplo: "#chan1,#chan2,#chan3 key1,key2")@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @item server_autorejoin -Automatically rejoin channels when kicked@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* +Unirse de nuevo autom@'aticamente a los canales cuando sea expulsado@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'on'@* @item server_notify_levels -Comma separated list of notify levels for channels of this server (format: #channel:1,..)@* -Type: string (any string), default value: ''@* +Lista separada por comas de niveles de notificaci@'on para canales de este servidor (formato: #canal:1,...)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* +@item server_charset_decode_iso +Comma separated list of charsets for server and channels, to decode ISO (format: server:charset,#channel:charset,..)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* +@item server_charset_decode_utf +Comma separated list of charsets for server and channels, to decode UTF (format: server:charset,#channel:charset,..)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* +@item server_charset_encode +Comma separated list of charsets for server and channels, to encode messages (format: server:charset,#channel:charset,..)@* +Typo: cadena (cualquier cadena), valor por defecto: ''@* @end table Los colores para el interfaz Curses son:@* @@ -908,17 +914,17 @@ Scroll nicklist@* Comandos internos WeeChat:@* @table @kbd -@item alias [alias_name [command [arguments]] +@item alias [nombre_alias [comando [argumentos]] @* -create an alias for a command@* +crear un alias para un comando@* @* -alias_name: name of alias@* -command: command name (WeeChat or IRC command, without first '/')@* -arguments: arguments for command@* +nombre_alias: nombre del seud@'onimo@* +comando: nombre del comando (comando WeeChat o IRC, sin el primer '/')@* +argumentos: par@'ametros para el comando@* @* -@item buffer [action | number | [[server] [channel]]] +@item buffer [acci@'on | nmero | [[servidor] [canal]]] @* -manage buffers@* +gestionar los bfers@* @* action: action to do:@* move: move buffer in the list (may be relative, for example -1)@* @@ -928,122 +934,130 @@ action: action to do:@* server,channel: jump to buffer by server and/or channel name@* number: jump to buffer by number@* @* +@item charset [(decode_iso | decode_utf | encode) charset] +@* +change charset for server or channel@* +@* +decode_iso: charset used for decoding ISO@* +decode_utf: charset used for decoding UTF@* + encode: charset used for encoding messages@* +@* @item clear [-all] @* -clear window(s)@* +limpiar la(s) ventana(s)@* @* --all: clear all windows@* +-all: limpiar todas las ventanas@* @* -@item connect [servername] +@item connect [nombre_del_servidor] @* -connect to a server@* +conectarse a un servidor@* @* -servername: server name to connect@* +nombre_del_servidor: nombre del servidor al que conectarse@* @* -@item disconnect [servername] +@item disconnect [nombre_del_servidor] @* -disconnect from a server@* +desconectarse de un servidor@* @* -servername: server name to disconnect@* +nombre_del_servidor: nombre del servidor del que desconectarse@* @* -@item debug dump | windows +@item debug volcar | ventanas @* -print debug messages@* +imprime mensajes de depuraci@'on@* @* -dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)@* -windows: display windows tree@* +volcar: guarda el volcado de memoria en el archivo de registro de WeeChat (se escribe el mismo volcado cuando WeeChat se cuelga)@* +ventanas: muestra el @'arbol de ventanas@* @* -@item help [command] +@item help [comando] @* -display help about commands@* +mostrar ayuda sobre los comandos@* @* -command: name of a WeeChat or IRC command@* +comando: nombre de un comando de Weechat o de IRC@* @* -@item history [clear | value] +@item history [limpiar | valor] @* -show buffer command history@* +mostrar historial de comandos de bfer@* @* -clear: clear history@* -value: number of history entries to show@* +limpiar: limpiar historial@* +valor: nmero de entradas del historial para mostrar@* @* -@item ignore [mask [[type | command] [channel [server]]]] +@item ignore [m@'ascara [[tipo | comando] [canal [servidor]]]] @* -ignore IRC messages and/or hosts@* +ignorar los mensajes IRC y/o los hosts@* @* - mask: nick or host mask to ignore@* - type: type of message to ignore (action, ctcp, dcc, pv)@* -command: IRC command@* -channel: name of channel for ignore@* - server: name of server for ignore@* + m@'ascara: m@'ascara de usuario o m@'aquina que ignorar@* + tipo: tipo de mensaje que ignorar (action, ctcp, dcc, pv)@* +comando: comando IRC@* +canal: nombre del canal que ignorar@* + servidor: nombre del servidor que ignorar@* @* -For each argument, '*' means all.@* -Without argument, /ignore command lists all defined ignore.@* +Para cada argumento, '*' significa todo.@* +Sin argumentos, el comando /ignore lista todos los ignores definidos.@* @* -@item key [key function/command] [unbind key] [functions] [reset -yes] +@item key [clave funci@'on/comando] [desatar clave] [funciones] [reset -yes] @* -bind/unbind keys@* +atar/desatar claves@* @* -key: bind this key to an internal function or a command (beginning by "/")@* -unbind: unbind a key (if "all", default bindings are restored)@* -functions: list internal functions for key bindings@* -reset: restore bindings to the default values and delete ALL personal binding (use carefully!)@* +clave: ata esta clave a una funci@'on interna o a un comando (comenzando por "/ ")@* +desatar: desata una clave(si "all", se restauran los anclajes por defecto)@* +funciones: lista funciones internas para el anclaje de claves@* +reset: restaura anclajes a los valores por defecto y elimina todos los anclajes personales (usar cuidadosamente)@* @* -@item plugin [load filename] | [autoload] | [reload] | [unload] +@item plugin [cargar fichero] | [autocargar] | [recargar] | [descargar] @* -list/load/unload plugins@* +listar/cargar/descargar plugins@* @* -filename: WeeChat plugin (file) to load@* +fichero: plugin (archivo) WeeChat para cargar@* @* -Without argument, /plugin command lists all loaded plugins.@* +Sin argumentos, el comando /plugin lista todos los plugins cargados.@* @* -@item server [servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname realname] [-command command] [-autojoin channel[,channel]] ] | [del servername] +@item server [nombre_de_servidor] | [nombre_de_servidor nombre/IP puerto [-auto | -noauto] [-ipv6] [-ssl] [-pwd contrase@~na] [-nicks alias1 alias2 alias3] [-username nombre de usuario] [-realname nombre_real] [-command comando] [-autojoin canal[,canal]] ] | [del nombre_de_servidor] @* -list, add or remove servers@* +lista, a@~nde o elimina servidores@* @* -servername: server name, for internal & display use@* -hostname: name or IP address of server@* -port: port for server (integer)@* -ipv6: use IPv6 protocol@* -ssl: use SSL protocol@* -password: password for server@* -nick1: first nick for server@* -nick2: alternate nick for server@* -nick3: second alternate nick for server@* -username: user name@* -realname: real name of user@* +nombre_de_servidor: nombre del servidor, para uso interno y para mostrar@* +nombre_de_anfitri@'on: nombre o direcci@'on IP del servidor@* +puerto: puerto para el servidor (nmero entero)@* +ipv6: utilizar protocolo IPv6@* +ssl: utilizar protocolo SSL@* +contrase@~na: contrase@~na para el servidor@* +alias1: primer alias para el servidor@* +alias2: alias alternativo para el servidor@* +alias3: segundo alias alternativo para el servidor@* +nombre_de_usuario: nombre de usuario@* +nombre_real: nombre real del usuario@* @* -@item save [file] +@item save [archivo] @* -save config to disk@* +guardar configuraci@'on a disco@* @* -file: filename for writing config@* +archivo: fichero en el que guardar la configuraci@'on@* @* -@item set [option [ = value]] +@item set [opci@'on [ = valor]] @* -set config parameters@* +modificar par@'ametros de configuraci@'on@* @* -option: name of an option (if name is full and no value is given, then help is displayed on option)@* -value: value for option@* +opci@'on: nombre de una opci@'on (si el nombre est@'a completo y no se da ningn valor, entonces se muestra la ayuda de la opci@'on)@* +valor: valor para una opci@'on@* @* -@item unalias alias_name +@item unalias alias @* -remove an alias@* +eliminar un alias@* @* -alias_name: name of alias to remove@* +alias: nombre del alias a suprimir@* @* -@item unignore [number | [mask [[type | command] [channel [server]]]]] +@item unignore [nmero | [m@'ascara [[tipo | comando] [canal [servidor]]]]] @* -unignore IRC messages and/or hosts@* +no ignorar mensajes IRC y/o hosts@* @* - number: # of ignore to unignore (number is displayed by list of ignore)@* - mask: nick or host mask to unignore@* - type: type of message to unignore (action, ctcp, dcc, pv)@* -command: IRC command@* -channel: name of channel for unignore@* - server: name of server for unignore@* + nmero: # de ignores para quitar (el nmero se muestra por la lista de ignores)@* + m@'ascara de usuario o m@'aquina para no ignorar@* + tipo: tipo de mensaje para no ignorar(action, ctcp, dcc, pv)@* +comando: comando IRC@* +canal: nombre del canal para no ignorar@* + servidor: nombre del servidor para no ignorar@* @* -For each argument, '*' means all.@* -Without argument, /unignore command lists all defined ignore.@* +Para cada argumento, '*' significa todo.@* +Sin argumentos, el comando /unignore lista todos los ignores definidos.@* @* @item upgrade @* @@ -1051,24 +1065,24 @@ upgrade WeeChat without disconnecting from servers@* @* @item uptime [-o] @* -show WeeChat uptime@* +muestra el tiempo de uso de WeeChat@* @* --o: send uptime on current channel as an IRC message@* +-o: env@'ia el tiempo de uso en el canal actual como un mensaje IRC@* @* @item window [list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge [all]] @* -manage windows@* +gesti@'on de ventanas@* @* -list: list opened windows (no parameter implies this list)@* --1: jump to previous window@* -+1: jump to next window@* -b#: jump to next window displaying buffer number #@* -splith: split current window horizontally@* -splitv: split current window vertically@* -resize: resize window size, new size is <pct>%% of parent window@* -merge: merge window with another (all = keep only one window)@* +list: lista las ventanas abiertas(sin par@'ametros implica esta lista)@* +-1: salta a la ventana previa@* ++1: salta a la ventana siguiente@* +b#: salta a la ventana siguiente mostrando el nmero de bfer@* +splith: divide la ventana actual horizontalmente@* +splitv: divide la ventana actual verticalmente@* +resize: redimensiona el tama@~no de la ventana, el nuevo tama@~no es <pct>%% de la ventana padre@* +merge: fusionar la ventana con otra(all = mantener s@'olo una ventana)@* @* -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@* +Para splith y splitv, pct es un porcentaje que representa el tama@~no de la nueva ventana, tomando como referencia el tama@~no de la ventana actual. Por ejemplo 25 significa crear una nueva ventana con tama@~no = tama@~no_actual / 4@* @* @end table diff --git a/weechat/doc/weechat_doc_fr.texi b/weechat/doc/weechat_doc_fr.texi index e8bd62555..96f01401d 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 - 6 decembre 2005 +@subtitle Documentation pour WeeChat v0.1.7-cvs - 11 decembre 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -290,9 +290,6 @@ Type: bool@'een (valeurs: 'on' ou 'off'), valeur par d@'efaut: 'off'@* @item look_buffer_timestamp Format de date/heure pour les tampons@* Type: cha@^ine (toute cha@^ine), valeur par d@'efaut: '[%H:%M:%S]'@* -@item look_color_nicks -Afficher les utilisateurs avec diff@'erentes couleurs@* -Type: bool@'een (valeurs: 'on' ou 'off'), valeur par d@'efaut: 'on'@* @item look_color_nicks_number Nombre de couleurs @`a utiliser pour les couleurs des pseudos@* Type: entier (valeurs: entre 1 et 10), valeur par d@'efaut: 10@* @@ -743,6 +740,15 @@ Type: bool@'een (valeurs: 'on' ou 'off'), valeur par d@'efaut: 'on'@* @item server_notify_levels Liste des niveaux de notifications (s@'epar@'es par des virgules) pour les canaux de ce serveur (format: #canal:1,..)@* Type: cha@^ine (toute cha@^ine), valeur par d@'efaut: ''@* +@item server_charset_decode_iso +Liste des jeux de caract@`eres (s@'epar@'es par des virgules) pour le serveur et les canaux, pour d@'ecoder l'ISO (format: server:charset,#canal:charset,..)@* +Type: cha@^ine (toute cha@^ine), valeur par d@'efaut: ''@* +@item server_charset_decode_utf +Liste des jeux de caract@`eres (s@'epar@'es par des virgules) pour le serveur et les canaux, pour d@'ecoder l'UTF (format: server:charset,#canal:charset,..)@* +Type: cha@^ine (toute cha@^ine), valeur par d@'efaut: ''@* +@item server_charset_encode +Liste des jeux de caract@`eres (s@'epar@'es par des virgules) pour le serveur et les canaux, pour encoder les messages (format: server:charset,#canal:charset,..)@* +Type: cha@^ine (toute cha@^ine), valeur par d@'efaut: ''@* @end table Les couleurs pour l'interface Curses sont :@* @@ -929,6 +935,14 @@ action: action @`a effectuer:@* serveur,canal: sauter au tampon par serveur et/ou nom de canal@* nombre: sauter au tampon qui a ce num@'ero@* @* +@item charset [(decode_iso | decode_utf | encode) charset] +@* +changer le jeu de caract@`eres pour le serveur ou le canal@* +@* +decode_iso: jeu de caract@`ere utilis@'e pour d@'ecoder l'ISO@* +decode_utf: jeu de caract@`ere utilis@'e pour d@'ecoder l'UTF@* + encode: jeu de caract@`ere utilis@'e pour encoder les messages@* +@* @item clear [-all] @* effacer la/les fen@^etre(s)@* @@ -987,7 +1001,7 @@ associer/lib@'erer des touches@* touche: associer cette touche @`a une fonction interne ou une commande (commen@,{c}ant par "/")@* unbind: supprimer l'association @`a une touche (si "all", toutes les associations de touches par d@'efaut sont restaur@'ees)@* functions: lister la liste des fonctions internes pour les associations de touches@* -reset: restaur les touches aux valeurs par d@'efaut et supprime TOUTES les touches personnelles (utiliser avec pr@'ecaution !)@* +reset: restaure les touches aux valeurs par d@'efaut et supprime TOUTES les touches personnelles (utiliser avec pr@'ecaution !)@* @* @item plugin [load fichier] | [autoload] | [reload] | [unload] @* diff --git a/weechat/doc/weechat_doc_pt.texi b/weechat/doc/weechat_doc_pt.texi index 25839cc64..b4f472bd7 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 - 6 de dezembro de 2005 +@subtitle Documenta@,{c}@~ao do WeeChat v0.1.7-cvs - 11 de dezembro de 2005 @author FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}> @@ -287,9 +287,6 @@ Type: boolean (values: 'on' or 'off'), default value: 'off'@* @item look_buffer_timestamp Timestamp for buffers@* Type: string (any string), default value: '[%H:%M:%S]'@* -@item look_color_nicks -Display nick names with different colors@* -Type: boolean (values: 'on' or 'off'), default value: 'on'@* @item look_color_nicks_number Number of colors to use for nicks colors@* Type: integer (values: between 1 and 10), default value: 10@* @@ -740,6 +737,15 @@ Type: boolean (values: 'on' or 'off'), default value: 'on'@* @item server_notify_levels Comma separated list of notify levels for channels of this server (format: #channel:1,..)@* Type: string (any string), default value: ''@* +@item server_charset_decode_iso +Comma separated list of charsets for server and channels, to decode ISO (format: server:charset,#channel:charset,..)@* +Type: string (any string), default value: ''@* +@item server_charset_decode_utf +Comma separated list of charsets for server and channels, to decode UTF (format: server:charset,#channel:charset,..)@* +Type: string (any string), default value: ''@* +@item server_charset_encode +Comma separated list of charsets for server and channels, to encode messages (format: server:charset,#channel:charset,..)@* +Type: string (any string), default value: ''@* @end table Colors for Curses GUI are:@* @@ -926,6 +932,14 @@ action: action to do:@* server,channel: jump to buffer by server and/or channel name@* number: jump to buffer by number@* @* +@item charset [(decode_iso | decode_utf | encode) charset] +@* +change charset for server or channel@* +@* +decode_iso: charset used for decoding ISO@* +decode_utf: charset used for decoding UTF@* + encode: charset used for encoding messages@* +@* @item clear [-all] @* clear window(s)@* diff --git a/weechat/po/cs.po b/weechat/po/cs.po index 69c5dd57b..4e6686cd1 100644 --- a/weechat/po/cs.po +++ b/weechat/po/cs.po @@ -7,95 +7,95 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.7-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-12-06 18:33+0100\n" -"PO-Revision-Date: 2005-12-01 16:40+0100\n" +"POT-Creation-Date: 2005-12-11 01:50+0100\n" +"PO-Revision-Date: 2005-12-10 22:45+0100\n" "Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/irc/irc-server.c:179 src/common/weeconfig.c:2054 +#: src/irc/irc-server.c:182 src/common/weeconfig.c:2189 msgid "Unable to get user's name" msgstr "Nemůžu získat jméno uživatele" -#: src/irc/irc-server.c:247 +#: src/irc/irc-server.c:250 #, c-format msgid "%s cannot allocate new server\n" msgstr "%s nemůžu přidělit nový server\n" -#: src/irc/irc-server.c:464 +#: src/irc/irc-server.c:563 #, c-format msgid "%s error sending data to IRC server\n" msgstr "%s chyba při zasílání dat na IRC server\n" -#: src/irc/irc-server.c:487 src/irc/irc-server.c:500 src/irc/irc-server.c:547 -#: src/irc/irc-server.c:560 +#: src/irc/irc-server.c:585 src/irc/irc-server.c:598 src/irc/irc-server.c:645 +#: src/irc/irc-server.c:658 #, c-format msgid "%s not enough memory for received IRC message\n" msgstr "%s nedostatek paměti pro získání IRC zprávy\n" -#: src/irc/irc-server.c:672 +#: src/irc/irc-server.c:770 #, c-format msgid "%s Command \"%s\" failed!\n" msgstr "%s Příkaz \"%s\" selhal\n" -#: src/irc/irc-server.c:678 +#: src/irc/irc-server.c:776 #, c-format msgid "%s No command to execute!\n" msgstr "%s Žádný příkaz pro provedení!\n" -#: src/irc/irc-server.c:684 +#: src/irc/irc-server.c:782 #, c-format msgid "%s Unknown command: cmd=\"%s\", host=\"%s\", args=\"%s\"\n" msgstr "%s Neznámý příkaz: příkaz=\"%s\", host=\"%s\", parametry=\"%s\"\n" -#: src/irc/irc-server.c:735 +#: src/irc/irc-server.c:833 #, c-format msgid "%s cannot read data from socket, disconnecting from server...\n" msgstr "%s nemůžu přečíst data ze soketu, odpojuji se od serveru...\n" -#: src/irc/irc-server.c:816 +#: src/irc/irc-server.c:914 #, c-format msgid "%s: Reconnecting to server in %d seconds\n" msgstr "%s: Navazuji nové spojení se serverem za %d sekund\n" -#: src/irc/irc-server.c:850 +#: src/irc/irc-server.c:948 #, c-format msgid "%s gnutls handshake failed\n" msgstr "%s handshake s gnutls selhal\n" -#: src/irc/irc-server.c:867 +#: src/irc/irc-server.c:965 #, c-format msgid "%s proxy address \"%s\" not found\n" msgstr "%s adresa proxy \"%s\" nenalezena\n" -#: src/irc/irc-server.c:871 +#: src/irc/irc-server.c:969 #, c-format msgid "%s address \"%s\" not found\n" msgstr "%s adresa \"%s\" nenalezena\n" -#: src/irc/irc-server.c:881 +#: src/irc/irc-server.c:979 #, c-format msgid "%s proxy IP address not found\n" msgstr "%s IP adresa proxy nenalezena\n" -#: src/irc/irc-server.c:884 +#: src/irc/irc-server.c:982 #, c-format msgid "%s IP address not found\n" msgstr "%s IP adresa nenalezena\n" -#: src/irc/irc-server.c:893 +#: src/irc/irc-server.c:991 #, c-format msgid "%s proxy connection refused\n" msgstr "%s proxy odmítla spojení\n" -#: src/irc/irc-server.c:896 +#: src/irc/irc-server.c:994 #, c-format msgid "%s connection refused\n" msgstr "%s spojení odmítnuto\n" -#: src/irc/irc-server.c:904 +#: src/irc/irc-server.c:1002 #, c-format msgid "" "%s proxy fails to establish connection to server (check username/password if " @@ -104,7 +104,7 @@ msgstr "" "%s selhalo zjednání spojení s proxy serverem (zkontrolujte uživatelské jméno " "a heslo pokud jsou vyžadovány)\n" -#: src/irc/irc-server.c:1383 +#: src/irc/irc-server.c:1481 #, c-format msgid "" "%s cannot connect with SSL since WeeChat was not built with GNUtls support\n" @@ -112,61 +112,61 @@ msgstr "" "%s nemohu se připojit pomocí SSL, protže WeeChat nebyl sestaven s podporou " "GNUtls\n" -#: src/irc/irc-server.c:1392 +#: src/irc/irc-server.c:1490 #, c-format msgid "%s: connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "%s: připojuji se k serveru %s:%d%s%s přes %s proxy %s:%d%s...\n" -#: src/irc/irc-server.c:1398 +#: src/irc/irc-server.c:1496 #, c-format msgid "Connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "Připojuji se k serveru %s:%d%s%s přes %s proxy %s:%d%s...\n" -#: src/irc/irc-server.c:1408 +#: src/irc/irc-server.c:1506 #, c-format msgid "%s: connecting to server %s:%d%s%s...\n" msgstr "%s: připojuji se k serveru %s:%d%s%s...\n" -#: src/irc/irc-server.c:1412 +#: src/irc/irc-server.c:1510 #, c-format msgid "Connecting to server %s:%d%s%s...\n" msgstr "Připojuji se k serveru %s:%d%s%s...\n" -#: src/irc/irc-server.c:1430 +#: src/irc/irc-server.c:1528 #, c-format msgid "%s gnutls init error\n" msgstr "%s chyba inicializace gnutls\n" -#: src/irc/irc-server.c:1445 +#: src/irc/irc-server.c:1543 #, c-format msgid "%s cannot create pipe\n" msgstr "%s nemohu vytvořit rouru\n" -#: src/irc/irc-server.c:1460 +#: src/irc/irc-server.c:1558 #, c-format msgid "%s cannot create socket\n" msgstr "%s nemohu vytvořit soket\n" -#: src/irc/irc-server.c:1471 +#: src/irc/irc-server.c:1569 #, c-format msgid "%s cannot set socket option \"SO_REUSEADDR\"\n" msgstr "%s nemohu nastavit nastavení sketu \"SO_REUSEADDR\"\n" -#: src/irc/irc-server.c:1482 +#: src/irc/irc-server.c:1580 #, c-format msgid "%s cannot set socket option \"SO_KEEPALIVE\"\n" msgstr "%s nemohu nastavit nastavení soketu \"SO_KEEPALIVE\"\n" -#: src/irc/irc-server.c:1513 +#: src/irc/irc-server.c:1611 #, c-format msgid "%s: Reconnecting to server...\n" msgstr "%s: Připojuji se znovu k serveru...\n" -#: src/irc/irc-server.c:1563 src/irc/irc-server.c:1572 +#: src/irc/irc-server.c:1661 src/irc/irc-server.c:1670 msgid "Disconnected from server!\n" msgstr "Odpojen od serveru!\n" -#: src/irc/irc-channel.c:51 +#: src/irc/irc-channel.c:53 #, c-format msgid "%s cannot allocate new channel" msgstr "%s nemohu přidělit nový kanál" @@ -1376,7 +1376,7 @@ msgstr "off" msgid " (temporary server, will not be saved)" msgstr " (dočasný server, nebude uložen)" -#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3173 +#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3175 msgid "seconds" msgstr "sekund" @@ -1384,7 +1384,7 @@ msgstr "sekund" msgid "(hidden)" msgstr "(skrytý)" -#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4699 +#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4701 msgid "unknown" msgstr "neznámý" @@ -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:800 +#: src/irc/irc-send.c:177 src/common/command.c:808 #, 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:1392 src/common/command.c:1877 -#: src/common/command.c:2013 +#: src/common/command.c:1599 src/common/command.c:2097 +#: src/common/command.c:2236 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s špatný počet parametrů pro příkaz \"%s\"\n" @@ -1448,8 +1448,8 @@ msgid "You have been invited to %s%s%s by %s%s\n" msgstr "Byl jsi pozván na %s%s%s od %s%s\n" #: src/irc/irc-recv.c:376 src/irc/irc-recv.c:470 src/irc/irc-recv.c:1009 -#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3545 -#: src/irc/irc-recv.c:3566 src/irc/irc-recv.c:3626 src/irc/irc-recv.c:3697 +#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3547 +#: src/irc/irc-recv.c:3568 src/irc/irc-recv.c:3628 src/irc/irc-recv.c:3699 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "%s kanál \"%s\" nebyl nalezen příkazem \"%s\"\n" @@ -1640,7 +1640,7 @@ msgstr "CTCP %sVERSION%s odpověď od %s%s%s: %s\n" msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "CTCP %sPING%s odpověď od %s%s%s: %ld.%ld sekund\n" -#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1214 +#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1217 #, c-format msgid "Private %s> %s" msgstr "Soukromý %s> %s" @@ -1689,12 +1689,12 @@ msgstr "CTCP %sVERSION%s obdržen od %s%s" #: src/irc/irc-recv.c:1812 src/irc/irc-recv.c:1838 src/irc/irc-recv.c:1859 #: src/irc/irc-recv.c:1875 src/irc/irc-recv.c:1900 src/irc/irc-recv.c:1921 #: src/irc/irc-recv.c:1937 src/irc/irc-recv.c:1962 src/irc/irc-recv.c:1983 -#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2522 -#: src/irc/irc-recv.c:3904 src/irc/irc-recv.c:3919 src/irc/irc-recv.c:3934 -#: src/irc/irc-recv.c:3949 src/irc/irc-recv.c:3962 src/irc/irc-recv.c:4027 -#: src/irc/irc-recv.c:4041 src/irc/irc-recv.c:4275 src/irc/irc-recv.c:4333 -#: src/irc/irc-recv.c:4471 src/irc/irc-recv.c:4486 src/irc/irc-recv.c:4592 -#: src/irc/irc-recv.c:4606 +#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2524 +#: src/irc/irc-recv.c:3906 src/irc/irc-recv.c:3921 src/irc/irc-recv.c:3936 +#: src/irc/irc-recv.c:3951 src/irc/irc-recv.c:3964 src/irc/irc-recv.c:4029 +#: src/irc/irc-recv.c:4043 src/irc/irc-recv.c:4277 src/irc/irc-recv.c:4335 +#: src/irc/irc-recv.c:4473 src/irc/irc-recv.c:4488 src/irc/irc-recv.c:4594 +#: src/irc/irc-recv.c:4608 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "%s nemohu rozpársovat příkaz \"%s\"\n" @@ -1706,197 +1706,197 @@ msgstr "%s neznámý DCC CHAT typ obdržen od " #: src/irc/irc-recv.c:2228 #, c-format -msgid "%s%s %s(%s%s%s)%s has quit %s(%s%s%s)\n" -msgstr "%s%s %s(%s%s%s)%s skončil %s(%s%s%s)\n" +msgid "%s%s %s(%s%s%s)%s has quit" +msgstr "%s%s %s(%s%s%s)%s skončil" -#: src/irc/irc-recv.c:2358 +#: src/irc/irc-recv.c:2360 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "%s \"%s\" příkaz obdržen bez kanálu\n" -#: src/irc/irc-recv.c:2387 +#: src/irc/irc-recv.c:2389 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "%s%s%s změnil téma pro %s%s%s na:" -#: src/irc/irc-recv.c:2398 +#: src/irc/irc-recv.c:2400 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "%s%s%s zrušil téma pro %s%s\n" -#: src/irc/irc-recv.c:2508 +#: src/irc/irc-recv.c:2510 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "Uživatelský mód %s[%s%s%s/%s%s%s]\n" -#: src/irc/irc-recv.c:2563 +#: src/irc/irc-recv.c:2565 #, c-format msgid "%s%s%s is away: %s\n" msgstr "%s%s%s je pryč: %s\n" -#: src/irc/irc-recv.c:2648 +#: src/irc/irc-recv.c:2650 msgid "Users online: " msgstr "Uživatelů online: " -#: src/irc/irc-recv.c:3024 +#: src/irc/irc-recv.c:3026 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "%s%s %s(%s%s@%s%s)%s byl %s\n" -#: src/irc/irc-recv.c:3145 +#: src/irc/irc-recv.c:3147 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s nečinný: " -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "days" msgstr "dní" -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "day" msgstr "den" -#: src/irc/irc-recv.c:3161 +#: src/irc/irc-recv.c:3163 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, přihlášen v: %s%s" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hours" msgstr "hodin" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hour" msgstr "hodina" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minutes" msgstr "minut" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minute" msgstr "minuta" -#: src/irc/irc-recv.c:3173 +#: src/irc/irc-recv.c:3175 msgid "second" msgstr "sekunda" -#: src/irc/irc-recv.c:3557 +#: src/irc/irc-recv.c:3559 #, c-format msgid "No topic set for %s%s\n" msgstr "Není nastaveno téma pro %s%s\n" -#: src/irc/irc-recv.c:3613 +#: src/irc/irc-recv.c:3615 #, c-format msgid "Topic for %s%s%s is: \"%s\"\n" msgstr "Téma pro %s%s%s je: \"%s\"\n" -#: src/irc/irc-recv.c:3636 src/irc/irc-recv.c:3724 src/irc/irc-recv.c:3779 +#: src/irc/irc-recv.c:3638 src/irc/irc-recv.c:3726 src/irc/irc-recv.c:3781 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "%s nemohu identifikovat kanál pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:3686 +#: src/irc/irc-recv.c:3688 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "Téma nastevil %s%s%s, %s" -#: src/irc/irc-recv.c:3706 +#: src/irc/irc-recv.c:3708 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "%s nemohu identofikovat datum/čas pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:3715 src/irc/irc-recv.c:3788 +#: src/irc/irc-recv.c:3717 src/irc/irc-recv.c:3790 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "%s nemohu identifikovat přezdívku pro příkaz \"%s\"\n" -#: src/irc/irc-recv.c:3764 +#: src/irc/irc-recv.c:3766 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "%s%s%s pozval %s%s%s na %s%s\n" -#: src/irc/irc-recv.c:3824 +#: src/irc/irc-recv.c:3826 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "Reop kanálu %s%s%s: %s%s\n" -#: src/irc/irc-recv.c:4321 +#: src/irc/irc-recv.c:4323 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "%s nemohu vztvořit přezdívku \"%s\" pro kanál \"%s\"\n" -#: src/irc/irc-recv.c:4379 +#: src/irc/irc-recv.c:4381 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "Přezdívkz %s%s%s: %s[" -#: src/irc/irc-recv.c:4400 +#: src/irc/irc-recv.c:4402 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" "Kanál %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nicks" msgstr "přezdívky" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nick" msgstr "přezdívka" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "ops" msgstr "ops" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "op" msgstr "op" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfops" msgstr "částeční-ops" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfop" msgstr "částečný-op" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voices" msgstr "voices" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voice" msgstr "voice" -#: src/irc/irc-recv.c:4425 +#: src/irc/irc-recv.c:4427 msgid "normal" msgstr "normální" -#: src/irc/irc-recv.c:4526 +#: src/irc/irc-recv.c:4528 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "%s[%s%s%s] %s%s%s zakázal " -#: src/irc/irc-recv.c:4561 +#: src/irc/irc-recv.c:4563 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "%s[%s%s%s] %s%s%s takázaný\n" -#: src/irc/irc-recv.c:4653 +#: src/irc/irc-recv.c:4655 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" "%s: přezdívka \"%s\" je již používaná, zkouším druhou přezdívku \"%s\"\n" -#: src/irc/irc-recv.c:4665 +#: src/irc/irc-recv.c:4667 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" "%s: přezdívka \"%s\" je již používaná, zkouším třetí přezdívku \"%s\"\n" -#: src/irc/irc-recv.c:4677 +#: src/irc/irc-recv.c:4679 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " @@ -1905,7 +1905,7 @@ msgstr "" "%s: všechny deklarované přezdívky jsou již používány, zavírám spojení se " "serverem!\n" -#: src/irc/irc-recv.c:4687 +#: src/irc/irc-recv.c:4689 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -2066,12 +2066,12 @@ msgstr "%s nemůžu najít dostupný port pro DCC\n" msgid "%s cannot send DCC\n" msgstr "%s neomhu poslat DCC\n" -#: src/irc/irc-dcc.c:1132 +#: src/irc/irc-dcc.c:1131 #, c-format msgid "%s error sending data to \"%s\" via DCC CHAT\n" msgstr "%s chyba posílání dat k \"%s\" přes DCC CHAT\n" -#: src/irc/irc-dcc.c:1411 +#: src/irc/irc-dcc.c:1416 #, c-format msgid "" "%s DCC failed because blocksize is too big. Check value of \"dcc_blocksize\" " @@ -2080,7 +2080,7 @@ msgstr "" "%s DCC selhalo, protože velikost bloku je příliž velká. Zkontrolujte hodnotu " "\"dcc_blocksize\" nastavní, maximum je %d.\n" -#: src/irc/irc-dcc.c:1486 +#: src/irc/irc-dcc.c:1491 #, c-format msgid "Aborting active DCC: \"%s\" from %s\n" msgstr "Ruším aktivní DCC: \"%s\" od %s\n" @@ -2211,13 +2211,13 @@ msgstr "Plugin \"%s\" odebrán.\n" msgid "%s plugin \"%s\" not found\n" msgstr "%s plugin \"%s\" nenalezen\n" -#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1698 +#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1833 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "%s %s, řádek %d: nevalidní syntax, chybí \"=\"\n" -#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:1908 -#: src/common/weeconfig.c:2110 +#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:2043 +#: src/common/weeconfig.c:2249 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "%s nemohu vytvořit soubor \"%s\"\n" @@ -2252,68 +2252,68 @@ msgstr "Změnil se den na %s\n" msgid "%s lag is high, disconnecting from server...\n" msgstr "%s zpoždění je veliké, odpojuji se od serveru...\n" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "bytes" msgstr "bajtů" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Kb" msgstr "Kb" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Mb" msgstr "Mb" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Gb" msgstr "Gb" -#: src/gui/curses/gui-display.c:1600 +#: src/gui/curses/gui-display.c:1594 msgid "ETA" msgstr "" -#: src/gui/curses/gui-display.c:1945 +#: src/gui/curses/gui-display.c:1941 msgid "<servers>" msgstr "<serverů>" -#: src/gui/curses/gui-display.c:1957 +#: src/gui/curses/gui-display.c:1953 msgid "(away)" msgstr "(pryč)" -#: src/gui/curses/gui-display.c:2091 +#: src/gui/curses/gui-display.c:2087 msgid "[not connected] " msgstr "[nepřipojen] " -#: src/gui/curses/gui-display.c:2101 +#: src/gui/curses/gui-display.c:2097 msgid "Act: " msgstr "Aktivní: " -#: src/gui/curses/gui-display.c:2189 +#: src/gui/curses/gui-display.c:2185 #, c-format msgid "Lag: %.1f" msgstr "Zpoždění: %.1f" -#: src/gui/curses/gui-display.c:2205 +#: src/gui/curses/gui-display.c:2201 msgid "-MORE-" msgstr "-VÍCE-" -#: src/gui/curses/gui-display.c:2378 +#: src/gui/curses/gui-display.c:2374 msgid " [A] Accept" msgstr " [A] Akceptovat" -#: src/gui/curses/gui-display.c:2379 src/gui/curses/gui-display.c:2383 +#: src/gui/curses/gui-display.c:2375 src/gui/curses/gui-display.c:2379 msgid " [C] Cancel" msgstr " [C] Storno" -#: src/gui/curses/gui-display.c:2388 +#: src/gui/curses/gui-display.c:2384 msgid " [R] Remove" msgstr " [R] Odebrat" -#: src/gui/curses/gui-display.c:2392 +#: src/gui/curses/gui-display.c:2388 msgid " [P] Purge old DCC" msgstr " [P] Pročistit staré DCC" -#: src/gui/curses/gui-display.c:2393 +#: src/gui/curses/gui-display.c:2389 msgid " [Q] Close DCC view" msgstr " [Q] Zavřít DCC pohled" @@ -2321,11 +2321,11 @@ msgstr " [Q] Zavřít DCC pohled" msgid "server" msgstr "server" -#: src/gui/gui-common.c:696 +#: src/gui/gui-common.c:716 msgid "Not enough memory for new line\n" msgstr "Nedostatek paměti pro nový řádek\n" -#: src/gui/gui-common.c:1047 +#: src/gui/gui-common.c:1054 msgid "Not enough memory for infobar message\n" msgstr "Nedostatek paměti pro infobar zprávu\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:1892 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2112 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s nemohu napojit kalávesu \"%s\"\n" @@ -2504,15 +2504,15 @@ msgstr "%s nemohu napojit kalávesu \"%s\" (nevalidní jméno funkce: \"%s\")\n" msgid "%s not enough memory for key binding\n" msgstr "%s nedostatek paměti pro klávesovou zkratku\n" -#: src/common/command.c:44 +#: src/common/command.c:45 msgid "create an alias for a command" msgstr "vytvoří alias pro příkaz" -#: src/common/command.c:45 +#: src/common/command.c:46 msgid "[alias_name [command [arguments]]" msgstr "[jméno_aliasu [příkaz [argumenty]]" -#: src/common/command.c:46 +#: src/common/command.c:47 msgid "" "alias_name: name of alias\n" "command: command name (WeeChat or IRC command, without first '/')\n" @@ -2522,16 +2522,16 @@ msgstr "" "příkaz: jméno příkazu (WeeChat nebo IRC příkaz, bez prvního '/')\n" "argumenty: argumenty příkazu" -#: src/common/command.c:49 +#: src/common/command.c:50 msgid "manage buffers" msgstr "řídit buffery" -#: src/common/command.c:50 +#: src/common/command.c:51 #, fuzzy msgid "[action | number | [[server] [channel]]]" msgstr "[akce | číslo]" -#: src/common/command.c:51 +#: src/common/command.c:52 #, fuzzy msgid "" "action: action to do:\n" @@ -2553,47 +2553,62 @@ msgstr "" "3=2+join/part)\n" "číslo: skočí na buffer, podle čísla" -#: src/common/command.c:59 +#: src/common/command.c:60 +msgid "change charset for server or channel" +msgstr "" + +#: src/common/command.c:61 +msgid "[(decode_iso | decode_utf | encode) charset]" +msgstr "" + +#: src/common/command.c:62 +msgid "" +"decode_iso: charset used for decoding ISO\n" +"decode_utf: charset used for decoding UTF\n" +" encode: charset used for encoding messages" +msgstr "" + +#: src/common/command.c:66 msgid "clear window(s)" msgstr "vyčistí okno/okna" -#: src/common/command.c:60 +#: src/common/command.c:67 msgid "[-all]" msgstr "[-all]" -#: src/common/command.c:61 +#: src/common/command.c:68 msgid "-all: clear all windows" msgstr "-all: vyčistí všechna okna" -#: src/common/command.c:63 +#: src/common/command.c:70 msgid "connect to a server" msgstr "připojit na server" -#: src/common/command.c:64 src/common/command.c:68 +#: src/common/command.c:71 src/common/command.c:75 msgid "[servername]" msgstr "[jméno_serveru]" -#: src/common/command.c:65 +#: src/common/command.c:72 msgid "servername: server name to connect" msgstr "jméno_serveru: jméno serveru pro přípojení" -#: src/common/command.c:67 +#: src/common/command.c:74 msgid "disconnect from a server" msgstr "odpojit ze serveru" -#: src/common/command.c:69 +#: src/common/command.c:76 msgid "servername: server name to disconnect" msgstr "jméno_serveru: jméno serveru pro odpojení" -#: src/common/command.c:71 +#: src/common/command.c:78 msgid "print debug messages" msgstr "vypsat debug zprávy" -#: src/common/command.c:72 +#: src/common/command.c:79 msgid "dump | windows" msgstr "dump | windows" -#: src/common/command.c:73 +#: src/common/command.c:80 #, fuzzy msgid "" "dump: save memory dump in WeeChat log file (same dump is written when " @@ -2603,41 +2618,41 @@ msgstr "" "dump: uloží dump paměti ve WeeChat log souboru (stejný dump jako když " "Weechat havaruje)" -#: src/common/command.c:76 +#: src/common/command.c:83 msgid "display help about commands" msgstr "zobrazí nápovědu k příkazům" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "[command]" msgstr "[příkaz]" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "command: name of a WeeChat or IRC command" msgstr "příkaz: jméno WeeChat nebo IRC příkazu" -#: src/common/command.c:79 +#: src/common/command.c:86 msgid "show buffer command history" msgstr "" -#: src/common/command.c:80 +#: src/common/command.c:87 msgid "[clear | value]" msgstr "" -#: src/common/command.c:81 +#: src/common/command.c:88 msgid "" "clear: clear history\n" "value: number of history entries to show" msgstr "" -#: src/common/command.c:84 +#: src/common/command.c:91 msgid "ignore IRC messages and/or hosts" msgstr "ignoruje IRC příkaz a/nebo hosta" -#: src/common/command.c:85 +#: src/common/command.c:92 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[maska [[typ | příkaz] [kanál [server]]]]" -#: src/common/command.c:86 +#: src/common/command.c:93 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2657,15 +2672,15 @@ msgstr "" "Pro každý argument, znamená '*' vše.\n" "Bez arumentů vypíše příkaz /ignore seznam všech definovaných ignorování." -#: src/common/command.c:94 +#: src/common/command.c:101 msgid "bind/unbind keys" msgstr "napojit/odpojit klávesy" -#: src/common/command.c:95 +#: src/common/command.c:102 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:96 +#: src/common/command.c:103 msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" @@ -2680,15 +2695,15 @@ msgstr "" "reset: obnoví klávesy na výchozí hodnoty a smaže uživatlské zkratky " "(používejte opatrně)" -#: src/common/command.c:101 +#: src/common/command.c:108 msgid "list/load/unload plugins" msgstr "seznam/načíst/odebrat pluginy" -#: src/common/command.c:102 +#: src/common/command.c:109 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[load jméno_souboru] | [autoload] | [reload] | [unload]" -#: src/common/command.c:103 +#: src/common/command.c:110 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2698,11 +2713,11 @@ msgstr "" "\n" "Příkaz /plugin bez argumentů vypíše seznam všech načtených pluginů." -#: src/common/command.c:106 +#: src/common/command.c:113 msgid "list, add or remove servers" msgstr "vypíše, přídá nebo odebere servery" -#: src/common/command.c:107 +#: src/common/command.c:114 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2714,7 +2729,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:112 +#: src/common/command.c:119 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2740,27 +2755,27 @@ msgstr "" "uživatelské_jméno: uživatelské jméno\n" "pravé_jméno: pravé jméno uživatele" -#: src/common/command.c:124 +#: src/common/command.c:131 msgid "save config to disk" msgstr "uloží nastavení na disk" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "[file]" msgstr "[soubor]" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "file: filename for writing config" msgstr "soubor: jméno souboru pro zapsání" -#: src/common/command.c:127 +#: src/common/command.c:134 msgid "set config parameters" msgstr "nastaví konfigurační parametry" -#: src/common/command.c:128 +#: src/common/command.c:135 msgid "[option [ = value]]" msgstr "[volba [ = hodnota]]" -#: src/common/command.c:129 +#: src/common/command.c:136 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2770,27 +2785,27 @@ msgstr "" "zobrazena nápověda pro volby)\n" "hodnota: hodnota volby" -#: src/common/command.c:133 +#: src/common/command.c:140 msgid "remove an alias" msgstr "odebere alias" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name" msgstr "jméno_aliasu" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name: name of alias to remove" msgstr "jméno_aliasu: jméno aliasu pro odebrání" -#: src/common/command.c:136 +#: src/common/command.c:143 msgid "unignore IRC messages and/or hosts" msgstr "zruší ignorování IRC zprávy a/nebo hosta" -#: src/common/command.c:137 +#: src/common/command.c:144 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[číslo | [maska [[typ | příkaz] [kanál [server]]]]]" -#: src/common/command.c:138 +#: src/common/command.c:145 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2813,27 +2828,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:147 +#: src/common/command.c:154 msgid "upgrade WeeChat without disconnecting from servers" msgstr "" -#: src/common/command.c:151 +#: src/common/command.c:158 msgid "show WeeChat uptime" msgstr "" -#: src/common/command.c:152 +#: src/common/command.c:159 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:153 +#: src/common/command.c:160 msgid "-o: send uptime on current channel as an IRC message" msgstr "" -#: src/common/command.c:155 +#: src/common/command.c:162 msgid "manage windows" msgstr "spravuje okna" -#: src/common/command.c:156 +#: src/common/command.c:163 msgid "" "[list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge " "[all]]" @@ -2841,7 +2856,7 @@ msgstr "" "[list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge " "[all]]" -#: src/common/command.c:157 +#: src/common/command.c:164 #, fuzzy, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2865,28 +2880,28 @@ msgstr "" "splitv: rozdělí aktuální okno vertikálně\n" "merge: spojí okno s jiným" -#: src/common/command.c:310 +#: src/common/command.c:317 #, 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:320 +#: src/common/command.c:327 #, 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:327 +#: src/common/command.c:334 #, c-format msgid "%s target command \"/%s\" does not exist!\n" msgstr "%s cílový příkaz \"/%s\" neexistuje!\n" -#: src/common/command.c:565 +#: src/common/command.c:572 #, 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:577 +#: src/common/command.c:584 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -2895,18 +2910,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:599 src/common/command.c:668 +#: src/common/command.c:606 src/common/command.c:675 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s příkaz \"%s\" selhal\n" -#: src/common/command.c:624 +#: src/common/command.c:631 #, 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:636 +#: src/common/command.c:643 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -2915,293 +2930,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:651 +#: src/common/command.c:658 #, 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:711 +#: src/common/command.c:719 #, 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:845 +#: src/common/command.c:853 msgid "This window is not a channel!\n" msgstr "Tohe není okno kanálu!\n" -#: src/common/command.c:873 src/common/command.c:904 src/common/command.c:1019 +#: src/common/command.c:884 src/common/command.c:915 src/common/command.c:1030 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s chybí argumenty pro příkaz \"%s\"\n" -#: src/common/command.c:880 +#: src/common/command.c:891 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "%s alias nemůže žačínat \"/\"!\n" -#: src/common/command.c:889 +#: src/common/command.c:900 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" vytvořen\n" -#: src/common/command.c:895 +#: src/common/command.c:906 #, 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:915 +#: src/common/command.c:926 msgid "List of aliases:\n" msgstr "Seznam pro aliasy:\n" -#: src/common/command.c:929 +#: src/common/command.c:940 msgid "No alias defined.\n" msgstr "Žádné aliasy nejsou definovány.\n" -#: src/common/command.c:948 +#: src/common/command.c:959 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServer: %s%s\n" -#: src/common/command.c:953 -#, fuzzy, c-format +#: src/common/command.c:964 +#, c-format msgid "%snot connected\n" -msgstr "nepřipojen\n" +msgstr "" -#: src/common/command.c:957 +#: src/common/command.c:968 #, 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:966 +#: src/common/command.c:977 #, 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:975 -#, fuzzy, c-format +#: src/common/command.c:986 +#, c-format msgid "%sunknown\n" -msgstr "neznámý" +msgstr "" -#: src/common/command.c:998 +#: src/common/command.c:1009 msgid "Opened buffers:\n" msgstr "Otevřené buffery:\n" -#: src/common/command.c:1042 +#: src/common/command.c:1053 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s nekorektní číslo bufferu\n" -#: src/common/command.c:1058 +#: src/common/command.c:1069 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s nemohu zavřít jediný buffer\n" -#: src/common/command.c:1068 +#: src/common/command.c:1079 #, 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:1117 +#: src/common/command.c:1128 msgid "Notify levels: " msgstr "Level upozornění: " -#: src/common/command.c:1146 src/common/command.c:1194 +#: src/common/command.c:1157 src/common/command.c:1205 #, 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:1155 +#: src/common/command.c:1166 #, 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:1164 +#: src/common/command.c:1175 #, 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:1174 +#: src/common/command.c:1185 msgid "(hotlist: never)\n" msgstr "(hotlist: nikdy)\n" -#: src/common/command.c:1177 +#: src/common/command.c:1188 msgid "(hotlist: highlights)\n" msgstr "(hotlist: zvýraznění)\n" -#: src/common/command.c:1180 +#: src/common/command.c:1191 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: zvýraznění + zprávy)\n" -#: src/common/command.c:1183 +#: src/common/command.c:1194 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:1280 +#: src/common/command.c:1293 +#, c-format +msgid "Charsets for server %s%s%s: " +msgstr "" + +#: src/common/command.c:1301 +#, c-format +msgid "Charsets for channel %s%s%s: " +msgstr "" + +#: src/common/command.c:1309 +#, c-format +msgid "Charsets for private %s%s%s: " +msgstr "" + +#: src/common/command.c:1337 src/common/command.c:1367 +#: src/common/command.c:1397 +#, c-format +msgid " (inherited: \"%s%s%s\")" +msgstr "" + +#: src/common/command.c:1461 src/common/command.c:1484 +#: src/common/command.c:1618 src/common/command.c:2229 +#: src/common/command.c:3286 src/common/command.c:3329 #, c-format -msgid "unknown parameter \"%s\" for \"%s\" command\n" -msgstr "neznámý parametr \"%s\" pro příkaz \"%s\"\n" +msgid "%s unknown option for \"%s\" command\n" +msgstr "%s neznámá volba pro příkaz \"%s\"\n" -#: src/common/command.c:1310 +#: src/common/command.c:1514 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s již vytvořený server \"%s\"!\n" -#: src/common/command.c:1318 +#: src/common/command.c:1522 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "%s zrovna připojuji k serveru \"%s\"!\n" -#: src/common/command.c:1336 src/common/command.c:1456 +#: src/common/command.c:1540 src/common/command.c:1663 #, c-format msgid "%s server not found\n" msgstr "%s server nenalezen\n" -#: src/common/command.c:1411 src/common/command.c:2006 -#: src/common/command.c:3047 src/common/command.c:3090 -#, c-format -msgid "%s unknown option for \"%s\" command\n" -msgstr "%s neznámá volba pro příkaz \"%s\"\n" - -#: src/common/command.c:1440 +#: src/common/command.c:1647 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s nepřipojen k serveru \"%s\"!\n" -#: src/common/command.c:1448 +#: src/common/command.c:1655 msgid "Auto-reconnection is cancelled\n" msgstr "Automatické znovupřipojené je zrušeno\n" -#: src/common/command.c:1479 src/common/weechat.c:400 +#: src/common/command.c:1689 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "%s vnitřní příkazy:\n" -#: src/common/command.c:1489 src/common/weechat.c:420 +#: src/common/command.c:1699 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "IRC příkazy:\n" -#: src/common/command.c:1503 +#: src/common/command.c:1713 msgid "Plugin commands:\n" msgstr "Příkazy pluginu:\n" -#: src/common/command.c:1619 +#: src/common/command.c:1829 #, 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:1678 +#: src/common/command.c:1895 #, 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:1712 +#: src/common/command.c:1929 msgid "List of ignore:\n" msgstr "Seznam ignorování:\n" -#: src/common/command.c:1729 +#: src/common/command.c:1946 msgid "No ignore defined.\n" msgstr "Žádné ignorování není definováno.\n" -#: src/common/command.c:1755 +#: src/common/command.c:1972 msgid "New ignore:" msgstr "Nové ignorování:" -#: src/common/command.c:1775 +#: src/common/command.c:1992 #, c-format msgid "New key binding: %s" msgstr "Nová klávesová zkratka: %s" -#: src/common/command.c:1809 +#: src/common/command.c:2029 msgid "Key bindings:\n" msgstr "Klávesové zkratky:\n" -#: src/common/command.c:1823 +#: src/common/command.c:2043 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Klávesa \"%s\" odpojena\n" -#: src/common/command.c:1829 +#: src/common/command.c:2049 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "%s nemohu odpojit klávesu \"%s\"\n" -#: src/common/command.c:1837 src/common/weechat.c:452 +#: src/common/command.c:2057 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "Vnitřní klávesové funkce:\n" -#: src/common/command.c:1857 +#: src/common/command.c:2077 msgid "Default key bindings restored\n" msgstr "Výchozí klávesové zkratky obnoveny\n" -#: src/common/command.c:1863 +#: src/common/command.c:2083 #, 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:1919 +#: src/common/command.c:2142 msgid "Plugins loaded:\n" msgstr "Načtené pluginy:\n" -#: src/common/command.c:1935 +#: src/common/command.c:2158 msgid " message handlers:\n" msgstr " obsluhovače zpráv:\n" -#: src/common/command.c:1944 +#: src/common/command.c:2167 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:1951 +#: src/common/command.c:2174 msgid " (no message handler)\n" msgstr " (není obsluhovač zprávy)\n" -#: src/common/command.c:1956 +#: src/common/command.c:2179 msgid " command handlers:\n" msgstr " obsluhovače příkazu:\n" -#: src/common/command.c:1977 +#: src/common/command.c:2200 msgid " (no command handler)\n" msgstr " (není obsluhovač příkazu)\n" -#: src/common/command.c:1983 +#: src/common/command.c:2206 msgid " (no plugin)\n" msgstr " (není plugin)\n" -#: src/common/command.c:2019 +#: src/common/command.c:2242 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:2067 +#: src/common/command.c:2293 msgid "No server.\n" msgstr "žádný server.\n" -#: src/common/command.c:2078 +#: src/common/command.c:2304 #, c-format msgid "Server '%s' not found.\n" msgstr "Server '%s' nenalezen.\n" -#: src/common/command.c:2090 +#: src/common/command.c:2316 #, 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:2098 +#: src/common/command.c:2324 #, 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:2117 +#: src/common/command.c:2343 #, 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:2125 +#: src/common/command.c:2351 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3210,205 +3242,205 @@ msgstr "" "%s nemůžete odebrat server \"%s\", protože jste k němu připojent. Skuste " "nejprve /dissconnect %s.\n" -#: src/common/command.c:2145 +#: src/common/command.c:2371 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "Server %s%s%s byl odebrán\n" -#: src/common/command.c:2164 +#: src/common/command.c:2390 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s chybí parametry pro příkaz \"%s\"\n" -#: src/common/command.c:2174 +#: src/common/command.c:2400 #, 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:2203 src/common/command.c:2231 -#: src/common/command.c:2244 src/common/command.c:2270 +#: src/common/command.c:2429 src/common/command.c:2457 +#: src/common/command.c:2470 src/common/command.c:2496 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s chybí heslo pro parametr \"%s\"\n" -#: src/common/command.c:2216 +#: src/common/command.c:2442 #, 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:2257 +#: src/common/command.c:2483 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s chybí příkaz pro parametr \"%s\"\n" -#: src/common/command.c:2292 +#: src/common/command.c:2519 #, c-format msgid "Server %s%s%s created\n" msgstr "Server %s%s%s vytvořen\n" -#: src/common/command.c:2301 +#: src/common/command.c:2528 #, c-format msgid "%s unable to create server\n" msgstr "%s nemohu vytvořit server\n" -#: src/common/command.c:2360 +#: src/common/command.c:2587 msgid "(unknown)" msgstr "(neznámý)" -#: src/common/command.c:2383 +#: src/common/command.c:2610 #, c-format msgid "%s(password hidden) " msgstr "%s(heslo schováno) " -#: src/common/command.c:2473 +#: src/common/command.c:2706 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s server \"%s\" nenalezen\n" -#: src/common/command.c:2506 src/common/command.c:2554 +#: src/common/command.c:2739 src/common/command.c:2787 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s volba nastavení \"%s\" nenalezena\n" -#: src/common/command.c:2511 src/common/command.c:2546 +#: src/common/command.c:2744 src/common/command.c:2779 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s nekorektní hodnota pro volbu \"%s\"\n" -#: src/common/command.c:2527 +#: src/common/command.c:2760 #, 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:2637 +#: src/common/command.c:2870 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Nebyla nalezena žádná volba nastavení s \"%s\"\n" -#: src/common/command.c:2640 +#: src/common/command.c:2873 msgid "No config option found\n" msgstr "Nebyla nalezena žádná volba nastavení\n" -#: src/common/command.c:2647 +#: src/common/command.c:2880 #, c-format msgid "%sDetail:\n" msgstr "%sDetail:\n" -#: src/common/command.c:2652 src/common/weechat.c:336 +#: src/common/command.c:2885 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:2653 src/common/command.c:2676 -#: src/common/command.c:2682 src/common/command.c:2688 +#: src/common/command.c:2886 src/common/command.c:2909 +#: src/common/command.c:2915 src/common/command.c:2921 #: 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:2658 src/common/weechat.c:342 +#: src/common/command.c:2891 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:2661 src/common/weechat.c:345 +#: src/common/command.c:2894 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr " . výchozí hodnota: %d\n" -#: src/common/command.c:2665 src/common/weechat.c:349 +#: src/common/command.c:2898 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr " . typ řetězec (hodnoty: " -#: src/common/command.c:2678 src/common/command.c:2684 -#: src/common/command.c:2690 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2911 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "prázdný" -#: src/common/command.c:2681 src/common/weechat.c:365 +#: src/common/command.c:2914 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:2687 src/common/weechat.c:371 +#: src/common/command.c:2920 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:2693 src/common/weechat.c:377 +#: src/common/command.c:2926 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr " . popis: %s\n" -#: src/common/command.c:2704 +#: src/common/command.c:2937 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "volba/volby nastavení nalezeny s \"%s\"\n" -#: src/common/command.c:2707 +#: src/common/command.c:2940 msgid "config option(s) found\n" msgstr "volba/volby nastavení nalezeny\n" -#: src/common/command.c:2728 +#: src/common/command.c:2964 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias nebo příkaz \"%s\" nenalezen\n" -#: src/common/command.c:2738 +#: src/common/command.c:2974 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" odebrán\n" -#: src/common/command.c:2794 +#: src/common/command.c:3030 msgid "ignore were removed.\n" msgstr "ignorování bylo odebráno.\n" -#: src/common/command.c:2796 +#: src/common/command.c:3032 msgid "ignore was removed.\n" msgstr "ignorování bylo odebrán\n" -#: src/common/command.c:2801 +#: src/common/command.c:3037 #, c-format msgid "%s no ignore found\n" msgstr "%s žádné ignorování nenaleyeno\n" -#: src/common/command.c:2832 +#: src/common/command.c:3069 #, c-format msgid "%s can't upgrade: connection to at least one server is pending" msgstr "" -#: src/common/command.c:2848 +#: src/common/command.c:3084 msgid "Upgrading WeeChat...\n" msgstr "" -#: src/common/command.c:2856 -#, fuzzy, c-format +#: src/common/command.c:3091 +#, c-format msgid "%s unable to save session in file\n" -msgstr "%s nemohu vytvořit server\n" +msgstr "" -#: src/common/command.c:2878 +#: src/common/command.c:3120 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:2914 +#: src/common/command.c:3156 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "" -#: src/common/command.c:2931 +#: src/common/command.c:3170 #, 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:2971 +#: src/common/command.c:3210 msgid "Opened windows:\n" msgstr "Otevřené okna:\n" -#: src/common/command.c:3058 +#: src/common/command.c:3297 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3444,12 +3476,12 @@ msgstr "%s server \"%s\" nenalezen (data FIFO roury)\n" msgid "%s channel \"%s\" not found (FIFO pipe data)\n" msgstr "%s kanál \"%s\" nenalezen (data FIFO roury)\n" -#: src/common/fifo.c:251 src/common/fifo.c:253 +#: src/common/fifo.c:252 src/common/fifo.c:254 #, c-format msgid "%s error reading FIFO pipe, closing it\n" msgstr "%s chyba při čtení FIFO roury, zavírám ji\n" -#: src/common/fifo.c:295 +#: src/common/fifo.c:296 msgid "FIFO pipe is closed\n" msgstr "FIFO roura zavřena\n" @@ -3474,13 +3506,13 @@ msgstr "**** Beginning of log " msgid "**** End of log " msgstr "**** End of log " -#: src/common/session.c:432 +#: src/common/session.c:435 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" msgstr "" -#: src/common/session.c:437 +#: src/common/session.c:440 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3488,314 +3520,275 @@ msgid "" "Be careful, private info may be in these files.\n" msgstr "" -#: src/common/session.c:461 src/common/session.c:495 src/common/session.c:552 +#: src/common/session.c:464 src/common/session.c:498 src/common/session.c:555 #, c-format msgid "wrong type in file (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:564 -#, fuzzy +#: src/common/session.c:567 msgid "invalid length for a buffer" -msgstr "Nemůžu zapsat log soubor bufferu\n" +msgstr "" -#: src/common/session.c:589 +#: src/common/session.c:592 msgid "object read error" msgstr "" -#: src/common/session.c:594 +#: src/common/session.c:597 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:604 +#: src/common/session.c:607 msgid "type read error" msgstr "" -#: src/common/session.c:609 +#: src/common/session.c:612 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:688 -#, fuzzy +#: src/common/session.c:691 msgid "server name not found" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:693 -#, fuzzy, c-format +#: src/common/session.c:696 +#, c-format msgid "session: loading server \"%s\"\n" -msgstr "%s zrovna připojuji k serveru \"%s\"!\n" +msgstr "" -#: src/common/session.c:697 +#: src/common/session.c:700 msgid "server found, updating values\n" msgstr "" -#: src/common/session.c:700 -#, fuzzy +#: src/common/session.c:703 msgid "server not found, creating new one\n" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:705 -#, fuzzy +#: src/common/session.c:708 msgid "can't create new server" -msgstr "%s nemůžu přidělit nový server\n" +msgstr "" -#: src/common/session.c:719 -#, fuzzy +#: src/common/session.c:722 msgid "unexpected end of file (reading server)" -msgstr "smazat do konce řádku" +msgstr "" -#: src/common/session.c:836 +#: src/common/session.c:848 #, c-format msgid "session: warning: ignoring value from server (object id: %d)\n" msgstr "" -#: src/common/session.c:858 +#: src/common/session.c:870 msgid "channel found without server" msgstr "" -#: src/common/session.c:865 +#: src/common/session.c:877 msgid "channel type not found" msgstr "" -#: src/common/session.c:873 -#, fuzzy +#: src/common/session.c:885 msgid "channel name not found" -msgstr "mód kanálu" +msgstr "" -#: src/common/session.c:878 -#, fuzzy, c-format +#: src/common/session.c:890 +#, c-format msgid "session: loading channel \"%s\"\n" -msgstr "%s: používám lokální jméno hosta \"%s\"\n" +msgstr "" -#: src/common/session.c:886 -#, fuzzy +#: src/common/session.c:898 msgid "can't create new channel" -msgstr "%s nemohu vytvořit nový kanál \"%s\"\n" +msgstr "" -#: src/common/session.c:896 -#, fuzzy +#: src/common/session.c:908 msgid "unexpected end of file (reading channel)" -msgstr "smazat do konce řádku" +msgstr "" -#: src/common/session.c:924 +#: src/common/session.c:936 #, c-format msgid "session: warning: ignoring value from channel (object id: %d)\n" msgstr "" -#: src/common/session.c:947 -#, fuzzy +#: src/common/session.c:959 msgid "nick found without channel" -msgstr "nemohu poslat na kanál" +msgstr "" -#: src/common/session.c:955 -#, fuzzy +#: src/common/session.c:967 msgid "nick name not found" -msgstr "mód kanálu" +msgstr "" -#: src/common/session.c:965 -#, fuzzy +#: src/common/session.c:977 msgid "can't create new nick" -msgstr "%s nemohu vytvořit nový kanál \"%s\"\n" +msgstr "" -#: src/common/session.c:975 -#, fuzzy +#: src/common/session.c:987 msgid "unexpected end of file (reading nick)" -msgstr "smazat do konce řádku" +msgstr "" -#: src/common/session.c:991 +#: src/common/session.c:1003 #, c-format msgid "session: warning: ignoring value from nick (object id: %d)\n" msgstr "" -#: src/common/session.c:1017 -#, fuzzy +#: src/common/session.c:1029 msgid "can't create new DCC" -msgstr "%s nemohu vytvořit nový kanál \"%s\"\n" +msgstr "" -#: src/common/session.c:1021 -#, fuzzy +#: src/common/session.c:1033 msgid "session: loading DCC\n" -msgstr "%s zrovna připojuji k serveru \"%s\"!\n" +msgstr "" -#: src/common/session.c:1031 -#, fuzzy +#: src/common/session.c:1043 msgid "unexpected end of file (reading DCC)" -msgstr "smazat do konce řádku" +msgstr "" -#: src/common/session.c:1050 -#, fuzzy +#: src/common/session.c:1062 msgid "server not found for DCC" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:1059 +#: src/common/session.c:1071 msgid "DCC with channel but without server" msgstr "" -#: src/common/session.c:1071 -#, fuzzy +#: src/common/session.c:1083 msgid "channel not found for DCC" -msgstr "%s kanál \"%s\" nebyl nalezen příkazem \"%s\"\n" +msgstr "" -#: src/common/session.c:1145 +#: src/common/session.c:1157 #, c-format msgid "session: warning: ignoring value from DCC (object id: %d)\n" msgstr "" -#: src/common/session.c:1165 -#, fuzzy +#: src/common/session.c:1177 msgid "session: loading buffer history\n" -msgstr "%s zrovna připojuji k serveru \"%s\"!\n" +msgstr "" -#: src/common/session.c:1167 -#, fuzzy +#: src/common/session.c:1179 msgid "session: loading global history\n" -msgstr "%s: používám lokální jméno hosta \"%s\"\n" +msgstr "" -#: src/common/session.c:1175 -#, fuzzy +#: src/common/session.c:1187 msgid "unexpected end of file (reading history)" -msgstr "smazat do konce řádku" +msgstr "" -#: src/common/session.c:1195 +#: src/common/session.c:1207 #, c-format msgid "session: warning: ignoring value from history (object id: %d)\n" msgstr "" -#: src/common/session.c:1221 -#, fuzzy +#: src/common/session.c:1233 msgid "server name not found for buffer" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:1229 -#, fuzzy +#: src/common/session.c:1241 msgid "channel name not found for buffer" -msgstr "mód kanálu" +msgstr "" -#: src/common/session.c:1236 +#: src/common/session.c:1248 msgid "dcc flag not found for buffer" msgstr "" -#: src/common/session.c:1241 -#, fuzzy, c-format +#: src/common/session.c:1253 +#, c-format msgid "session: loading buffer (server: %s, channel: %s, dcc: %d)\n" -msgstr "%s: používám lokální jméno hosta \"%s\"\n" +msgstr "" -#: src/common/session.c:1252 -#, fuzzy +#: src/common/session.c:1264 msgid "server not found for buffer" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:1262 -#, fuzzy +#: src/common/session.c:1274 msgid "channel not found for buffer" -msgstr "%s kanál \"%s\" nebyl nalezen příkazem \"%s\"\n" +msgstr "" -#: src/common/session.c:1270 -#, fuzzy +#: src/common/session.c:1282 msgid "can't create new buffer" -msgstr "%s nemůžu přidělit nový server\n" +msgstr "" -#: src/common/session.c:1283 -#, fuzzy +#: src/common/session.c:1295 msgid "unexpected end of file (reading buffer)" -msgstr "smazat do konce řádku" +msgstr "" -#: src/common/session.c:1293 +#: src/common/session.c:1305 #, c-format msgid "session: warning: ignoring value from buffer (object id: %d)\n" msgstr "" -#: src/common/session.c:1315 -#, fuzzy +#: src/common/session.c:1327 msgid "line found without buffer" -msgstr "nemohu poslat na kanál" +msgstr "" -#: src/common/session.c:1323 -#, fuzzy +#: src/common/session.c:1335 msgid "can't create new line" -msgstr "%s nemohu vytvořit nový kanál \"%s\"\n" +msgstr "" -#: src/common/session.c:1333 -#, fuzzy +#: src/common/session.c:1345 msgid "unexpected end of file (reading line)" -msgstr "smazat do konce řádku" +msgstr "" -#: src/common/session.c:1364 +#: src/common/session.c:1376 #, c-format msgid "session: warning: ignoring value from line (object id: %d)\n" msgstr "" -#: src/common/session.c:1394 -#, fuzzy +#: src/common/session.c:1406 msgid "session file not found" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:1401 -#, fuzzy +#: src/common/session.c:1413 msgid "signature not found" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:1406 +#: src/common/session.c:1418 msgid "bad session signature" msgstr "" -#: src/common/session.c:1417 -#, fuzzy +#: src/common/session.c:1429 msgid "object id not found" -msgstr "%s server nenalezen\n" +msgstr "" -#: src/common/session.c:1425 -#, fuzzy +#: src/common/session.c:1437 msgid "failed to load server" -msgstr "%s nemohu vytvořit server\n" +msgstr "" -#: src/common/session.c:1432 -#, fuzzy +#: src/common/session.c:1444 msgid "failed to load channel" -msgstr "opustit kanál" +msgstr "" -#: src/common/session.c:1439 -#, fuzzy +#: src/common/session.c:1451 msgid "failed to load nick" -msgstr "opustit kanál" +msgstr "" -#: src/common/session.c:1446 -#, fuzzy +#: src/common/session.c:1458 msgid "failed to load DCC" -msgstr "opustit kanál" +msgstr "" -#: src/common/session.c:1453 -#, fuzzy +#: src/common/session.c:1465 msgid "failed to load history" -msgstr "%s nemohu vytvořit server\n" +msgstr "" -#: src/common/session.c:1460 -#, fuzzy +#: src/common/session.c:1472 msgid "failed to load buffer" -msgstr "%s nemohu vytvořit server\n" +msgstr "" -#: src/common/session.c:1467 -#, fuzzy +#: src/common/session.c:1479 msgid "failed to load line" -msgstr "opustit kanál" +msgstr "" -#: src/common/session.c:1472 +#: src/common/session.c:1484 #, c-format msgid "ignoring object (id: %d)\n" msgstr "" -#: src/common/session.c:1476 +#: src/common/session.c:1488 #, c-format msgid "failed to ignore object (id: %d)" msgstr "" -#: src/common/session.c:1499 -#, fuzzy, c-format +#: src/common/session.c:1512 +#, c-format msgid "%s can't delete session file (%s)\n" -msgstr "%s nemohu vytvořit soubor \"%s\"\n" +msgstr "" -#: src/common/session.c:1505 +#: src/common/session.c:1518 msgid "Upgrade completed successfully\n" msgstr "" @@ -3861,61 +3854,61 @@ msgid "%s default keys:\n" msgstr "%s výchozí klávesy:\n" #: src/common/weechat.c:554 -#, fuzzy, c-format +#, c-format msgid "%s missing argument for --session option\n" -msgstr "%s chybí argumenty pro příkaz \"%s\"\n" +msgstr "" #: src/common/weechat.c:575 #, c-format msgid "%s invalid syntax for IRC server ('%s'), ignored\n" msgstr "%s nevalidní syntaxe pro IRC server ('%s'), ignorován\n" -#: src/common/weechat.c:588 +#: src/common/weechat.c:589 #, c-format msgid "%s unable to create server ('%s'), ignored\n" msgstr "%s nemohu vytvořit server ('%s'), ignorován\n" -#: src/common/weechat.c:597 +#: src/common/weechat.c:598 #, c-format msgid "%s unknown parameter '%s', ignored\n" msgstr "%s neznámý parametr '%s', ignorován\n" -#: src/common/weechat.c:617 +#: src/common/weechat.c:618 #, c-format msgid "%s cannot create directory \"%s\"\n" msgstr "%s nemohu vytvořit adresář \"%s\"\n" -#: src/common/weechat.c:638 +#: src/common/weechat.c:639 #, c-format msgid "%s unable to get HOME directory\n" msgstr "%s nemohu získat HOME adresář\n" -#: src/common/weechat.c:647 +#: src/common/weechat.c:648 #, c-format msgid "%s not enough memory for home directory\n" msgstr "%s nedostatek paměti pro domácí adresář\n" -#: src/common/weechat.c:657 +#: src/common/weechat.c:658 #, c-format msgid "%s unable to create ~/.weechat directory\n" msgstr "%s nemohu vytvořit adresář ~/.weechat\n" -#: src/common/weechat.c:670 +#: src/common/weechat.c:671 #, c-format msgid "%s unable to create ~/.weechat/logs directory\n" msgstr "%s nemohu vytvořit adresář ~/.weechat/logs\n" -#: src/common/weechat.c:716 +#: src/common/weechat.c:717 #, c-format msgid "%s unable to create/append to log file (~/.weechat/%s)" msgstr "%s nemohu vytvořit/přidat do log souboru (~/.weechat/%s)" -#: src/common/weechat.c:767 +#: src/common/weechat.c:768 #, c-format msgid "%sWelcome to %s%s%s, %s\n" msgstr "%sVítejte do %s%s%s, %s\n" -#: src/common/weechat.c:781 src/common/weechat.c:791 +#: src/common/weechat.c:782 src/common/weechat.c:792 msgid "compiled on" msgstr "kompilováno" @@ -4959,62 +4952,92 @@ msgstr "" "čárkou oddělený seznam levelů upozornění pro kanály na tomto serveru " "(formát: #kanál:1,..)" -#: src/common/weeconfig.c:1510 +#: src/common/weeconfig.c:940 +msgid "charset for decoding ISO on server and channels" +msgstr "" + +#: src/common/weeconfig.c:941 +msgid "" +"comma separated list of charsets for server and channels, to decode ISO " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:945 +msgid "charset for decoding UTF on server and channels" +msgstr "" + +#: src/common/weeconfig.c:946 +msgid "" +"comma separated list of charsets for server and channels, to decode UTF " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:950 +msgid "charset for encoding messages on server and channels" +msgstr "" + +#: src/common/weeconfig.c:951 +msgid "" +"comma separated list of charsets for server and channels, to encode messages " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:1643 #, c-format msgid "%s %s, line %d: new server, but previous was incomplete\n" msgstr "%s %s, řádek %d: nový server, ale předchozí byl nekompletní\n" -#: src/common/weeconfig.c:1519 +#: src/common/weeconfig.c:1652 #, c-format msgid "%s %s, line %d: server '%s' already exists\n" msgstr "%s %s, řádek %d: server '%s' již existuje\n" -#: src/common/weeconfig.c:1534 +#: src/common/weeconfig.c:1669 #, c-format msgid "%s %s, line %d: unable to create server\n" msgstr "%s %s, řádek %d: nemohu vytvořit server\n" -#: src/common/weeconfig.c:1574 +#: src/common/weeconfig.c:1709 #, c-format msgid "%s unable to assign default int with string (\"%s\")\n" msgstr "%s nemohu přiřadit výchozí číslo s řetězcem (\"%s\")\n" -#: src/common/weeconfig.c:1585 +#: src/common/weeconfig.c:1720 #, c-format msgid "%s unable to assign default color (\"%s\")\n" msgstr "%s nemohu přiřadit výchozí barvu (\"%s\")\n" -#: src/common/weeconfig.c:1623 +#: src/common/weeconfig.c:1758 #, c-format msgid "%s config file \"%s\" not found.\n" msgstr "%s konfigurační soubor \"%s\" nenalezen\n" -#: src/common/weeconfig.c:1655 +#: src/common/weeconfig.c:1790 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"]\"\n" msgstr "%s %s, řádek %d: nevalidní syntaxe, chybí \"]\"\n" -#: src/common/weeconfig.c:1672 +#: src/common/weeconfig.c:1807 #, c-format msgid "%s %s, line %d: unknown section identifier (\"%s\")\n" msgstr "%s %s, řádek %d: neznámý identifikátor sekce (\"%s\")\n" -#: src/common/weeconfig.c:1690 +#: src/common/weeconfig.c:1825 #, c-format msgid "%s %s, line %d: invalid section for option, line is ignored\n" msgstr "%s %s, řádek %d: nevalidní sekce pro volbu, řádek je ignorován\n" -#: src/common/weeconfig.c:1772 src/common/weeconfig.c:1798 +#: src/common/weeconfig.c:1907 src/common/weeconfig.c:1933 #, c-format msgid "%s %s, line %d: invalid option \"%s\"\n" msgstr "%s %s, řádek %d: nevalidní volba \"%s\"\n" -#: src/common/weeconfig.c:1778 +#: src/common/weeconfig.c:1913 #, c-format msgid "%s %s, line %d: invalid ignore options \"%s\"\n" msgstr "%s %s, řádek %d: nevalidní volba \"%s\" pro ignorování\n" -#: src/common/weeconfig.c:1809 +#: src/common/weeconfig.c:1944 #, c-format msgid "" "%s %s, line %d: invalid value foroption '%s'\n" @@ -5023,7 +5046,7 @@ msgstr "" "%s %s, řádek %d: nevalidní hodnota pro volbu '%s'\n" "Očekáváno: hodnota boolean: 'off' nebo 'on'\n" -#: src/common/weeconfig.c:1818 +#: src/common/weeconfig.c:1953 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" @@ -5032,7 +5055,7 @@ msgstr "" "%s %s, řádek %d: nevalidní hodnota pro volbu '%s'\n" "Očekáváno: celé číslo mezi %d a %d\n" -#: src/common/weeconfig.c:1829 +#: src/common/weeconfig.c:1964 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" @@ -5041,21 +5064,21 @@ msgstr "" "%s %s, řádek %d: nevalidní hodnota pro volbu '%s'\n" "Očekáváno: jeden z těchto řetězců: " -#: src/common/weeconfig.c:1845 +#: src/common/weeconfig.c:1980 #, c-format msgid "%s %s, line %d: invalid color name for option '%s'\n" msgstr "%s %s, řádek %d: nevalidní jméno barvy pro hodnotu '%s'\n" -#: src/common/weeconfig.c:1914 +#: src/common/weeconfig.c:2049 #, c-format msgid "%s: creating default config file...\n" msgstr "%s: vytvářím výchozí konfigurační soubor...\n" -#: src/common/weeconfig.c:1915 +#: src/common/weeconfig.c:2050 msgid "Creating default config file\n" msgstr "Vytvářím výchozí konfigurační soubor\n" -#: src/common/weeconfig.c:1918 src/common/weeconfig.c:2119 +#: src/common/weeconfig.c:2053 src/common/weeconfig.c:2258 #, c-format msgid "" "#\n" @@ -5064,7 +5087,7 @@ msgstr "" "#\n" "# %s konfigurační soubor, vytvořil %s v%s %s" -#: src/common/weeconfig.c:1922 src/common/weeconfig.c:2123 +#: src/common/weeconfig.c:2057 src/common/weeconfig.c:2262 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -5075,26 +5098,6 @@ msgstr "" "tento soubor při ukončení.\n" "#\n" -#: src/common/weeconfig.c:2116 +#: src/common/weeconfig.c:2255 msgid "Saving config to disk\n" msgstr "Ukládám konfiguraci na disk\n" - -#, fuzzy -#~ msgid "channel name (content) not found" -#~ msgstr "mód kanálu" - -#, fuzzy -#~ msgid "server name (content) not found" -#~ msgstr "%s server nenalezen\n" - -#~ msgid "%s cannot allocate new nick\n" -#~ msgstr "%s nemůžu přidělit novou přezdívku\n" - -#~ msgid "display nick names with different colors" -#~ msgstr "zobrazit přezdívky různými barvami" - -#~ msgid "dump" -#~ msgstr "dump" - -#~ msgid "%s unable to call handler for message (not enough memory)\n" -#~ msgstr "%s nemohu zavolat handler pro zprávu (neodstatek paměti)\n" diff --git a/weechat/po/es.po b/weechat/po/es.po index 05c8dab16..41780db8b 100644 --- a/weechat/po/es.po +++ b/weechat/po/es.po @@ -7,96 +7,96 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.7-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-12-06 18:33+0100\n" -"PO-Revision-Date: 2005-12-06 17:57+0100\n" +"POT-Creation-Date: 2005-12-11 01:50+0100\n" +"PO-Revision-Date: 2005-12-10 22:41+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" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" -#: src/irc/irc-server.c:179 src/common/weeconfig.c:2054 +#: src/irc/irc-server.c:182 src/common/weeconfig.c:2189 msgid "Unable to get user's name" msgstr "No ha sido posible obtener el nombre de usuario" -#: src/irc/irc-server.c:247 +#: src/irc/irc-server.c:250 #, c-format msgid "%s cannot allocate new server\n" msgstr "%s no ha sido posible crear un nuevo servidor\n" -#: src/irc/irc-server.c:464 +#: src/irc/irc-server.c:563 #, c-format msgid "%s error sending data to IRC server\n" msgstr "%s error enviando datos al servidor IRC\n" -#: src/irc/irc-server.c:487 src/irc/irc-server.c:500 src/irc/irc-server.c:547 -#: src/irc/irc-server.c:560 +#: src/irc/irc-server.c:585 src/irc/irc-server.c:598 src/irc/irc-server.c:645 +#: src/irc/irc-server.c:658 #, c-format msgid "%s not enough memory for received IRC message\n" msgstr "%s memoria insuficiente para un mensaje IRC recibido\n" -#: src/irc/irc-server.c:672 +#: src/irc/irc-server.c:770 #, c-format msgid "%s Command \"%s\" failed!\n" msgstr "%s El comando \"%s\" ha fallado!\n" -#: src/irc/irc-server.c:678 +#: src/irc/irc-server.c:776 #, c-format msgid "%s No command to execute!\n" msgstr "%s Ningn comando para ejecutar!\n" -#: src/irc/irc-server.c:684 +#: src/irc/irc-server.c:782 #, c-format msgid "%s Unknown command: cmd=\"%s\", host=\"%s\", args=\"%s\"\n" msgstr "%s Comando desconocido: cmd=\"%s\", host=\"%s\", params=\"%s\"\n" -#: src/irc/irc-server.c:735 +#: src/irc/irc-server.c:833 #, c-format msgid "%s cannot read data from socket, disconnecting from server...\n" msgstr "" "%s no ha sido posible leer datos del socket, desconectando del servidor...\n" -#: src/irc/irc-server.c:816 +#: src/irc/irc-server.c:914 #, c-format msgid "%s: Reconnecting to server in %d seconds\n" msgstr "%s: Reconexin al servidor en %d segundos\n" -#: src/irc/irc-server.c:850 +#: src/irc/irc-server.c:948 #, c-format msgid "%s gnutls handshake failed\n" msgstr "%s el handshake gnutls ha fallado\n" -#: src/irc/irc-server.c:867 +#: src/irc/irc-server.c:965 #, c-format msgid "%s proxy address \"%s\" not found\n" msgstr "%s direccin proxy \"%s\" no encontrada\n" -#: src/irc/irc-server.c:871 +#: src/irc/irc-server.c:969 #, c-format msgid "%s address \"%s\" not found\n" msgstr "%s direccin \"%s\" no encontrada\n" -#: src/irc/irc-server.c:881 +#: src/irc/irc-server.c:979 #, c-format msgid "%s proxy IP address not found\n" msgstr "%s direccin proxy IP no encontrada\n" -#: src/irc/irc-server.c:884 +#: src/irc/irc-server.c:982 #, c-format msgid "%s IP address not found\n" msgstr "%s Direccin IP no encontrada\n" -#: src/irc/irc-server.c:893 +#: src/irc/irc-server.c:991 #, c-format msgid "%s proxy connection refused\n" msgstr "%s conexin proxy rechazada\n" -#: src/irc/irc-server.c:896 +#: src/irc/irc-server.c:994 #, c-format msgid "%s connection refused\n" msgstr "%s conexin rechazada\n" -#: src/irc/irc-server.c:904 +#: src/irc/irc-server.c:1002 #, c-format msgid "" "%s proxy fails to establish connection to server (check username/password if " @@ -105,7 +105,7 @@ msgstr "" "%s el proxy ha fallado al establecer la conexin al servidor (comprueba el " "nombre de usuario o la contrasea si es necesario)\n" -#: src/irc/irc-server.c:1383 +#: src/irc/irc-server.c:1481 #, c-format msgid "" "%s cannot connect with SSL since WeeChat was not built with GNUtls support\n" @@ -113,61 +113,61 @@ msgstr "" "%s No ha sido posible conectar con SSL debido a que Weechat no fue compilado " "con soporte GNUtls\n" -#: src/irc/irc-server.c:1392 +#: src/irc/irc-server.c:1490 #, c-format msgid "%s: connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "%s: conectando al servidor %s:%d%s%s va %s proxy %s: %d%s...\n" -#: src/irc/irc-server.c:1398 +#: src/irc/irc-server.c:1496 #, c-format msgid "Connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "Conectando al servidor %s:%d%s%s va %s proxy %s:%d%s...\n" -#: src/irc/irc-server.c:1408 +#: src/irc/irc-server.c:1506 #, c-format msgid "%s: connecting to server %s:%d%s%s...\n" msgstr "%s: conectando al servidor %s:%d%s%s...\n" -#: src/irc/irc-server.c:1412 +#: src/irc/irc-server.c:1510 #, c-format msgid "Connecting to server %s:%d%s%s...\n" msgstr "Conectando al servidor %s:%d%s%s...\n" -#: src/irc/irc-server.c:1430 +#: src/irc/irc-server.c:1528 #, c-format msgid "%s gnutls init error\n" msgstr "%s error de inicializacin de gnutls\n" -#: src/irc/irc-server.c:1445 +#: src/irc/irc-server.c:1543 #, c-format msgid "%s cannot create pipe\n" msgstr "%s no ha sido posible crear la interconexin\n" -#: src/irc/irc-server.c:1460 +#: src/irc/irc-server.c:1558 #, c-format msgid "%s cannot create socket\n" msgstr "%s no ha sido posible crear el socket\n" -#: src/irc/irc-server.c:1471 +#: src/irc/irc-server.c:1569 #, c-format msgid "%s cannot set socket option \"SO_REUSEADDR\"\n" msgstr "%s no ha sido posible configurar la opcin socket \"SO_REUSEADDR\"\n" -#: src/irc/irc-server.c:1482 +#: src/irc/irc-server.c:1580 #, c-format msgid "%s cannot set socket option \"SO_KEEPALIVE\"\n" msgstr "%s no ha sido posible configurar la opcin socket \"SO_KEEPALIVE\"\n" -#: src/irc/irc-server.c:1513 +#: src/irc/irc-server.c:1611 #, c-format msgid "%s: Reconnecting to server...\n" msgstr "%s: Reconectando al servidor...\n" -#: src/irc/irc-server.c:1563 src/irc/irc-server.c:1572 +#: src/irc/irc-server.c:1661 src/irc/irc-server.c:1670 msgid "Disconnected from server!\n" msgstr "Desconectado del servidor!\n" -#: src/irc/irc-channel.c:51 +#: src/irc/irc-channel.c:53 #, c-format msgid "%s cannot allocate new channel" msgstr "%s no ha sido posible crear un nuevo canal" @@ -1388,7 +1388,7 @@ msgstr "inactivo" msgid " (temporary server, will not be saved)" msgstr " (servidor temporal, no ser guardado)" -#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3173 +#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3175 msgid "seconds" msgstr "segundos" @@ -1396,7 +1396,7 @@ msgstr "segundos" msgid "(hidden)" msgstr "(oculto)" -#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4699 +#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4701 msgid "unknown" msgstr "desconocido" @@ -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:800 +#: src/irc/irc-send.c:177 src/common/command.c:808 #, 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:1392 src/common/command.c:1877 -#: src/common/command.c:2013 +#: src/common/command.c:1599 src/common/command.c:2097 +#: src/common/command.c:2236 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s nmero de argumentos incorrecto para el comando \"%s\"\n" @@ -1461,8 +1461,8 @@ msgid "You have been invited to %s%s%s by %s%s\n" msgstr "Usted ha sido invitado a %s%s%s por %s%s\n" #: src/irc/irc-recv.c:376 src/irc/irc-recv.c:470 src/irc/irc-recv.c:1009 -#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3545 -#: src/irc/irc-recv.c:3566 src/irc/irc-recv.c:3626 src/irc/irc-recv.c:3697 +#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3547 +#: src/irc/irc-recv.c:3568 src/irc/irc-recv.c:3628 src/irc/irc-recv.c:3699 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "%s canal \"%s\" no encontrado para el comando \"%s\"\n" @@ -1653,7 +1653,7 @@ msgstr "CTCP %sVERSION%s respuesta de %s%s%s: %s\n" msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "CTCP %sPING%s respuesta de %s%s%s: %ld.%ld segundos\n" -#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1214 +#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1217 #, c-format msgid "Private %s> %s" msgstr "Privado %s> %s" @@ -1702,12 +1702,12 @@ msgstr "CTCP %sVERSION%s recibido de %s%s" #: src/irc/irc-recv.c:1812 src/irc/irc-recv.c:1838 src/irc/irc-recv.c:1859 #: src/irc/irc-recv.c:1875 src/irc/irc-recv.c:1900 src/irc/irc-recv.c:1921 #: src/irc/irc-recv.c:1937 src/irc/irc-recv.c:1962 src/irc/irc-recv.c:1983 -#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2522 -#: src/irc/irc-recv.c:3904 src/irc/irc-recv.c:3919 src/irc/irc-recv.c:3934 -#: src/irc/irc-recv.c:3949 src/irc/irc-recv.c:3962 src/irc/irc-recv.c:4027 -#: src/irc/irc-recv.c:4041 src/irc/irc-recv.c:4275 src/irc/irc-recv.c:4333 -#: src/irc/irc-recv.c:4471 src/irc/irc-recv.c:4486 src/irc/irc-recv.c:4592 -#: src/irc/irc-recv.c:4606 +#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2524 +#: src/irc/irc-recv.c:3906 src/irc/irc-recv.c:3921 src/irc/irc-recv.c:3936 +#: src/irc/irc-recv.c:3951 src/irc/irc-recv.c:3964 src/irc/irc-recv.c:4029 +#: src/irc/irc-recv.c:4043 src/irc/irc-recv.c:4277 src/irc/irc-recv.c:4335 +#: src/irc/irc-recv.c:4473 src/irc/irc-recv.c:4488 src/irc/irc-recv.c:4594 +#: src/irc/irc-recv.c:4608 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "%s no es posible analizar el comando \"%s\"\n" @@ -1719,200 +1719,200 @@ msgstr "%s tipo DCC CHAT desconocido recibido de " #: src/irc/irc-recv.c:2228 #, c-format -msgid "%s%s %s(%s%s%s)%s has quit %s(%s%s%s)\n" -msgstr "%s%s %s(%s%s%s)%s ha salido %s(%s%s%s)\n" +msgid "%s%s %s(%s%s%s)%s has quit" +msgstr "%s%s %s(%s%s%s)%s ha salido" -#: src/irc/irc-recv.c:2358 +#: src/irc/irc-recv.c:2360 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "%s comando \"%s\" recibido sin canal\n" -#: src/irc/irc-recv.c:2387 +#: src/irc/irc-recv.c:2389 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "%s%s%s ha cambiado el tema para %s%s%s a:" -#: src/irc/irc-recv.c:2398 +#: src/irc/irc-recv.c:2400 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "%s%s%s ha quitado el tema para %s%s\n" -#: src/irc/irc-recv.c:2508 +#: src/irc/irc-recv.c:2510 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "Modo de usuario %s[%s%s%s/%s%s%s]\n" -#: src/irc/irc-recv.c:2563 +#: src/irc/irc-recv.c:2565 #, c-format msgid "%s%s%s is away: %s\n" msgstr "%s%s%s est ausente: %s\n" -#: src/irc/irc-recv.c:2648 +#: src/irc/irc-recv.c:2650 msgid "Users online: " msgstr "Usuarios conectados: " -#: src/irc/irc-recv.c:3024 +#: src/irc/irc-recv.c:3026 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "%s%s %s(%s%s@%s%s)%s estaba %s\n" -#: src/irc/irc-recv.c:3145 +#: src/irc/irc-recv.c:3147 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s inactividad: " -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "days" msgstr "das" -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "day" msgstr "da" -#: src/irc/irc-recv.c:3161 +#: src/irc/irc-recv.c:3163 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, firm en: %s%s" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hours" msgstr "horas" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hour" msgstr "hora" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minutes" msgstr "minutos" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minute" msgstr "minuto" -#: src/irc/irc-recv.c:3173 +#: src/irc/irc-recv.c:3175 msgid "second" msgstr "segundo" -#: src/irc/irc-recv.c:3557 +#: src/irc/irc-recv.c:3559 #, c-format msgid "No topic set for %s%s\n" msgstr "Sin tema establecido para %s%s\n" -#: src/irc/irc-recv.c:3613 +#: src/irc/irc-recv.c:3615 #, c-format msgid "Topic for %s%s%s is: \"%s\"\n" msgstr "El tema para %s%s%s es: \"%s\"\n" -#: src/irc/irc-recv.c:3636 src/irc/irc-recv.c:3724 src/irc/irc-recv.c:3779 +#: src/irc/irc-recv.c:3638 src/irc/irc-recv.c:3726 src/irc/irc-recv.c:3781 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "%s no es posible identificar el canal para el comando \"%s\"\n" -#: src/irc/irc-recv.c:3686 +#: src/irc/irc-recv.c:3688 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "Tema establecido por %s%s%s, %s" -#: src/irc/irc-recv.c:3706 +#: src/irc/irc-recv.c:3708 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "%s no es posible identificar la fecha/hora para el comando \"%s\"\n" -#: src/irc/irc-recv.c:3715 src/irc/irc-recv.c:3788 +#: src/irc/irc-recv.c:3717 src/irc/irc-recv.c:3790 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "" "%s no es posible determinar el nombre de usuario para el comando \"%s\"\n" -#: src/irc/irc-recv.c:3764 +#: src/irc/irc-recv.c:3766 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "%s%s%s ha invitado a %s%s%s en %s%s\n" -#: src/irc/irc-recv.c:3824 +#: src/irc/irc-recv.c:3826 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "reop canal %s%s%s: %s%s\n" -#: src/irc/irc-recv.c:4321 +#: src/irc/irc-recv.c:4323 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "%s no es posible crear el usuario \"%s\" para el canal \"%s\"\n" -#: src/irc/irc-recv.c:4379 +#: src/irc/irc-recv.c:4381 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "Usuarios %s%s%s: %s[" -#: src/irc/irc-recv.c:4400 +#: src/irc/irc-recv.c:4402 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" "Canal %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nicks" msgstr "usuarios" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nick" msgstr "usuario" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "ops" msgstr "operadores" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "op" msgstr "operador" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfops" msgstr "semi-operadores" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfop" msgstr "semi-operador" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voices" msgstr "voces" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voice" msgstr "voz" -#: src/irc/irc-recv.c:4425 +#: src/irc/irc-recv.c:4427 msgid "normal" msgstr "normal" -#: src/irc/irc-recv.c:4526 +#: src/irc/irc-recv.c:4528 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "%s[%s%s%s] %s%s%s baneado por " -#: src/irc/irc-recv.c:4561 +#: src/irc/irc-recv.c:4563 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "%s[%s%s%s] %s%s%s baneado\n" -#: src/irc/irc-recv.c:4653 +#: src/irc/irc-recv.c:4655 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" "%s: el nombre de usuario \"%s\" ya est en uso, probando con el 2 nombre de " "usuario \"%s\"\n" -#: src/irc/irc-recv.c:4665 +#: src/irc/irc-recv.c:4667 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" "%s: el nombre de usuario \"%s\" ya est en uso, probando con el 3 nombre de " "usuario \"%s\"\n" -#: src/irc/irc-recv.c:4677 +#: src/irc/irc-recv.c:4679 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " @@ -1921,7 +1921,7 @@ msgstr "" "%s: todos los nombres de usuario declarados ya estn en uso, cerrando la " "conexin con el servidor!\n" -#: src/irc/irc-recv.c:4687 +#: src/irc/irc-recv.c:4689 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -2084,12 +2084,12 @@ msgstr "%s no puede encontrar un puerto disponible para el DCC\n" msgid "%s cannot send DCC\n" msgstr "%s no es posible enviar el DCC\n" -#: src/irc/irc-dcc.c:1132 +#: src/irc/irc-dcc.c:1131 #, c-format msgid "%s error sending data to \"%s\" via DCC CHAT\n" msgstr "%s error enviando datos al \"%s\" con DCC CHAT\n" -#: src/irc/irc-dcc.c:1411 +#: src/irc/irc-dcc.c:1416 #, c-format msgid "" "%s DCC failed because blocksize is too big. Check value of \"dcc_blocksize\" " @@ -2098,7 +2098,7 @@ msgstr "" "%s El DCC ha fallado porque el tamao de bloque es demasiado grande. " "Compruebe el valor de la opcin \"dcc_blocksize\", el mximo es %d.\n" -#: src/irc/irc-dcc.c:1486 +#: src/irc/irc-dcc.c:1491 #, c-format msgid "Aborting active DCC: \"%s\" from %s\n" msgstr "Abandonar el DCC activo: \"%s\" de %s\n" @@ -2234,13 +2234,13 @@ msgstr "Plugin \"%s\" descargado.\n" msgid "%s plugin \"%s\" not found\n" msgstr "%s plugin \"%s\" no encontrado\n" -#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1698 +#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1833 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "%s %s, lnea %d: sintaxis invlida, falta \"=\"\n" -#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:1908 -#: src/common/weeconfig.c:2110 +#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:2043 +#: src/common/weeconfig.c:2249 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "%s no es posible crear el fichero \"%s\"\n" @@ -2275,68 +2275,68 @@ msgstr "Da cambiado a %s\n" msgid "%s lag is high, disconnecting from server...\n" msgstr "%s el lag (retraso) es alto, desconectando del servidor...\n" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "bytes" msgstr "bytes" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Kb" msgstr "KB" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Mb" msgstr "MB" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Gb" msgstr "GB" -#: src/gui/curses/gui-display.c:1600 +#: src/gui/curses/gui-display.c:1594 msgid "ETA" msgstr "" -#: src/gui/curses/gui-display.c:1945 +#: src/gui/curses/gui-display.c:1941 msgid "<servers>" msgstr "<servidores>" -#: src/gui/curses/gui-display.c:1957 +#: src/gui/curses/gui-display.c:1953 msgid "(away)" msgstr "(ausente)" -#: src/gui/curses/gui-display.c:2091 +#: src/gui/curses/gui-display.c:2087 msgid "[not connected] " msgstr "[no conectado] " -#: src/gui/curses/gui-display.c:2101 +#: src/gui/curses/gui-display.c:2097 msgid "Act: " msgstr "Act: " -#: src/gui/curses/gui-display.c:2189 +#: src/gui/curses/gui-display.c:2185 #, c-format msgid "Lag: %.1f" msgstr "Lag: %.1f" -#: src/gui/curses/gui-display.c:2205 +#: src/gui/curses/gui-display.c:2201 msgid "-MORE-" msgstr "-MS-" -#: src/gui/curses/gui-display.c:2378 +#: src/gui/curses/gui-display.c:2374 msgid " [A] Accept" msgstr " [A] Aceptar" -#: src/gui/curses/gui-display.c:2379 src/gui/curses/gui-display.c:2383 +#: src/gui/curses/gui-display.c:2375 src/gui/curses/gui-display.c:2379 msgid " [C] Cancel" msgstr " [C] Cancelar" -#: src/gui/curses/gui-display.c:2388 +#: src/gui/curses/gui-display.c:2384 msgid " [R] Remove" msgstr " [R] Eliminar" -#: src/gui/curses/gui-display.c:2392 +#: src/gui/curses/gui-display.c:2388 msgid " [P] Purge old DCC" msgstr " [P] Purgar los viejos DCC" -#: src/gui/curses/gui-display.c:2393 +#: src/gui/curses/gui-display.c:2389 msgid " [Q] Close DCC view" msgstr " [Q] Cerrar la vista DCC" @@ -2344,11 +2344,11 @@ msgstr " [Q] Cerrar la vista DCC" msgid "server" msgstr "servidor" -#: src/gui/gui-common.c:696 +#: src/gui/gui-common.c:716 msgid "Not enough memory for new line\n" msgstr "No hay suficiente memoria para una nueva lnea\n" -#: src/gui/gui-common.c:1047 +#: src/gui/gui-common.c:1054 msgid "Not enough memory for infobar message\n" msgstr "No hay suficiente memoria para el mensaje de la barra de informacin\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:1892 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2112 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s No ha sido posible atar la clave \"%s\"\n" @@ -2529,15 +2529,15 @@ msgstr "" msgid "%s not enough memory for key binding\n" msgstr "%s no hay suficiente memoria para atar la clave\n" -#: src/common/command.c:44 +#: src/common/command.c:45 msgid "create an alias for a command" msgstr "crear un alias para un comando" -#: src/common/command.c:45 +#: src/common/command.c:46 msgid "[alias_name [command [arguments]]" msgstr "[nombre_alias [comando [argumentos]]" -#: src/common/command.c:46 +#: src/common/command.c:47 msgid "" "alias_name: name of alias\n" "command: command name (WeeChat or IRC command, without first '/')\n" @@ -2547,16 +2547,15 @@ msgstr "" "comando: nombre del comando (comando WeeChat o IRC, sin el primer '/')\n" "argumentos: parmetros para el comando" -#: src/common/command.c:49 +#: src/common/command.c:50 msgid "manage buffers" msgstr "gestionar los bfers" -#: src/common/command.c:50 -#, fuzzy +#: src/common/command.c:51 msgid "[action | number | [[server] [channel]]]" -msgstr "[accin | nmero]" +msgstr "[accin | nmero | [[servidor] [canal]]]" -#: src/common/command.c:51 +#: src/common/command.c:52 #, fuzzy msgid "" "action: action to do:\n" @@ -2578,47 +2577,62 @@ msgstr "" "+join/part)\n" "nmero: saltar al bfer por nmero" -#: src/common/command.c:59 +#: src/common/command.c:60 +msgid "change charset for server or channel" +msgstr "" + +#: src/common/command.c:61 +msgid "[(decode_iso | decode_utf | encode) charset]" +msgstr "" + +#: src/common/command.c:62 +msgid "" +"decode_iso: charset used for decoding ISO\n" +"decode_utf: charset used for decoding UTF\n" +" encode: charset used for encoding messages" +msgstr "" + +#: src/common/command.c:66 msgid "clear window(s)" msgstr "limpiar la(s) ventana(s)" -#: src/common/command.c:60 +#: src/common/command.c:67 msgid "[-all]" msgstr "[-all]" -#: src/common/command.c:61 +#: src/common/command.c:68 msgid "-all: clear all windows" msgstr "-all: limpiar todas las ventanas" -#: src/common/command.c:63 +#: src/common/command.c:70 msgid "connect to a server" msgstr "conectarse a un servidor" -#: src/common/command.c:64 src/common/command.c:68 +#: src/common/command.c:71 src/common/command.c:75 msgid "[servername]" msgstr "[nombre_del_servidor]" -#: src/common/command.c:65 +#: src/common/command.c:72 msgid "servername: server name to connect" msgstr "nombre_del_servidor: nombre del servidor al que conectarse" -#: src/common/command.c:67 +#: src/common/command.c:74 msgid "disconnect from a server" msgstr "desconectarse de un servidor" -#: src/common/command.c:69 +#: src/common/command.c:76 msgid "servername: server name to disconnect" msgstr "nombre_del_servidor: nombre del servidor del que desconectarse" -#: src/common/command.c:71 +#: src/common/command.c:78 msgid "print debug messages" msgstr "imprime mensajes de depuracin" -#: src/common/command.c:72 +#: src/common/command.c:79 msgid "dump | windows" msgstr "volcar | ventanas" -#: src/common/command.c:73 +#: src/common/command.c:80 msgid "" "dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" @@ -2628,27 +2642,27 @@ msgstr "" "(se escribe el mismo volcado cuando WeeChat se cuelga)\n" "ventanas: muestra el rbol de ventanas" -#: src/common/command.c:76 +#: src/common/command.c:83 msgid "display help about commands" msgstr "mostrar ayuda sobre los comandos" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "[command]" msgstr "[comando]" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "command: name of a WeeChat or IRC command" msgstr "comando: nombre de un comando de Weechat o de IRC" -#: src/common/command.c:79 +#: src/common/command.c:86 msgid "show buffer command history" msgstr "mostrar historial de comandos de bfer" -#: src/common/command.c:80 +#: src/common/command.c:87 msgid "[clear | value]" msgstr "[limpiar | valor]" -#: src/common/command.c:81 +#: src/common/command.c:88 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2656,15 +2670,15 @@ msgstr "" "limpiar: limpiar historial\n" "valor: nmero de entradas del historial para mostrar" -#: src/common/command.c:84 +#: src/common/command.c:91 msgid "ignore IRC messages and/or hosts" msgstr "ignorar los mensajes IRC y/o los hosts" -#: src/common/command.c:85 +#: src/common/command.c:92 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[mscara [[tipo | comando] [canal [servidor]]]]" -#: src/common/command.c:86 +#: src/common/command.c:93 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2684,15 +2698,15 @@ msgstr "" "Para cada argumento, '*' significa todo.\n" "Sin argumentos, el comando /ignore lista todos los ignores definidos." -#: src/common/command.c:94 +#: src/common/command.c:101 msgid "bind/unbind keys" msgstr "atar/desatar claves" -#: src/common/command.c:95 +#: src/common/command.c:102 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "[clave funcin/comando] [desatar clave] [funciones] [reset -yes]" -#: src/common/command.c:96 +#: src/common/command.c:103 msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" @@ -2709,15 +2723,15 @@ msgstr "" "reset: restaura anclajes a los valores por defecto y elimina todos los " "anclajes personales (usar cuidadosamente)" -#: src/common/command.c:101 +#: src/common/command.c:108 msgid "list/load/unload plugins" msgstr "listar/cargar/descargar plugins" -#: src/common/command.c:102 +#: src/common/command.c:109 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[cargar fichero] | [autocargar] | [recargar] | [descargar]" -#: src/common/command.c:103 +#: src/common/command.c:110 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2727,11 +2741,11 @@ msgstr "" "\n" "Sin argumentos, el comando /plugin lista todos los plugins cargados." -#: src/common/command.c:106 +#: src/common/command.c:113 msgid "list, add or remove servers" msgstr "lista, ade o elimina servidores" -#: src/common/command.c:107 +#: src/common/command.c:114 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2743,7 +2757,7 @@ msgstr "" "username nombre de usuario] [-realname nombre_real] [-command comando] [-" "autojoin canal[,canal]] ] | [del nombre_de_servidor]" -#: src/common/command.c:112 +#: src/common/command.c:119 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2769,27 +2783,27 @@ msgstr "" "nombre_de_usuario: nombre de usuario\n" "nombre_real: nombre real del usuario" -#: src/common/command.c:124 +#: src/common/command.c:131 msgid "save config to disk" msgstr "guardar configuracin a disco" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "[file]" msgstr "[archivo]" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "file: filename for writing config" msgstr "archivo: fichero en el que guardar la configuracin" -#: src/common/command.c:127 +#: src/common/command.c:134 msgid "set config parameters" msgstr "modificar parmetros de configuracin" -#: src/common/command.c:128 +#: src/common/command.c:135 msgid "[option [ = value]]" msgstr "[opcin [ = valor]]" -#: src/common/command.c:129 +#: src/common/command.c:136 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2799,27 +2813,27 @@ msgstr "" "valor, entonces se muestra la ayuda de la opcin)\n" "valor: valor para una opcin" -#: src/common/command.c:133 +#: src/common/command.c:140 msgid "remove an alias" msgstr "eliminar un alias" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name" msgstr "alias" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name: name of alias to remove" msgstr "alias: nombre del alias a suprimir" -#: src/common/command.c:136 +#: src/common/command.c:143 msgid "unignore IRC messages and/or hosts" msgstr "no ignorar mensajes IRC y/o hosts" -#: src/common/command.c:137 +#: src/common/command.c:144 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[nmero | [mscara [[tipo | comando] [canal [servidor]]]]]" -#: src/common/command.c:138 +#: src/common/command.c:145 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2842,27 +2856,27 @@ msgstr "" "Para cada argumento, '*' significa todo.\n" "Sin argumentos, el comando /unignore lista todos los ignores definidos." -#: src/common/command.c:147 +#: src/common/command.c:154 msgid "upgrade WeeChat without disconnecting from servers" msgstr "" -#: src/common/command.c:151 +#: src/common/command.c:158 msgid "show WeeChat uptime" msgstr "muestra el tiempo de uso de WeeChat" -#: src/common/command.c:152 +#: src/common/command.c:159 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:153 +#: src/common/command.c:160 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:155 +#: src/common/command.c:162 msgid "manage windows" msgstr "gestin de ventanas" -#: src/common/command.c:156 +#: src/common/command.c:163 msgid "" "[list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge " "[all]]" @@ -2870,7 +2884,7 @@ msgstr "" "[list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge " "[all]]" -#: src/common/command.c:157 +#: src/common/command.c:164 #, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2900,29 +2914,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:310 +#: src/common/command.c:317 #, 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:320 +#: src/common/command.c:327 #, c-format msgid "%s alias cannot run another alias!\n" msgstr "%s el alias no puede ejecutar otro alias!\n" -#: src/common/command.c:327 +#: src/common/command.c:334 #, c-format msgid "%s target command \"/%s\" does not exist!\n" msgstr "%s el comando objetivo \"/%s\" no existe!\n" -#: src/common/command.c:565 +#: src/common/command.c:572 #, 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:577 +#: src/common/command.c:584 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -2931,19 +2945,19 @@ msgstr "" "%s nmero de argumentos incorrecto para el comando %s \"%s\" (esperado: " "entre %d y %d parmetro%s)\n" -#: src/common/command.c:599 src/common/command.c:668 +#: src/common/command.c:606 src/common/command.c:675 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s el comando \"%s\" ha fallado\n" -#: src/common/command.c:624 +#: src/common/command.c:631 #, 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:636 +#: src/common/command.c:643 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -2952,266 +2966,283 @@ msgstr "" "%s nmero de argumentos incorrecto para el comando IRC \"%s\" (esperado: " "entre %d y %d parmetro%s)\n" -#: src/common/command.c:651 +#: src/common/command.c:658 #, 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:711 +#: src/common/command.c:719 #, 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:845 +#: src/common/command.c:853 msgid "This window is not a channel!\n" msgstr "Esta ventana no es un canal!\n" -#: src/common/command.c:873 src/common/command.c:904 src/common/command.c:1019 +#: src/common/command.c:884 src/common/command.c:915 src/common/command.c:1030 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s faltan argumentos para el comando \"%s\"\n" -#: src/common/command.c:880 +#: src/common/command.c:891 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "%s el alias no puede empezar con \"/\"\n" -#: src/common/command.c:889 +#: src/common/command.c:900 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" creado\n" -#: src/common/command.c:895 +#: src/common/command.c:906 #, 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:915 +#: src/common/command.c:926 msgid "List of aliases:\n" msgstr "Lista de alias:\n" -#: src/common/command.c:929 +#: src/common/command.c:940 msgid "No alias defined.\n" msgstr "Ningn alias definido.\n" -#: src/common/command.c:948 +#: src/common/command.c:959 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServidor: %s%s\n" -#: src/common/command.c:953 +#: src/common/command.c:964 #, c-format msgid "%snot connected\n" msgstr "%sno conectado\n" -#: src/common/command.c:957 +#: src/common/command.c:968 #, 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:966 +#: src/common/command.c:977 #, 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:975 +#: src/common/command.c:986 #, c-format msgid "%sunknown\n" msgstr "" -#: src/common/command.c:998 +#: src/common/command.c:1009 msgid "Opened buffers:\n" msgstr "Bfers abiertos:\n" -#: src/common/command.c:1042 +#: src/common/command.c:1053 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s nmero de bfer incorrecto\n" -#: src/common/command.c:1058 +#: src/common/command.c:1069 #, 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:1068 +#: src/common/command.c:1079 #, 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:1117 +#: src/common/command.c:1128 msgid "Notify levels: " msgstr "Niveles de notificacin: " -#: src/common/command.c:1146 src/common/command.c:1194 +#: src/common/command.c:1157 src/common/command.c:1205 #, 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:1155 +#: src/common/command.c:1166 #, 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:1164 +#: src/common/command.c:1175 #, 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:1174 +#: src/common/command.c:1185 msgid "(hotlist: never)\n" msgstr "(hotlist: nunca)\n" -#: src/common/command.c:1177 +#: src/common/command.c:1188 msgid "(hotlist: highlights)\n" msgstr "(hotlist: resaltados)\n" -#: src/common/command.c:1180 +#: src/common/command.c:1191 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: resaltados + mensajes)\n" -#: src/common/command.c:1183 +#: src/common/command.c:1194 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "(hotlist: resaltados + mensajes + join/part (todos))\n" -#: src/common/command.c:1280 +#: src/common/command.c:1293 +#, c-format +msgid "Charsets for server %s%s%s: " +msgstr "" + +#: src/common/command.c:1301 +#, c-format +msgid "Charsets for channel %s%s%s: " +msgstr "" + +#: src/common/command.c:1309 +#, c-format +msgid "Charsets for private %s%s%s: " +msgstr "" + +#: src/common/command.c:1337 src/common/command.c:1367 +#: src/common/command.c:1397 +#, c-format +msgid " (inherited: \"%s%s%s\")" +msgstr "" + +#: src/common/command.c:1461 src/common/command.c:1484 +#: src/common/command.c:1618 src/common/command.c:2229 +#: src/common/command.c:3286 src/common/command.c:3329 #, c-format -msgid "unknown parameter \"%s\" for \"%s\" command\n" -msgstr "parmetro desconocido \"%s\" para el comando \"%s\"\n" +msgid "%s unknown option for \"%s\" command\n" +msgstr "%s opcin desconocida para el comando \"%s\"\n" -#: src/common/command.c:1310 +#: src/common/command.c:1514 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s ya conectado al servidor \"%s\"!\n" -#: src/common/command.c:1318 +#: src/common/command.c:1522 #, c-format msgid "%s currently connecting to server \"%s\"!\n" msgstr "%s actualmente conectando al servidor \"%s\"!\n" -#: src/common/command.c:1336 src/common/command.c:1456 +#: src/common/command.c:1540 src/common/command.c:1663 #, c-format msgid "%s server not found\n" msgstr "%s servidor no encontrado\n" -#: src/common/command.c:1411 src/common/command.c:2006 -#: src/common/command.c:3047 src/common/command.c:3090 -#, c-format -msgid "%s unknown option for \"%s\" command\n" -msgstr "%s opcin desconocida para el comando \"%s\"\n" - -#: src/common/command.c:1440 +#: src/common/command.c:1647 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s no conectado al servidor \"%s\"!\n" -#: src/common/command.c:1448 +#: src/common/command.c:1655 msgid "Auto-reconnection is cancelled\n" msgstr "La reconexin automtica est anulada\n" -#: src/common/command.c:1479 src/common/weechat.c:400 +#: src/common/command.c:1689 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "Comandos internos %s :\n" -#: src/common/command.c:1489 src/common/weechat.c:420 +#: src/common/command.c:1699 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "Comandos IRC :\n" -#: src/common/command.c:1503 +#: src/common/command.c:1713 msgid "Plugin commands:\n" msgstr "Comandos de plugin:\n" -#: src/common/command.c:1619 +#: src/common/command.c:1829 #, 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:1678 +#: src/common/command.c:1895 #, 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:1712 +#: src/common/command.c:1929 msgid "List of ignore:\n" msgstr "Lista de ignores:\n" -#: src/common/command.c:1729 +#: src/common/command.c:1946 msgid "No ignore defined.\n" msgstr "Sin ignores definidos.\n" -#: src/common/command.c:1755 +#: src/common/command.c:1972 msgid "New ignore:" msgstr "Nuevo ignore:" -#: src/common/command.c:1775 +#: src/common/command.c:1992 #, c-format msgid "New key binding: %s" msgstr "Nueva anclaje de clave: %s" -#: src/common/command.c:1809 +#: src/common/command.c:2029 msgid "Key bindings:\n" msgstr "Anclajes de clave:\n" -#: src/common/command.c:1823 +#: src/common/command.c:2043 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Clave \"%s\" desatada\n" -#: src/common/command.c:1829 +#: src/common/command.c:2049 #, 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:1837 src/common/weechat.c:452 +#: src/common/command.c:2057 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "Funciones de clave internas:\n" -#: src/common/command.c:1857 +#: src/common/command.c:2077 msgid "Default key bindings restored\n" msgstr "Anclajes de clave por defecto restaurados\n" -#: src/common/command.c:1863 +#: src/common/command.c:2083 #, 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:1919 +#: src/common/command.c:2142 msgid "Plugins loaded:\n" msgstr "Plugins cargados:\n" -#: src/common/command.c:1935 +#: src/common/command.c:2158 msgid " message handlers:\n" msgstr " manejadores de mensaje:\n" -#: src/common/command.c:1944 +#: src/common/command.c:2167 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:1951 +#: src/common/command.c:2174 msgid " (no message handler)\n" msgstr " (sin manejador de mensaje)\n" -#: src/common/command.c:1956 +#: src/common/command.c:2179 msgid " command handlers:\n" msgstr " manejadores de comando:\n" -#: src/common/command.c:1977 +#: src/common/command.c:2200 msgid " (no command handler)\n" msgstr " (sin manejador de comando)\n" -#: src/common/command.c:1983 +#: src/common/command.c:2206 msgid " (no plugin)\n" msgstr " (sin plugins)\n" -#: src/common/command.c:2019 +#: src/common/command.c:2242 msgid "" "Command \"plugin\" is not available, WeeChat was built without plugins " "support.\n" @@ -3219,32 +3250,32 @@ msgstr "" "El comando \"plugin\" no est disponible, Weechat fue compilado sin soporte " "para plugins.\n" -#: src/common/command.c:2067 +#: src/common/command.c:2293 msgid "No server.\n" msgstr "Ningn servidor.\n" -#: src/common/command.c:2078 +#: src/common/command.c:2304 #, c-format msgid "Server '%s' not found.\n" msgstr "Servidor '%s' no encontrado.\n" -#: src/common/command.c:2090 +#: src/common/command.c:2316 #, 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:2098 +#: src/common/command.c:2324 #, 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:2117 +#: src/common/command.c:2343 #, 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:2125 +#: src/common/command.c:2351 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3253,209 +3284,209 @@ 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:2145 +#: src/common/command.c:2371 #, 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:2164 +#: src/common/command.c:2390 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s faltan parmetros para el comando \"%s\"\n" -#: src/common/command.c:2174 +#: src/common/command.c:2400 #, 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:2203 src/common/command.c:2231 -#: src/common/command.c:2244 src/common/command.c:2270 +#: src/common/command.c:2429 src/common/command.c:2457 +#: src/common/command.c:2470 src/common/command.c:2496 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "%s falta contrasea para el comando \"%s\"\n" -#: src/common/command.c:2216 +#: src/common/command.c:2442 #, 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:2257 +#: src/common/command.c:2483 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s falta comando para el parmetro \"%s\"\n" -#: src/common/command.c:2292 +#: src/common/command.c:2519 #, c-format msgid "Server %s%s%s created\n" msgstr "Servidor %s%s%s creado\n" -#: src/common/command.c:2301 +#: src/common/command.c:2528 #, c-format msgid "%s unable to create server\n" msgstr "%s no es posible crear el servidor\n" -#: src/common/command.c:2360 +#: src/common/command.c:2587 msgid "(unknown)" msgstr "(desconocido)" -#: src/common/command.c:2383 +#: src/common/command.c:2610 #, c-format msgid "%s(password hidden) " msgstr "%s(contrasea oculta) " -#: src/common/command.c:2473 +#: src/common/command.c:2706 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s servidor \"%s\" no encontrado\n" -#: src/common/command.c:2506 src/common/command.c:2554 +#: src/common/command.c:2739 src/common/command.c:2787 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s opcin de configuracin \"%s\" no encontrada\n" -#: src/common/command.c:2511 src/common/command.c:2546 +#: src/common/command.c:2744 src/common/command.c:2779 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s valor incorrecto para la opcin \"%s\"\n" -#: src/common/command.c:2527 +#: src/common/command.c:2760 #, 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:2637 +#: src/common/command.c:2870 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Ninguna opcin de configuracin encontrada con \"%s\"\n" -#: src/common/command.c:2640 +#: src/common/command.c:2873 msgid "No config option found\n" msgstr "Ninguna opcin de configuracin encontrada\n" -#: src/common/command.c:2647 +#: src/common/command.c:2880 #, c-format msgid "%sDetail:\n" msgstr "%sDetalle:\n" -#: src/common/command.c:2652 src/common/weechat.c:336 +#: src/common/command.c:2885 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:2653 src/common/command.c:2676 -#: src/common/command.c:2682 src/common/command.c:2688 +#: src/common/command.c:2886 src/common/command.c:2909 +#: src/common/command.c:2915 src/common/command.c:2921 #: 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:2658 src/common/weechat.c:342 +#: src/common/command.c:2891 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:2661 src/common/weechat.c:345 +#: src/common/command.c:2894 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr " . valor por defecto: %d\n" -#: src/common/command.c:2665 src/common/weechat.c:349 +#: src/common/command.c:2898 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr " . tipo cadena (valores: " -#: src/common/command.c:2678 src/common/command.c:2684 -#: src/common/command.c:2690 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2911 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "vaco" -#: src/common/command.c:2681 src/common/weechat.c:365 +#: src/common/command.c:2914 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:2687 src/common/weechat.c:371 +#: src/common/command.c:2920 src/common/weechat.c:371 #, c-format msgid " . type string (any string)\n" msgstr " . tipo cadena (cualquier cadena)\n" -#: src/common/command.c:2693 src/common/weechat.c:377 +#: src/common/command.c:2926 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr " . descripcin: %s\n" -#: src/common/command.c:2704 +#: src/common/command.c:2937 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "opcin/opciones de configuracin encontrada(s) con \"%s\"\n" -#: src/common/command.c:2707 +#: src/common/command.c:2940 msgid "config option(s) found\n" msgstr "opcin/opciones de configuracin encontrada(s)\n" -#: src/common/command.c:2728 +#: src/common/command.c:2964 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias o comando \"%s\" no encontrado\n" -#: src/common/command.c:2738 +#: src/common/command.c:2974 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" eliminado\n" -#: src/common/command.c:2794 +#: src/common/command.c:3030 msgid "ignore were removed.\n" msgstr "los ignores fueron eliminados.\n" -#: src/common/command.c:2796 +#: src/common/command.c:3032 msgid "ignore was removed.\n" msgstr "el ignore fue eliminado.\n" -#: src/common/command.c:2801 +#: src/common/command.c:3037 #, c-format msgid "%s no ignore found\n" msgstr "%s no se encontraron ignores\n" -#: src/common/command.c:2832 +#: src/common/command.c:3069 #, c-format msgid "%s can't upgrade: connection to at least one server is pending" msgstr "" -#: src/common/command.c:2848 +#: src/common/command.c:3084 msgid "Upgrading WeeChat...\n" msgstr "" -#: src/common/command.c:2856 +#: src/common/command.c:3091 #, c-format msgid "%s unable to save session in file\n" msgstr "" -#: src/common/command.c:2878 +#: src/common/command.c:3120 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:2914 +#: src/common/command.c:3156 #, 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:2931 +#: src/common/command.c:3170 #, 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:2971 +#: src/common/command.c:3210 msgid "Opened windows:\n" msgstr "Ventanas abiertas:\n" -#: src/common/command.c:3058 +#: src/common/command.c:3297 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3494,12 +3525,12 @@ msgstr "%s servidor \"%s\" no encontrado (datos de la tubera FIFO)\n" msgid "%s channel \"%s\" not found (FIFO pipe data)\n" msgstr "%s canal \"%s\" no encontrado (datos de la tubera FIFO)\n" -#: src/common/fifo.c:251 src/common/fifo.c:253 +#: src/common/fifo.c:252 src/common/fifo.c:254 #, c-format msgid "%s error reading FIFO pipe, closing it\n" msgstr "%s error al leer la tubera FIFO, cerrndola\n" -#: src/common/fifo.c:295 +#: src/common/fifo.c:296 msgid "FIFO pipe is closed\n" msgstr "La tubera FIFO est cerrada\n" @@ -3525,13 +3556,13 @@ msgstr "**** Comienzo del log (registro) " msgid "**** End of log " msgstr "**** Fin del log " -#: src/common/session.c:432 +#: src/common/session.c:435 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" msgstr "" -#: src/common/session.c:437 +#: src/common/session.c:440 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3539,275 +3570,275 @@ msgid "" "Be careful, private info may be in these files.\n" msgstr "" -#: src/common/session.c:461 src/common/session.c:495 src/common/session.c:552 +#: src/common/session.c:464 src/common/session.c:498 src/common/session.c:555 #, c-format msgid "wrong type in file (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:564 +#: src/common/session.c:567 msgid "invalid length for a buffer" msgstr "" -#: src/common/session.c:589 +#: src/common/session.c:592 msgid "object read error" msgstr "" -#: src/common/session.c:594 +#: src/common/session.c:597 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:604 +#: src/common/session.c:607 msgid "type read error" msgstr "" -#: src/common/session.c:609 +#: src/common/session.c:612 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:688 +#: src/common/session.c:691 msgid "server name not found" msgstr "" -#: src/common/session.c:693 +#: src/common/session.c:696 #, c-format msgid "session: loading server \"%s\"\n" msgstr "" -#: src/common/session.c:697 +#: src/common/session.c:700 msgid "server found, updating values\n" msgstr "" -#: src/common/session.c:700 +#: src/common/session.c:703 msgid "server not found, creating new one\n" msgstr "" -#: src/common/session.c:705 +#: src/common/session.c:708 msgid "can't create new server" msgstr "" -#: src/common/session.c:719 +#: src/common/session.c:722 msgid "unexpected end of file (reading server)" msgstr "" -#: src/common/session.c:836 +#: src/common/session.c:848 #, c-format msgid "session: warning: ignoring value from server (object id: %d)\n" msgstr "" -#: src/common/session.c:858 +#: src/common/session.c:870 msgid "channel found without server" msgstr "" -#: src/common/session.c:865 +#: src/common/session.c:877 msgid "channel type not found" msgstr "" -#: src/common/session.c:873 +#: src/common/session.c:885 msgid "channel name not found" msgstr "" -#: src/common/session.c:878 +#: src/common/session.c:890 #, c-format msgid "session: loading channel \"%s\"\n" msgstr "" -#: src/common/session.c:886 +#: src/common/session.c:898 msgid "can't create new channel" msgstr "" -#: src/common/session.c:896 +#: src/common/session.c:908 msgid "unexpected end of file (reading channel)" msgstr "" -#: src/common/session.c:924 +#: src/common/session.c:936 #, c-format msgid "session: warning: ignoring value from channel (object id: %d)\n" msgstr "" -#: src/common/session.c:947 +#: src/common/session.c:959 msgid "nick found without channel" msgstr "" -#: src/common/session.c:955 +#: src/common/session.c:967 msgid "nick name not found" msgstr "" -#: src/common/session.c:965 +#: src/common/session.c:977 msgid "can't create new nick" msgstr "" -#: src/common/session.c:975 +#: src/common/session.c:987 msgid "unexpected end of file (reading nick)" msgstr "" -#: src/common/session.c:991 +#: src/common/session.c:1003 #, c-format msgid "session: warning: ignoring value from nick (object id: %d)\n" msgstr "" -#: src/common/session.c:1017 +#: src/common/session.c:1029 msgid "can't create new DCC" msgstr "" -#: src/common/session.c:1021 +#: src/common/session.c:1033 msgid "session: loading DCC\n" msgstr "" -#: src/common/session.c:1031 +#: src/common/session.c:1043 msgid "unexpected end of file (reading DCC)" msgstr "" -#: src/common/session.c:1050 +#: src/common/session.c:1062 msgid "server not found for DCC" msgstr "" -#: src/common/session.c:1059 +#: src/common/session.c:1071 msgid "DCC with channel but without server" msgstr "" -#: src/common/session.c:1071 +#: src/common/session.c:1083 msgid "channel not found for DCC" msgstr "" -#: src/common/session.c:1145 +#: src/common/session.c:1157 #, c-format msgid "session: warning: ignoring value from DCC (object id: %d)\n" msgstr "" -#: src/common/session.c:1165 +#: src/common/session.c:1177 msgid "session: loading buffer history\n" msgstr "" -#: src/common/session.c:1167 +#: src/common/session.c:1179 msgid "session: loading global history\n" msgstr "" -#: src/common/session.c:1175 +#: src/common/session.c:1187 msgid "unexpected end of file (reading history)" msgstr "" -#: src/common/session.c:1195 +#: src/common/session.c:1207 #, c-format msgid "session: warning: ignoring value from history (object id: %d)\n" msgstr "" -#: src/common/session.c:1221 +#: src/common/session.c:1233 msgid "server name not found for buffer" msgstr "" -#: src/common/session.c:1229 +#: src/common/session.c:1241 msgid "channel name not found for buffer" msgstr "" -#: src/common/session.c:1236 +#: src/common/session.c:1248 msgid "dcc flag not found for buffer" msgstr "" -#: src/common/session.c:1241 +#: src/common/session.c:1253 #, c-format msgid "session: loading buffer (server: %s, channel: %s, dcc: %d)\n" msgstr "" -#: src/common/session.c:1252 +#: src/common/session.c:1264 msgid "server not found for buffer" msgstr "" -#: src/common/session.c:1262 +#: src/common/session.c:1274 msgid "channel not found for buffer" msgstr "" -#: src/common/session.c:1270 +#: src/common/session.c:1282 msgid "can't create new buffer" msgstr "" -#: src/common/session.c:1283 +#: src/common/session.c:1295 msgid "unexpected end of file (reading buffer)" msgstr "" -#: src/common/session.c:1293 +#: src/common/session.c:1305 #, c-format msgid "session: warning: ignoring value from buffer (object id: %d)\n" msgstr "" -#: src/common/session.c:1315 +#: src/common/session.c:1327 msgid "line found without buffer" msgstr "" -#: src/common/session.c:1323 +#: src/common/session.c:1335 msgid "can't create new line" msgstr "" -#: src/common/session.c:1333 +#: src/common/session.c:1345 msgid "unexpected end of file (reading line)" msgstr "" -#: src/common/session.c:1364 +#: src/common/session.c:1376 #, c-format msgid "session: warning: ignoring value from line (object id: %d)\n" msgstr "" -#: src/common/session.c:1394 +#: src/common/session.c:1406 msgid "session file not found" msgstr "" -#: src/common/session.c:1401 +#: src/common/session.c:1413 msgid "signature not found" msgstr "" -#: src/common/session.c:1406 +#: src/common/session.c:1418 msgid "bad session signature" msgstr "" -#: src/common/session.c:1417 +#: src/common/session.c:1429 msgid "object id not found" msgstr "" -#: src/common/session.c:1425 +#: src/common/session.c:1437 msgid "failed to load server" msgstr "" -#: src/common/session.c:1432 +#: src/common/session.c:1444 msgid "failed to load channel" msgstr "" -#: src/common/session.c:1439 +#: src/common/session.c:1451 msgid "failed to load nick" msgstr "" -#: src/common/session.c:1446 +#: src/common/session.c:1458 msgid "failed to load DCC" msgstr "" -#: src/common/session.c:1453 +#: src/common/session.c:1465 msgid "failed to load history" msgstr "" -#: src/common/session.c:1460 +#: src/common/session.c:1472 msgid "failed to load buffer" msgstr "" -#: src/common/session.c:1467 +#: src/common/session.c:1479 msgid "failed to load line" msgstr "" -#: src/common/session.c:1472 +#: src/common/session.c:1484 #, c-format msgid "ignoring object (id: %d)\n" msgstr "" -#: src/common/session.c:1476 +#: src/common/session.c:1488 #, c-format msgid "failed to ignore object (id: %d)" msgstr "" -#: src/common/session.c:1499 +#: src/common/session.c:1512 #, c-format msgid "%s can't delete session file (%s)\n" msgstr "" -#: src/common/session.c:1505 +#: src/common/session.c:1518 msgid "Upgrade completed successfully\n" msgstr "" @@ -3882,52 +3913,52 @@ msgstr "" msgid "%s invalid syntax for IRC server ('%s'), ignored\n" msgstr "%s sintaxis invlida para el servidor IRC ('%s'), ignorado\n" -#: src/common/weechat.c:588 +#: src/common/weechat.c:589 #, c-format msgid "%s unable to create server ('%s'), ignored\n" msgstr "%s no es posible crear el servidor ('%s'), ignorado\n" -#: src/common/weechat.c:597 +#: src/common/weechat.c:598 #, c-format msgid "%s unknown parameter '%s', ignored\n" msgstr "%s parmetro desconocido '%s', ignorado\n" -#: src/common/weechat.c:617 +#: src/common/weechat.c:618 #, c-format msgid "%s cannot create directory \"%s\"\n" msgstr "%s no es posible crear el directorio \"%s\"\n" -#: src/common/weechat.c:638 +#: src/common/weechat.c:639 #, c-format msgid "%s unable to get HOME directory\n" msgstr "%s no ha sido posible leer el directorio HOME\n" -#: src/common/weechat.c:647 +#: src/common/weechat.c:648 #, c-format msgid "%s not enough memory for home directory\n" msgstr "%s no hay suficiente memoria para el directorio home\n" -#: src/common/weechat.c:657 +#: src/common/weechat.c:658 #, c-format msgid "%s unable to create ~/.weechat directory\n" msgstr "%s no es posible crear el directorio ~/.weechat\n" -#: src/common/weechat.c:670 +#: src/common/weechat.c:671 #, c-format msgid "%s unable to create ~/.weechat/logs directory\n" msgstr "%s no es posible crear el directorio ~/.weechat/logs\n" -#: src/common/weechat.c:716 +#: src/common/weechat.c:717 #, c-format msgid "%s unable to create/append to log file (~/.weechat/%s)" msgstr "%s no es posible crear/aadir en el fichero de log (~/.weechat/%s)" -#: src/common/weechat.c:767 +#: src/common/weechat.c:768 #, c-format msgid "%sWelcome to %s%s%s, %s\n" msgstr "%sBienvenido a %s%s%s, %s\n" -#: src/common/weechat.c:781 src/common/weechat.c:791 +#: src/common/weechat.c:782 src/common/weechat.c:792 msgid "compiled on" msgstr "compilado en" @@ -5004,62 +5035,92 @@ msgstr "" "lista separada por comas de niveles de notificacin para canales de este " "servidor (formato: #canal:1,...)" -#: src/common/weeconfig.c:1510 +#: src/common/weeconfig.c:940 +msgid "charset for decoding ISO on server and channels" +msgstr "" + +#: src/common/weeconfig.c:941 +msgid "" +"comma separated list of charsets for server and channels, to decode ISO " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:945 +msgid "charset for decoding UTF on server and channels" +msgstr "" + +#: src/common/weeconfig.c:946 +msgid "" +"comma separated list of charsets for server and channels, to decode UTF " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:950 +msgid "charset for encoding messages on server and channels" +msgstr "" + +#: src/common/weeconfig.c:951 +msgid "" +"comma separated list of charsets for server and channels, to encode messages " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:1643 #, c-format msgid "%s %s, line %d: new server, but previous was incomplete\n" msgstr "%s %s, lnea %d: nuevo servidor, pero el anterior estaba incompleto\n" -#: src/common/weeconfig.c:1519 +#: src/common/weeconfig.c:1652 #, c-format msgid "%s %s, line %d: server '%s' already exists\n" msgstr "%s %s, lnea %d: el servidor '%s' ya existe\n" -#: src/common/weeconfig.c:1534 +#: src/common/weeconfig.c:1669 #, c-format msgid "%s %s, line %d: unable to create server\n" msgstr "%s %s, lnea %d: no es posible crear el servidor\n" -#: src/common/weeconfig.c:1574 +#: src/common/weeconfig.c:1709 #, c-format msgid "%s unable to assign default int with string (\"%s\")\n" msgstr "%s no es posible asignar el valor entero con la cadena (\"%s\")\n" -#: src/common/weeconfig.c:1585 +#: src/common/weeconfig.c:1720 #, c-format msgid "%s unable to assign default color (\"%s\")\n" msgstr "%s no es posible asignar el color por defecto (\"%s\")\n" -#: src/common/weeconfig.c:1623 +#: src/common/weeconfig.c:1758 #, c-format msgid "%s config file \"%s\" not found.\n" msgstr "%s fichero de configuracin \"%s\" no encontrado.\n" -#: src/common/weeconfig.c:1655 +#: src/common/weeconfig.c:1790 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"]\"\n" msgstr "%s %s, lnea %d: sintaxis invlida, falta \"]\"\n" -#: src/common/weeconfig.c:1672 +#: src/common/weeconfig.c:1807 #, c-format msgid "%s %s, line %d: unknown section identifier (\"%s\")\n" msgstr "%s %s, lnea %d: identificador de seccin desconocido (\"%s\")\n" -#: src/common/weeconfig.c:1690 +#: src/common/weeconfig.c:1825 #, c-format msgid "%s %s, line %d: invalid section for option, line is ignored\n" msgstr "%s %s, lnea %d: seccin invlida para la opcin, lnea ignorada\n" -#: src/common/weeconfig.c:1772 src/common/weeconfig.c:1798 +#: src/common/weeconfig.c:1907 src/common/weeconfig.c:1933 #, c-format msgid "%s %s, line %d: invalid option \"%s\"\n" msgstr "%s %s, lnea %d: opcin \"%s\" invlida\n" -#: src/common/weeconfig.c:1778 +#: src/common/weeconfig.c:1913 #, c-format msgid "%s %s, line %d: invalid ignore options \"%s\"\n" msgstr "%s %s, lnea %d: opciones de ignore invlidas \"%s\"\n" -#: src/common/weeconfig.c:1809 +#: src/common/weeconfig.c:1944 #, c-format msgid "" "%s %s, line %d: invalid value foroption '%s'\n" @@ -5068,7 +5129,7 @@ msgstr "" "%s %s, lnea %d: valor invlido para la opcin '%s'\n" "Esperado: valor booleano: 'off' u 'on'\n" -#: src/common/weeconfig.c:1818 +#: src/common/weeconfig.c:1953 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" @@ -5077,7 +5138,7 @@ msgstr "" "%s %s, lnea %d: valor invlido para la opcin %s'\n" "Esperado: entero comprendido entre %d y %d\n" -#: src/common/weeconfig.c:1829 +#: src/common/weeconfig.c:1964 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" @@ -5086,21 +5147,21 @@ msgstr "" "%s %s, lnea %d: valor invlido para la opcin '%s'\n" "Esperado: una de estas cadenas: " -#: src/common/weeconfig.c:1845 +#: src/common/weeconfig.c:1980 #, c-format msgid "%s %s, line %d: invalid color name for option '%s'\n" msgstr "%s %s, lnea %d: nombre de color invlido para la opcin '%s'\n" -#: src/common/weeconfig.c:1914 +#: src/common/weeconfig.c:2049 #, c-format msgid "%s: creating default config file...\n" msgstr "%s: creando fichero de configuracin por defecto...\n" -#: src/common/weeconfig.c:1915 +#: src/common/weeconfig.c:2050 msgid "Creating default config file\n" msgstr "Creando fichero de configuracin por defecto\n" -#: src/common/weeconfig.c:1918 src/common/weeconfig.c:2119 +#: src/common/weeconfig.c:2053 src/common/weeconfig.c:2258 #, c-format msgid "" "#\n" @@ -5109,7 +5170,7 @@ msgstr "" "#\n" "# %s: fichero de configuracin, creado por %s v%s el %s" -#: src/common/weeconfig.c:1922 src/common/weeconfig.c:2123 +#: src/common/weeconfig.c:2057 src/common/weeconfig.c:2262 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -5120,6 +5181,6 @@ msgstr "" "fichero al salir.\n" "#\n" -#: src/common/weeconfig.c:2116 +#: src/common/weeconfig.c:2255 msgid "Saving config to disk\n" msgstr "Guardar configuracin a disco\n" diff --git a/weechat/po/fr.po b/weechat/po/fr.po index b9a1e6d9b..6f2e87121 100644 --- a/weechat/po/fr.po +++ b/weechat/po/fr.po @@ -7,96 +7,96 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.7-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-12-06 18:33+0100\n" -"PO-Revision-Date: 2005-12-06 18:34+0100\n" +"POT-Creation-Date: 2005-12-11 01:50+0100\n" +"PO-Revision-Date: 2005-12-10 22:58+0100\n" "Last-Translator: FlashCode <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" -#: src/irc/irc-server.c:179 src/common/weeconfig.c:2054 +#: src/irc/irc-server.c:182 src/common/weeconfig.c:2189 msgid "Unable to get user's name" msgstr "Impossible de dterminer le nom d'utilisateur" -#: src/irc/irc-server.c:247 +#: src/irc/irc-server.c:250 #, c-format msgid "%s cannot allocate new server\n" msgstr "%s impossible d'allouer un nouveau serveur\n" -#: src/irc/irc-server.c:464 +#: src/irc/irc-server.c:563 #, c-format msgid "%s error sending data to IRC server\n" msgstr "%s erreur d'envoi de donnes au serveur IRC\n" -#: src/irc/irc-server.c:487 src/irc/irc-server.c:500 src/irc/irc-server.c:547 -#: src/irc/irc-server.c:560 +#: src/irc/irc-server.c:585 src/irc/irc-server.c:598 src/irc/irc-server.c:645 +#: src/irc/irc-server.c:658 #, c-format msgid "%s not enough memory for received IRC message\n" msgstr "%s mmoire insuffisante pour un message IRC reu\n" -#: src/irc/irc-server.c:672 +#: src/irc/irc-server.c:770 #, c-format msgid "%s Command \"%s\" failed!\n" msgstr "%s La commande \"%s\" a chou !\n" -#: src/irc/irc-server.c:678 +#: src/irc/irc-server.c:776 #, c-format msgid "%s No command to execute!\n" msgstr "%s Pas de commande excuter !\n" -#: src/irc/irc-server.c:684 +#: src/irc/irc-server.c:782 #, c-format msgid "%s Unknown command: cmd=\"%s\", host=\"%s\", args=\"%s\"\n" msgstr "%s Commande inconnue: cmd=\"%s\", hote=\"%s\", params=\"%s\"\n" -#: src/irc/irc-server.c:735 +#: src/irc/irc-server.c:833 #, c-format msgid "%s cannot read data from socket, disconnecting from server...\n" msgstr "" "%s impossible de lire des donnes sur la socket, dconnexion du serveur...\n" -#: src/irc/irc-server.c:816 +#: src/irc/irc-server.c:914 #, c-format msgid "%s: Reconnecting to server in %d seconds\n" msgstr "%s: Reconnexion au serveur dans %d secondes\n" -#: src/irc/irc-server.c:850 +#: src/irc/irc-server.c:948 #, c-format msgid "%s gnutls handshake failed\n" msgstr "%s le handshake gnutls a chou\n" -#: src/irc/irc-server.c:867 +#: src/irc/irc-server.c:965 #, c-format msgid "%s proxy address \"%s\" not found\n" msgstr "%s adresse du proxy \"%s\" introuvable\n" -#: src/irc/irc-server.c:871 +#: src/irc/irc-server.c:969 #, c-format msgid "%s address \"%s\" not found\n" msgstr "%s adresse \"%s\" introuvable\n" -#: src/irc/irc-server.c:881 +#: src/irc/irc-server.c:979 #, c-format msgid "%s proxy IP address not found\n" msgstr "%s adresse IP du proxy introuvable\n" -#: src/irc/irc-server.c:884 +#: src/irc/irc-server.c:982 #, c-format msgid "%s IP address not found\n" msgstr "%s adresse IP introuvable\n" -#: src/irc/irc-server.c:893 +#: src/irc/irc-server.c:991 #, c-format msgid "%s proxy connection refused\n" msgstr "%s connexion au proxy refuse\n" -#: src/irc/irc-server.c:896 +#: src/irc/irc-server.c:994 #, c-format msgid "%s connection refused\n" msgstr "%s connexion refuse\n" -#: src/irc/irc-server.c:904 +#: src/irc/irc-server.c:1002 #, c-format msgid "" "%s proxy fails to establish connection to server (check username/password if " @@ -105,7 +105,7 @@ msgstr "" "%s le proxy n'a pas pu se connecter au serveur (vrifiez l'utilisateur/mot " "de passe si utiliss)\n" -#: src/irc/irc-server.c:1383 +#: src/irc/irc-server.c:1481 #, c-format msgid "" "%s cannot connect with SSL since WeeChat was not built with GNUtls support\n" @@ -113,61 +113,61 @@ msgstr "" "%s impossible de se connecter en SSL car WeeChat n'a pas t construit avec " "le support GNUtls\n" -#: src/irc/irc-server.c:1392 +#: src/irc/irc-server.c:1490 #, c-format msgid "%s: connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "%s: connexion au serveur %s:%d%s%s via le proxy %s %s:%d%s...\n" -#: src/irc/irc-server.c:1398 +#: src/irc/irc-server.c:1496 #, c-format msgid "Connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "Connexion au serveur %s:%d%s%s via le proxy %s %s:%d%s...\n" -#: src/irc/irc-server.c:1408 +#: src/irc/irc-server.c:1506 #, c-format msgid "%s: connecting to server %s:%d%s%s...\n" msgstr "%s: connexion au serveur %s:%d%s%s...\n" -#: src/irc/irc-server.c:1412 +#: src/irc/irc-server.c:1510 #, c-format msgid "Connecting to server %s:%d%s%s...\n" msgstr "Connexion au serveur %s:%d%s%s...\n" -#: src/irc/irc-server.c:1430 +#: src/irc/irc-server.c:1528 #, c-format msgid "%s gnutls init error\n" msgstr "%s erreur d'initialisation gnutls\n" -#: src/irc/irc-server.c:1445 +#: src/irc/irc-server.c:1543 #, c-format msgid "%s cannot create pipe\n" msgstr "%s impossible de crer le pipe\n" -#: src/irc/irc-server.c:1460 +#: src/irc/irc-server.c:1558 #, c-format msgid "%s cannot create socket\n" msgstr "%s impossible de crer la socket\n" -#: src/irc/irc-server.c:1471 +#: src/irc/irc-server.c:1569 #, c-format msgid "%s cannot set socket option \"SO_REUSEADDR\"\n" msgstr "%s impossible de paramtrer l'option socket \"SO_REUSEADDR\"\n" -#: src/irc/irc-server.c:1482 +#: src/irc/irc-server.c:1580 #, c-format msgid "%s cannot set socket option \"SO_KEEPALIVE\"\n" msgstr "%s impossible de paramtrer l'option socket \"SO_KEEPALIVE\"\n" -#: src/irc/irc-server.c:1513 +#: src/irc/irc-server.c:1611 #, c-format msgid "%s: Reconnecting to server...\n" msgstr "%s: Reconnexion au serveur...\n" -#: src/irc/irc-server.c:1563 src/irc/irc-server.c:1572 +#: src/irc/irc-server.c:1661 src/irc/irc-server.c:1670 msgid "Disconnected from server!\n" msgstr "Dconnect du serveur !\n" -#: src/irc/irc-channel.c:51 +#: src/irc/irc-channel.c:53 #, c-format msgid "%s cannot allocate new channel" msgstr "%s impossible d'allouer un nouveau canal" @@ -1384,7 +1384,7 @@ msgstr "dsactiv" msgid " (temporary server, will not be saved)" msgstr " (serveur temporaire, ne sera pas sauv)" -#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3173 +#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3175 msgid "seconds" msgstr "secondes" @@ -1392,7 +1392,7 @@ msgstr "secondes" msgid "(hidden)" msgstr "(cach)" -#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4699 +#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4701 msgid "unknown" msgstr "inconnu" @@ -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:800 +#: src/irc/irc-send.c:177 src/common/command.c:808 #, 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:1392 src/common/command.c:1877 -#: src/common/command.c:2013 +#: src/common/command.c:1599 src/common/command.c:2097 +#: src/common/command.c:2236 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "%s nombre de paramtres erron pour la commande \"%s\"\n" @@ -1459,8 +1459,8 @@ msgid "You have been invited to %s%s%s by %s%s\n" msgstr "Vous avez t invit sur %s%s%s par %s%s\n" #: src/irc/irc-recv.c:376 src/irc/irc-recv.c:470 src/irc/irc-recv.c:1009 -#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3545 -#: src/irc/irc-recv.c:3566 src/irc/irc-recv.c:3626 src/irc/irc-recv.c:3697 +#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3547 +#: src/irc/irc-recv.c:3568 src/irc/irc-recv.c:3628 src/irc/irc-recv.c:3699 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "%s canal \"%s\" non trouv pour la commande \"%s\"\n" @@ -1651,7 +1651,7 @@ msgstr "CTCP %sVERSION%s rponse de %s%s%s: %s\n" msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "CTCP %sPING%s rponse de %s%s%s: %ld.%ld secondes\n" -#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1214 +#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1217 #, c-format msgid "Private %s> %s" msgstr "Priv %s> %s" @@ -1700,12 +1700,12 @@ msgstr "CTCP %sVERSION%s reu de %s%s" #: src/irc/irc-recv.c:1812 src/irc/irc-recv.c:1838 src/irc/irc-recv.c:1859 #: src/irc/irc-recv.c:1875 src/irc/irc-recv.c:1900 src/irc/irc-recv.c:1921 #: src/irc/irc-recv.c:1937 src/irc/irc-recv.c:1962 src/irc/irc-recv.c:1983 -#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2522 -#: src/irc/irc-recv.c:3904 src/irc/irc-recv.c:3919 src/irc/irc-recv.c:3934 -#: src/irc/irc-recv.c:3949 src/irc/irc-recv.c:3962 src/irc/irc-recv.c:4027 -#: src/irc/irc-recv.c:4041 src/irc/irc-recv.c:4275 src/irc/irc-recv.c:4333 -#: src/irc/irc-recv.c:4471 src/irc/irc-recv.c:4486 src/irc/irc-recv.c:4592 -#: src/irc/irc-recv.c:4606 +#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2524 +#: src/irc/irc-recv.c:3906 src/irc/irc-recv.c:3921 src/irc/irc-recv.c:3936 +#: src/irc/irc-recv.c:3951 src/irc/irc-recv.c:3964 src/irc/irc-recv.c:4029 +#: src/irc/irc-recv.c:4043 src/irc/irc-recv.c:4277 src/irc/irc-recv.c:4335 +#: src/irc/irc-recv.c:4473 src/irc/irc-recv.c:4488 src/irc/irc-recv.c:4594 +#: src/irc/irc-recv.c:4608 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "%s impossible d'analyser la commande \"%s\"\n" @@ -1717,200 +1717,200 @@ msgstr "%s type de DCC CHAT inconnu reu de " #: src/irc/irc-recv.c:2228 #, c-format -msgid "%s%s %s(%s%s%s)%s has quit %s(%s%s%s)\n" -msgstr "%s%s %s(%s%s%s)%s a quitt %s(%s%s%s)\n" +msgid "%s%s %s(%s%s%s)%s has quit" +msgstr "%s%s %s(%s%s%s)%s a quitt" -#: src/irc/irc-recv.c:2358 +#: src/irc/irc-recv.c:2360 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "%s commande \"%s\" reue sans canal\n" -#: src/irc/irc-recv.c:2387 +#: src/irc/irc-recv.c:2389 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "%s%s%s a chang le titre pour %s%s%s en:" -#: src/irc/irc-recv.c:2398 +#: src/irc/irc-recv.c:2400 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "%s%s%s a retir le titre pour %s%s\n" -#: src/irc/irc-recv.c:2508 +#: src/irc/irc-recv.c:2510 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "Mode utilisateur %s[%s%s%s/%s%s%s]\n" -#: src/irc/irc-recv.c:2563 +#: src/irc/irc-recv.c:2565 #, c-format msgid "%s%s%s is away: %s\n" msgstr "%s%s%s est absent: %s\n" -#: src/irc/irc-recv.c:2648 +#: src/irc/irc-recv.c:2650 msgid "Users online: " msgstr "Utilisateurs en ligne: " -#: src/irc/irc-recv.c:3024 +#: src/irc/irc-recv.c:3026 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "%s%s %s(%s%s@%s%s)%s tait %s\n" -#: src/irc/irc-recv.c:3145 +#: src/irc/irc-recv.c:3147 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "%s[%s%s%s]%s inactivit: " -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "days" msgstr "jours" -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "day" msgstr "jour" -#: src/irc/irc-recv.c:3161 +#: src/irc/irc-recv.c:3163 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, sign le: %s%s" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hours" msgstr "heures" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hour" msgstr "heure" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minutes" msgstr "minutes" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minute" msgstr "minute" -#: src/irc/irc-recv.c:3173 +#: src/irc/irc-recv.c:3175 msgid "second" msgstr "seconde" -#: src/irc/irc-recv.c:3557 +#: src/irc/irc-recv.c:3559 #, c-format msgid "No topic set for %s%s\n" msgstr "Pas de titre dfini pour %s%s\n" -#: src/irc/irc-recv.c:3613 +#: src/irc/irc-recv.c:3615 #, c-format msgid "Topic for %s%s%s is: \"%s\"\n" msgstr "Le titre pour %s%s%s est: \"%s\"\n" -#: src/irc/irc-recv.c:3636 src/irc/irc-recv.c:3724 src/irc/irc-recv.c:3779 +#: src/irc/irc-recv.c:3638 src/irc/irc-recv.c:3726 src/irc/irc-recv.c:3781 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "%s impossible de dterminer le canal pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:3686 +#: src/irc/irc-recv.c:3688 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "Titre dfini par %s%s%s, %s" -#: src/irc/irc-recv.c:3706 +#: src/irc/irc-recv.c:3708 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "%s impossible d'identifier la date/heure pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:3715 src/irc/irc-recv.c:3788 +#: src/irc/irc-recv.c:3717 src/irc/irc-recv.c:3790 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "" "%s impossible de dterminer le nom d'utilisateur pour la commande \"%s\"\n" -#: src/irc/irc-recv.c:3764 +#: src/irc/irc-recv.c:3766 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "%s%s%s a invit %s%s%s sur %s%s\n" -#: src/irc/irc-recv.c:3824 +#: src/irc/irc-recv.c:3826 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "Reop canal %s%s%s: %s%s\n" -#: src/irc/irc-recv.c:4321 +#: src/irc/irc-recv.c:4323 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "%s impossible de crer l'utilisateur \"%s\" pour le canal \"%s\"\n" -#: src/irc/irc-recv.c:4379 +#: src/irc/irc-recv.c:4381 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "Utilisateurs %s%s%s: %s[" -#: src/irc/irc-recv.c:4400 +#: src/irc/irc-recv.c:4402 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" "Canal %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nicks" msgstr "utilisateurs" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nick" msgstr "utilisateur" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "ops" msgstr "ops" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "op" msgstr "op" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfops" msgstr "halfops" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfop" msgstr "halfop" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voices" msgstr "voices" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voice" msgstr "voice" -#: src/irc/irc-recv.c:4425 +#: src/irc/irc-recv.c:4427 msgid "normal" msgstr "normal" -#: src/irc/irc-recv.c:4526 +#: src/irc/irc-recv.c:4528 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "%s[%s%s%s] %s%s%s banni par " -#: src/irc/irc-recv.c:4561 +#: src/irc/irc-recv.c:4563 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "%s[%s%s%s] %s%s%s banni\n" -#: src/irc/irc-recv.c:4653 +#: src/irc/irc-recv.c:4655 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" "%s: l'utilisateur \"%s\" est dj en cours d'utilisation, essai avec le 2nd " "nom d'utilisateur \"%s\"\n" -#: src/irc/irc-recv.c:4665 +#: src/irc/irc-recv.c:4667 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" "%s: l'utilisateur \"%s\" est dj en cours d'utilisation, essai avec le 3me " "nom d'utilisateur \"%s\"\n" -#: src/irc/irc-recv.c:4677 +#: src/irc/irc-recv.c:4679 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " @@ -1919,7 +1919,7 @@ msgstr "" "%s: tous les noms d'utilisateurs dclars sont dj en cours d'utilisation, " "fermeture de la connexion avec le serveur !\n" -#: src/irc/irc-recv.c:4687 +#: src/irc/irc-recv.c:4689 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -2081,12 +2081,12 @@ msgstr "%s impossible de trouver un port disponible pour le DCC\n" msgid "%s cannot send DCC\n" msgstr "%s impossible d'envoyer le DCC\n" -#: src/irc/irc-dcc.c:1132 +#: src/irc/irc-dcc.c:1131 #, c-format msgid "%s error sending data to \"%s\" via DCC CHAT\n" msgstr "%s erreur d'envoi de donnes \"%s\" via DCC CHAT\n" -#: src/irc/irc-dcc.c:1411 +#: src/irc/irc-dcc.c:1416 #, c-format msgid "" "%s DCC failed because blocksize is too big. Check value of \"dcc_blocksize\" " @@ -2095,7 +2095,7 @@ msgstr "" "%s le DCC a chou car la taille de bloc est trop grande. Vrifiez la valeur " "de l'option \"dcc_blocksize\", le maximum est %d.\n" -#: src/irc/irc-dcc.c:1486 +#: src/irc/irc-dcc.c:1491 #, c-format msgid "Aborting active DCC: \"%s\" from %s\n" msgstr "Abandon du DCC actif: \"%s\" de %s\n" @@ -2231,13 +2231,13 @@ msgstr "Extension \"%s\" dcharge.\n" msgid "%s plugin \"%s\" not found\n" msgstr "%s extension \"%s\" non trouve\n" -#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1698 +#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1833 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "%s %s, ligne %d: syntaxe invalide, il manque \"=\"\n" -#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:1908 -#: src/common/weeconfig.c:2110 +#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:2043 +#: src/common/weeconfig.c:2249 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "%s impossible de crer le fichier \"%s\"\n" @@ -2272,68 +2272,68 @@ msgstr "Jour chang: %s\n" msgid "%s lag is high, disconnecting from server...\n" msgstr "%s le lag est lev, dconnexion du serveur...\n" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "bytes" msgstr "octets" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Kb" msgstr "Ko" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Mb" msgstr "Mo" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Gb" msgstr "Go" -#: src/gui/curses/gui-display.c:1600 +#: src/gui/curses/gui-display.c:1594 msgid "ETA" msgstr "ETA" -#: src/gui/curses/gui-display.c:1945 +#: src/gui/curses/gui-display.c:1941 msgid "<servers>" msgstr "<serveurs>" -#: src/gui/curses/gui-display.c:1957 +#: src/gui/curses/gui-display.c:1953 msgid "(away)" msgstr "(absent)" -#: src/gui/curses/gui-display.c:2091 +#: src/gui/curses/gui-display.c:2087 msgid "[not connected] " msgstr "[non connect] " -#: src/gui/curses/gui-display.c:2101 +#: src/gui/curses/gui-display.c:2097 msgid "Act: " msgstr "Act: " -#: src/gui/curses/gui-display.c:2189 +#: src/gui/curses/gui-display.c:2185 #, c-format msgid "Lag: %.1f" msgstr "Lag: %.1f" -#: src/gui/curses/gui-display.c:2205 +#: src/gui/curses/gui-display.c:2201 msgid "-MORE-" msgstr "-PLUS-" -#: src/gui/curses/gui-display.c:2378 +#: src/gui/curses/gui-display.c:2374 msgid " [A] Accept" msgstr " [A] Accepter" -#: src/gui/curses/gui-display.c:2379 src/gui/curses/gui-display.c:2383 +#: src/gui/curses/gui-display.c:2375 src/gui/curses/gui-display.c:2379 msgid " [C] Cancel" msgstr " [C] Annuler" -#: src/gui/curses/gui-display.c:2388 +#: src/gui/curses/gui-display.c:2384 msgid " [R] Remove" msgstr " [R] Retirer" -#: src/gui/curses/gui-display.c:2392 +#: src/gui/curses/gui-display.c:2388 msgid " [P] Purge old DCC" msgstr " [P] Purger anciens DCC" -#: src/gui/curses/gui-display.c:2393 +#: src/gui/curses/gui-display.c:2389 msgid " [Q] Close DCC view" msgstr " [Q] Fermer la vue DCC" @@ -2341,11 +2341,11 @@ msgstr " [Q] Fermer la vue DCC" msgid "server" msgstr "serveur" -#: src/gui/gui-common.c:696 +#: src/gui/gui-common.c:716 msgid "Not enough memory for new line\n" msgstr "Pas assez de mmoire pour une nouvelle ligne !\n" -#: src/gui/gui-common.c:1047 +#: src/gui/gui-common.c:1054 msgid "Not enough memory for infobar message\n" msgstr "Pas assez de mmoire pour un message de la barre d'infos\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:1892 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2112 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "%s impossible de crer la touche \"%s\"\n" @@ -2525,15 +2525,15 @@ msgstr "" msgid "%s not enough memory for key binding\n" msgstr "%s pas assez de mmoire pour la touche\n" -#: src/common/command.c:44 +#: src/common/command.c:45 msgid "create an alias for a command" msgstr "crer un alias pour une commande" -#: src/common/command.c:45 +#: src/common/command.c:46 msgid "[alias_name [command [arguments]]" msgstr "[nom_alias [commande [paramtres]]" -#: src/common/command.c:46 +#: src/common/command.c:47 msgid "" "alias_name: name of alias\n" "command: command name (WeeChat or IRC command, without first '/')\n" @@ -2543,15 +2543,15 @@ msgstr "" "commande: nom de la commande (commande WeeChat ou IRC, sans le premier '/')\n" "paramtres: paramtres pour la commande" -#: src/common/command.c:49 +#: src/common/command.c:50 msgid "manage buffers" msgstr "gestion des tampons" -#: src/common/command.c:50 +#: src/common/command.c:51 msgid "[action | number | [[server] [channel]]]" msgstr "[action | nombre | [[serveur] [canal]]]" -#: src/common/command.c:51 +#: src/common/command.c:52 msgid "" "action: action to do:\n" " move: move buffer in the list (may be relative, for example -1)\n" @@ -2573,47 +2573,65 @@ msgstr "" "serveur,canal: sauter au tampon par serveur et/ou nom de canal\n" "nombre: sauter au tampon qui a ce numro" -#: src/common/command.c:59 +#: src/common/command.c:60 +msgid "change charset for server or channel" +msgstr "changer le jeu de caractres pour le serveur ou le canal" + +#: src/common/command.c:61 +msgid "[(decode_iso | decode_utf | encode) charset]" +msgstr "[(decode_iso | decode_utf | encode) charset]" + +#: src/common/command.c:62 +msgid "" +"decode_iso: charset used for decoding ISO\n" +"decode_utf: charset used for decoding UTF\n" +" encode: charset used for encoding messages" +msgstr "" +"decode_iso: jeu de caractre utilis pour dcoder l'ISO\n" +"decode_utf: jeu de caractre utilis pour dcoder l'UTF\n" +" encode: jeu de caractre utilis pour encoder les messages" + +#: src/common/command.c:66 msgid "clear window(s)" msgstr "effacer la/les fentre(s)" -#: src/common/command.c:60 +#: src/common/command.c:67 msgid "[-all]" msgstr "[-all]" -#: src/common/command.c:61 +#: src/common/command.c:68 msgid "-all: clear all windows" msgstr "-all: effacer toutes les fentres" -#: src/common/command.c:63 +#: src/common/command.c:70 msgid "connect to a server" msgstr "se connecter un serveur" -#: src/common/command.c:64 src/common/command.c:68 +#: src/common/command.c:71 src/common/command.c:75 msgid "[servername]" msgstr "[nom_serveur]" -#: src/common/command.c:65 +#: src/common/command.c:72 msgid "servername: server name to connect" msgstr "nom_serveur: nom du serveur pour se connecter" -#: src/common/command.c:67 +#: src/common/command.c:74 msgid "disconnect from a server" msgstr "se dconnecter d'un serveur" -#: src/common/command.c:69 +#: src/common/command.c:76 msgid "servername: server name to disconnect" msgstr "nom_serveur: nom du serveur pour se dconnecter" -#: src/common/command.c:71 +#: src/common/command.c:78 msgid "print debug messages" msgstr "affiche des messages de debuggage" -#: src/common/command.c:72 +#: src/common/command.c:79 msgid "dump | windows" msgstr "dump | windows" -#: src/common/command.c:73 +#: src/common/command.c:80 msgid "" "dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" @@ -2623,27 +2641,27 @@ msgstr "" "messages sont affichs lorsque WeeChat plante)\n" "windows: affiche l'arbre des fentres" -#: src/common/command.c:76 +#: src/common/command.c:83 msgid "display help about commands" msgstr "afficher l'aide sur les commandes" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "[command]" msgstr "[commande]" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "command: name of a WeeChat or IRC command" msgstr "commande: nom d'une commande WeeChat ou IRC" -#: src/common/command.c:79 +#: src/common/command.c:86 msgid "show buffer command history" msgstr "affiche l'historique des commandes du tampon" -#: src/common/command.c:80 +#: src/common/command.c:87 msgid "[clear | value]" msgstr "[clear | valeur]" -#: src/common/command.c:81 +#: src/common/command.c:88 msgid "" "clear: clear history\n" "value: number of history entries to show" @@ -2651,15 +2669,15 @@ msgstr "" "clear: effacer l'historique\n" "valeur: nombre d'entres dans l'historique afficher" -#: src/common/command.c:84 +#: src/common/command.c:91 msgid "ignore IRC messages and/or hosts" msgstr "ignorer des messages IRC et/ou des masques" -#: src/common/command.c:85 +#: src/common/command.c:92 msgid "[mask [[type | command] [channel [server]]]]" msgstr "[masque [[type | commande] [canal [serveur]]]]" -#: src/common/command.c:86 +#: src/common/command.c:93 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2679,15 +2697,15 @@ msgstr "" "Pour chaque paramtre, '*' signifie tou(te)s.\n" "Sans paramtre, la commande /ignore liste les ignore dfinis." -#: src/common/command.c:94 +#: src/common/command.c:101 msgid "bind/unbind keys" msgstr "associer/librer des touches" -#: src/common/command.c:95 +#: src/common/command.c:102 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "[touche fonction/commande] [unbind touche] [functions] [reset -yes]" -#: src/common/command.c:96 +#: src/common/command.c:103 msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" @@ -2705,15 +2723,15 @@ msgstr "" "reset: restaure les touches aux valeurs par dfaut et supprime TOUTES les " "touches personnelles (utiliser avec prcaution !)" -#: src/common/command.c:101 +#: src/common/command.c:108 msgid "list/load/unload plugins" msgstr "liste/charge/dcharge des extensions" -#: src/common/command.c:102 +#: src/common/command.c:109 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "[load fichier] | [autoload] | [reload] | [unload]" -#: src/common/command.c:103 +#: src/common/command.c:110 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" @@ -2723,11 +2741,11 @@ msgstr "" "\n" "Sans paramtre, la commande /plugin liste toutes les extensions charges." -#: src/common/command.c:106 +#: src/common/command.c:113 msgid "list, add or remove servers" msgstr "liste, ajoute ou retire des serveurs" -#: src/common/command.c:107 +#: src/common/command.c:114 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2739,7 +2757,7 @@ msgstr "" "nom_utilisateur] [-realname nom_rel] [-command commande] [-autojoin canal[," "canal]] ] | [del nom_serveur]" -#: src/common/command.c:112 +#: src/common/command.c:119 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2765,27 +2783,27 @@ msgstr "" "nom_utilisateur: nom d'utilisateur\n" "nom_rel: nom rel de l'utilisateur" -#: src/common/command.c:124 +#: src/common/command.c:131 msgid "save config to disk" msgstr "sauvegarder la configuration sur disque" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "[file]" msgstr "[fichier]" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "file: filename for writing config" msgstr "fichier: fichier pour sauvegarder la configuration" -#: src/common/command.c:127 +#: src/common/command.c:134 msgid "set config parameters" msgstr "modifier des paramtres de configuration" -#: src/common/command.c:128 +#: src/common/command.c:135 msgid "[option [ = value]]" msgstr "[option [ = valeur]]" -#: src/common/command.c:129 +#: src/common/command.c:136 msgid "" "option: name of an option (if name is full and no value is given, then help " "is displayed on option)\n" @@ -2795,27 +2813,27 @@ msgstr "" "donne, alors l'aide sur l'option est affiche)\n" "valeur: valeur pour l'option" -#: src/common/command.c:133 +#: src/common/command.c:140 msgid "remove an alias" msgstr "supprimer un alias" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name" msgstr "nom_alias" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name: name of alias to remove" msgstr "nom_alias: nom de l'alias supprimer" -#: src/common/command.c:136 +#: src/common/command.c:143 msgid "unignore IRC messages and/or hosts" msgstr "supprimer le ignore des messages IRC et/ou des masques" -#: src/common/command.c:137 +#: src/common/command.c:144 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "[nombre | [masque [[type | commande] [canal [serveur]]]]]" -#: src/common/command.c:138 +#: src/common/command.c:145 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2838,27 +2856,27 @@ msgstr "" "Pour chaque paramtre, '*' signifie tou(te)s.\n" "Sans paramtre, /ignore liste les ignore dfinis." -#: src/common/command.c:147 +#: src/common/command.c:154 msgid "upgrade WeeChat without disconnecting from servers" msgstr "mettre jour WeeChat sans se dconnecter des serveurs" -#: src/common/command.c:151 +#: src/common/command.c:158 msgid "show WeeChat uptime" msgstr "montrer l'uptime de WeeChat" -#: src/common/command.c:152 +#: src/common/command.c:159 msgid "[-o]" msgstr "[-o]" -#: src/common/command.c:153 +#: src/common/command.c:160 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:155 +#: src/common/command.c:162 msgid "manage windows" msgstr "gestion des fentres" -#: src/common/command.c:156 +#: src/common/command.c:163 msgid "" "[list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge " "[all]]" @@ -2866,7 +2884,7 @@ msgstr "" "[list | -1 | +1 | b# | splith [pct] | splitv [ptc] | resize pct | merge " "[all]]" -#: src/common/command.c:157 +#: src/common/command.c:164 #, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2897,29 +2915,29 @@ msgstr "" "Par exemple 25 signifie crer une fentre qui a pour taille: " "taille_courante / 4" -#: src/common/command.c:310 +#: src/common/command.c:317 #, 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:320 +#: src/common/command.c:327 #, 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:327 +#: src/common/command.c:334 #, 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:565 +#: src/common/command.c:572 #, 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:577 +#: src/common/command.c:584 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " @@ -2928,19 +2946,19 @@ msgstr "" "%s nombre de paramtres incorrect pour la commande %s \"%s\" (attendu: entre " "%d et %d paramtre%s)\n" -#: src/common/command.c:599 src/common/command.c:668 +#: src/common/command.c:606 src/common/command.c:675 #, c-format msgid "%s command \"%s\" failed\n" msgstr "%s la commande \"%s\" a chou\n" -#: src/common/command.c:624 +#: src/common/command.c:631 #, 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:636 +#: src/common/command.c:643 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " @@ -2949,266 +2967,283 @@ msgstr "" "%s nombre de paramtres incorrect pour la commande IRC \"%s\" (attendu: " "entre %d et %d paramtre%s)\n" -#: src/common/command.c:651 +#: src/common/command.c:658 #, 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:711 +#: src/common/command.c:719 #, 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:845 +#: src/common/command.c:853 msgid "This window is not a channel!\n" msgstr "Cette fentre n'est pas un canal !\n" -#: src/common/command.c:873 src/common/command.c:904 src/common/command.c:1019 +#: src/common/command.c:884 src/common/command.c:915 src/common/command.c:1030 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "%s paramtres manquants pour la commande \"%s\"\n" -#: src/common/command.c:880 +#: src/common/command.c:891 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "%s l'alias ne peut pas commencer par \"/\"\n" -#: src/common/command.c:889 +#: src/common/command.c:900 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "Alias \"%s\" => \"%s\" cr\n" -#: src/common/command.c:895 +#: src/common/command.c:906 #, 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:915 +#: src/common/command.c:926 msgid "List of aliases:\n" msgstr "Liste des alias:\n" -#: src/common/command.c:929 +#: src/common/command.c:940 msgid "No alias defined.\n" msgstr "Aucun alias dfini.\n" -#: src/common/command.c:948 +#: src/common/command.c:959 #, c-format msgid "%sServer: %s%s\n" msgstr "%sServeur: %s%s\n" -#: src/common/command.c:953 +#: src/common/command.c:964 #, c-format msgid "%snot connected\n" msgstr "%snon connect\n" -#: src/common/command.c:957 +#: src/common/command.c:968 #, 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:966 +#: src/common/command.c:977 #, 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:975 +#: src/common/command.c:986 #, c-format msgid "%sunknown\n" msgstr "%sinconnu\n" -#: src/common/command.c:998 +#: src/common/command.c:1009 msgid "Opened buffers:\n" msgstr "Tampons ouverts:\n" -#: src/common/command.c:1042 +#: src/common/command.c:1053 #, c-format msgid "%s incorrect buffer number\n" msgstr "%s numro de buffer incorrect\n" -#: src/common/command.c:1058 +#: src/common/command.c:1069 #, c-format msgid "%s can not close the single buffer\n" msgstr "%s impossible de fermer le tampon unique\n" -#: src/common/command.c:1068 +#: src/common/command.c:1079 #, 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:1117 +#: src/common/command.c:1128 msgid "Notify levels: " msgstr "Niveaux de notification: " -#: src/common/command.c:1146 src/common/command.c:1194 +#: src/common/command.c:1157 src/common/command.c:1205 #, 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:1155 +#: src/common/command.c:1166 #, 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:1164 +#: src/common/command.c:1175 #, 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:1174 +#: src/common/command.c:1185 msgid "(hotlist: never)\n" msgstr "(hotlist: jamais)\n" -#: src/common/command.c:1177 +#: src/common/command.c:1188 msgid "(hotlist: highlights)\n" msgstr "(hotlist: highlights)\n" -#: src/common/command.c:1180 +#: src/common/command.c:1191 msgid "(hotlist: highlights + messages)\n" msgstr "(hotlist: highlights + messages)\n" -#: src/common/command.c:1183 +#: src/common/command.c:1194 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "(hotlist: highlights + messages + join/part (tous))\n" -#: src/common/command.c:1280 +#: src/common/command.c:1293 +#, c-format +msgid "Charsets for server %s%s%s: " +msgstr "Jeux de caractres pour le serveur %s%s%s: " + +#: src/common/command.c:1301 +#, c-format +msgid "Charsets for channel %s%s%s: " +msgstr "Jeux de caractres pour le canal %s%s%s: " + +#: src/common/command.c:1309 +#, c-format +msgid "Charsets for private %s%s%s: " +msgstr "Jeux de caractres pour le priv %s%s%s: " + +#: src/common/command.c:1337 src/common/command.c:1367 +#: src/common/command.c:1397 +#, c-format +msgid " (inherited: \"%s%s%s\")" +msgstr " (hrit: \"%s%s%s\")" + +#: src/common/command.c:1461 src/common/command.c:1484 +#: src/common/command.c:1618 src/common/command.c:2229 +#: src/common/command.c:3286 src/common/command.c:3329 #, c-format -msgid "unknown parameter \"%s\" for \"%s\" command\n" -msgstr "paramtre inconnu \"%s\" pour la commande \"%s\"\n" +msgid "%s unknown option for \"%s\" command\n" +msgstr "%s option inconnue pour la commande \"%s\"\n" -#: src/common/command.c:1310 +#: src/common/command.c:1514 #, c-format msgid "%s already connected to server \"%s\"!\n" msgstr "%s dj connect au serveur \"%s\" !\n" -#: src/common/command.c:1318 +#: src/common/command.c:1522 #, 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:1336 src/common/command.c:1456 +#: src/common/command.c:1540 src/common/command.c:1663 #, c-format msgid "%s server not found\n" msgstr "%s serveur non trouv\n" -#: src/common/command.c:1411 src/common/command.c:2006 -#: src/common/command.c:3047 src/common/command.c:3090 -#, c-format -msgid "%s unknown option for \"%s\" command\n" -msgstr "%s option inconnue pour la commande \"%s\"\n" - -#: src/common/command.c:1440 +#: src/common/command.c:1647 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "%s non connect au serveur \"%s\" !\n" -#: src/common/command.c:1448 +#: src/common/command.c:1655 msgid "Auto-reconnection is cancelled\n" msgstr "La reconnexion automatique est annule\n" -#: src/common/command.c:1479 src/common/weechat.c:400 +#: src/common/command.c:1689 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "Commandes internes %s :\n" -#: src/common/command.c:1489 src/common/weechat.c:420 +#: src/common/command.c:1699 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "Commandes IRC :\n" -#: src/common/command.c:1503 +#: src/common/command.c:1713 msgid "Plugin commands:\n" msgstr "Commandes d'extension :\n" -#: src/common/command.c:1619 +#: src/common/command.c:1829 #, 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:1678 +#: src/common/command.c:1895 #, 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:1712 +#: src/common/command.c:1929 msgid "List of ignore:\n" msgstr "Liste des ignore:\n" -#: src/common/command.c:1729 +#: src/common/command.c:1946 msgid "No ignore defined.\n" msgstr "Aucun ignore dfini.\n" -#: src/common/command.c:1755 +#: src/common/command.c:1972 msgid "New ignore:" msgstr "Nouveau ignore:" -#: src/common/command.c:1775 +#: src/common/command.c:1992 #, c-format msgid "New key binding: %s" msgstr "Nouvelle touche: %s" -#: src/common/command.c:1809 +#: src/common/command.c:2029 msgid "Key bindings:\n" msgstr "Associations de touches:\n" -#: src/common/command.c:1823 +#: src/common/command.c:2043 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "Touche \"%s\" supprime\n" -#: src/common/command.c:1829 +#: src/common/command.c:2049 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "%s impossible de supprimer la touche \"%s\"\n" -#: src/common/command.c:1837 src/common/weechat.c:452 +#: src/common/command.c:2057 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "Fonctions internes pour les touches:\n" -#: src/common/command.c:1857 +#: src/common/command.c:2077 msgid "Default key bindings restored\n" msgstr "Touches par dfaut restaures\n" -#: src/common/command.c:1863 +#: src/common/command.c:2083 #, 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:1919 +#: src/common/command.c:2142 msgid "Plugins loaded:\n" msgstr "Extensions charges :\n" -#: src/common/command.c:1935 +#: src/common/command.c:2158 msgid " message handlers:\n" msgstr " fonctions de message :\n" -#: src/common/command.c:1944 +#: src/common/command.c:2167 #, c-format msgid " IRC(%s)\n" msgstr " IRC(%s)\n" -#: src/common/command.c:1951 +#: src/common/command.c:2174 msgid " (no message handler)\n" msgstr " (aucunne fonction de message)\n" -#: src/common/command.c:1956 +#: src/common/command.c:2179 msgid " command handlers:\n" msgstr " commandes :\n" -#: src/common/command.c:1977 +#: src/common/command.c:2200 msgid " (no command handler)\n" msgstr " (aucune commande)\n" -#: src/common/command.c:1983 +#: src/common/command.c:2206 msgid " (no plugin)\n" msgstr " (aucune extension)\n" -#: src/common/command.c:2019 +#: src/common/command.c:2242 msgid "" "Command \"plugin\" is not available, WeeChat was built without plugins " "support.\n" @@ -3216,31 +3251,31 @@ msgstr "" "La commande \"plugin\" n'est pas disponible, WeeChat a t compil sans le " "support des extensions.\n" -#: src/common/command.c:2067 +#: src/common/command.c:2293 msgid "No server.\n" msgstr "Pas de serveur.\n" -#: src/common/command.c:2078 +#: src/common/command.c:2304 #, c-format msgid "Server '%s' not found.\n" msgstr "Serveur '%s' non trouv.\n" -#: src/common/command.c:2090 +#: src/common/command.c:2316 #, 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:2098 +#: src/common/command.c:2324 #, 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:2117 +#: src/common/command.c:2343 #, 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:2125 +#: src/common/command.c:2351 #, c-format msgid "" "%s you can not delete server \"%s\" because you are connected to. Try /" @@ -3249,207 +3284,207 @@ msgstr "" "%s vous ne pouvez pas supprimer le server \"%s\" car vous tes connect " "dessus. Essayez /disconnect %s avant.\n" -#: src/common/command.c:2145 +#: src/common/command.c:2371 #, 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:2164 +#: src/common/command.c:2390 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "%s paramtres manquants pour la commande \"%s\"\n" -#: src/common/command.c:2174 +#: src/common/command.c:2400 #, 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:2203 src/common/command.c:2231 -#: src/common/command.c:2244 src/common/command.c:2270 +#: src/common/command.c:2429 src/common/command.c:2457 +#: src/common/command.c:2470 src/common/command.c:2496 #, 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:2216 +#: src/common/command.c:2442 #, 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:2257 +#: src/common/command.c:2483 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "%s commande manquante pour le paramtre \"%s\"\n" -#: src/common/command.c:2292 +#: src/common/command.c:2519 #, c-format msgid "Server %s%s%s created\n" msgstr "Serveur %s%s%s cr\n" -#: src/common/command.c:2301 +#: src/common/command.c:2528 #, c-format msgid "%s unable to create server\n" msgstr "%s impossible de crer le serveur\n" -#: src/common/command.c:2360 +#: src/common/command.c:2587 msgid "(unknown)" msgstr "(inconnu)" -#: src/common/command.c:2383 +#: src/common/command.c:2610 #, c-format msgid "%s(password hidden) " msgstr "%s(mot de passe cach) " -#: src/common/command.c:2473 +#: src/common/command.c:2706 #, c-format msgid "%s server \"%s\" not found\n" msgstr "%s serveur \"%s\" non trouv\n" -#: src/common/command.c:2506 src/common/command.c:2554 +#: src/common/command.c:2739 src/common/command.c:2787 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "%s option de configuration \"%s\" non trouve\n" -#: src/common/command.c:2511 src/common/command.c:2546 +#: src/common/command.c:2744 src/common/command.c:2779 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "%s valeur incorrecte pour l'option \"%s\"\n" -#: src/common/command.c:2527 +#: src/common/command.c:2760 #, 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:2637 +#: src/common/command.c:2870 #, c-format msgid "No config option found with \"%s\"\n" msgstr "Aucune option de configuration trouve avec \"%s\"\n" -#: src/common/command.c:2640 +#: src/common/command.c:2873 msgid "No config option found\n" msgstr "Aucune option de configuration trouve\n" -#: src/common/command.c:2647 +#: src/common/command.c:2880 #, c-format msgid "%sDetail:\n" msgstr "%sDtail :\n" -#: src/common/command.c:2652 src/common/weechat.c:336 +#: src/common/command.c:2885 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:2653 src/common/command.c:2676 -#: src/common/command.c:2682 src/common/command.c:2688 +#: src/common/command.c:2886 src/common/command.c:2909 +#: src/common/command.c:2915 src/common/command.c:2921 #: 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:2658 src/common/weechat.c:342 +#: src/common/command.c:2891 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:2661 src/common/weechat.c:345 +#: src/common/command.c:2894 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr " . valeur par dfaut: %d\n" -#: src/common/command.c:2665 src/common/weechat.c:349 +#: src/common/command.c:2898 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr " . type chane (valeurs: " -#: src/common/command.c:2678 src/common/command.c:2684 -#: src/common/command.c:2690 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2911 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "vide" -#: src/common/command.c:2681 src/common/weechat.c:365 +#: src/common/command.c:2914 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:2687 src/common/weechat.c:371 +#: src/common/command.c:2920 src/common/weechat.c:371 #, c-format msgid " . type string (any string)\n" msgstr " . type chane (toute chane)\n" -#: src/common/command.c:2693 src/common/weechat.c:377 +#: src/common/command.c:2926 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr " . description: %s\n" -#: src/common/command.c:2704 +#: src/common/command.c:2937 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "option(s) de configuration trouve(s) avec \"%s\"\n" -#: src/common/command.c:2707 +#: src/common/command.c:2940 msgid "config option(s) found\n" msgstr "option(s) de configuration trouve(s)\n" -#: src/common/command.c:2728 +#: src/common/command.c:2964 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "%s alias ou commande \"%s\" non trouv\n" -#: src/common/command.c:2738 +#: src/common/command.c:2974 #, c-format msgid "Alias \"%s\" removed\n" msgstr "Alias \"%s\" supprim\n" -#: src/common/command.c:2794 +#: src/common/command.c:3030 msgid "ignore were removed.\n" msgstr "ignore ont t supprims.\n" -#: src/common/command.c:2796 +#: src/common/command.c:3032 msgid "ignore was removed.\n" msgstr "ignore a t supprim.\n" -#: src/common/command.c:2801 +#: src/common/command.c:3037 #, c-format msgid "%s no ignore found\n" msgstr "%s aucun ignore trouv\n" -#: src/common/command.c:2832 +#: src/common/command.c:3069 #, c-format msgid "%s can't upgrade: connection to at least one server is pending" msgstr "" "%s impossible de mettre jour: une connexion au moins un serveur est en " "cours" -#: src/common/command.c:2848 +#: src/common/command.c:3084 msgid "Upgrading WeeChat...\n" msgstr "Mise jour de WeeChat...\n" -#: src/common/command.c:2856 +#: src/common/command.c:3091 #, 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:2878 +#: src/common/command.c:3120 #, 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:2914 +#: src/common/command.c:3156 #, 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:2931 +#: src/common/command.c:3170 #, 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:2971 +#: src/common/command.c:3210 msgid "Opened windows:\n" msgstr "Fentres ouvertes:\n" -#: src/common/command.c:3058 +#: src/common/command.c:3297 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3487,12 +3522,12 @@ msgstr "%s serveur \"%s\" non trouv (donnes du tube FIFO)\n" msgid "%s channel \"%s\" not found (FIFO pipe data)\n" msgstr "%s canal \"%s\" non trouv (donnes du tube FIFO)\n" -#: src/common/fifo.c:251 src/common/fifo.c:253 +#: src/common/fifo.c:252 src/common/fifo.c:254 #, c-format msgid "%s error reading FIFO pipe, closing it\n" msgstr "%s erreur en lecture du tube FIFO, fermeture\n" -#: src/common/fifo.c:295 +#: src/common/fifo.c:296 msgid "FIFO pipe is closed\n" msgstr "Le tube FIFO est ferm\n" @@ -3517,7 +3552,7 @@ msgstr "**** Dbut du log " msgid "**** End of log " msgstr "**** Fin du log " -#: src/common/session.c:432 +#: src/common/session.c:435 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" @@ -3525,7 +3560,7 @@ msgstr "" "Dernire opration avec le fichier de session en position %ld, lecture de %d " "octets\n" -#: src/common/session.c:437 +#: src/common/session.c:440 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3536,275 +3571,275 @@ msgstr "" "dveloppeurs WeeChat pour du support.\n" "Faites attention, des infos prives peuvent se trouver dans ces fichiers.\n" -#: src/common/session.c:461 src/common/session.c:495 src/common/session.c:552 +#: src/common/session.c:464 src/common/session.c:498 src/common/session.c:555 #, 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:564 +#: src/common/session.c:567 msgid "invalid length for a buffer" msgstr "longueur invalide pour une zone" -#: src/common/session.c:589 +#: src/common/session.c:592 msgid "object read error" msgstr "erreur de lecture de l'objet" -#: src/common/session.c:594 +#: src/common/session.c:597 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "objet erron (attendu: %d, lu: %d)" -#: src/common/session.c:604 +#: src/common/session.c:607 msgid "type read error" msgstr "erreur de lecture du type" -#: src/common/session.c:609 +#: src/common/session.c:612 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "type erron (attendu: %d, lu: %d)" -#: src/common/session.c:688 +#: src/common/session.c:691 msgid "server name not found" msgstr "nom de serveur non trouv" -#: src/common/session.c:693 +#: src/common/session.c:696 #, c-format msgid "session: loading server \"%s\"\n" msgstr "session: chargement du serveur \"%s\"\n" -#: src/common/session.c:697 +#: src/common/session.c:700 msgid "server found, updating values\n" msgstr "serveur trouv, mise jour des valeurs\n" -#: src/common/session.c:700 +#: src/common/session.c:703 msgid "server not found, creating new one\n" msgstr "serveur non trouv, cration d'un nouveau\n" -#: src/common/session.c:705 +#: src/common/session.c:708 msgid "can't create new server" msgstr "impossible de crer un nouveau serveur" -#: src/common/session.c:719 +#: src/common/session.c:722 msgid "unexpected end of file (reading server)" msgstr "fin de fichier inattendue (en lecture d'un serveur)" -#: src/common/session.c:836 +#: src/common/session.c:848 #, 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:858 +#: src/common/session.c:870 msgid "channel found without server" msgstr "canal trouv sans serveur" -#: src/common/session.c:865 +#: src/common/session.c:877 msgid "channel type not found" msgstr "type de canal non trouv" -#: src/common/session.c:873 +#: src/common/session.c:885 msgid "channel name not found" msgstr "nom de canal non trouv" -#: src/common/session.c:878 +#: src/common/session.c:890 #, c-format msgid "session: loading channel \"%s\"\n" msgstr "session: chargement du canal \"%s\"\n" -#: src/common/session.c:886 +#: src/common/session.c:898 msgid "can't create new channel" msgstr "impossible de crer un nouveau canal" -#: src/common/session.c:896 +#: src/common/session.c:908 msgid "unexpected end of file (reading channel)" msgstr "fin de fichier inattendue (en lecture d'un canal)" -#: src/common/session.c:924 +#: src/common/session.c:936 #, 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:947 +#: src/common/session.c:959 msgid "nick found without channel" msgstr "pseudo non trouv pour le canal" -#: src/common/session.c:955 +#: src/common/session.c:967 msgid "nick name not found" msgstr "pseudo non trouv" -#: src/common/session.c:965 +#: src/common/session.c:977 msgid "can't create new nick" msgstr "impossible de crer un nouveau pseudo" -#: src/common/session.c:975 +#: src/common/session.c:987 msgid "unexpected end of file (reading nick)" msgstr "fin de fichier inattendue (en lecture d'un pseudo)" -#: src/common/session.c:991 +#: src/common/session.c:1003 #, 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:1017 +#: src/common/session.c:1029 msgid "can't create new DCC" msgstr "impossible de crer un nouveau DCC" -#: src/common/session.c:1021 +#: src/common/session.c:1033 msgid "session: loading DCC\n" msgstr "session: chargement du DCC\n" -#: src/common/session.c:1031 +#: src/common/session.c:1043 msgid "unexpected end of file (reading DCC)" msgstr "fin de fichier inattendue (en lecture d'un DCC)" -#: src/common/session.c:1050 +#: src/common/session.c:1062 msgid "server not found for DCC" msgstr "serveur non trouv pour le DCC" -#: src/common/session.c:1059 +#: src/common/session.c:1071 msgid "DCC with channel but without server" msgstr "DCC avec un canal mais sans serveur" -#: src/common/session.c:1071 +#: src/common/session.c:1083 msgid "channel not found for DCC" msgstr "canal non trouv pour le DCC" -#: src/common/session.c:1145 +#: src/common/session.c:1157 #, 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:1165 +#: src/common/session.c:1177 msgid "session: loading buffer history\n" msgstr "session: chargement de l'historique du tampon\n" -#: src/common/session.c:1167 +#: src/common/session.c:1179 msgid "session: loading global history\n" msgstr "session: chargement de l'historique global\n" -#: src/common/session.c:1175 +#: src/common/session.c:1187 msgid "unexpected end of file (reading history)" msgstr "fin de fichier inattendue (en lecture de l'historique)" -#: src/common/session.c:1195 +#: src/common/session.c:1207 #, 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:1221 +#: src/common/session.c:1233 msgid "server name not found for buffer" msgstr "nom de serveur non trouve pour le tampon" -#: src/common/session.c:1229 +#: src/common/session.c:1241 msgid "channel name not found for buffer" msgstr "nom de canal non trouv pour un tampon" -#: src/common/session.c:1236 +#: src/common/session.c:1248 msgid "dcc flag not found for buffer" msgstr "drapeau dcc non trouv pour un tampon" -#: src/common/session.c:1241 +#: src/common/session.c:1253 #, 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:1252 +#: src/common/session.c:1264 msgid "server not found for buffer" msgstr "serveur non trouv pour le tampon" -#: src/common/session.c:1262 +#: src/common/session.c:1274 msgid "channel not found for buffer" msgstr "canal non trouv pour le tampon" -#: src/common/session.c:1270 +#: src/common/session.c:1282 msgid "can't create new buffer" msgstr "impossible de crer un nouveau tampon" -#: src/common/session.c:1283 +#: src/common/session.c:1295 msgid "unexpected end of file (reading buffer)" msgstr "fin de fichier inattendue (en lecture d'un tampon)" -#: src/common/session.c:1293 +#: src/common/session.c:1305 #, 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:1315 +#: src/common/session.c:1327 msgid "line found without buffer" msgstr "ligne trouve sans tampon" -#: src/common/session.c:1323 +#: src/common/session.c:1335 msgid "can't create new line" msgstr "impossible de crer une nouvelle ligne" -#: src/common/session.c:1333 +#: src/common/session.c:1345 msgid "unexpected end of file (reading line)" msgstr "fin de fichier inattendue (en lecture d'une ligne)" -#: src/common/session.c:1364 +#: src/common/session.c:1376 #, 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:1394 +#: src/common/session.c:1406 msgid "session file not found" msgstr "fichier de session non trouv" -#: src/common/session.c:1401 +#: src/common/session.c:1413 msgid "signature not found" msgstr "signature non trouve" -#: src/common/session.c:1406 +#: src/common/session.c:1418 msgid "bad session signature" msgstr "signature de session errone" -#: src/common/session.c:1417 +#: src/common/session.c:1429 msgid "object id not found" msgstr "id objet non trouv" -#: src/common/session.c:1425 +#: src/common/session.c:1437 msgid "failed to load server" msgstr "chec de chargement du serveur" -#: src/common/session.c:1432 +#: src/common/session.c:1444 msgid "failed to load channel" msgstr "chec de chargement du canal" -#: src/common/session.c:1439 +#: src/common/session.c:1451 msgid "failed to load nick" msgstr "chec de chargement du pseudo" -#: src/common/session.c:1446 +#: src/common/session.c:1458 msgid "failed to load DCC" msgstr "chec de chargement du DCC" -#: src/common/session.c:1453 +#: src/common/session.c:1465 msgid "failed to load history" msgstr "chec de chargement de l'historique" -#: src/common/session.c:1460 +#: src/common/session.c:1472 msgid "failed to load buffer" msgstr "chec de chargement du tampon" -#: src/common/session.c:1467 +#: src/common/session.c:1479 msgid "failed to load line" msgstr "chec de chargement de la ligne" -#: src/common/session.c:1472 +#: src/common/session.c:1484 #, c-format msgid "ignoring object (id: %d)\n" msgstr "objet ignor (id: %d)\n" -#: src/common/session.c:1476 +#: src/common/session.c:1488 #, c-format msgid "failed to ignore object (id: %d)" msgstr "impossible d'ignorer l'objet (id: %d)" -#: src/common/session.c:1499 +#: src/common/session.c:1512 #, 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:1505 +#: src/common/session.c:1518 msgid "Upgrade completed successfully\n" msgstr "Mise jour effectue avec succs\n" @@ -3896,52 +3931,52 @@ msgstr "%s paramtre manquant pour l'option --session\n" msgid "%s invalid syntax for IRC server ('%s'), ignored\n" msgstr "%s syntaxe invalide pour le serveur IRC ('%s'), ignor\n" -#: src/common/weechat.c:588 +#: src/common/weechat.c:589 #, c-format msgid "%s unable to create server ('%s'), ignored\n" msgstr "%s impossible de crer le serveur ('%s'), ignor\n" -#: src/common/weechat.c:597 +#: src/common/weechat.c:598 #, c-format msgid "%s unknown parameter '%s', ignored\n" msgstr "%s paramtre inconnu '%s', ignor\n" -#: src/common/weechat.c:617 +#: src/common/weechat.c:618 #, c-format msgid "%s cannot create directory \"%s\"\n" msgstr "%s impossible de crer le rpertoire \"%s\"\n" -#: src/common/weechat.c:638 +#: src/common/weechat.c:639 #, c-format msgid "%s unable to get HOME directory\n" msgstr "%s impossible de lire le rpertoire personnel\n" -#: src/common/weechat.c:647 +#: src/common/weechat.c:648 #, c-format msgid "%s not enough memory for home directory\n" msgstr "%s pas assez de mmoire pour le rpertoire personnel\n" -#: src/common/weechat.c:657 +#: src/common/weechat.c:658 #, c-format msgid "%s unable to create ~/.weechat directory\n" msgstr "%s impossible de crer le rpertoire ~/.weechat\n" -#: src/common/weechat.c:670 +#: src/common/weechat.c:671 #, c-format msgid "%s unable to create ~/.weechat/logs directory\n" msgstr "%s impossible de crer le rpertoire ~/.weechat/logs\n" -#: src/common/weechat.c:716 +#: src/common/weechat.c:717 #, c-format msgid "%s unable to create/append to log file (~/.weechat/%s)" msgstr "%s impossible de crer/ajouter dans le fichier de log (~/.weechat/%s)" -#: src/common/weechat.c:767 +#: src/common/weechat.c:768 #, c-format msgid "%sWelcome to %s%s%s, %s\n" msgstr "%sBienvenue dans %s%s%s, %s\n" -#: src/common/weechat.c:781 src/common/weechat.c:791 +#: src/common/weechat.c:782 src/common/weechat.c:792 msgid "compiled on" msgstr "compil le" @@ -5018,64 +5053,102 @@ msgstr "" "liste des niveaux de notifications (spars par des virgules) pour les " "canaux de ce serveur (format: #canal:1,..)" -#: src/common/weeconfig.c:1510 +#: src/common/weeconfig.c:940 +msgid "charset for decoding ISO on server and channels" +msgstr "jeu de caractres pour dcoder l'ISO sur le serveur et les canaux" + +#: src/common/weeconfig.c:941 +msgid "" +"comma separated list of charsets for server and channels, to decode ISO " +"(format: server:charset,#channel:charset,..)" +msgstr "" +"liste des jeux de caractres (spars par des virgules) pour le serveur et " +"les canaux, pour dcoder l'ISO (format: server:charset,#canal:charset,..)" + +#: src/common/weeconfig.c:945 +msgid "charset for decoding UTF on server and channels" +msgstr "jeu de caractres pour dcoder l'UTF sur le serveur et les canaux" + +#: src/common/weeconfig.c:946 +msgid "" +"comma separated list of charsets for server and channels, to decode UTF " +"(format: server:charset,#channel:charset,..)" +msgstr "" +"liste des jeux de caractres (spars par des virgules) pour le serveur et " +"les canaux, pour dcoder l'UTF (format: server:charset,#canal:charset,..)" + +#: src/common/weeconfig.c:950 +msgid "charset for encoding messages on server and channels" +msgstr "" +"jeu de caractres pour encoder les messages envoys au serveur et aux canaux" + +#: src/common/weeconfig.c:951 +msgid "" +"comma separated list of charsets for server and channels, to encode messages " +"(format: server:charset,#channel:charset,..)" +msgstr "" +"liste des jeux de caractres (spars par des virgules) pour le serveur et " +"les canaux, pour encoder les messages (format: server:charset,#canal:" +"charset,..)" + +#: src/common/weeconfig.c:1643 #, c-format msgid "%s %s, line %d: new server, but previous was incomplete\n" msgstr "%s %s, ligne %d: nouveau serveur, mais le prcdent tait incomplet\n" -#: src/common/weeconfig.c:1519 +#: src/common/weeconfig.c:1652 #, c-format msgid "%s %s, line %d: server '%s' already exists\n" msgstr "%s %s, ligne %d: le serveur '%s' existe dj\n" -#: src/common/weeconfig.c:1534 +#: src/common/weeconfig.c:1669 #, c-format msgid "%s %s, line %d: unable to create server\n" msgstr "%s %s, ligne %d: impossible de crer le serveur\n" -#: src/common/weeconfig.c:1574 +#: src/common/weeconfig.c:1709 #, c-format msgid "%s unable to assign default int with string (\"%s\")\n" msgstr "" "%s impossible d'assigner la valeur entire par dfaut avec la chane (\"%s" "\")\n" -#: src/common/weeconfig.c:1585 +#: src/common/weeconfig.c:1720 #, c-format msgid "%s unable to assign default color (\"%s\")\n" msgstr "%s impossible d'assigner la couleur par dfaut (\"%s\")\n" -#: src/common/weeconfig.c:1623 +#: src/common/weeconfig.c:1758 #, c-format msgid "%s config file \"%s\" not found.\n" msgstr "%s fichier de configuration \"%s\" non trouv.\n" -#: src/common/weeconfig.c:1655 +#: src/common/weeconfig.c:1790 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"]\"\n" msgstr "%s %s, ligne %d: syntaxe invalide, il manque \"]\"\n" -#: src/common/weeconfig.c:1672 +#: src/common/weeconfig.c:1807 #, c-format msgid "%s %s, line %d: unknown section identifier (\"%s\")\n" msgstr "%s %s, ligne %d: section inconnue (\"%s\")\n" -#: src/common/weeconfig.c:1690 +#: src/common/weeconfig.c:1825 #, c-format msgid "%s %s, line %d: invalid section for option, line is ignored\n" msgstr "%s %s, ligne %d: section invalide pour l'option, ligne ignore\n" -#: src/common/weeconfig.c:1772 src/common/weeconfig.c:1798 +#: src/common/weeconfig.c:1907 src/common/weeconfig.c:1933 #, c-format msgid "%s %s, line %d: invalid option \"%s\"\n" msgstr "%s %s, ligne %d: option \"%s\" invalide\n" -#: src/common/weeconfig.c:1778 +#: src/common/weeconfig.c:1913 #, c-format msgid "%s %s, line %d: invalid ignore options \"%s\"\n" msgstr "%s %s, ligne %d: options \"%s\" invalides pour le ignore\n" -#: src/common/weeconfig.c:1809 +#: src/common/weeconfig.c:1944 #, c-format msgid "" "%s %s, line %d: invalid value foroption '%s'\n" @@ -5084,7 +5157,7 @@ msgstr "" "%s %s, ligne %d: valeur invalide pour l'option '%s'\n" "Attendu: valeur boolenne: 'off' ou 'on'\n" -#: src/common/weeconfig.c:1818 +#: src/common/weeconfig.c:1953 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" @@ -5093,7 +5166,7 @@ msgstr "" "%s %s, ligne %d: valeur invalide pour l'option '%s'\n" "Attendu: entier compris entre %d et %d\n" -#: src/common/weeconfig.c:1829 +#: src/common/weeconfig.c:1964 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" @@ -5102,21 +5175,21 @@ msgstr "" "%s %s, ligne %d: valeur invalide pour l'option '%s'\n" "Attendu: une de ces chanes: " -#: src/common/weeconfig.c:1845 +#: src/common/weeconfig.c:1980 #, c-format msgid "%s %s, line %d: invalid color name for option '%s'\n" msgstr "%s %s, ligne %d: nom de couleur invalide pour l'option '%s'\n" -#: src/common/weeconfig.c:1914 +#: src/common/weeconfig.c:2049 #, c-format msgid "%s: creating default config file...\n" msgstr "%s: cration du fichier de configuration par dfaut...\n" -#: src/common/weeconfig.c:1915 +#: src/common/weeconfig.c:2050 msgid "Creating default config file\n" msgstr "Cration du fichier de configuration par dfaut\n" -#: src/common/weeconfig.c:1918 src/common/weeconfig.c:2119 +#: src/common/weeconfig.c:2053 src/common/weeconfig.c:2258 #, c-format msgid "" "#\n" @@ -5125,7 +5198,7 @@ msgstr "" "#\n" "# %s: fichier de configuration, cr par %s v%s le %s" -#: src/common/weeconfig.c:1922 src/common/weeconfig.c:2123 +#: src/common/weeconfig.c:2057 src/common/weeconfig.c:2262 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -5136,6 +5209,6 @@ msgstr "" "quittant.\n" "#\n" -#: src/common/weeconfig.c:2116 +#: src/common/weeconfig.c:2255 msgid "Saving config to disk\n" msgstr "Sauvegarde de la configuration sur disque\n" diff --git a/weechat/po/weechat.pot b/weechat/po/weechat.pot index 1e353a84a..3c565fdaa 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-06 18:33+0100\n" +"POT-Creation-Date: 2005-12-11 01:50+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" @@ -15,154 +15,154 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: src/irc/irc-server.c:179 src/common/weeconfig.c:2054 +#: src/irc/irc-server.c:182 src/common/weeconfig.c:2189 msgid "Unable to get user's name" msgstr "" -#: src/irc/irc-server.c:247 +#: src/irc/irc-server.c:250 #, c-format msgid "%s cannot allocate new server\n" msgstr "" -#: src/irc/irc-server.c:464 +#: src/irc/irc-server.c:563 #, c-format msgid "%s error sending data to IRC server\n" msgstr "" -#: src/irc/irc-server.c:487 src/irc/irc-server.c:500 src/irc/irc-server.c:547 -#: src/irc/irc-server.c:560 +#: src/irc/irc-server.c:585 src/irc/irc-server.c:598 src/irc/irc-server.c:645 +#: src/irc/irc-server.c:658 #, c-format msgid "%s not enough memory for received IRC message\n" msgstr "" -#: src/irc/irc-server.c:672 +#: src/irc/irc-server.c:770 #, c-format msgid "%s Command \"%s\" failed!\n" msgstr "" -#: src/irc/irc-server.c:678 +#: src/irc/irc-server.c:776 #, c-format msgid "%s No command to execute!\n" msgstr "" -#: src/irc/irc-server.c:684 +#: src/irc/irc-server.c:782 #, c-format msgid "%s Unknown command: cmd=\"%s\", host=\"%s\", args=\"%s\"\n" msgstr "" -#: src/irc/irc-server.c:735 +#: src/irc/irc-server.c:833 #, c-format msgid "%s cannot read data from socket, disconnecting from server...\n" msgstr "" -#: src/irc/irc-server.c:816 +#: src/irc/irc-server.c:914 #, c-format msgid "%s: Reconnecting to server in %d seconds\n" msgstr "" -#: src/irc/irc-server.c:850 +#: src/irc/irc-server.c:948 #, c-format msgid "%s gnutls handshake failed\n" msgstr "" -#: src/irc/irc-server.c:867 +#: src/irc/irc-server.c:965 #, c-format msgid "%s proxy address \"%s\" not found\n" msgstr "" -#: src/irc/irc-server.c:871 +#: src/irc/irc-server.c:969 #, c-format msgid "%s address \"%s\" not found\n" msgstr "" -#: src/irc/irc-server.c:881 +#: src/irc/irc-server.c:979 #, c-format msgid "%s proxy IP address not found\n" msgstr "" -#: src/irc/irc-server.c:884 +#: src/irc/irc-server.c:982 #, c-format msgid "%s IP address not found\n" msgstr "" -#: src/irc/irc-server.c:893 +#: src/irc/irc-server.c:991 #, c-format msgid "%s proxy connection refused\n" msgstr "" -#: src/irc/irc-server.c:896 +#: src/irc/irc-server.c:994 #, c-format msgid "%s connection refused\n" msgstr "" -#: src/irc/irc-server.c:904 +#: src/irc/irc-server.c:1002 #, c-format msgid "" "%s proxy fails to establish connection to server (check username/password if " "used)\n" msgstr "" -#: src/irc/irc-server.c:1383 +#: src/irc/irc-server.c:1481 #, c-format msgid "" "%s cannot connect with SSL since WeeChat was not built with GNUtls support\n" msgstr "" -#: src/irc/irc-server.c:1392 +#: src/irc/irc-server.c:1490 #, c-format msgid "%s: connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "" -#: src/irc/irc-server.c:1398 +#: src/irc/irc-server.c:1496 #, c-format msgid "Connecting to server %s:%d%s%s via %s proxy %s:%d%s...\n" msgstr "" -#: src/irc/irc-server.c:1408 +#: src/irc/irc-server.c:1506 #, c-format msgid "%s: connecting to server %s:%d%s%s...\n" msgstr "" -#: src/irc/irc-server.c:1412 +#: src/irc/irc-server.c:1510 #, c-format msgid "Connecting to server %s:%d%s%s...\n" msgstr "" -#: src/irc/irc-server.c:1430 +#: src/irc/irc-server.c:1528 #, c-format msgid "%s gnutls init error\n" msgstr "" -#: src/irc/irc-server.c:1445 +#: src/irc/irc-server.c:1543 #, c-format msgid "%s cannot create pipe\n" msgstr "" -#: src/irc/irc-server.c:1460 +#: src/irc/irc-server.c:1558 #, c-format msgid "%s cannot create socket\n" msgstr "" -#: src/irc/irc-server.c:1471 +#: src/irc/irc-server.c:1569 #, c-format msgid "%s cannot set socket option \"SO_REUSEADDR\"\n" msgstr "" -#: src/irc/irc-server.c:1482 +#: src/irc/irc-server.c:1580 #, c-format msgid "%s cannot set socket option \"SO_KEEPALIVE\"\n" msgstr "" -#: src/irc/irc-server.c:1513 +#: src/irc/irc-server.c:1611 #, c-format msgid "%s: Reconnecting to server...\n" msgstr "" -#: src/irc/irc-server.c:1563 src/irc/irc-server.c:1572 +#: src/irc/irc-server.c:1661 src/irc/irc-server.c:1670 msgid "Disconnected from server!\n" msgstr "" -#: src/irc/irc-channel.c:51 +#: src/irc/irc-channel.c:53 #, c-format msgid "%s cannot allocate new channel" msgstr "" @@ -1271,7 +1271,7 @@ msgstr "" msgid " (temporary server, will not be saved)" msgstr "" -#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3173 +#: src/irc/irc-display.c:196 src/irc/irc-display.c:225 src/irc/irc-recv.c:3175 msgid "seconds" msgstr "" @@ -1279,7 +1279,7 @@ msgstr "" msgid "(hidden)" msgstr "" -#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4699 +#: src/irc/irc-send.c:59 src/irc/irc-recv.c:4701 msgid "unknown" msgstr "" @@ -1288,7 +1288,7 @@ msgstr "" msgid "%s: using local hostname \"%s\"\n" msgstr "" -#: src/irc/irc-send.c:177 src/common/command.c:800 +#: src/irc/irc-send.c:177 src/common/command.c:808 #, 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:1392 src/common/command.c:1877 -#: src/common/command.c:2013 +#: src/common/command.c:1599 src/common/command.c:2097 +#: src/common/command.c:2236 #, c-format msgid "%s wrong argument count for \"%s\" command\n" msgstr "" @@ -1343,8 +1343,8 @@ msgid "You have been invited to %s%s%s by %s%s\n" msgstr "" #: src/irc/irc-recv.c:376 src/irc/irc-recv.c:470 src/irc/irc-recv.c:1009 -#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3545 -#: src/irc/irc-recv.c:3566 src/irc/irc-recv.c:3626 src/irc/irc-recv.c:3697 +#: src/irc/irc-recv.c:1388 src/irc/irc-recv.c:1647 src/irc/irc-recv.c:3547 +#: src/irc/irc-recv.c:3568 src/irc/irc-recv.c:3628 src/irc/irc-recv.c:3699 #, c-format msgid "%s channel \"%s\" not found for \"%s\" command\n" msgstr "" @@ -1535,7 +1535,7 @@ msgstr "" msgid "CTCP %sPING%s reply from %s%s%s: %ld.%ld seconds\n" msgstr "" -#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1214 +#: src/irc/irc-recv.c:1254 src/irc/irc-recv.c:2158 src/irc/irc-dcc.c:1217 #, c-format msgid "Private %s> %s" msgstr "" @@ -1584,12 +1584,12 @@ msgstr "" #: src/irc/irc-recv.c:1812 src/irc/irc-recv.c:1838 src/irc/irc-recv.c:1859 #: src/irc/irc-recv.c:1875 src/irc/irc-recv.c:1900 src/irc/irc-recv.c:1921 #: src/irc/irc-recv.c:1937 src/irc/irc-recv.c:1962 src/irc/irc-recv.c:1983 -#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2522 -#: src/irc/irc-recv.c:3904 src/irc/irc-recv.c:3919 src/irc/irc-recv.c:3934 -#: src/irc/irc-recv.c:3949 src/irc/irc-recv.c:3962 src/irc/irc-recv.c:4027 -#: src/irc/irc-recv.c:4041 src/irc/irc-recv.c:4275 src/irc/irc-recv.c:4333 -#: src/irc/irc-recv.c:4471 src/irc/irc-recv.c:4486 src/irc/irc-recv.c:4592 -#: src/irc/irc-recv.c:4606 +#: src/irc/irc-recv.c:1998 src/irc/irc-recv.c:2181 src/irc/irc-recv.c:2524 +#: src/irc/irc-recv.c:3906 src/irc/irc-recv.c:3921 src/irc/irc-recv.c:3936 +#: src/irc/irc-recv.c:3951 src/irc/irc-recv.c:3964 src/irc/irc-recv.c:4029 +#: src/irc/irc-recv.c:4043 src/irc/irc-recv.c:4277 src/irc/irc-recv.c:4335 +#: src/irc/irc-recv.c:4473 src/irc/irc-recv.c:4488 src/irc/irc-recv.c:4594 +#: src/irc/irc-recv.c:4608 #, c-format msgid "%s cannot parse \"%s\" command\n" msgstr "" @@ -1601,201 +1601,201 @@ msgstr "" #: src/irc/irc-recv.c:2228 #, c-format -msgid "%s%s %s(%s%s%s)%s has quit %s(%s%s%s)\n" +msgid "%s%s %s(%s%s%s)%s has quit" msgstr "" -#: src/irc/irc-recv.c:2358 +#: src/irc/irc-recv.c:2360 #, c-format msgid "%s \"%s\" command received without channel\n" msgstr "" -#: src/irc/irc-recv.c:2387 +#: src/irc/irc-recv.c:2389 #, c-format msgid "%s%s%s has changed topic for %s%s%s to:" msgstr "" -#: src/irc/irc-recv.c:2398 +#: src/irc/irc-recv.c:2400 #, c-format msgid "%s%s%s has unset topic for %s%s\n" msgstr "" -#: src/irc/irc-recv.c:2508 +#: src/irc/irc-recv.c:2510 #, c-format msgid "User mode %s[%s%s%s/%s%s%s]\n" msgstr "" -#: src/irc/irc-recv.c:2563 +#: src/irc/irc-recv.c:2565 #, c-format msgid "%s%s%s is away: %s\n" msgstr "" -#: src/irc/irc-recv.c:2648 +#: src/irc/irc-recv.c:2650 msgid "Users online: " msgstr "" -#: src/irc/irc-recv.c:3024 +#: src/irc/irc-recv.c:3026 #, c-format msgid "%s%s %s(%s%s@%s%s)%s was %s\n" msgstr "" -#: src/irc/irc-recv.c:3145 +#: src/irc/irc-recv.c:3147 #, c-format msgid "%s[%s%s%s]%s idle: " msgstr "" -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "days" msgstr "" -#: src/irc/irc-recv.c:3157 src/common/command.c:2916 src/common/command.c:2937 +#: src/irc/irc-recv.c:3159 src/common/command.c:3158 src/common/command.c:3176 msgid "day" msgstr "" -#: src/irc/irc-recv.c:3161 +#: src/irc/irc-recv.c:3163 #, c-format msgid "%s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s" msgstr "" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hours" msgstr "" -#: src/irc/irc-recv.c:3165 +#: src/irc/irc-recv.c:3167 msgid "hour" msgstr "" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minutes" msgstr "" -#: src/irc/irc-recv.c:3169 +#: src/irc/irc-recv.c:3171 msgid "minute" msgstr "" -#: src/irc/irc-recv.c:3173 +#: src/irc/irc-recv.c:3175 msgid "second" msgstr "" -#: src/irc/irc-recv.c:3557 +#: src/irc/irc-recv.c:3559 #, c-format msgid "No topic set for %s%s\n" msgstr "" -#: src/irc/irc-recv.c:3613 +#: src/irc/irc-recv.c:3615 #, c-format msgid "Topic for %s%s%s is: \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:3636 src/irc/irc-recv.c:3724 src/irc/irc-recv.c:3779 +#: src/irc/irc-recv.c:3638 src/irc/irc-recv.c:3726 src/irc/irc-recv.c:3781 #, c-format msgid "%s cannot identify channel for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:3686 +#: src/irc/irc-recv.c:3688 #, c-format msgid "Topic set by %s%s%s, %s" msgstr "" -#: src/irc/irc-recv.c:3706 +#: src/irc/irc-recv.c:3708 #, c-format msgid "%s cannot identify date/time for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:3715 src/irc/irc-recv.c:3788 +#: src/irc/irc-recv.c:3717 src/irc/irc-recv.c:3790 #, c-format msgid "%s cannot identify nickname for \"%s\" command\n" msgstr "" -#: src/irc/irc-recv.c:3764 +#: src/irc/irc-recv.c:3766 #, c-format msgid "%s%s%s has invited %s%s%s on %s%s\n" msgstr "" -#: src/irc/irc-recv.c:3824 +#: src/irc/irc-recv.c:3826 #, c-format msgid "Channel reop %s%s%s: %s%s\n" msgstr "" -#: src/irc/irc-recv.c:4321 +#: src/irc/irc-recv.c:4323 #, c-format msgid "%s cannot create nick \"%s\" for channel \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:4379 +#: src/irc/irc-recv.c:4381 #, c-format msgid "Nicks %s%s%s: %s[" msgstr "" -#: src/irc/irc-recv.c:4400 +#: src/irc/irc-recv.c:4402 #, c-format msgid "" "Channel %s%s%s: %s%d%s %s %s(%s%d%s %s, %s%d%s %s, %s%d%s %s, %s%d%s %s%s)\n" msgstr "" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nicks" msgstr "" -#: src/irc/irc-recv.c:4408 +#: src/irc/irc-recv.c:4410 msgid "nick" msgstr "" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "ops" msgstr "" -#: src/irc/irc-recv.c:4413 +#: src/irc/irc-recv.c:4415 msgid "op" msgstr "" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfops" msgstr "" -#: src/irc/irc-recv.c:4417 +#: src/irc/irc-recv.c:4419 msgid "halfop" msgstr "" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voices" msgstr "" -#: src/irc/irc-recv.c:4421 +#: src/irc/irc-recv.c:4423 msgid "voice" msgstr "" -#: src/irc/irc-recv.c:4425 +#: src/irc/irc-recv.c:4427 msgid "normal" msgstr "" -#: src/irc/irc-recv.c:4526 +#: src/irc/irc-recv.c:4528 #, c-format msgid "%s[%s%s%s] %s%s%s banned by " msgstr "" -#: src/irc/irc-recv.c:4561 +#: src/irc/irc-recv.c:4563 #, c-format msgid "%s[%s%s%s] %s%s%s banned\n" msgstr "" -#: src/irc/irc-recv.c:4653 +#: src/irc/irc-recv.c:4655 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 2nd nickname \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:4665 +#: src/irc/irc-recv.c:4667 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 3rd nickname \"%s\"\n" msgstr "" -#: src/irc/irc-recv.c:4677 +#: src/irc/irc-recv.c:4679 #, c-format msgid "" "%s: all declared nicknames are already in use, closing connection with " "server!\n" msgstr "" -#: src/irc/irc-recv.c:4687 +#: src/irc/irc-recv.c:4689 #, c-format msgid "%s: nickname \"%s\" is already in use, trying 1st nickname \"%s\"\n" msgstr "" @@ -1946,19 +1946,19 @@ msgstr "" msgid "%s cannot send DCC\n" msgstr "" -#: src/irc/irc-dcc.c:1132 +#: src/irc/irc-dcc.c:1131 #, c-format msgid "%s error sending data to \"%s\" via DCC CHAT\n" msgstr "" -#: src/irc/irc-dcc.c:1411 +#: src/irc/irc-dcc.c:1416 #, c-format msgid "" "%s DCC failed because blocksize is too big. Check value of \"dcc_blocksize\" " "option, max is %d.\n" msgstr "" -#: src/irc/irc-dcc.c:1486 +#: src/irc/irc-dcc.c:1491 #, c-format msgid "Aborting active DCC: \"%s\" from %s\n" msgstr "" @@ -2076,13 +2076,13 @@ msgstr "" msgid "%s plugin \"%s\" not found\n" msgstr "" -#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1698 +#: src/plugins/plugins-config.c:215 src/common/weeconfig.c:1833 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"=\"\n" msgstr "" -#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:1908 -#: src/common/weeconfig.c:2110 +#: src/plugins/plugins-config.c:303 src/common/weeconfig.c:2043 +#: src/common/weeconfig.c:2249 #, c-format msgid "%s cannot create file \"%s\"\n" msgstr "" @@ -2112,68 +2112,68 @@ msgstr "" msgid "%s lag is high, disconnecting from server...\n" msgstr "" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "bytes" msgstr "" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Kb" msgstr "" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Mb" msgstr "" -#: src/gui/curses/gui-display.c:1478 +#: src/gui/curses/gui-display.c:1476 msgid "Gb" msgstr "" -#: src/gui/curses/gui-display.c:1600 +#: src/gui/curses/gui-display.c:1594 msgid "ETA" msgstr "" -#: src/gui/curses/gui-display.c:1945 +#: src/gui/curses/gui-display.c:1941 msgid "<servers>" msgstr "" -#: src/gui/curses/gui-display.c:1957 +#: src/gui/curses/gui-display.c:1953 msgid "(away)" msgstr "" -#: src/gui/curses/gui-display.c:2091 +#: src/gui/curses/gui-display.c:2087 msgid "[not connected] " msgstr "" -#: src/gui/curses/gui-display.c:2101 +#: src/gui/curses/gui-display.c:2097 msgid "Act: " msgstr "" -#: src/gui/curses/gui-display.c:2189 +#: src/gui/curses/gui-display.c:2185 #, c-format msgid "Lag: %.1f" msgstr "" -#: src/gui/curses/gui-display.c:2205 +#: src/gui/curses/gui-display.c:2201 msgid "-MORE-" msgstr "" -#: src/gui/curses/gui-display.c:2378 +#: src/gui/curses/gui-display.c:2374 msgid " [A] Accept" msgstr "" -#: src/gui/curses/gui-display.c:2379 src/gui/curses/gui-display.c:2383 +#: src/gui/curses/gui-display.c:2375 src/gui/curses/gui-display.c:2379 msgid " [C] Cancel" msgstr "" -#: src/gui/curses/gui-display.c:2388 +#: src/gui/curses/gui-display.c:2384 msgid " [R] Remove" msgstr "" -#: src/gui/curses/gui-display.c:2392 +#: src/gui/curses/gui-display.c:2388 msgid " [P] Purge old DCC" msgstr "" -#: src/gui/curses/gui-display.c:2393 +#: src/gui/curses/gui-display.c:2389 msgid " [Q] Close DCC view" msgstr "" @@ -2181,11 +2181,11 @@ msgstr "" msgid "server" msgstr "" -#: src/gui/gui-common.c:696 +#: src/gui/gui-common.c:716 msgid "Not enough memory for new line\n" msgstr "" -#: src/gui/gui-common.c:1047 +#: src/gui/gui-common.c:1054 msgid "Not enough memory for infobar message\n" msgstr "" @@ -2349,7 +2349,7 @@ msgstr "" msgid "grab a key" msgstr "" -#: src/gui/gui-keyboard.c:434 src/common/command.c:1892 +#: src/gui/gui-keyboard.c:434 src/common/command.c:2112 #, c-format msgid "%s unable to bind key \"%s\"\n" msgstr "" @@ -2364,30 +2364,30 @@ msgstr "" msgid "%s not enough memory for key binding\n" msgstr "" -#: src/common/command.c:44 +#: src/common/command.c:45 msgid "create an alias for a command" msgstr "" -#: src/common/command.c:45 +#: src/common/command.c:46 msgid "[alias_name [command [arguments]]" msgstr "" -#: src/common/command.c:46 +#: src/common/command.c:47 msgid "" "alias_name: name of alias\n" "command: command name (WeeChat or IRC command, without first '/')\n" "arguments: arguments for command" msgstr "" -#: src/common/command.c:49 +#: src/common/command.c:50 msgid "manage buffers" msgstr "" -#: src/common/command.c:50 +#: src/common/command.c:51 msgid "[action | number | [[server] [channel]]]" msgstr "" -#: src/common/command.c:51 +#: src/common/command.c:52 msgid "" "action: action to do:\n" " move: move buffer in the list (may be relative, for example -1)\n" @@ -2399,88 +2399,103 @@ msgid "" "number: jump to buffer by number" msgstr "" -#: src/common/command.c:59 +#: src/common/command.c:60 +msgid "change charset for server or channel" +msgstr "" + +#: src/common/command.c:61 +msgid "[(decode_iso | decode_utf | encode) charset]" +msgstr "" + +#: src/common/command.c:62 +msgid "" +"decode_iso: charset used for decoding ISO\n" +"decode_utf: charset used for decoding UTF\n" +" encode: charset used for encoding messages" +msgstr "" + +#: src/common/command.c:66 msgid "clear window(s)" msgstr "" -#: src/common/command.c:60 +#: src/common/command.c:67 msgid "[-all]" msgstr "" -#: src/common/command.c:61 +#: src/common/command.c:68 msgid "-all: clear all windows" msgstr "" -#: src/common/command.c:63 +#: src/common/command.c:70 msgid "connect to a server" msgstr "" -#: src/common/command.c:64 src/common/command.c:68 +#: src/common/command.c:71 src/common/command.c:75 msgid "[servername]" msgstr "" -#: src/common/command.c:65 +#: src/common/command.c:72 msgid "servername: server name to connect" msgstr "" -#: src/common/command.c:67 +#: src/common/command.c:74 msgid "disconnect from a server" msgstr "" -#: src/common/command.c:69 +#: src/common/command.c:76 msgid "servername: server name to disconnect" msgstr "" -#: src/common/command.c:71 +#: src/common/command.c:78 msgid "print debug messages" msgstr "" -#: src/common/command.c:72 +#: src/common/command.c:79 msgid "dump | windows" msgstr "" -#: src/common/command.c:73 +#: src/common/command.c:80 msgid "" "dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" "windows: display windows tree" msgstr "" -#: src/common/command.c:76 +#: src/common/command.c:83 msgid "display help about commands" msgstr "" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "[command]" msgstr "" -#: src/common/command.c:77 +#: src/common/command.c:84 msgid "command: name of a WeeChat or IRC command" msgstr "" -#: src/common/command.c:79 +#: src/common/command.c:86 msgid "show buffer command history" msgstr "" -#: src/common/command.c:80 +#: src/common/command.c:87 msgid "[clear | value]" msgstr "" -#: src/common/command.c:81 +#: src/common/command.c:88 msgid "" "clear: clear history\n" "value: number of history entries to show" msgstr "" -#: src/common/command.c:84 +#: src/common/command.c:91 msgid "ignore IRC messages and/or hosts" msgstr "" -#: src/common/command.c:85 +#: src/common/command.c:92 msgid "[mask [[type | command] [channel [server]]]]" msgstr "" -#: src/common/command.c:86 +#: src/common/command.c:93 msgid "" " mask: nick or host mask to ignore\n" " type: type of message to ignore (action, ctcp, dcc, pv)\n" @@ -2492,15 +2507,15 @@ msgid "" "Without argument, /ignore command lists all defined ignore." msgstr "" -#: src/common/command.c:94 +#: src/common/command.c:101 msgid "bind/unbind keys" msgstr "" -#: src/common/command.c:95 +#: src/common/command.c:102 msgid "[key function/command] [unbind key] [functions] [reset -yes]" msgstr "" -#: src/common/command.c:96 +#: src/common/command.c:103 msgid "" "key: bind this key to an internal function or a command (beginning by \"/" "\")\n" @@ -2510,26 +2525,26 @@ msgid "" "binding (use carefully!)" msgstr "" -#: src/common/command.c:101 +#: src/common/command.c:108 msgid "list/load/unload plugins" msgstr "" -#: src/common/command.c:102 +#: src/common/command.c:109 msgid "[load filename] | [autoload] | [reload] | [unload]" msgstr "" -#: src/common/command.c:103 +#: src/common/command.c:110 msgid "" "filename: WeeChat plugin (file) to load\n" "\n" "Without argument, /plugin command lists all loaded plugins." msgstr "" -#: src/common/command.c:106 +#: src/common/command.c:113 msgid "list, add or remove servers" msgstr "" -#: src/common/command.c:107 +#: src/common/command.c:114 msgid "" "[servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-" "pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname " @@ -2537,7 +2552,7 @@ msgid "" "servername]" msgstr "" -#: src/common/command.c:112 +#: src/common/command.c:119 msgid "" "servername: server name, for internal & display use\n" "hostname: name or IP address of server\n" @@ -2552,54 +2567,54 @@ msgid "" "realname: real name of user" msgstr "" -#: src/common/command.c:124 +#: src/common/command.c:131 msgid "save config to disk" msgstr "" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "[file]" msgstr "" -#: src/common/command.c:125 +#: src/common/command.c:132 msgid "file: filename for writing config" msgstr "" -#: src/common/command.c:127 +#: src/common/command.c:134 msgid "set config parameters" msgstr "" -#: src/common/command.c:128 +#: src/common/command.c:135 msgid "[option [ = value]]" msgstr "" -#: src/common/command.c:129 +#: src/common/command.c:136 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:133 +#: src/common/command.c:140 msgid "remove an alias" msgstr "" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name" msgstr "" -#: src/common/command.c:134 +#: src/common/command.c:141 msgid "alias_name: name of alias to remove" msgstr "" -#: src/common/command.c:136 +#: src/common/command.c:143 msgid "unignore IRC messages and/or hosts" msgstr "" -#: src/common/command.c:137 +#: src/common/command.c:144 msgid "[number | [mask [[type | command] [channel [server]]]]]" msgstr "" -#: src/common/command.c:138 +#: src/common/command.c:145 msgid "" " number: # of ignore to unignore (number is displayed by list of ignore)\n" " mask: nick or host mask to unignore\n" @@ -2612,33 +2627,33 @@ msgid "" "Without argument, /unignore command lists all defined ignore." msgstr "" -#: src/common/command.c:147 +#: src/common/command.c:154 msgid "upgrade WeeChat without disconnecting from servers" msgstr "" -#: src/common/command.c:151 +#: src/common/command.c:158 msgid "show WeeChat uptime" msgstr "" -#: src/common/command.c:152 +#: src/common/command.c:159 msgid "[-o]" msgstr "" -#: src/common/command.c:153 +#: src/common/command.c:160 msgid "-o: send uptime on current channel as an IRC message" msgstr "" -#: src/common/command.c:155 +#: src/common/command.c:162 msgid "manage windows" msgstr "" -#: src/common/command.c:156 +#: src/common/command.c:163 msgid "" "[list | -1 | +1 | b# | splith [pct] | splitv [pct] | resize pct | merge " "[all]]" msgstr "" -#: src/common/command.c:157 +#: src/common/command.c:164 #, c-format msgid "" "list: list opened windows (no parameter implies this list)\n" @@ -2655,540 +2670,557 @@ msgid "" "create a new window with size = current_size / 4" msgstr "" -#: src/common/command.c:310 +#: src/common/command.c:317 #, c-format msgid "%s alias or command \"%s\" already exists!\n" msgstr "" -#: src/common/command.c:320 +#: src/common/command.c:327 #, c-format msgid "%s alias cannot run another alias!\n" msgstr "" -#: src/common/command.c:327 +#: src/common/command.c:334 #, c-format msgid "%s target command \"/%s\" does not exist!\n" msgstr "" -#: src/common/command.c:565 +#: src/common/command.c:572 #, c-format msgid "%s wrong argument count for %s command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:577 +#: src/common/command.c:584 #, c-format msgid "" "%s wrong argument count for %s command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:599 src/common/command.c:668 +#: src/common/command.c:606 src/common/command.c:675 #, c-format msgid "%s command \"%s\" failed\n" msgstr "" -#: src/common/command.c:624 +#: src/common/command.c:631 #, c-format msgid "%s wrong argument count for IRC command \"%s\" (expected: %d arg%s)\n" msgstr "" -#: src/common/command.c:636 +#: src/common/command.c:643 #, c-format msgid "" "%s wrong argument count for IRC command \"%s\" (expected: between %d and %d " "arg%s)\n" msgstr "" -#: src/common/command.c:651 +#: src/common/command.c:658 #, c-format msgid "%s command \"%s\" needs a server connection!\n" msgstr "" -#: src/common/command.c:711 +#: src/common/command.c:719 #, c-format msgid "%s unknown command \"%s\" (type /help for help)\n" msgstr "" -#: src/common/command.c:845 +#: src/common/command.c:853 msgid "This window is not a channel!\n" msgstr "" -#: src/common/command.c:873 src/common/command.c:904 src/common/command.c:1019 +#: src/common/command.c:884 src/common/command.c:915 src/common/command.c:1030 #, c-format msgid "%s missing arguments for \"%s\" command\n" msgstr "" -#: src/common/command.c:880 +#: src/common/command.c:891 #, c-format msgid "%s alias can not start with \"/\"\n" msgstr "" -#: src/common/command.c:889 +#: src/common/command.c:900 #, c-format msgid "Alias \"%s\" => \"%s\" created\n" msgstr "" -#: src/common/command.c:895 +#: src/common/command.c:906 #, c-format msgid "Failed to create alias \"%s\" => \"%s\" (not enough memory)\n" msgstr "" -#: src/common/command.c:915 +#: src/common/command.c:926 msgid "List of aliases:\n" msgstr "" -#: src/common/command.c:929 +#: src/common/command.c:940 msgid "No alias defined.\n" msgstr "" -#: src/common/command.c:948 +#: src/common/command.c:959 #, c-format msgid "%sServer: %s%s\n" msgstr "" -#: src/common/command.c:953 +#: src/common/command.c:964 #, c-format msgid "%snot connected\n" msgstr "" -#: src/common/command.c:957 +#: src/common/command.c:968 #, c-format msgid "%sChannel: %s%s %s(server: %s%s%s)\n" msgstr "" -#: src/common/command.c:966 +#: src/common/command.c:977 #, c-format msgid "%sPrivate with: %s%s %s(server: %s%s%s)\n" msgstr "" -#: src/common/command.c:975 +#: src/common/command.c:986 #, c-format msgid "%sunknown\n" msgstr "" -#: src/common/command.c:998 +#: src/common/command.c:1009 msgid "Opened buffers:\n" msgstr "" -#: src/common/command.c:1042 +#: src/common/command.c:1053 #, c-format msgid "%s incorrect buffer number\n" msgstr "" -#: src/common/command.c:1058 +#: src/common/command.c:1069 #, c-format msgid "%s can not close the single buffer\n" msgstr "" -#: src/common/command.c:1068 +#: src/common/command.c:1079 #, c-format msgid "%s can not close server buffer while channels are opened\n" msgstr "" -#: src/common/command.c:1117 +#: src/common/command.c:1128 msgid "Notify levels: " msgstr "" -#: src/common/command.c:1146 src/common/command.c:1194 +#: src/common/command.c:1157 src/common/command.c:1205 #, c-format msgid "%s incorrect notify level (must be between %d and %d)\n" msgstr "" -#: src/common/command.c:1155 +#: src/common/command.c:1166 #, c-format msgid "%s incorrect buffer for notify (must be channel or private)\n" msgstr "" -#: src/common/command.c:1164 +#: src/common/command.c:1175 #, c-format msgid "New notify level for %s%s%s: %s%d %s" msgstr "" -#: src/common/command.c:1174 +#: src/common/command.c:1185 msgid "(hotlist: never)\n" msgstr "" -#: src/common/command.c:1177 +#: src/common/command.c:1188 msgid "(hotlist: highlights)\n" msgstr "" -#: src/common/command.c:1180 +#: src/common/command.c:1191 msgid "(hotlist: highlights + messages)\n" msgstr "" -#: src/common/command.c:1183 +#: src/common/command.c:1194 msgid "(hotlist: highlights + messages + join/part (all))\n" msgstr "" -#: src/common/command.c:1280 +#: src/common/command.c:1293 #, c-format -msgid "unknown parameter \"%s\" for \"%s\" command\n" +msgid "Charsets for server %s%s%s: " msgstr "" -#: src/common/command.c:1310 +#: src/common/command.c:1301 #, c-format -msgid "%s already connected to server \"%s\"!\n" +msgid "Charsets for channel %s%s%s: " msgstr "" -#: src/common/command.c:1318 +#: src/common/command.c:1309 #, c-format -msgid "%s currently connecting to server \"%s\"!\n" +msgid "Charsets for private %s%s%s: " msgstr "" -#: src/common/command.c:1336 src/common/command.c:1456 +#: src/common/command.c:1337 src/common/command.c:1367 +#: src/common/command.c:1397 #, c-format -msgid "%s server not found\n" +msgid " (inherited: \"%s%s%s\")" msgstr "" -#: src/common/command.c:1411 src/common/command.c:2006 -#: src/common/command.c:3047 src/common/command.c:3090 +#: src/common/command.c:1461 src/common/command.c:1484 +#: src/common/command.c:1618 src/common/command.c:2229 +#: src/common/command.c:3286 src/common/command.c:3329 #, c-format msgid "%s unknown option for \"%s\" command\n" msgstr "" -#: src/common/command.c:1440 +#: src/common/command.c:1514 +#, c-format +msgid "%s already connected to server \"%s\"!\n" +msgstr "" + +#: src/common/command.c:1522 +#, c-format +msgid "%s currently connecting to server \"%s\"!\n" +msgstr "" + +#: src/common/command.c:1540 src/common/command.c:1663 +#, c-format +msgid "%s server not found\n" +msgstr "" + +#: src/common/command.c:1647 #, c-format msgid "%s not connected to server \"%s\"!\n" msgstr "" -#: src/common/command.c:1448 +#: src/common/command.c:1655 msgid "Auto-reconnection is cancelled\n" msgstr "" -#: src/common/command.c:1479 src/common/weechat.c:400 +#: src/common/command.c:1689 src/common/weechat.c:400 #, c-format msgid "%s internal commands:\n" msgstr "" -#: src/common/command.c:1489 src/common/weechat.c:420 +#: src/common/command.c:1699 src/common/weechat.c:420 #, c-format msgid "IRC commands:\n" msgstr "" -#: src/common/command.c:1503 +#: src/common/command.c:1713 msgid "Plugin commands:\n" msgstr "" -#: src/common/command.c:1619 +#: src/common/command.c:1829 #, c-format msgid "No help available, \"%s\" is an unknown command\n" msgstr "" -#: src/common/command.c:1678 +#: src/common/command.c:1895 #, c-format msgid "%son %s%s%s/%s%s%s:%s ignoring %s%s%s from %s%s\n" msgstr "" -#: src/common/command.c:1712 +#: src/common/command.c:1929 msgid "List of ignore:\n" msgstr "" -#: src/common/command.c:1729 +#: src/common/command.c:1946 msgid "No ignore defined.\n" msgstr "" -#: src/common/command.c:1755 +#: src/common/command.c:1972 msgid "New ignore:" msgstr "" -#: src/common/command.c:1775 +#: src/common/command.c:1992 #, c-format msgid "New key binding: %s" msgstr "" -#: src/common/command.c:1809 +#: src/common/command.c:2029 msgid "Key bindings:\n" msgstr "" -#: src/common/command.c:1823 +#: src/common/command.c:2043 #, c-format msgid "Key \"%s\" unbinded\n" msgstr "" -#: src/common/command.c:1829 +#: src/common/command.c:2049 #, c-format msgid "%s unable to unbind key \"%s\"\n" msgstr "" -#: src/common/command.c:1837 src/common/weechat.c:452 +#: src/common/command.c:2057 src/common/weechat.c:452 #, c-format msgid "Internal key functions:\n" msgstr "" -#: src/common/command.c:1857 +#: src/common/command.c:2077 msgid "Default key bindings restored\n" msgstr "" -#: src/common/command.c:1863 +#: src/common/command.c:2083 #, c-format msgid "%s \"-yes\" argument is required for keys reset (securuty reason)\n" msgstr "" -#: src/common/command.c:1919 +#: src/common/command.c:2142 msgid "Plugins loaded:\n" msgstr "" -#: src/common/command.c:1935 +#: src/common/command.c:2158 msgid " message handlers:\n" msgstr "" -#: src/common/command.c:1944 +#: src/common/command.c:2167 #, c-format msgid " IRC(%s)\n" msgstr "" -#: src/common/command.c:1951 +#: src/common/command.c:2174 msgid " (no message handler)\n" msgstr "" -#: src/common/command.c:1956 +#: src/common/command.c:2179 msgid " command handlers:\n" msgstr "" -#: src/common/command.c:1977 +#: src/common/command.c:2200 msgid " (no command handler)\n" msgstr "" -#: src/common/command.c:1983 +#: src/common/command.c:2206 msgid " (no plugin)\n" msgstr "" -#: src/common/command.c:2019 +#: src/common/command.c:2242 msgid "" "Command \"plugin\" is not available, WeeChat was built without plugins " "support.\n" msgstr "" -#: src/common/command.c:2067 +#: src/common/command.c:2293 msgid "No server.\n" msgstr "" -#: src/common/command.c:2078 +#: src/common/command.c:2304 #, c-format msgid "Server '%s' not found.\n" msgstr "" -#: src/common/command.c:2090 +#: src/common/command.c:2316 #, c-format msgid "%s missing servername for \"%s\" command\n" msgstr "" -#: src/common/command.c:2098 +#: src/common/command.c:2324 #, c-format msgid "%s too much arguments for \"%s\" command, ignoring arguments\n" msgstr "" -#: src/common/command.c:2117 +#: src/common/command.c:2343 #, c-format msgid "%s server \"%s\" not found for \"%s\" command\n" msgstr "" -#: src/common/command.c:2125 +#: src/common/command.c:2351 #, 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:2145 +#: src/common/command.c:2371 #, c-format msgid "Server %s%s%s has been deleted\n" msgstr "" -#: src/common/command.c:2164 +#: src/common/command.c:2390 #, c-format msgid "%s missing parameters for \"%s\" command\n" msgstr "" -#: src/common/command.c:2174 +#: src/common/command.c:2400 #, c-format msgid "%s server \"%s\" already exists, can't create it!\n" msgstr "" -#: src/common/command.c:2203 src/common/command.c:2231 -#: src/common/command.c:2244 src/common/command.c:2270 +#: src/common/command.c:2429 src/common/command.c:2457 +#: src/common/command.c:2470 src/common/command.c:2496 #, c-format msgid "%s missing password for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2216 +#: src/common/command.c:2442 #, c-format msgid "%s missing nick(s) for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2257 +#: src/common/command.c:2483 #, c-format msgid "%s missing command for \"%s\" parameter\n" msgstr "" -#: src/common/command.c:2292 +#: src/common/command.c:2519 #, c-format msgid "Server %s%s%s created\n" msgstr "" -#: src/common/command.c:2301 +#: src/common/command.c:2528 #, c-format msgid "%s unable to create server\n" msgstr "" -#: src/common/command.c:2360 +#: src/common/command.c:2587 msgid "(unknown)" msgstr "" -#: src/common/command.c:2383 +#: src/common/command.c:2610 #, c-format msgid "%s(password hidden) " msgstr "" -#: src/common/command.c:2473 +#: src/common/command.c:2706 #, c-format msgid "%s server \"%s\" not found\n" msgstr "" -#: src/common/command.c:2506 src/common/command.c:2554 +#: src/common/command.c:2739 src/common/command.c:2787 #, c-format msgid "%s config option \"%s\" not found\n" msgstr "" -#: src/common/command.c:2511 src/common/command.c:2546 +#: src/common/command.c:2744 src/common/command.c:2779 #, c-format msgid "%s incorrect value for option \"%s\"\n" msgstr "" -#: src/common/command.c:2527 +#: src/common/command.c:2760 #, c-format msgid "%s option \"%s\" can not be changed while WeeChat is running\n" msgstr "" -#: src/common/command.c:2637 +#: src/common/command.c:2870 #, c-format msgid "No config option found with \"%s\"\n" msgstr "" -#: src/common/command.c:2640 +#: src/common/command.c:2873 msgid "No config option found\n" msgstr "" -#: src/common/command.c:2647 +#: src/common/command.c:2880 #, c-format msgid "%sDetail:\n" msgstr "" -#: src/common/command.c:2652 src/common/weechat.c:336 +#: src/common/command.c:2885 src/common/weechat.c:336 #, c-format msgid " . type boolean (values: 'on' or 'off')\n" msgstr "" -#: src/common/command.c:2653 src/common/command.c:2676 -#: src/common/command.c:2682 src/common/command.c:2688 +#: src/common/command.c:2886 src/common/command.c:2909 +#: src/common/command.c:2915 src/common/command.c:2921 #: 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:2658 src/common/weechat.c:342 +#: src/common/command.c:2891 src/common/weechat.c:342 #, c-format msgid " . type integer (values: between %d and %d)\n" msgstr "" -#: src/common/command.c:2661 src/common/weechat.c:345 +#: src/common/command.c:2894 src/common/weechat.c:345 #, c-format msgid " . default value: %d\n" msgstr "" -#: src/common/command.c:2665 src/common/weechat.c:349 +#: src/common/command.c:2898 src/common/weechat.c:349 #, c-format msgid " . type string (values: " msgstr "" -#: src/common/command.c:2678 src/common/command.c:2684 -#: src/common/command.c:2690 src/common/weechat.c:362 src/common/weechat.c:368 +#: src/common/command.c:2911 src/common/command.c:2917 +#: src/common/command.c:2923 src/common/weechat.c:362 src/common/weechat.c:368 #: src/common/weechat.c:374 msgid "empty" msgstr "" -#: src/common/command.c:2681 src/common/weechat.c:365 +#: src/common/command.c:2914 src/common/weechat.c:365 #, c-format msgid " . type color (Curses or Gtk color, look at WeeChat doc)\n" msgstr "" -#: src/common/command.c:2687 src/common/weechat.c:371 +#: src/common/command.c:2920 src/common/weechat.c:371 #, c-format msgid " . type string (any string)\n" msgstr "" -#: src/common/command.c:2693 src/common/weechat.c:377 +#: src/common/command.c:2926 src/common/weechat.c:377 #, c-format msgid " . description: %s\n" msgstr "" -#: src/common/command.c:2704 +#: src/common/command.c:2937 #, c-format msgid "config option(s) found with \"%s\"\n" msgstr "" -#: src/common/command.c:2707 +#: src/common/command.c:2940 msgid "config option(s) found\n" msgstr "" -#: src/common/command.c:2728 +#: src/common/command.c:2964 #, c-format msgid "%s alias or command \"%s\" not found\n" msgstr "" -#: src/common/command.c:2738 +#: src/common/command.c:2974 #, c-format msgid "Alias \"%s\" removed\n" msgstr "" -#: src/common/command.c:2794 +#: src/common/command.c:3030 msgid "ignore were removed.\n" msgstr "" -#: src/common/command.c:2796 +#: src/common/command.c:3032 msgid "ignore was removed.\n" msgstr "" -#: src/common/command.c:2801 +#: src/common/command.c:3037 #, c-format msgid "%s no ignore found\n" msgstr "" -#: src/common/command.c:2832 +#: src/common/command.c:3069 #, c-format msgid "%s can't upgrade: connection to at least one server is pending" msgstr "" -#: src/common/command.c:2848 +#: src/common/command.c:3084 msgid "Upgrading WeeChat...\n" msgstr "" -#: src/common/command.c:2856 +#: src/common/command.c:3091 #, c-format msgid "%s unable to save session in file\n" msgstr "" -#: src/common/command.c:2878 +#: src/common/command.c:3120 #, c-format msgid "%s exec failed (program: \"%s\"), exiting WeeChat\n" msgstr "" -#: src/common/command.c:2914 +#: src/common/command.c:3156 #, c-format msgid "WeeChat uptime: %d %s %02d:%02d:%02d, started on %s" msgstr "" -#: src/common/command.c:2931 +#: src/common/command.c:3170 #, 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:2971 +#: src/common/command.c:3210 msgid "Opened windows:\n" msgstr "" -#: src/common/command.c:3058 +#: src/common/command.c:3297 #, c-format msgid "" "%s can not merge windows, there's no other window with same size near " @@ -3224,12 +3256,12 @@ msgstr "" msgid "%s channel \"%s\" not found (FIFO pipe data)\n" msgstr "" -#: src/common/fifo.c:251 src/common/fifo.c:253 +#: src/common/fifo.c:252 src/common/fifo.c:254 #, c-format msgid "%s error reading FIFO pipe, closing it\n" msgstr "" -#: src/common/fifo.c:295 +#: src/common/fifo.c:296 msgid "FIFO pipe is closed\n" msgstr "" @@ -3254,13 +3286,13 @@ msgstr "" msgid "**** End of log " msgstr "" -#: src/common/session.c:432 +#: src/common/session.c:435 #, c-format msgid "" "Last operation with session file was at position %ld, read of %d bytes\n" msgstr "" -#: src/common/session.c:437 +#: src/common/session.c:440 #, c-format msgid "" "Please send ~/.weechat/%s, ~/.weechat/%s and above messages to WeeChat " @@ -3268,275 +3300,275 @@ msgid "" "Be careful, private info may be in these files.\n" msgstr "" -#: src/common/session.c:461 src/common/session.c:495 src/common/session.c:552 +#: src/common/session.c:464 src/common/session.c:498 src/common/session.c:555 #, c-format msgid "wrong type in file (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:564 +#: src/common/session.c:567 msgid "invalid length for a buffer" msgstr "" -#: src/common/session.c:589 +#: src/common/session.c:592 msgid "object read error" msgstr "" -#: src/common/session.c:594 +#: src/common/session.c:597 #, c-format msgid "wrong object (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:604 +#: src/common/session.c:607 msgid "type read error" msgstr "" -#: src/common/session.c:609 +#: src/common/session.c:612 #, c-format msgid "wrong type (expected: %d, read: %d)" msgstr "" -#: src/common/session.c:688 +#: src/common/session.c:691 msgid "server name not found" msgstr "" -#: src/common/session.c:693 +#: src/common/session.c:696 #, c-format msgid "session: loading server \"%s\"\n" msgstr "" -#: src/common/session.c:697 +#: src/common/session.c:700 msgid "server found, updating values\n" msgstr "" -#: src/common/session.c:700 +#: src/common/session.c:703 msgid "server not found, creating new one\n" msgstr "" -#: src/common/session.c:705 +#: src/common/session.c:708 msgid "can't create new server" msgstr "" -#: src/common/session.c:719 +#: src/common/session.c:722 msgid "unexpected end of file (reading server)" msgstr "" -#: src/common/session.c:836 +#: src/common/session.c:848 #, c-format msgid "session: warning: ignoring value from server (object id: %d)\n" msgstr "" -#: src/common/session.c:858 +#: src/common/session.c:870 msgid "channel found without server" msgstr "" -#: src/common/session.c:865 +#: src/common/session.c:877 msgid "channel type not found" msgstr "" -#: src/common/session.c:873 +#: src/common/session.c:885 msgid "channel name not found" msgstr "" -#: src/common/session.c:878 +#: src/common/session.c:890 #, c-format msgid "session: loading channel \"%s\"\n" msgstr "" -#: src/common/session.c:886 +#: src/common/session.c:898 msgid "can't create new channel" msgstr "" -#: src/common/session.c:896 +#: src/common/session.c:908 msgid "unexpected end of file (reading channel)" msgstr "" -#: src/common/session.c:924 +#: src/common/session.c:936 #, c-format msgid "session: warning: ignoring value from channel (object id: %d)\n" msgstr "" -#: src/common/session.c:947 +#: src/common/session.c:959 msgid "nick found without channel" msgstr "" -#: src/common/session.c:955 +#: src/common/session.c:967 msgid "nick name not found" msgstr "" -#: src/common/session.c:965 +#: src/common/session.c:977 msgid "can't create new nick" msgstr "" -#: src/common/session.c:975 +#: src/common/session.c:987 msgid "unexpected end of file (reading nick)" msgstr "" -#: src/common/session.c:991 +#: src/common/session.c:1003 #, c-format msgid "session: warning: ignoring value from nick (object id: %d)\n" msgstr "" -#: src/common/session.c:1017 +#: src/common/session.c:1029 msgid "can't create new DCC" msgstr "" -#: src/common/session.c:1021 +#: src/common/session.c:1033 msgid "session: loading DCC\n" msgstr "" -#: src/common/session.c:1031 +#: src/common/session.c:1043 msgid "unexpected end of file (reading DCC)" msgstr "" -#: src/common/session.c:1050 +#: src/common/session.c:1062 msgid "server not found for DCC" msgstr "" -#: src/common/session.c:1059 +#: src/common/session.c:1071 msgid "DCC with channel but without server" msgstr "" -#: src/common/session.c:1071 +#: src/common/session.c:1083 msgid "channel not found for DCC" msgstr "" -#: src/common/session.c:1145 +#: src/common/session.c:1157 #, c-format msgid "session: warning: ignoring value from DCC (object id: %d)\n" msgstr "" -#: src/common/session.c:1165 +#: src/common/session.c:1177 msgid "session: loading buffer history\n" msgstr "" -#: src/common/session.c:1167 +#: src/common/session.c:1179 msgid "session: loading global history\n" msgstr "" -#: src/common/session.c:1175 +#: src/common/session.c:1187 msgid "unexpected end of file (reading history)" msgstr "" -#: src/common/session.c:1195 +#: src/common/session.c:1207 #, c-format msgid "session: warning: ignoring value from history (object id: %d)\n" msgstr "" -#: src/common/session.c:1221 +#: src/common/session.c:1233 msgid "server name not found for buffer" msgstr "" -#: src/common/session.c:1229 +#: src/common/session.c:1241 msgid "channel name not found for buffer" msgstr "" -#: src/common/session.c:1236 +#: src/common/session.c:1248 msgid "dcc flag not found for buffer" msgstr "" -#: src/common/session.c:1241 +#: src/common/session.c:1253 #, c-format msgid "session: loading buffer (server: %s, channel: %s, dcc: %d)\n" msgstr "" -#: src/common/session.c:1252 +#: src/common/session.c:1264 msgid "server not found for buffer" msgstr "" -#: src/common/session.c:1262 +#: src/common/session.c:1274 msgid "channel not found for buffer" msgstr "" -#: src/common/session.c:1270 +#: src/common/session.c:1282 msgid "can't create new buffer" msgstr "" -#: src/common/session.c:1283 +#: src/common/session.c:1295 msgid "unexpected end of file (reading buffer)" msgstr "" -#: src/common/session.c:1293 +#: src/common/session.c:1305 #, c-format msgid "session: warning: ignoring value from buffer (object id: %d)\n" msgstr "" -#: src/common/session.c:1315 +#: src/common/session.c:1327 msgid "line found without buffer" msgstr "" -#: src/common/session.c:1323 +#: src/common/session.c:1335 msgid "can't create new line" msgstr "" -#: src/common/session.c:1333 +#: src/common/session.c:1345 msgid "unexpected end of file (reading line)" msgstr "" -#: src/common/session.c:1364 +#: src/common/session.c:1376 #, c-format msgid "session: warning: ignoring value from line (object id: %d)\n" msgstr "" -#: src/common/session.c:1394 +#: src/common/session.c:1406 msgid "session file not found" msgstr "" -#: src/common/session.c:1401 +#: src/common/session.c:1413 msgid "signature not found" msgstr "" -#: src/common/session.c:1406 +#: src/common/session.c:1418 msgid "bad session signature" msgstr "" -#: src/common/session.c:1417 +#: src/common/session.c:1429 msgid "object id not found" msgstr "" -#: src/common/session.c:1425 +#: src/common/session.c:1437 msgid "failed to load server" msgstr "" -#: src/common/session.c:1432 +#: src/common/session.c:1444 msgid "failed to load channel" msgstr "" -#: src/common/session.c:1439 +#: src/common/session.c:1451 msgid "failed to load nick" msgstr "" -#: src/common/session.c:1446 +#: src/common/session.c:1458 msgid "failed to load DCC" msgstr "" -#: src/common/session.c:1453 +#: src/common/session.c:1465 msgid "failed to load history" msgstr "" -#: src/common/session.c:1460 +#: src/common/session.c:1472 msgid "failed to load buffer" msgstr "" -#: src/common/session.c:1467 +#: src/common/session.c:1479 msgid "failed to load line" msgstr "" -#: src/common/session.c:1472 +#: src/common/session.c:1484 #, c-format msgid "ignoring object (id: %d)\n" msgstr "" -#: src/common/session.c:1476 +#: src/common/session.c:1488 #, c-format msgid "failed to ignore object (id: %d)" msgstr "" -#: src/common/session.c:1499 +#: src/common/session.c:1512 #, c-format msgid "%s can't delete session file (%s)\n" msgstr "" -#: src/common/session.c:1505 +#: src/common/session.c:1518 msgid "Upgrade completed successfully\n" msgstr "" @@ -3605,52 +3637,52 @@ msgstr "" msgid "%s invalid syntax for IRC server ('%s'), ignored\n" msgstr "" -#: src/common/weechat.c:588 +#: src/common/weechat.c:589 #, c-format msgid "%s unable to create server ('%s'), ignored\n" msgstr "" -#: src/common/weechat.c:597 +#: src/common/weechat.c:598 #, c-format msgid "%s unknown parameter '%s', ignored\n" msgstr "" -#: src/common/weechat.c:617 +#: src/common/weechat.c:618 #, c-format msgid "%s cannot create directory \"%s\"\n" msgstr "" -#: src/common/weechat.c:638 +#: src/common/weechat.c:639 #, c-format msgid "%s unable to get HOME directory\n" msgstr "" -#: src/common/weechat.c:647 +#: src/common/weechat.c:648 #, c-format msgid "%s not enough memory for home directory\n" msgstr "" -#: src/common/weechat.c:657 +#: src/common/weechat.c:658 #, c-format msgid "%s unable to create ~/.weechat directory\n" msgstr "" -#: src/common/weechat.c:670 +#: src/common/weechat.c:671 #, c-format msgid "%s unable to create ~/.weechat/logs directory\n" msgstr "" -#: src/common/weechat.c:716 +#: src/common/weechat.c:717 #, c-format msgid "%s unable to create/append to log file (~/.weechat/%s)" msgstr "" -#: src/common/weechat.c:767 +#: src/common/weechat.c:768 #, c-format msgid "%sWelcome to %s%s%s, %s\n" msgstr "" -#: src/common/weechat.c:781 src/common/weechat.c:791 +#: src/common/weechat.c:782 src/common/weechat.c:792 msgid "compiled on" msgstr "" @@ -4635,104 +4667,134 @@ msgid "" "#channel:1,..)" msgstr "" -#: src/common/weeconfig.c:1510 +#: src/common/weeconfig.c:940 +msgid "charset for decoding ISO on server and channels" +msgstr "" + +#: src/common/weeconfig.c:941 +msgid "" +"comma separated list of charsets for server and channels, to decode ISO " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:945 +msgid "charset for decoding UTF on server and channels" +msgstr "" + +#: src/common/weeconfig.c:946 +msgid "" +"comma separated list of charsets for server and channels, to decode UTF " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:950 +msgid "charset for encoding messages on server and channels" +msgstr "" + +#: src/common/weeconfig.c:951 +msgid "" +"comma separated list of charsets for server and channels, to encode messages " +"(format: server:charset,#channel:charset,..)" +msgstr "" + +#: src/common/weeconfig.c:1643 #, c-format msgid "%s %s, line %d: new server, but previous was incomplete\n" msgstr "" -#: src/common/weeconfig.c:1519 +#: src/common/weeconfig.c:1652 #, c-format msgid "%s %s, line %d: server '%s' already exists\n" msgstr "" -#: src/common/weeconfig.c:1534 +#: src/common/weeconfig.c:1669 #, c-format msgid "%s %s, line %d: unable to create server\n" msgstr "" -#: src/common/weeconfig.c:1574 +#: src/common/weeconfig.c:1709 #, c-format msgid "%s unable to assign default int with string (\"%s\")\n" msgstr "" -#: src/common/weeconfig.c:1585 +#: src/common/weeconfig.c:1720 #, c-format msgid "%s unable to assign default color (\"%s\")\n" msgstr "" -#: src/common/weeconfig.c:1623 +#: src/common/weeconfig.c:1758 #, c-format msgid "%s config file \"%s\" not found.\n" msgstr "" -#: src/common/weeconfig.c:1655 +#: src/common/weeconfig.c:1790 #, c-format msgid "%s %s, line %d: invalid syntax, missing \"]\"\n" msgstr "" -#: src/common/weeconfig.c:1672 +#: src/common/weeconfig.c:1807 #, c-format msgid "%s %s, line %d: unknown section identifier (\"%s\")\n" msgstr "" -#: src/common/weeconfig.c:1690 +#: src/common/weeconfig.c:1825 #, c-format msgid "%s %s, line %d: invalid section for option, line is ignored\n" msgstr "" -#: src/common/weeconfig.c:1772 src/common/weeconfig.c:1798 +#: src/common/weeconfig.c:1907 src/common/weeconfig.c:1933 #, c-format msgid "%s %s, line %d: invalid option \"%s\"\n" msgstr "" -#: src/common/weeconfig.c:1778 +#: src/common/weeconfig.c:1913 #, c-format msgid "%s %s, line %d: invalid ignore options \"%s\"\n" msgstr "" -#: src/common/weeconfig.c:1809 +#: src/common/weeconfig.c:1944 #, c-format msgid "" "%s %s, line %d: invalid value foroption '%s'\n" "Expected: boolean value: 'off' or 'on'\n" msgstr "" -#: src/common/weeconfig.c:1818 +#: src/common/weeconfig.c:1953 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" "Expected: integer between %d and %d\n" msgstr "" -#: src/common/weeconfig.c:1829 +#: src/common/weeconfig.c:1964 #, c-format msgid "" "%s %s, line %d: invalid value for option '%s'\n" "Expected: one of these strings: " msgstr "" -#: src/common/weeconfig.c:1845 +#: src/common/weeconfig.c:1980 #, c-format msgid "%s %s, line %d: invalid color name for option '%s'\n" msgstr "" -#: src/common/weeconfig.c:1914 +#: src/common/weeconfig.c:2049 #, c-format msgid "%s: creating default config file...\n" msgstr "" -#: src/common/weeconfig.c:1915 +#: src/common/weeconfig.c:2050 msgid "Creating default config file\n" msgstr "" -#: src/common/weeconfig.c:1918 src/common/weeconfig.c:2119 +#: src/common/weeconfig.c:2053 src/common/weeconfig.c:2258 #, c-format msgid "" "#\n" "# %s configuration file, created by %s v%s on %s" msgstr "" -#: src/common/weeconfig.c:1922 src/common/weeconfig.c:2123 +#: src/common/weeconfig.c:2057 src/common/weeconfig.c:2262 #, c-format msgid "" "# WARNING! Be careful when editing this file, WeeChat writes this file when " @@ -4740,6 +4802,6 @@ msgid "" "#\n" msgstr "" -#: src/common/weeconfig.c:2116 +#: src/common/weeconfig.c:2255 msgid "Saving config to disk\n" msgstr "" diff --git a/weechat/src/common/command.c b/weechat/src/common/command.c index 50dc1349b..5e395dfe1 100644 --- a/weechat/src/common/command.c +++ b/weechat/src/common/command.c @@ -57,6 +57,12 @@ t_weechat_command weechat_commands[] = "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 }, + { "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"), + 0, 2, weechat_cmd_charset, NULL }, { "clear", N_("clear window(s)"), N_("[-all]"), N_("-all: clear all windows"), @@ -500,7 +506,7 @@ free_exploded_string (char **exploded_string) */ int -exec_weechat_command (t_irc_server *server, char *string) +exec_weechat_command (t_gui_window *window, t_irc_server *server, char *string) { int i, argc, return_code, length1, length2; char *command, *pos, *ptr_args, *ptr_args_color, **argv, *alias_command; @@ -589,10 +595,10 @@ exec_weechat_command (t_irc_server *server, char *string) { if (weechat_commands[i].cmd_function_args) return_code = (int) (weechat_commands[i].cmd_function_args) - (argc, argv); + (window, argc, argv); else return_code = (int) (weechat_commands[i].cmd_function_1arg) - (ptr_args); + (window, ptr_args); if (return_code < 0) { irc_display_prefix (NULL, NULL, PREFIX_ERROR); @@ -693,12 +699,13 @@ exec_weechat_command (t_irc_server *server, char *string) alias_command[length1] = ' '; strcpy (alias_command + length1 + 1, ptr_args); } - (void) exec_weechat_command (server, alias_command); + (void) exec_weechat_command (window, server, alias_command); if (alias_command) free (alias_command); } else - (void) exec_weechat_command (server, ptr_alias->alias_command); + (void) exec_weechat_command (window, server, + ptr_alias->alias_command); free_exploded_string (argv); free (command); @@ -726,7 +733,7 @@ exec_weechat_command (t_irc_server *server, char *string) */ void -user_command (t_irc_server *server, t_gui_buffer *buffer, char *command) +user_command (t_gui_window *window, t_irc_server *server, char *command) { t_irc_nick *ptr_nick; int plugin_args_length; @@ -738,44 +745,44 @@ user_command (t_irc_server *server, t_gui_buffer *buffer, char *command) if ((command[0] == '/') && (command[1] != '/')) { /* WeeChat internal command (or IRC command) */ - (void) exec_weechat_command (server, command); + (void) exec_weechat_command (window, server, command); } else { - if (!buffer) - buffer = gui_current_window->buffer; + if (!window) + window = gui_current_window; if ((command[0] == '/') && (command[1] == '/')) command++; - if (server && (!BUFFER_IS_SERVER(buffer))) + if (server && (!BUFFER_IS_SERVER(window->buffer))) { command_with_colors = (cfg_irc_colors_send) ? (char *)gui_color_encode ((unsigned char *)command) : NULL; - if (CHANNEL(buffer)->dcc_chat) - dcc_chat_sendf ((t_irc_dcc *)(CHANNEL(buffer)->dcc_chat), + if (CHANNEL(window->buffer)->dcc_chat) + dcc_chat_sendf ((t_irc_dcc *)(CHANNEL(window->buffer)->dcc_chat), "%s\r\n", (command_with_colors) ? command_with_colors : command); else server_sendf (server, "PRIVMSG %s :%s\r\n", - CHANNEL(buffer)->name, + CHANNEL(window->buffer)->name, (command_with_colors) ? command_with_colors : command); command_with_colors2 = (command_with_colors) ? (char *)gui_color_decode ((unsigned char *)command_with_colors, 1) : NULL; - if (CHANNEL(buffer)->type == CHANNEL_TYPE_PRIVATE) + if (CHANNEL(window->buffer)->type == CHANNEL_TYPE_PRIVATE) { - gui_printf_type (CHANNEL(buffer)->buffer, + gui_printf_type (window->buffer, MSG_TYPE_NICK, "%s<%s%s%s> ", GUI_COLOR(COLOR_WIN_CHAT_DARK), GUI_COLOR(COLOR_WIN_NICK_SELF), server->nick, GUI_COLOR(COLOR_WIN_CHAT_DARK)); - gui_printf_type (CHANNEL(buffer)->buffer, + gui_printf_type (window->buffer, MSG_TYPE_MSG, "%s%s\n", GUI_COLOR(COLOR_WIN_CHAT), @@ -784,12 +791,12 @@ user_command (t_irc_server *server, t_gui_buffer *buffer, char *command) } else { - ptr_nick = nick_search (CHANNEL(buffer), server->nick); + ptr_nick = nick_search (CHANNEL(window->buffer), server->nick); if (ptr_nick) { - irc_display_nick (CHANNEL(buffer)->buffer, ptr_nick, NULL, + irc_display_nick (CHANNEL(window->buffer)->buffer, ptr_nick, NULL, MSG_TYPE_NICK, 1, 1, 0); - gui_printf (CHANNEL(buffer)->buffer, + gui_printf (CHANNEL(window->buffer)->buffer, "%s\n", (command_with_colors2) ? command_with_colors2 : command); @@ -853,11 +860,14 @@ user_command (t_irc_server *server, t_gui_buffer *buffer, char *command) */ int -weechat_cmd_alias (char *arguments) +weechat_cmd_alias (t_gui_window *window, char *arguments) { char *pos; t_weechat_alias *ptr_alias; + /* make gcc happy */ + (void) window; + if (arguments && arguments[0]) { /* Define new alias */ @@ -982,7 +992,7 @@ weechat_cmd_buffer_display_info (t_gui_buffer *buffer) */ int -weechat_cmd_buffer (int argc, char **argv) +weechat_cmd_buffer (t_gui_window *window, int argc, char **argv) { t_gui_buffer *ptr_buffer; t_irc_server *ptr_server; @@ -1028,13 +1038,13 @@ weechat_cmd_buffer (int argc, char **argv) if ((error) && (error[0] == '\0')) { if (argv[1][0] == '+') - gui_buffer_move_to_number (gui_current_window, - gui_current_window->buffer->number + ((int) number)); + gui_buffer_move_to_number (window, + window->buffer->number + ((int) number)); else if (argv[1][0] == '-') - gui_buffer_move_to_number (gui_current_window, - gui_current_window->buffer->number - ((int) number)); + gui_buffer_move_to_number (window, + window->buffer->number - ((int) number)); else - gui_buffer_move_to_number (gui_current_window, (int) number); + gui_buffer_move_to_number (window, (int) number); } else { @@ -1049,10 +1059,10 @@ weechat_cmd_buffer (int argc, char **argv) { /* close buffer (server or channel/private) */ - if ((!gui_current_window->buffer->next_buffer) - && (gui_current_window->buffer == gui_buffers) - && ((!gui_current_window->buffer->all_servers) - || (!SERVER(gui_current_window->buffer)))) + if ((!window->buffer->next_buffer) + && (window->buffer == gui_buffers) + && ((!window->buffer->all_servers) + || (!SERVER(window->buffer)))) { irc_display_prefix (NULL, NULL, PREFIX_ERROR); gui_printf (NULL, @@ -1060,9 +1070,9 @@ weechat_cmd_buffer (int argc, char **argv) WEECHAT_ERROR); return -1; } - if (BUFFER_IS_SERVER(gui_current_window->buffer)) + if (BUFFER_IS_SERVER(window->buffer)) { - if (SERVER(gui_current_window->buffer)->channels) + if (SERVER(window->buffer)->channels) { irc_display_prefix (NULL, NULL, PREFIX_ERROR); gui_printf (NULL, @@ -1071,43 +1081,43 @@ weechat_cmd_buffer (int argc, char **argv) WEECHAT_ERROR); return -1; } - server_disconnect (SERVER(gui_current_window->buffer), 0); - ptr_server = SERVER(gui_current_window->buffer); - if (!gui_current_window->buffer->all_servers) + server_disconnect (SERVER(window->buffer), 0); + ptr_server = SERVER(window->buffer); + if (!window->buffer->all_servers) { - gui_buffer_free (gui_current_window->buffer, 1); + gui_buffer_free (window->buffer, 1); ptr_server->buffer = NULL; } else { ptr_server->buffer = NULL; - gui_current_window->buffer->server = NULL; - gui_window_switch_server (gui_current_window); + window->buffer->server = NULL; + gui_window_switch_server (window); } } else { - if (SERVER(gui_current_window->buffer)) + if (SERVER(window->buffer)) { - if (SERVER(gui_current_window->buffer)->is_connected - && CHANNEL(gui_current_window->buffer) - && CHANNEL(gui_current_window->buffer)->nicks) - irc_cmd_send_part (SERVER(gui_current_window->buffer), NULL); + if (SERVER(window->buffer)->is_connected + && CHANNEL(window->buffer) + && CHANNEL(window->buffer)->nicks) + irc_cmd_send_part (SERVER(window->buffer), NULL); else { - ptr_channel = channel_search (SERVER(gui_current_window->buffer), - CHANNEL(gui_current_window->buffer)->name); + ptr_channel = channel_search (SERVER(window->buffer), + CHANNEL(window->buffer)->name); if (ptr_channel) - channel_free (SERVER(gui_current_window->buffer), + channel_free (SERVER(window->buffer), ptr_channel); - gui_buffer_free (gui_current_window->buffer, 1); + gui_buffer_free (window->buffer, 1); } } else - gui_buffer_free (gui_current_window->buffer, 1); + gui_buffer_free (window->buffer, 1); } - gui_draw_buffer_status (gui_current_window->buffer, 1); + gui_draw_buffer_status (window->buffer, 1); } else if (ascii_strcasecmp (argv[0], "notify") == 0) { @@ -1148,8 +1158,8 @@ weechat_cmd_buffer (int argc, char **argv) WEECHAT_ERROR, NOTIFY_LEVEL_MIN, NOTIFY_LEVEL_MAX); return -1; } - if ((!BUFFER_IS_CHANNEL(gui_current_window->buffer)) - && (!BUFFER_IS_PRIVATE(gui_current_window->buffer))) + if ((!BUFFER_IS_CHANNEL(window->buffer)) + && (!BUFFER_IS_PRIVATE(window->buffer))) { /* invalid buffer type (only ok on channel or private) */ irc_display_prefix (NULL, NULL, PREFIX_ERROR); @@ -1157,14 +1167,14 @@ weechat_cmd_buffer (int argc, char **argv) WEECHAT_ERROR); return -1; } - gui_current_window->buffer->notify_level = number; - channel_set_notify_level (SERVER(gui_current_window->buffer), - CHANNEL(gui_current_window->buffer), + window->buffer->notify_level = number; + channel_set_notify_level (SERVER(window->buffer), + CHANNEL(window->buffer), number); irc_display_prefix (NULL, NULL, PREFIX_INFO); gui_printf (NULL, _("New notify level for %s%s%s: %s%d %s"), GUI_COLOR(COLOR_WIN_CHAT_CHANNEL), - CHANNEL(gui_current_window->buffer)->name, + CHANNEL(window->buffer)->name, GUI_COLOR(COLOR_WIN_CHAT), GUI_COLOR(COLOR_WIN_CHAT_CHANNEL), number, @@ -1209,11 +1219,11 @@ weechat_cmd_buffer (int argc, char **argv) number = strtol (argv[0] + 1, &error, 10); if ((error) && (error[0] == '\0')) { - target_buffer = gui_current_window->buffer->number - (int) number; + target_buffer = window->buffer->number - (int) number; if (target_buffer < 1) target_buffer = (last_gui_buffer) ? last_gui_buffer->number + target_buffer : 1; - gui_buffer_switch_by_number (gui_current_window, + gui_buffer_switch_by_number (window, target_buffer); } } @@ -1224,10 +1234,10 @@ weechat_cmd_buffer (int argc, char **argv) number = strtol (argv[0] + 1, &error, 10); if ((error) && (error[0] == '\0')) { - target_buffer = gui_current_window->buffer->number + (int) number; + target_buffer = window->buffer->number + (int) number; if (last_gui_buffer && target_buffer > last_gui_buffer->number) target_buffer -= last_gui_buffer->number; - gui_buffer_switch_by_number (gui_current_window, + gui_buffer_switch_by_number (window, target_buffer); } } @@ -1237,7 +1247,7 @@ weechat_cmd_buffer (int argc, char **argv) error = NULL; number = strtol (argv[0], &error, 10); if ((error) && (error[0] == '\0')) - gui_buffer_switch_by_number (gui_current_window, (int) number); + gui_buffer_switch_by_number (window, (int) number); else { ptr_buffer = NULL; @@ -1252,7 +1262,7 @@ weechat_cmd_buffer (int argc, char **argv) } if (ptr_buffer) { - gui_switch_to_buffer (gui_current_window, ptr_buffer); + gui_switch_to_buffer (window, ptr_buffer); gui_redraw_buffer (ptr_buffer); } } @@ -1264,11 +1274,204 @@ weechat_cmd_buffer (int argc, char **argv) } /* + * weechat_cmd_charset_display: display charsets for current server or channel + */ + +void +weechat_cmd_charset_display (t_gui_window *window) +{ + char *server_item = "server", *ptr_item; + char *value, *string, *herited; + int length; + + if (BUFFER_IS_SERVER(window->buffer) || + BUFFER_IS_CHANNEL(window->buffer) || + BUFFER_IS_PRIVATE(window->buffer)) + { + if (BUFFER_IS_SERVER(window->buffer)) + { + gui_printf_nolog (NULL, _("Charsets for server %s%s%s: "), + GUI_COLOR(COLOR_WIN_CHAT_SERVER), + SERVER(window->buffer)->name, + GUI_COLOR(COLOR_WIN_CHAT)); + ptr_item = server_item; + } + else if (BUFFER_IS_CHANNEL(window->buffer)) + { + gui_printf_nolog (NULL, _("Charsets for channel %s%s%s: "), + GUI_COLOR(COLOR_WIN_CHAT_CHANNEL), + CHANNEL(window->buffer)->name, + GUI_COLOR(COLOR_WIN_CHAT)); + ptr_item = CHANNEL(window->buffer)->name; + } + else + { + gui_printf_nolog (NULL, _("Charsets for private %s%s%s: "), + GUI_COLOR(COLOR_WIN_CHAT_CHANNEL), + CHANNEL(window->buffer)->name, + GUI_COLOR(COLOR_WIN_CHAT)); + ptr_item = CHANNEL(window->buffer)->name; + } + + /* decode ISO */ + herited = NULL; + config_option_list_get_value (&(SERVER(window->buffer)->charset_decode_iso), + ptr_item, &value, &length); + if (value && (length > 0)) + { + string = strdup (value); + string[length] = '\0'; + } + else + { + string = strdup (""); + herited = channel_get_charset_decode_iso (SERVER(window->buffer), + CHANNEL(window->buffer)); + } + gui_printf (NULL, "decode_iso: \"%s%s%s\"", + GUI_COLOR(COLOR_WIN_CHAT_HOST), + string, + GUI_COLOR(COLOR_WIN_CHAT)); + if (herited) + { + gui_printf (NULL, _(" (inherited: \"%s%s%s\")"), + GUI_COLOR(COLOR_WIN_CHAT_HOST), + herited, + GUI_COLOR(COLOR_WIN_CHAT)); + free (herited); + } + gui_printf (NULL, ", "); + free (string); + + /* decode UTF */ + herited = NULL; + config_option_list_get_value (&(SERVER(window->buffer)->charset_decode_utf), + ptr_item, &value, &length); + if (value && (length > 0)) + { + string = strdup (value); + string[length] = '\0'; + } + else + { + string = strdup (""); + herited = channel_get_charset_decode_utf (SERVER(window->buffer), + CHANNEL(window->buffer)); + } + gui_printf (NULL, "decode_utf: \"%s%s%s\"", + GUI_COLOR(COLOR_WIN_CHAT_HOST), + string, + GUI_COLOR(COLOR_WIN_CHAT)); + if (herited) + { + gui_printf (NULL, _(" (inherited: \"%s%s%s\")"), + GUI_COLOR(COLOR_WIN_CHAT_HOST), + herited, + GUI_COLOR(COLOR_WIN_CHAT)); + free (herited); + } + gui_printf (NULL, ", "); + free (string); + + /* encode */ + herited = NULL; + config_option_list_get_value (&(SERVER(window->buffer)->charset_encode), + ptr_item, &value, &length); + if (value && (length > 0)) + { + string = strdup (value); + string[length] = '\0'; + } + else + { + string = strdup (""); + herited = channel_get_charset_encode (SERVER(window->buffer), + CHANNEL(window->buffer)); + } + gui_printf (NULL, "encode: \"%s%s%s\"", + GUI_COLOR(COLOR_WIN_CHAT_HOST), + string, + GUI_COLOR(COLOR_WIN_CHAT)); + if (herited) + { + gui_printf (NULL, _(" (inherited: \"%s%s%s\")"), + GUI_COLOR(COLOR_WIN_CHAT_HOST), + herited, + GUI_COLOR(COLOR_WIN_CHAT)); + free (herited); + } + gui_printf (NULL, "\n"); + free (string); + } +} + +/* + * weechat_cmd_charset_set: set a charset for server or channel + */ + +void +weechat_cmd_charset_set (t_gui_window *window, char **string, char *charset) +{ + if (BUFFER_IS_SERVER(window->buffer)) + { + if (charset) + config_option_list_set (string, "server", charset); + else + config_option_list_remove (string, "server"); + weechat_cmd_charset_display (window); + } + else if (BUFFER_IS_CHANNEL(window->buffer) || + BUFFER_IS_PRIVATE(window->buffer)) + { + if (charset) + config_option_list_set (string, CHANNEL(window->buffer)->name, charset); + else + config_option_list_remove (string, CHANNEL(window->buffer)->name); + weechat_cmd_charset_display (window); + } +} + +/* + * weechat_cmd_charset: change charset for server or channel + */ + +int +weechat_cmd_charset (t_gui_window *window, int argc, char **argv) +{ + if (argc == 0) + weechat_cmd_charset_display (window); + else + { + if (ascii_strcasecmp (argv[0], "decode_iso") == 0) + weechat_cmd_charset_set (window, + &(SERVER(window->buffer)->charset_decode_iso), + (argc > 1) ? argv[1] : NULL); + else if (ascii_strcasecmp (argv[0], "decode_utf") == 0) + weechat_cmd_charset_set (window, + &(SERVER(window->buffer)->charset_decode_utf), + (argc > 1) ? argv[1] : NULL); + else if (ascii_strcasecmp (argv[0], "encode") == 0) + weechat_cmd_charset_set (window, + &(SERVER(window->buffer)->charset_encode), + (argc > 1) ? argv[1] : NULL); + else + { + irc_display_prefix (NULL, NULL, PREFIX_ERROR); + gui_printf (NULL, + _("%s unknown option for \"%s\" command\n"), + WEECHAT_ERROR, "charset"); + return -1; + } + } + return 0; +} + +/* * weechat_cmd_clear: display or create alias */ int -weechat_cmd_clear (int argc, char **argv) +weechat_cmd_clear (t_gui_window *window, int argc, char **argv) { if (argc == 1) { @@ -1278,13 +1481,13 @@ weechat_cmd_clear (int argc, char **argv) { irc_display_prefix (NULL, NULL, PREFIX_ERROR); gui_printf (NULL, - _("unknown parameter \"%s\" for \"%s\" command\n"), - argv[0], "clear"); + _("%s unknown option for \"%s\" command\n"), + WEECHAT_ERROR, "clear"); return -1; } } else - gui_buffer_clear (gui_current_window->buffer); + gui_buffer_clear (window->buffer); return 0; } @@ -1293,14 +1496,14 @@ weechat_cmd_clear (int argc, char **argv) */ int -weechat_cmd_connect (int argc, char **argv) +weechat_cmd_connect (t_gui_window *window, int argc, char **argv) { t_irc_server *ptr_server; if (argc == 1) ptr_server = server_search (argv[0]); else - ptr_server = SERVER(gui_current_window->buffer); + ptr_server = SERVER(window->buffer); if (ptr_server) { @@ -1322,7 +1525,7 @@ weechat_cmd_connect (int argc, char **argv) } if (!ptr_server->buffer) { - if (!gui_buffer_new (gui_current_window, ptr_server, NULL, 0, 1)) + if (!gui_buffer_new (window, ptr_server, NULL, 0, 1)) return -1; } if (server_connect (ptr_server)) @@ -1384,8 +1587,11 @@ weechat_cmd_debug_display_windows (t_gui_window_tree *tree, int indent) */ int -weechat_cmd_debug (int argc, char **argv) +weechat_cmd_debug (t_gui_window *window, int argc, char **argv) { + /* make gcc happy */ + (void) window; + if (argc != 1) { irc_display_prefix (NULL, NULL, PREFIX_ERROR); @@ -1422,14 +1628,14 @@ weechat_cmd_debug (int argc, char **argv) */ int -weechat_cmd_disconnect (int argc, char **argv) +weechat_cmd_disconnect (t_gui_window *window, int argc, char **argv) { t_irc_server *ptr_server; if (argc == 1) ptr_server = server_search (argv[0]); else - ptr_server = SERVER(gui_current_window->buffer); + ptr_server = SERVER(window->buffer); if (ptr_server) { @@ -1449,7 +1655,7 @@ weechat_cmd_disconnect (int argc, char **argv) _("Auto-reconnection is cancelled\n")); } server_disconnect (ptr_server, 0); - gui_draw_buffer_status (gui_current_window->buffer, 1); + gui_draw_buffer_status (window->buffer, 1); } else { @@ -1465,14 +1671,17 @@ weechat_cmd_disconnect (int argc, char **argv) */ int -weechat_cmd_help (int argc, char **argv) +weechat_cmd_help (t_gui_window *window, int argc, char **argv) { int i; #ifdef PLUGINS t_weechat_plugin *ptr_plugin; t_plugin_handler *ptr_handler; #endif - + + /* make gcc happy */ + (void) window; + switch (argc) { case 0: @@ -1629,38 +1838,45 @@ weechat_cmd_help (int argc, char **argv) */ int -weechat_cmd_history (int argc, char **argv) { - - t_history *p; +weechat_cmd_history (t_gui_window *window, int argc, char **argv) +{ + t_history *ptr_history; int n; int n_total; - int n_user = cfg_history_display_default; - + int n_user; + + n_user = cfg_history_display_default; + if (argc == 1) { if (ascii_strcasecmp (argv[0], "clear") == 0) { - history_buffer_free (gui_current_window->buffer); + history_buffer_free (window->buffer); return 0; } else n_user = atoi (argv[0]); } - if (gui_current_window->buffer->history != NULL) + if (window->buffer->history != NULL) { - for(n_total = 1, p = gui_current_window->buffer->history; p->next_history != NULL; p = p->next_history, n_total++); - for(n=0; p != NULL; p=p->prev_history, n++) + n_total = 1; + for (ptr_history = window->buffer->history; + ptr_history->next_history; + ptr_history = ptr_history->next_history) + { + n_total++; + } + for (n = 0; ptr_history; ptr_history = ptr_history->prev_history) { - if (n_user > 0 && (n_total-n_user) > n) + if ((n_user > 0) && ((n_total - n_user) > n)) continue; - irc_display_prefix (NULL, gui_current_window->buffer, - PREFIX_INFO); - gui_printf_nolog (gui_current_window->buffer, - "%s\n", p->text); + irc_display_prefix (NULL, window->buffer, PREFIX_INFO); + gui_printf_nolog (window->buffer, "%s\n", ptr_history->text); + n++; } } - + return 0; } @@ -1697,7 +1913,7 @@ weechat_cmd_ignore_display (char *text, t_irc_ignore *ptr_ignore) */ int -weechat_cmd_ignore (int argc, char **argv) +weechat_cmd_ignore (t_gui_window *window, int argc, char **argv) { t_irc_ignore *ptr_ignore; int i; @@ -1733,18 +1949,18 @@ weechat_cmd_ignore (int argc, char **argv) break; case 1: ptr_ignore = ignore_add (argv[0], "*", "*", - (SERVER(gui_current_window->buffer)) ? - SERVER(gui_current_window->buffer)->name : "*"); + (SERVER(window->buffer)) ? + SERVER(window->buffer)->name : "*"); break; case 2: ptr_ignore = ignore_add (argv[0], argv[1], "*", - (SERVER(gui_current_window->buffer)) ? - SERVER(gui_current_window->buffer)->name : "*"); + (SERVER(window->buffer)) ? + SERVER(window->buffer)->name : "*"); break; case 3: ptr_ignore = ignore_add (argv[0], argv[1], argv[2], - (SERVER(gui_current_window->buffer)) ? - SERVER(gui_current_window->buffer)->name : "*"); + (SERVER(window->buffer)) ? + SERVER(window->buffer)->name : "*"); break; case 4: ptr_ignore = ignore_add (argv[0], argv[1], argv[2], argv[3]); @@ -1792,12 +2008,15 @@ weechat_cmd_key_display (t_gui_key *key, int new_key) */ int -weechat_cmd_key (char *arguments) +weechat_cmd_key (t_gui_window *window, char *arguments) { char *pos; int i; t_gui_key *ptr_key; + /* make gcc happy */ + (void) window; + if (arguments) { while (arguments[0] == ' ') @@ -1904,13 +2123,16 @@ weechat_cmd_key (char *arguments) */ int -weechat_cmd_plugin (int argc, char **argv) +weechat_cmd_plugin (t_gui_window *window, int argc, char **argv) { #ifdef PLUGINS t_weechat_plugin *ptr_plugin; t_plugin_handler *ptr_handler; int handler_found; + /* make gcc happy */ + (void) window; + switch (argc) { case 0: @@ -2032,8 +2254,11 @@ weechat_cmd_plugin (int argc, char **argv) */ int -weechat_cmd_save (int argc, char **argv) +weechat_cmd_save (t_gui_window *window, int argc, char **argv) { + /* make gcc happy */ + (void) window; + return (config_write ((argc == 1) ? argv[0] : NULL)); } @@ -2042,7 +2267,7 @@ weechat_cmd_save (int argc, char **argv) */ int -weechat_cmd_server (int argc, char **argv) +weechat_cmd_server (t_gui_window *window, int argc, char **argv) { int i; t_irc_server server, *ptr_server, *server_found, *new_server; @@ -2150,7 +2375,7 @@ weechat_cmd_server (int argc, char **argv) if (server_name) free (server_name); - gui_redraw_buffer (gui_current_window->buffer); + gui_redraw_buffer (window->buffer); return 0; } @@ -2286,7 +2511,8 @@ weechat_cmd_server (int argc, char **argv) server.ssl, server.password, server.nick1, server.nick2, server.nick3, server.username, server.realname, - server.command, 1, server.autojoin, 1, NULL); + server.command, 1, server.autojoin, 1, NULL, + NULL, NULL, NULL); if (new_server) { irc_display_prefix (NULL, NULL, PREFIX_INFO); @@ -2307,7 +2533,7 @@ weechat_cmd_server (int argc, char **argv) if (new_server->autoconnect) { - (void) gui_buffer_new (gui_current_window, new_server, NULL, 0, 1); + (void) gui_buffer_new (window, new_server, NULL, 0, 1); server_connect (new_server); } @@ -2391,6 +2617,9 @@ weechat_cmd_set_display_option (t_config_option *option, char *prefix, void *val GUI_COLOR(COLOR_WIN_CHAT_DARK)); free (value2); } + else + gui_printf (NULL, "%s\"\"", + GUI_COLOR(COLOR_WIN_CHAT_DARK)); gui_printf (NULL, "\n"); break; } @@ -2401,7 +2630,7 @@ weechat_cmd_set_display_option (t_config_option *option, char *prefix, void *val */ int -weechat_cmd_set (char *arguments) +weechat_cmd_set (t_gui_window *window, char *arguments) { char *option, *value, *pos; int i, j, section_displayed; @@ -2410,7 +2639,10 @@ weechat_cmd_set (char *arguments) char option_name[256]; void *ptr_option_value; int last_section, last_option, number_found; - + + /* make gcc happy */ + (void) window; + option = NULL; value = NULL; if (arguments && arguments[0]) @@ -2717,11 +2949,14 @@ weechat_cmd_set (char *arguments) */ int -weechat_cmd_unalias (char *arguments) +weechat_cmd_unalias (t_gui_window *window, char *arguments) { t_weelist *ptr_weelist; t_weechat_alias *ptr_alias; + /* make gcc happy */ + (void) window; + ptr_weelist = weelist_search (index_commands, arguments); if (!ptr_weelist) { @@ -2746,7 +2981,7 @@ weechat_cmd_unalias (char *arguments) */ int -weechat_cmd_unignore (int argc, char **argv) +weechat_cmd_unignore (t_gui_window *window, int argc, char **argv) { char *error; int number, ret; @@ -2756,7 +2991,7 @@ weechat_cmd_unignore (int argc, char **argv) { case 0: /* List all ignore */ - weechat_cmd_ignore (argc, argv); + weechat_cmd_ignore (window, argc, argv); return 0; break; case 1: @@ -2766,18 +3001,18 @@ weechat_cmd_unignore (int argc, char **argv) ret = ignore_search_free_by_number (number); else ret = ignore_search_free (argv[0], "*", "*", - (SERVER(gui_current_window->buffer)) ? - SERVER(gui_current_window->buffer)->name : "*"); + (SERVER(window->buffer)) ? + SERVER(window->buffer)->name : "*"); break; case 2: ret = ignore_search_free (argv[0], argv[1], "*", - (SERVER(gui_current_window->buffer)) ? - SERVER(gui_current_window->buffer)->name : "*"); + (SERVER(window->buffer)) ? + SERVER(window->buffer)->name : "*"); break; case 3: ret = ignore_search_free (argv[0], argv[1], argv[2], - (SERVER(gui_current_window->buffer)) ? - SERVER(gui_current_window->buffer)->name : "*"); + (SERVER(window->buffer)) ? + SERVER(window->buffer)->name : "*"); break; case 4: ret = ignore_search_free (argv[0], argv[1], argv[2], argv[3]); @@ -2812,7 +3047,7 @@ weechat_cmd_unignore (int argc, char **argv) */ int -weechat_cmd_upgrade (int argc, char **argv) +weechat_cmd_upgrade (t_gui_window *window, int argc, char **argv) { t_irc_server *ptr_server; int filename_length; @@ -2820,6 +3055,7 @@ weechat_cmd_upgrade (int argc, char **argv) char *exec_args[5] = { NULL, "-a", "--session", NULL, NULL }; /* make gcc happy */ + (void) window; (void) argc; (void) argv; @@ -2828,7 +3064,7 @@ weechat_cmd_upgrade (int argc, char **argv) { if (ptr_server->child_pid != 0) { - irc_display_prefix (NULL, gui_current_window->buffer, PREFIX_ERROR); + irc_display_prefix (NULL, NULL, PREFIX_ERROR); gui_printf_nolog (NULL, _("%s can't upgrade: connection to at least " "one server is pending"), @@ -2900,7 +3136,7 @@ weechat_cmd_upgrade (int argc, char **argv) */ int -weechat_cmd_uptime (int argc, char **argv) +weechat_cmd_uptime (t_gui_window *window, int argc, char **argv) { time_t running_time; int day, hour, min, sec; @@ -2913,8 +3149,8 @@ weechat_cmd_uptime (int argc, char **argv) sec = ((running_time % (60 * 60 * 24)) % (60 * 60)) % 60; if ((argc == 1) && (strcmp (argv[0], "-o") == 0) - && ((BUFFER_IS_CHANNEL(gui_current_window->buffer)) - || (BUFFER_IS_PRIVATE(gui_current_window->buffer)))) + && ((BUFFER_IS_CHANNEL(window->buffer)) + || (BUFFER_IS_PRIVATE(window->buffer)))) { snprintf (string, sizeof (string), _("WeeChat uptime: %d %s %02d:%02d:%02d, started on %s"), @@ -2925,15 +3161,12 @@ weechat_cmd_uptime (int argc, char **argv) sec, ctime (&weechat_start_time)); string[strlen (string) - 1] = '\0'; - user_command (SERVER(gui_current_window->buffer), - gui_current_window->buffer, - string); + user_command (window, SERVER(window->buffer), string); } else { - irc_display_prefix (NULL, gui_current_window->buffer, - PREFIX_INFO); - gui_printf_nolog (gui_current_window->buffer, + irc_display_prefix (NULL, window->buffer, PREFIX_INFO); + gui_printf_nolog (window->buffer, _("WeeChat uptime: %s%d %s%s " "%s%02d%s:%s%02d%s:%s%02d%s, " "started on %s%s"), @@ -2962,7 +3195,7 @@ weechat_cmd_uptime (int argc, char **argv) */ int -weechat_cmd_window (int argc, char **argv) +weechat_cmd_window (t_gui_window *window, int argc, char **argv) { t_gui_window *ptr_win; int i; @@ -3009,10 +3242,10 @@ weechat_cmd_window (int argc, char **argv) number = strtol (argv[1], &error, 10); if ((error) && (error[0] == '\0') && (number > 0) && (number < 100)) - gui_window_split_horiz (gui_current_window, number); + gui_window_split_horiz (window, number); } else - gui_window_split_horiz (gui_current_window, 50); + gui_window_split_horiz (window, 50); } else if (ascii_strcasecmp (argv[0], "splitv") == 0) { @@ -3023,10 +3256,10 @@ weechat_cmd_window (int argc, char **argv) number = strtol (argv[1], &error, 10); if ((error) && (error[0] == '\0') && (number > 0) && (number < 100)) - gui_window_split_vertic (gui_current_window, number); + gui_window_split_vertic (window, number); } else - gui_window_split_vertic (gui_current_window, 50); + gui_window_split_vertic (window, 50); } else if (ascii_strcasecmp (argv[0], "resize") == 0) { @@ -3037,7 +3270,7 @@ weechat_cmd_window (int argc, char **argv) number = strtol (argv[1], &error, 10); if ((error) && (error[0] == '\0') && (number > 0) && (number < 100)) - gui_window_resize (gui_current_window, number); + gui_window_resize (window, number); } } else if (ascii_strcasecmp (argv[0], "merge") == 0) @@ -3045,7 +3278,7 @@ weechat_cmd_window (int argc, char **argv) if (argc >= 2) { if (ascii_strcasecmp (argv[1], "all") == 0) - gui_window_merge_all (gui_current_window); + gui_window_merge_all (window); else { irc_display_prefix (NULL, NULL, PREFIX_ERROR); @@ -3057,7 +3290,7 @@ weechat_cmd_window (int argc, char **argv) } else { - if (!gui_window_merge (gui_current_window)) + if (!gui_window_merge (window)) { irc_display_prefix (NULL, NULL, PREFIX_ERROR); gui_printf (NULL, @@ -3075,20 +3308,20 @@ weechat_cmd_window (int argc, char **argv) error = NULL; number = strtol (argv[0] + 1, &error, 10); if ((error) && (error[0] == '\0')) - gui_window_switch_by_buffer (gui_current_window, number); + gui_window_switch_by_buffer (window, number); } else if (ascii_strcasecmp (argv[0], "-1") == 0) - gui_window_switch_previous (gui_current_window); + gui_window_switch_previous (window); else if (ascii_strcasecmp (argv[0], "+1") == 0) - gui_window_switch_next (gui_current_window); + gui_window_switch_next (window); else if (ascii_strcasecmp (argv[0], "up") == 0) - gui_window_switch_up (gui_current_window); + gui_window_switch_up (window); else if (ascii_strcasecmp (argv[0], "down") == 0) - gui_window_switch_down (gui_current_window); + gui_window_switch_down (window); else if (ascii_strcasecmp (argv[0], "left") == 0) - gui_window_switch_left (gui_current_window); + gui_window_switch_left (window); else if (ascii_strcasecmp (argv[0], "right") == 0) - gui_window_switch_right (gui_current_window); + gui_window_switch_right (window); else { irc_display_prefix (NULL, NULL, PREFIX_ERROR); diff --git a/weechat/src/common/command.h b/weechat/src/common/command.h index 3cbd599a5..10cd44c86 100644 --- a/weechat/src/common/command.h +++ b/weechat/src/common/command.h @@ -36,8 +36,8 @@ struct t_weechat_command char *arguments; char *arguments_description; int min_arg, max_arg; - int (*cmd_function_args)(int, char **); - int (*cmd_function_1arg)(char *); + int (*cmd_function_args)(t_gui_window *, int, char **); + int (*cmd_function_1arg)(t_gui_window *, char *); }; typedef struct t_weechat_alias t_weechat_alias; @@ -62,27 +62,28 @@ extern t_weechat_alias *alias_new (char *, char *); extern void alias_free_all (); extern char **explode_string (char *, char *, int, int *); extern void free_exploded_string (char **); -extern int exec_weechat_command (t_irc_server *, char *); -extern void user_command (t_irc_server *, t_gui_buffer *, char *); -extern int weechat_cmd_alias (char *); -extern int weechat_cmd_buffer (int, char **); -extern int weechat_cmd_clear (int, char **); -extern int weechat_cmd_connect (int, char **); -extern int weechat_cmd_debug (int, char **); -extern int weechat_cmd_disconnect (int, char **); -extern int weechat_cmd_help (int, char **); -extern int weechat_cmd_history (int, char **); +extern int exec_weechat_command (t_gui_window *, t_irc_server *, char *); +extern void user_command (t_gui_window *, t_irc_server *, char *); +extern int weechat_cmd_alias (t_gui_window *, char *); +extern int weechat_cmd_buffer (t_gui_window *, int, char **); +extern int weechat_cmd_charset (t_gui_window *, int, char **); +extern int weechat_cmd_clear (t_gui_window *, int, char **); +extern int weechat_cmd_connect (t_gui_window *, int, char **); +extern int weechat_cmd_debug (t_gui_window *, int, char **); +extern int weechat_cmd_disconnect (t_gui_window *, int, char **); +extern int weechat_cmd_help (t_gui_window *, int, char **); +extern int weechat_cmd_history (t_gui_window *, int, char **); extern void weechat_cmd_ignore_display (char *, t_irc_ignore *); -extern int weechat_cmd_ignore (int, char **); -extern int weechat_cmd_key (char *); -extern int weechat_cmd_plugin (int, char **); -extern int weechat_cmd_save (int, char **); -extern int weechat_cmd_server (int, char **); -extern int weechat_cmd_set (char *); -extern int weechat_cmd_unalias (char *); -extern int weechat_cmd_unignore (int, char **); -extern int weechat_cmd_upgrade (int, char **); -extern int weechat_cmd_uptime (int, char **); -extern int weechat_cmd_window (int, char **); +extern int weechat_cmd_ignore (t_gui_window *, int, char **); +extern int weechat_cmd_key (t_gui_window *, char *); +extern int weechat_cmd_plugin (t_gui_window *, int, char **); +extern int weechat_cmd_save (t_gui_window *, int, char **); +extern int weechat_cmd_server (t_gui_window *, int, char **); +extern int weechat_cmd_set (t_gui_window *, char *); +extern int weechat_cmd_unalias (t_gui_window *, char *); +extern int weechat_cmd_unignore (t_gui_window *, int, char **); +extern int weechat_cmd_upgrade (t_gui_window *, int, char **); +extern int weechat_cmd_uptime (t_gui_window *, int, char **); +extern int weechat_cmd_window (t_gui_window *, int, char **); #endif /* command.h */ diff --git a/weechat/src/common/completion.c b/weechat/src/common/completion.c index 8cf2a81b0..f681bd097 100644 --- a/weechat/src/common/completion.c +++ b/weechat/src/common/completion.c @@ -101,10 +101,10 @@ completion_stop (t_completion *completion) */ void -completion_build_list (t_completion *completion, void *channel) +completion_build_list (t_completion *completion, void *server, void *channel) { t_weelist *ptr_list; - int i, j; + int i, j, length; t_irc_server *ptr_server; t_irc_channel *ptr_channel; t_irc_nick *ptr_nick; @@ -155,6 +155,82 @@ completion_build_list (t_completion *completion, void *channel) "notify"); return; } + if (ascii_strcasecmp (completion->base_command, "charset") == 0) + { + if (completion->base_command_arg == 1) + { + 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"); + } + else if (completion->base_command_arg == 2) + { + 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) + { + weelist_add (&completion->completion_list, + &completion->last_completion, + string2); + free (string2); + } + else + completion_stop (completion); + + if (pos) + pos[0] = ' '; + } + else + completion_stop (completion); + return; + } if ((ascii_strcasecmp (completion->base_command, "clear") == 0) && (completion->base_command_arg == 1)) { @@ -672,11 +748,9 @@ completion_build_list (t_completion *completion, void *channel) 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 = weechat_convert_encoding ((local_utf8) ? - cfg_look_charset_decode_iso : cfg_look_charset_decode_utf, - (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - (string) ? string : ((t_irc_channel *)channel)->topic); + 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); @@ -697,8 +771,8 @@ completion_build_list (t_completion *completion, void *channel) */ void -completion_find_context (t_completion *completion, void *channel, char *buffer, - int size, int pos) +completion_find_context (t_completion *completion, void *server, void *channel, + char *buffer, int size, int pos) { int i, command, command_arg, pos_start, pos_end; @@ -808,7 +882,7 @@ completion_find_context (t_completion *completion, void *channel, char *buffer, 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, channel); + completion_build_list (completion, server, channel); } } @@ -1066,7 +1140,7 @@ completion_nick (t_completion *completion, t_irc_channel *channel) */ void -completion_search (t_completion *completion, void *channel, +completion_search (t_completion *completion, void *server, void *channel, char *buffer, int size, int pos) { char *old_word_found; @@ -1075,7 +1149,7 @@ completion_search (t_completion *completion, void *channel, if (pos != completion->position) { completion->word_found = NULL; - completion_find_context (completion, channel, buffer, size, pos); + completion_find_context (completion, server, channel, buffer, size, pos); } /* completion */ diff --git a/weechat/src/common/completion.h b/weechat/src/common/completion.h index a9451eed3..56464a3f7 100644 --- a/weechat/src/common/completion.h +++ b/weechat/src/common/completion.h @@ -54,6 +54,6 @@ struct t_completion extern void completion_init (t_completion *); extern void completion_free (t_completion *); -extern void completion_search (t_completion *, void *, char *, int, int); +extern void completion_search (t_completion *, void *, void *, char *, int, int); #endif /* completion.h */ diff --git a/weechat/src/common/fifo.c b/weechat/src/common/fifo.c index b4a690446..c53987796 100644 --- a/weechat/src/common/fifo.c +++ b/weechat/src/common/fifo.c @@ -174,7 +174,8 @@ fifo_exec (char *text) ptr_buffer = gui_buffers; } - user_command (ptr_server, ptr_buffer, pos_msg); + user_command (gui_buffer_find_window (ptr_buffer), + ptr_server, pos_msg); } /* diff --git a/weechat/src/common/session.c b/weechat/src/common/session.c index 0ac84d817..833ea874d 100644 --- a/weechat/src/common/session.c +++ b/weechat/src/common/session.c @@ -237,6 +237,9 @@ session_save_servers (FILE *file) rc = rc && (session_write_int (file, SESSION_SERV_LAG, ptr_server->lag)); rc = rc && (session_write_buf (file, SESSION_SERV_LAG_CHECK_TIME, &(ptr_server->lag_check_time), sizeof (struct timeval))); rc = rc && (session_write_buf (file, SESSION_SERV_LAG_NEXT_CHECK, &(ptr_server->lag_next_check), sizeof (time_t))); + rc = rc && (session_write_str (file, SESSION_SERV_CHARSET_DECODE_ISO, ptr_server->charset_decode_iso)); + rc = rc && (session_write_str (file, SESSION_SERV_CHARSET_DECODE_UTF, ptr_server->charset_decode_utf)); + rc = rc && (session_write_str (file, SESSION_SERV_CHARSET_ENCODE, ptr_server->charset_encode)); rc = rc && (session_write_id (file, SESSION_SERV_END)); if (!rc) @@ -832,6 +835,15 @@ session_load_server (FILE *file) case SESSION_SERV_LAG_NEXT_CHECK: rc = rc && (session_read_buf (file, &(session_current_server->lag_next_check), sizeof (time_t))); break; + case SESSION_SERV_CHARSET_DECODE_ISO: + rc = rc && (session_read_str (file, &(session_current_server->charset_decode_iso))); + break; + case SESSION_SERV_CHARSET_DECODE_UTF: + rc = rc && (session_read_str (file, &(session_current_server->charset_decode_utf))); + break; + case SESSION_SERV_CHARSET_ENCODE: + rc = rc && (session_read_str (file, &(session_current_server->charset_encode))); + break; default: weechat_log_printf (_("session: warning: ignoring value from " "server (object id: %d)\n")); diff --git a/weechat/src/common/session.h b/weechat/src/common/session.h index 666b7aca9..f0e29df72 100644 --- a/weechat/src/common/session.h +++ b/weechat/src/common/session.h @@ -84,7 +84,10 @@ enum t_session_server SESSION_SERV_AWAY_TIME, SESSION_SERV_LAG, SESSION_SERV_LAG_CHECK_TIME, - SESSION_SERV_LAG_NEXT_CHECK + SESSION_SERV_LAG_NEXT_CHECK, + SESSION_SERV_CHARSET_DECODE_ISO, + SESSION_SERV_CHARSET_DECODE_UTF, + SESSION_SERV_CHARSET_ENCODE }; enum t_session_channel diff --git a/weechat/src/common/weechat.c b/weechat/src/common/weechat.c index e076b4da3..d9f834853 100644 --- a/weechat/src/common/weechat.c +++ b/weechat/src/common/weechat.c @@ -209,11 +209,11 @@ weechat_log_printf (char *message, ...) } /* - * weechat_convert_encoding: convert string to another encoding + * weechat_iconv: convert string to another charset */ char * -weechat_convert_encoding (char *from_code, char *to_code, char *string) +weechat_iconv (char *from_code, char *to_code, char *string) { char *outbuf; @@ -584,7 +584,8 @@ weechat_parse_args (int argc, char *argv[]) server_tmp.ipv6, server_tmp.ssl, server_tmp.password, server_tmp.nick1, server_tmp.nick2, server_tmp.nick3, - NULL, NULL, NULL, 0, server_tmp.autojoin, 1, NULL)) + NULL, NULL, NULL, 0, server_tmp.autojoin, 1, NULL, + NULL, NULL, NULL)) fprintf (stderr, _("%s unable to create server ('%s'), ignored\n"), WEECHAT_WARNING, argv[i]); server_destroy (&server_tmp); diff --git a/weechat/src/common/weechat.h b/weechat/src/common/weechat.h index 379ab80da..273ecc4ad 100644 --- a/weechat/src/common/weechat.h +++ b/weechat/src/common/weechat.h @@ -109,7 +109,7 @@ extern int ascii_strcasecmp (char *, char *); extern int ascii_strncasecmp (char *, char *, int); extern void weechat_log_printf (char *, ...); extern void weechat_dump (int); -extern char *weechat_convert_encoding (char *, char *, char *); +extern char *weechat_iconv (char *, char *, char *); extern long get_timeval_diff (struct timeval *, struct timeval *); extern void weechat_shutdown (int, int); diff --git a/weechat/src/common/weeconfig.c b/weechat/src/common/weeconfig.c index bc86c20c5..3ff0bc16a 100644 --- a/weechat/src/common/weeconfig.c +++ b/weechat/src/common/weeconfig.c @@ -937,6 +937,21 @@ t_config_option weechat_options_server[] = N_("comma separated list of notify levels for channels of this server (format: #channel:1,..)"), OPTION_TYPE_STRING, 0, 0, 0, "", NULL, NULL, &(cfg_server.notify_levels), config_change_notify_levels }, + { "server_charset_decode_iso", N_("charset for decoding ISO on server and channels"), + N_("comma separated list of charsets for server and channels, " + "to decode ISO (format: server:charset,#channel:charset,..)"), + OPTION_TYPE_STRING, 0, 0, 0, + "", NULL, NULL, &(cfg_server.charset_decode_iso), config_change_noop }, + { "server_charset_decode_utf", N_("charset for decoding UTF on server and channels"), + N_("comma separated list of charsets for server and channels, " + "to decode UTF (format: server:charset,#channel:charset,..)"), + OPTION_TYPE_STRING, 0, 0, 0, + "", NULL, NULL, &(cfg_server.charset_decode_utf), config_change_noop }, + { "server_charset_encode", N_("charset for encoding messages on server and channels"), + N_("comma separated list of charsets for server and channels, " + "to encode messages (format: server:charset,#channel:charset,..)"), + OPTION_TYPE_STRING, 0, 0, 0, + "", NULL, NULL, &(cfg_server.charset_encode), config_change_noop }, { NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL } }; @@ -951,12 +966,12 @@ t_config_option *weechat_options[CONFIG_NUMBER_SECTIONS] = /* - * get_pos_array_values: returns position of a string in an array of values - * returns -1 if not found, otherwise position + * config_get_pos_array_values: return position of a string in an array of values + * return -1 if not found, otherwise position */ int -get_pos_array_values (char **array, char *string) +config_get_pos_array_values (char **array, char *string) { int i; @@ -1240,7 +1255,8 @@ config_option_set_value (t_config_option *option, char *value) *(option->ptr_int) = int_value; break; case OPTION_TYPE_INT_WITH_STRING: - int_value = get_pos_array_values (option->array_values, value); + int_value = config_get_pos_array_values (option->array_values, + value); if (int_value < 0) return -1; *(option->ptr_int) = int_value; @@ -1259,6 +1275,116 @@ config_option_set_value (t_config_option *option, char *value) } /* + * config_option_list_remove: remove an item from a list for an option + * (for options with value like: "abc:1,def:blabla") + */ + +void +config_option_list_remove (char **string, char *item) +{ + char *name, *pos, *pos2; + + if (!string || !(*string)) + return; + + name = (char *) malloc (strlen (item) + 2); + strcpy (name, item); + strcat (name, ":"); + pos = strstr (*string, name); + free (name); + if (pos) + { + pos2 = pos + strlen (item); + if (pos2[0] == ':') + { + pos2++; + if (pos2[0]) + { + while (pos2[0] && (pos2[0] != ',')) + pos2++; + if (pos2[0] == ',') + pos2++; + if (!pos2[0] && (pos != (*string))) + pos--; + strcpy (pos, pos2); + if (!(*string)[0]) + { + free (*string); + *string = NULL; + } + else + (*string) = (char *) realloc (*string, strlen (*string) + 1); + } + } + } +} + +/* + * config_option_list_set: set an item from a list for an option + * (for options with value like: "abc:1,def:blabla") + */ + +void +config_option_list_set (char **string, char *item, char *value) +{ + config_option_list_remove (string, item); + + if (!(*string)) + { + (*string) = (char *) malloc (strlen (item) + 1 + strlen (value) + 1); + (*string)[0] = '\0'; + } + else + (*string) = (char *) realloc (*string, + strlen (*string) + 1 + + strlen (item) + 1 + strlen (value) + 1); + + if ((*string)[0]) + strcat (*string, ","); + strcat (*string, item); + strcat (*string, ":"); + strcat (*string, value); +} + +/* + * config_option_list_get_value: return position of item value in the list + * (for options with value like: "abc:1,def:blabla") + */ + +void +config_option_list_get_value (char **string, char *item, + char **pos_found, int *length) +{ + char *name, *pos, *pos2, *pos_comma; + + *pos_found = NULL; + *length = 0; + + if (!string || !(*string)) + return; + + name = (char *) malloc (strlen (item) + 2); + strcpy (name, item); + strcat (name, ":"); + pos = strstr (*string, name); + free (name); + if (pos) + { + pos2 = pos + strlen (item); + if (pos2[0] == ':') + { + pos2++; + *pos_found = pos2; + pos_comma = strchr (pos2, ','); + if (pos_comma) + *length = pos_comma - pos2; + else + *length = strlen (pos2); + } + } +} + +/* * config_get_server_option_ptr: get a pointer to a server config option */ @@ -1303,6 +1429,12 @@ config_get_server_option_ptr (t_irc_server *server, char *option_name) return (void *)(&server->autorejoin); if (ascii_strcasecmp (option_name, "server_notify_levels") == 0) return (void *)(&server->notify_levels); + if (ascii_strcasecmp (option_name, "server_charset_decode_iso") == 0) + return (void *)(&server->charset_decode_iso); + if (ascii_strcasecmp (option_name, "server_charset_decode_utf") == 0) + return (void *)(&server->charset_decode_utf); + if (ascii_strcasecmp (option_name, "server_charset_encode") == 0) + return (void *)(&server->charset_encode); /* option not found */ return NULL; } @@ -1357,7 +1489,8 @@ config_set_server_value (t_irc_server *server, char *option_name, *((int *)(ptr_data)) = int_value; break; case OPTION_TYPE_INT_WITH_STRING: - int_value = get_pos_array_values (ptr_option->array_values, value); + int_value = config_get_pos_array_values (ptr_option->array_values, + value); if (int_value < 0) return -2; *((int *)(ptr_data)) = int_value; @@ -1527,7 +1660,9 @@ config_allocate_server (char *filename, int line_number) cfg_server.password, cfg_server.nick1, cfg_server.nick2, cfg_server.nick3, cfg_server.username, cfg_server.realname, cfg_server.command, cfg_server.command_delay, cfg_server.autojoin, - cfg_server.autorejoin, cfg_server.notify_levels)) + cfg_server.autorejoin, cfg_server.notify_levels, + cfg_server.charset_decode_iso, cfg_server.charset_decode_utf, + cfg_server.charset_encode)) { server_free_all (); gui_printf (NULL, @@ -1566,7 +1701,7 @@ config_default_values () weechat_options[i][j].default_int; break; case OPTION_TYPE_INT_WITH_STRING: - int_value = get_pos_array_values ( + int_value = config_get_pos_array_values ( weechat_options[i][j].array_values, weechat_options[i][j].default_string); if (int_value < 0) @@ -2064,6 +2199,10 @@ config_create_default () fprintf (file, "server_command_delay = 0\n"); fprintf (file, "server_autojoin = \"\"\n"); fprintf (file, "server_autorejoin = on\n"); + fprintf (file, "server_notify_levels = \"\"\n"); + fprintf (file, "server_charset_decode_iso = \"\"\n"); + fprintf (file, "server_charset_decode_utf = \"\"\n"); + fprintf (file, "server_charset_encode = \"\"\n"); fclose (file); chmod (filename, 0600); @@ -2251,6 +2390,12 @@ config_write (char *config_name) (ptr_server->autorejoin) ? "on" : "off"); fprintf (file, "server_notify_levels = \"%s\"\n", (ptr_server->notify_levels) ? ptr_server->notify_levels : ""); + fprintf (file, "server_charset_decode_iso = \"%s\"\n", + (ptr_server->charset_decode_iso) ? ptr_server->charset_decode_iso : ""); + fprintf (file, "server_charset_decode_utf = \"%s\"\n", + (ptr_server->charset_decode_utf) ? ptr_server->charset_decode_utf : ""); + fprintf (file, "server_charset_encode = \"%s\"\n", + (ptr_server->charset_encode) ? ptr_server->charset_encode : ""); } } diff --git a/weechat/src/common/weeconfig.h b/weechat/src/common/weeconfig.h index 38096af2f..7df3d78cb 100644 --- a/weechat/src/common/weeconfig.h +++ b/weechat/src/common/weeconfig.h @@ -238,6 +238,9 @@ extern void config_change_fifo_pipe (); extern void config_change_notify_levels (); extern void config_change_log (); extern int config_option_set_value (t_config_option *, char *); +extern void config_option_list_remove (char **, char *); +extern void config_option_list_set (char **, char *, char *); +extern void config_option_list_get_value (char **, char *, char **, int *); extern t_config_option *config_option_search (char *); extern void config_option_search_option_value (char *, t_config_option **, void **); extern int config_set_value (char *, char *); diff --git a/weechat/src/gui/curses/gui-display.c b/weechat/src/gui/curses/gui-display.c index f9832e3ac..aa103abb9 100644 --- a/weechat/src/gui/curses/gui-display.c +++ b/weechat/src/gui/curses/gui-display.c @@ -806,11 +806,9 @@ gui_draw_buffer_title (t_gui_buffer *buffer, int erase) if (CHANNEL(buffer)->topic) { buf = (char *)gui_color_decode ((unsigned char *)(CHANNEL(buffer)->topic), 0); - buf2 = weechat_convert_encoding ((local_utf8) ? - cfg_look_charset_decode_iso : cfg_look_charset_decode_utf, - (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - (buf) ? buf : CHANNEL(buffer)->topic); + buf2 = channel_iconv_decode (SERVER(buffer), + CHANNEL(buffer), + (buf) ? buf : CHANNEL(buffer)->topic); mvwprintw (ptr_win->win_title, 0, 0, format, (buf2) ? buf2 : CHANNEL(buffer)->topic); if (buf) free (buf); @@ -1519,12 +1517,10 @@ gui_draw_buffer_chat (t_gui_buffer *buffer, int erase) mvwprintw (ptr_win->win_chat, i, 0, "%s %-16s ", (ptr_dcc == dcc_selected) ? "***" : " ", ptr_dcc->nick); - buf = weechat_convert_encoding ((local_utf8) ? - cfg_look_charset_decode_iso : cfg_look_charset_decode_utf, - (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - (DCC_IS_CHAT(ptr_dcc->type)) ? - _(ptr_dcc->filename) : ptr_dcc->filename); + buf = channel_iconv_decode (SERVER(buffer), + CHANNEL(buffer), + (DCC_IS_CHAT(ptr_dcc->type)) ? + _(ptr_dcc->filename) : ptr_dcc->filename); wprintw (ptr_win->win_chat, "%s", buf); free (buf); if (DCC_IS_FILE(ptr_dcc->type)) @@ -1543,11 +1539,9 @@ gui_draw_buffer_chat (t_gui_buffer *buffer, int erase) (DCC_IS_RECV(ptr_dcc->type)) ? "-->>" : "<<--"); gui_window_set_weechat_color (ptr_win->win_chat, COLOR_DCC_WAITING + ptr_dcc->status); - buf = weechat_convert_encoding ((local_utf8) ? - cfg_look_charset_decode_iso : cfg_look_charset_decode_utf, - (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - _(dcc_status_string[ptr_dcc->status])); + buf = channel_iconv_decode (SERVER(buffer), + CHANNEL(buffer), + _(dcc_status_string[ptr_dcc->status])); wprintw (ptr_win->win_chat, "%-10s", buf); free (buf); @@ -1604,11 +1598,9 @@ gui_draw_buffer_chat (t_gui_buffer *buffer, int erase) ptr_dcc->eta % 60); } sprintf (format, "%s %%s/s)", unit_format[num_unit]); - buf = weechat_convert_encoding ((local_utf8) ? - cfg_look_charset_decode_iso : cfg_look_charset_decode_utf, - (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - unit_name[num_unit]); + buf = channel_iconv_decode (SERVER(buffer), + CHANNEL(buffer), + unit_name[num_unit]); wprintw (ptr_win->win_chat, format, ((long double) ptr_dcc->bytes_per_sec) / ((long double)(unit_divide[num_unit])), buf); diff --git a/weechat/src/gui/gui-action.c b/weechat/src/gui/gui-action.c index ddfc8def8..e68e883f1 100644 --- a/weechat/src/gui/gui-action.c +++ b/weechat/src/gui/gui-action.c @@ -108,9 +108,7 @@ gui_action_return (t_gui_window *window) window->buffer->completion.position = -1; window->buffer->ptr_history = NULL; gui_draw_buffer_input (window->buffer, 0); - user_command (SERVER(window->buffer), - window->buffer, - command); + user_command (window, SERVER(window->buffer), command); free (command); } } @@ -128,6 +126,7 @@ 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, diff --git a/weechat/src/gui/gui-common.c b/weechat/src/gui/gui-common.c index af1e0f86b..85a59fdb5 100644 --- a/weechat/src/gui/gui-common.c +++ b/weechat/src/gui/gui-common.c @@ -322,6 +322,26 @@ gui_buffer_search (char *server, char *channel) } /* + * gui_buffer_find_window: find a window displaying buffer + */ + +t_gui_window * +gui_buffer_find_window (t_gui_buffer *buffer) +{ + t_gui_window *ptr_win; + + for (ptr_win = gui_windows; ptr_win; + ptr_win = ptr_win->next_window) + { + if (ptr_win->buffer == buffer) + return ptr_win; + } + + /* no window found */ + return NULL; +} + +/* * gui_buffer_servers_search: search servers buffer * (when same buffer is used for all servers) */ @@ -857,7 +877,7 @@ gui_printf_internal (t_gui_buffer *buffer, int display_time, int type, char *mes time_t time_seconds; struct tm *local_time; int time_first_digit, time_last_digit; - char *pos, *buf2; + char *buf2, *pos; int i; va_list argptr; static time_t seconds; @@ -898,12 +918,8 @@ gui_printf_internal (t_gui_buffer *buffer, int display_time, int type, char *mes if (!buf[0]) return; - if (!local_utf8 || !utf8_is_valid (buf)) - buf2 = weechat_convert_encoding ((local_utf8) ? - cfg_look_charset_decode_iso : cfg_look_charset_decode_utf, - (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - buf); + if (gui_init_ok) + buf2 = channel_iconv_decode (SERVER(buffer), CHANNEL(buffer), buf); else buf2 = strdup (buf); @@ -1015,16 +1031,7 @@ gui_infobar_printf (int time_displayed, int color, char *message, ...) buf2 = (char *)gui_color_decode ((unsigned char *)buffer, 0); if (buf2) - { - if (!local_utf8 || !utf8_is_valid (buf2)) - buf3 = weechat_convert_encoding ((local_utf8) ? - cfg_look_charset_decode_iso : cfg_look_charset_decode_utf, - (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - buf2); - else - buf3 = strdup (buf2); - } + buf3 = channel_iconv_decode (NULL, NULL, buf2); else buf3 = NULL; diff --git a/weechat/src/gui/gui-keyboard.c b/weechat/src/gui/gui-keyboard.c index 60d06e9db..556962f3c 100644 --- a/weechat/src/gui/gui-keyboard.c +++ b/weechat/src/gui/gui-keyboard.c @@ -517,8 +517,8 @@ gui_key_pressed (char *key_str) /* exact combo found => execute function or command */ gui_key_buffer[0] = '\0'; if (ptr_key->command) - user_command (SERVER(gui_current_window->buffer), - gui_current_window->buffer, + user_command (gui_current_window, + SERVER(gui_current_window->buffer), ptr_key->command); else (void)(ptr_key->function)(gui_current_window); diff --git a/weechat/src/gui/gui.h b/weechat/src/gui/gui.h index b19b82237..5515bb805 100644 --- a/weechat/src/gui/gui.h +++ b/weechat/src/gui/gui.h @@ -402,6 +402,7 @@ extern void gui_window_tree_node_to_leaf (t_gui_window_tree *, t_gui_window *); extern void gui_window_tree_free (t_gui_window_tree **); extern t_gui_window *gui_window_new (t_gui_window *, int, int, int, int, int, int); extern t_gui_buffer *gui_buffer_search (char *, char *); +extern t_gui_window *gui_buffer_find_window (t_gui_buffer *); extern t_gui_buffer *gui_buffer_new (t_gui_window *, void *, void *, int, int); extern void gui_buffer_clear (t_gui_buffer *); extern void gui_buffer_clear_all (); diff --git a/weechat/src/irc/irc-channel.c b/weechat/src/irc/irc-channel.c index 761e64fc7..6d2baa925 100644 --- a/weechat/src/irc/irc-channel.c +++ b/weechat/src/irc/irc-channel.c @@ -30,6 +30,8 @@ #include "../common/weechat.h" #include "irc.h" +#include "../common/utf8.h" +#include "../common/weeconfig.h" #include "../gui/gui.h" @@ -172,6 +174,143 @@ string_is_channel (char *string) } /* + * channel_get_charset_decode_iso: get decode iso value for channel + * if not found for channel, look for server + * if not found for server, look for global + */ + +char * +channel_get_charset_decode_iso (t_irc_server *server, t_irc_channel *channel) +{ + char *pos, *result; + int length; + + if (!server) + return (cfg_look_charset_decode_iso) ? + strdup (cfg_look_charset_decode_iso) : strdup (""); + + if (!channel) + return server_get_charset_decode_iso (server); + + config_option_list_get_value (&(server->charset_decode_iso), + channel->name, &pos, &length); + if (pos && (length > 0)) + { + result = strdup (pos); + result[length] = '\0'; + return result; + } + + return server_get_charset_decode_iso (server); +} + +/* + * channel_get_charset_decode_utf: get decode utf value for channel + * if not found for channel, look for server + * if not found for server, look for global + */ + +char * +channel_get_charset_decode_utf (t_irc_server *server, t_irc_channel *channel) +{ + char *pos, *result; + int length; + + if (!server) + return (cfg_look_charset_decode_utf) ? + strdup (cfg_look_charset_decode_utf) : strdup (""); + + if (!channel) + return server_get_charset_decode_utf (server); + + config_option_list_get_value (&(server->charset_decode_utf), + channel->name, &pos, &length); + if (pos && (length > 0)) + { + result = strdup (pos); + result[length] = '\0'; + return result; + } + + return server_get_charset_decode_utf (server); +} + +/* + * channel_get_charset_encode: get encode value for channel + * if not found for channel, look for server + * if not found for server, look for global + */ + +char * +channel_get_charset_encode (t_irc_server *server, t_irc_channel *channel) +{ + char *pos, *result; + int length; + + if (!server) + return (cfg_look_charset_encode) ? + strdup (cfg_look_charset_encode) : strdup (""); + + if (!channel) + return server_get_charset_encode (server); + + config_option_list_get_value (&(server->charset_encode), + channel->name, &pos, &length); + if (pos && (length > 0)) + { + result = strdup (pos); + result[length] = '\0'; + return result; + } + + return server_get_charset_encode (server); +} + +/* + * channel_iconv_decode: convert string to local charset + */ + +char * +channel_iconv_decode (t_irc_server *server, t_irc_channel *channel, char *string) +{ + char *from_charset, *string2; + + if (!local_utf8 || !utf8_is_valid (string)) + { + if (local_utf8) + from_charset = channel_get_charset_decode_iso (server, channel); + else + from_charset = channel_get_charset_decode_utf (server, channel); + string2 = weechat_iconv (from_charset, + (cfg_look_charset_internal && cfg_look_charset_internal[0]) ? + cfg_look_charset_internal : local_charset, + string); + free (from_charset); + return string2; + } + else + return strdup (string); +} + +/* + * + */ + +char * +channel_iconv_encode (t_irc_server *server, t_irc_channel *channel, char *string) +{ + char *to_charset, *string2; + + to_charset = channel_get_charset_encode (server, channel); + string2 = weechat_iconv ((cfg_look_charset_internal && cfg_look_charset_internal[0]) ? + cfg_look_charset_internal : local_charset, + to_charset, + string); + free (to_charset); + return string2; +} + +/* * channel_remove_away: remove away for all nicks on a channel */ @@ -306,96 +445,25 @@ channel_get_notify_level (t_irc_server *server, t_irc_channel *channel) } /* - * server_remove_notify_level: remove channel notify from list - */ - -void -channel_remove_notify_level (t_irc_server *server, t_irc_channel *channel) -{ - char *name, *pos, *pos2; - - if ((!server) || (!channel)) - return; - - name = (char *) malloc (strlen (channel->name) + 2); - strcpy (name, channel->name); - strcat (name, ":"); - pos = strstr (server->notify_levels, name); - free (name); - if (pos) - { - pos2 = pos + strlen (channel->name); - if (pos2[0] == ':') - { - pos2++; - if (pos2[0]) - { - pos2++; - if (pos2[0] == ',') - pos2++; - if (!pos2[0] && (pos != server->notify_levels)) - pos--; - strcpy (pos, pos2); - server->notify_levels = (char *) realloc (server->notify_levels, - strlen (server->notify_levels) + 1); - } - } - } -} - -/* * server_set_notify_level: set channel notify level */ void channel_set_notify_level (t_irc_server *server, t_irc_channel *channel, int notify) { - char *name, *pos, *pos2, level_string[2]; + char level_string[2]; if ((!server) || (!channel)) return; if (notify == NOTIFY_LEVEL_DEFAULT) - { - channel_remove_notify_level (server, channel); - return; - } - - if (!server->notify_levels) - { - server->notify_levels = (char *) malloc (strlen (channel->name) + 3); - server->notify_levels[0] = '\0'; - } + config_option_list_remove (&(server->notify_levels), channel->name); else { - name = (char *) malloc (strlen (channel->name) + 2); - strcpy (name, channel->name); - strcat (name, ":"); - pos = strstr (server->notify_levels, name); - free (name); - if (pos) - { - pos2 = pos + strlen (channel->name) + 1; - if (pos2[0]) - { - pos2[0] = '0' + notify; - return; - } - } - /* realloc notify list to add channel */ - server->notify_levels = (char *) realloc (server->notify_levels, - strlen (server->notify_levels) + 1 + - strlen (channel->name) + 2 + 1); + level_string[0] = notify + '0'; + level_string[1] = '\0'; + config_option_list_set (&(server->notify_levels), channel->name, level_string); } - - /* channel not in notify list => add it */ - if (server->notify_levels[0]) - strcat (server->notify_levels, ","); - strcat (server->notify_levels, channel->name); - strcat (server->notify_levels, ":"); - level_string[0] = notify + '0'; - level_string[1] = '\0'; - strcat (server->notify_levels, level_string); } /* diff --git a/weechat/src/irc/irc-dcc.c b/weechat/src/irc/irc-dcc.c index cdf7d08b1..422e4c85a 100644 --- a/weechat/src/irc/irc-dcc.c +++ b/weechat/src/irc/irc-dcc.c @@ -1120,10 +1120,9 @@ dcc_chat_sendf (t_irc_dcc *ptr_dcc, char *fmt, ...) gui_printf (ptr_dcc->server->buffer, "[DEBUG] Sending to remote host (DCC CHAT) >>> %s\n", buffer); buffer[size_buf - 2] = '\r'; #endif - buf2 = weechat_convert_encoding ((cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - cfg_look_charset_encode, - buffer); + buf2 = channel_iconv_encode (ptr_dcc->server, + ptr_dcc->channel, + buffer); if (dcc_chat_send (ptr_dcc, buf2, strlen (buf2)) <= 0) { irc_display_prefix (ptr_dcc->server, ptr_dcc->server->buffer, @@ -1144,7 +1143,7 @@ void dcc_chat_recv (t_irc_dcc *ptr_dcc) { static char buffer[4096 + 2]; - char *buf2, *pos, *ptr_buf, *next_ptr_buf; + char *buf2, *pos, *ptr_buf, *ptr_buf2, *next_ptr_buf; char *ptr_buf_color; int num_read; @@ -1196,7 +1195,11 @@ dcc_chat_recv (t_irc_dcc *ptr_dcc) if (ptr_buf) { - ptr_buf_color = (char *)gui_color_decode ((unsigned char *)ptr_buf, + ptr_buf2 = channel_iconv_decode (ptr_dcc->server, + ptr_dcc->channel, + ptr_buf); + ptr_buf_color = (char *)gui_color_decode ((ptr_buf2) ? + (unsigned char *)ptr_buf2 : (unsigned char *)ptr_buf, cfg_irc_colors_receive); gui_printf_type (ptr_dcc->channel->buffer, MSG_TYPE_NICK, "%s<", GUI_COLOR(COLOR_WIN_CHAT_DARK)); @@ -1213,7 +1216,7 @@ dcc_chat_recv (t_irc_dcc *ptr_dcc) COLOR_WIN_INFOBAR_HIGHLIGHT, _("Private %s> %s"), ptr_dcc->nick, - (ptr_buf_color) ? ptr_buf_color : ptr_buf); + (ptr_buf_color) ? ptr_buf_color : ((ptr_buf2) ? ptr_buf2 : ptr_buf)); } else gui_printf_type (ptr_dcc->channel->buffer, MSG_TYPE_NICK, @@ -1228,13 +1231,15 @@ dcc_chat_recv (t_irc_dcc *ptr_dcc) (ptr_buf_color) ? ptr_buf_color : ptr_buf); if (ptr_buf_color) free (ptr_buf_color); + if (ptr_buf2) + free (ptr_buf2); } ptr_buf = next_ptr_buf; } if (buf2) -free (buf2); + free (buf2); } else { diff --git a/weechat/src/irc/irc-display.c b/weechat/src/irc/irc-display.c index b8be20219..05332ae63 100644 --- a/weechat/src/irc/irc-display.c +++ b/weechat/src/irc/irc-display.c @@ -185,27 +185,27 @@ irc_display_server (t_irc_server *server) _("connected") : _("not connected"), GUI_COLOR(COLOR_WIN_CHAT_DARK)); - gui_printf (NULL, " server_autoconnect . . . .: %s%s\n", + gui_printf (NULL, " server_autoconnect . . . . : %s%s\n", (server->autoconnect) ? _("on") : _("off"), (server->command_line) ? _(" (temporary server, will not be saved)") : ""); - gui_printf (NULL, " server_autoreconnect . . .: %s\n", + gui_printf (NULL, " server_autoreconnect . . . : %s\n", (server->autoreconnect) ? _("on") : _("off")); - gui_printf (NULL, " server_autoreconnect_delay: %d %s\n", + gui_printf (NULL, " server_autoreconnect_delay : %d %s\n", server->autoreconnect_delay, _("seconds")); - gui_printf (NULL, " server_address . . . . . .: %s\n", + gui_printf (NULL, " server_address . . . . . . : %s\n", server->address); - gui_printf (NULL, " server_port . . . . . . .: %d\n", + gui_printf (NULL, " server_port . . . . . . . : %d\n", server->port); - gui_printf (NULL, " server_ipv6 . . . . . . .: %s\n", + gui_printf (NULL, " server_ipv6 . . . . . . . : %s\n", (server->ipv6) ? _("on") : _("off")); - gui_printf (NULL, " server_ssl . . . . . . . .: %s\n", + gui_printf (NULL, " server_ssl . . . . . . . . : %s\n", (server->ssl) ? _("on") : _("off")); - gui_printf (NULL, " server_password . . . . .: %s\n", + gui_printf (NULL, " server_password . . . . . : %s\n", (server->password && server->password[0]) ? _("(hidden)") : ""); - gui_printf (NULL, " server_nick1/2/3 . . . . .: %s %s/ %s%s %s/ %s%s\n", + gui_printf (NULL, " server_nick1/2/3 . . . . . : %s %s/ %s%s %s/ %s%s\n", server->nick1, GUI_COLOR(COLOR_WIN_CHAT_DARK), GUI_COLOR(COLOR_WIN_CHAT), @@ -213,20 +213,29 @@ irc_display_server (t_irc_server *server) GUI_COLOR(COLOR_WIN_CHAT_DARK), GUI_COLOR(COLOR_WIN_CHAT), server->nick3); - gui_printf (NULL, " server_username . . . . .: %s\n", + gui_printf (NULL, " server_username . . . . . : %s\n", server->username); - gui_printf (NULL, " server_realname . . . . .: %s\n", + gui_printf (NULL, " server_realname . . . . . : %s\n", server->realname); - gui_printf (NULL, " server_command . . . . . .: %s\n", + gui_printf (NULL, " server_command . . . . . . : %s\n", (server->command && server->command[0]) ? server->command : ""); - gui_printf (NULL, " server_command_delay . . .: %d %s\n", + gui_printf (NULL, " server_command_delay . . . : %d %s\n", server->command_delay, _("seconds")); - gui_printf (NULL, " server_autojoin . . . . .: %s\n", + gui_printf (NULL, " server_autojoin . . . . . : %s\n", (server->autojoin && server->autojoin[0]) ? server->autojoin : ""); - gui_printf (NULL, " server_notify_levels . . .: %s\n", + gui_printf (NULL, " server_notify_levels . . . : %s\n", (server->notify_levels && server->notify_levels[0]) ? server->notify_levels : ""); + gui_printf (NULL, " server_charset_decode_iso. : %s\n", + (server->charset_decode_iso && server->charset_decode_iso[0]) ? + server->charset_decode_iso : ""); + gui_printf (NULL, " server_charset_decode_utf. : %s\n", + (server->charset_decode_utf && server->charset_decode_utf[0]) ? + server->charset_decode_utf : ""); + gui_printf (NULL, " server_charset_encode. . . : %s\n", + (server->charset_encode && server->charset_encode[0]) ? + server->charset_encode : ""); } diff --git a/weechat/src/irc/irc-recv.c b/weechat/src/irc/irc-recv.c index a19196315..bb0eeb359 100644 --- a/weechat/src/irc/irc-recv.c +++ b/weechat/src/irc/irc-recv.c @@ -2225,14 +2225,16 @@ irc_cmd_recv_quit (t_irc_server *server, char *host, char *nick, char *arguments pos = strchr (host, '!'); irc_display_prefix (server, ptr_channel->buffer, PREFIX_QUIT); gui_printf (ptr_channel->buffer, - _("%s%s %s(%s%s%s)%s has quit %s(%s%s%s)\n"), + _("%s%s %s(%s%s%s)%s has quit"), GUI_COLOR(COLOR_WIN_CHAT_NICK), nick, GUI_COLOR(COLOR_WIN_CHAT_DARK), GUI_COLOR(COLOR_WIN_CHAT_HOST), (pos) ? pos + 1 : "", GUI_COLOR(COLOR_WIN_CHAT_DARK), - GUI_COLOR(COLOR_WIN_CHAT), + GUI_COLOR(COLOR_WIN_CHAT)); + gui_printf (ptr_channel->buffer, + " %s(%s%s%s)\n", GUI_COLOR(COLOR_WIN_CHAT_DARK), GUI_COLOR(COLOR_WIN_CHAT), arguments, @@ -2447,7 +2449,7 @@ irc_cmd_recv_004 (t_irc_server *server, char *host, char *nick, char *arguments) /* execute command once connected */ if (server->command && server->command[0]) { - user_command(server, NULL, server->command); + user_command(NULL, server, server->command); if (server->command_delay > 0) sleep (server->command_delay); } diff --git a/weechat/src/irc/irc-server.c b/weechat/src/irc/irc-server.c index 2a4b6107e..33cf7afd0 100644 --- a/weechat/src/irc/irc-server.c +++ b/weechat/src/irc/irc-server.c @@ -84,6 +84,9 @@ server_init (t_irc_server *server) server->autojoin = NULL; server->autorejoin = 0; server->notify_levels = NULL; + server->charset_decode_iso = NULL; + server->charset_decode_utf = NULL; + server->charset_encode = NULL; /* internal vars */ server->child_pid = 0; @@ -294,6 +297,12 @@ server_destroy (t_irc_server *server) free (server->autojoin); if (server->notify_levels) free (server->notify_levels); + if (server->charset_decode_iso) + free (server->charset_decode_iso); + if (server->charset_decode_utf) + free (server->charset_decode_utf); + if (server->charset_encode) + free (server->charset_encode); if (server->unterminated_message) free (server->unterminated_message); if (server->nick) @@ -355,7 +364,8 @@ server_new (char *name, int autoconnect, int autoreconnect, int autoreconnect_de int command_line, char *address, int port, int ipv6, int ssl, char *password, char *nick1, char *nick2, char *nick3, char *username, char *realname, char *command, int command_delay, char *autojoin, - int autorejoin, char *notify_levels) + int autorejoin, char *notify_levels, char *charset_decode_iso, + char *charset_decode_utf, char *charset_encode) { t_irc_server *new_server; @@ -365,12 +375,16 @@ server_new (char *name, int autoconnect, int autoreconnect, int autoreconnect_de #ifdef DEBUG weechat_log_printf ("Creating new server (name:%s, address:%s, port:%d, pwd:%s, " "nick1:%s, nick2:%s, nick3:%s, username:%s, realname:%s, " - "command:%s, autojoin:%s, autorejoin:%s, notify_levels:%s)\n", + "command:%s, autojoin:%s, autorejoin:%s, notify_levels:%s, " + "decode_iso:%s, decode_utf:%s, encode:%s)\n", name, address, port, (password) ? password : "", (nick1) ? nick1 : "", (nick2) ? nick2 : "", (nick3) ? nick3 : "", (username) ? username : "", (realname) ? realname : "", (command) ? command : "", (autojoin) ? autojoin : "", - (autorejoin) ? "on" : "off", (notify_levels) ? notify_levels : ""); + (autorejoin) ? "on" : "off", (notify_levels) ? notify_levels : "", + (charset_decode_iso) ? charset_decode_iso : "", + (charset_decode_utf) ? charset_decode_utf : "", + (charset_encode) ? charset_encode : ""); #endif if ((new_server = server_alloc ())) @@ -400,6 +414,12 @@ server_new (char *name, int autoconnect, int autoreconnect, int autoreconnect_de new_server->autorejoin = autorejoin; new_server->notify_levels = (notify_levels) ? strdup (notify_levels) : NULL; + new_server->charset_decode_iso = + (charset_decode_iso) ? strdup (charset_decode_iso) : NULL; + new_server->charset_decode_utf = + (charset_decode_utf) ? strdup (charset_decode_utf) : NULL; + new_server->charset_encode = + (charset_encode) ? strdup (charset_encode) : NULL; } else return NULL; @@ -407,6 +427,90 @@ server_new (char *name, int autoconnect, int autoreconnect, int autoreconnect_de } /* + * server_get_charset_decode_iso: get decode iso value for server + * if not found for server, look for global + */ + +char * +server_get_charset_decode_iso (t_irc_server *server) +{ + char *pos, *result; + int length; + + if (!server) + return (cfg_look_charset_decode_iso) ? + strdup (cfg_look_charset_decode_iso) : strdup (""); + + config_option_list_get_value (&(server->charset_decode_iso), + "server", &pos, &length); + if (pos && (length > 0)) + { + result = strdup (pos); + result[length] = '\0'; + return result; + } + + return (cfg_look_charset_decode_iso) ? + strdup (cfg_look_charset_decode_iso) : strdup (""); +} + +/* + * server_get_charset_decode_utf: get decode utf value for server + * if not found for server, look for global + */ + +char * +server_get_charset_decode_utf (t_irc_server *server) +{ + char *pos, *result; + int length; + + if (!server) + return (cfg_look_charset_decode_utf) ? + strdup (cfg_look_charset_decode_utf) : strdup (""); + + config_option_list_get_value (&(server->charset_decode_utf), + "server", &pos, &length); + if (pos && (length > 0)) + { + result = strdup (pos); + result[length] = '\0'; + return result; + } + + return (cfg_look_charset_decode_utf) ? + strdup (cfg_look_charset_decode_utf) : strdup (""); +} + +/* + * server_get_charset_encode: get encode value for server + * if not found for server, look for global + */ + +char * +server_get_charset_encode (t_irc_server *server) +{ + char *pos, *result; + int length; + + if (!server) + return (cfg_look_charset_encode) ? + strdup (cfg_look_charset_encode) : strdup (""); + + config_option_list_get_value (&(server->charset_encode), + "server", &pos, &length); + if (pos && (length > 0)) + { + result = strdup (pos); + result[length] = '\0'; + return result; + } + + return (cfg_look_charset_encode) ? + strdup (cfg_look_charset_encode) : strdup (""); +} + +/* * server_send: send data to IRC server */ @@ -433,7 +537,6 @@ server_sendf (t_irc_server *server, char *fmt, ...) { va_list args; static char buffer[4096]; - char *buf2; int size_buf; if (!server) @@ -454,17 +557,12 @@ server_sendf (t_irc_server *server, char *fmt, ...) gui_printf (server->buffer, "[DEBUG] Sending to server >>> %s\n", buffer); buffer[size_buf - 2] = '\r'; #endif - buf2 = weechat_convert_encoding ((cfg_look_charset_internal && cfg_look_charset_internal[0]) ? - cfg_look_charset_internal : local_charset, - cfg_look_charset_encode, - buffer); - if (server_send (server, buf2, strlen (buf2)) <= 0) + if (server_send (server, buffer, strlen (buffer)) <= 0) { irc_display_prefix (server, server->buffer, PREFIX_ERROR); gui_printf (server->buffer, _("%s error sending data to IRC server\n"), WEECHAT_ERROR); } - free (buf2); } /* @@ -1782,6 +1880,9 @@ server_print_log (t_irc_server *server) weechat_log_printf (" autojoin. . . . . . : '%s'\n", server->autojoin); weechat_log_printf (" autorejoin. . . . . : %d\n", server->autorejoin); weechat_log_printf (" notify_levels . . . : %s\n", server->notify_levels); + weechat_log_printf (" charset_decode_iso. : %s\n", server->charset_decode_iso); + weechat_log_printf (" charset_decode_utf. : %s\n", server->charset_decode_utf); + weechat_log_printf (" charset_encode. . . : %s\n", server->charset_encode); weechat_log_printf (" child_pid . . . . . : %d\n", server->child_pid); weechat_log_printf (" child_read . . . . : %d\n", server->child_read); weechat_log_printf (" child_write . . . . : %d\n", server->child_write); diff --git a/weechat/src/irc/irc.h b/weechat/src/irc/irc.h index e2fdc00fb..28a10b13f 100644 --- a/weechat/src/irc/irc.h +++ b/weechat/src/irc/irc.h @@ -143,6 +143,9 @@ struct t_irc_server 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) */ @@ -301,7 +304,11 @@ extern void server_free (t_irc_server *); extern void server_free_all (); extern t_irc_server *server_new (char *, int, int, int, int, char *, int, int, int, char *, char *, char *, char *, char *, char *, - char *, int, char *, int, char *); + char *, int, char *, int, char *, char *, char *, + char *); +extern char *server_get_charset_decode_iso (t_irc_server *); +extern char *server_get_charset_decode_utf (t_irc_server *); +extern char *server_get_charset_encode (t_irc_server *); extern int server_send (t_irc_server *, char *, int); extern void server_sendf (t_irc_server *, char *, ...); extern void server_recv (t_irc_server *); @@ -336,13 +343,17 @@ extern void channel_free (t_irc_server *, t_irc_channel *); extern void channel_free_all (t_irc_server *); extern t_irc_channel *channel_search (t_irc_server *, char *); extern int string_is_channel (char *); +extern char *channel_get_charset_decode_iso (t_irc_server *, t_irc_channel *); +extern char *channel_get_charset_decode_utf (t_irc_server *, t_irc_channel *); +extern char *channel_get_charset_encode (t_irc_server *, t_irc_channel *); +extern char *channel_iconv_decode (t_irc_server *, t_irc_channel *, char *); +extern char *channel_iconv_encode (t_irc_server *, t_irc_channel *, char *); extern void channel_remove_away (t_irc_channel *); extern void channel_check_away (t_irc_server *, t_irc_channel *); extern void channel_set_away (t_irc_channel *, char *, int); extern int channel_create_dcc (t_irc_dcc *); extern void channel_remove_dcc (t_irc_dcc *); extern int channel_get_notify_level (t_irc_server *, t_irc_channel *); -extern void channel_remove_notify_level (t_irc_server *, t_irc_channel *); extern void channel_set_notify_level (t_irc_server *, t_irc_channel *, int); extern void channel_print_log (t_irc_channel *); @@ -387,12 +398,9 @@ extern void irc_display_mode (t_irc_server *, t_gui_buffer *, char *, char, char *, char *, char *, char *); extern void irc_display_server (t_irc_server *ptr_server); -/* IRC protocol (irc-commands.c) */ +/* IRC commands issued by user (irc-send.c) */ -extern int irc_is_highlight (char *, char *); -extern int irc_recv_command (t_irc_server *, char *, char *, char *, char *); extern void irc_login (t_irc_server *); -/* IRC commands issued by user */ extern int irc_cmd_send_admin (t_irc_server *, char *); extern int irc_cmd_send_ame (t_irc_server *, char *); extern int irc_cmd_send_amsg (t_irc_server *, char *); @@ -452,7 +460,11 @@ extern int irc_cmd_send_wallops (t_irc_server *, char *); extern int irc_cmd_send_who (t_irc_server *, char *); extern int irc_cmd_send_whois (t_irc_server *, char *); extern int irc_cmd_send_whowas (t_irc_server *, char *); -/* IRC commands executed when received from server */ + +/* IRC commands executed when received from server (irc-recv.c) */ + +extern int irc_is_highlight (char *, char *); +extern int irc_recv_command (t_irc_server *, char *, char *, char *, char *); extern int irc_cmd_recv_error (t_irc_server *, char *, char *, char *); extern int irc_cmd_recv_invite (t_irc_server *, char *, char *, char *); extern int irc_cmd_recv_join (t_irc_server *, char *, char *, char *); diff --git a/weechat/src/plugins/plugins-interface.c b/weechat/src/plugins/plugins-interface.c index 12083faf4..615ef89d6 100644 --- a/weechat/src/plugins/plugins-interface.c +++ b/weechat/src/plugins/plugins-interface.c @@ -288,11 +288,14 @@ weechat_plugin_exec_command (t_weechat_plugin *plugin, plugin_find_server_channel (server, channel, &ptr_server, &ptr_channel); if (ptr_server && ptr_channel) - user_command (ptr_server, ptr_channel->buffer, command); + user_command (gui_buffer_find_window (ptr_channel->buffer), + ptr_server, command); else if (ptr_server && (ptr_server->buffer)) - user_command (ptr_server, ptr_server->buffer, command); + user_command (gui_buffer_find_window (ptr_server->buffer), + ptr_server, command); else - user_command (NULL, gui_buffers, command); + user_command (gui_buffer_find_window (gui_buffers), + NULL, command); } /* |