1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 05:16:38 +02:00

Added "buffer_move" event handler to plugins API (task #6708)

This commit is contained in:
Sebastien Helleu
2007-07-18 12:02:40 +00:00
parent b1a99c5e6f
commit 2c3fad454c
38 changed files with 838 additions and 484 deletions
+2 -1
View File
@@ -1,10 +1,11 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2007-07-15
ChangeLog - 2007-07-18
Version 0.2.6 (under dev!):
* added "buffer_move" event handler to plugins API (task #6708)
* added key function "jump_previous_buffer" to jump to buffer previously
displayed (new key: alt-J + alt-P) (task #7085)
* added "%*" to completion template, to repeat last completion
+41 -23
View File
@@ -2767,27 +2767,7 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &my_keyb);
</listitem>
<listitem>
<para>
<option>event</option> : Ereignis, siehe folgende Tabelle:
<informaltable colsep="0" frame="none">
<tgroup cols="2">
<thead>
<row>
<entry>Ereignis</entry>
<entry>Beschreibung</entry>
</row>
</thead>
<tbody>
<row>
<entry><literal>buffer_open</literal></entry>
<entry>ein Puffer wurde geöffnet</entry>
</row>
<row>
<entry><literal>buffer_close</literal></entry>
<entry>ein Puffer wurde geschlossen</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<option>event</option> : Ereignis (siehe folgende Tabelle)
</para>
</listitem>
<listitem>
@@ -2803,8 +2783,8 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;my_keyb);
</command>
</para>
<para>
Argument argc wird auf 1 gesetzt, argv[0] ist die Nummer des Puffers, der
geöffnet oder geschlossen wird.
<!-- TRANSLATION NEEDED -->
Arguments depend on event (see table below).
</para>
</listitem>
<listitem>
@@ -2821,6 +2801,44 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;my_keyb);
</listitem>
</itemizedlist>
</para>
<!-- TRANSLATION NEEDED -->
<para>
List of events:
<informaltable colsep="0" frame="none">
<tgroup cols="3">
<thead>
<row>
<entry>Ereignis</entry>
<entry>Beschreibung</entry>
<entry>Arguments</entry>
</row>
</thead>
<tbody>
<row>
<entry><literal>buffer_open</literal></entry>
<entry>ein Puffer wurde geöffnet</entry>
<entry>
argc = 1, argv = { buffer number }
</entry>
</row>
<row>
<entry><literal>buffer_close</literal></entry>
<entry>ein Puffer wurde geschlossen</entry>
<entry>
argc = 1, argv = { buffer number }
</entry>
</row>
<row>
<entry><literal>buffer_move</literal></entry>
<entry>a buffer was moved</entry>
<entry>
argc = 2, argv = { new buffer number, old number }
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
<para>
Rückgabewert: Pointer auf den neuen Ereignishandler.
</para>
+39 -23
View File
@@ -2785,27 +2785,7 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;my_keyb);
</listitem>
<listitem>
<para>
<option>event</option> : event, see table below:
<informaltable colsep="0" frame="none">
<tgroup cols="2">
<thead>
<row>
<entry>Event</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry><literal>buffer_open</literal></entry>
<entry>a buffer was open</entry>
</row>
<row>
<entry><literal>buffer_close</literal></entry>
<entry>a buffer was closed</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<option>event</option> : event (see table below)
</para>
</listitem>
<listitem>
@@ -2821,8 +2801,7 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;my_keyb);
</command>
</para>
<para>
Argument argc is set to 1, argv[0] is number of buffer
open/closed.
Arguments depend on event (see table below).
</para>
</listitem>
<listitem>
@@ -2839,6 +2818,43 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;my_keyb);
</listitem>
</itemizedlist>
</para>
<para>
List of events:
<informaltable colsep="0" frame="none">
<tgroup cols="3">
<thead>
<row>
<entry>Event</entry>
<entry>Description</entry>
<entry>Arguments</entry>
</row>
</thead>
<tbody>
<row>
<entry><literal>buffer_open</literal></entry>
<entry>a buffer was open</entry>
<entry>
argc = 1, argv = { buffer number }
</entry>
</row>
<row>
<entry><literal>buffer_close</literal></entry>
<entry>a buffer was closed</entry>
<entry>
argc = 1, argv = { buffer number }
</entry>
</row>
<row>
<entry><literal>buffer_move</literal></entry>
<entry>a buffer was moved</entry>
<entry>
argc = 2, argv = { new buffer number, old number }
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
<para>
Return value: pointer to new event handler.
</para>
+41 -24
View File
@@ -2861,28 +2861,8 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;mon_keyb);
</listitem>
<listitem>
<para>
<option>évènement</option> : évènement, voir le tableau
ci-dessous :
<informaltable colsep="0" frame="none">
<tgroup cols="2">
<thead>
<row>
<entry>Evènement</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry><literal>buffer_open</literal></entry>
<entry>un tampon a été ouvert</entry>
</row>
<row>
<entry><literal>buffer_close</literal></entry>
<entry>un tampon a été fermé</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<option>évènement</option> : évènement (voir le tableau
ci-dessous)
</para>
</listitem>
<listitem>
@@ -2898,8 +2878,8 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;mon_keyb);
</command>
</para>
<para>
Le paramètre argc vaut 1 et argv[0] contient le numéro
du tampon ouvert ou fermé.
Les paramètres passés à la fonction dépendent de l'évènement
(voir le tableau ci-dessous).
</para>
</listitem>
<listitem>
@@ -2916,6 +2896,43 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;mon_keyb);
</listitem>
</itemizedlist>
</para>
<para>
Liste des évènements :
<informaltable colsep="0" frame="none">
<tgroup cols="3">
<thead>
<row>
<entry>Evènement</entry>
<entry>Description</entry>
<entry>Paramètres</entry>
</row>
</thead>
<tbody>
<row>
<entry><literal>buffer_open</literal></entry>
<entry>un tampon a été ouvert</entry>
<entry>
argc = 1, argv = { numéro de tampon }
</entry>
</row>
<row>
<entry><literal>buffer_close</literal></entry>
<entry>un tampon a été fermé</entry>
<entry>
argc = 1, argv = { numéro de tampon }
</entry>
</row>
<row>
<entry><literal>buffer_move</literal></entry>
<entry>un tampon a été déplacé</entry>
<entry>
argc = 2, argv = { nouveau numéro de tampon, ancien numéro }
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
<para>
Valeur renvoyée : le pointeur vers le nouveau gestionnaire
d'évènement.
+22 -22
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.6-cvs\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2007-07-15 19:59+0200\n"
"POT-Creation-Date: 2007-07-18 13:55+0200\n"
"PO-Revision-Date: 2007-06-07 18:02+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2110,7 +2110,7 @@ msgstr "%s nedostatek paměti pro vytvoření ignorování\n"
msgid "Removing ignore:"
msgstr "Odebírám ignorování:"
#: src/plugins/plugins.c:242
#: src/plugins/plugins.c:243
#, c-format
msgid ""
"%s plugin %s: unable to add handler for IRC command \"%s\" (not enough "
@@ -2119,19 +2119,19 @@ msgstr ""
"%s plugin %s: nemůžu přidat obsluhovač pro IRC příkaz \"%s\" (nedostatek "
"paměti)\n"
#: src/plugins/plugins.c:279
#: src/plugins/plugins.c:280
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (already exists)\n"
msgstr ""
"%s plugin %s: nemůžu přidat obsluhovač pro \"%s\" příkaz (již existuje)\n"
#: src/plugins/plugins.c:289
#: src/plugins/plugins.c:290
#, c-format
msgid "%s plugin %s: unable to add handler for \"%s\" command (forbidden)\n"
msgstr "%s plugin %s: nemůžu přidat obsluhovač pro \"%s\" příkaz (zakázáno)\n"
#: src/plugins/plugins.c:331
#: src/plugins/plugins.c:332
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n"
@@ -2139,46 +2139,46 @@ msgstr ""
"%s plugin %s: nemůžu přidat obsluhovač pro \"%s\" příkaz (nedostatek "
"paměti)\n"
#: src/plugins/plugins.c:388
#: src/plugins/plugins.c:389
#, c-format
msgid "%s plugin %s: unable to add timer handler (not enough memory)\n"
msgstr "%s plugin %s: nemůžu přidat časový obsluhovač (nedostatek paměti)\n"
#: src/plugins/plugins.c:444
#: src/plugins/plugins.c:445
#, c-format
msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n"
msgstr ""
"%s plugin %s: nemůžu přidat obsluhovač klávesnice (nedostatek paměti)\n"
#: src/plugins/plugins.c:501
#: src/plugins/plugins.c:502
#, c-format
msgid "%s plugin %s: unable to add event handler (not enough memory)\n"
msgstr "%s plugin %s: nemůžu přidat obsluhovač události (nedostatek paměti)\n"
#: src/plugins/plugins.c:845
#: src/plugins/plugins.c:844
#, c-format
msgid "%s plugin %s: unable to add modifier (not enough memory)\n"
msgstr "%s plugin %s: nemůžu přidat modifikátr (nedostatek paměti)\n"
#: src/plugins/plugins.c:1077
#: src/plugins/plugins.c:1076
#, c-format
msgid "%s unable to load plugin \"%s\": %s\n"
msgstr "%s nemůžu načist plugin \"%s\": %s\n"
#: src/plugins/plugins.c:1088
#: src/plugins/plugins.c:1087
#, c-format
msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n"
msgstr ""
"%s symbol \"plugin_name\" nebyl v pluginu \"%s\" nalezen, načtení selhalo\n"
#: src/plugins/plugins.c:1099
#: src/plugins/plugins.c:1098
#, c-format
msgid ""
"%s unable to load plugin \"%s\": a plugin with same name already exists\n"
msgstr ""
"%s nemohu načíst plugin \"%s\": plugin se stejným jménem již existuje\n"
#: src/plugins/plugins.c:1111
#: src/plugins/plugins.c:1110
#, c-format
msgid ""
"%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n"
@@ -2186,7 +2186,7 @@ msgstr ""
"%s symbol \"plugin_description\" nebyl v pluginu \"%s\" nalezen, načtení "
"selhalo\n"
#: src/plugins/plugins.c:1122
#: src/plugins/plugins.c:1121
#, c-format
msgid ""
"%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n"
@@ -2194,7 +2194,7 @@ msgstr ""
"%s symbol \"plugin_version\" nebyl v pluginu \"%s\" nalezen, načtení "
"selhalo\n"
#: src/plugins/plugins.c:1135
#: src/plugins/plugins.c:1134
#, c-format
msgid ""
"%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to "
@@ -2203,32 +2203,32 @@ msgstr ""
"%s funkce \"weechat_plugin_init\" nebyla v pluginu \"%s\" nalezena, načtení "
"selhalo\n"
#: src/plugins/plugins.c:1219
#: src/plugins/plugins.c:1218
#, c-format
msgid "Initializing plugin \"%s\" %s\n"
msgstr "Inicializuji plugin \"%s\" %s\n"
#: src/plugins/plugins.c:1227
#: src/plugins/plugins.c:1226
#, c-format
msgid "%s unable to initialize plugin \"%s\"\n"
msgstr "%s nemohu načíst plugin \"%s\"\n"
#: src/plugins/plugins.c:1238
#: src/plugins/plugins.c:1237
#, c-format
msgid "%s unable to load plugin \"%s\" (not enough memory)\n"
msgstr "%s nemohu načíst plugin \"%s\" (nedostatek paměti)\n"
#: src/plugins/plugins.c:1246
#: src/plugins/plugins.c:1245
#, c-format
msgid "Plugin \"%s\" (%s) loaded.\n"
msgstr "Plugin \"%s\" (%s) načten.\n"
#: src/plugins/plugins.c:1420 src/plugins/plugins.c:1460
#: src/plugins/plugins.c:1419 src/plugins/plugins.c:1459
#, c-format
msgid "Plugin \"%s\" unloaded.\n"
msgstr "Plugin \"%s\" odebrán.\n"
#: src/plugins/plugins.c:1426 src/plugins/plugins.c:1469
#: src/plugins/plugins.c:1425 src/plugins/plugins.c:1468
#: src/common/command.c:3677
#, c-format
msgid "%s plugin \"%s\" not found\n"
@@ -2373,7 +2373,7 @@ msgstr "-VÍCE-"
msgid "server"
msgstr "server"
#: src/gui/gui-buffer.c:707
#: src/gui/gui-buffer.c:709
msgid "Not enough memory for new line\n"
msgstr "Nedostatek paměti pro nový řádek\n"
+22 -22
View File
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.6-cvs\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2007-07-15 19:59+0200\n"
"POT-Creation-Date: 2007-07-18 13:55+0200\n"
"PO-Revision-Date: 2007-06-07 18:02+0200\n"
"Last-Translator: Thomas Schuetz <i18n@internet-villa.de>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2115,7 +2115,7 @@ msgstr "%s nicht genug Speicher für neue /ignore-Regel\n"
msgid "Removing ignore:"
msgstr "Entfernen der /ignore-Regel:"
#: src/plugins/plugins.c:242
#: src/plugins/plugins.c:243
#, c-format
msgid ""
"%s plugin %s: unable to add handler for IRC command \"%s\" (not enough "
@@ -2124,7 +2124,7 @@ msgstr ""
"%s Plugin %s: kann keinen Handler für den IRC-Befehl \"%s\" hinzufügen "
"(Speichermangel)\n"
#: src/plugins/plugins.c:279
#: src/plugins/plugins.c:280
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (already exists)\n"
@@ -2132,14 +2132,14 @@ msgstr ""
"%s Plugin %s: kann keinen Handler für den IRC-Befehl \"%s\" hinzufügen "
"(existiert bereits)\n"
#: src/plugins/plugins.c:289
#: src/plugins/plugins.c:290
#, c-format
msgid "%s plugin %s: unable to add handler for \"%s\" command (forbidden)\n"
msgstr ""
"%s Plugin %s: kann keinen Handler für den IRC-Befehl \"%s\" hinzufügen "
"(nicht erlaubt)\n"
#: src/plugins/plugins.c:331
#: src/plugins/plugins.c:332
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n"
@@ -2147,41 +2147,41 @@ msgstr ""
"%s Plugin %s: kann keinen Handler für den IRC-Befehl \"%s\" hinzufügen "
"(Speichermangel)\n"
#: src/plugins/plugins.c:388
#: src/plugins/plugins.c:389
#, c-format
msgid "%s plugin %s: unable to add timer handler (not enough memory)\n"
msgstr "%s plugin %s: kann keinen Timer-Handler hinzufügen (Speichermangel)\n"
#: src/plugins/plugins.c:444
#: src/plugins/plugins.c:445
#, c-format
msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n"
msgstr ""
"%s plugin %s: kann keinen Tastatur-Handler hinzufügen (Speichermangel)\n"
#: src/plugins/plugins.c:501
#: src/plugins/plugins.c:502
#, c-format
msgid "%s plugin %s: unable to add event handler (not enough memory)\n"
msgstr ""
"%s plugin %s: kann keinen Ereignis-Handler hinzufügen (Speichermangel)\n"
#: src/plugins/plugins.c:845
#: src/plugins/plugins.c:844
#, c-format
msgid "%s plugin %s: unable to add modifier (not enough memory)\n"
msgstr "%s plugin %s: kann keinen Modifier hinzufügen (Speichermangel)\n"
#: src/plugins/plugins.c:1077
#: src/plugins/plugins.c:1076
#, c-format
msgid "%s unable to load plugin \"%s\": %s\n"
msgstr "%s kann Plugin \"%s\" nicht laden: %s\n"
#: src/plugins/plugins.c:1088
#: src/plugins/plugins.c:1087
#, c-format
msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n"
msgstr ""
"%s Symbol \"plugin_name\" in Plugin \"%s\" nicht gefunden, Laden "
"gescheitert\n"
#: src/plugins/plugins.c:1099
#: src/plugins/plugins.c:1098
#, c-format
msgid ""
"%s unable to load plugin \"%s\": a plugin with same name already exists\n"
@@ -2189,7 +2189,7 @@ msgstr ""
"%s kann Plugin \"%s\" nicht laden: ein gleichnamiges Plugin existiert "
"bereits\n"
#: src/plugins/plugins.c:1111
#: src/plugins/plugins.c:1110
#, c-format
msgid ""
"%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n"
@@ -2197,7 +2197,7 @@ msgstr ""
"%s Symbol \"plugin_description\" nicht in Plugin \"%s\" gefunden, Laden "
"gescheitert\n"
#: src/plugins/plugins.c:1122
#: src/plugins/plugins.c:1121
#, c-format
msgid ""
"%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n"
@@ -2205,7 +2205,7 @@ msgstr ""
"%s Symbol \"plugin_version\" nicht in Plugin \"%s\" gefunden, Laden "
"gescheitert\n"
#: src/plugins/plugins.c:1135
#: src/plugins/plugins.c:1134
#, c-format
msgid ""
"%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to "
@@ -2214,32 +2214,32 @@ msgstr ""
"%s Funktion \"weechat_plugin_init\" nicht in Plugin \"%s\" gefunden Laden "
"gescheitert\n"
#: src/plugins/plugins.c:1219
#: src/plugins/plugins.c:1218
#, c-format
msgid "Initializing plugin \"%s\" %s\n"
msgstr "Initialisiere Plugin \"%s\" %s\n"
#: src/plugins/plugins.c:1227
#: src/plugins/plugins.c:1226
#, c-format
msgid "%s unable to initialize plugin \"%s\"\n"
msgstr "%s kann das Plugin \"%s\" nicht initialisieren\n"
#: src/plugins/plugins.c:1238
#: src/plugins/plugins.c:1237
#, c-format
msgid "%s unable to load plugin \"%s\" (not enough memory)\n"
msgstr "%s kann das Plugin \"%s\" nicht laden (Speichermangel)\n"
#: src/plugins/plugins.c:1246
#: src/plugins/plugins.c:1245
#, c-format
msgid "Plugin \"%s\" (%s) loaded.\n"
msgstr "Plugin \"%s\" (%s) geladen.\n"
#: src/plugins/plugins.c:1420 src/plugins/plugins.c:1460
#: src/plugins/plugins.c:1419 src/plugins/plugins.c:1459
#, c-format
msgid "Plugin \"%s\" unloaded.\n"
msgstr "Plugin \"%s\" entladen.\n"
#: src/plugins/plugins.c:1426 src/plugins/plugins.c:1469
#: src/plugins/plugins.c:1425 src/plugins/plugins.c:1468
#: src/common/command.c:3677
#, c-format
msgid "%s plugin \"%s\" not found\n"
@@ -2384,7 +2384,7 @@ msgstr "-MEHR-"
msgid "server"
msgstr "Server"
#: src/gui/gui-buffer.c:707
#: src/gui/gui-buffer.c:709
msgid "Not enough memory for new line\n"
msgstr "Nicht genügend Speicher für neue Zeile\n"
+22 -22
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.6-cvs\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2007-07-15 19:59+0200\n"
"POT-Creation-Date: 2007-07-18 13:55+0200\n"
"PO-Revision-Date: 2007-06-07 18:02+0200\n"
"Last-Translator: Roberto González Cardenete <robert.glez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2142,7 +2142,7 @@ msgstr "%s no hay suficiente memoria para crear el ignore\n"
msgid "Removing ignore:"
msgstr "Eliminando el ignore:"
#: src/plugins/plugins.c:242
#: src/plugins/plugins.c:243
#, c-format
msgid ""
"%s plugin %s: unable to add handler for IRC command \"%s\" (not enough "
@@ -2151,7 +2151,7 @@ msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador para el comando IRC \"%s"
"\" (no hay suficiente memoria)\n"
#: src/plugins/plugins.c:279
#: src/plugins/plugins.c:280
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (already exists)\n"
@@ -2159,14 +2159,14 @@ msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador para el comando \"%s"
"\" (ya existe)\n"
#: src/plugins/plugins.c:289
#: src/plugins/plugins.c:290
#, c-format
msgid "%s plugin %s: unable to add handler for \"%s\" command (forbidden)\n"
msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador para el comando \"%s"
"\" (prohibido)\n"
#: src/plugins/plugins.c:331
#: src/plugins/plugins.c:332
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n"
@@ -2174,47 +2174,47 @@ msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador para el comando \"%s"
"\" (no hay suficiente memoria)\n"
#: src/plugins/plugins.c:388
#: src/plugins/plugins.c:389
#, c-format
msgid "%s plugin %s: unable to add timer handler (not enough memory)\n"
msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador temporizador (no hay "
"suficiente memoria)\n"
#: src/plugins/plugins.c:444
#: src/plugins/plugins.c:445
#, c-format
msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n"
msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador de teclado (no hay "
"suficiente memoria)\n"
#: src/plugins/plugins.c:501
#: src/plugins/plugins.c:502
#, fuzzy, c-format
msgid "%s plugin %s: unable to add event handler (not enough memory)\n"
msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador temporizador (no hay "
"suficiente memoria)\n"
#: src/plugins/plugins.c:845
#: src/plugins/plugins.c:844
#, fuzzy, c-format
msgid "%s plugin %s: unable to add modifier (not enough memory)\n"
msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador temporizador (no hay "
"suficiente memoria)\n"
#: src/plugins/plugins.c:1077
#: src/plugins/plugins.c:1076
#, c-format
msgid "%s unable to load plugin \"%s\": %s\n"
msgstr "%s no ha sido posible cargar el plugin \"%s\": %s\n"
#: src/plugins/plugins.c:1088
#: src/plugins/plugins.c:1087
#, c-format
msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n"
msgstr ""
"%s símbolo \"plugin_name\" no encontrado en el plugin \"%s\", falló al "
"cargar\n"
#: src/plugins/plugins.c:1099
#: src/plugins/plugins.c:1098
#, c-format
msgid ""
"%s unable to load plugin \"%s\": a plugin with same name already exists\n"
@@ -2222,7 +2222,7 @@ msgstr ""
"%s no ha sido posible cargar el plugin \"%s\": un plugin con el mismo nombre "
"ya existe\n"
#: src/plugins/plugins.c:1111
#: src/plugins/plugins.c:1110
#, c-format
msgid ""
"%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n"
@@ -2230,7 +2230,7 @@ msgstr ""
"%s símbolo \"plugin_description\" no encontrado en el plugin \"%s\", falló "
"al cargar\n"
#: src/plugins/plugins.c:1122
#: src/plugins/plugins.c:1121
#, c-format
msgid ""
"%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n"
@@ -2238,7 +2238,7 @@ msgstr ""
"%s símbolo \"plugin_version\" no encontrado en el plugin \"%s\", falló al "
"cargar\n"
#: src/plugins/plugins.c:1135
#: src/plugins/plugins.c:1134
#, c-format
msgid ""
"%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to "
@@ -2247,33 +2247,33 @@ msgstr ""
"%s función \"weechat_plugin_init\" no encontrada en el plugin \"%s\", falló "
"al cargar\n"
#: src/plugins/plugins.c:1219
#: src/plugins/plugins.c:1218
#, c-format
msgid "Initializing plugin \"%s\" %s\n"
msgstr "Inicializando plugin \"%s\" %s\n"
#: src/plugins/plugins.c:1227
#: src/plugins/plugins.c:1226
#, c-format
msgid "%s unable to initialize plugin \"%s\"\n"
msgstr "%s no ha sido posible inicializar el plugin \"%s\"\n"
#: src/plugins/plugins.c:1238
#: src/plugins/plugins.c:1237
#, c-format
msgid "%s unable to load plugin \"%s\" (not enough memory)\n"
msgstr ""
"%s no ha sido posible cargar el plugin \"%s\" (no hay suficiente memoria)\n"
#: src/plugins/plugins.c:1246
#: src/plugins/plugins.c:1245
#, c-format
msgid "Plugin \"%s\" (%s) loaded.\n"
msgstr "Plugin \"%s\" (%s) cargado.\n"
#: src/plugins/plugins.c:1420 src/plugins/plugins.c:1460
#: src/plugins/plugins.c:1419 src/plugins/plugins.c:1459
#, c-format
msgid "Plugin \"%s\" unloaded.\n"
msgstr "Plugin \"%s\" descargado.\n"
#: src/plugins/plugins.c:1426 src/plugins/plugins.c:1469
#: src/plugins/plugins.c:1425 src/plugins/plugins.c:1468
#: src/common/command.c:3677
#, c-format
msgid "%s plugin \"%s\" not found\n"
@@ -2420,7 +2420,7 @@ msgstr "-M
msgid "server"
msgstr "servidor"
#: src/gui/gui-buffer.c:707
#: src/gui/gui-buffer.c:709
msgid "Not enough memory for new line\n"
msgstr "No hay suficiente memoria para una nueva línea\n"
+22 -22
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.6-cvs\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2007-07-15 19:59+0200\n"
"POT-Creation-Date: 2007-07-18 13:55+0200\n"
"PO-Revision-Date: 2007-07-15 19:59+0200\n"
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2122,7 +2122,7 @@ msgstr "%s pas assez de mémoire pour créer un ignore\n"
msgid "Removing ignore:"
msgstr "Suppression du ignore:"
#: src/plugins/plugins.c:242
#: src/plugins/plugins.c:243
#, c-format
msgid ""
"%s plugin %s: unable to add handler for IRC command \"%s\" (not enough "
@@ -2131,7 +2131,7 @@ msgstr ""
"%s extension %s: impossible d'ajouter la fonction pour la commande IRC \"%s"
"\" (mémoire insuffisante)\n"
#: src/plugins/plugins.c:279
#: src/plugins/plugins.c:280
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (already exists)\n"
@@ -2139,14 +2139,14 @@ msgstr ""
"%s extension %s: impossible d'ajouter la fonction pour la commande \"%s"
"\" (existe déjà)\n"
#: src/plugins/plugins.c:289
#: src/plugins/plugins.c:290
#, c-format
msgid "%s plugin %s: unable to add handler for \"%s\" command (forbidden)\n"
msgstr ""
"%s extension %s: impossible d'ajouter la fonction pour la commande \"%s"
"\" (interdit)\n"
#: src/plugins/plugins.c:331
#: src/plugins/plugins.c:332
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n"
@@ -2154,46 +2154,46 @@ msgstr ""
"%s extension %s: impossible d'ajouter la fonction pour la commande \"%s"
"\" (mémoire insuffisante)\n"
#: src/plugins/plugins.c:388
#: src/plugins/plugins.c:389
#, c-format
msgid "%s plugin %s: unable to add timer handler (not enough memory)\n"
msgstr ""
"%s extension %s: impossible d'ajouter le gestionnaire de temps (mémoire "
"insuffisante)\n"
#: src/plugins/plugins.c:444
#: src/plugins/plugins.c:445
#, c-format
msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n"
msgstr ""
"%s extension %s: impossible d'ajouter le gestionnaire de clavier (mémoire "
"insuffisante)\n"
#: src/plugins/plugins.c:501
#: src/plugins/plugins.c:502
#, c-format
msgid "%s plugin %s: unable to add event handler (not enough memory)\n"
msgstr ""
"%s extension %s: impossible d'ajouter le gestionnaire d'évènement (mémoire "
"insuffisante)\n"
#: src/plugins/plugins.c:845
#: src/plugins/plugins.c:844
#, c-format
msgid "%s plugin %s: unable to add modifier (not enough memory)\n"
msgstr ""
"%s extension %s: impossible d'ajouter le modifieur (mémoire insuffisante)\n"
#: src/plugins/plugins.c:1077
#: src/plugins/plugins.c:1076
#, c-format
msgid "%s unable to load plugin \"%s\": %s\n"
msgstr "%s impossible de charger l'extension \"%s\": %s\n"
#: src/plugins/plugins.c:1088
#: src/plugins/plugins.c:1087
#, c-format
msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n"
msgstr ""
"%s le symbole \"plugin_name\" est introuvable dans l'extension \"%s\", échec "
"de chargement\n"
#: src/plugins/plugins.c:1099
#: src/plugins/plugins.c:1098
#, c-format
msgid ""
"%s unable to load plugin \"%s\": a plugin with same name already exists\n"
@@ -2201,7 +2201,7 @@ msgstr ""
"%s impossible de charger l'extension \"%s\": une extension avec le même nom "
"existe déjà\n"
#: src/plugins/plugins.c:1111
#: src/plugins/plugins.c:1110
#, c-format
msgid ""
"%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n"
@@ -2209,7 +2209,7 @@ msgstr ""
"%s le symbole \"plugin_description\" est introuvable dans l'extension \"%s"
"\", échec de chargement\n"
#: src/plugins/plugins.c:1122
#: src/plugins/plugins.c:1121
#, c-format
msgid ""
"%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n"
@@ -2217,7 +2217,7 @@ msgstr ""
"%s le symbole \"plugin_version\" est introuvable dans l'extension \"%s\", "
"échec de chargement\n"
#: src/plugins/plugins.c:1135
#: src/plugins/plugins.c:1134
#, c-format
msgid ""
"%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to "
@@ -2226,32 +2226,32 @@ msgstr ""
"%s la fonction \"weechat_plugin_init\" est introuvable dans l'extension \"%s"
"\", échec de chargement\n"
#: src/plugins/plugins.c:1219
#: src/plugins/plugins.c:1218
#, c-format
msgid "Initializing plugin \"%s\" %s\n"
msgstr "Initialisation de l'extension \"%s\" %s\n"
#: src/plugins/plugins.c:1227
#: src/plugins/plugins.c:1226
#, c-format
msgid "%s unable to initialize plugin \"%s\"\n"
msgstr "%s impossible d'initialiser l'extension \"%s\"\n"
#: src/plugins/plugins.c:1238
#: src/plugins/plugins.c:1237
#, c-format
msgid "%s unable to load plugin \"%s\" (not enough memory)\n"
msgstr "%s impossible de charger l'extension \"%s\" (mémoire insuffisante)\n"
#: src/plugins/plugins.c:1246
#: src/plugins/plugins.c:1245
#, c-format
msgid "Plugin \"%s\" (%s) loaded.\n"
msgstr "Extension \"%s\" (%s) chargée.\n"
#: src/plugins/plugins.c:1420 src/plugins/plugins.c:1460
#: src/plugins/plugins.c:1419 src/plugins/plugins.c:1459
#, c-format
msgid "Plugin \"%s\" unloaded.\n"
msgstr "Extension \"%s\" déchargée.\n"
#: src/plugins/plugins.c:1426 src/plugins/plugins.c:1469
#: src/plugins/plugins.c:1425 src/plugins/plugins.c:1468
#: src/common/command.c:3677
#, c-format
msgid "%s plugin \"%s\" not found\n"
@@ -2398,7 +2398,7 @@ msgstr "-PLUS-"
msgid "server"
msgstr "serveur"
#: src/gui/gui-buffer.c:707
#: src/gui/gui-buffer.c:709
msgid "Not enough memory for new line\n"
msgstr "Pas assez de mémoire pour une nouvelle ligne !\n"
+22 -22
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.6-cvs\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2007-07-15 19:59+0200\n"
"POT-Creation-Date: 2007-07-18 13:55+0200\n"
"PO-Revision-Date: 2007-06-07 18:02+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2116,7 +2116,7 @@ msgstr "%s nincs elég memória az ignore elkészítéséhez\n"
msgid "Removing ignore:"
msgstr "Ignore eltávolítása:"
#: src/plugins/plugins.c:242
#: src/plugins/plugins.c:243
#, c-format
msgid ""
"%s plugin %s: unable to add handler for IRC command \"%s\" (not enough "
@@ -2125,7 +2125,7 @@ msgstr ""
"%s modul %s: nem sikerült kezelőt lefoglalni a \"%s\" IRC parancshoz (nincs "
"elég memória)\n"
#: src/plugins/plugins.c:279
#: src/plugins/plugins.c:280
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (already exists)\n"
@@ -2133,14 +2133,14 @@ msgstr ""
"%s modul %s: nem sikerült kezelőt rendelni a(z) \"%s\" parancshoz (már "
"létezik)\n"
#: src/plugins/plugins.c:289
#: src/plugins/plugins.c:290
#, c-format
msgid "%s plugin %s: unable to add handler for \"%s\" command (forbidden)\n"
msgstr ""
"%s modul %s: nem sikerült kezelőt rendelni a(z) \"%s\" parancshoz "
"(megtagadva)\n"
#: src/plugins/plugins.c:331
#: src/plugins/plugins.c:332
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n"
@@ -2148,46 +2148,46 @@ msgstr ""
"%s modul %s: nem sikerült kezelőt rendelni a(z) \"%s\" parancshoz (nincs "
"elég memória)\n"
#: src/plugins/plugins.c:388
#: src/plugins/plugins.c:389
#, c-format
msgid "%s plugin %s: unable to add timer handler (not enough memory)\n"
msgstr "%s modul %s: nem sikerült időkezelőt hozzáadni (nincs elég memória)\n"
#: src/plugins/plugins.c:444
#: src/plugins/plugins.c:445
#, c-format
msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n"
msgstr ""
"%s modul %s: billentyűzetvezérlő betöltése sikertelen nincs elég memória)\n"
#: src/plugins/plugins.c:501
#: src/plugins/plugins.c:502
#, fuzzy, c-format
msgid "%s plugin %s: unable to add event handler (not enough memory)\n"
msgstr "%s modul %s: nem sikerült időkezelőt hozzáadni (nincs elég memória)\n"
#: src/plugins/plugins.c:845
#: src/plugins/plugins.c:844
#, c-format
msgid "%s plugin %s: unable to add modifier (not enough memory)\n"
msgstr "%s modul %s: nem sikerült módosítót hozzáadni (nincs elég memória)\n"
#: src/plugins/plugins.c:1077
#: src/plugins/plugins.c:1076
#, c-format
msgid "%s unable to load plugin \"%s\": %s\n"
msgstr "%s nem sikerült a modult betölteni \"%s\": %s\n"
#: src/plugins/plugins.c:1088
#: src/plugins/plugins.c:1087
#, c-format
msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n"
msgstr ""
"%s a \"plugin_name\" szimbólum nem található a \"%s\" modulban, betöltés "
"sikertelen\n"
#: src/plugins/plugins.c:1099
#: src/plugins/plugins.c:1098
#, c-format
msgid ""
"%s unable to load plugin \"%s\": a plugin with same name already exists\n"
msgstr "%s nem sikerült a \"%s\" modult betölteni: már van ilyen nevű modul\n"
#: src/plugins/plugins.c:1111
#: src/plugins/plugins.c:1110
#, c-format
msgid ""
"%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n"
@@ -2195,7 +2195,7 @@ msgstr ""
"%s a \"plugin_description\" szimbólum nem található a \"%s\" modulban, "
"betöltés sikertelen\n"
#: src/plugins/plugins.c:1122
#: src/plugins/plugins.c:1121
#, c-format
msgid ""
"%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n"
@@ -2203,7 +2203,7 @@ msgstr ""
"%s a \"plugin_version\" szimbólum nem található a \"%s\" modulban, betöltés "
"sikertelen\n"
#: src/plugins/plugins.c:1135
#: src/plugins/plugins.c:1134
#, c-format
msgid ""
"%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to "
@@ -2212,32 +2212,32 @@ msgstr ""
"%s a \"weechat_plugin_init\" függvény nem található a \"%s\" modulban, "
"betöltés sikertelen\n"
#: src/plugins/plugins.c:1219
#: src/plugins/plugins.c:1218
#, c-format
msgid "Initializing plugin \"%s\" %s\n"
msgstr "Modul betöltése: \"%s\" %s\n"
#: src/plugins/plugins.c:1227
#: src/plugins/plugins.c:1226
#, c-format
msgid "%s unable to initialize plugin \"%s\"\n"
msgstr "%s nem sikerült a modult betölteni \"%s\"\n"
#: src/plugins/plugins.c:1238
#: src/plugins/plugins.c:1237
#, c-format
msgid "%s unable to load plugin \"%s\" (not enough memory)\n"
msgstr "%s nem sikerült a modult betölteni \"%s\" (nincs elég memória)\n"
#: src/plugins/plugins.c:1246
#: src/plugins/plugins.c:1245
#, c-format
msgid "Plugin \"%s\" (%s) loaded.\n"
msgstr "A \"%s\" (%s) modul betöltve.\n"
#: src/plugins/plugins.c:1420 src/plugins/plugins.c:1460
#: src/plugins/plugins.c:1419 src/plugins/plugins.c:1459
#, c-format
msgid "Plugin \"%s\" unloaded.\n"
msgstr "A \"%s\" modul eltávolítva.\n"
#: src/plugins/plugins.c:1426 src/plugins/plugins.c:1469
#: src/plugins/plugins.c:1425 src/plugins/plugins.c:1468
#: src/common/command.c:3677
#, c-format
msgid "%s plugin \"%s\" not found\n"
@@ -2381,7 +2381,7 @@ msgstr "-TOVÁBB-"
msgid "server"
msgstr "szerver"
#: src/gui/gui-buffer.c:707
#: src/gui/gui-buffer.c:709
msgid "Not enough memory for new line\n"
msgstr "Nincs elég memória az új sorhoz\n"
+22 -22
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.6-cvs\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2007-07-15 19:59+0200\n"
"POT-Creation-Date: 2007-07-18 13:55+0200\n"
"PO-Revision-Date: 2007-06-07 18:02+0200\n"
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2099,7 +2099,7 @@ msgstr "%s недостаточно памяти для создания игн
msgid "Removing ignore:"
msgstr "Удаление игнорирования:"
#: src/plugins/plugins.c:242
#: src/plugins/plugins.c:243
#, c-format
msgid ""
"%s plugin %s: unable to add handler for IRC command \"%s\" (not enough "
@@ -2108,66 +2108,66 @@ msgstr ""
"%s plugin %s: не могу добавить handler для IRC команды \"%s\" (недостаточно "
"памяти)\n"
#: src/plugins/plugins.c:279
#: src/plugins/plugins.c:280
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (already exists)\n"
msgstr "%s plugin %s: не могу добавить handler для \"%s\" (уже существует)\n"
#: src/plugins/plugins.c:289
#: src/plugins/plugins.c:290
#, c-format
msgid "%s plugin %s: unable to add handler for \"%s\" command (forbidden)\n"
msgstr ""
"%s plugin %s: не могу добавить обработчик для команды \"%s\" (запрещено)\n"
#: src/plugins/plugins.c:331
#: src/plugins/plugins.c:332
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n"
msgstr ""
"%s plugin %s: не могу добавить handler для \"%s\" (недостаточно памяти)\n"
#: src/plugins/plugins.c:388
#: src/plugins/plugins.c:389
#, c-format
msgid "%s plugin %s: unable to add timer handler (not enough memory)\n"
msgstr "%s plugin %s: не могу добавить handler (недостаточно памяти)\n"
#: src/plugins/plugins.c:444
#: src/plugins/plugins.c:445
#, c-format
msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n"
msgstr ""
"%s plugin %s: не могу добавить обработчик клавиатуры (недостаточно памяти)\n"
#: src/plugins/plugins.c:501
#: src/plugins/plugins.c:502
#, c-format
msgid "%s plugin %s: unable to add event handler (not enough memory)\n"
msgstr ""
"%s plugin %s: не могу добавить обработчик события (недостаточно памяти)\n"
#: src/plugins/plugins.c:845
#: src/plugins/plugins.c:844
#, c-format
msgid "%s plugin %s: unable to add modifier (not enough memory)\n"
msgstr "%s plugin %s: не могу добавить handler (недостаточно памяти)\n"
#: src/plugins/plugins.c:1077
#: src/plugins/plugins.c:1076
#, c-format
msgid "%s unable to load plugin \"%s\": %s\n"
msgstr "%s не могу загрузить plugin \"%s\": %s\n"
#: src/plugins/plugins.c:1088
#: src/plugins/plugins.c:1087
#, c-format
msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n"
msgstr ""
"%s символ \"plugin_name\" не найден в plugin'е \"%s\", загрузка не удалась\n"
#: src/plugins/plugins.c:1099
#: src/plugins/plugins.c:1098
#, c-format
msgid ""
"%s unable to load plugin \"%s\": a plugin with same name already exists\n"
msgstr ""
"%s не могу загрузить plugin \"%s\": одноимённый plugin уже существует\n"
#: src/plugins/plugins.c:1111
#: src/plugins/plugins.c:1110
#, c-format
msgid ""
"%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n"
@@ -2175,7 +2175,7 @@ msgstr ""
"%s символ \"plugin_description\" не найден в plugin'е \"%s\", загрузка не "
"удалась\n"
#: src/plugins/plugins.c:1122
#: src/plugins/plugins.c:1121
#, c-format
msgid ""
"%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n"
@@ -2183,7 +2183,7 @@ msgstr ""
"%s символ \"plugin_version\" не найден в plugin'е \"%s\", загрузка не "
"удалась\n"
#: src/plugins/plugins.c:1135
#: src/plugins/plugins.c:1134
#, c-format
msgid ""
"%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to "
@@ -2192,32 +2192,32 @@ msgstr ""
"%s функция \"weechat_plugin_init\" не найдена в plugin'е \"%s\", загрузка не "
"удалась\n"
#: src/plugins/plugins.c:1219
#: src/plugins/plugins.c:1218
#, c-format
msgid "Initializing plugin \"%s\" %s\n"
msgstr "Запускаю plugin \"%s\" %s\n"
#: src/plugins/plugins.c:1227
#: src/plugins/plugins.c:1226
#, c-format
msgid "%s unable to initialize plugin \"%s\"\n"
msgstr "%s не могу инициализировать plugin \"%s\"\n"
#: src/plugins/plugins.c:1238
#: src/plugins/plugins.c:1237
#, c-format
msgid "%s unable to load plugin \"%s\" (not enough memory)\n"
msgstr "%s не могу загрузить plugin \"%s\" (недостаточно памяти)\n"
#: src/plugins/plugins.c:1246
#: src/plugins/plugins.c:1245
#, c-format
msgid "Plugin \"%s\" (%s) loaded.\n"
msgstr "Plugin \"%s\" (%s) загружен.\n"
#: src/plugins/plugins.c:1420 src/plugins/plugins.c:1460
#: src/plugins/plugins.c:1419 src/plugins/plugins.c:1459
#, c-format
msgid "Plugin \"%s\" unloaded.\n"
msgstr "Plugin \"%s\" выгружен.\n"
#: src/plugins/plugins.c:1426 src/plugins/plugins.c:1469
#: src/plugins/plugins.c:1425 src/plugins/plugins.c:1468
#: src/common/command.c:3677
#, c-format
msgid "%s plugin \"%s\" not found\n"
@@ -2362,7 +2362,7 @@ msgstr "-ДАЛЬШЕ-"
msgid "server"
msgstr "сервер"
#: src/gui/gui-buffer.c:707
#: src/gui/gui-buffer.c:709
msgid "Not enough memory for new line\n"
msgstr "Недостаточно памяти для новой строчки\n"
+22 -22
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: 2007-07-15 19:59+0200\n"
"POT-Creation-Date: 2007-07-18 13:55+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"
@@ -1987,111 +1987,111 @@ msgstr ""
msgid "Removing ignore:"
msgstr ""
#: src/plugins/plugins.c:242
#: src/plugins/plugins.c:243
#, c-format
msgid ""
"%s plugin %s: unable to add handler for IRC command \"%s\" (not enough "
"memory)\n"
msgstr ""
#: src/plugins/plugins.c:279
#: src/plugins/plugins.c:280
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (already exists)\n"
msgstr ""
#: src/plugins/plugins.c:289
#: src/plugins/plugins.c:290
#, c-format
msgid "%s plugin %s: unable to add handler for \"%s\" command (forbidden)\n"
msgstr ""
#: src/plugins/plugins.c:331
#: src/plugins/plugins.c:332
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n"
msgstr ""
#: src/plugins/plugins.c:388
#: src/plugins/plugins.c:389
#, c-format
msgid "%s plugin %s: unable to add timer handler (not enough memory)\n"
msgstr ""
#: src/plugins/plugins.c:444
#: src/plugins/plugins.c:445
#, c-format
msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n"
msgstr ""
#: src/plugins/plugins.c:501
#: src/plugins/plugins.c:502
#, c-format
msgid "%s plugin %s: unable to add event handler (not enough memory)\n"
msgstr ""
#: src/plugins/plugins.c:845
#: src/plugins/plugins.c:844
#, c-format
msgid "%s plugin %s: unable to add modifier (not enough memory)\n"
msgstr ""
#: src/plugins/plugins.c:1077
#: src/plugins/plugins.c:1076
#, c-format
msgid "%s unable to load plugin \"%s\": %s\n"
msgstr ""
#: src/plugins/plugins.c:1088
#: src/plugins/plugins.c:1087
#, c-format
msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n"
msgstr ""
#: src/plugins/plugins.c:1099
#: src/plugins/plugins.c:1098
#, c-format
msgid ""
"%s unable to load plugin \"%s\": a plugin with same name already exists\n"
msgstr ""
#: src/plugins/plugins.c:1111
#: src/plugins/plugins.c:1110
#, c-format
msgid ""
"%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n"
msgstr ""
#: src/plugins/plugins.c:1122
#: src/plugins/plugins.c:1121
#, c-format
msgid ""
"%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n"
msgstr ""
#: src/plugins/plugins.c:1135
#: src/plugins/plugins.c:1134
#, c-format
msgid ""
"%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to "
"load\n"
msgstr ""
#: src/plugins/plugins.c:1219
#: src/plugins/plugins.c:1218
#, c-format
msgid "Initializing plugin \"%s\" %s\n"
msgstr ""
#: src/plugins/plugins.c:1227
#: src/plugins/plugins.c:1226
#, c-format
msgid "%s unable to initialize plugin \"%s\"\n"
msgstr ""
#: src/plugins/plugins.c:1238
#: src/plugins/plugins.c:1237
#, c-format
msgid "%s unable to load plugin \"%s\" (not enough memory)\n"
msgstr ""
#: src/plugins/plugins.c:1246
#: src/plugins/plugins.c:1245
#, c-format
msgid "Plugin \"%s\" (%s) loaded.\n"
msgstr ""
#: src/plugins/plugins.c:1420 src/plugins/plugins.c:1460
#: src/plugins/plugins.c:1419 src/plugins/plugins.c:1459
#, c-format
msgid "Plugin \"%s\" unloaded.\n"
msgstr ""
#: src/plugins/plugins.c:1426 src/plugins/plugins.c:1469
#: src/plugins/plugins.c:1425 src/plugins/plugins.c:1468
#: src/common/command.c:3677
#, c-format
msgid "%s plugin \"%s\" not found\n"
@@ -2231,7 +2231,7 @@ msgstr ""
msgid "server"
msgstr ""
#: src/gui/gui-buffer.c:707
#: src/gui/gui-buffer.c:709
msgid "Not enough memory for new line\n"
msgstr ""
+15 -2
View File
@@ -679,6 +679,9 @@ weechat_dump (int crash)
t_irc_nick *ptr_nick;
t_gui_window *ptr_window;
t_gui_buffer *ptr_buffer;
#ifdef PLUGINS
t_weechat_plugin *ptr_plugin;
#endif
/* prevent reentrance */
if (sigsegv)
@@ -747,7 +750,8 @@ weechat_dump (int crash)
gui_window_print_log (ptr_window);
}
for (ptr_buffer = gui_buffers; ptr_buffer; ptr_buffer = ptr_buffer->next_buffer)
for (ptr_buffer = gui_buffers; ptr_buffer;
ptr_buffer = ptr_buffer->next_buffer)
{
weechat_log_printf ("\n");
gui_buffer_print_log (ptr_buffer);
@@ -755,10 +759,19 @@ weechat_dump (int crash)
weechat_log_printf ("\n");
irc_ignore_print_log ();
weechat_log_printf ("\n");
hotlist_print_log ();
#ifdef PLUGINS
for (ptr_plugin = weechat_plugins; ptr_plugin;
ptr_plugin = ptr_plugin->next_plugin)
{
weechat_log_printf ("\n");
plugin_print_log (ptr_plugin);
}
#endif
weechat_log_printf ("\n");
weechat_log_printf ("****** End of dump ******\n");
weechat_log_printf ("\n");
+20 -4
View File
@@ -87,7 +87,7 @@ gui_buffer_new (t_gui_window *window, void *server, void *channel, int type,
{
t_gui_buffer *new_buffer, *ptr_buffer;
#ifdef PLUGINS
char buffer_str[16];
char buffer_str[16], *argv[1] = { NULL };
#endif
#ifdef DEBUG
@@ -243,7 +243,8 @@ gui_buffer_new (t_gui_window *window, void *server, void *channel, int type,
#ifdef PLUGINS
snprintf (buffer_str, sizeof (buffer_str) - 1, "%d", new_buffer->number);
(void) plugin_event_handler_exec ("buffer_open", buffer_str);
argv[0] = buffer_str;
(void) plugin_event_handler_exec ("buffer_open", 1, argv);
#endif
}
else
@@ -572,12 +573,13 @@ gui_buffer_free (t_gui_buffer *buffer, int switch_to_another)
t_irc_server *ptr_server;
int create_new;
#ifdef PLUGINS
char buffer_str[16];
char buffer_str[16], *argv[1] = { NULL };
#endif
#ifdef PLUGINS
snprintf (buffer_str, sizeof (buffer_str) - 1, "%d", buffer->number);
(void) plugin_event_handler_exec ("buffer_close", buffer_str);
argv[0] = buffer_str;
(void) plugin_event_handler_exec ("buffer_close", 1, argv);
#endif
create_new = (buffer->server || buffer->channel);
@@ -985,6 +987,9 @@ gui_buffer_move_to_number (t_gui_buffer *buffer, int number)
{
t_gui_buffer *ptr_buffer;
int i;
#ifdef PLUGINS
char buf1_str[16], buf2_str[16], *argv[2] = { NULL, NULL };
#endif
/* if only one buffer then return */
if (gui_buffers == last_gui_buffer)
@@ -996,6 +1001,10 @@ gui_buffer_move_to_number (t_gui_buffer *buffer, int number)
if (number < 1)
number = 1;
#ifdef PLUGINS
snprintf (buf2_str, sizeof (buf2_str) - 1, "%d", buffer->number);
#endif
/* remove buffer from list */
if (buffer == gui_buffers)
@@ -1063,6 +1072,13 @@ gui_buffer_move_to_number (t_gui_buffer *buffer, int number)
}
gui_window_redraw_buffer (buffer);
#ifdef PLUGINS
snprintf (buf1_str, sizeof (buf1_str) - 1, "%d", buffer->number);
argv[0] = buf1_str;
argv[1] = buf2_str;
(void) plugin_event_handler_exec ("buffer_move", 2, argv);
#endif
}
/*
+71 -6
View File
@@ -37,6 +37,7 @@
#include "plugins.h"
#include "plugins-config.h"
#include "../common/command.h"
#include "../common/log.h"
#include "../common/util.h"
#include "../common/weeconfig.h"
#include "../irc/irc.h"
@@ -696,14 +697,11 @@ plugin_keyboard_handler_exec (char *key, char *input_before, char *input_after)
*/
int
plugin_event_handler_exec (char *event, char *data)
plugin_event_handler_exec (char *event, int argc, char **argv)
{
t_weechat_plugin *ptr_plugin;
t_plugin_handler *ptr_handler;
int return_code, final_return_code;
char *argv[1] = { NULL };
argv[0] = data;
final_return_code = PLUGIN_RC_OK;
@@ -717,7 +715,7 @@ plugin_event_handler_exec (char *event, char *data)
&& (ascii_strcasecmp (ptr_handler->event, event) == 0))
{
return_code = ((int) (ptr_handler->handler) (ptr_plugin,
1, argv,
argc, argv,
ptr_handler->handler_args,
ptr_handler->handler_pointer));
if (return_code == PLUGIN_RC_KO)
@@ -823,7 +821,8 @@ plugin_modifier_add (t_weechat_plugin *plugin, char *type, char *command,
if (new_modifier)
{
new_modifier->type = type_int;
new_modifier->command = (command) ? strdup (command) : strdup ("*");
new_modifier->command = (command && command[0]) ?
strdup (command) : strdup ("*");
new_modifier->modifier = modifier_func;
new_modifier->modifier_args = (modifier_args) ? strdup (modifier_args) : NULL;
new_modifier->modifier_pointer = modifier_pointer;
@@ -1499,3 +1498,69 @@ plugin_end ()
/* unload all plugins */
plugin_unload_all ();
}
/*
* plugin_print_log: print plugin infos in log (usually for crash dump)
*/
void
plugin_print_log (t_weechat_plugin *plugin)
{
t_plugin_handler *ptr_handler;
t_plugin_modifier *ptr_modifier;
weechat_log_printf ("[plugin (addr:0x%X)]\n", plugin);
weechat_log_printf (" filename . . . . . . . : '%s'\n", plugin->filename);
weechat_log_printf (" handle . . . . . . . . : 0x%X\n", plugin->handle);
weechat_log_printf (" name . . . . . . . . . : '%s'\n", plugin->name);
weechat_log_printf (" description. . . . . . : '%s'\n", plugin->description);
weechat_log_printf (" version. . . . . . . . : '%s'\n", plugin->version);
weechat_log_printf (" charset. . . . . . . . : '%s'\n", plugin->charset);
weechat_log_printf (" handlers . . . . . . . : 0x%X\n", plugin->handlers);
weechat_log_printf (" last_handler . . . . . : 0x%X\n", plugin->last_handler);
weechat_log_printf (" modifiers. . . . . . . : 0x%X\n", plugin->modifiers);
weechat_log_printf (" last_modifier. . . . . : 0x%X\n", plugin->last_modifier);
weechat_log_printf (" prev_plugin. . . . . . : 0x%X\n", plugin->prev_plugin);
weechat_log_printf (" next_plugin. . . . . . : 0x%X\n", plugin->next_plugin);
weechat_log_printf ("\n");
weechat_log_printf (" => handlers:\n");
for (ptr_handler = plugin->handlers; ptr_handler;
ptr_handler = ptr_handler->next_handler)
{
weechat_log_printf ("\n");
weechat_log_printf (" [handler (addr:0x%X)]\n", ptr_handler);
weechat_log_printf (" type . . . . . . . . : %d\n", ptr_handler->type);
weechat_log_printf (" irc_command. . . . . : '%s'\n", ptr_handler->irc_command);
weechat_log_printf (" command. . . . . . . : '%s'\n", ptr_handler->command);
weechat_log_printf (" description. . . . . : '%s'\n", ptr_handler->description);
weechat_log_printf (" arguments. . . . . . : '%s'\n", ptr_handler->arguments);
weechat_log_printf (" arguments_description: '%s'\n", ptr_handler->arguments_description);
weechat_log_printf (" completion_template. : '%s'\n", ptr_handler->completion_template);
weechat_log_printf (" interval . . . . . . : %d\n", ptr_handler->interval);
weechat_log_printf (" remaining. . . . . . : %d\n", ptr_handler->remaining);
weechat_log_printf (" event. . . . . . . . : '%s'\n", ptr_handler->event);
weechat_log_printf (" handler_args . . . . : '%s'\n", ptr_handler->handler_args);
weechat_log_printf (" handler_pointer. . . : 0x%X\n", ptr_handler->handler_pointer);
weechat_log_printf (" running. . . . . . . : %d\n", ptr_handler->running);
weechat_log_printf (" prev_handler . . . . : 0x%X\n", ptr_handler->prev_handler);
weechat_log_printf (" next_handler . . . . : 0x%X\n", ptr_handler->next_handler);
}
weechat_log_printf ("\n");
weechat_log_printf (" => modifiers:\n");
for (ptr_modifier = plugin->modifiers; ptr_modifier;
ptr_modifier = ptr_modifier->next_modifier)
{
weechat_log_printf ("\n");
weechat_log_printf (" [modifier (addr:0x%X)]\n", ptr_modifier);
weechat_log_printf (" type . . . . . . . . : %d\n", ptr_modifier->type);
weechat_log_printf (" command. . . . . . . : '%s'\n", ptr_modifier->command);
weechat_log_printf (" modifier . . . . . . : 0x%X\n", ptr_modifier->modifier);
weechat_log_printf (" modifier_args. . . . : '%s'\n", ptr_modifier->modifier_args);
weechat_log_printf (" modifier_pointer . . : 0x%X\n", ptr_modifier->modifier_pointer);
weechat_log_printf (" running. . . . . . . : %d\n", ptr_modifier->running);
weechat_log_printf (" prev_modifier. . . . : 0x%X\n", ptr_modifier->prev_modifier);
weechat_log_printf (" next_modifier. . . . : 0x%X\n", ptr_modifier->next_modifier);
}
}
+2 -1
View File
@@ -67,7 +67,7 @@ extern int plugin_msg_handler_exec (char *, char *, char *);
extern int plugin_cmd_handler_exec (char *, char *, char *);
extern int plugin_timer_handler_exec ();
extern int plugin_keyboard_handler_exec (char *, char *, char *);
extern int plugin_event_handler_exec (char *, char *);
extern int plugin_event_handler_exec (char *, int, char **);
extern void plugin_handler_remove (t_weechat_plugin *,
t_plugin_handler *);
extern void plugin_handler_remove_all (t_weechat_plugin *);
@@ -88,5 +88,6 @@ extern void plugin_unload_all ();
extern void plugin_reload_name (char *);
extern void plugin_init (int);
extern void plugin_end ();
extern void plugin_print_log (t_weechat_plugin *);
#endif /* plugins.h */
+22 -1
View File
@@ -215,7 +215,10 @@ weechat_lua_event_handler (t_weechat_plugin *plugin,
{
r = (int *) weechat_lua_exec (plugin, (t_plugin_script *)handler_pointer,
SCRIPT_EXEC_INT,
handler_args, argv[0], NULL, NULL);
handler_args,
argv[0],
(argc >= 2) ? argv[1] : NULL,
(argc >= 3) ? argv[2] : NULL);
if (r == NULL)
ret = PLUGIN_RC_KO;
else
@@ -768,6 +771,24 @@ weechat_lua_add_command_handler (lua_State *L)
command = lua_tostring (lua_current_interpreter, -2);
function = lua_tostring (lua_current_interpreter, -1);
break;
case 3:
command = lua_tostring (lua_current_interpreter, -3);
function = lua_tostring (lua_current_interpreter, -2);
description = lua_tostring (lua_current_interpreter, -1);
break;
case 4:
command = lua_tostring (lua_current_interpreter, -4);
function = lua_tostring (lua_current_interpreter, -3);
description = lua_tostring (lua_current_interpreter, -2);
arguments = lua_tostring (lua_current_interpreter, -1);
break;
case 5:
command = lua_tostring (lua_current_interpreter, -5);
function = lua_tostring (lua_current_interpreter, -4);
description = lua_tostring (lua_current_interpreter, -3);
arguments = lua_tostring (lua_current_interpreter, -2);
arguments_description = lua_tostring (lua_current_interpreter, -1);
break;
case 6:
command = lua_tostring (lua_current_interpreter, -6);
function = lua_tostring (lua_current_interpreter, -5);
+4 -1
View File
@@ -336,7 +336,10 @@ weechat_perl_event_handler (t_weechat_plugin *plugin,
{
r = (int *) weechat_perl_exec (plugin, (t_plugin_script *)handler_pointer,
SCRIPT_EXEC_INT,
handler_args, argv[0], NULL, NULL);
handler_args,
argv[0],
(argc >= 2) ? argv[1] : NULL,
(argc >= 3) ? argv[2] : NULL);
if (r == NULL)
ret = PLUGIN_RC_KO;
else
+4 -1
View File
@@ -257,7 +257,10 @@ weechat_python_event_handler (t_weechat_plugin *plugin,
{
r = (int *) weechat_python_exec (plugin, (t_plugin_script *)handler_pointer,
SCRIPT_EXEC_INT,
handler_args, argv[0], NULL, NULL);
handler_args,
argv[0],
(argc >= 2) ? argv[1] : NULL,
(argc >= 3) ? argv[2] : NULL);
if (r == NULL)
ret = PLUGIN_RC_KO;
else
+4 -1
View File
@@ -296,7 +296,10 @@ weechat_ruby_event_handler (t_weechat_plugin *plugin,
{
r = (int *) weechat_ruby_exec (plugin, (t_plugin_script *)handler_pointer,
SCRIPT_EXEC_INT,
handler_args, argv[0], NULL, NULL);
handler_args,
argv[0],
(argc >= 2) ? argv[1] : NULL,
(argc >= 3) ? argv[2] : NULL);
if (r == NULL)
ret = PLUGIN_RC_KO;
else
+2 -1
View File
@@ -1,10 +1,11 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2007-07-15
ChangeLog - 2007-07-18
Version 0.2.6 (under dev!):
* added "buffer_move" event handler to plugins API (task #6708)
* added key function "jump_previous_buffer" to jump to buffer previously
displayed (new key: alt-J + alt-P) (task #7085)
* added "%*" to completion template, to repeat last completion
+41 -23
View File
@@ -2767,27 +2767,7 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;my_keyb);
</listitem>
<listitem>
<para>
<option>event</option> : Ereignis, siehe folgende Tabelle:
<informaltable colsep="0" frame="none">
<tgroup cols="2">
<thead>
<row>
<entry>Ereignis</entry>
<entry>Beschreibung</entry>
</row>
</thead>
<tbody>
<row>
<entry><literal>buffer_open</literal></entry>
<entry>ein Puffer wurde geöffnet</entry>
</row>
<row>
<entry><literal>buffer_close</literal></entry>
<entry>ein Puffer wurde geschlossen</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<option>event</option> : Ereignis (siehe folgende Tabelle)
</para>
</listitem>
<listitem>
@@ -2803,8 +2783,8 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;my_keyb);
</command>
</para>
<para>
Argument argc wird auf 1 gesetzt, argv[0] ist die Nummer des Puffers, der
geöffnet oder geschlossen wird.
<!-- TRANSLATION NEEDED -->
Arguments depend on event (see table below).
</para>
</listitem>
<listitem>
@@ -2821,6 +2801,44 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;my_keyb);
</listitem>
</itemizedlist>
</para>
<!-- TRANSLATION NEEDED -->
<para>
List of events:
<informaltable colsep="0" frame="none">
<tgroup cols="3">
<thead>
<row>
<entry>Ereignis</entry>
<entry>Beschreibung</entry>
<entry>Arguments</entry>
</row>
</thead>
<tbody>
<row>
<entry><literal>buffer_open</literal></entry>
<entry>ein Puffer wurde geöffnet</entry>
<entry>
argc = 1, argv = { buffer number }
</entry>
</row>
<row>
<entry><literal>buffer_close</literal></entry>
<entry>ein Puffer wurde geschlossen</entry>
<entry>
argc = 1, argv = { buffer number }
</entry>
</row>
<row>
<entry><literal>buffer_move</literal></entry>
<entry>a buffer was moved</entry>
<entry>
argc = 2, argv = { new buffer number, old number }
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
<para>
Rückgabewert: Pointer auf den neuen Ereignishandler.
</para>
+39 -23
View File
@@ -2785,27 +2785,7 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;my_keyb);
</listitem>
<listitem>
<para>
<option>event</option> : event, see table below:
<informaltable colsep="0" frame="none">
<tgroup cols="2">
<thead>
<row>
<entry>Event</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry><literal>buffer_open</literal></entry>
<entry>a buffer was open</entry>
</row>
<row>
<entry><literal>buffer_close</literal></entry>
<entry>a buffer was closed</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<option>event</option> : event (see table below)
</para>
</listitem>
<listitem>
@@ -2821,8 +2801,7 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;my_keyb);
</command>
</para>
<para>
Argument argc is set to 1, argv[0] is number of buffer
open/closed.
Arguments depend on event (see table below).
</para>
</listitem>
<listitem>
@@ -2839,6 +2818,43 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;my_keyb);
</listitem>
</itemizedlist>
</para>
<para>
List of events:
<informaltable colsep="0" frame="none">
<tgroup cols="3">
<thead>
<row>
<entry>Event</entry>
<entry>Description</entry>
<entry>Arguments</entry>
</row>
</thead>
<tbody>
<row>
<entry><literal>buffer_open</literal></entry>
<entry>a buffer was open</entry>
<entry>
argc = 1, argv = { buffer number }
</entry>
</row>
<row>
<entry><literal>buffer_close</literal></entry>
<entry>a buffer was closed</entry>
<entry>
argc = 1, argv = { buffer number }
</entry>
</row>
<row>
<entry><literal>buffer_move</literal></entry>
<entry>a buffer was moved</entry>
<entry>
argc = 2, argv = { new buffer number, old number }
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
<para>
Return value: pointer to new event handler.
</para>
+41 -24
View File
@@ -2861,28 +2861,8 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;mon_keyb);
</listitem>
<listitem>
<para>
<option>évènement</option> : évènement, voir le tableau
ci-dessous :
<informaltable colsep="0" frame="none">
<tgroup cols="2">
<thead>
<row>
<entry>Evènement</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry><literal>buffer_open</literal></entry>
<entry>un tampon a été ouvert</entry>
</row>
<row>
<entry><literal>buffer_close</literal></entry>
<entry>un tampon a été fermé</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<option>évènement</option> : évènement (voir le tableau
ci-dessous)
</para>
</listitem>
<listitem>
@@ -2898,8 +2878,8 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;mon_keyb);
</command>
</para>
<para>
Le paramètre argc vaut 1 et argv[0] contient le numéro
du tampon ouvert ou fermé.
Les paramètres passés à la fonction dépendent de l'évènement
(voir le tableau ci-dessous).
</para>
</listitem>
<listitem>
@@ -2916,6 +2896,43 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &amp;mon_keyb);
</listitem>
</itemizedlist>
</para>
<para>
Liste des évènements :
<informaltable colsep="0" frame="none">
<tgroup cols="3">
<thead>
<row>
<entry>Evènement</entry>
<entry>Description</entry>
<entry>Paramètres</entry>
</row>
</thead>
<tbody>
<row>
<entry><literal>buffer_open</literal></entry>
<entry>un tampon a été ouvert</entry>
<entry>
argc = 1, argv = { numéro de tampon }
</entry>
</row>
<row>
<entry><literal>buffer_close</literal></entry>
<entry>un tampon a été fermé</entry>
<entry>
argc = 1, argv = { numéro de tampon }
</entry>
</row>
<row>
<entry><literal>buffer_move</literal></entry>
<entry>un tampon a été déplacé</entry>
<entry>
argc = 2, argv = { nouveau numéro de tampon, ancien numéro }
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
<para>
Valeur renvoyée : le pointeur vers le nouveau gestionnaire
d'évènement.
+22 -22
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.6-cvs\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2007-07-15 19:59+0200\n"
"POT-Creation-Date: 2007-07-18 13:55+0200\n"
"PO-Revision-Date: 2007-06-07 18:02+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2110,7 +2110,7 @@ msgstr "%s nedostatek paměti pro vytvoření ignorování\n"
msgid "Removing ignore:"
msgstr "Odebírám ignorování:"
#: src/plugins/plugins.c:242
#: src/plugins/plugins.c:243
#, c-format
msgid ""
"%s plugin %s: unable to add handler for IRC command \"%s\" (not enough "
@@ -2119,19 +2119,19 @@ msgstr ""
"%s plugin %s: nemůžu přidat obsluhovač pro IRC příkaz \"%s\" (nedostatek "
"paměti)\n"
#: src/plugins/plugins.c:279
#: src/plugins/plugins.c:280
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (already exists)\n"
msgstr ""
"%s plugin %s: nemůžu přidat obsluhovač pro \"%s\" příkaz (již existuje)\n"
#: src/plugins/plugins.c:289
#: src/plugins/plugins.c:290
#, c-format
msgid "%s plugin %s: unable to add handler for \"%s\" command (forbidden)\n"
msgstr "%s plugin %s: nemůžu přidat obsluhovač pro \"%s\" příkaz (zakázáno)\n"
#: src/plugins/plugins.c:331
#: src/plugins/plugins.c:332
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n"
@@ -2139,46 +2139,46 @@ msgstr ""
"%s plugin %s: nemůžu přidat obsluhovač pro \"%s\" příkaz (nedostatek "
"paměti)\n"
#: src/plugins/plugins.c:388
#: src/plugins/plugins.c:389
#, c-format
msgid "%s plugin %s: unable to add timer handler (not enough memory)\n"
msgstr "%s plugin %s: nemůžu přidat časový obsluhovač (nedostatek paměti)\n"
#: src/plugins/plugins.c:444
#: src/plugins/plugins.c:445
#, c-format
msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n"
msgstr ""
"%s plugin %s: nemůžu přidat obsluhovač klávesnice (nedostatek paměti)\n"
#: src/plugins/plugins.c:501
#: src/plugins/plugins.c:502
#, c-format
msgid "%s plugin %s: unable to add event handler (not enough memory)\n"
msgstr "%s plugin %s: nemůžu přidat obsluhovač události (nedostatek paměti)\n"
#: src/plugins/plugins.c:845
#: src/plugins/plugins.c:844
#, c-format
msgid "%s plugin %s: unable to add modifier (not enough memory)\n"
msgstr "%s plugin %s: nemůžu přidat modifikátr (nedostatek paměti)\n"
#: src/plugins/plugins.c:1077
#: src/plugins/plugins.c:1076
#, c-format
msgid "%s unable to load plugin \"%s\": %s\n"
msgstr "%s nemůžu načist plugin \"%s\": %s\n"
#: src/plugins/plugins.c:1088
#: src/plugins/plugins.c:1087
#, c-format
msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n"
msgstr ""
"%s symbol \"plugin_name\" nebyl v pluginu \"%s\" nalezen, načtení selhalo\n"
#: src/plugins/plugins.c:1099
#: src/plugins/plugins.c:1098
#, c-format
msgid ""
"%s unable to load plugin \"%s\": a plugin with same name already exists\n"
msgstr ""
"%s nemohu načíst plugin \"%s\": plugin se stejným jménem již existuje\n"
#: src/plugins/plugins.c:1111
#: src/plugins/plugins.c:1110
#, c-format
msgid ""
"%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n"
@@ -2186,7 +2186,7 @@ msgstr ""
"%s symbol \"plugin_description\" nebyl v pluginu \"%s\" nalezen, načtení "
"selhalo\n"
#: src/plugins/plugins.c:1122
#: src/plugins/plugins.c:1121
#, c-format
msgid ""
"%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n"
@@ -2194,7 +2194,7 @@ msgstr ""
"%s symbol \"plugin_version\" nebyl v pluginu \"%s\" nalezen, načtení "
"selhalo\n"
#: src/plugins/plugins.c:1135
#: src/plugins/plugins.c:1134
#, c-format
msgid ""
"%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to "
@@ -2203,32 +2203,32 @@ msgstr ""
"%s funkce \"weechat_plugin_init\" nebyla v pluginu \"%s\" nalezena, načtení "
"selhalo\n"
#: src/plugins/plugins.c:1219
#: src/plugins/plugins.c:1218
#, c-format
msgid "Initializing plugin \"%s\" %s\n"
msgstr "Inicializuji plugin \"%s\" %s\n"
#: src/plugins/plugins.c:1227
#: src/plugins/plugins.c:1226
#, c-format
msgid "%s unable to initialize plugin \"%s\"\n"
msgstr "%s nemohu načíst plugin \"%s\"\n"
#: src/plugins/plugins.c:1238
#: src/plugins/plugins.c:1237
#, c-format
msgid "%s unable to load plugin \"%s\" (not enough memory)\n"
msgstr "%s nemohu načíst plugin \"%s\" (nedostatek paměti)\n"
#: src/plugins/plugins.c:1246
#: src/plugins/plugins.c:1245
#, c-format
msgid "Plugin \"%s\" (%s) loaded.\n"
msgstr "Plugin \"%s\" (%s) načten.\n"
#: src/plugins/plugins.c:1420 src/plugins/plugins.c:1460
#: src/plugins/plugins.c:1419 src/plugins/plugins.c:1459
#, c-format
msgid "Plugin \"%s\" unloaded.\n"
msgstr "Plugin \"%s\" odebrán.\n"
#: src/plugins/plugins.c:1426 src/plugins/plugins.c:1469
#: src/plugins/plugins.c:1425 src/plugins/plugins.c:1468
#: src/common/command.c:3677
#, c-format
msgid "%s plugin \"%s\" not found\n"
@@ -2373,7 +2373,7 @@ msgstr "-VÍCE-"
msgid "server"
msgstr "server"
#: src/gui/gui-buffer.c:707
#: src/gui/gui-buffer.c:709
msgid "Not enough memory for new line\n"
msgstr "Nedostatek paměti pro nový řádek\n"
+22 -22
View File
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.6-cvs\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2007-07-15 19:59+0200\n"
"POT-Creation-Date: 2007-07-18 13:55+0200\n"
"PO-Revision-Date: 2007-06-07 18:02+0200\n"
"Last-Translator: Thomas Schuetz <i18n@internet-villa.de>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2115,7 +2115,7 @@ msgstr "%s nicht genug Speicher für neue /ignore-Regel\n"
msgid "Removing ignore:"
msgstr "Entfernen der /ignore-Regel:"
#: src/plugins/plugins.c:242
#: src/plugins/plugins.c:243
#, c-format
msgid ""
"%s plugin %s: unable to add handler for IRC command \"%s\" (not enough "
@@ -2124,7 +2124,7 @@ msgstr ""
"%s Plugin %s: kann keinen Handler für den IRC-Befehl \"%s\" hinzufügen "
"(Speichermangel)\n"
#: src/plugins/plugins.c:279
#: src/plugins/plugins.c:280
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (already exists)\n"
@@ -2132,14 +2132,14 @@ msgstr ""
"%s Plugin %s: kann keinen Handler für den IRC-Befehl \"%s\" hinzufügen "
"(existiert bereits)\n"
#: src/plugins/plugins.c:289
#: src/plugins/plugins.c:290
#, c-format
msgid "%s plugin %s: unable to add handler for \"%s\" command (forbidden)\n"
msgstr ""
"%s Plugin %s: kann keinen Handler für den IRC-Befehl \"%s\" hinzufügen "
"(nicht erlaubt)\n"
#: src/plugins/plugins.c:331
#: src/plugins/plugins.c:332
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n"
@@ -2147,41 +2147,41 @@ msgstr ""
"%s Plugin %s: kann keinen Handler für den IRC-Befehl \"%s\" hinzufügen "
"(Speichermangel)\n"
#: src/plugins/plugins.c:388
#: src/plugins/plugins.c:389
#, c-format
msgid "%s plugin %s: unable to add timer handler (not enough memory)\n"
msgstr "%s plugin %s: kann keinen Timer-Handler hinzufügen (Speichermangel)\n"
#: src/plugins/plugins.c:444
#: src/plugins/plugins.c:445
#, c-format
msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n"
msgstr ""
"%s plugin %s: kann keinen Tastatur-Handler hinzufügen (Speichermangel)\n"
#: src/plugins/plugins.c:501
#: src/plugins/plugins.c:502
#, c-format
msgid "%s plugin %s: unable to add event handler (not enough memory)\n"
msgstr ""
"%s plugin %s: kann keinen Ereignis-Handler hinzufügen (Speichermangel)\n"
#: src/plugins/plugins.c:845
#: src/plugins/plugins.c:844
#, c-format
msgid "%s plugin %s: unable to add modifier (not enough memory)\n"
msgstr "%s plugin %s: kann keinen Modifier hinzufügen (Speichermangel)\n"
#: src/plugins/plugins.c:1077
#: src/plugins/plugins.c:1076
#, c-format
msgid "%s unable to load plugin \"%s\": %s\n"
msgstr "%s kann Plugin \"%s\" nicht laden: %s\n"
#: src/plugins/plugins.c:1088
#: src/plugins/plugins.c:1087
#, c-format
msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n"
msgstr ""
"%s Symbol \"plugin_name\" in Plugin \"%s\" nicht gefunden, Laden "
"gescheitert\n"
#: src/plugins/plugins.c:1099
#: src/plugins/plugins.c:1098
#, c-format
msgid ""
"%s unable to load plugin \"%s\": a plugin with same name already exists\n"
@@ -2189,7 +2189,7 @@ msgstr ""
"%s kann Plugin \"%s\" nicht laden: ein gleichnamiges Plugin existiert "
"bereits\n"
#: src/plugins/plugins.c:1111
#: src/plugins/plugins.c:1110
#, c-format
msgid ""
"%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n"
@@ -2197,7 +2197,7 @@ msgstr ""
"%s Symbol \"plugin_description\" nicht in Plugin \"%s\" gefunden, Laden "
"gescheitert\n"
#: src/plugins/plugins.c:1122
#: src/plugins/plugins.c:1121
#, c-format
msgid ""
"%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n"
@@ -2205,7 +2205,7 @@ msgstr ""
"%s Symbol \"plugin_version\" nicht in Plugin \"%s\" gefunden, Laden "
"gescheitert\n"
#: src/plugins/plugins.c:1135
#: src/plugins/plugins.c:1134
#, c-format
msgid ""
"%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to "
@@ -2214,32 +2214,32 @@ msgstr ""
"%s Funktion \"weechat_plugin_init\" nicht in Plugin \"%s\" gefunden Laden "
"gescheitert\n"
#: src/plugins/plugins.c:1219
#: src/plugins/plugins.c:1218
#, c-format
msgid "Initializing plugin \"%s\" %s\n"
msgstr "Initialisiere Plugin \"%s\" %s\n"
#: src/plugins/plugins.c:1227
#: src/plugins/plugins.c:1226
#, c-format
msgid "%s unable to initialize plugin \"%s\"\n"
msgstr "%s kann das Plugin \"%s\" nicht initialisieren\n"
#: src/plugins/plugins.c:1238
#: src/plugins/plugins.c:1237
#, c-format
msgid "%s unable to load plugin \"%s\" (not enough memory)\n"
msgstr "%s kann das Plugin \"%s\" nicht laden (Speichermangel)\n"
#: src/plugins/plugins.c:1246
#: src/plugins/plugins.c:1245
#, c-format
msgid "Plugin \"%s\" (%s) loaded.\n"
msgstr "Plugin \"%s\" (%s) geladen.\n"
#: src/plugins/plugins.c:1420 src/plugins/plugins.c:1460
#: src/plugins/plugins.c:1419 src/plugins/plugins.c:1459
#, c-format
msgid "Plugin \"%s\" unloaded.\n"
msgstr "Plugin \"%s\" entladen.\n"
#: src/plugins/plugins.c:1426 src/plugins/plugins.c:1469
#: src/plugins/plugins.c:1425 src/plugins/plugins.c:1468
#: src/common/command.c:3677
#, c-format
msgid "%s plugin \"%s\" not found\n"
@@ -2384,7 +2384,7 @@ msgstr "-MEHR-"
msgid "server"
msgstr "Server"
#: src/gui/gui-buffer.c:707
#: src/gui/gui-buffer.c:709
msgid "Not enough memory for new line\n"
msgstr "Nicht genügend Speicher für neue Zeile\n"
+22 -22
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.6-cvs\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2007-07-15 19:59+0200\n"
"POT-Creation-Date: 2007-07-18 13:55+0200\n"
"PO-Revision-Date: 2007-06-07 18:02+0200\n"
"Last-Translator: Roberto González Cardenete <robert.glez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2142,7 +2142,7 @@ msgstr "%s no hay suficiente memoria para crear el ignore\n"
msgid "Removing ignore:"
msgstr "Eliminando el ignore:"
#: src/plugins/plugins.c:242
#: src/plugins/plugins.c:243
#, c-format
msgid ""
"%s plugin %s: unable to add handler for IRC command \"%s\" (not enough "
@@ -2151,7 +2151,7 @@ msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador para el comando IRC \"%s"
"\" (no hay suficiente memoria)\n"
#: src/plugins/plugins.c:279
#: src/plugins/plugins.c:280
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (already exists)\n"
@@ -2159,14 +2159,14 @@ msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador para el comando \"%s"
"\" (ya existe)\n"
#: src/plugins/plugins.c:289
#: src/plugins/plugins.c:290
#, c-format
msgid "%s plugin %s: unable to add handler for \"%s\" command (forbidden)\n"
msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador para el comando \"%s"
"\" (prohibido)\n"
#: src/plugins/plugins.c:331
#: src/plugins/plugins.c:332
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n"
@@ -2174,47 +2174,47 @@ msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador para el comando \"%s"
"\" (no hay suficiente memoria)\n"
#: src/plugins/plugins.c:388
#: src/plugins/plugins.c:389
#, c-format
msgid "%s plugin %s: unable to add timer handler (not enough memory)\n"
msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador temporizador (no hay "
"suficiente memoria)\n"
#: src/plugins/plugins.c:444
#: src/plugins/plugins.c:445
#, c-format
msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n"
msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador de teclado (no hay "
"suficiente memoria)\n"
#: src/plugins/plugins.c:501
#: src/plugins/plugins.c:502
#, fuzzy, c-format
msgid "%s plugin %s: unable to add event handler (not enough memory)\n"
msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador temporizador (no hay "
"suficiente memoria)\n"
#: src/plugins/plugins.c:845
#: src/plugins/plugins.c:844
#, fuzzy, c-format
msgid "%s plugin %s: unable to add modifier (not enough memory)\n"
msgstr ""
"%s plugin %s: no ha sido posible añadir un manejador temporizador (no hay "
"suficiente memoria)\n"
#: src/plugins/plugins.c:1077
#: src/plugins/plugins.c:1076
#, c-format
msgid "%s unable to load plugin \"%s\": %s\n"
msgstr "%s no ha sido posible cargar el plugin \"%s\": %s\n"
#: src/plugins/plugins.c:1088
#: src/plugins/plugins.c:1087
#, c-format
msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n"
msgstr ""
"%s símbolo \"plugin_name\" no encontrado en el plugin \"%s\", falló al "
"cargar\n"
#: src/plugins/plugins.c:1099
#: src/plugins/plugins.c:1098
#, c-format
msgid ""
"%s unable to load plugin \"%s\": a plugin with same name already exists\n"
@@ -2222,7 +2222,7 @@ msgstr ""
"%s no ha sido posible cargar el plugin \"%s\": un plugin con el mismo nombre "
"ya existe\n"
#: src/plugins/plugins.c:1111
#: src/plugins/plugins.c:1110
#, c-format
msgid ""
"%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n"
@@ -2230,7 +2230,7 @@ msgstr ""
"%s símbolo \"plugin_description\" no encontrado en el plugin \"%s\", falló "
"al cargar\n"
#: src/plugins/plugins.c:1122
#: src/plugins/plugins.c:1121
#, c-format
msgid ""
"%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n"
@@ -2238,7 +2238,7 @@ msgstr ""
"%s símbolo \"plugin_version\" no encontrado en el plugin \"%s\", falló al "
"cargar\n"
#: src/plugins/plugins.c:1135
#: src/plugins/plugins.c:1134
#, c-format
msgid ""
"%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to "
@@ -2247,33 +2247,33 @@ msgstr ""
"%s función \"weechat_plugin_init\" no encontrada en el plugin \"%s\", falló "
"al cargar\n"
#: src/plugins/plugins.c:1219
#: src/plugins/plugins.c:1218
#, c-format
msgid "Initializing plugin \"%s\" %s\n"
msgstr "Inicializando plugin \"%s\" %s\n"
#: src/plugins/plugins.c:1227
#: src/plugins/plugins.c:1226
#, c-format
msgid "%s unable to initialize plugin \"%s\"\n"
msgstr "%s no ha sido posible inicializar el plugin \"%s\"\n"
#: src/plugins/plugins.c:1238
#: src/plugins/plugins.c:1237
#, c-format
msgid "%s unable to load plugin \"%s\" (not enough memory)\n"
msgstr ""
"%s no ha sido posible cargar el plugin \"%s\" (no hay suficiente memoria)\n"
#: src/plugins/plugins.c:1246
#: src/plugins/plugins.c:1245
#, c-format
msgid "Plugin \"%s\" (%s) loaded.\n"
msgstr "Plugin \"%s\" (%s) cargado.\n"
#: src/plugins/plugins.c:1420 src/plugins/plugins.c:1460
#: src/plugins/plugins.c:1419 src/plugins/plugins.c:1459
#, c-format
msgid "Plugin \"%s\" unloaded.\n"
msgstr "Plugin \"%s\" descargado.\n"
#: src/plugins/plugins.c:1426 src/plugins/plugins.c:1469
#: src/plugins/plugins.c:1425 src/plugins/plugins.c:1468
#: src/common/command.c:3677
#, c-format
msgid "%s plugin \"%s\" not found\n"
@@ -2420,7 +2420,7 @@ msgstr "-M
msgid "server"
msgstr "servidor"
#: src/gui/gui-buffer.c:707
#: src/gui/gui-buffer.c:709
msgid "Not enough memory for new line\n"
msgstr "No hay suficiente memoria para una nueva línea\n"
+22 -22
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.6-cvs\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2007-07-15 19:59+0200\n"
"POT-Creation-Date: 2007-07-18 13:55+0200\n"
"PO-Revision-Date: 2007-07-15 19:59+0200\n"
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2122,7 +2122,7 @@ msgstr "%s pas assez de mémoire pour créer un ignore\n"
msgid "Removing ignore:"
msgstr "Suppression du ignore:"
#: src/plugins/plugins.c:242
#: src/plugins/plugins.c:243
#, c-format
msgid ""
"%s plugin %s: unable to add handler for IRC command \"%s\" (not enough "
@@ -2131,7 +2131,7 @@ msgstr ""
"%s extension %s: impossible d'ajouter la fonction pour la commande IRC \"%s"
"\" (mémoire insuffisante)\n"
#: src/plugins/plugins.c:279
#: src/plugins/plugins.c:280
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (already exists)\n"
@@ -2139,14 +2139,14 @@ msgstr ""
"%s extension %s: impossible d'ajouter la fonction pour la commande \"%s"
"\" (existe déjà)\n"
#: src/plugins/plugins.c:289
#: src/plugins/plugins.c:290
#, c-format
msgid "%s plugin %s: unable to add handler for \"%s\" command (forbidden)\n"
msgstr ""
"%s extension %s: impossible d'ajouter la fonction pour la commande \"%s"
"\" (interdit)\n"
#: src/plugins/plugins.c:331
#: src/plugins/plugins.c:332
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n"
@@ -2154,46 +2154,46 @@ msgstr ""
"%s extension %s: impossible d'ajouter la fonction pour la commande \"%s"
"\" (mémoire insuffisante)\n"
#: src/plugins/plugins.c:388
#: src/plugins/plugins.c:389
#, c-format
msgid "%s plugin %s: unable to add timer handler (not enough memory)\n"
msgstr ""
"%s extension %s: impossible d'ajouter le gestionnaire de temps (mémoire "
"insuffisante)\n"
#: src/plugins/plugins.c:444
#: src/plugins/plugins.c:445
#, c-format
msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n"
msgstr ""
"%s extension %s: impossible d'ajouter le gestionnaire de clavier (mémoire "
"insuffisante)\n"
#: src/plugins/plugins.c:501
#: src/plugins/plugins.c:502
#, c-format
msgid "%s plugin %s: unable to add event handler (not enough memory)\n"
msgstr ""
"%s extension %s: impossible d'ajouter le gestionnaire d'évènement (mémoire "
"insuffisante)\n"
#: src/plugins/plugins.c:845
#: src/plugins/plugins.c:844
#, c-format
msgid "%s plugin %s: unable to add modifier (not enough memory)\n"
msgstr ""
"%s extension %s: impossible d'ajouter le modifieur (mémoire insuffisante)\n"
#: src/plugins/plugins.c:1077
#: src/plugins/plugins.c:1076
#, c-format
msgid "%s unable to load plugin \"%s\": %s\n"
msgstr "%s impossible de charger l'extension \"%s\": %s\n"
#: src/plugins/plugins.c:1088
#: src/plugins/plugins.c:1087
#, c-format
msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n"
msgstr ""
"%s le symbole \"plugin_name\" est introuvable dans l'extension \"%s\", échec "
"de chargement\n"
#: src/plugins/plugins.c:1099
#: src/plugins/plugins.c:1098
#, c-format
msgid ""
"%s unable to load plugin \"%s\": a plugin with same name already exists\n"
@@ -2201,7 +2201,7 @@ msgstr ""
"%s impossible de charger l'extension \"%s\": une extension avec le même nom "
"existe déjà\n"
#: src/plugins/plugins.c:1111
#: src/plugins/plugins.c:1110
#, c-format
msgid ""
"%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n"
@@ -2209,7 +2209,7 @@ msgstr ""
"%s le symbole \"plugin_description\" est introuvable dans l'extension \"%s"
"\", échec de chargement\n"
#: src/plugins/plugins.c:1122
#: src/plugins/plugins.c:1121
#, c-format
msgid ""
"%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n"
@@ -2217,7 +2217,7 @@ msgstr ""
"%s le symbole \"plugin_version\" est introuvable dans l'extension \"%s\", "
"échec de chargement\n"
#: src/plugins/plugins.c:1135
#: src/plugins/plugins.c:1134
#, c-format
msgid ""
"%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to "
@@ -2226,32 +2226,32 @@ msgstr ""
"%s la fonction \"weechat_plugin_init\" est introuvable dans l'extension \"%s"
"\", échec de chargement\n"
#: src/plugins/plugins.c:1219
#: src/plugins/plugins.c:1218
#, c-format
msgid "Initializing plugin \"%s\" %s\n"
msgstr "Initialisation de l'extension \"%s\" %s\n"
#: src/plugins/plugins.c:1227
#: src/plugins/plugins.c:1226
#, c-format
msgid "%s unable to initialize plugin \"%s\"\n"
msgstr "%s impossible d'initialiser l'extension \"%s\"\n"
#: src/plugins/plugins.c:1238
#: src/plugins/plugins.c:1237
#, c-format
msgid "%s unable to load plugin \"%s\" (not enough memory)\n"
msgstr "%s impossible de charger l'extension \"%s\" (mémoire insuffisante)\n"
#: src/plugins/plugins.c:1246
#: src/plugins/plugins.c:1245
#, c-format
msgid "Plugin \"%s\" (%s) loaded.\n"
msgstr "Extension \"%s\" (%s) chargée.\n"
#: src/plugins/plugins.c:1420 src/plugins/plugins.c:1460
#: src/plugins/plugins.c:1419 src/plugins/plugins.c:1459
#, c-format
msgid "Plugin \"%s\" unloaded.\n"
msgstr "Extension \"%s\" déchargée.\n"
#: src/plugins/plugins.c:1426 src/plugins/plugins.c:1469
#: src/plugins/plugins.c:1425 src/plugins/plugins.c:1468
#: src/common/command.c:3677
#, c-format
msgid "%s plugin \"%s\" not found\n"
@@ -2398,7 +2398,7 @@ msgstr "-PLUS-"
msgid "server"
msgstr "serveur"
#: src/gui/gui-buffer.c:707
#: src/gui/gui-buffer.c:709
msgid "Not enough memory for new line\n"
msgstr "Pas assez de mémoire pour une nouvelle ligne !\n"
+22 -22
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.6-cvs\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2007-07-15 19:59+0200\n"
"POT-Creation-Date: 2007-07-18 13:55+0200\n"
"PO-Revision-Date: 2007-06-07 18:02+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2116,7 +2116,7 @@ msgstr "%s nincs elég memória az ignore elkészítéséhez\n"
msgid "Removing ignore:"
msgstr "Ignore eltávolítása:"
#: src/plugins/plugins.c:242
#: src/plugins/plugins.c:243
#, c-format
msgid ""
"%s plugin %s: unable to add handler for IRC command \"%s\" (not enough "
@@ -2125,7 +2125,7 @@ msgstr ""
"%s modul %s: nem sikerült kezelőt lefoglalni a \"%s\" IRC parancshoz (nincs "
"elég memória)\n"
#: src/plugins/plugins.c:279
#: src/plugins/plugins.c:280
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (already exists)\n"
@@ -2133,14 +2133,14 @@ msgstr ""
"%s modul %s: nem sikerült kezelőt rendelni a(z) \"%s\" parancshoz (már "
"létezik)\n"
#: src/plugins/plugins.c:289
#: src/plugins/plugins.c:290
#, c-format
msgid "%s plugin %s: unable to add handler for \"%s\" command (forbidden)\n"
msgstr ""
"%s modul %s: nem sikerült kezelőt rendelni a(z) \"%s\" parancshoz "
"(megtagadva)\n"
#: src/plugins/plugins.c:331
#: src/plugins/plugins.c:332
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n"
@@ -2148,46 +2148,46 @@ msgstr ""
"%s modul %s: nem sikerült kezelőt rendelni a(z) \"%s\" parancshoz (nincs "
"elég memória)\n"
#: src/plugins/plugins.c:388
#: src/plugins/plugins.c:389
#, c-format
msgid "%s plugin %s: unable to add timer handler (not enough memory)\n"
msgstr "%s modul %s: nem sikerült időkezelőt hozzáadni (nincs elég memória)\n"
#: src/plugins/plugins.c:444
#: src/plugins/plugins.c:445
#, c-format
msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n"
msgstr ""
"%s modul %s: billentyűzetvezérlő betöltése sikertelen nincs elég memória)\n"
#: src/plugins/plugins.c:501
#: src/plugins/plugins.c:502
#, fuzzy, c-format
msgid "%s plugin %s: unable to add event handler (not enough memory)\n"
msgstr "%s modul %s: nem sikerült időkezelőt hozzáadni (nincs elég memória)\n"
#: src/plugins/plugins.c:845
#: src/plugins/plugins.c:844
#, c-format
msgid "%s plugin %s: unable to add modifier (not enough memory)\n"
msgstr "%s modul %s: nem sikerült módosítót hozzáadni (nincs elég memória)\n"
#: src/plugins/plugins.c:1077
#: src/plugins/plugins.c:1076
#, c-format
msgid "%s unable to load plugin \"%s\": %s\n"
msgstr "%s nem sikerült a modult betölteni \"%s\": %s\n"
#: src/plugins/plugins.c:1088
#: src/plugins/plugins.c:1087
#, c-format
msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n"
msgstr ""
"%s a \"plugin_name\" szimbólum nem található a \"%s\" modulban, betöltés "
"sikertelen\n"
#: src/plugins/plugins.c:1099
#: src/plugins/plugins.c:1098
#, c-format
msgid ""
"%s unable to load plugin \"%s\": a plugin with same name already exists\n"
msgstr "%s nem sikerült a \"%s\" modult betölteni: már van ilyen nevű modul\n"
#: src/plugins/plugins.c:1111
#: src/plugins/plugins.c:1110
#, c-format
msgid ""
"%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n"
@@ -2195,7 +2195,7 @@ msgstr ""
"%s a \"plugin_description\" szimbólum nem található a \"%s\" modulban, "
"betöltés sikertelen\n"
#: src/plugins/plugins.c:1122
#: src/plugins/plugins.c:1121
#, c-format
msgid ""
"%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n"
@@ -2203,7 +2203,7 @@ msgstr ""
"%s a \"plugin_version\" szimbólum nem található a \"%s\" modulban, betöltés "
"sikertelen\n"
#: src/plugins/plugins.c:1135
#: src/plugins/plugins.c:1134
#, c-format
msgid ""
"%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to "
@@ -2212,32 +2212,32 @@ msgstr ""
"%s a \"weechat_plugin_init\" függvény nem található a \"%s\" modulban, "
"betöltés sikertelen\n"
#: src/plugins/plugins.c:1219
#: src/plugins/plugins.c:1218
#, c-format
msgid "Initializing plugin \"%s\" %s\n"
msgstr "Modul betöltése: \"%s\" %s\n"
#: src/plugins/plugins.c:1227
#: src/plugins/plugins.c:1226
#, c-format
msgid "%s unable to initialize plugin \"%s\"\n"
msgstr "%s nem sikerült a modult betölteni \"%s\"\n"
#: src/plugins/plugins.c:1238
#: src/plugins/plugins.c:1237
#, c-format
msgid "%s unable to load plugin \"%s\" (not enough memory)\n"
msgstr "%s nem sikerült a modult betölteni \"%s\" (nincs elég memória)\n"
#: src/plugins/plugins.c:1246
#: src/plugins/plugins.c:1245
#, c-format
msgid "Plugin \"%s\" (%s) loaded.\n"
msgstr "A \"%s\" (%s) modul betöltve.\n"
#: src/plugins/plugins.c:1420 src/plugins/plugins.c:1460
#: src/plugins/plugins.c:1419 src/plugins/plugins.c:1459
#, c-format
msgid "Plugin \"%s\" unloaded.\n"
msgstr "A \"%s\" modul eltávolítva.\n"
#: src/plugins/plugins.c:1426 src/plugins/plugins.c:1469
#: src/plugins/plugins.c:1425 src/plugins/plugins.c:1468
#: src/common/command.c:3677
#, c-format
msgid "%s plugin \"%s\" not found\n"
@@ -2381,7 +2381,7 @@ msgstr "-TOVÁBB-"
msgid "server"
msgstr "szerver"
#: src/gui/gui-buffer.c:707
#: src/gui/gui-buffer.c:709
msgid "Not enough memory for new line\n"
msgstr "Nincs elég memória az új sorhoz\n"
+22 -22
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.6-cvs\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2007-07-15 19:59+0200\n"
"POT-Creation-Date: 2007-07-18 13:55+0200\n"
"PO-Revision-Date: 2007-06-07 18:02+0200\n"
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2099,7 +2099,7 @@ msgstr "%s недостаточно памяти для создания игн
msgid "Removing ignore:"
msgstr "Удаление игнорирования:"
#: src/plugins/plugins.c:242
#: src/plugins/plugins.c:243
#, c-format
msgid ""
"%s plugin %s: unable to add handler for IRC command \"%s\" (not enough "
@@ -2108,66 +2108,66 @@ msgstr ""
"%s plugin %s: не могу добавить handler для IRC команды \"%s\" (недостаточно "
"памяти)\n"
#: src/plugins/plugins.c:279
#: src/plugins/plugins.c:280
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (already exists)\n"
msgstr "%s plugin %s: не могу добавить handler для \"%s\" (уже существует)\n"
#: src/plugins/plugins.c:289
#: src/plugins/plugins.c:290
#, c-format
msgid "%s plugin %s: unable to add handler for \"%s\" command (forbidden)\n"
msgstr ""
"%s plugin %s: не могу добавить обработчик для команды \"%s\" (запрещено)\n"
#: src/plugins/plugins.c:331
#: src/plugins/plugins.c:332
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n"
msgstr ""
"%s plugin %s: не могу добавить handler для \"%s\" (недостаточно памяти)\n"
#: src/plugins/plugins.c:388
#: src/plugins/plugins.c:389
#, c-format
msgid "%s plugin %s: unable to add timer handler (not enough memory)\n"
msgstr "%s plugin %s: не могу добавить handler (недостаточно памяти)\n"
#: src/plugins/plugins.c:444
#: src/plugins/plugins.c:445
#, c-format
msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n"
msgstr ""
"%s plugin %s: не могу добавить обработчик клавиатуры (недостаточно памяти)\n"
#: src/plugins/plugins.c:501
#: src/plugins/plugins.c:502
#, c-format
msgid "%s plugin %s: unable to add event handler (not enough memory)\n"
msgstr ""
"%s plugin %s: не могу добавить обработчик события (недостаточно памяти)\n"
#: src/plugins/plugins.c:845
#: src/plugins/plugins.c:844
#, c-format
msgid "%s plugin %s: unable to add modifier (not enough memory)\n"
msgstr "%s plugin %s: не могу добавить handler (недостаточно памяти)\n"
#: src/plugins/plugins.c:1077
#: src/plugins/plugins.c:1076
#, c-format
msgid "%s unable to load plugin \"%s\": %s\n"
msgstr "%s не могу загрузить plugin \"%s\": %s\n"
#: src/plugins/plugins.c:1088
#: src/plugins/plugins.c:1087
#, c-format
msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n"
msgstr ""
"%s символ \"plugin_name\" не найден в plugin'е \"%s\", загрузка не удалась\n"
#: src/plugins/plugins.c:1099
#: src/plugins/plugins.c:1098
#, c-format
msgid ""
"%s unable to load plugin \"%s\": a plugin with same name already exists\n"
msgstr ""
"%s не могу загрузить plugin \"%s\": одноимённый plugin уже существует\n"
#: src/plugins/plugins.c:1111
#: src/plugins/plugins.c:1110
#, c-format
msgid ""
"%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n"
@@ -2175,7 +2175,7 @@ msgstr ""
"%s символ \"plugin_description\" не найден в plugin'е \"%s\", загрузка не "
"удалась\n"
#: src/plugins/plugins.c:1122
#: src/plugins/plugins.c:1121
#, c-format
msgid ""
"%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n"
@@ -2183,7 +2183,7 @@ msgstr ""
"%s символ \"plugin_version\" не найден в plugin'е \"%s\", загрузка не "
"удалась\n"
#: src/plugins/plugins.c:1135
#: src/plugins/plugins.c:1134
#, c-format
msgid ""
"%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to "
@@ -2192,32 +2192,32 @@ msgstr ""
"%s функция \"weechat_plugin_init\" не найдена в plugin'е \"%s\", загрузка не "
"удалась\n"
#: src/plugins/plugins.c:1219
#: src/plugins/plugins.c:1218
#, c-format
msgid "Initializing plugin \"%s\" %s\n"
msgstr "Запускаю plugin \"%s\" %s\n"
#: src/plugins/plugins.c:1227
#: src/plugins/plugins.c:1226
#, c-format
msgid "%s unable to initialize plugin \"%s\"\n"
msgstr "%s не могу инициализировать plugin \"%s\"\n"
#: src/plugins/plugins.c:1238
#: src/plugins/plugins.c:1237
#, c-format
msgid "%s unable to load plugin \"%s\" (not enough memory)\n"
msgstr "%s не могу загрузить plugin \"%s\" (недостаточно памяти)\n"
#: src/plugins/plugins.c:1246
#: src/plugins/plugins.c:1245
#, c-format
msgid "Plugin \"%s\" (%s) loaded.\n"
msgstr "Plugin \"%s\" (%s) загружен.\n"
#: src/plugins/plugins.c:1420 src/plugins/plugins.c:1460
#: src/plugins/plugins.c:1419 src/plugins/plugins.c:1459
#, c-format
msgid "Plugin \"%s\" unloaded.\n"
msgstr "Plugin \"%s\" выгружен.\n"
#: src/plugins/plugins.c:1426 src/plugins/plugins.c:1469
#: src/plugins/plugins.c:1425 src/plugins/plugins.c:1468
#: src/common/command.c:3677
#, c-format
msgid "%s plugin \"%s\" not found\n"
@@ -2362,7 +2362,7 @@ msgstr "-ДАЛЬШЕ-"
msgid "server"
msgstr "сервер"
#: src/gui/gui-buffer.c:707
#: src/gui/gui-buffer.c:709
msgid "Not enough memory for new line\n"
msgstr "Недостаточно памяти для новой строчки\n"
+22 -22
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: 2007-07-15 19:59+0200\n"
"POT-Creation-Date: 2007-07-18 13:55+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"
@@ -1987,111 +1987,111 @@ msgstr ""
msgid "Removing ignore:"
msgstr ""
#: src/plugins/plugins.c:242
#: src/plugins/plugins.c:243
#, c-format
msgid ""
"%s plugin %s: unable to add handler for IRC command \"%s\" (not enough "
"memory)\n"
msgstr ""
#: src/plugins/plugins.c:279
#: src/plugins/plugins.c:280
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (already exists)\n"
msgstr ""
#: src/plugins/plugins.c:289
#: src/plugins/plugins.c:290
#, c-format
msgid "%s plugin %s: unable to add handler for \"%s\" command (forbidden)\n"
msgstr ""
#: src/plugins/plugins.c:331
#: src/plugins/plugins.c:332
#, c-format
msgid ""
"%s plugin %s: unable to add handler for \"%s\" command (not enough memory)\n"
msgstr ""
#: src/plugins/plugins.c:388
#: src/plugins/plugins.c:389
#, c-format
msgid "%s plugin %s: unable to add timer handler (not enough memory)\n"
msgstr ""
#: src/plugins/plugins.c:444
#: src/plugins/plugins.c:445
#, c-format
msgid "%s plugin %s: unable to add keyboard handler (not enough memory)\n"
msgstr ""
#: src/plugins/plugins.c:501
#: src/plugins/plugins.c:502
#, c-format
msgid "%s plugin %s: unable to add event handler (not enough memory)\n"
msgstr ""
#: src/plugins/plugins.c:845
#: src/plugins/plugins.c:844
#, c-format
msgid "%s plugin %s: unable to add modifier (not enough memory)\n"
msgstr ""
#: src/plugins/plugins.c:1077
#: src/plugins/plugins.c:1076
#, c-format
msgid "%s unable to load plugin \"%s\": %s\n"
msgstr ""
#: src/plugins/plugins.c:1088
#: src/plugins/plugins.c:1087
#, c-format
msgid "%s symbol \"plugin_name\" not found in plugin \"%s\", failed to load\n"
msgstr ""
#: src/plugins/plugins.c:1099
#: src/plugins/plugins.c:1098
#, c-format
msgid ""
"%s unable to load plugin \"%s\": a plugin with same name already exists\n"
msgstr ""
#: src/plugins/plugins.c:1111
#: src/plugins/plugins.c:1110
#, c-format
msgid ""
"%s symbol \"plugin_description\" not found in plugin \"%s\", failed to load\n"
msgstr ""
#: src/plugins/plugins.c:1122
#: src/plugins/plugins.c:1121
#, c-format
msgid ""
"%s symbol \"plugin_version\" not found in plugin \"%s\", failed to load\n"
msgstr ""
#: src/plugins/plugins.c:1135
#: src/plugins/plugins.c:1134
#, c-format
msgid ""
"%s function \"weechat_plugin_init\" not found in plugin \"%s\", failed to "
"load\n"
msgstr ""
#: src/plugins/plugins.c:1219
#: src/plugins/plugins.c:1218
#, c-format
msgid "Initializing plugin \"%s\" %s\n"
msgstr ""
#: src/plugins/plugins.c:1227
#: src/plugins/plugins.c:1226
#, c-format
msgid "%s unable to initialize plugin \"%s\"\n"
msgstr ""
#: src/plugins/plugins.c:1238
#: src/plugins/plugins.c:1237
#, c-format
msgid "%s unable to load plugin \"%s\" (not enough memory)\n"
msgstr ""
#: src/plugins/plugins.c:1246
#: src/plugins/plugins.c:1245
#, c-format
msgid "Plugin \"%s\" (%s) loaded.\n"
msgstr ""
#: src/plugins/plugins.c:1420 src/plugins/plugins.c:1460
#: src/plugins/plugins.c:1419 src/plugins/plugins.c:1459
#, c-format
msgid "Plugin \"%s\" unloaded.\n"
msgstr ""
#: src/plugins/plugins.c:1426 src/plugins/plugins.c:1469
#: src/plugins/plugins.c:1425 src/plugins/plugins.c:1468
#: src/common/command.c:3677
#, c-format
msgid "%s plugin \"%s\" not found\n"
@@ -2231,7 +2231,7 @@ msgstr ""
msgid "server"
msgstr ""
#: src/gui/gui-buffer.c:707
#: src/gui/gui-buffer.c:709
msgid "Not enough memory for new line\n"
msgstr ""
+15 -2
View File
@@ -679,6 +679,9 @@ weechat_dump (int crash)
t_irc_nick *ptr_nick;
t_gui_window *ptr_window;
t_gui_buffer *ptr_buffer;
#ifdef PLUGINS
t_weechat_plugin *ptr_plugin;
#endif
/* prevent reentrance */
if (sigsegv)
@@ -747,7 +750,8 @@ weechat_dump (int crash)
gui_window_print_log (ptr_window);
}
for (ptr_buffer = gui_buffers; ptr_buffer; ptr_buffer = ptr_buffer->next_buffer)
for (ptr_buffer = gui_buffers; ptr_buffer;
ptr_buffer = ptr_buffer->next_buffer)
{
weechat_log_printf ("\n");
gui_buffer_print_log (ptr_buffer);
@@ -755,10 +759,19 @@ weechat_dump (int crash)
weechat_log_printf ("\n");
irc_ignore_print_log ();
weechat_log_printf ("\n");
hotlist_print_log ();
#ifdef PLUGINS
for (ptr_plugin = weechat_plugins; ptr_plugin;
ptr_plugin = ptr_plugin->next_plugin)
{
weechat_log_printf ("\n");
plugin_print_log (ptr_plugin);
}
#endif
weechat_log_printf ("\n");
weechat_log_printf ("****** End of dump ******\n");
weechat_log_printf ("\n");
+20 -4
View File
@@ -87,7 +87,7 @@ gui_buffer_new (t_gui_window *window, void *server, void *channel, int type,
{
t_gui_buffer *new_buffer, *ptr_buffer;
#ifdef PLUGINS
char buffer_str[16];
char buffer_str[16], *argv[1] = { NULL };
#endif
#ifdef DEBUG
@@ -243,7 +243,8 @@ gui_buffer_new (t_gui_window *window, void *server, void *channel, int type,
#ifdef PLUGINS
snprintf (buffer_str, sizeof (buffer_str) - 1, "%d", new_buffer->number);
(void) plugin_event_handler_exec ("buffer_open", buffer_str);
argv[0] = buffer_str;
(void) plugin_event_handler_exec ("buffer_open", 1, argv);
#endif
}
else
@@ -572,12 +573,13 @@ gui_buffer_free (t_gui_buffer *buffer, int switch_to_another)
t_irc_server *ptr_server;
int create_new;
#ifdef PLUGINS
char buffer_str[16];
char buffer_str[16], *argv[1] = { NULL };
#endif
#ifdef PLUGINS
snprintf (buffer_str, sizeof (buffer_str) - 1, "%d", buffer->number);
(void) plugin_event_handler_exec ("buffer_close", buffer_str);
argv[0] = buffer_str;
(void) plugin_event_handler_exec ("buffer_close", 1, argv);
#endif
create_new = (buffer->server || buffer->channel);
@@ -985,6 +987,9 @@ gui_buffer_move_to_number (t_gui_buffer *buffer, int number)
{
t_gui_buffer *ptr_buffer;
int i;
#ifdef PLUGINS
char buf1_str[16], buf2_str[16], *argv[2] = { NULL, NULL };
#endif
/* if only one buffer then return */
if (gui_buffers == last_gui_buffer)
@@ -996,6 +1001,10 @@ gui_buffer_move_to_number (t_gui_buffer *buffer, int number)
if (number < 1)
number = 1;
#ifdef PLUGINS
snprintf (buf2_str, sizeof (buf2_str) - 1, "%d", buffer->number);
#endif
/* remove buffer from list */
if (buffer == gui_buffers)
@@ -1063,6 +1072,13 @@ gui_buffer_move_to_number (t_gui_buffer *buffer, int number)
}
gui_window_redraw_buffer (buffer);
#ifdef PLUGINS
snprintf (buf1_str, sizeof (buf1_str) - 1, "%d", buffer->number);
argv[0] = buf1_str;
argv[1] = buf2_str;
(void) plugin_event_handler_exec ("buffer_move", 2, argv);
#endif
}
/*
+71 -6
View File
@@ -37,6 +37,7 @@
#include "plugins.h"
#include "plugins-config.h"
#include "../common/command.h"
#include "../common/log.h"
#include "../common/util.h"
#include "../common/weeconfig.h"
#include "../irc/irc.h"
@@ -696,14 +697,11 @@ plugin_keyboard_handler_exec (char *key, char *input_before, char *input_after)
*/
int
plugin_event_handler_exec (char *event, char *data)
plugin_event_handler_exec (char *event, int argc, char **argv)
{
t_weechat_plugin *ptr_plugin;
t_plugin_handler *ptr_handler;
int return_code, final_return_code;
char *argv[1] = { NULL };
argv[0] = data;
final_return_code = PLUGIN_RC_OK;
@@ -717,7 +715,7 @@ plugin_event_handler_exec (char *event, char *data)
&& (ascii_strcasecmp (ptr_handler->event, event) == 0))
{
return_code = ((int) (ptr_handler->handler) (ptr_plugin,
1, argv,
argc, argv,
ptr_handler->handler_args,
ptr_handler->handler_pointer));
if (return_code == PLUGIN_RC_KO)
@@ -823,7 +821,8 @@ plugin_modifier_add (t_weechat_plugin *plugin, char *type, char *command,
if (new_modifier)
{
new_modifier->type = type_int;
new_modifier->command = (command) ? strdup (command) : strdup ("*");
new_modifier->command = (command && command[0]) ?
strdup (command) : strdup ("*");
new_modifier->modifier = modifier_func;
new_modifier->modifier_args = (modifier_args) ? strdup (modifier_args) : NULL;
new_modifier->modifier_pointer = modifier_pointer;
@@ -1499,3 +1498,69 @@ plugin_end ()
/* unload all plugins */
plugin_unload_all ();
}
/*
* plugin_print_log: print plugin infos in log (usually for crash dump)
*/
void
plugin_print_log (t_weechat_plugin *plugin)
{
t_plugin_handler *ptr_handler;
t_plugin_modifier *ptr_modifier;
weechat_log_printf ("[plugin (addr:0x%X)]\n", plugin);
weechat_log_printf (" filename . . . . . . . : '%s'\n", plugin->filename);
weechat_log_printf (" handle . . . . . . . . : 0x%X\n", plugin->handle);
weechat_log_printf (" name . . . . . . . . . : '%s'\n", plugin->name);
weechat_log_printf (" description. . . . . . : '%s'\n", plugin->description);
weechat_log_printf (" version. . . . . . . . : '%s'\n", plugin->version);
weechat_log_printf (" charset. . . . . . . . : '%s'\n", plugin->charset);
weechat_log_printf (" handlers . . . . . . . : 0x%X\n", plugin->handlers);
weechat_log_printf (" last_handler . . . . . : 0x%X\n", plugin->last_handler);
weechat_log_printf (" modifiers. . . . . . . : 0x%X\n", plugin->modifiers);
weechat_log_printf (" last_modifier. . . . . : 0x%X\n", plugin->last_modifier);
weechat_log_printf (" prev_plugin. . . . . . : 0x%X\n", plugin->prev_plugin);
weechat_log_printf (" next_plugin. . . . . . : 0x%X\n", plugin->next_plugin);
weechat_log_printf ("\n");
weechat_log_printf (" => handlers:\n");
for (ptr_handler = plugin->handlers; ptr_handler;
ptr_handler = ptr_handler->next_handler)
{
weechat_log_printf ("\n");
weechat_log_printf (" [handler (addr:0x%X)]\n", ptr_handler);
weechat_log_printf (" type . . . . . . . . : %d\n", ptr_handler->type);
weechat_log_printf (" irc_command. . . . . : '%s'\n", ptr_handler->irc_command);
weechat_log_printf (" command. . . . . . . : '%s'\n", ptr_handler->command);
weechat_log_printf (" description. . . . . : '%s'\n", ptr_handler->description);
weechat_log_printf (" arguments. . . . . . : '%s'\n", ptr_handler->arguments);
weechat_log_printf (" arguments_description: '%s'\n", ptr_handler->arguments_description);
weechat_log_printf (" completion_template. : '%s'\n", ptr_handler->completion_template);
weechat_log_printf (" interval . . . . . . : %d\n", ptr_handler->interval);
weechat_log_printf (" remaining. . . . . . : %d\n", ptr_handler->remaining);
weechat_log_printf (" event. . . . . . . . : '%s'\n", ptr_handler->event);
weechat_log_printf (" handler_args . . . . : '%s'\n", ptr_handler->handler_args);
weechat_log_printf (" handler_pointer. . . : 0x%X\n", ptr_handler->handler_pointer);
weechat_log_printf (" running. . . . . . . : %d\n", ptr_handler->running);
weechat_log_printf (" prev_handler . . . . : 0x%X\n", ptr_handler->prev_handler);
weechat_log_printf (" next_handler . . . . : 0x%X\n", ptr_handler->next_handler);
}
weechat_log_printf ("\n");
weechat_log_printf (" => modifiers:\n");
for (ptr_modifier = plugin->modifiers; ptr_modifier;
ptr_modifier = ptr_modifier->next_modifier)
{
weechat_log_printf ("\n");
weechat_log_printf (" [modifier (addr:0x%X)]\n", ptr_modifier);
weechat_log_printf (" type . . . . . . . . : %d\n", ptr_modifier->type);
weechat_log_printf (" command. . . . . . . : '%s'\n", ptr_modifier->command);
weechat_log_printf (" modifier . . . . . . : 0x%X\n", ptr_modifier->modifier);
weechat_log_printf (" modifier_args. . . . : '%s'\n", ptr_modifier->modifier_args);
weechat_log_printf (" modifier_pointer . . : 0x%X\n", ptr_modifier->modifier_pointer);
weechat_log_printf (" running. . . . . . . : %d\n", ptr_modifier->running);
weechat_log_printf (" prev_modifier. . . . : 0x%X\n", ptr_modifier->prev_modifier);
weechat_log_printf (" next_modifier. . . . : 0x%X\n", ptr_modifier->next_modifier);
}
}
+2 -1
View File
@@ -67,7 +67,7 @@ extern int plugin_msg_handler_exec (char *, char *, char *);
extern int plugin_cmd_handler_exec (char *, char *, char *);
extern int plugin_timer_handler_exec ();
extern int plugin_keyboard_handler_exec (char *, char *, char *);
extern int plugin_event_handler_exec (char *, char *);
extern int plugin_event_handler_exec (char *, int, char **);
extern void plugin_handler_remove (t_weechat_plugin *,
t_plugin_handler *);
extern void plugin_handler_remove_all (t_weechat_plugin *);
@@ -88,5 +88,6 @@ extern void plugin_unload_all ();
extern void plugin_reload_name (char *);
extern void plugin_init (int);
extern void plugin_end ();
extern void plugin_print_log (t_weechat_plugin *);
#endif /* plugins.h */
+22 -1
View File
@@ -215,7 +215,10 @@ weechat_lua_event_handler (t_weechat_plugin *plugin,
{
r = (int *) weechat_lua_exec (plugin, (t_plugin_script *)handler_pointer,
SCRIPT_EXEC_INT,
handler_args, argv[0], NULL, NULL);
handler_args,
argv[0],
(argc >= 2) ? argv[1] : NULL,
(argc >= 3) ? argv[2] : NULL);
if (r == NULL)
ret = PLUGIN_RC_KO;
else
@@ -768,6 +771,24 @@ weechat_lua_add_command_handler (lua_State *L)
command = lua_tostring (lua_current_interpreter, -2);
function = lua_tostring (lua_current_interpreter, -1);
break;
case 3:
command = lua_tostring (lua_current_interpreter, -3);
function = lua_tostring (lua_current_interpreter, -2);
description = lua_tostring (lua_current_interpreter, -1);
break;
case 4:
command = lua_tostring (lua_current_interpreter, -4);
function = lua_tostring (lua_current_interpreter, -3);
description = lua_tostring (lua_current_interpreter, -2);
arguments = lua_tostring (lua_current_interpreter, -1);
break;
case 5:
command = lua_tostring (lua_current_interpreter, -5);
function = lua_tostring (lua_current_interpreter, -4);
description = lua_tostring (lua_current_interpreter, -3);
arguments = lua_tostring (lua_current_interpreter, -2);
arguments_description = lua_tostring (lua_current_interpreter, -1);
break;
case 6:
command = lua_tostring (lua_current_interpreter, -6);
function = lua_tostring (lua_current_interpreter, -5);
@@ -336,7 +336,10 @@ weechat_perl_event_handler (t_weechat_plugin *plugin,
{
r = (int *) weechat_perl_exec (plugin, (t_plugin_script *)handler_pointer,
SCRIPT_EXEC_INT,
handler_args, argv[0], NULL, NULL);
handler_args,
argv[0],
(argc >= 2) ? argv[1] : NULL,
(argc >= 3) ? argv[2] : NULL);
if (r == NULL)
ret = PLUGIN_RC_KO;
else
@@ -257,7 +257,10 @@ weechat_python_event_handler (t_weechat_plugin *plugin,
{
r = (int *) weechat_python_exec (plugin, (t_plugin_script *)handler_pointer,
SCRIPT_EXEC_INT,
handler_args, argv[0], NULL, NULL);
handler_args,
argv[0],
(argc >= 2) ? argv[1] : NULL,
(argc >= 3) ? argv[2] : NULL);
if (r == NULL)
ret = PLUGIN_RC_KO;
else
@@ -296,7 +296,10 @@ weechat_ruby_event_handler (t_weechat_plugin *plugin,
{
r = (int *) weechat_ruby_exec (plugin, (t_plugin_script *)handler_pointer,
SCRIPT_EXEC_INT,
handler_args, argv[0], NULL, NULL);
handler_args,
argv[0],
(argc >= 2) ? argv[1] : NULL,
(argc >= 3) ? argv[2] : NULL);
if (r == NULL)
ret = PLUGIN_RC_KO;
else