1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +02:00

Compare commits

...

14 Commits

Author SHA1 Message Date
Sebastien Helleu 097676d72b Version 0.3.3-rc2 2010-07-27 09:49:08 +02:00
Sebastien Helleu a7468c0d65 Update italian plugin API reference 2010-07-25 13:12:58 +02:00
Sebastien Helleu 95c5ca9a96 Fix import of certificates created by openssl >= 1.0.0 (bug #30316) 2010-07-25 12:54:26 +02:00
Sebastien Helleu b153d82b78 Remove unneeded spaces and tabs 2010-07-19 15:36:51 +02:00
Jiri Golembiovsky eaa54488ca Updated czech translations 2010-07-18 17:09:11 +02:00
Sebastien Helleu eb2beeacc5 Fix bug with double quotes in DCC filenames (bug #30471) 2010-07-18 10:05:38 +02:00
Sebastien Helleu aef695e0e8 Fix help of option irc.look.nick_color_stop_chars (problem in generated asciidoc file) 2010-07-17 21:38:04 +02:00
Sebastien Helleu 65439e9346 Update plugin API reference: add "New in version x.y.z" for some functions, add missing functions 2010-07-17 17:47:52 +02:00
Sebastien Helleu 22430bfee3 Update string with plugin API version 2010-07-17 13:45:33 +02:00
Sebastien Helleu ef7958df6e Replace single quotes by double quotes in ChangeLog 2010-07-17 13:35:42 +02:00
Sebastien Helleu 077f1d9fe7 Update docs 2010-07-17 10:30:43 +02:00
Sebastien Helleu 2c870934ba Update italian translations and plugin API reference 2010-07-17 10:29:05 +02:00
Sebastien Helleu 54468b8ef3 Add new option irc.look.nick_color_stop_chars 2010-07-17 10:21:25 +02:00
Sebastien Helleu 8dc23863c5 Use '!' to reverse a regex in a filter (to keep lines matching regex and hide other lines) 2010-07-16 19:45:14 +02:00
41 changed files with 1462 additions and 477 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ ENDIF(PREFIX)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "3")
SET(VERSION_PATCH "3-rc1")
SET(VERSION_PATCH "3-rc2")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(LICENSE "GPL3")
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
+7 -2
View File
@@ -1,12 +1,14 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
v0.3.3-dev, 2010-07-12
v0.3.3-dev, 2010-07-25
Version 0.3.3 (under dev!)
--------------------------
* core: use "!" to reverse a regex in a filter (to keep lines matching regex
and hide other lines)
* core: add keys for undo/redo changes on command line
(default: ctrl/alt + underscore) (task #9483)
* core: add new option weechat.look.align_end_of_lines
@@ -22,6 +24,8 @@ Version 0.3.3 (under dev!)
(bug #30296)
* api: add function "string_expand_home", fix bug with replacement of home in
paths
* irc: add new option irc.look.nick_color_stop_chars
* irc: fix import of certificates created by openssl >= 1.0.0 (bug #30316)
* irc: fix display of local SSL certificate when it is sent to server
(patch #7218)
* irc: improve lag indicator: two colors (counting and finished), update item
@@ -42,13 +46,14 @@ Version 0.3.3 (under dev!)
irc.network.autoreconnect_delay_max (task #10338)
* irc: add missing commands 346, 347 (channel invite list)
* irc: fix display of messages 330 and 333 on some servers
* irc: fix bug with nick prefix '*' (chan founder) on some IRC servers
* irc: fix bug with nick prefix "*" (chan founder) on some IRC servers
(bug #29890)
* irc: fix bug with option irc.network.lag_check when value is 0 (zero)
* irc: try other nick when connecting to server and receiving message 437
(nick unavailable)
* irc: set buffer local variable "away" when opening new channel (bug #29618)
* fifo: fix bug with fifo pipe when setting fifo option to "on"
* xfer: fix bug with double quotes in DCC filenames (bug #30471)
Version 0.3.2 (2010-04-18)
--------------------------
+2 -2
View File
@@ -24,10 +24,10 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
AC_INIT(WeeChat, 0.3.3-rc1, flashcode@flashtux.org)
AC_INIT(WeeChat, 0.3.3-rc2, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([src/core/weechat.c])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([weechat], [0.3.3-rc1])
AM_INIT_AUTOMAKE([weechat], [0.3.3-rc2])
LICENSE="GPL3"
# Checks for programs
+2 -2
View File
@@ -18,7 +18,7 @@
Beispiele:
Führe den Befehl '/me Ich teste gerade etwas...' für alle Channels aus:
/allchan me Ich teste gerade etwas...
/allchan me Ich teste gerade etwas...
Schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel:
/allchan -exclude=#weechat msg * Hallo Welt
Schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel und Channels die mit #linux beginnen:
@@ -153,7 +153,7 @@
list: zeigt an, wer/was ignoriert wird
add: füge eine Ignorierung hinzu
del: entferne eine Ignorierung
del: entferne eine Ignorierung
number: Nummer der Ignorierung die entfernt werden soll (nutze "list" )
-all: entfernt alle Einträge
nick/host: Nick oder Host der ignoriert werden soll: Syntax ist "re:regex" oder "mask" (mask ist eine Zeichenkette in der mittels "*" (Joker) ein oder mehrere Zeichen ersetzt werden können)
+5
View File
@@ -163,6 +163,11 @@
** Typ: integer
** Werte: current, server (Standardwert: current)
* *irc.look.nick_color_stop_chars*
** Beschreibung: chars used to stop in nick when computing color with letters of nick (at least one char outside this list must be in string before stopping) (example: nick "|nick|away" with "|" in chars will return color of nick "|nick")
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: "_|[")
* *irc.look.nick_completion_smart*
** Beschreibung: Intelligente Vervollständigung von Nicknamen (vervollständigt zuerst den letzten Nick, mit dem gesprochen wurde)
** Typ: integer
+25 -21
View File
@@ -127,37 +127,41 @@
........................................
Filterfunktion um Nachrichten in Buffern zu verbergen oder anzuzeigen, dazu können Tags oder regulären Ausdrücken verwendet werden
list: alle Filter auflisten
enable: aktiviert den Filter (Filter sind standardmäßig aktiviert)
disable: deaktiviert den Filter
toggle: Filterfunktion ein-/ausschalten
name: Filtername
add: fügt einen Filter hinzu
del: entfernt einen Filter
-all: entfernt alle Filter
plugin.buffer: Erweiterung und Buffer in denen die Filterfunktion aktiviert ist ("*" betrifft alle Buffer)
tags: durch Kommata getrennte Liste mit Tags, Beispiel: "irc_join,irc_part,irc_quit"
regex: regulärer Ausdruck um in einer Zeile zu suchen (nutze \t um Präfix von Nachricht zu trennen, Sonderzeichen wie '|' müssen mit einer Escapesequenz : '\|' eingebunden werden)
list: list all filters
enable: enable filters (filters are enabled by default)
disable: disable filters
toggle: toggle filters
name: filter name
add: add a filter
del: delete a filter
-all: delete all filters
plugin.buffer: plugin and buffer where filter is active ("*" for all buffers)
tags: comma separated list of tags, for example: "irc_join,irc_part,irc_quit"
regex: regular expression to search in line
- use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|'
- if regex starts with '!', then matching result is reversed (use '\!' to start with '!')
Die Tastenvoreinstellung alt+'=' schaltet die Filterfunktion an/aus.
The default key alt+'=' toggles filtering on/off.
Die am häufigsten gebrauchten Tags lauten:
Tags most commonly used:
no_filter, no_highlight, log0..log9 (log level),
notify_message, notify_private, notify_highlight,
irc_xxx (xxx ist der IRC Befehl oder die IRC Nummer, siehe /server raw), irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
irc_xxx (xxx is command name or number, see /server raw), irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Beispiele:
aktiviert einen einfachen IRC Filter für join/part/quit Nachrichten:
Examples:
use IRC smart filter for join/part/quit messages:
/filter add irc_smart * irc_smart_filter *
filtert alle IRC join/part/quit Nachrichten:
filter all IRC join/part/quit messages:
/filter add joinquit * irc_join,irc_part,irc_quit *
filtert Nicks wenn diese den Channel betreten oder durch den Befehl "/names:" angezeigt werden:
filter nicks displayed when joining channels or with /names:
/filter add nicks * irc_366 *
filtert Nick "toto" im IRC Channel #weechat:
filter nick "toto" on IRC channel #weechat:
/filter add toto irc.freenode.#weechat * toto\t
filtert Zeilen die das Wort "spam" enthalten:
keep only nick "titi" on IRC channel #test:
/filter add titi irc.freenode.#test * !titi\t
filter lines containing word "spam":
/filter add filterspam * * spam
filtert Zeilen die "weechat sucks" im IRC Channel #weechat enthalten:
filter lines containing "weechat sucks" on IRC channel #weechat:
/filter add sucks irc.freenode.#weechat * weechat sucks
........................................
+4 -4
View File
@@ -194,7 +194,7 @@
** Werte: ein Farbname (Standardwert: lightgreen)
* *weechat.color.input_text_not_found*
** Beschreibung: Textfarbe in der Eingabezeile bei einer erfolglosen Textsuche
** Beschreibung: Textfarbe in der Eingabezeile bei einer erfolglosen Textsuche
** Typ: Farbe
** Werte: ein Farbname (Standardwert: red)
@@ -339,7 +339,7 @@
** Werte: 0 .. 1000 (Standardwert: 50)
* *weechat.look.align_end_of_lines*
** Beschreibung: alignment for end of lines (all lines after the first): they are starting under this data (time, buffer, prefix, suffix, message (default))
** Beschreibung: Einstellung bei einem Zeilenumbruch (betrifft alle Zeilen, außer der ersten Zeile). Die Darstellung der nachfolgenden Zeile beginnt unter: (Zeit = time, Buffer = buffer, Präfix = prefix, Suffix = suffix, Nachricht = message (Standardwert))
** Typ: integer
** Werte: time, buffer, prefix, suffix, message (Standardwert: message)
@@ -464,7 +464,7 @@
** Werte: beliebige Zeichenkette (Standardwert: " *")
* *weechat.look.prefix_align*
** Beschreibung: Präfix-Position (none, left, right (Standard))
** Beschreibung: Einstellung für Präfix (keine = none, links = left, rechts = right (Standard))
** Typ: integer
** Werte: none, left, right (Standardwert: right)
@@ -479,7 +479,7 @@
** Werte: on, off (Standardwert: on)
* *weechat.look.prefix_buffer_align*
** Beschreibung: Präfix Einstellung für den Buffer-Namen falls viele Buffer zu der selben Nummer zusammengefügt wurden (none, left, right (Standardwert))
** Beschreibung: Einstellung des Präfix für den Buffer-Namen falls viele Buffer zu einem Buffer zusammengefügt wurden (keine = none, links = left, rechts = right (Standardwert))
** Typ: integer
** Werte: none, left, right (Standardwert: right)
+1 -1
View File
@@ -1500,7 +1500,7 @@ Die IRC Erweiterung nutzt folgende Level:
* Level 3: jedwede Server Nachricht (ausgenommen join/part/quit)
* Level 4: Server Nachrichten join/part/quit
Setzen Sie also den Grad der Protokollierung für einen IRC Channel auf "3"
Setzen Sie also den Grad der Protokollierung für einen IRC Channel auf "3"
wird Weechat alle Nachrichten protokollieren, ausgenommen join/part/quit
Nachrichten.
+5
View File
@@ -163,6 +163,11 @@
** type: integer
** values: current, server (default value: current)
* *irc.look.nick_color_stop_chars*
** description: chars used to stop in nick when computing color with letters of nick (at least one char outside this list must be in string before stopping) (example: nick "|nick|away" with "|" in chars will return color of nick "|nick")
** type: string
** values: any string (default value: "_|[")
* *irc.look.nick_completion_smart*
** description: smart completion for nicks (completes first with last speakers)
** type: integer
+5 -1
View File
@@ -137,7 +137,9 @@
-all: delete all filters
plugin.buffer: plugin and buffer where filter is active ("*" for all buffers)
tags: comma separated list of tags, for example: "irc_join,irc_part,irc_quit"
regex: regular expression to search in line (use \t to separate prefix from message, special chars like '|' must be escaped: '\|')
regex: regular expression to search in line
- use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|'
- if regex starts with '!', then matching result is reversed (use '\!' to start with '!')
The default key alt+'=' toggles filtering on/off.
@@ -155,6 +157,8 @@
/filter add nicks * irc_366 *
filter nick "toto" on IRC channel #weechat:
/filter add toto irc.freenode.#weechat * toto\t
keep only nick "titi" on IRC channel #test:
/filter add titi irc.freenode.#test * !titi\t
filter lines containing word "spam":
/filter add filterspam * * spam
filter lines containing "weechat sucks" on IRC channel #weechat:
+203
View File
@@ -584,6 +584,38 @@ C example:
int diff = weechat_strcasecmp ("aaa", "CCC"); /* == -2 */
----------------------------------------
weechat_strncasecmp
^^^^^^^^^^^^^^^^^^^
Locale and case independent string comparison, for 'max' chars.
Prototype:
[source,C]
----------------------------------------
int weechat_strncasecmp (const char *string1, const char *string2, int max);
----------------------------------------
Arguments:
* 'string1': first string for comparison
* 'string2': second string for comparison
* 'max': max chars to compare
Return value:
* difference between two strings:
** negative if string1 < string2
** zero if string1 == string2
** positive if string1 > string2
C example:
[source,C]
----------------------------------------
int diff = weechat_strncasecmp ("aabb", "aacc", 2); /* == 0 */
----------------------------------------
weechat_strcmp_ignore_chars
^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -731,6 +763,8 @@ free (str);
weechat_string_expand_home
^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Replace leading `~` by string with home directory. If string does not start
with `~`, then same string is returned.
@@ -1182,6 +1216,8 @@ str = weechat.string_remove_color(my_string, "?")
weechat_string_encode_base64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.2._
Encode a string in base64.
Prototype:
@@ -1210,6 +1246,8 @@ weechat_string_encode_base64 (string, strlen (string), result);
weechat_string_decode_base64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.2._
Decode a base64 string.
Prototype:
@@ -1242,6 +1280,8 @@ length = weechat_string_decode_base64 (string, result);
weechat_string_is_command_char
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.2._
Check if first char of string is a command char (default command char is '/').
Prototype:
@@ -1282,6 +1322,8 @@ command_char2 = weechat.string_is_command_char("test") # == 0
weechat_string_input_for_buffer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.2._
Return pointer to input text for buffer (pointer inside "string" argument), or
NULL if it's a command.
@@ -1475,6 +1517,33 @@ C example:
char *next_char = weechat_utf8_next_char (string);
----------------------------------------
weechat_utf8_char_int
^^^^^^^^^^^^^^^^^^^^^
Return UTF-8 char as integer.
Prototype:
[source,C]
----------------------------------------
int weechat_utf8_char_int (const char *string);
----------------------------------------
Arguments:
* 'string': string
Return value:
* UTF-8 char as integer
C example:
[source,C]
----------------------------------------
int char_int = weechat_utf8_char_int ("être"); /* "ê" as integer */
----------------------------------------
weechat_utf8_char_size
^^^^^^^^^^^^^^^^^^^^^^
@@ -1584,6 +1653,37 @@ C example:
int length_on_screen = weechat_utf8_strlen_screen ("é"); /* == 1 */
----------------------------------------
weechat_utf8_charcmp
^^^^^^^^^^^^^^^^^^^^
Compare two UTF-8 chars.
Prototype:
[source,C]
----------------------------------------
int weechat_utf8_charcmp (const char *string1, const char *string2);
----------------------------------------
Arguments:
* 'string1': first string for comparison
* 'string2': second string for comparison
Return value:
* difference between first char of each string:
** negative if char1 < char2
** zero if char1 == char2
** positive if char1 > char2
C example:
[source,C]
----------------------------------------
int diff = weechat_utf8_charcmp ("aaa", "ccc"); /* == -2 */
----------------------------------------
weechat_utf8_charcasecmp
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1926,6 +2026,39 @@ void callback (void *data, const char *filename)
weechat_exec_on_files ("/tmp", 0, NULL, &callback);
----------------------------------------
weechat_file_get_content
^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.1._
Get content of text file in a string.
Prototype:
[source,C]
----------------------------------------
char *weechat_file_get_content (const char *filename);
----------------------------------------
Arguments:
* 'filename': path and file name
Return value:
* content of file as string (must be freed by calling "free" after use)
C example:
[source,C]
----------------------------------------
char *content;
content = weechat_file_get_content ("/tmp/test.txt");
/* ... */
free (content);
----------------------------------------
[[util]]
Util
~~~~
@@ -2020,6 +2153,8 @@ weechat_util_timeval_add (&tv, 2000); /* add 2 seconds */
weechat_util_get_time_string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.2._
Get date/time as a string built with "strftime".
Prototype:
@@ -2550,6 +2685,8 @@ Hashtable functions.
weechat_hashtable_new
^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Create a new hashtable.
Prototype:
@@ -2608,6 +2745,8 @@ struct t_hashtable *hashtable = weechat_hashtable_new (8,
weechat_hashtable_set_with_size
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Add or update item in a hashtable with size for key and value.
Prototype:
@@ -2644,6 +2783,8 @@ weechat_hashtable_set_with_size (hashtable, "my_key", 0,
weechat_hashtable_set
^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Add or update item in a hashtable.
Prototype:
@@ -2674,6 +2815,8 @@ weechat_hashtable_set (hashtable, "my_key", "my_value");
weechat_hashtable_get
^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Get value associated with a key in a hashtable.
Prototype:
@@ -2702,6 +2845,8 @@ void *value = weechat_hashtable_get (hashtable, "my_key");
weechat_hashtable_map
^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Call a function on all hashtable entries.
Prototype:
@@ -2742,6 +2887,8 @@ weechat_hashtable_map (hashtable, &map_cb, NULL);
weechat_hashtable_get_integer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Return integer value of a hashtable property.
Prototype:
@@ -2773,6 +2920,8 @@ int items_count = weechat_hashtable_get_integer (hashtable, "items_count");
weechat_hashtable_add_to_infolist
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Add hashtable items to an infolist item.
Prototype:
@@ -2814,6 +2963,8 @@ weechat_hashtable_add_to_infolist (hashtable, infolist_item, "testhash");
weechat_hashtable_remove
^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Remove an item in a hashtable.
Prototype:
@@ -2838,6 +2989,8 @@ weechat_hashtable_remove (hashtable, "my_key");
weechat_hashtable_remove_all
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Remove all items in a hashtable.
Prototype:
@@ -2861,6 +3014,8 @@ weechat_hashtable_remove_all (hashtable);
weechat_hashtable_free
^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Free a hashtable.
Prototype:
@@ -3462,6 +3617,54 @@ option = weechat.config_search_option(config_file, section, option_name)
option = weechat.config_search_option(config_file, section, "option")
----------------------------------------
weechat_config_search_section_option
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Search a section and an option in a configuration file or section.
Prototype:
[source,C]
----------------------------------------
void weechat_config_search_section_option (struct t_config_file *config_file,
struct t_config_section *section,
const char *option_name,
struct t_config_section **section_found,
struct t_config_option **option_found);
----------------------------------------
Arguments:
* 'config_file': configuration file pointer
* 'section': section pointer
* 'option_name': option name
* 'section_found': pointer to section pointer, will be set to section of option,
if found
* 'option_found': pointer to an option pointer, will be set to option pointer,
if found
C example:
[source,C]
----------------------------------------
struct t_config_section *ptr_section;
struct t_config_option *ptr_option;
weechat_config_search_section_option(config_file,
section,
"option",
&ptr_section,
&ptr_option);
if (ptr_option)
{
/* option found */
}
else
{
/* option not found */
}
----------------------------------------
weechat_config_search_with_string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+5
View File
@@ -163,6 +163,11 @@
** type: entier
** valeurs: current, server (valeur par défaut: current)
* *irc.look.nick_color_stop_chars*
** description: caractères utilisés pour l'arrêt dans le pseudo lors du calcul de la couleur avec les lettres du pseudo (au moins un caractère en dehors de cette liste doit être dans la chaîne avant de s'arrêter) (exemple: le pseudo "|nick|away" avec "|" dans les caractères retournera la couleur du pseudo "|nick")
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: "_|[")
* *irc.look.nick_completion_smart*
** description: complétion intelligente pour les pseudos (complète d'abord avec les personnes qui ont parlé récemment)
** type: entier
+5 -1
View File
@@ -137,7 +137,9 @@
-all: supprime tous les filtres
extension.tampon: extension et tampon où le filtre est actif ("*" pour tous les tampons)
tags: liste de tags, séparés par des virgules, par exemple: "irc_join,irc_part,irc_quit"
regex: expressoin régulière à rechercher dans la ligne (utiliser \t pour séparer le préfixe du message, les caractères spéciaux comme '|' doivent être échappés: '\|')
regex: expression régulière à rechercher dans la ligne
- utiliser '\t' pour séparer le préfixe du message, les caractères spéciaux comme '|' doivent être échappés: '\|'
- si l'expression régulière commence par '!' alors le résultat est inversé (utiliser '\!' pour démarrer par '!')
La touche par défaut alt+'=' active/désactive le filtrage.
@@ -155,6 +157,8 @@
/filter add nicks * irc_366 *
filtrer le pseudo "toto" sur le canal IRC #weechat:
/filter add toto irc.freenode.#weechat * toto\t
garder uniquement le pseudo "titi" sur le canal IRC #test:
/filter add titi irc.freenode.#test * !titi\t
filtrer les lignes contenant le mot "spam":
/filter add filtrespam * * spam
filtrer les lignes contenant "weechat sucks" sur le canal IRC #weechat:
+219 -13
View File
@@ -591,6 +591,39 @@ Exemple en C :
int diff = weechat_strcasecmp ("aaa", "CCC"); /* == -2 */
----------------------------------------
weechat_strncasecmp
^^^^^^^^^^^^^^^^^^^
Comparaison de chaînes indépendante de la locale et de la casse, pour 'max'
caractères.
Prototype :
[source,C]
----------------------------------------
int weechat_strncasecmp (const char *string1, const char *string2, int max);
----------------------------------------
Paramètres :
* 'string1' : première chaîne à comparer
* 'string2' : seconde chaîne à comparer
* 'max' : nombre maximum de caractères à comparer
Valeur de retour :
* différence entre les deux chaînes :
** négative si string1 < string2
** zéro si string1 == string2
** positive si string1 > string2
Exemple en C :
[source,C]
----------------------------------------
int diff = weechat_strncasecmp ("aabb", "aacc", 2); /* == 0 */
----------------------------------------
weechat_strcmp_ignore_chars
^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -738,6 +771,8 @@ free (str);
weechat_string_expand_home
^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Remplace le `~` en début de chaîne par le répertoire "home". Si la chaîne ne
débute pas par `~`, alors une chaîne identique est retournée.
@@ -1196,6 +1231,8 @@ str = weechat.string_remove_color(ma_chaine, "?")
weechat_string_encode_base64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.2._
Encode une chaîne en base64.
Prototype :
@@ -1224,6 +1261,8 @@ weechat_string_encode_base64 (string, strlen (string), result);
weechat_string_decode_base64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.2._
Décode une chaîne base64.
Prototype :
@@ -1256,6 +1295,8 @@ length = weechat_string_decode_base64 (string, result);
weechat_string_is_command_char
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.2._
Vérifie si le premier caractère de la chaîne est un caractère de commande (le
caractère par défaut de commande est '/').
@@ -1297,6 +1338,8 @@ command_char2 = weechat.string_is_command_char("test") # == 0
weechat_string_input_for_buffer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.2._
Retourne un pointeur vers le texte envoyé vers le tampon (pointeur à
l'intérieur du paramètre "string"), ou NULL si c'est une commande.
@@ -1494,6 +1537,33 @@ Exemple en C :
char *next_char = weechat_utf8_next_char (string);
----------------------------------------
weechat_utf8_char_int
^^^^^^^^^^^^^^^^^^^^^
Retourne un caractère UTF-8 sous forme d'entier.
Prototype :
[source,C]
----------------------------------------
int weechat_utf8_char_int (const char *string);
----------------------------------------
Paramètres :
* 'string' : chaîne
Valeur de retour :
* caractère UTF-8 sous forme d'entier
Exemple en C :
[source,C]
----------------------------------------
int char_int = weechat_utf8_char_int ("être"); /* "ê" comme entier */
----------------------------------------
weechat_utf8_char_size
^^^^^^^^^^^^^^^^^^^^^^
@@ -1605,6 +1675,37 @@ Exemple en C :
int length_on_screen = weechat_utf8_strlen_screen ("é"); /* == 1 */
----------------------------------------
weechat_utf8_charcmp
^^^^^^^^^^^^^^^^^^^^
Compare deux caractères UTF-8.
Prototype :
[source,C]
----------------------------------------
int weechat_utf8_charcmp (const char *string1, const char *string2);
----------------------------------------
Paramètres :
* 'string1' : première chaîne pour la comparaison
* 'string2' : seconde chaîne pour la comparaison
Valeur de retour :
* différence entre le premier caractère de chaque chaîne :
** négative si char1 < char2
** zéro si char1 == char2
** positive si char1 > char2
Exemple en C :
[source,C]
----------------------------------------
int diff = weechat_utf8_charcmp ("aaa", "ccc"); /* == -2 */
----------------------------------------
weechat_utf8_charcasecmp
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1950,14 +2051,48 @@ void callback (void *data, const char *filename)
weechat_exec_on_files ("/tmp", 0, NULL, &callback);
----------------------------------------
weechat_file_get_content
^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.1._
Lit le contenu d'un fichier texte dans une chaîne de caractères.
Prototype :
[source,C]
----------------------------------------
char *weechat_file_get_content (const char *filename);
----------------------------------------
Paramètres :
* 'filename': chemin et nom du fichier
Valeur de retour :
* contenu du fichier sous forme de chaîne (doit être libérée par un appel à
"free" après utilisation)
Exemple en C :
[source,C]
----------------------------------------
char *contenu;
contenu = weechat_file_get_content ("/tmp/test.txt");
/* ... */
free (contenu);
----------------------------------------
[[util]]
Util
~~~~
Quelques fonctions utiles.
weechat_timeval_cmp
^^^^^^^^^^^^^^^^^^^
weechat_util_timeval_cmp
^^^^^^^^^^^^^^^^^^^^^^^^
Compare deux structures "timeval".
@@ -1965,7 +2100,7 @@ Prototype :
[source,C]
----------------------------------------
int weechat_timeval_cmp (struct timeval *tv1, struct timeval *tv2);
int weechat_util_timeval_cmp (struct timeval *tv1, struct timeval *tv2);
----------------------------------------
Paramètres :
@@ -1983,14 +2118,14 @@ Exemple en C :
[source,C]
----------------------------------------
if (weechat_timeval_cmp (&tv1, &tv2) > 0)
if (weechat_util_timeval_cmp (&tv1, &tv2) > 0)
{
/* tv1 > tv2 */
}
----------------------------------------
weechat_timeval_diff
^^^^^^^^^^^^^^^^^^^^
weechat_util_timeval_diff
^^^^^^^^^^^^^^^^^^^^^^^^^
Retourne la différence (en millisecondes) entre deux structures "timeval".
@@ -1998,7 +2133,7 @@ Prototype :
[source,C]
----------------------------------------
long weechat_timeval_diff (struct timeval *tv1, struct timeval *tv2);
long weechat_util_timeval_diff (struct timeval *tv1, struct timeval *tv2);
----------------------------------------
Paramètres :
@@ -2014,11 +2149,11 @@ Exemple en C :
[source,C]
----------------------------------------
long diff = weechat_timeval_diff (&tv1, &tv2);
long diff = weechat_util_timeval_diff (&tv1, &tv2);
----------------------------------------
weechat_timeval_add
^^^^^^^^^^^^^^^^^^^
weechat_util_timeval_add
^^^^^^^^^^^^^^^^^^^^^^^^
Ajoute un intervalle (en millisecondes) à une structure "timeval".
@@ -2026,7 +2161,7 @@ Prototype :
[source,C]
----------------------------------------
void weechat_timeval_add (struct timeval *tv, long interval);
void weechat_util_timeval_add (struct timeval *tv, long interval);
----------------------------------------
Paramètres :
@@ -2038,12 +2173,14 @@ Exemple en C :
[source,C]
----------------------------------------
weechat_timeval_add (&tv, 2000); /* ajoute 2 secondes */
weechat_util_timeval_add (&tv, 2000); /* ajoute 2 secondes */
----------------------------------------
weechat_util_get_time_string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.2._
Retourne la date/heure sous forme de chaîne construite avec "strftime".
Prototype :
@@ -2571,11 +2708,13 @@ weechat.list_free(list)
Hashtables
~~~~~~~~~~
Hashtable functions.
Fonctions pour les hashtables.
weechat_hashtable_new
^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Crée une nouvelle hashtable.
Prototype :
@@ -2636,6 +2775,8 @@ struct t_hashtable *hashtable = weechat_hashtable_new (8,
weechat_hashtable_set_with_size
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Ajoute ou met à jour une entrée dans une hashtable avec une taille pour la clé
et la valeur.
@@ -2673,6 +2814,8 @@ weechat_hashtable_set_with_size (hashtable, "ma_cle", 0,
weechat_hashtable_set
^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Ajoute ou met à jour une entrée dans la hashtable.
Prototype :
@@ -2703,6 +2846,8 @@ weechat_hashtable_set (hashtable, "ma_cle", "ma_valeur");
weechat_hashtable_get
^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Retourne la valeur associée à une clé dans une hashtable.
Prototype :
@@ -2731,6 +2876,8 @@ void *value = weechat_hashtable_get (hashtable, "ma_cle");
weechat_hashtable_map
^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Appelle une fonction pour chaque entrée d'une hashtable.
Prototype :
@@ -2771,6 +2918,8 @@ weechat_hashtable_map (hashtable, &map_cb, NULL);
weechat_hashtable_get_integer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Retourne une valeur entière pour une propriété d'une hashtable.
Prototype :
@@ -2802,6 +2951,8 @@ int items_count = weechat_hashtable_get_integer (hashtable, "items_count");
weechat_hashtable_add_to_infolist
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Ajoute les éléments d'une hashtable dans un objet infolist.
Prototype :
@@ -2843,6 +2994,8 @@ weechat_hashtable_add_to_infolist (hashtable, infolist_item, "testhash");
weechat_hashtable_remove
^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Supprime un élément d'une hashtable.
Prototype :
@@ -2867,6 +3020,8 @@ weechat_hashtable_remove (hashtable, "ma_cle");
weechat_hashtable_remove_all
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Supprime tous les éléments d'une hashtable.
Prototype :
@@ -2890,6 +3045,8 @@ weechat_hashtable_remove_all (hashtable);
weechat_hashtable_free
^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Supprime une hashtable.
Prototype :
@@ -3502,6 +3659,55 @@ option = weechat.config_search_option(config_file, section, option_name)
option = weechat.config_search_option(config_file, section, "option")
----------------------------------------
weechat_config_search_section_option
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Recherche une section et une option dans un fichier de configuration ou une
section.
Prototype :
[source,C]
----------------------------------------
void weechat_config_search_section_option (struct t_config_file *config_file,
struct t_config_section *section,
const char *option_name,
struct t_config_section **section_found,
struct t_config_option **option_found);
----------------------------------------
Paramètres :
* 'config_file' : pointeur vers le fichier de configuration
* 'section' : pointeur vers la section
* 'option_name' : nom de l'option
* 'section' : pointeur vers un pointeur sur une section, sera alimenté avec le
pointeur vers la section de l'option trouvée
* 'option' : pointeur vers un pointeur sur une option, sera alimenté avec le
pointeur vers l'option trouvée
Exemple en C :
[source,C]
----------------------------------------
struct t_config_section *ptr_section;
struct t_config_option *ptr_option;
weechat_config_search_section_option (config_file,
section,
"option",
&ptr_section,
&ptr_option);
if (ptr_option)
{
/* option trouvée */
}
else
{
/* option non trouvée */
}
----------------------------------------
weechat_config_search_with_string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+2 -2
View File
@@ -12,9 +12,9 @@
| irc | irc_nick | ottiene nick corrente su un server | nome server
| irc | irc_nick_color | get nick color code | nick
| irc | irc_nick_color | ottiene il codice del colore del nick | nick
| irc | irc_nick_color_name | get nick color name | nick
| irc | irc_nick_color_name | ottiene il nome del colore del nick | nick
| irc | irc_nick_from_host | ottiene nick dall'host IRC | host IRC (come `:nick!nome@server.com`)
+1 -1
View File
@@ -512,7 +512,7 @@
del: elimina un server
deloutq: elimina i messaggi fuori coda per tutti i server (tutti i messaggi che WeeChat sta inviando)
jump: passa al buffer del server
raw: apri buffer con dati grezzi IRC
raw: apri buffer con dati grezzi IRC
Esempi:
/server listfull
+9 -4
View File
@@ -14,12 +14,12 @@
** valori: un nome colore (valore predefinito: default)
* *irc.color.item_lag_counting*
** descrizione: color for lag indicator, when counting (pong not received from server, lag is increasing)
** descrizione: colore per l'indicatore del lag, durante il conteggio (pong non ricevuto dal server, lag in aumento)
** tipo: colore
** valori: un nome colore (valore predefinito: default)
* *irc.color.item_lag_finished*
** descrizione: color for lag indicator, when pong has been received from server
** descrizione: colore per l'indicatore di ritardo, quando il pong viene ricevuto dal server
** tipo: colore
** valori: un nome colore (valore predefinito: yellow)
@@ -163,6 +163,11 @@
** tipo: intero
** valori: current, server (valore predefinito: current)
* *irc.look.nick_color_stop_chars*
** descrizione: chars used to stop in nick when computing color with letters of nick (at least one char outside this list must be in string before stopping) (example: nick "|nick|away" with "|" in chars will return color of nick "|nick")
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: "_|[")
* *irc.look.nick_completion_smart*
** descrizione: completamento intelligente per i nick (usando prima chi ha parlato per ultimo)
** tipo: intero
@@ -299,12 +304,12 @@
** valori: 0 .. 10080 (valore predefinito: 0)
* *irc.network.lag_min_show*
** descrizione: minimum lag to show (in milliseconds)
** descrizione: ritardo minimo da visualizzare (in millisecondi)
** tipo: intero
** valori: 0 .. 86400000 (valore predefinito: 500)
* *irc.network.lag_refresh_interval*
** descrizione: interval between two refreshs of lag item, when lag is increasing (in seconds)
** descrizione: intervallo tra due aggiornamenti per l'elemento ritardo, quando è in aumento (in secondi)
** tipo: intero
** valori: 1 .. 3600 (valore predefinito: 1)
+2
View File
@@ -155,6 +155,8 @@
/filter add nicks * irc_366 *
filtra il nick "tizio" sul canale IRC #weechat
/filter add tizio irc.freenode.#esempio * tizio\t
filtra solo il nick "caio" sul canale IRC #test:
/filter add caio irc.freenode.#test * !caio\t
filtra le righe contententi la parola "spam":
/filter add filterspam * * spam
filtra le righe contententi "weechat fa schifo" sul canale IRC #weechat:
+1 -1
View File
@@ -339,7 +339,7 @@
** valori: 0 .. 1000 (valore predefinito: 50)
* *weechat.look.align_end_of_lines*
** descrizione: alignment for end of lines (all lines after the first): they are starting under this data (time, buffer, prefix, suffix, message (default))
** descrizione: allineamento per la fine delle righe (tutte le righe tranne la prima): iniziano al di sotto di questi dati (data, buffer, prefissio, suffisso, messaggio (predefinito))
** tipo: intero
** valori: time, buffer, prefix, suffix, message (valore predefinito: message)
+308 -101
View File
@@ -193,11 +193,11 @@ weechat_plugin_init (struct t_weechat_plugin *plugin,
weechat_plugin = plugin;
weechat_hook_command ("double",
"Visualizza due volte un messaggio "
"oppure esegue un comando due volte",
"messaggio | comando",
"messaggio: messaggio da visualizzare due volte\n"
"comando: comando da eseguire due volte",
"Visualizza due volte un messaggio "
"oppure esegue un comando due volte",
"messaggio | comando",
"messaggio: messaggio da visualizzare due volte\n"
"comando: comando da eseguire due volte",
NULL,
&command_double_cb, NULL);
@@ -601,6 +601,39 @@ Esempio in C:
int diff = weechat_strcasecmp ("aaa", "CCC"); /* == -2 */
----------------------------------------
weechat_strncasecmp
^^^^^^^^^^^^^^^^^^^
Confronta stringa indipendente da caso (maiuscole o minuscole) e da locale, per
un numero 'max' di caratteri.
Prototipo:
[source,C]
----------------------------------------
int weechat_strncasecmp (const char *string1, const char *string2, int max);
----------------------------------------
Argomenti:
* 'string1': prima stringa da comparare
* 'string2': seconda stringa da comparare
* 'max': numero massimo di caratteri da comparare
Valore restituito:
* differenze tra le due stringhe:
** negativa se stringa1 < stringa2
** zero se stringa1 == stringa1
** positiva se stringa1 > stringa2
Esempio in C:
[source,C]
----------------------------------------
int diff = weechat_strncasecmp ("aabb", "aacc", 2); /* == 0 */
----------------------------------------
weechat_strcmp_ignore_chars
^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -750,6 +783,8 @@ free (str);
weechat_string_expand_home
^^^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.3._
Sostituisce la `~` iniziale con la stringa con la cartella home. Se la stringa
non inizia con `~`, viene restituita la stessa stringa.
@@ -1206,6 +1241,8 @@ str = weechat.string_remove_color(my_string, "?")
weechat_string_encode_base64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.2._
Codifica una stringa in base64.
Prototype:
@@ -1234,16 +1271,18 @@ weechat_string_encode_base64 (string, strlen (string), result);
weechat_string_decode_base64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Decodifca una stringa in base64.
_Novità nella versione 0.3.2._
Prototype:
Decodifica una stringa in base64.
Prototipo:
[source,C]
----------------------------------------
int weechat_string_decode_base64 (const char *from, char *to);
----------------------------------------
Arguments:
Argomenti:
* 'from': stringa da decodificare
* 'to': puntatore alla stringa per memorizzare il risultato (deve essere
@@ -1266,6 +1305,8 @@ length = weechat_string_decode_base64 (string, result);
weechat_string_is_command_char
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.2._
Verifica che il primo carattere della stringa sia un carattere comando
(il comando carattere predefinito è '/').
@@ -1308,6 +1349,8 @@ command_char2 = weechat.string_is_command_char("test") # == 0
weechat_string_input_for_buffer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.2._
Restituisce il puntatore al testo in input per il buffer (puntatore all'interno
dell'argomento "string"), oppure NULL se è un comando.
@@ -1504,6 +1547,33 @@ Esempio in C:
char *next_char = weechat_utf8_next_char (string);
----------------------------------------
weechat_utf8_char_int
^^^^^^^^^^^^^^^^^^^^^
Restituisce un carattere UTF-8 come intero.
Prototipo:
[source,C]
----------------------------------------
int weechat_utf8_char_int (const char *string);
----------------------------------------
Argomenti:
* 'string': stringa
Valore restituito:
* carattere UTF-8 come intero
Esempio in C:
[source,C]
----------------------------------------
int char_int = weechat_utf8_char_int ("être"); /* "ê" come intero */
----------------------------------------
weechat_utf8_char_size
^^^^^^^^^^^^^^^^^^^^^^
@@ -1616,6 +1686,37 @@ Esempio in C:
int length_on_screen = weechat_utf8_strlen_screen ("é"); /* == 1 */
----------------------------------------
weechat_utf8_charcmp
^^^^^^^^^^^^^^^^^^^^
Confronta due caratteri UTF-8.
Prototipo:
[source,C]
----------------------------------------
int weechat_utf8_charcmp (const char *string1, const char *string2);
----------------------------------------
Argomenti:
* 'string1': prima stringa da comparare
* 'string2': seconda stringa da comparare
Valore restituito:
* differenza tra i primi caratteri di ogni stringa:
** negativa se char1 < char2
** zero se char1 == char2
** positivao se char1 > char2
Esempio in C:
[source,C]
----------------------------------------
int diff = weechat_utf8_charcmp ("aaa", "ccc"); /* == -2 */
----------------------------------------
weechat_utf8_charcasecmp
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1960,6 +2061,40 @@ void callback (void *data, const char *filename)
weechat_exec_on_files ("/tmp", 0, NULL, &callback);
----------------------------------------
weechat_file_get_content
^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.1._
Ottiene il contenuto del file di testo in una stringa.
Prototipo:
[source,C]
----------------------------------------
char *weechat_file_get_content (const char *filename);
----------------------------------------
Argomenti:
* 'filename': percorso e nome file
Valore restituito:
* contenuto del file come stringa (deve essere liberata chiamando "free dopo
l'uso)
Esempio in C:
[source,C]
----------------------------------------
char *content;
content = weechat_file_get_content ("/tmp/test.txt");
/* ... */
free (content);
----------------------------------------
[[util]]
Utilità
~~~~~~~
@@ -2054,6 +2189,8 @@ weechat_util_timeval_add (&tv, 2000); /* aggiunge 2 secondi */
weechat_util_get_time_string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.2._
Riceve data/ora come stringa compilata con "strftime".
Prototipo:
@@ -2580,17 +2717,19 @@ weechat.list_free(list)
----------------------------------------
[[hashtables]]
Hashtables
~~~~~~~~~~
Tabelle hash
~~~~~~~~~~~~
Hashtable functions.
Funzioni per le tabelle hash.
weechat_hashtable_new
^^^^^^^^^^^^^^^^^^^^^
Create a new hashtable.
_Novità nella versione 0.3.3._
Prototype:
Crea una nuova tabella hash.
Prototipo:
[source,C]
----------------------------------------
@@ -2606,33 +2745,34 @@ struct t_hashtable *weechat_hashtable_new (int size,
Arguments:
* 'size': size of internal array to store hashed keys, a high value uses more
memory, but has better performance (this is *not* a limit for number of items
in hashtable)
* 'type_keys': type for keys in hashtable:
* 'size': dimensione dell'array interno per memorizzare le chiavi con hash, un
valore più alto usa più memoria, ma ha migliori performance. (questo *non* è
un limite per il numero di elementi nella tabella hash)
* 'type_keys': tipo per le chiavi nella tabella hash:
** 'WEECHAT_HASHTABLE_INTEGER'
** 'WEECHAT_HASHTABLE_STRING'
** 'WEECHAT_HASHTABLE_POINTER'
** 'WEECHAT_HASHTABLE_BUFFER'
** 'WEECHAT_HASHTABLE_TIME'
* 'type_values': type for values in hashtable:
* 'type_values': tipo per i valori nella tabella hash:
** 'WEECHAT_HASHTABLE_INTEGER'
** 'WEECHAT_HASHTABLE_STRING'
** 'WEECHAT_HASHTABLE_POINTER'
** 'WEECHAT_HASHTABLE_BUFFER'
** 'WEECHAT_HASHTABLE_TIME'
* 'callback_hash_key': callback used to "hash" a key (key as integer value), can
be NULL if key type is "string" (a default function is used for strings, and
only for strings)
* 'callback_keycmp': callback used to compare two keys, can be NULL if value
type is "string" (a default comparison function is used for strings, and only
for strings)
* 'callback_hash_key': callback utilizzata per effettuare un "hash" di una
chiave (chiave come valore intero), può essere NULL se il tipo della chiave è
"string" (viene usata una funzione predefinita per le stringhe, e solo per le
stringhe)
* 'callback_keycmp': callback utilizzata per comparare due chiavi, può essere
NULL se il tipo di valore è "string" (una funzione di confronto predefinita è
usata per le stringhe e solo per le stringhe)
Return value:
Valore restituito:
* pointer to new hashtable, NULL if an error occured
* puntatore alla nuova tabella hash, NULL in caso di errore
C example:
Esempio in C:
[source,C]
----------------------------------------
@@ -2646,9 +2786,12 @@ struct t_hashtable *hashtable = weechat_hashtable_new (8,
weechat_hashtable_set_with_size
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Add or update item in a hashtable with size for key and value.
_Novità nella versione 0.3.3._
Prototype:
Aggiunge o aggiorna un elemento nella tabella hash con la dimensione per la
chiave ed il valore.
Prototipo:
[source,C]
----------------------------------------
@@ -2659,19 +2802,19 @@ int weechat_hashtable_set_with_size (struct t_hashtable *hashtable,
Arguments:
* 'hashtable': hashtable pointer
* 'key': key pointer
* 'key_size': size of key (in bytes), used only if type of keys in hashtable
is "buffer"
* 'value': value pointer
* 'value_size': size of value (in bytes), used only if type of values in
hashtable is "buffer"
* 'hashtable': puntatore alla tabella hash
* 'key': puntatore alla chiave
* 'key_size': dimensione della chiave (in byte), usata solo se il tipo delle
chiavi nella tabella hash è "buffer"
* 'value': puntatore al valore
* 'value_size': dimensione del valore (in byte), utilizzata solo se il tipo dei
valori nella tabella è "buffer"
Return value:
Valore restituito:
* 1 if ok, 0 if error
* 1 se ok, 0 in caso di errore
C example:
Esempio in C:
[source,C]
----------------------------------------
@@ -2682,9 +2825,11 @@ weechat_hashtable_set_with_size (hashtable, "my_key", 0,
weechat_hashtable_set
^^^^^^^^^^^^^^^^^^^^^
Add or update item in a hashtable.
_Novità nella versione 0.3.3._
Prototype:
Aggiunge o aggiorna un elemento nella tabella hash.
Prototipo:
[source,C]
----------------------------------------
@@ -2692,17 +2837,17 @@ int weechat_hashtable_set (struct t_hashtable *hashtable,
void *key, void *value);
----------------------------------------
Arguments:
Argomenti:
* 'hashtable': hashtable pointer
* 'key': key pointer
* 'value': value pointer
* 'hashtable': puntatore alla tabella hash
* 'key': puntatore alla chiave
* 'value': puntatore al valore
Return value:
Valore restituito:
* 1 if ok, 0 if error
* 1 se ok, 0 in caso di errore
C example:
Esempio in C:
[source,C]
----------------------------------------
@@ -2712,25 +2857,27 @@ weechat_hashtable_set (hashtable, "my_key", "my_value");
weechat_hashtable_get
^^^^^^^^^^^^^^^^^^^^^
Get value associated with a key in a hashtable.
_Novità nella versione 0.3.3._
Prototype:
Ottiene il valore associato ad una chiave in una tabella hash.
Prototipo:
[source,C]
----------------------------------------
void *weechat_hashtable_get (struct t_hashtable *hashtable, void *key);
----------------------------------------
Arguments:
Argomenti:
* 'hashtable': hashtable pointer
* 'key': key pointer
* 'hashtable': puntatore alla tabella hash
* 'key': puntatore alla chiave
Return value:
Valore restituito:
* value for key, NULL if key is not found
* valore per la chiave, NULL se non trovata
C example:
Esempio in C:
[source,C]
----------------------------------------
@@ -2740,9 +2887,11 @@ void *value = weechat_hashtable_get (hashtable, "my_key");
weechat_hashtable_map
^^^^^^^^^^^^^^^^^^^^^
Call a function on all hashtable entries.
_Novità nella versione 0.3.3._
Prototype:
Chiama una funzione su tutte le voci della tabella hash.
Prototipo:
[source,C]
----------------------------------------
@@ -2754,13 +2903,13 @@ void hashtable_map (struct t_hashlist *hashlist,
void *callback_map_data);
----------------------------------------
Arguments:
Argomenti:
* 'hashtable': hashtable pointer
* 'callback_map': function called for each entry in hashtable
* 'callback_map_data': pointer given to map callback when it is called
* 'hashtable': puntatore alla tabella hash
* 'callback_map': funzione chiamata per ogni voce nella tabella hash
* 'callback_map_data': puntatore fornito alla mappa di callback quando chiamata
C example:
Esempio in C:
[source,C]
----------------------------------------
@@ -2780,9 +2929,11 @@ weechat_hashtable_map (hashtable, &map_cb, NULL);
weechat_hashtable_get_integer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Return integer value of a hashtable property.
_Novità nella versione 0.3.3._
Prototype:
Restituisce un valore intero per la proprietà di una tabella hash.
Prototipo:
[source,C]
----------------------------------------
@@ -2790,18 +2941,18 @@ int weechat_hashtable_get_integer (struct t_hashtable *hashtable,
void *property);
----------------------------------------
Arguments:
Argomenti:
* 'hashtable': hashtable pointer
* 'property': property name:
** 'size': size of internal array "htable" in hashtable
** 'items_count': number of items in hashtable
* 'hashtable': puntatore alla tabella hash
* 'property': nome della proprietà:
** 'size': dimensione dell'array interno "htable" nella tabella hash
** 'items_count': numero di elementi nella tabella hash
Return value:
Valore restituito:
* integer value of property
* valore intero della proprietà
C example:
Esempio in C:
[source,C]
----------------------------------------
@@ -2811,9 +2962,11 @@ int items_count = weechat_hashtable_get_integer (hashtable, "items_count");
weechat_hashtable_add_to_infolist
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Add hashtable items to an infolist item.
_Novità nella versione 0.3.3._
Prototype:
Aggiunge elementi della tabella hash ad un elemento della lista info.
Prototipo:
[source,C]
----------------------------------------
@@ -2822,26 +2975,26 @@ int weechat_hashtable_add_to_infolist (struct t_hashtable *hashtable,
const char *prefix);
----------------------------------------
Arguments:
Argomenti:
* 'hashtable': hashtable pointer
* 'infolist_item': infolist item pointer
* 'prefix': string used as prefix for names in infolist
* 'hashtable': puntatore alla tabella hash
* 'infolist_item': puntatore all'elemento della lista info
* 'prefix': stringa usata come prefisso per i nomi nella lista info
Return value:
Valore restituito:
* 1 if ok, 0 if error
* 1 se ok, 0 in caso di errore
C example:
Esempio in C:
[source,C]
----------------------------------------
weechat_hashtable_add_to_infolist (hashtable, infolist_item, "testhash");
/* if hashtable contains:
/* se la tabella hash contiene:
"key1" => "value 1"
"key2" => "value 2"
then following variables will be added to infolist item:
allora le seguenti variabili verranno aggiunti all'elemento della lista info:
"testhash_name_00001" = "key1"
"testhash_value_00001" = "value 1"
"testhash_name_00002" = "key2"
@@ -2852,21 +3005,23 @@ weechat_hashtable_add_to_infolist (hashtable, infolist_item, "testhash");
weechat_hashtable_remove
^^^^^^^^^^^^^^^^^^^^^^^^
Remove an item in a hashtable.
_Novità nella versione 0.3.3._
Prototype:
Rimuove un elemento in una tabella hash.
Prototipo:
[source,C]
----------------------------------------
void weechat_hashtable_remove (struct t_hashtable *hashtable, const void *key);
----------------------------------------
Arguments:
Argomenti:
* 'hashtable': hashtable pointer
* 'key': key pointer
* 'hashtable': puntatore alla tabella hash
* 'key': puntatore alla chiave
C example:
Esempio in C:
[source,C]
----------------------------------------
@@ -2876,20 +3031,22 @@ weechat_hashtable_remove (hashtable, "my_key");
weechat_hashtable_remove_all
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Remove all items in a hashtable.
_Novità nella versione 0.3.3._
Prototype:
Rimuove tutti gli elementi in una tabella hash.
Prototipo:
[source,C]
----------------------------------------
void weechat_hashtable_remove_all (struct t_hashtable *hashtable);
----------------------------------------
Arguments:
Argomenti:
* 'hashtable': hashtable pointer
* 'hashtable': puntatore alla tabella hash
C example:
Esempio in C:
[source,C]
----------------------------------------
@@ -2899,20 +3056,22 @@ weechat_hashtable_remove_all (hashtable);
weechat_hashtable_free
^^^^^^^^^^^^^^^^^^^^^^
Free a hashtable.
_Novità nella versione 0.3.3._
Prototype:
Libera una tabella hash.
Prototipo:
[source,C]
----------------------------------------
void weechat_hashtable_free (struct t_hashtable *hashtable);
----------------------------------------
Arguments:
Argomenti:
* 'hashtable': hashtable pointer
* 'hashtable': puntatore alla tabella hash
C example:
Esempio in C:
[source,C]
----------------------------------------
@@ -3500,6 +3659,54 @@ option = weechat.config_search_option(config_file, section, option_name)
option = weechat.config_search_option(config_file, section, "option")
----------------------------------------
weechat_config_search_section_option
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Cerca una sezione ed un'opzione in un file di configurazione o sezione.
Prototipo:
[source,C]
----------------------------------------
void weechat_config_search_section_option (struct t_config_file *config_file,
struct t_config_section *section,
const char *option_name,
struct t_config_section **section_found,
struct t_config_option **option_found);
----------------------------------------
Arguments:
* 'config_file': puntatore al file di configurazione
* 'section': puntatore alla sezione
* 'option_name': nome dell'opzione
* 'section_found': puntatore al puntatore della sezione, sarà impostato alla
sezione dell'opzione, se viene trovata
* 'option_found': puntatore al puntatore dell'opzione, sarà impostato al
puntatore di un'opzione, se viene trovata
Esempio in C:
[source,C]
----------------------------------------
struct t_config_section *ptr_section;
struct t_config_option *ptr_option;
weechat_config_search_section_option(config_file,
section,
"option",
&ptr_section,
&ptr_option);
if (ptr_option)
{
/* opzione trovata */
}
else
{
/* opzione non trovata */
}
----------------------------------------
weechat_config_search_with_string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -5522,7 +5729,7 @@ my_command_run_cb (void *data, struct t_gui_buffer *buffer,
const char *command)
{
weechat_printf (NULL,
"Vuoi completare? Sto mangiando il completamento, ahah!);
"Vuoi completare? Sto mangiando il completamento, ahah!);
return WEECHAT_RC_OK_EAT;
}
+1 -1
View File
@@ -204,7 +204,7 @@ weechat.prnt("", "hi!")
In molte funzioni, per motivi legati alla velocità, WeeChat non verifica se
il puntatore è corretto oppure no. È il proprio lavoro controllare che si
stia fornendo un puntatore valido, altrimenti potrebbe comparire una
bella segnalazione per un errore ;)
bella segnalazione per un errore ;)
[[callbacks]]
Callback
+1 -1
View File
@@ -218,7 +218,7 @@ Przypisania klawiszy
Niektóre skróty klawiszowe (alt + klawisz) nie działają, dlaczego?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeśli używasz terminali jak xterm lub uxterm, niektóre skróty domyślnie
Jeśli używasz terminali jak xterm lub uxterm, niektóre skróty domyślnie
nie będą działać. Możesz dodać następujące linie do pliku '~/.Xresources':
* dla xterm:
+138 -120
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.3-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2010-07-11 12:14+0200\n"
"PO-Revision-Date: 2010-06-20 21:24+0200\n"
"POT-Creation-Date: 2010-07-25 12:52+0200\n"
"PO-Revision-Date: 2010-07-18 17:02+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: Czech\n"
@@ -73,8 +73,9 @@ msgstr ""
" k serveru pomocí url jako:\n"
" irc[6][s]://[přezdívka[:heslo]@]irc.example.org[/port][//"
"#kanál][,#kanál2[...]]\n"
" (více informací o možných volbách v dokumentacích "
"pluginů)\n"
" (více informací o možných volbách najdete v "
"dokumentacích \n"
" k pluginům)\n"
#. TRANSLATORS: "%s" is "weechat"
#, c-format
@@ -613,6 +614,7 @@ msgstr "%sChyba: nemohu nastavit volbu \"%s\" pro proxy \"%s\""
msgid ""
"%sYou must confirm quit command with extra argument \"-yes\" (see /help quit)"
msgstr ""
"%sMusíte potvrdit příkaz quit speciálním argumentem \"-yes\" (viz /help quit)"
#, c-format
msgid "Options reloaded from %s"
@@ -1053,8 +1055,11 @@ msgid ""
"buffers)\n"
" tags: comma separated list of tags, for example: \"irc_join,"
"irc_part,irc_quit\"\n"
" regex: regular expression to search in line (use \\t to separate "
"prefix from message, special chars like '|' must be escaped: '\\|')\n"
" regex: regular expression to search in line\n"
" - use '\\t' to separate prefix from message, special chars "
"like '|' must be escaped: '\\|'\n"
" - if regex starts with '!', then matching result is reversed "
"(use '\\!' to start with '!')\n"
"\n"
"The default key alt+'=' toggles filtering on/off.\n"
"\n"
@@ -1074,6 +1079,8 @@ msgid ""
" /filter add nicks * irc_366 *\n"
" filter nick \"toto\" on IRC channel #weechat:\n"
" /filter add toto irc.freenode.#weechat * toto\\t\n"
" keep only nick \"titi\" on IRC channel #test:\n"
" /filter add titi irc.freenode.#test * !titi\\t\n"
" filter lines containing word \"spam\":\n"
" /filter add filterspam * * spam\n"
" filter lines containing \"weechat sucks\" on IRC channel #weechat:\n"
@@ -1091,8 +1098,11 @@ msgstr ""
"buffery)\n"
" tags: čárkami rozdělený seznam tagů, například: \"irc_join,irc_part,"
"irc_quit\"\n"
" regex: regulární výraz hledaný v řádku (použíjte \\t pro oddělení "
"prefixu od zprávy, speciální znaky jako '|' musí být eskejpovány '\\|')\n"
" regex: regulární výraz hledaný v řádku\n"
" - použijte '\\t' pro oddělení prefixu od zprávy, speciální "
"znaky jako '|' musí být zalomeny: '\\|'\n"
" - pokud je '!' na začátku regex, pak je výsledek obrácen "
"(použíjte '\\!' pokud chcete '!' na začátku)\n"
"\n"
"Výchozí klávesa pro zapnutí/vypnutí filtrování je alt+'='.\n"
"\n"
@@ -1113,6 +1123,8 @@ msgstr ""
" /filter add nicks * irc_366 *\n"
" filtrovat přezdívku \"toto\" na IRC kanálu #weechat:\n"
" /filter add toto irc.freenode.#weechat * toto\\t\n"
" ponechat pouze přezdívku \"titi\" na IRC kanálu #test:\n"
" /filter add titi irc.freenode.#test * !titi\\t\n"
" filtrovat řádky obsahující slovo \"spam\":\n"
" /filter add filterspam * * spam\n"
" filtrovat řádky obsahující \"weechat sucks\" na IRC kanálu #weechat:\n"
@@ -1374,17 +1386,16 @@ msgstr ""
msgid "quit WeeChat"
msgstr "ukončit WeeChat"
#, fuzzy
msgid "[-yes] [arguments]"
msgstr "[argumenty]"
msgstr "[-yes] [argumenty]"
#, fuzzy
msgid ""
" -yes: required if option weechat.look.confirm_quit is enabled\n"
"arguments: text sent with signal \"quit\"\n"
" (for example irc plugin uses this text to send quit message to "
"server)"
msgstr ""
" -yes: vyžadováno pokud je povolena volba weechat.look.confirm_quit\n"
"argumenty: text poslaný se signálem \"quit\"\n"
" (například irc plugin používá tento text pro posílání "
"ukončovacích zpráv serveru)"
@@ -1681,6 +1692,8 @@ msgid ""
"alignment for end of lines (all lines after the first): they are starting "
"under this data (time, buffer, prefix, suffix, message (default))"
msgstr ""
"zarovnání pro konce řádků (všechny řádky po prvím): začínají pod těmito daty "
"(time, buffer, prefix, suffix, message (výchozí))"
msgid ""
"default notify level for buffers (used to tell WeeChat if buffer must be "
@@ -1718,6 +1731,8 @@ msgid ""
"if set, /quit command must be confirmed with extra argument \"-yes\" (see /"
"help quit)"
msgstr ""
"pokud je nastaveno musí být příkaz /quit potvrzen speciálním argumentem \"-"
"yes\" (viz /help quit)"
msgid "display special message when day changes"
msgstr "zobrazit speiální zprávy při změně dne"
@@ -1776,9 +1791,9 @@ msgstr ""
"[skupina_číslo_vzestupně], group_number_desc [skupina_číslo_sestupně], "
"number_asc [číslo_vzestupně], number_desc [číslo_sestupně] ) "
#, fuzzy
msgid "max number of \"undo\" for command line, by buffer (0 = undo disabled)"
msgstr "maximální počet řádků v historii bufferu (0 = nekonečně)"
msgstr ""
"maximální počet \"undo\" pro příkazovou řádku pro bufferu (0 = vypnuto)"
msgid "time format for \"time\" bar item"
msgstr "formát času pro \"time\" položu pole"
@@ -2019,11 +2034,12 @@ msgstr "barva textu pro aktuální číslo bufferu ve stavovém řádku"
msgid "text color for current buffer name in status bar"
msgstr "barva textu pro aktuální jméno bufferu ve stavovém řádku"
#, fuzzy
msgid ""
"text color for current buffer name in status bar, if data are secured with a "
"protocol like SSL"
msgstr "barva textu pro aktuální jméno bufferu ve stavovém řádku"
msgstr ""
"barva textu pro aktuální jméno bufferu ve stavovém řádku, pokud jsou data "
"zabezpečeny protokolem jako je SSL"
msgid "text color for filter indicator in status bar"
msgstr "barva textu pro indikátor filtru ve stavovém řádku"
@@ -2672,6 +2688,8 @@ msgstr ""
" $channel: aktuální kanál\n"
" $server: aktuální server\n"
"\n"
"Pro odebrání aliasu použijte příkaz /unalias.\n"
"\n"
"Příklady:\n"
" alias /split pro horizontální rozdělení okna:\n"
" /alias split /window splith\n"
@@ -2700,9 +2718,9 @@ msgstr "%s%s: chyba vytváření doplňování pro alias \"%s\": alias nenalezen
msgid "alias pointer (optional)"
msgstr "ukazatel aliasu (volitelné)"
#, fuzzy
msgid "alias name (can start or end with \"*\" as wildcard) (optional)"
msgstr "jméno aliasu (může začínat nebo končit \"*\") (volitelné)"
msgstr ""
"jméno aliasu (může začínat nebo končit \"*\" jako zástupný znak) (volitelné)"
#, c-format
msgid "%s: \"%s\" removed"
@@ -3020,9 +3038,9 @@ msgstr ""
msgid "%s%s: cannot allocate new channel"
msgstr "%s%s: nemohu přidělit nový kanál"
#, fuzzy, c-format
#, c-format
msgid "%s%s%s %s(%s%s%s)%s is back on server"
msgstr "%s%s%s %s(%s%s%s)%s se připojil %s%s%s"
msgstr "%s%s%s %s(%s%s%s)%s se zpet na serveru"
#, c-format
msgid "%s: future away: %s"
@@ -3226,9 +3244,9 @@ msgstr ""
msgid "%s%s: wrong argument count for \"%s\" command"
msgstr "%s%s: špatný počet parametrů pro příkaz \"%s\""
#, fuzzy, c-format
#, c-format
msgid "%s%s: you are not on channel \"%s\""
msgstr "%s%s: nemohu vytvořit nový kanál \"%s\""
msgstr "%s%s: nejste na kanálu \"%s\""
msgid "find information about the administrator of the server"
msgstr "najít informace o administrátorovi serveru"
@@ -3414,6 +3432,7 @@ msgstr ""
" akce: 'send' (soubor) nebo 'chat'\n"
"nickname: přezdívka, které poslat soubor nebo rozhovor\n"
" soubor: jméno souboru (na lokálním počítači)\n"
"\n"
"Příklady:\n"
" rozhovor s přezdívkou \"toto\":\n"
" /dcc chat toto\n"
@@ -3526,9 +3545,8 @@ msgstr "přezdívka: přezdívka"
msgid "join a channel"
msgstr "připojit se ke kanálu"
#, fuzzy
msgid "[channel1[,channel2[,channel3]] [key1[,key2]]]"
msgstr "[kanál[,kanál] [klíč[,klíč]]]"
msgstr "[kanál1[,kanál2[,kanál3]] [klíč1[,klíč2]]]"
msgid ""
"channel: channel name to join\n"
@@ -3539,6 +3557,13 @@ msgid ""
" /join #weechat\n"
" /join #protectedchan,#weechat key"
msgstr ""
"kanál: jméno kanálu pro připojení\n"
" klíč: klíč pro připojení ke kanálu (kanál s klíčem musí být v seznamu "
"první)\n"
"\n"
"Příklady:\n"
" /join #weechat\n"
" /join #protectedchan,#weechat key"
msgid "forcibly remove a user from a channel"
msgstr "násilně odebrat uživatele z kanálu"
@@ -4155,21 +4180,18 @@ msgstr ""
msgid "give voice to nickname(s)"
msgstr "dá hlas přezdívce (přezdívkám)"
#, fuzzy
msgid "send a notice to channel ops"
msgstr "poslat zprávu přezdívce nebo kanálu"
msgstr "poslat notifikaci operátorům kanálu"
#, fuzzy
msgid "[channel] text"
msgstr "[kanál] [téma]"
msgstr "[kanál] text"
#, fuzzy
msgid ""
"channel: channel name\n"
" text: text to send"
msgstr ""
"kanál: jméno kanálu\n"
" mód: mód pro kanál"
" text: text pro poslání"
msgid ""
"send a message to all currently connected users who have set the 'w' user "
@@ -4450,27 +4472,26 @@ msgstr "zobrazit CTCP odpověď poslanou WeeChat"
msgid "display CTCP message even if it is unknown CTCP"
msgstr "zobrazit CTCP zprávu i když je to neznámé CTCP"
#, fuzzy
msgid "display host in join messages"
msgstr "barva textu vezprávách připojení"
msgstr "zobrazovat hosta ve vezprávách o připojení"
#, fuzzy
msgid "display host in join messages from local client"
msgstr "barva textu vezprávách připojení"
msgstr "zobrazovat hosta ve vezprávách o připojení z lokálního klienta"
#, fuzzy
msgid "display host in part/quit messages"
msgstr "barva textu ve zprávách odchodu/ukončení"
msgstr "zobrazovat hosta ve zprávách o odchodu/ukončení"
msgid "display old topic when channel topic is changed"
msgstr "zobrazit staré téma rozhovoru, když se téma změní"
#, fuzzy
msgid "display remote away message only once in private"
msgstr "zobrazit vzdálený zprávu o nepřítomnosti pouze jednou v soukromém okně"
msgstr ""
"v soukromém okně zobrazit vzdálenou zprávu o nepřítomnosti pouze jednou"
msgid "display a message in private when user is back (after quit on server)"
msgstr ""
"zobrazit v soukromém okně zprávu po tom co se uživatel vráti (po odpojení od "
"serveru)"
msgid "display channel modes in \"buffer_name\" bar item"
msgstr "zobrazit módy kanálu v položce pole \"buffer_name\""
@@ -4509,6 +4530,25 @@ msgstr ""
"výchozí cílový buffer pro volby msgbuffer, když je cíl soukromý a příslušný "
"soukromý buffer není nalezen"
msgid ""
"chars used to stop in nick when computing color with letters of nick (at "
"least one char outside this list must be in string before stopping) "
"(example: nick \"|nick|away\" with \"|\" in chars will return color of nick "
"\"|nick\")"
msgstr ""
"znaky zastavující výpočet barvy přezdívky ze znaků přezdívky (alespoň jeden "
"mimo tento list musí být v řetězci před zastavením) (example: přezdívka \"|"
"nick|away\" s \"|\" ve znacích vrátí barvu přezdívky \"|nick\")"
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
"zobrazovat upozornění jako soukromé zprávy (pokud je automaticky, použije se "
"soukromý buffer, kdy existuje)"
msgid "close buffer when /part is issued on a channel"
msgstr "zavřít buffer, když je na kanálu spuštěn /part"
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -4532,15 +4572,6 @@ msgstr "povolit chytrý filter pro \"join\" zprávy"
msgid "enable smart filter for \"part\" and \"quit\" messages"
msgstr "povolit chytrý filter pro \"part\" a \"quit\" zprávy"
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
"zobrazovat upozornění jako soukromé zprávy (pokud je automaticky, použije se "
"soukromý buffer, kdy existuje)"
msgid "close buffer when /part is issued on a channel"
msgstr "zavřít buffer, když je na kanálu spuštěn /part"
msgid "strip colors in topic (used only when displaying buffer title)"
msgstr ""
"ořezávat barvy z tématu rozhovoru (použito pouze při zobrazování titulku "
@@ -4554,15 +4585,17 @@ msgstr "barva textu ve zprávách odchodu/ukončení"
msgid "color for prefix of nick which is op/admin/owner on channel"
msgstr ""
"barva prefixu přezdívky, která je operátorem/administratorem/vlastníkem na "
"kanálu"
msgid "color for prefix of nick which is halfop on channel"
msgstr ""
msgstr "barva prefixu přezdívky, která je částečným operátorem na kanálu"
msgid "color for prefix of nick which has voice on channel"
msgstr ""
msgstr "barva prefixu přezdívky, která může mluvit na kanálu"
msgid "color for prefix of nick which is user on channel"
msgstr ""
msgstr "barva prefixu přezdívky, která je uživatelem na kanálu"
msgid "color for text \"Notice\" in notices"
msgstr "barva textu \"Notice\" v upozorněních"
@@ -4580,21 +4613,26 @@ msgid ""
"color for lag indicator, when counting (pong not received from server, lag "
"is increasing)"
msgstr ""
"barva ukazatele lagu, při počítání (pokud není od serveru obdrženo pong, pak "
"se lag zvětšuje)"
msgid "color for lag indicator, when pong has been received from server"
msgstr ""
msgstr "barva ukazatele lagu, pokud bylo od serveru obdrženo pong"
#, fuzzy
msgid "color for reason in part/quit messages"
msgstr "barva textu ve zprávách odchodu/ukončení"
msgstr "barva textu důvodu ve zprávách odchodu/ukončení"
msgid ""
"growing factor for autoreconnect delay to server (1 = always same delay, 2 = "
"delay*2 for each retry, ..)"
msgstr ""
"faktor zvyšování pro zpoždění automatického znovupřipojení k serveru (1 = "
"vždy stejná prodleva, 2 = prodleva*2 pro každý pokus, ...)"
msgid "maximum autoreconnect delay to server (in seconds, 0 = no maximum)"
msgstr ""
"maximální délka prodlevy automatíckého znovupřipojení k serveru (v "
"sekundách, 0 = žádné maximum)"
msgid ""
"timeout (in seconds) between TCP connection to server and message 001 "
@@ -4634,19 +4672,17 @@ msgid "interval between two checks for lag (in seconds, 0 = never check)"
msgstr ""
"interval mezi dvěmi knotrolami pro lag (v sekundách, 0 = nikdy nekontrolovat)"
#, fuzzy
msgid "minimum lag to show (in milliseconds)"
msgstr "minimální lag, který zobrazit (v sekundách)"
msgstr "minimální lag, který zobrazit (v milisekundách)"
msgid "disconnect after important lag (in minutes, 0 = never disconnect)"
msgstr "odpojit po závažném lagu (v minutách, 0 = nikny neodpojit)"
#, fuzzy
msgid ""
"interval between two refreshs of lag item, when lag is increasing (in "
"seconds)"
msgstr ""
"interval mezi dvěmi knotrolami pro lag (v sekundách, 0 = nikdy nekontrolovat)"
"interval mezi dvěmi knotrolami pro lag, kdyz se lag zvětšuje (v sekundách)"
msgid ""
"anti-flood for high priority queue: number of seconds between two user "
@@ -4761,13 +4797,11 @@ msgstr "získat přezdívku od IRC hosta"
msgid "IRC host (like `:nick!name@server.com`)"
msgstr "IRC host (jako `:nick!name@server.com`)"
#, fuzzy
msgid "get nick color code"
msgstr "získat barvu barva přezdívky"
msgstr "získat kód barvy přezdívky"
#, fuzzy
msgid "get nick color name"
msgstr "získat barvu barva přezdívky"
msgstr "získat jméno barvy přezdívky"
msgid "get buffer pointer for an IRC server/channel/nick"
msgstr "získat ukazatel bufferu pro IRC server/kanál/přezdívku"
@@ -4776,14 +4810,13 @@ msgid "server,channel,nick (channel and nicks are optional)"
msgstr "server,kanál,přezdívka (kanál a přezdívka jsou volitelné)"
msgid "1 if server supports this feature (from IRC message 005)"
msgstr ""
msgstr "1 pokud server podporuje tuto funkci (z IRC zprávy 005)"
#, fuzzy
msgid "server,feature"
msgstr "jméno serveru"
msgstr "server,funkce"
msgid "value of feature, if supported by server (from IRC message 005)"
msgstr ""
msgstr "hodnota funkce, pokud je podporována serverem (z IRC zprávy 005)"
msgid "list of IRC servers"
msgstr "seznam IRC serverů"
@@ -4791,9 +4824,10 @@ msgstr "seznam IRC serverů"
msgid "server pointer (optional)"
msgstr "ukayatel serveru (volitelný)"
#, fuzzy
msgid "server name (can start or end with \"*\" as wildcard) (optional)"
msgstr "jméno serveru (může začínat nebo končit s \"*\") (volitelné)"
msgstr ""
"jméno serveru (může začínat nebo končit s \"*\" jako zástupný znakem) "
"(volitelné)"
msgid "list of channels for an IRC server"
msgstr "seznam kanálů pro IRC server"
@@ -5018,9 +5052,9 @@ msgid "%sTopic set by %s%s%s%s%s%s%s%s%s on %s"
msgstr "%sTéma nastevil %s%s%s%s%s%s%s%s%s v %s"
#. TRANSLATORS: "%s" after "on" is date
#, fuzzy, c-format
#, c-format
msgid "%sTopic set on %s"
msgstr "%sNení nastaveno téma pro kanál %s%s"
msgstr "%sTéma nasteveno %s"
#. TRANSLATORS: "%s" after "on" is date
#, c-format
@@ -5028,9 +5062,9 @@ msgid "%sTopic for %s%s%s set by %s%s%s%s%s%s%s%s%s on %s"
msgstr "%sTéma pro %s%s%s nastevil %s%s%s%s%s%s%s%s%s v %s"
#. TRANSLATORS: "%s" after "on" is date
#, fuzzy, c-format
#, c-format
msgid "%sTopic for %s%s%s set on %s"
msgstr "%sTéma pro %s%s%s v \"%s%s\""
msgstr "%sTéma pro %s%s%s nastaveno %s"
#, c-format
msgid "%s%s%s%s has invited %s%s%s to %s%s%s"
@@ -5041,13 +5075,13 @@ msgid "%sChannel reop %s%s%s: %s%s"
msgstr "%sReop kanálu %s%s%s: %s%s"
#. TRANSLATORS: "%s" after "on" is date
#, fuzzy, c-format
#, c-format
msgid "%s%s[%s%s%s] %s%s%s invited by %s%s %s(%s%s%s)%s on %s"
msgstr "%s%s[%s%s%s] %s%s%s zakázán uživatelem %s%s %s(%s%s%s)%s v %s"
msgstr "%s%s[%s%s%s] %s%s%s pozván uživatelem %s%s %s(%s%s%s)%s v %s"
#, fuzzy, c-format
#, c-format
msgid "%s%s[%s%s%s] %s%s%s invited by %s%s %s(%s%s%s)"
msgstr "%s%s[%s%s%s] %s%s%s zakázán uživatelem %s%s %s(%s%s%s)"
msgstr "%s%s[%s%s%s] %s%s%s pozván uživatelem %s%s %s(%s%s%s)"
#. TRANSLATORS: "%s" after "on" is date
#, c-format
@@ -5141,10 +5175,10 @@ msgid "%s: nickname \"%s\" is already in use, trying nickname #%d (\"%s\")"
msgstr ""
"%s: přezdívka \"%s\" je již používaná, zkouším přezdívku číslo %d (\"%s\")"
#, fuzzy, c-format
#, c-format
msgid "%s%s: nickname \"%s\" is unavailable, trying nickname #%d (\"%s\")"
msgstr ""
"%s%s: přezdívka \"%s\" je nevalidní, zkouším přezdívku číslo %d (\"%s\")"
"%s%s: přezdívka \"%s\" je nedostupná, zkouším přezdívku číslo %d (\"%s\")"
#, c-format
msgid "%s%s: command \"%s\" not found:"
@@ -5227,9 +5261,9 @@ msgstr "%s%s: vypršel čas pro sasl autentizaci"
msgid "%s: lag is high, disconnecting from server..."
msgstr "%s: zpoždění je veliké, odpojuji se od serveru..."
#, fuzzy, c-format
#, c-format
msgid "%s: reconnecting to server in %d %s, %d %s"
msgstr "%s: navazuji nové spojení se serverem za %d %s"
msgstr "%s: navazuji nové spojení se serverem za %d %s, %d %s"
#, c-format
msgid "%s: reconnecting to server in %d %s"
@@ -5354,6 +5388,10 @@ msgstr "%sguntls: jméno hosta v certifikátu NODPOVÍDÁ \"%s\""
msgid "gnutls: sending one certificate"
msgstr "gnutls: posílám jeden certifikát"
#, fuzzy, c-format
msgid "%sgnutls: invalid certificate \"%s\", error: %s"
msgstr "%sgnutls: nemůžu číst certifikát \"%s\""
#, c-format
msgid " - client certificate info (%s):"
msgstr " - informace o certifikátu klienta (%s):"
@@ -5660,9 +5698,9 @@ msgstr "seznam polí"
msgid "bar pointer (optional)"
msgstr "ukazatel pole (volitelný)"
#, fuzzy
msgid "bar name (can start or end with \"*\" as wildcard) (optional)"
msgstr "jméno pole (může začínat nebo končit \"*\") (volitelné)"
msgstr ""
"jméno pole (může začínat nebo končit \"*\" jako zástupným znakem) (volitelné)"
msgid "list of bar items"
msgstr "seznam položek polí"
@@ -5670,9 +5708,10 @@ msgstr "seznam položek polí"
msgid "bar item pointer (optional)"
msgstr "ukazatel položky pole (volitelný)"
#, fuzzy
msgid "bar item name (can start or end with \"*\" as wildcard) (optional)"
msgstr "jméno položky pole (může začínat nebo končit \"*\") (volitelné)"
msgstr ""
"jméno položky pole (může začínat nebo končit \"*\" jako zástupným znakem) "
"(volitelné)"
msgid "list of bar windows"
msgstr "seznam oken polí"
@@ -5686,9 +5725,10 @@ msgstr "seznam bufferů"
msgid "buffer pointer (optional)"
msgstr "ukazatel bufferu (volitelný)"
#, fuzzy
msgid "buffer name (can start or end with \"*\" as wildcard) (optional)"
msgstr "jméno buferu (může začínat nebo končit \"*\") (volitelné)"
msgstr ""
"jméno buferu (může začínat nebo končit \"*\" jako zástupným znakem) "
"(volitelné)"
msgid "lines of a buffer"
msgstr "řádků bufferu"
@@ -5699,9 +5739,10 @@ msgstr "ukazatel bufferu"
msgid "list of filters"
msgstr "seznam filtrů"
#, fuzzy
msgid "filter name (can start or end with \"*\" as wildcard) (optional)"
msgstr "jméno filtru (může začínat nebo končit \"*\") (volitelné)"
msgstr ""
"jméno filtru (může začínat nebo končit \"*\" jako zástupným znakem) "
"(volitelné)"
msgid "history of commands"
msgstr "historie příkazů"
@@ -5733,9 +5774,10 @@ msgstr ""
msgid "list of options"
msgstr "seznam konfiguračních možností"
#, fuzzy
msgid "option name (can start or end with \"*\" as wildcard) (optional)"
msgstr "jméno volby (může začínat nebo končit \"*\") (volitelné)"
msgstr ""
"jméno volby (může začínat nebo končit \"*\" jako zástupným znakem) "
"(volitelné)"
msgid "list of plugins"
msgstr "seznam pluginů"
@@ -5743,9 +5785,10 @@ msgstr "seznam pluginů"
msgid "plugin pointer (optional)"
msgstr "ukazatel pluginu (volitelný)"
#, fuzzy
msgid "plugin name (can start or end with \"*\" as wildcard) (optional)"
msgstr "jméno pluginu (může začínat nebo končit \"*\") (volitelné)"
msgstr ""
"jméno pluginu (může začínat nebo končit \"*\" jako zástupným znakem) "
"(volitelné)"
msgid "list of windows"
msgstr "seznam oken"
@@ -5753,9 +5796,9 @@ msgstr "seznam oken"
msgid "window pointer (optional)"
msgstr "ukazatel okna (volitelné)"
#, fuzzy
msgid "window name (can start or end with \"*\" as wildcard) (optional)"
msgstr "jméno okna (může začínat nebo končit \"*\") (volitelné)"
msgstr ""
"jméno okna (může začínat nebo končit \"*\" jako zástupným znakem) (volitelné)"
#, c-format
msgid "%sError: unable to load plugin \"%s\": %s"
@@ -6192,9 +6235,10 @@ msgstr "seznam skriptů"
msgid "script pointer (optional)"
msgstr "ukazatel skriptu (volitelný)"
#, fuzzy
msgid "script name (can start or end with \"*\" as wildcard) (optional)"
msgstr "jméno skriptu (může začínat nebo končit \"*\") (volitelné)"
msgstr ""
"jméno skriptu (může začínat nebo končit \"*\" jako zástupným znakem) "
"(volitelné)"
#, c-format
msgid "%s: error loading script \"%s\" (bad name, spaces are forbidden)"
@@ -6629,29 +6673,3 @@ msgstr "Argumenty"
msgid "Pointer"
msgstr "Ukazatel"
#~ msgid "text color for prefix #1 in nicklist"
#~ msgstr "barva textu pro 1. prefix v seznamu přezdívek"
#~ msgid "text color for prefix #2 in nicklist"
#~ msgstr "barva textu pro 2. prefix v seznamu přezdívek"
#~ msgid "text color for prefix #3 in nicklist"
#~ msgstr "barva textu pro 3. prefix v seznamu přezdívek"
#~ msgid "text color for prefix #4 in nicklist"
#~ msgstr "barva textu pro 4. prefix v seznamu přezdívek"
#~ msgid "text color for prefix #5 in nicklist"
#~ msgstr "barva textu pro 5. prefix v seznamu přezdívek"
#~ msgid ""
#~ "channel: channel name to join\n"
#~ " key: key to join the channel"
#~ msgstr ""
#~ "kanál: jméno kanálu na který se připojit\n"
#~ " klíč: klíč pro připojení ke kanálu"
#, fuzzy
#~ msgid "color for buffer name when connected using SSL to server"
#~ msgstr "%s%s: nejste připojen k serveru"
+33 -16
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.3-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2010-07-15 08:32+0200\n"
"PO-Revision-Date: 2010-07-12 11:04+0100\n"
"POT-Creation-Date: 2010-07-25 12:52+0200\n"
"PO-Revision-Date: 2010-07-19 15:12+0200\n"
"Last-Translator: Nils G.\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: \n"
@@ -1062,6 +1062,7 @@ msgstr ""
"[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags "
"regex] | [del name|-all]"
#, fuzzy
msgid ""
" list: list all filters\n"
" enable: enable filters (filters are enabled by default)\n"
@@ -1075,8 +1076,11 @@ msgid ""
"buffers)\n"
" tags: comma separated list of tags, for example: \"irc_join,"
"irc_part,irc_quit\"\n"
" regex: regular expression to search in line (use \\t to separate "
"prefix from message, special chars like '|' must be escaped: '\\|')\n"
" regex: regular expression to search in line\n"
" - use '\\t' to separate prefix from message, special chars "
"like '|' must be escaped: '\\|'\n"
" - if regex starts with '!', then matching result is reversed "
"(use '\\!' to start with '!')\n"
"\n"
"The default key alt+'=' toggles filtering on/off.\n"
"\n"
@@ -1096,6 +1100,8 @@ msgid ""
" /filter add nicks * irc_366 *\n"
" filter nick \"toto\" on IRC channel #weechat:\n"
" /filter add toto irc.freenode.#weechat * toto\\t\n"
" keep only nick \"titi\" on IRC channel #test:\n"
" /filter add titi irc.freenode.#test * !titi\\t\n"
" filter lines containing word \"spam\":\n"
" /filter add filterspam * * spam\n"
" filter lines containing \"weechat sucks\" on IRC channel #weechat:\n"
@@ -2136,7 +2142,7 @@ msgid "text color for time (status bar)"
msgstr "Textfarbe für die Uhrzeit (Statusbar)"
msgid "text color for unsucessful text search in input line"
msgstr "Textfarbe in der Eingabezeile bei einer erfolglosen Textsuche "
msgstr "Textfarbe in der Eingabezeile bei einer erfolglosen Textsuche"
msgid "text color for actions in input line"
msgstr "Textfarbe in der Eingabezeile bei Aktivität"
@@ -3414,7 +3420,7 @@ msgstr ""
"\n"
"Beispiele:\n"
" Führe den Befehl '/me Ich teste gerade etwas...' für alle Channels aus:\n"
" /allchan me Ich teste gerade etwas... \n"
" /allchan me Ich teste gerade etwas...\n"
" Schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat "
"Channel:\n"
" /allchan -exclude=#weechat msg * Hallo Welt\n"
@@ -3626,7 +3632,7 @@ msgid ""
msgstr ""
" list: zeigt an, wer/was ignoriert wird\n"
" add: füge eine Ignorierung hinzu\n"
" del: entferne eine Ignorierung \n"
" del: entferne eine Ignorierung\n"
" number: Nummer der Ignorierung die entfernt werden soll (nutze \"list"
"\" )\n"
" -all: entfernt alle Einträge\n"
@@ -4690,6 +4696,22 @@ msgstr ""
"Standardbuffer der für Ausgaben genutzt werden soll falls ein privater "
"Buffer nicht gefunden wird."
msgid ""
"chars used to stop in nick when computing color with letters of nick (at "
"least one char outside this list must be in string before stopping) "
"(example: nick \"|nick|away\" with \"|\" in chars will return color of nick "
"\"|nick\")"
msgstr ""
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
"Zeigt Notizen als private Nachricht an (wird die \"auto\" Option verwendet "
"dann wird ein privater Buffer genutzt, falls vorhanden)"
msgid "close buffer when /part is issued on a channel"
msgstr "Schließt den Buffer wenn \"/part\" im Channel ausgeführt wird"
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -4716,15 +4738,6 @@ msgstr "aktiviert einen Filter für \"join\" Nachrichten"
msgid "enable smart filter for \"part\" and \"quit\" messages"
msgstr "aktiviert einen Filter für \"part\" und \"quit\" Nachrichten"
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
"Zeigt Notizen als private Nachricht an (wird die \"auto\" Option verwendet "
"dann wird ein privater Buffer genutzt, falls vorhanden)"
msgid "close buffer when /part is issued on a channel"
msgstr "Schließt den Buffer wenn \"/part\" im Channel ausgeführt wird"
msgid "strip colors in topic (used only when displaying buffer title)"
msgstr ""
"Farben werden im Topic gestrippt (wird nur genutzt wenn der Buffer-Titel "
@@ -5561,6 +5574,10 @@ msgstr "%sgnutls: Der Hostname im Zertifikat \"%s\" stimmt NICHT überein."
msgid "gnutls: sending one certificate"
msgstr "gnutls: Sende ein Zertifikat"
#, fuzzy, c-format
msgid "%sgnutls: invalid certificate \"%s\", error: %s"
msgstr "%sgnutls: Kann das Zertifikat \"%s\" nicht lesen"
#, c-format
msgid " - client certificate info (%s):"
msgstr " - Client Zertifikate-Information (%s):"
+29 -12
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.3-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2010-07-11 12:14+0200\n"
"POT-Creation-Date: 2010-07-25 12:52+0200\n"
"PO-Revision-Date: 2010-06-20 21:24+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1046,6 +1046,7 @@ msgstr ""
"[list] | [enable|disable|toggle [nombre]] | [add nombre plugin.buffer "
"etiquetas regex] | [del nombre|-all]"
#, fuzzy
msgid ""
" list: list all filters\n"
" enable: enable filters (filters are enabled by default)\n"
@@ -1059,8 +1060,11 @@ msgid ""
"buffers)\n"
" tags: comma separated list of tags, for example: \"irc_join,"
"irc_part,irc_quit\"\n"
" regex: regular expression to search in line (use \\t to separate "
"prefix from message, special chars like '|' must be escaped: '\\|')\n"
" regex: regular expression to search in line\n"
" - use '\\t' to separate prefix from message, special chars "
"like '|' must be escaped: '\\|'\n"
" - if regex starts with '!', then matching result is reversed "
"(use '\\!' to start with '!')\n"
"\n"
"The default key alt+'=' toggles filtering on/off.\n"
"\n"
@@ -1080,6 +1084,8 @@ msgid ""
" /filter add nicks * irc_366 *\n"
" filter nick \"toto\" on IRC channel #weechat:\n"
" /filter add toto irc.freenode.#weechat * toto\\t\n"
" keep only nick \"titi\" on IRC channel #test:\n"
" /filter add titi irc.freenode.#test * !titi\\t\n"
" filter lines containing word \"spam\":\n"
" /filter add filterspam * * spam\n"
" filter lines containing \"weechat sucks\" on IRC channel #weechat:\n"
@@ -4573,6 +4579,22 @@ msgstr ""
"buffer destino por defecto para las opciones msgbuffer cuando el destino es "
"privado y no hay un buffer privado disponible"
msgid ""
"chars used to stop in nick when computing color with letters of nick (at "
"least one char outside this list must be in string before stopping) "
"(example: nick \"|nick|away\" with \"|\" in chars will return color of nick "
"\"|nick\")"
msgstr ""
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
"mostrar avisos como mensajes privados (si es auto, usa un buffer privado si "
"lo encuentra)"
msgid "close buffer when /part is issued on a channel"
msgstr "cerrar el buffer cuando /part es usado en un canal"
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -4598,15 +4620,6 @@ msgstr "habilitar el filtro inteligente para mensajes de unión"
msgid "enable smart filter for \"part\" and \"quit\" messages"
msgstr "habilitar el filtro inteligente para mensajes de abandono y salida"
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
"mostrar avisos como mensajes privados (si es auto, usa un buffer privado si "
"lo encuentra)"
msgid "close buffer when /part is issued on a channel"
msgstr "cerrar el buffer cuando /part es usado en un canal"
msgid "strip colors in topic (used only when displaying buffer title)"
msgstr ""
"remover colores en el tema (usado solamente cuando se esté mostrando el "
@@ -5416,6 +5429,10 @@ msgstr "%sgnutls: el hostname en el certificado NO concuerda con \"%s\""
msgid "gnutls: sending one certificate"
msgstr "gnutls: enviando un certificado"
#, fuzzy, c-format
msgid "%sgnutls: invalid certificate \"%s\", error: %s"
msgstr "%sgnutls: no es posible leer el certificado \"%s\""
#, c-format
msgid " - client certificate info (%s):"
msgstr " - información del certificado del cliente (%s):"
+40 -16
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.3-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2010-07-11 12:14+0200\n"
"PO-Revision-Date: 2010-07-10 09:31+0200\n"
"POT-Creation-Date: 2010-07-25 12:52+0200\n"
"PO-Revision-Date: 2010-07-25 12:52+0200\n"
"Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: French\n"
@@ -1063,8 +1063,11 @@ msgid ""
"buffers)\n"
" tags: comma separated list of tags, for example: \"irc_join,"
"irc_part,irc_quit\"\n"
" regex: regular expression to search in line (use \\t to separate "
"prefix from message, special chars like '|' must be escaped: '\\|')\n"
" regex: regular expression to search in line\n"
" - use '\\t' to separate prefix from message, special chars "
"like '|' must be escaped: '\\|'\n"
" - if regex starts with '!', then matching result is reversed "
"(use '\\!' to start with '!')\n"
"\n"
"The default key alt+'=' toggles filtering on/off.\n"
"\n"
@@ -1084,6 +1087,8 @@ msgid ""
" /filter add nicks * irc_366 *\n"
" filter nick \"toto\" on IRC channel #weechat:\n"
" /filter add toto irc.freenode.#weechat * toto\\t\n"
" keep only nick \"titi\" on IRC channel #test:\n"
" /filter add titi irc.freenode.#test * !titi\\t\n"
" filter lines containing word \"spam\":\n"
" /filter add filterspam * * spam\n"
" filter lines containing \"weechat sucks\" on IRC channel #weechat:\n"
@@ -1101,9 +1106,11 @@ msgstr ""
"tous les tampons)\n"
" tags: liste de tags, séparés par des virgules, par exemple: "
"\"irc_join,irc_part,irc_quit\"\n"
" regex: expressoin régulière à rechercher dans la ligne (utiliser "
"\\t pour séparer le préfixe du message, les caractères spéciaux comme '|' "
"doivent être échappés: '\\|')\n"
" regex: expression régulière à rechercher dans la ligne\n"
" - utiliser '\\t' pour séparer le préfixe du message, les "
"caractères spéciaux comme '|' doivent être échappés: '\\|'\n"
" - si l'expression régulière commence par '!' alors le "
"résultat est inversé (utiliser '\\!' pour démarrer par '!')\n"
"\n"
"La touche par défaut alt+'=' active/désactive le filtrage.\n"
"\n"
@@ -1123,6 +1130,8 @@ msgstr ""
" /filter add nicks * irc_366 *\n"
" filtrer le pseudo \"toto\" sur le canal IRC #weechat:\n"
" /filter add toto irc.freenode.#weechat * toto\\t\n"
" garder uniquement le pseudo \"titi\" sur le canal IRC #test:\n"
" /filter add titi irc.freenode.#test * !titi\\t\n"
" filtrer les lignes contenant le mot \"spam\":\n"
" /filter add filtrespam * * spam\n"
" filtrer les lignes contenant \"weechat sucks\" sur le canal IRC #weechat:\n"
@@ -4618,6 +4627,26 @@ msgstr ""
"tampon cible par défaut pour les options msgbuffer quand la cible est "
"\"private\" et que le tampon privé n'est pas trouvé"
msgid ""
"chars used to stop in nick when computing color with letters of nick (at "
"least one char outside this list must be in string before stopping) "
"(example: nick \"|nick|away\" with \"|\" in chars will return color of nick "
"\"|nick\")"
msgstr ""
"caractères utilisés pour l'arrêt dans le pseudo lors du calcul de la couleur "
"avec les lettres du pseudo (au moins un caractère en dehors de cette liste "
"doit être dans la chaîne avant de s'arrêter) (exemple: le pseudo \"|nick|away"
"\" avec \"|\" dans les caractères retournera la couleur du pseudo \"|nick\")"
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
"afficher les notices comme des messages privés (si auto, utilise le tampon "
"privé s'il est trouvé)"
msgid "close buffer when /part is issued on a channel"
msgstr "fermer le tampon lorsque /part est exécuté sur un canal"
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -4643,15 +4672,6 @@ msgstr "activer le filtre intelligent pour les messages \"join\""
msgid "enable smart filter for \"part\" and \"quit\" messages"
msgstr "activer le filtre intelligent pour les messages \"part\" et \"quit\""
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
"afficher les notices comme des messages privés (si auto, utilise le tampon "
"privé s'il est trouvé)"
msgid "close buffer when /part is issued on a channel"
msgstr "fermer le tampon lorsque /part est exécuté sur un canal"
msgid "strip colors in topic (used only when displaying buffer title)"
msgstr ""
"supprimer les couleurs dans le titre (utilisé seulement lors de l'affichage "
@@ -5467,6 +5487,10 @@ msgstr "%sgnutls: le nom d'hôte du certificat ne correspond PAS à \"%s\""
msgid "gnutls: sending one certificate"
msgstr "gnutls: envoi d'un certificat"
#, c-format
msgid "%sgnutls: invalid certificate \"%s\", error: %s"
msgstr "%sgnutls: certificat invalide \"%s\", erreur: %s"
#, c-format
msgid " - client certificate info (%s):"
msgstr " - info certificat client (%s):"
+27 -11
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.3-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2010-07-11 12:14+0200\n"
"POT-Creation-Date: 2010-07-25 12:52+0200\n"
"PO-Revision-Date: 2010-06-20 21:24+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1030,8 +1030,11 @@ msgid ""
"buffers)\n"
" tags: comma separated list of tags, for example: \"irc_join,"
"irc_part,irc_quit\"\n"
" regex: regular expression to search in line (use \\t to separate "
"prefix from message, special chars like '|' must be escaped: '\\|')\n"
" regex: regular expression to search in line\n"
" - use '\\t' to separate prefix from message, special chars "
"like '|' must be escaped: '\\|'\n"
" - if regex starts with '!', then matching result is reversed "
"(use '\\!' to start with '!')\n"
"\n"
"The default key alt+'=' toggles filtering on/off.\n"
"\n"
@@ -1051,6 +1054,8 @@ msgid ""
" /filter add nicks * irc_366 *\n"
" filter nick \"toto\" on IRC channel #weechat:\n"
" /filter add toto irc.freenode.#weechat * toto\\t\n"
" keep only nick \"titi\" on IRC channel #test:\n"
" /filter add titi irc.freenode.#test * !titi\\t\n"
" filter lines containing word \"spam\":\n"
" /filter add filterspam * * spam\n"
" filter lines containing \"weechat sucks\" on IRC channel #weechat:\n"
@@ -4314,6 +4319,21 @@ msgid ""
"private buffer is not found"
msgstr ""
msgid ""
"chars used to stop in nick when computing color with letters of nick (at "
"least one char outside this list must be in string before stopping) "
"(example: nick \"|nick|away\" with \"|\" in chars will return color of nick "
"\"|nick\")"
msgstr ""
#, fuzzy
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr "figyelmeztetések privát üzenetként való mutatása"
msgid "close buffer when /part is issued on a channel"
msgstr ""
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -4334,14 +4354,6 @@ msgstr "új üzenetet tartalmazó ablak színe"
msgid "enable smart filter for \"part\" and \"quit\" messages"
msgstr ""
#, fuzzy
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr "figyelmeztetések privát üzenetként való mutatása"
msgid "close buffer when /part is issued on a channel"
msgstr ""
msgid "strip colors in topic (used only when displaying buffer title)"
msgstr ""
@@ -5144,6 +5156,10 @@ msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
msgid "gnutls: sending one certificate"
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
#, fuzzy, c-format
msgid "%sgnutls: invalid certificate \"%s\", error: %s"
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
#, c-format
msgid " - client certificate info (%s):"
msgstr ""
+43 -23
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Weechat 0.3.3-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2010-07-11 12:14+0200\n"
"PO-Revision-Date: 2010-06-20 21:24+0200\n"
"POT-Creation-Date: 2010-07-25 12:52+0200\n"
"PO-Revision-Date: 2010-07-19 15:12+0200\n"
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: Italian\n"
@@ -1052,8 +1052,11 @@ msgid ""
"buffers)\n"
" tags: comma separated list of tags, for example: \"irc_join,"
"irc_part,irc_quit\"\n"
" regex: regular expression to search in line (use \\t to separate "
"prefix from message, special chars like '|' must be escaped: '\\|')\n"
" regex: regular expression to search in line\n"
" - use '\\t' to separate prefix from message, special chars "
"like '|' must be escaped: '\\|'\n"
" - if regex starts with '!', then matching result is reversed "
"(use '\\!' to start with '!')\n"
"\n"
"The default key alt+'=' toggles filtering on/off.\n"
"\n"
@@ -1073,6 +1076,8 @@ msgid ""
" /filter add nicks * irc_366 *\n"
" filter nick \"toto\" on IRC channel #weechat:\n"
" /filter add toto irc.freenode.#weechat * toto\\t\n"
" keep only nick \"titi\" on IRC channel #test:\n"
" /filter add titi irc.freenode.#test * !titi\\t\n"
" filter lines containing word \"spam\":\n"
" /filter add filterspam * * spam\n"
" filter lines containing \"weechat sucks\" on IRC channel #weechat:\n"
@@ -1113,6 +1118,8 @@ msgstr ""
" /filter add nicks * irc_366 *\n"
" filtra il nick \"tizio\" sul canale IRC #weechat\n"
" /filter add tizio irc.freenode.#esempio * tizio\\t\n"
" filtra solo il nick \"caio\" sul canale IRC #test:\n"
" /filter add caio irc.freenode.#test * !caio\\t\n"
" filtra le righe contententi la parola \"spam\":\n"
" /filter add filterspam * * spam\n"
" filtra le righe contententi \"weechat fa schifo\" sul canale IRC "
@@ -1694,6 +1701,9 @@ msgid ""
"alignment for end of lines (all lines after the first): they are starting "
"under this data (time, buffer, prefix, suffix, message (default))"
msgstr ""
"allineamento per la fine delle righe (tutte le righe tranne la prima): "
"iniziano al di sotto di questi dati (data, buffer, prefissio, suffisso, "
"messaggio (predefinito))"
msgid ""
"default notify level for buffers (used to tell WeeChat if buffer must be "
@@ -4080,7 +4090,7 @@ msgstr ""
" deloutq: elimina i messaggi fuori coda per tutti i server (tutti i "
"messaggi che WeeChat sta inviando)\n"
" jump: passa al buffer del server\n"
" raw: apri buffer con dati grezzi IRC \n"
" raw: apri buffer con dati grezzi IRC\n"
"\n"
"Esempi:\n"
" /server listfull\n"
@@ -4580,6 +4590,22 @@ msgstr ""
"buffer di destinazione predefinito per le opzioni di msgbuffer quando la "
"destinazione è privata ed il buffer privato non viene trovato"
msgid ""
"chars used to stop in nick when computing color with letters of nick (at "
"least one char outside this list must be in string before stopping) "
"(example: nick \"|nick|away\" with \"|\" in chars will return color of nick "
"\"|nick\")"
msgstr ""
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
"visualizza notifiche come messaggi privati (se automatico, utilizza il "
"buffer privato se viene trovato)"
msgid "close buffer when /part is issued on a channel"
msgstr "chiude buffer quando viene digitato /part nel canale"
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -4609,15 +4635,6 @@ msgstr ""
"abilita filtro smart per i messaggi \"part\" (uscita) e \"quit "
"(disconnessione)"
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
"visualizza notifiche come messaggi privati (se automatico, utilizza il "
"buffer privato se viene trovato)"
msgid "close buffer when /part is issued on a channel"
msgstr "chiude buffer quando viene digitato /part nel canale"
msgid "strip colors in topic (used only when displaying buffer title)"
msgstr ""
"elimina colori nell'argomento (utilizzato solo quando viene visualizzato il "
@@ -4659,9 +4676,12 @@ msgid ""
"color for lag indicator, when counting (pong not received from server, lag "
"is increasing)"
msgstr ""
"colore per l'indicatore del lag, durante il conteggio (pong non ricevuto dal "
"server, lag in aumento)"
msgid "color for lag indicator, when pong has been received from server"
msgstr ""
"colore per l'indicatore di ritardo, quando il pong viene ricevuto dal server"
msgid "color for reason in part/quit messages"
msgstr "colore per il motivo nei messaggi di uscita/abbandono"
@@ -4716,21 +4736,19 @@ msgstr ""
"intervallo tra due controlli per il ritardo (in secondi, 0 = nessun "
"controllo)"
#, fuzzy
msgid "minimum lag to show (in milliseconds)"
msgstr "ritardo minimo da visualizzare (in secondi)"
msgstr "ritardo minimo da visualizzare (in millisecondi)"
msgid "disconnect after important lag (in minutes, 0 = never disconnect)"
msgstr ""
"disconnetti dopo un ritardo eccessivo (in minuti, 0 = nessuna disconnessione)"
#, fuzzy
msgid ""
"interval between two refreshs of lag item, when lag is increasing (in "
"seconds)"
msgstr ""
"intervallo tra due controlli per il ritardo (in secondi, 0 = nessun "
"controllo)"
"intervallo tra due aggiornamenti per l'elemento ritardo, quando è in aumento "
"(in secondi)"
msgid ""
"anti-flood for high priority queue: number of seconds between two user "
@@ -4845,13 +4863,11 @@ msgstr "ottiene nick dall'host IRC"
msgid "IRC host (like `:nick!name@server.com`)"
msgstr "host IRC (come `:nick!nome@server.com`)"
#, fuzzy
msgid "get nick color code"
msgstr "riceve colore del nick"
msgstr "ottiene il codice del colore del nick"
#, fuzzy
msgid "get nick color name"
msgstr "riceve colore del nick"
msgstr "ottiene il nome del colore del nick"
msgid "get buffer pointer for an IRC server/channel/nick"
msgstr "ottiene puntatore al buffer per un server/canale/nick IRC"
@@ -5432,6 +5448,10 @@ msgstr "%sgnutls: il nome host nel certificato NON coincide \"%s\""
msgid "gnutls: sending one certificate"
msgstr "gnutls: invio di un certificato"
#, fuzzy, c-format
msgid "%sgnutls: invalid certificate \"%s\", error: %s"
msgstr "%sgnutls: impossibile leggere il certificato \"%s\""
#, c-format
msgid " - client certificate info (%s):"
msgstr " - info sul certificato (%s) del client:"
+29 -12
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.3-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2010-07-11 12:14+0200\n"
"POT-Creation-Date: 2010-07-25 12:52+0200\n"
"PO-Revision-Date: 2010-06-20 21:25+0200\n"
"Last-Translator: B.J. Stobiecki <bartek@stobiecki.eu>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1052,6 +1052,7 @@ msgstr ""
"[list] | [enable|disable|toggle [nazwa]] | [add nazwa wtyczka.bufor tagi "
"regex] | [del nazwa|-all]"
#, fuzzy
msgid ""
" list: list all filters\n"
" enable: enable filters (filters are enabled by default)\n"
@@ -1065,8 +1066,11 @@ msgid ""
"buffers)\n"
" tags: comma separated list of tags, for example: \"irc_join,"
"irc_part,irc_quit\"\n"
" regex: regular expression to search in line (use \\t to separate "
"prefix from message, special chars like '|' must be escaped: '\\|')\n"
" regex: regular expression to search in line\n"
" - use '\\t' to separate prefix from message, special chars "
"like '|' must be escaped: '\\|'\n"
" - if regex starts with '!', then matching result is reversed "
"(use '\\!' to start with '!')\n"
"\n"
"The default key alt+'=' toggles filtering on/off.\n"
"\n"
@@ -1086,6 +1090,8 @@ msgid ""
" /filter add nicks * irc_366 *\n"
" filter nick \"toto\" on IRC channel #weechat:\n"
" /filter add toto irc.freenode.#weechat * toto\\t\n"
" keep only nick \"titi\" on IRC channel #test:\n"
" /filter add titi irc.freenode.#test * !titi\\t\n"
" filter lines containing word \"spam\":\n"
" /filter add filterspam * * spam\n"
" filter lines containing \"weechat sucks\" on IRC channel #weechat:\n"
@@ -4551,6 +4557,22 @@ msgstr ""
"domyślny bufor docelowy dla bufora wiadomości, kiedy cel jest prywatny i nie "
"odnaleziono tego prywatnego bufora"
msgid ""
"chars used to stop in nick when computing color with letters of nick (at "
"least one char outside this list must be in string before stopping) "
"(example: nick \"|nick|away\" with \"|\" in chars will return color of nick "
"\"|nick\")"
msgstr ""
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
"wyświetlaj powiadomienia jako prywatne wiadomości (jeśli auto, użwa "
"prywatnego bufora jeśli taki istnieje)"
msgid "close buffer when /part is issued on a channel"
msgstr "zamyka bufor, kiedy na kanale wykonamy /part"
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -4577,15 +4599,6 @@ msgstr "włącza mądre filtrowanie dla wiadomości \"join\""
msgid "enable smart filter for \"part\" and \"quit\" messages"
msgstr "włącza inteligentne filtrowanie dla wiadomości \"part\" oraz \"quit\""
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
"wyświetlaj powiadomienia jako prywatne wiadomości (jeśli auto, użwa "
"prywatnego bufora jeśli taki istnieje)"
msgid "close buffer when /part is issued on a channel"
msgstr "zamyka bufor, kiedy na kanale wykonamy /part"
msgid "strip colors in topic (used only when displaying buffer title)"
msgstr "usuń kolory w tematach (używane przy wuświetlaniu tytyłu bufora)"
@@ -5394,6 +5407,10 @@ msgstr "%sgnutls: nazwa hosta w certyfikacie NIE pasuje do \"%s\""
msgid "gnutls: sending one certificate"
msgstr "gnutls: wysyłam jeden certyfikat"
#, fuzzy, c-format
msgid "%sgnutls: invalid certificate \"%s\", error: %s"
msgstr "%sgnutls: nie można odczytać certyfikatu \"%s\""
#, c-format
msgid " - client certificate info (%s):"
msgstr " - informacje o certyfikacie klienta (%s):"
+27 -11
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.3-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2010-07-11 12:14+0200\n"
"POT-Creation-Date: 2010-07-25 12:52+0200\n"
"PO-Revision-Date: 2010-06-20 21:25+0200\n"
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1038,8 +1038,11 @@ msgid ""
"buffers)\n"
" tags: comma separated list of tags, for example: \"irc_join,"
"irc_part,irc_quit\"\n"
" regex: regular expression to search in line (use \\t to separate "
"prefix from message, special chars like '|' must be escaped: '\\|')\n"
" regex: regular expression to search in line\n"
" - use '\\t' to separate prefix from message, special chars "
"like '|' must be escaped: '\\|'\n"
" - if regex starts with '!', then matching result is reversed "
"(use '\\!' to start with '!')\n"
"\n"
"The default key alt+'=' toggles filtering on/off.\n"
"\n"
@@ -1059,6 +1062,8 @@ msgid ""
" /filter add nicks * irc_366 *\n"
" filter nick \"toto\" on IRC channel #weechat:\n"
" /filter add toto irc.freenode.#weechat * toto\\t\n"
" keep only nick \"titi\" on IRC channel #test:\n"
" /filter add titi irc.freenode.#test * !titi\\t\n"
" filter lines containing word \"spam\":\n"
" /filter add filterspam * * spam\n"
" filter lines containing \"weechat sucks\" on IRC channel #weechat:\n"
@@ -4320,6 +4325,21 @@ msgid ""
"private buffer is not found"
msgstr ""
msgid ""
"chars used to stop in nick when computing color with letters of nick (at "
"least one char outside this list must be in string before stopping) "
"(example: nick \"|nick|away\" with \"|\" in chars will return color of nick "
"\"|nick\")"
msgstr ""
#, fuzzy
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr "отображать notice'ы в виде личных сообщений"
msgid "close buffer when /part is issued on a channel"
msgstr ""
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -4340,14 +4360,6 @@ msgstr "цвет текущего окна с сообщениями"
msgid "enable smart filter for \"part\" and \"quit\" messages"
msgstr ""
#, fuzzy
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr "отображать notice'ы в виде личных сообщений"
msgid "close buffer when /part is issued on a channel"
msgstr ""
msgid "strip colors in topic (used only when displaying buffer title)"
msgstr ""
@@ -5159,6 +5171,10 @@ msgstr "Не могу записать лог-файл \"%s\"\n"
msgid "gnutls: sending one certificate"
msgstr "Не могу записать лог-файл \"%s\"\n"
#, fuzzy, c-format
msgid "%sgnutls: invalid certificate \"%s\", error: %s"
msgstr "Не могу записать лог-файл \"%s\"\n"
#, c-format
msgid " - client certificate info (%s):"
msgstr ""
+26 -10
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2010-07-11 12:14+0200\n"
"POT-Creation-Date: 2010-07-25 12:52+0200\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"
@@ -888,8 +888,11 @@ msgid ""
"buffers)\n"
" tags: comma separated list of tags, for example: \"irc_join,"
"irc_part,irc_quit\"\n"
" regex: regular expression to search in line (use \\t to separate "
"prefix from message, special chars like '|' must be escaped: '\\|')\n"
" regex: regular expression to search in line\n"
" - use '\\t' to separate prefix from message, special chars "
"like '|' must be escaped: '\\|'\n"
" - if regex starts with '!', then matching result is reversed "
"(use '\\!' to start with '!')\n"
"\n"
"The default key alt+'=' toggles filtering on/off.\n"
"\n"
@@ -909,6 +912,8 @@ msgid ""
" /filter add nicks * irc_366 *\n"
" filter nick \"toto\" on IRC channel #weechat:\n"
" /filter add toto irc.freenode.#weechat * toto\\t\n"
" keep only nick \"titi\" on IRC channel #test:\n"
" /filter add titi irc.freenode.#test * !titi\\t\n"
" filter lines containing word \"spam\":\n"
" /filter add filterspam * * spam\n"
" filter lines containing \"weechat sucks\" on IRC channel #weechat:\n"
@@ -3687,6 +3692,20 @@ msgid ""
"private buffer is not found"
msgstr ""
msgid ""
"chars used to stop in nick when computing color with letters of nick (at "
"least one char outside this list must be in string before stopping) "
"(example: nick \"|nick|away\" with \"|\" in chars will return color of nick "
"\"|nick\")"
msgstr ""
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
msgid "close buffer when /part is issued on a channel"
msgstr ""
msgid ""
"number of IRC raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
@@ -3706,13 +3725,6 @@ msgstr ""
msgid "enable smart filter for \"part\" and \"quit\" messages"
msgstr ""
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
msgid "close buffer when /part is issued on a channel"
msgstr ""
msgid "strip colors in topic (used only when displaying buffer title)"
msgstr ""
@@ -4459,6 +4471,10 @@ msgstr ""
msgid "gnutls: sending one certificate"
msgstr ""
#, c-format
msgid "%sgnutls: invalid certificate \"%s\", error: %s"
msgstr ""
#, c-format
msgid " - client certificate info (%s):"
msgstr ""
+8 -4
View File
@@ -1239,7 +1239,7 @@ command_filter (void *data, struct t_gui_buffer *buffer,
{
if (argc > 2)
{
/* enable a filter */
/* disable a filter */
ptr_filter = gui_filter_search_by_name (argv[2]);
if (ptr_filter)
{
@@ -4605,9 +4605,11 @@ command_init ()
"(\"*\" for all buffers)\n"
" tags: comma separated list of tags, for "
"example: \"irc_join,irc_part,irc_quit\"\n"
" regex: regular expression to search in "
"line (use \\t to separate prefix from message, special "
"chars like '|' must be escaped: '\\|')\n\n"
" regex: regular expression to search in line\n"
" - use '\\t' to separate prefix from message, special "
"chars like '|' must be escaped: '\\|'\n"
" - if regex starts with '!', then matching "
"result is reversed (use '\\!' to start with '!')\n\n"
"The default key alt+'=' toggles filtering on/off.\n\n"
"Tags most commonly used:\n"
" no_filter, no_highlight, log0..log9 (log level),\n"
@@ -4624,6 +4626,8 @@ command_init ()
" /filter add nicks * irc_366 *\n"
" filter nick \"toto\" on IRC channel #weechat:\n"
" /filter add toto irc.freenode.#weechat * toto\\t\n"
" keep only nick \"titi\" on IRC channel #test:\n"
" /filter add titi irc.freenode.#test * !titi\\t\n"
" filter lines containing word \"spam\":\n"
" /filter add filterspam * * spam\n"
" filter lines containing \"weechat sucks\" on IRC "
+2 -2
View File
@@ -36,12 +36,12 @@ typedef void (t_hashtable_map)(void *data,
* to a linked list, and it is read with hashed key (as unsigned int).
* Keys with same hashed key are grouped in a linked list pointed by htable.
* htable is not sorted, linked list is sorted.
*
*
* Example of a hashtable with size 8 and 6 items added inside, items are:
* "weechat", "fast", "light", "extensible", "chat", "client"
* Keys "fast" and "light" have same hashed value, so they are together in
* linked list.
*
*
* Result is:
* +-----+
* | 0 |
+23 -8
View File
@@ -76,6 +76,7 @@ gui_filter_check_line (struct t_gui_buffer *buffer, struct t_gui_line *line)
{
struct t_gui_filter *ptr_filter;
const char *buffer_plugin_name;
int rc;
/* line is always displayed if filters are disabled */
if (!gui_filters_enabled)
@@ -103,12 +104,18 @@ gui_filter_check_line (struct t_gui_buffer *buffer, struct t_gui_line *line)
ptr_filter->tags_array)))
{
/* check line with regex */
rc = 1;
if (!ptr_filter->regex_prefix && !ptr_filter->regex_message)
return 0;
rc = 0;
if (gui_line_match_regex (line,
ptr_filter->regex_prefix,
ptr_filter->regex_message))
{
rc = 0;
}
if (ptr_filter->regex && (ptr_filter->regex[0] == '!'))
rc ^= 1;
if (rc == 0)
return 0;
}
}
@@ -291,28 +298,36 @@ gui_filter_new (int enabled, const char *name, const char *buffer_name,
struct t_gui_filter *new_filter;
regex_t *regex1, *regex2;
char *pos_tab, *pos_point, *regex_prefix;
const char *pos_regex_message;
const char *ptr_start_regex, *pos_regex_message;
if (!name || !buffer_name || !tags || !regex)
return NULL;
if (gui_filter_search_by_name (name))
return NULL;
ptr_start_regex = regex;
if ((ptr_start_regex[0] == '!')
|| ((ptr_start_regex[0] == '\\') && (ptr_start_regex[1] == '!')))
{
ptr_start_regex++;
}
regex1 = NULL;
regex2 = NULL;
if (strcmp (regex, "*") != 0)
if (strcmp (ptr_start_regex, "*") != 0)
{
pos_tab = strstr (regex, "\\t");
pos_tab = strstr (ptr_start_regex, "\\t");
if (pos_tab)
{
regex_prefix = string_strndup (regex, pos_tab - regex);
regex_prefix = string_strndup (ptr_start_regex,
pos_tab - ptr_start_regex);
pos_regex_message = pos_tab + 2;
}
else
{
regex_prefix = NULL;
pos_regex_message = regex;
pos_regex_message = ptr_start_regex;
}
if (regex_prefix)
+59 -22
View File
@@ -75,6 +75,7 @@ struct t_config_option *irc_config_look_hide_nickserv_pwd;
struct t_config_option *irc_config_look_highlight_tags;
struct t_config_option *irc_config_look_item_display_server;
struct t_config_option *irc_config_look_msgbuffer_fallback;
struct t_config_option *irc_config_look_nick_color_stop_chars;
struct t_config_option *irc_config_look_notice_as_pv;
struct t_config_option *irc_config_look_part_closes_buffer;
struct t_config_option *irc_config_look_raw_messages;
@@ -153,24 +154,17 @@ irc_config_get_server_from_option_name (const char *name)
}
/*
* irc_config_change_look_color_nicks_number: called when the
* "weechat.look.color_nicks_number"
* option is changed
* irc_config_compute_nick_colors: compute nick colors for all servers and
* channels
*/
int
irc_config_change_look_color_nicks_number (void *data, const char *option,
const char *value)
void
irc_config_compute_nick_colors ()
{
struct t_irc_server *ptr_server;
struct t_irc_channel *ptr_channel;
struct t_irc_nick *ptr_nick;
/* make C compiler happy */
(void) data;
(void) option;
(void) value;
for (ptr_server = irc_servers; ptr_server;
ptr_server = ptr_server->next_server)
{
@@ -184,6 +178,24 @@ irc_config_change_look_color_nicks_number (void *data, const char *option,
}
}
}
}
/*
* irc_config_change_look_color_nicks_number: called when the
* "weechat.look.color_nicks_number"
* option is changed
*/
int
irc_config_change_look_color_nicks_number (void *data, const char *option,
const char *value)
{
/* make C compiler happy */
(void) data;
(void) option;
(void) value;
irc_config_compute_nick_colors ();
return WEECHAT_RC_OK;
}
@@ -337,6 +349,22 @@ irc_config_change_look_highlight_tags (void *data,
}
}
/*
* irc_config_change_look_nick_color_stop_chars: called when the "nick color
* stop chars" option is changed
*/
void
irc_config_change_look_nick_color_stop_chars (void *data,
struct t_config_option *option)
{
/* make C compiler happy */
(void) data;
(void) option;
irc_config_compute_nick_colors ();
}
/*
* irc_config_change_look_item_display_server: called when the
* "item_display_server" option is
@@ -1641,6 +1669,26 @@ irc_config_init ()
"private and that private buffer is not found"),
"current|server", 0, 0, "current", NULL, 0, NULL, NULL,
NULL, NULL, NULL, NULL);
irc_config_look_nick_color_stop_chars = weechat_config_new_option (
irc_config_file, ptr_section,
"nick_color_stop_chars", "string",
N_("chars used to stop in nick when computing color with letters of "
"nick (at least one char outside this list must be in string before "
"stopping) (example: nick \"|nick|away\" with \"|\" in chars will "
"return color of nick \"|nick\")"),
NULL, 0, 0, "_|[", NULL, 0, NULL, NULL,
&irc_config_change_look_nick_color_stop_chars, NULL, NULL, NULL);
irc_config_look_notice_as_pv = weechat_config_new_option (
irc_config_file, ptr_section,
"notice_as_pv", "integer",
N_("display notices as private messages (if auto, use private buffer "
"if found)"),
"auto|never|always", 0, 0, "auto", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_part_closes_buffer = weechat_config_new_option (
irc_config_file, ptr_section,
"part_closes_buffer", "boolean",
N_("close buffer when /part is issued on a channel"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_raw_messages = weechat_config_new_option (
irc_config_file, ptr_section,
"raw_messages", "integer",
@@ -1669,17 +1717,6 @@ irc_config_init ()
"smart_filter_quit", "boolean",
N_("enable smart filter for \"part\" and \"quit\" messages"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_notice_as_pv = weechat_config_new_option (
irc_config_file, ptr_section,
"notice_as_pv", "integer",
N_("display notices as private messages (if auto, use private buffer "
"if found)"),
"auto|never|always", 0, 0, "auto", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_part_closes_buffer = weechat_config_new_option (
irc_config_file, ptr_section,
"part_closes_buffer", "boolean",
N_("close buffer when /part is issued on a channel"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_topic_strip_colors = weechat_config_new_option (
irc_config_file, ptr_section,
"topic_strip_colors", "boolean",
+1
View File
@@ -94,6 +94,7 @@ extern struct t_config_option *irc_config_look_hide_nickserv_pwd;
extern struct t_config_option *irc_config_look_highlight_tags;
extern struct t_config_option *irc_config_look_item_display_server;
extern struct t_config_option *irc_config_look_msgbuffer_fallback;
extern struct t_config_option *irc_config_look_nick_color_stop_chars;
extern struct t_config_option *irc_config_look_notice_as_pv;
extern struct t_config_option *irc_config_look_part_closes_buffer;
extern struct t_config_option *irc_config_look_raw_messages;
+45 -4
View File
@@ -371,6 +371,25 @@ irc_ctcp_replace_variables (struct t_irc_server *server, const char *format)
return res;
}
/*
* irc_ctcp_dcc_filename_without_quotes: return filename for DCC, without
* double quotes
*/
char *
irc_ctcp_dcc_filename_without_quotes (const char *filename)
{
int length;
length = strlen (filename);
if (length > 0)
{
if ((filename[0] == '\"') && (filename[length - 1] == '\"'))
return weechat_strndup (filename + 1, length - 2);
}
return strdup (filename);
}
/*
* irc_ctcp_recv_dcc: parse CTCP DCC
*/
@@ -379,7 +398,8 @@ void
irc_ctcp_recv_dcc (struct t_irc_server *server, const char *nick,
const char *arguments, char *message)
{
char *dcc_args, *pos, *pos_file, *pos_addr, *pos_port, *pos_size, *pos_start_resume;
char *dcc_args, *pos, *pos_file, *pos_addr, *pos_port, *pos_size;
char *pos_start_resume, *filename;
struct t_infolist *infolist;
struct t_infolist_item *item;
char plugin_id[128], charset_modifier[256];
@@ -473,6 +493,9 @@ irc_ctcp_recv_dcc (struct t_irc_server *server, const char *nick,
}
pos[1] = '\0';
/* remove double quotes around filename */
filename = irc_ctcp_dcc_filename_without_quotes (pos_file);
/* add DCC file via xfer plugin */
infolist = weechat_infolist_new ();
if (infolist)
@@ -488,7 +511,8 @@ irc_ctcp_recv_dcc (struct t_irc_server *server, const char *nick,
weechat_infolist_new_var_string (item, "protocol", "dcc");
weechat_infolist_new_var_string (item, "remote_nick", nick);
weechat_infolist_new_var_string (item, "local_nick", server->nick);
weechat_infolist_new_var_string (item, "filename", pos_file);
weechat_infolist_new_var_string (item, "filename",
(filename) ? filename : pos_file);
weechat_infolist_new_var_string (item, "size", pos_size);
weechat_infolist_new_var_string (item, "proxy",
IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_PROXY));
@@ -505,6 +529,9 @@ irc_ctcp_recv_dcc (struct t_irc_server *server, const char *nick,
WEECHAT_HOOK_SIGNAL_STRING,
message);
if (filename)
free (filename);
free (dcc_args);
}
else if (strncmp (arguments, "RESUME ", 7) == 0)
@@ -571,6 +598,9 @@ irc_ctcp_recv_dcc (struct t_irc_server *server, const char *nick,
}
pos[1] = '\0';
/* remove double quotes around filename */
filename = irc_ctcp_dcc_filename_without_quotes (pos_file);
/* accept resume via xfer plugin */
infolist = weechat_infolist_new ();
if (infolist)
@@ -583,7 +613,8 @@ irc_ctcp_recv_dcc (struct t_irc_server *server, const char *nick,
"%lx", (long unsigned int)server);
weechat_infolist_new_var_string (item, "plugin_id", plugin_id);
weechat_infolist_new_var_string (item, "type", "file_recv");
weechat_infolist_new_var_string (item, "filename", pos_file);
weechat_infolist_new_var_string (item, "filename",
(filename) ? filename : pos_file);
weechat_infolist_new_var_integer (item, "port", atoi (pos_port));
weechat_infolist_new_var_string (item, "start_resume", pos_start_resume);
weechat_hook_signal_send ("xfer_accept_resume",
@@ -597,6 +628,9 @@ irc_ctcp_recv_dcc (struct t_irc_server *server, const char *nick,
WEECHAT_HOOK_SIGNAL_STRING,
message);
if (filename)
free (filename);
free (dcc_args);
}
else if (strncmp (arguments, "ACCEPT ", 7) == 0)
@@ -663,6 +697,9 @@ irc_ctcp_recv_dcc (struct t_irc_server *server, const char *nick,
}
pos[1] = '\0';
/* remove double quotes around filename */
filename = irc_ctcp_dcc_filename_without_quotes (pos_file);
/* resume file via xfer plugin */
infolist = weechat_infolist_new ();
if (infolist)
@@ -675,7 +712,8 @@ irc_ctcp_recv_dcc (struct t_irc_server *server, const char *nick,
"%lx", (long unsigned int)server);
weechat_infolist_new_var_string (item, "plugin_id", plugin_id);
weechat_infolist_new_var_string (item, "type", "file_recv");
weechat_infolist_new_var_string (item, "filename", pos_file);
weechat_infolist_new_var_string (item, "filename",
(filename) ? filename : pos_file);
weechat_infolist_new_var_integer (item, "port", atoi (pos_port));
weechat_infolist_new_var_string (item, "start_resume", pos_start_resume);
weechat_hook_signal_send ("xfer_start_resume",
@@ -689,6 +727,9 @@ irc_ctcp_recv_dcc (struct t_irc_server *server, const char *nick,
WEECHAT_HOOK_SIGNAL_STRING,
message);
if (filename)
free (filename);
free (dcc_args);
}
else if (strncmp (arguments, "CHAT ", 5) == 0)
+69 -18
View File
@@ -90,15 +90,55 @@ irc_nick_is_nick (const char *string)
}
/*
* irc_nick_find_color: find a color code for a nick
* (according to nick letters)
* irc_nick_strdup_for_color: duplicate a nick and stop at first char in list
* (using option irc.look.nick_color_stop_chars)
*/
const char *
irc_nick_find_color (const char *nickname)
char *
irc_nick_strdup_for_color (const char *nickname)
{
int char_size, other_char_seen;
char *result, *pos, utf_char[16];
result = malloc (strlen (nickname) + 1);
pos = result;
other_char_seen = 0;
while (nickname[0])
{
char_size = weechat_utf8_char_size (nickname);
memcpy (utf_char, nickname, char_size);
utf_char[char_size] = '\0';
if (strstr (weechat_config_string (irc_config_look_nick_color_stop_chars),
utf_char))
{
if (other_char_seen)
{
pos[0] = '\0';
return result;
}
}
else
{
other_char_seen = 1;
}
memcpy (pos, utf_char, char_size);
pos += char_size;
nickname += char_size;
}
pos[0] = '\0';
return result;
}
/*
* irc_nick_hash_color: hash a nickname to find color
*/
int
irc_nick_hash_color (const char *nickname)
{
int color;
char color_name[64];
const char *ptr_nick;
color = 0;
@@ -108,8 +148,25 @@ irc_nick_find_color (const char *nickname)
color += weechat_utf8_char_int (ptr_nick);
ptr_nick = weechat_utf8_next_char (ptr_nick);
}
color = (color %
weechat_config_integer (weechat_config_get ("weechat.look.color_nicks_number")));
return (color %
weechat_config_integer (weechat_config_get ("weechat.look.color_nicks_number")));
}
/*
* irc_nick_find_color: find a color code for a nick
* (according to nick letters)
*/
const char *
irc_nick_find_color (const char *nickname)
{
int color;
char *nickname2, color_name[64];
nickname2 = irc_nick_strdup_for_color (nickname);
color = irc_nick_hash_color ((nickname2) ? nickname2 : nickname);
if (nickname2)
free (nickname2);
snprintf (color_name, sizeof (color_name),
"chat_nick_color%02d", color + 1);
@@ -126,18 +183,12 @@ const char *
irc_nick_find_color_name (const char *nickname)
{
int color;
char color_name[128];
const char *ptr_nick;
char *nickname2, color_name[128];
color = 0;
ptr_nick = nickname;
while (ptr_nick && ptr_nick[0])
{
color += weechat_utf8_char_int (ptr_nick);
ptr_nick = weechat_utf8_next_char (ptr_nick);
}
color = (color %
weechat_config_integer (weechat_config_get ("weechat.look.color_nicks_number")));
nickname2 = irc_nick_strdup_for_color (nickname);
color = irc_nick_hash_color ((nickname2) ? nickname2 : nickname);
if (nickname2)
free (nickname2);
snprintf (color_name, sizeof (color_name),
"weechat.color.chat_nick_color%02d", color + 1);
+1 -1
View File
@@ -610,7 +610,7 @@ IRC_PROTOCOL_CALLBACK(join)
pos_channel,
IRC_COLOR_MESSAGE_JOIN);
/* display message in private if private has flag "has_quit_server" */
/* display message in private if private has flag "has_quit_server" */
if (!local_join)
irc_channel_display_nick_back_in_pv (server, ptr_nick, nick);
}
+47 -27
View File
@@ -2536,7 +2536,7 @@ irc_server_gnutls_callback (void *data, gnutls_session_t tls_session,
time_t cert_time;
char *cert_path0, *cert_path1, *cert_path2, *cert_str, *hostname;
const char *weechat_dir;
int rc, i, j, hostname_match;
int rc, ret, i, j, hostname_match;
#if LIBGNUTLS_VERSION_NUMBER >= 0x010706
gnutls_datum_t cinfo;
int rinfo;
@@ -2695,36 +2695,56 @@ irc_server_gnutls_callback (void *data, gnutls_session_t tls_session,
/* key */
gnutls_x509_privkey_init (&server->tls_cert_key);
gnutls_x509_privkey_import (server->tls_cert_key, &filedatum,
GNUTLS_X509_FMT_PEM);
tls_struct.type = GNUTLS_CRT_X509;
tls_struct.ncerts = 1;
tls_struct.deinit_all = 0;
tls_struct.cert.x509 = &server->tls_cert;
tls_struct.key.x509 = server->tls_cert_key;
#if LIBGNUTLS_VERSION_NUMBER >= 0x010706
/* client certificate info */
#if LIBGNUTLS_VERSION_NUMBER < 0x020400
rinfo = gnutls_x509_crt_print (server->tls_cert,
GNUTLS_X509_CRT_ONELINE,
&cinfo);
#else
rinfo = gnutls_x509_crt_print (server->tls_cert,
GNUTLS_CRT_PRINT_ONELINE,
&cinfo);
#endif
if (rinfo == 0)
ret = gnutls_x509_privkey_import (server->tls_cert_key,
&filedatum,
GNUTLS_X509_FMT_PEM);
if (ret < 0)
{
ret = gnutls_x509_privkey_import_pkcs8 (server->tls_cert_key,
&filedatum,
GNUTLS_X509_FMT_PEM,
NULL,
GNUTLS_PKCS_PLAIN);
}
if (ret < 0)
{
weechat_printf (server->buffer,
_(" - client certificate info (%s):"),
cert_path2);
weechat_printf (server->buffer, " - %s", cinfo.data);
gnutls_free (cinfo.data);
_("%sgnutls: invalid certificate \"%s\", "
"error: %s"),
weechat_prefix ("error"), cert_path2,
gnutls_strerror (ret));
rc = -1;
}
else
{
tls_struct.type = GNUTLS_CRT_X509;
tls_struct.ncerts = 1;
tls_struct.deinit_all = 0;
tls_struct.cert.x509 = &server->tls_cert;
tls_struct.key.x509 = server->tls_cert_key;
#if LIBGNUTLS_VERSION_NUMBER >= 0x010706
/* client certificate info */
#if LIBGNUTLS_VERSION_NUMBER < 0x020400
rinfo = gnutls_x509_crt_print (server->tls_cert,
GNUTLS_X509_CRT_ONELINE,
&cinfo);
#else
rinfo = gnutls_x509_crt_print (server->tls_cert,
GNUTLS_CRT_PRINT_ONELINE,
&cinfo);
#endif
memcpy (answer, &tls_struct, sizeof (gnutls_retr_st));
free (cert_str);
if (rinfo == 0)
{
weechat_printf (server->buffer,
_(" - client certificate info (%s):"),
cert_path2);
weechat_printf (server->buffer, " - %s", cinfo.data);
gnutls_free (cinfo.data);
}
#endif
memcpy (answer, &tls_struct, sizeof (gnutls_retr_st));
free (cert_str);
}
}
else
{
+1 -1
View File
@@ -45,7 +45,7 @@ struct timeval;
*/
/* API version (used to check that plugin has same API and can be loaded) */
#define WEECHAT_PLUGIN_API_VERSION "20100502-01"
#define WEECHAT_PLUGIN_API_VERSION "20100717-01"
/* macros for defining plugin infos */
#define WEECHAT_PLUGIN_NAME(__name) \