mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
Rename command /silence to /mute
This commit is contained in:
@@ -7,7 +7,7 @@ v0.3.2-dev, 2010-02-09
|
||||
Version 0.3.2 (under dev!)
|
||||
--------------------------
|
||||
* core: add signal "day_changed"
|
||||
* core: add new command /silence
|
||||
* core: add new command /mute
|
||||
* core: remove unneeded space after time on each line if option
|
||||
weechat.look.buffer_time_format is set to empty value (bug #28751)
|
||||
* core: add option "switch_active_buffer_previous" for command /input
|
||||
|
||||
@@ -190,6 +190,25 @@
|
||||
Without argument, this command displays saved layout.
|
||||
........................................
|
||||
|
||||
• *`/mute`* `[-current | -buffer name | -all] command`::
|
||||
|
||||
........................................
|
||||
execute a command silently
|
||||
|
||||
-current: no output on curent buffer
|
||||
-buffer: no output on specified buffer
|
||||
name: full buffer name (examples: "irc.server.freenode", "irc.freenode.#weechat")
|
||||
-all: no output on ALL buffers
|
||||
command: command to execute silently (a '/' is automatically added if not found at beginning of command)
|
||||
|
||||
If no target is specified (-current, -buffer or -all), then default is to mute WeeChat core buffer only.
|
||||
|
||||
Examples:
|
||||
config save: /mute save
|
||||
message to current IRC channel: /mute -current msg * hi!
|
||||
message to #weechat channel: /mute -buffer irc.freenode.#weechat msg #weechat hi!
|
||||
........................................
|
||||
|
||||
• *`/plugin`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
|
||||
|
||||
........................................
|
||||
@@ -281,25 +300,6 @@
|
||||
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
|
||||
........................................
|
||||
|
||||
• *`/silence`* `[-current | -buffer name | -all] command`::
|
||||
|
||||
........................................
|
||||
execute a command silently
|
||||
|
||||
-current: no output on curent buffer
|
||||
-buffer: no output on specified buffer
|
||||
name: full buffer name (examples: "irc.server.freenode", "irc.freenode.#weechat")
|
||||
-all: no output on ALL buffers
|
||||
command: command to execute silently (a '/' is automatically added if not found at beginning of command)
|
||||
|
||||
If no target is specified (-current, -buffer or -all), then default is to silence WeeChat core buffer only.
|
||||
|
||||
Examples:
|
||||
config save: /silence save
|
||||
message to current IRC channel: /silence -current msg * hi!
|
||||
message to #weechat channel: /silence -buffer irc.freenode.#weechat msg #weechat hi!
|
||||
........................................
|
||||
|
||||
• *`/unset`* `[option]`::
|
||||
|
||||
........................................
|
||||
|
||||
@@ -190,6 +190,25 @@
|
||||
Sans paramètre, cette commande affiche la disposition sauvegardée.
|
||||
........................................
|
||||
|
||||
• *`/mute`* `[-current | -buffer nom | -all] commande`::
|
||||
|
||||
........................................
|
||||
exécuter une commande silencieusement
|
||||
|
||||
-current: pas d'affichage sur le tampon courant
|
||||
-buffer: pas d'affichage sur le tampon spécifié
|
||||
nom: nom complet du tampon (exemples: "irc.server.freenode", "irc.freenode.#weechat")
|
||||
-all: pas d'affichage sur TOUS les tampons
|
||||
commande: commande à exécuter silencieusement (un '/' est automatiquement ajouté s'il n'est pas trouvé au début de la commande)
|
||||
|
||||
Si aucune cible n'est spécifiée (-current, -buffer ou -all), alors par défaut seul le tampon core WeeChat sera silencieux.
|
||||
|
||||
Exemples:
|
||||
sauvegarde configuration: /mute save
|
||||
message au canal IRC courant: /mute -current msg * bonjour !
|
||||
message au canal #weechat: /mute -buffer irc.freenode.#weechat msg #weechat bonjour !
|
||||
........................................
|
||||
|
||||
• *`/plugin`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload [nom]] | [unload [nom]]`::
|
||||
|
||||
........................................
|
||||
@@ -281,25 +300,6 @@
|
||||
Pour tous les types, vous pouvez utiliser null pour supprimer la valeur de l'option (valeur non définie). Cela ne fonctionne qu'avec certaines options spéciales des extensions.
|
||||
........................................
|
||||
|
||||
• *`/silence`* `[-current | -buffer nom | -all] commande`::
|
||||
|
||||
........................................
|
||||
exécuter une commande silencieusement
|
||||
|
||||
-current: pas d'affichage sur le tampon courant
|
||||
-buffer: pas d'affichage sur le tampon spécifié
|
||||
nom: nom complet du tampon (exemples: "irc.server.freenode", "irc.freenode.#weechat")
|
||||
-all: pas d'affichage sur TOUS les tampons
|
||||
commande: commande à exécuter silencieusement (un '/' est automatiquement ajouté s'il n'est pas trouvé au début de la commande)
|
||||
|
||||
Si aucune cible n'est spécifiée (-current, -buffer ou -all), alors par défaut seul le tampon core WeeChat sera silencieux.
|
||||
|
||||
Exemples:
|
||||
sauvegarde configuration: /silence save
|
||||
message au canal IRC courant: /silence -current msg * bonjour !
|
||||
message au canal #weechat: /silence -buffer irc.freenode.#weechat msg #weechat bonjour !
|
||||
........................................
|
||||
|
||||
• *`/unset`* `[option]`::
|
||||
|
||||
........................................
|
||||
|
||||
@@ -190,6 +190,25 @@
|
||||
Senza argomenti, il comando visualizza il layout salvato.
|
||||
........................................
|
||||
|
||||
• *`/mute`* `[-current | -buffer name | -all] command`::
|
||||
|
||||
........................................
|
||||
execute a command silently
|
||||
|
||||
-current: no output on curent buffer
|
||||
-buffer: no output on specified buffer
|
||||
name: full buffer name (examples: "irc.server.freenode", "irc.freenode.#weechat")
|
||||
-all: no output on ALL buffers
|
||||
command: command to execute silently (a '/' is automatically added if not found at beginning of command)
|
||||
|
||||
If no target is specified (-current, -buffer or -all), then default is to mute WeeChat core buffer only.
|
||||
|
||||
Examples:
|
||||
config save: /mute save
|
||||
message to current IRC channel: /mute -current msg * hi!
|
||||
message to #weechat channel: /mute -buffer irc.freenode.#weechat msg #weechat hi!
|
||||
........................................
|
||||
|
||||
• *`/plugin`* `[list [nome]] | [listfull [nome]] | [load file] | [autoload] | [reload [nome]] | [unload [nome]]`::
|
||||
|
||||
........................................
|
||||
@@ -281,25 +300,6 @@
|
||||
Per tutti i tipi, è possibile utilizzare un valore nullo per eliminare il valore dell'opzione (non definito). Funziona solo per alcune variabili speciali dei plugin.
|
||||
........................................
|
||||
|
||||
• *`/silence`* `[-current | -buffer name | -all] command`::
|
||||
|
||||
........................................
|
||||
execute a command silently
|
||||
|
||||
-current: no output on curent buffer
|
||||
-buffer: no output on specified buffer
|
||||
name: full buffer name (examples: "irc.server.freenode", "irc.freenode.#weechat")
|
||||
-all: no output on ALL buffers
|
||||
command: command to execute silently (a '/' is automatically added if not found at beginning of command)
|
||||
|
||||
If no target is specified (-current, -buffer or -all), then default is to silence WeeChat core buffer only.
|
||||
|
||||
Examples:
|
||||
config save: /silence save
|
||||
message to current IRC channel: /silence -current msg * hi!
|
||||
message to #weechat channel: /silence -buffer irc.freenode.#weechat msg #weechat hi!
|
||||
........................................
|
||||
|
||||
• *`/unset`* `[opzione]`::
|
||||
|
||||
........................................
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-09 12:33+0100\n"
|
||||
"POT-Creation-Date: 2010-02-09 13:15+0100\n"
|
||||
"PO-Revision-Date: 2010-01-23 11:56+0100\n"
|
||||
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1101,6 +1101,32 @@ msgstr ""
|
||||
"\n"
|
||||
"Pokud je tento příkaz spuštěn bez argumentů je zobrazeno uložené rozložení."
|
||||
|
||||
#, fuzzy
|
||||
msgid "execute a command silently"
|
||||
msgstr "příkazy weechat"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"mute WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /mute save\n"
|
||||
" message to current IRC channel: /mute -current msg * hi!\n"
|
||||
" message to #weechat channel: /mute -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
msgid "list/load/unload plugins"
|
||||
msgstr "seznam/načíst/odebrat pluginy"
|
||||
|
||||
@@ -1265,32 +1291,6 @@ msgstr ""
|
||||
"(nedefinovaná hodnota).To však funguje jen pro některé speciální proměnné "
|
||||
"pluginů."
|
||||
|
||||
#, fuzzy
|
||||
msgid "execute a command silently"
|
||||
msgstr "příkazy weechat"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"silence WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /silence save\n"
|
||||
" message to current IRC channel: /silence -current msg * hi!\n"
|
||||
" message to #weechat channel: /silence -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
msgid "unset/reset config options"
|
||||
msgstr "odnastavit/resetovat konfigurační možnosti"
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-09 12:33+0100\n"
|
||||
"POT-Creation-Date: 2010-02-09 13:15+0100\n"
|
||||
"PO-Revision-Date: 2010-01-26 22:35+0100\n"
|
||||
"Last-Translator: Nils G <weechatter@arcor.de>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1146,6 +1146,32 @@ msgstr ""
|
||||
"Wird der Befehl ohne Argumente aufgerufen wird das gespeicherte Layout "
|
||||
"dargestellt."
|
||||
|
||||
#, fuzzy
|
||||
msgid "execute a command silently"
|
||||
msgstr "WeeChat Befehle"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"mute WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /mute save\n"
|
||||
" message to current IRC channel: /mute -current msg * hi!\n"
|
||||
" message to #weechat channel: /mute -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
msgid "list/load/unload plugins"
|
||||
msgstr "Erweiterungen verwalten (auflisten/installieren/deinstallieren)"
|
||||
|
||||
@@ -1318,32 +1344,6 @@ msgstr ""
|
||||
"genutzt werden um den Wert der Option zu löschen (undefinierter Wert). Dies "
|
||||
"kann nur bei einigen Erweiterungen genutzt werden."
|
||||
|
||||
#, fuzzy
|
||||
msgid "execute a command silently"
|
||||
msgstr "WeeChat Befehle"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"silence WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /silence save\n"
|
||||
" message to current IRC channel: /silence -current msg * hi!\n"
|
||||
" message to #weechat channel: /silence -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
msgid "unset/reset config options"
|
||||
msgstr "Konfigurationsparameter freigeben/zurücksetzen"
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-09 12:33+0100\n"
|
||||
"POT-Creation-Date: 2010-02-09 13:15+0100\n"
|
||||
"PO-Revision-Date: 2010-01-23 11:56+0100\n"
|
||||
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1114,6 +1114,32 @@ msgstr ""
|
||||
"\n"
|
||||
"Sin ningún argumento, este comando muestra el esquema guardado."
|
||||
|
||||
#, fuzzy
|
||||
msgid "execute a command silently"
|
||||
msgstr "comandos de weechat"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"mute WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /mute save\n"
|
||||
" message to current IRC channel: /mute -current msg * hi!\n"
|
||||
" message to #weechat channel: /mute -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
msgid "list/load/unload plugins"
|
||||
msgstr "listar/cargar/descargar plugins"
|
||||
|
||||
@@ -1281,32 +1307,6 @@ msgstr ""
|
||||
"Para todos los tipos, puedes usar null para remover el valor de la opción "
|
||||
"(valor indefinido). Esto solo funciona para algunas variables especiales."
|
||||
|
||||
#, fuzzy
|
||||
msgid "execute a command silently"
|
||||
msgstr "comandos de weechat"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"silence WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /silence save\n"
|
||||
" message to current IRC channel: /silence -current msg * hi!\n"
|
||||
" message to #weechat channel: /silence -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
msgid "unset/reset config options"
|
||||
msgstr "deshacer/reiniciar opciones de configuración"
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-09 12:33+0100\n"
|
||||
"PO-Revision-Date: 2010-02-09 12:35+0100\n"
|
||||
"POT-Creation-Date: 2010-02-09 13:15+0100\n"
|
||||
"PO-Revision-Date: 2010-02-09 13:16+0100\n"
|
||||
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -1114,6 +1114,47 @@ msgstr ""
|
||||
"\n"
|
||||
"Sans paramètre, cette commande affiche la disposition sauvegardée."
|
||||
|
||||
msgid "execute a command silently"
|
||||
msgstr "exécuter une commande silencieusement"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr "[-current | -buffer nom | -all] commande"
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"mute WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /mute save\n"
|
||||
" message to current IRC channel: /mute -current msg * hi!\n"
|
||||
" message to #weechat channel: /mute -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
"-current: pas d'affichage sur le tampon courant\n"
|
||||
" -buffer: pas d'affichage sur le tampon spécifié\n"
|
||||
" nom: nom complet du tampon (exemples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: pas d'affichage sur TOUS les tampons\n"
|
||||
"commande: commande à exécuter silencieusement (un '/' est automatiquement "
|
||||
"ajouté s'il n'est pas trouvé au début de la commande)\n"
|
||||
"\n"
|
||||
"Si aucune cible n'est spécifiée (-current, -buffer ou -all), alors par "
|
||||
"défaut seul le tampon core WeeChat sera silencieux.\n"
|
||||
"\n"
|
||||
"Exemples:\n"
|
||||
" sauvegarde configuration: /mute save\n"
|
||||
" message au canal IRC courant: /mute -current msg * bonjour !\n"
|
||||
" message au canal #weechat: /mute -buffer irc.freenode.#weechat msg "
|
||||
"#weechat bonjour !"
|
||||
|
||||
msgid "list/load/unload plugins"
|
||||
msgstr "liste/charge/décharge des extensions"
|
||||
|
||||
@@ -1281,47 +1322,6 @@ msgstr ""
|
||||
"l'option (valeur non définie). Cela ne fonctionne qu'avec certaines options "
|
||||
"spéciales des extensions."
|
||||
|
||||
msgid "execute a command silently"
|
||||
msgstr "exécuter une commande silencieusement"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr "[-current | -buffer nom | -all] commande"
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"silence WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /silence save\n"
|
||||
" message to current IRC channel: /silence -current msg * hi!\n"
|
||||
" message to #weechat channel: /silence -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
"-current: pas d'affichage sur le tampon courant\n"
|
||||
" -buffer: pas d'affichage sur le tampon spécifié\n"
|
||||
" nom: nom complet du tampon (exemples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: pas d'affichage sur TOUS les tampons\n"
|
||||
"commande: commande à exécuter silencieusement (un '/' est automatiquement "
|
||||
"ajouté s'il n'est pas trouvé au début de la commande)\n"
|
||||
"\n"
|
||||
"Si aucune cible n'est spécifiée (-current, -buffer ou -all), alors par "
|
||||
"défaut seul le tampon core WeeChat sera silencieux.\n"
|
||||
"\n"
|
||||
"Exemples:\n"
|
||||
" sauvegarde configuration: /silence save\n"
|
||||
" message au canal IRC courant: /silence -current msg * bonjour !\n"
|
||||
" message au canal #weechat: /silence -buffer irc.freenode.#weechat msg "
|
||||
"#weechat bonjour !"
|
||||
|
||||
msgid "unset/reset config options"
|
||||
msgstr "supprimer/réinitialiser des options de configuration"
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-09 12:33+0100\n"
|
||||
"POT-Creation-Date: 2010-02-09 13:15+0100\n"
|
||||
"PO-Revision-Date: 2010-01-23 11:57+0100\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1058,6 +1058,32 @@ msgid ""
|
||||
"Without argument, this command displays saved layout."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "execute a command silently"
|
||||
msgstr "%s belső parancsok:\n"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"mute WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /mute save\n"
|
||||
" message to current IRC channel: /mute -current msg * hi!\n"
|
||||
" message to #weechat channel: /mute -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
msgid "list/load/unload plugins"
|
||||
msgstr "modulok listázása/betöltése/eltávolítása"
|
||||
|
||||
@@ -1184,32 +1210,6 @@ msgid ""
|
||||
"This works only for some special plugin variables."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "execute a command silently"
|
||||
msgstr "%s belső parancsok:\n"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"silence WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /silence save\n"
|
||||
" message to current IRC channel: /silence -current msg * hi!\n"
|
||||
" message to #weechat channel: /silence -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "unset/reset config options"
|
||||
msgstr "konfigurációs paraméterek beállítása"
|
||||
|
||||
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Weechat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-09 12:33+0100\n"
|
||||
"POT-Creation-Date: 2010-02-09 13:15+0100\n"
|
||||
"PO-Revision-Date: 2010-01-23 11:57+0100\n"
|
||||
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1108,6 +1108,32 @@ msgstr ""
|
||||
"\n"
|
||||
"Senza argomenti, il comando visualizza il layout salvato."
|
||||
|
||||
#, fuzzy
|
||||
msgid "execute a command silently"
|
||||
msgstr "comandi di weechat"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"mute WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /mute save\n"
|
||||
" message to current IRC channel: /mute -current msg * hi!\n"
|
||||
" message to #weechat channel: /mute -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
msgid "list/load/unload plugins"
|
||||
msgstr "elenca/attiva/disattiva plugin"
|
||||
|
||||
@@ -1275,32 +1301,6 @@ msgstr ""
|
||||
"valore dell'opzione (non definito). Funziona solo per alcune variabili "
|
||||
"speciali dei plugin."
|
||||
|
||||
#, fuzzy
|
||||
msgid "execute a command silently"
|
||||
msgstr "comandi di weechat"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"silence WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /silence save\n"
|
||||
" message to current IRC channel: /silence -current msg * hi!\n"
|
||||
" message to #weechat channel: /silence -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
msgid "unset/reset config options"
|
||||
msgstr "annulla/resetta opzione"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-09 12:33+0100\n"
|
||||
"POT-Creation-Date: 2010-02-09 13:15+0100\n"
|
||||
"PO-Revision-Date: 2010-01-23 11:57+0100\n"
|
||||
"Last-Translator: Krzysztof Koroscik <soltys@szluug.org>\n"
|
||||
"Language-Team: Polish\n"
|
||||
@@ -1121,6 +1121,32 @@ msgstr ""
|
||||
"\n"
|
||||
"Komenda wywołana bez argumentów wyświetli zapisany układ."
|
||||
|
||||
#, fuzzy
|
||||
msgid "execute a command silently"
|
||||
msgstr "komendy weechata"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"mute WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /mute save\n"
|
||||
" message to current IRC channel: /mute -current msg * hi!\n"
|
||||
" message to #weechat channel: /mute -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
msgid "list/load/unload plugins"
|
||||
msgstr "lista/załaduj/wyładuj wtyczke"
|
||||
|
||||
@@ -1290,32 +1316,6 @@ msgstr ""
|
||||
"(niezdefiniowana wartość). Działa to tylko dla niektórych specjalnych "
|
||||
"zmiennych wtyczek."
|
||||
|
||||
#, fuzzy
|
||||
msgid "execute a command silently"
|
||||
msgstr "komendy weechata"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"silence WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /silence save\n"
|
||||
" message to current IRC channel: /silence -current msg * hi!\n"
|
||||
" message to #weechat channel: /silence -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
msgid "unset/reset config options"
|
||||
msgstr "skasuj/zresetuj zmienną konfiguracyjną"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-09 12:33+0100\n"
|
||||
"POT-Creation-Date: 2010-02-09 13:15+0100\n"
|
||||
"PO-Revision-Date: 2010-01-23 11:57+0100\n"
|
||||
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1062,6 +1062,32 @@ msgid ""
|
||||
"Without argument, this command displays saved layout."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "execute a command silently"
|
||||
msgstr "Внутренние команды %s:\n"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"mute WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /mute save\n"
|
||||
" message to current IRC channel: /mute -current msg * hi!\n"
|
||||
" message to #weechat channel: /mute -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
msgid "list/load/unload plugins"
|
||||
msgstr "перечислить/загрузить/выгрузить plugin'ы"
|
||||
|
||||
@@ -1188,32 +1214,6 @@ msgid ""
|
||||
"This works only for some special plugin variables."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "execute a command silently"
|
||||
msgstr "Внутренние команды %s:\n"
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"silence WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /silence save\n"
|
||||
" message to current IRC channel: /silence -current msg * hi!\n"
|
||||
" message to #weechat channel: /silence -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "unset/reset config options"
|
||||
msgstr "настроить параметры конфигурации"
|
||||
|
||||
+26
-26
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-09 12:33+0100\n"
|
||||
"POT-Creation-Date: 2010-02-09 13:15+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -914,6 +914,31 @@ msgid ""
|
||||
"Without argument, this command displays saved layout."
|
||||
msgstr ""
|
||||
|
||||
msgid "execute a command silently"
|
||||
msgstr ""
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"mute WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /mute save\n"
|
||||
" message to current IRC channel: /mute -current msg * hi!\n"
|
||||
" message to #weechat channel: /mute -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
msgid "list/load/unload plugins"
|
||||
msgstr ""
|
||||
|
||||
@@ -1022,31 +1047,6 @@ msgid ""
|
||||
"This works only for some special plugin variables."
|
||||
msgstr ""
|
||||
|
||||
msgid "execute a command silently"
|
||||
msgstr ""
|
||||
|
||||
msgid "[-current | -buffer name | -all] command"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: \"irc.server.freenode\", \"irc."
|
||||
"freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is automatically added if not "
|
||||
"found at beginning of command)\n"
|
||||
"\n"
|
||||
"If no target is specified (-current, -buffer or -all), then default is to "
|
||||
"silence WeeChat core buffer only.\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" config save: /silence save\n"
|
||||
" message to current IRC channel: /silence -current msg * hi!\n"
|
||||
" message to #weechat channel: /silence -buffer irc.freenode.#weechat msg "
|
||||
"#weechat hi!"
|
||||
msgstr ""
|
||||
|
||||
msgid "unset/reset config options"
|
||||
msgstr ""
|
||||
|
||||
|
||||
+103
-103
@@ -2232,6 +2232,88 @@ command_layout (void *data, struct t_gui_buffer *buffer,
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* command_mute: execute a command mute
|
||||
*/
|
||||
|
||||
int
|
||||
command_mute (void *data, struct t_gui_buffer *buffer,
|
||||
int argc, char **argv, char **argv_eol)
|
||||
{
|
||||
int length, mute_mode;
|
||||
char *command, *ptr_command, *buffer_name, *pos;
|
||||
struct t_gui_buffer *mute_buffer, *ptr_buffer;
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
|
||||
if (argc >= 2)
|
||||
{
|
||||
mute_mode = GUI_CHAT_MUTE_BUFFER;
|
||||
mute_buffer = gui_buffer_search_main ();
|
||||
ptr_command = argv_eol[1];
|
||||
|
||||
if (string_strcasecmp (argv[1], "-current") == 0)
|
||||
{
|
||||
mute_buffer = buffer;
|
||||
ptr_command = argv_eol[2];
|
||||
}
|
||||
else if (string_strcasecmp (argv[1], "-buffer") == 0)
|
||||
{
|
||||
ptr_buffer = NULL;
|
||||
if (argc < 3)
|
||||
return WEECHAT_RC_ERROR;
|
||||
buffer_name = strdup (argv[2]);
|
||||
if (!buffer_name)
|
||||
return WEECHAT_RC_ERROR;
|
||||
pos = strchr (buffer_name, '.');
|
||||
if (pos)
|
||||
{
|
||||
pos[0] = '\0';
|
||||
pos++;
|
||||
ptr_buffer = gui_buffer_search_by_name (buffer_name, pos);
|
||||
}
|
||||
free (buffer_name);
|
||||
if (ptr_buffer)
|
||||
mute_buffer = ptr_buffer;
|
||||
ptr_command = argv_eol[3];
|
||||
}
|
||||
else if (string_strcasecmp (argv[1], "-all") == 0)
|
||||
{
|
||||
mute_mode = GUI_CHAT_MUTE_ALL_BUFFERS;
|
||||
mute_buffer = NULL;
|
||||
ptr_command = argv_eol[2];
|
||||
}
|
||||
|
||||
if (ptr_command && ptr_command[0])
|
||||
{
|
||||
gui_chat_mute = mute_mode;
|
||||
gui_chat_mute_buffer = mute_buffer;
|
||||
|
||||
if (ptr_command[0] == '/')
|
||||
{
|
||||
input_exec_command (buffer, 1, NULL, ptr_command);
|
||||
}
|
||||
else
|
||||
{
|
||||
length = strlen (ptr_command) + 2;
|
||||
command = malloc (length);
|
||||
if (command)
|
||||
{
|
||||
snprintf (command, length, "/%s", ptr_command);
|
||||
input_exec_command (buffer, 1, NULL, command);
|
||||
free (command);
|
||||
}
|
||||
}
|
||||
|
||||
gui_chat_mute = GUI_CHAT_MUTE_DISABLED;
|
||||
gui_chat_mute_buffer = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* command_plugin_list: list loaded plugins
|
||||
*/
|
||||
@@ -3203,88 +3285,6 @@ command_set (void *data, struct t_gui_buffer *buffer,
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* command_silence: execute a command silently
|
||||
*/
|
||||
|
||||
int
|
||||
command_silence (void *data, struct t_gui_buffer *buffer,
|
||||
int argc, char **argv, char **argv_eol)
|
||||
{
|
||||
int length, silent_mode;
|
||||
char *command, *ptr_command, *buffer_name, *pos;
|
||||
struct t_gui_buffer *silent_buffer, *ptr_buffer;
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
|
||||
if (argc >= 2)
|
||||
{
|
||||
silent_mode = GUI_CHAT_SILENT_BUFFER;
|
||||
silent_buffer = gui_buffer_search_main ();
|
||||
ptr_command = argv_eol[1];
|
||||
|
||||
if (string_strcasecmp (argv[1], "-current") == 0)
|
||||
{
|
||||
silent_buffer = buffer;
|
||||
ptr_command = argv_eol[2];
|
||||
}
|
||||
else if (string_strcasecmp (argv[1], "-buffer") == 0)
|
||||
{
|
||||
ptr_buffer = NULL;
|
||||
if (argc < 3)
|
||||
return WEECHAT_RC_ERROR;
|
||||
buffer_name = strdup (argv[2]);
|
||||
if (!buffer_name)
|
||||
return WEECHAT_RC_ERROR;
|
||||
pos = strchr (buffer_name, '.');
|
||||
if (pos)
|
||||
{
|
||||
pos[0] = '\0';
|
||||
pos++;
|
||||
ptr_buffer = gui_buffer_search_by_name (buffer_name, pos);
|
||||
}
|
||||
free (buffer_name);
|
||||
if (ptr_buffer)
|
||||
silent_buffer = ptr_buffer;
|
||||
ptr_command = argv_eol[3];
|
||||
}
|
||||
else if (string_strcasecmp (argv[1], "-all") == 0)
|
||||
{
|
||||
silent_mode = GUI_CHAT_SILENT_ALL_BUFFERS;
|
||||
silent_buffer = NULL;
|
||||
ptr_command = argv_eol[2];
|
||||
}
|
||||
|
||||
if (ptr_command && ptr_command[0])
|
||||
{
|
||||
gui_chat_silent = silent_mode;
|
||||
gui_chat_silent_buffer = silent_buffer;
|
||||
|
||||
if (ptr_command[0] == '/')
|
||||
{
|
||||
input_exec_command (buffer, 1, NULL, ptr_command);
|
||||
}
|
||||
else
|
||||
{
|
||||
length = strlen (ptr_command) + 2;
|
||||
command = malloc (length);
|
||||
if (command)
|
||||
{
|
||||
snprintf (command, length, "/%s", ptr_command);
|
||||
input_exec_command (buffer, 1, NULL, command);
|
||||
free (command);
|
||||
}
|
||||
}
|
||||
|
||||
gui_chat_silent = GUI_CHAT_SILENT_DISABLED;
|
||||
gui_chat_silent_buffer = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* command_unset: unset/reset config options
|
||||
*/
|
||||
@@ -4291,6 +4291,27 @@ command_init ()
|
||||
"Without argument, this command displays saved layout."),
|
||||
"save|apply|reset buffers|windows",
|
||||
&command_layout, NULL);
|
||||
hook_command (NULL, "mute",
|
||||
N_("execute a command silently"),
|
||||
N_("[-current | -buffer name | -all] command"),
|
||||
N_("-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: "
|
||||
"\"irc.server.freenode\", \"irc.freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is "
|
||||
"automatically added if not found at beginning of "
|
||||
"command)\n\n"
|
||||
"If no target is specified (-current, -buffer or -all), "
|
||||
"then default is to mute WeeChat core buffer only.\n\n"
|
||||
"Examples:\n"
|
||||
" config save: /mute save\n"
|
||||
" message to current IRC channel: "
|
||||
"/mute -current msg * hi!\n"
|
||||
" message to #weechat channel: "
|
||||
"/mute -buffer irc.freenode.#weechat msg #weechat hi!"),
|
||||
"-current|-buffer|-all|%(commands) %(commands)|%*",
|
||||
&command_mute, NULL);
|
||||
hook_command (NULL, "plugin",
|
||||
N_("list/load/unload plugins"),
|
||||
N_("[list [name]] | [listfull [name]] | [load filename] | "
|
||||
@@ -4382,27 +4403,6 @@ command_init ()
|
||||
"for some special plugin variables."),
|
||||
"%(config_options) %(config_option_values)",
|
||||
&command_set, NULL);
|
||||
hook_command (NULL, "silence",
|
||||
N_("execute a command silently"),
|
||||
N_("[-current | -buffer name | -all] command"),
|
||||
N_("-current: no output on curent buffer\n"
|
||||
" -buffer: no output on specified buffer\n"
|
||||
" name: full buffer name (examples: "
|
||||
"\"irc.server.freenode\", \"irc.freenode.#weechat\")\n"
|
||||
" -all: no output on ALL buffers\n"
|
||||
" command: command to execute silently (a '/' is "
|
||||
"automatically added if not found at beginning of "
|
||||
"command)\n\n"
|
||||
"If no target is specified (-current, -buffer or -all), "
|
||||
"then default is to silence WeeChat core buffer only.\n\n"
|
||||
"Examples:\n"
|
||||
" config save: /silence save\n"
|
||||
" message to current IRC channel: "
|
||||
"/silence -current msg * hi!\n"
|
||||
" message to #weechat channel: "
|
||||
"/silence -buffer irc.freenode.#weechat msg #weechat hi!"),
|
||||
"-current|-buffer|-all|%(commands) %(commands)|%*",
|
||||
&command_silence, NULL);
|
||||
hook_command (NULL, "unset",
|
||||
N_("unset/reset config options"),
|
||||
N_("[option]"),
|
||||
|
||||
+6
-6
@@ -50,8 +50,8 @@ char *gui_chat_buffer = NULL; /* buffer for printf */
|
||||
char *gui_chat_prefix[GUI_CHAT_NUM_PREFIXES]; /* prefixes */
|
||||
char gui_chat_prefix_empty[] = ""; /* empty prefix */
|
||||
int gui_chat_time_length = 0; /* length of time for each line (in chars) */
|
||||
int gui_chat_silent = GUI_CHAT_SILENT_DISABLED; /* silence mode */
|
||||
struct t_gui_buffer *gui_chat_silent_buffer = NULL; /* buffer for silence */
|
||||
int gui_chat_mute = GUI_CHAT_MUTE_DISABLED; /* mute mode */
|
||||
struct t_gui_buffer *gui_chat_mute_buffer = NULL; /* mute buffer */
|
||||
|
||||
|
||||
/*
|
||||
@@ -455,10 +455,10 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date,
|
||||
return;
|
||||
}
|
||||
|
||||
/* if silent is enabled for buffer (or all buffers), then just return */
|
||||
if ((gui_chat_silent == GUI_CHAT_SILENT_ALL_BUFFERS)
|
||||
|| ((gui_chat_silent == GUI_CHAT_SILENT_BUFFER)
|
||||
&& (gui_chat_silent_buffer == buffer)))
|
||||
/* if mute is enabled for buffer (or all buffers), then just return */
|
||||
if ((gui_chat_mute == GUI_CHAT_MUTE_ALL_BUFFERS)
|
||||
|| ((gui_chat_mute == GUI_CHAT_MUTE_BUFFER)
|
||||
&& (gui_chat_mute_buffer == buffer)))
|
||||
return;
|
||||
|
||||
if (!gui_chat_buffer)
|
||||
|
||||
+6
-6
@@ -42,18 +42,18 @@ enum t_gui_chat_prefix
|
||||
GUI_CHAT_NUM_PREFIXES,
|
||||
};
|
||||
|
||||
enum t_gui_chat_silent
|
||||
enum t_gui_chat_mute
|
||||
{
|
||||
GUI_CHAT_SILENT_DISABLED = 0,
|
||||
GUI_CHAT_SILENT_BUFFER,
|
||||
GUI_CHAT_SILENT_ALL_BUFFERS,
|
||||
GUI_CHAT_MUTE_DISABLED = 0,
|
||||
GUI_CHAT_MUTE_BUFFER,
|
||||
GUI_CHAT_MUTE_ALL_BUFFERS,
|
||||
};
|
||||
|
||||
extern char *gui_chat_prefix[GUI_CHAT_NUM_PREFIXES];
|
||||
extern char gui_chat_prefix_empty[];
|
||||
extern int gui_chat_time_length;
|
||||
extern int gui_chat_silent;
|
||||
extern struct t_gui_buffer *gui_chat_silent_buffer;
|
||||
extern int gui_chat_mute;
|
||||
extern struct t_gui_buffer *gui_chat_mute_buffer;
|
||||
|
||||
/* chat functions */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user