Add option "term" for command /debug: display infos about terminal and available colors

This commit is contained in:
Sebastien Helleu 2009-12-16 12:18:00 +01:00
parent 610ef09f19
commit 48f087b883
18 changed files with 299 additions and 109 deletions

View File

@ -91,17 +91,18 @@
command: command to execute (a '/' is automatically added if not found at beginning of command)
........................................
• *`/debug`* `[list | plugin level | dump | buffer | windows]`::
• *`/debug`* `[list | set plugin level | dump | buffer | windows | term]`::
........................................
control debug for core/plugins
set: set log level for plugin
plugin: name of plugin ("core" for WeeChat core)
level: debug level for plugin (0 = disable debug)
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
buffer: dump buffer content with hexadecimal values in log file
windows: display windows tree
text: send "debug" signal with "text" as argument
term: display infos about terminal and available colors
........................................
• *`/filter`* `[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]`::

View File

@ -91,17 +91,18 @@
commande: commande à exécuter (un '/' est automatiquement ajouté s'il n'est pas trouvé au début de la commande)
........................................
• *`/debug`* `[list | extension niveau | dump | buffer windows]`::
• *`/debug`* `[list | set extension niveau | dump | buffer | windows | term]`::
........................................
contrôle du debug pour le coeur/les extensions
set: définir le niveau de log pour l'extension
extension: nom de l'extension ("core" pour le coeur de WeeChat)
niveau: niveau de debug pour l'extension
dump: affiche les variables mémoire WeeChat dans le fichier log (les mêmes messages sont affichés lorsque WeeChat plante)
buffer: affiche le contenu du tampon en valeurs hexadécimales dans le fichier log
windows: affiche l'arbre des fenêtres<
texte: envoie le signal "debug" avec "texte" comme paramètre
term: afficher des infos sur le terminal et les couleurs disponibles
........................................
&bull; *`/filter`* `[list] | [enable|disable|toggle [nom]] | [add nom extension.tampon tags regex] | [del nom|-all]`::

View File

@ -91,17 +91,18 @@
comando: comando da eseguire (una '/' viene aggiunta automaticamente se non trovata all'inizio del comando)
........................................
&bull; *`/debug`* `[list | plugin livello | dump | buffer | windows]`::
&bull; *`/debug`* `[list | set plugin level | dump | buffer | windows | term]`::
........................................
attiva debug per core/plugin
plugin: nome del plugin ("core" per il core di WeeChat)
livello: livello di debug per il plugin (0 = disabilita debug)
dump: salva il dump della memoria nel file di log di Weechat (lo stesso dump viene salvato quando WeeChat va in crash)
buffer: esegue il dump del contenuto con valori esadecimali nel file di log
windows: visualizza l'albero delle finestre
text: invia il segnale "debug" con "text" come argomento"
set: set log level for plugin
plugin: name of plugin ("core" for WeeChat core)
level: debug level for plugin (0 = disable debug)
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
buffer: dump buffer content with hexadecimal values in log file
windows: display windows tree
term: display infos about terminal and available colors
........................................
&bull; *`/filter`* `[list] | [enable|disable|toggle [nome]] | [add nome plugin.buffer tag regex] | [del nome|-all]`::

View File

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
"POT-Creation-Date: 2009-12-16 12:12+0100\n"
"PO-Revision-Date: 2009-09-14 10:56+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -209,6 +209,9 @@ msgstr "Není definovaná žádná lokální proměnná pro buffer \"%s\""
msgid "%sPlugin \"%s\" not found"
msgstr "%sPlugin \"%s\" nenalezen"
msgid "Raw content of buffers has been written in log file"
msgstr ""
#, c-format
msgid "Debug disabled for \"%s\""
msgstr "Ladění vypnuto pro \"%s\""
@ -921,17 +924,20 @@ msgstr ""
msgid "control debug for core/plugins"
msgstr "spřáva ladění pro jádro/pluginy"
msgid "[list | plugin level | dump | buffer | windows]"
#, fuzzy
msgid "[list | set plugin level | dump | buffer | windows | term]"
msgstr "[list | plugin level | dump | buffer | windows]"
#, fuzzy
msgid ""
" set: set log level for plugin\n"
" plugin: name of plugin (\"core\" for WeeChat core)\n"
" level: debug level for plugin (0 = disable debug)\n"
" dump: save memory dump in WeeChat log file (same dump is written when "
"WeeChat crashes)\n"
" buffer: dump buffer content with hexadecimal values in log file\n"
"windows: display windows tree\n"
" text: send \"debug\" signal with \"text\" as argument"
" term: display infos about terminal and available colors"
msgstr ""
" plugin: jméno pluginu (\"core\" pro jádro WeeChat)\n"
" level: úroveň ladění pro plugin (0 = vypnout ladění)\n"
@ -1982,6 +1988,10 @@ msgstr "%sUpozornění: %s, řádek %d: nevalidní hodnota pro nastavení \"%s\"
msgid "Reloading configuration file %s"
msgstr "Znovunačítám konfigurační soubor %s"
#, fuzzy
msgid "Windows tree:"
msgstr "Seznam oken:"
#, c-format
msgid "%sError: another command \"%s\" already exists for plugin \"%s\""
msgstr "%sChyba: příkaz \"%s\" již existuje pro plugin \"%s\""
@ -2137,10 +2147,6 @@ msgstr ""
msgid "Terminal lost, exiting WeeChat..."
msgstr "Terminál ztracen, ukončuji WeeChat..."
#, c-format
msgid "TERM=\"%s\", %d colors available, %d pairs"
msgstr ""
#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Obdržen signál %s, ukončuji WeeChat.."
@ -2148,6 +2154,18 @@ msgstr "Obdržen signál %s, ukončuji WeeChat.."
msgid "Signal SIGHUP received, reloading configuration files"
msgstr "Obdržen signál SIGHUP, znovunačítám konfigurační soubory"
#, fuzzy
msgid "Terminal infos:"
msgstr "Dostupné informace:"
#, c-format
msgid " TERM='%s', size: %dx%d"
msgstr ""
#, c-format
msgid " %d colors available, %d pairs"
msgstr ""
msgid "server"
msgid_plural "servers"
msgstr[0] "server"

View File

@ -10,8 +10,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
"PO-Revision-Date: 2009-12-14 18:29+0100\n"
"POT-Creation-Date: 2009-12-16 12:12+0100\n"
"PO-Revision-Date: 2009-12-16 12:13+0100\n"
"Last-Translator: Nils G <weechatter@arcor.de>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"MIME-Version: 1.0\n"
@ -220,6 +220,9 @@ msgstr "Keine lokale Variable definiert für Buffer \"%s\""
msgid "%sPlugin \"%s\" not found"
msgstr "%sErweiterung \"%s\" wurde nicht gefunden"
msgid "Raw content of buffers has been written in log file"
msgstr ""
#, c-format
msgid "Debug disabled for \"%s\""
msgstr "Debug deaktiviert für \"%s\""
@ -959,17 +962,20 @@ msgstr ""
msgid "control debug for core/plugins"
msgstr "Debug-Kontrolle für Kernprogramm/Erweiterung"
msgid "[list | plugin level | dump | buffer | windows]"
#, fuzzy
msgid "[list | set plugin level | dump | buffer | windows | term]"
msgstr "[list | plugin level | dump | buffer | windows]"
#, fuzzy
msgid ""
" set: set log level for plugin\n"
" plugin: name of plugin (\"core\" for WeeChat core)\n"
" level: debug level for plugin (0 = disable debug)\n"
" dump: save memory dump in WeeChat log file (same dump is written when "
"WeeChat crashes)\n"
" buffer: dump buffer content with hexadecimal values in log file\n"
"windows: display windows tree\n"
" text: send \"debug\" signal with \"text\" as argument"
" term: display infos about terminal and available colors"
msgstr ""
"dump: Speicherabbild in der WeeChat Log-Datei ablegen (wie nach einem "
"Programmabsturz)\n"
@ -2047,6 +2053,10 @@ msgstr "%sWarnung: %s, Zeile %d: ungültige Wert für Option \"%s\""
msgid "Reloading configuration file %s"
msgstr "Konfigurationsdatei %s wird erneut geladen"
#, fuzzy
msgid "Windows tree:"
msgstr "Fensterliste:"
#, c-format
msgid "%sError: another command \"%s\" already exists for plugin \"%s\""
msgstr ""
@ -2207,10 +2217,6 @@ msgstr ""
msgid "Terminal lost, exiting WeeChat..."
msgstr "Terminal verloren, beende WeeChat..."
#, c-format
msgid "TERM=\"%s\", %d colors available, %d pairs"
msgstr "TERM=\"%s\", %d verfügbare Farben, %d Paare"
#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Signal %s empfangen, beende WeeChat..."
@ -2218,6 +2224,18 @@ msgstr "Signal %s empfangen, beende WeeChat..."
msgid "Signal SIGHUP received, reloading configuration files"
msgstr "Signal SIGHUP empfangen, lese Konfigurationsdateien neu"
#, fuzzy
msgid "Terminal infos:"
msgstr "verfügbare Informationen:"
#, c-format
msgid " TERM='%s', size: %dx%d"
msgstr ""
#, c-format
msgid " %d colors available, %d pairs"
msgstr " %d verfügbare Farben, %d Paare"
msgid "server"
msgid_plural "servers"
msgstr[0] "Server"
@ -6021,3 +6039,6 @@ msgstr ""
#, c-format
msgid "%s%s: timeout for \"%s\" with %s"
msgstr "%s%s: Zeitüberschreitung für \"%s\" mit %s"
#~ msgid "TERM=\"%s\", %d colors available, %d pairs"
#~ msgstr "TERM=\"%s\", %d verfügbare Farben, %d Paare"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
"POT-Creation-Date: 2009-12-16 12:12+0100\n"
"PO-Revision-Date: 2009-09-06 21:25+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -212,6 +212,9 @@ msgstr "Ninguna variable local definida para el buffer \"%s\""
msgid "%sPlugin \"%s\" not found"
msgstr "%sPlugin \"%s\" no encontrado"
msgid "Raw content of buffers has been written in log file"
msgstr ""
#, c-format
msgid "Debug disabled for \"%s\""
msgstr "Depurado de \"%s\" desactivado"
@ -927,17 +930,20 @@ msgstr ""
msgid "control debug for core/plugins"
msgstr "controla los mensajes de depuración para el núcleo/plugins"
msgid "[list | plugin level | dump | buffer | windows]"
#, fuzzy
msgid "[list | set plugin level | dump | buffer | windows | term]"
msgstr "[list | plugin nivel | dump | buffer | windows]"
#, fuzzy
msgid ""
" set: set log level for plugin\n"
" plugin: name of plugin (\"core\" for WeeChat core)\n"
" level: debug level for plugin (0 = disable debug)\n"
" dump: save memory dump in WeeChat log file (same dump is written when "
"WeeChat crashes)\n"
" buffer: dump buffer content with hexadecimal values in log file\n"
"windows: display windows tree\n"
" text: send \"debug\" signal with \"text\" as argument"
" term: display infos about terminal and available colors"
msgstr ""
" plugin: nombre del plugin (\"core\" para el núcleo de WeeChat)\n"
" nivel: nivel de depuración (0 = deshabilita depurado)\n"
@ -1912,6 +1918,10 @@ msgstr "%sAtención: %s, línea %d: valor inválido para la opción \"%s\""
msgid "Reloading configuration file %s"
msgstr "Recargando archivo de configuración %s"
#, fuzzy
msgid "Windows tree:"
msgstr "Lista de ventanas:"
#, c-format
msgid "%sError: another command \"%s\" already exists for plugin \"%s\""
msgstr "%sError: el comando \"%s\" ya existe en el plugin \"%s\""
@ -2064,10 +2074,6 @@ msgstr ""
msgid "Terminal lost, exiting WeeChat..."
msgstr ""
#, c-format
msgid "TERM=\"%s\", %d colors available, %d pairs"
msgstr ""
#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr ""
@ -2075,6 +2081,18 @@ msgstr ""
msgid "Signal SIGHUP received, reloading configuration files"
msgstr "Señal SIGHUP recibida, recargando archivos de configuración"
#, fuzzy
msgid "Terminal infos:"
msgstr "Infos disponibles:"
#, c-format
msgid " TERM='%s', size: %dx%d"
msgstr ""
#, c-format
msgid " %d colors available, %d pairs"
msgstr ""
msgid "server"
msgid_plural "servers"
msgstr[0] "servidor"

View File

@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
"PO-Revision-Date: 2009-12-14 12:49+0100\n"
"POT-Creation-Date: 2009-12-16 12:12+0100\n"
"PO-Revision-Date: 2009-12-16 12:13+0100\n"
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"MIME-Version: 1.0\n"
@ -211,6 +211,9 @@ msgstr "Pas de variable locale définie pour le tampon \"%s\""
msgid "%sPlugin \"%s\" not found"
msgstr "%sExtension \"%s\" non trouvée"
msgid "Raw content of buffers has been written in log file"
msgstr "Le contenu brut des tampons a été écrit dans le fichier de log"
#, c-format
msgid "Debug disabled for \"%s\""
msgstr "Debug désactivé pour \"%s\""
@ -927,18 +930,20 @@ msgstr ""
msgid "control debug for core/plugins"
msgstr "contrôle du debug pour le coeur/les extensions"
msgid "[list | plugin level | dump | buffer | windows]"
msgstr "[list | extension niveau | dump | buffer windows]"
msgid "[list | set plugin level | dump | buffer | windows | term]"
msgstr "[list | set extension niveau | dump | buffer | windows | term]"
msgid ""
" set: set log level for plugin\n"
" plugin: name of plugin (\"core\" for WeeChat core)\n"
" level: debug level for plugin (0 = disable debug)\n"
" dump: save memory dump in WeeChat log file (same dump is written when "
"WeeChat crashes)\n"
" buffer: dump buffer content with hexadecimal values in log file\n"
"windows: display windows tree\n"
" text: send \"debug\" signal with \"text\" as argument"
" term: display infos about terminal and available colors"
msgstr ""
" set: définir le niveau de log pour l'extension\n"
"extension: nom de l'extension (\"core\" pour le coeur de WeeChat)\n"
" niveau: niveau de debug pour l'extension\n"
" dump: affiche les variables mémoire WeeChat dans le fichier log (les "
@ -946,7 +951,7 @@ msgstr ""
" buffer: affiche le contenu du tampon en valeurs hexadécimales dans le "
"fichier log\n"
" windows: affiche l'arbre des fenêtres<\n"
" texte: envoie le signal \"debug\" avec \"texte\" comme paramètre"
" term: afficher des infos sur le terminal et les couleurs disponibles"
msgid ""
"filter messages in buffers, to hide/show them according to tags or regex"
@ -2028,6 +2033,9 @@ msgstr "%sAttention: %s, ligne %d: valeur invalide pour l'option \"%s\""
msgid "Reloading configuration file %s"
msgstr "Rechargement du fichier de configuration %s"
msgid "Windows tree:"
msgstr "Arbre des fenêtres:"
#, c-format
msgid "%sError: another command \"%s\" already exists for plugin \"%s\""
msgstr ""
@ -2187,10 +2195,6 @@ msgstr ""
msgid "Terminal lost, exiting WeeChat..."
msgstr "Terminal perdu, sortie de WeeChat..."
#, c-format
msgid "TERM=\"%s\", %d colors available, %d pairs"
msgstr "TERM=\"%s\", %d couleurs disponibles, %d paires"
#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Signal %s reçu, sortie de WeeChat..."
@ -2198,6 +2202,17 @@ msgstr "Signal %s reçu, sortie de WeeChat..."
msgid "Signal SIGHUP received, reloading configuration files"
msgstr "Signal SIGHUP reçu, rechargement des fichiers de configuration"
msgid "Terminal infos:"
msgstr "Infos sur le terminal:"
#, c-format
msgid " TERM='%s', size: %dx%d"
msgstr " TERM='%s', taille: %dx%d"
#, c-format
msgid " %d colors available, %d pairs"
msgstr " %d couleurs disponibles, %d paires"
msgid "server"
msgid_plural "servers"
msgstr[0] "serveur"

View File

@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
"POT-Creation-Date: 2009-12-16 12:12+0100\n"
"PO-Revision-Date: 2009-09-20 13:51+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -222,6 +222,9 @@ msgstr ""
msgid "%sPlugin \"%s\" not found"
msgstr "%s cím \"%s\" nem található\n"
msgid "Raw content of buffers has been written in log file"
msgstr ""
#, c-format
msgid "Debug disabled for \"%s\""
msgstr ""
@ -917,18 +920,20 @@ msgstr ""
msgid "control debug for core/plugins"
msgstr ""
msgid "[list | plugin level | dump | buffer | windows]"
msgstr ""
#, fuzzy
msgid "[list | set plugin level | dump | buffer | windows | term]"
msgstr "dump | buffer | windows"
#, fuzzy
msgid ""
" set: set log level for plugin\n"
" plugin: name of plugin (\"core\" for WeeChat core)\n"
" level: debug level for plugin (0 = disable debug)\n"
" dump: save memory dump in WeeChat log file (same dump is written when "
"WeeChat crashes)\n"
" buffer: dump buffer content with hexadecimal values in log file\n"
"windows: display windows tree\n"
" text: send \"debug\" signal with \"text\" as argument"
" term: display infos about terminal and available colors"
msgstr ""
" dump: memóriatartalom mentése a WeeChat logba (ugyanez a tartalom íródik "
"a WeeChat összeomlásakor)\n"
@ -1900,6 +1905,10 @@ msgstr "%s %s, %d. sor: érvénytelen opció: \"%s\"\n"
msgid "Reloading configuration file %s"
msgstr "Beállítások mentése a lemezre\n"
#, fuzzy
msgid "Windows tree:"
msgstr "a /who lista vége"
#, fuzzy, c-format
msgid "%sError: another command \"%s\" already exists for plugin \"%s\""
msgstr "%s az ignore már létezik\n"
@ -2058,10 +2067,6 @@ msgstr ""
msgid "Terminal lost, exiting WeeChat..."
msgstr ""
#, c-format
msgid "TERM=\"%s\", %d colors available, %d pairs"
msgstr ""
#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr ""
@ -2070,6 +2075,17 @@ msgstr ""
msgid "Signal SIGHUP received, reloading configuration files"
msgstr "%s nem sikerült a konfigurációs fájlt elmenteni\n"
msgid "Terminal infos:"
msgstr ""
#, c-format
msgid " TERM='%s', size: %dx%d"
msgstr ""
#, c-format
msgid " %d colors available, %d pairs"
msgstr ""
#, fuzzy
msgid "server"
msgid_plural "servers"
@ -6531,10 +6547,6 @@ msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n"
#~ msgid "%s: debug enabled"
#~ msgstr "FIFO cső nyitva\n"
#, fuzzy
#~ msgid "dump | buffer | windows | text"
#~ msgstr "dump | buffer | windows"
#~ msgid "automatically log server messages"
#~ msgstr "szerverüzenetek automatikus naplózása"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Weechat 0.31-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
"POT-Creation-Date: 2009-12-16 12:12+0100\n"
"PO-Revision-Date: 2009-11-26 01:26+0100\n"
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -213,6 +213,9 @@ msgstr "Nessuna variabile locale definita per il buffer \"%s\""
msgid "%sPlugin \"%s\" not found"
msgstr "%sPlugin \"%s\" non trovato"
msgid "Raw content of buffers has been written in log file"
msgstr ""
#, c-format
msgid "Debug disabled for \"%s\""
msgstr "Debug disabilitato per \"%s\""
@ -921,17 +924,20 @@ msgstr ""
msgid "control debug for core/plugins"
msgstr "attiva debug per core/plugin"
msgid "[list | plugin level | dump | buffer | windows]"
#, fuzzy
msgid "[list | set plugin level | dump | buffer | windows | term]"
msgstr "[list | plugin livello | dump | buffer | windows]"
#, fuzzy
msgid ""
" set: set log level for plugin\n"
" plugin: name of plugin (\"core\" for WeeChat core)\n"
" level: debug level for plugin (0 = disable debug)\n"
" dump: save memory dump in WeeChat log file (same dump is written when "
"WeeChat crashes)\n"
" buffer: dump buffer content with hexadecimal values in log file\n"
"windows: display windows tree\n"
" text: send \"debug\" signal with \"text\" as argument"
" term: display infos about terminal and available colors"
msgstr ""
" plugin: nome del plugin (\"core\" per il core di WeeChat)\n"
" livello: livello di debug per il plugin (0 = disabilita debug)\n"
@ -2015,6 +2021,10 @@ msgstr "%sAttenzione: %s, riga %d: valore non valido per l'opzione \"%s\""
msgid "Reloading configuration file %s"
msgstr "Ricaricamento del file di configurazione %s"
#, fuzzy
msgid "Windows tree:"
msgstr "Elenco delle finestre:"
#, c-format
msgid "%sError: another command \"%s\" already exists for plugin \"%s\""
msgstr "%sErrore: un altro comando \"%s\" esiste già per il plugin \"%s\""
@ -2173,10 +2183,6 @@ msgstr ""
msgid "Terminal lost, exiting WeeChat..."
msgstr "Terminale perduto, chiusura di WeeChat..."
#, c-format
msgid "TERM=\"%s\", %d colors available, %d pairs"
msgstr ""
#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Ricevuto segnale %s, chiusura di WeeChat..."
@ -2184,6 +2190,18 @@ msgstr "Ricevuto segnale %s, chiusura di WeeChat..."
msgid "Signal SIGHUP received, reloading configuration files"
msgstr "Ricevuto segnale SIGHUP, caricamento dei file di configurazione"
#, fuzzy
msgid "Terminal infos:"
msgstr "Informazioni disponibili:"
#, c-format
msgid " TERM='%s', size: %dx%d"
msgstr ""
#, c-format
msgid " %d colors available, %d pairs"
msgstr ""
msgid "server"
msgid_plural "servers"
msgstr[0] "server"

View File

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
"POT-Creation-Date: 2009-12-16 12:12+0100\n"
"PO-Revision-Date: 2009-09-06 21:25+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: Polish\n"
@ -215,6 +215,9 @@ msgstr "Żadne lokalne zmienne nie zostały zdefiniowane dla buforu \"%s\""
msgid "%sPlugin \"%s\" not found"
msgstr "%sNie odnaleziono wtyczki \"%s\""
msgid "Raw content of buffers has been written in log file"
msgstr ""
#, c-format
msgid "Debug disabled for \"%s\""
msgstr "Debugowanie wyłączone dla\"%s\""
@ -937,17 +940,20 @@ msgstr ""
msgid "control debug for core/plugins"
msgstr "kontrola debugu dla rdzenia/wtyczek"
msgid "[list | plugin level | dump | buffer | windows]"
#, fuzzy
msgid "[list | set plugin level | dump | buffer | windows | term]"
msgstr "[list | plugin poziom | dump | buffer | windows]"
#, fuzzy
msgid ""
" set: set log level for plugin\n"
" plugin: name of plugin (\"core\" for WeeChat core)\n"
" level: debug level for plugin (0 = disable debug)\n"
" dump: save memory dump in WeeChat log file (same dump is written when "
"WeeChat crashes)\n"
" buffer: dump buffer content with hexadecimal values in log file\n"
"windows: display windows tree\n"
" text: send \"debug\" signal with \"text\" as argument"
" term: display infos about terminal and available colors"
msgstr ""
" plugin: nazwa wtyczki (\"core\" dla rdzenia WeeChat )\n"
" level: poziom debugowania pluginu (0 = wyłącza debugowanie)\n"
@ -2013,6 +2019,10 @@ msgstr "%sOstrzeżenie: %s, w lini %d: nieprawidłowa wartość opcji \"%s\""
msgid "Reloading configuration file %s"
msgstr "Przeładowyanie pliku konfoguracyjnego %s"
#, fuzzy
msgid "Windows tree:"
msgstr "Lista okien:"
#, c-format
msgid "%sError: another command \"%s\" already exists for plugin \"%s\""
msgstr "%sBłąd: istnieje juz inna komenda \"%s\" dla wtyczki \"%s\""
@ -2168,10 +2178,6 @@ msgstr ""
msgid "Terminal lost, exiting WeeChat..."
msgstr "Utracono terminal, wychodzę z WeeChat..."
#, c-format
msgid "TERM=\"%s\", %d colors available, %d pairs"
msgstr ""
#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Otrzymano sygnał %s, wychodzę z WeeChat..."
@ -2179,6 +2185,18 @@ msgstr "Otrzymano sygnał %s, wychodzę z WeeChat..."
msgid "Signal SIGHUP received, reloading configuration files"
msgstr "Otrzymano sygnał SIGHUP, przeładowuję pliki konfiguracyjne"
#, fuzzy
msgid "Terminal infos:"
msgstr "Dostępne informacje:"
#, c-format
msgid " TERM='%s', size: %dx%d"
msgstr ""
#, c-format
msgid " %d colors available, %d pairs"
msgstr ""
msgid "server"
msgid_plural "servers"
msgstr[0] "serwer"

View File

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
"POT-Creation-Date: 2009-12-16 12:12+0100\n"
"PO-Revision-Date: 2009-09-20 13:50+0200\n"
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -219,6 +219,9 @@ msgstr ""
msgid "%sPlugin \"%s\" not found"
msgstr "%s адрес \"%s\" не найден\n"
msgid "Raw content of buffers has been written in log file"
msgstr ""
#, c-format
msgid "Debug disabled for \"%s\""
msgstr ""
@ -919,18 +922,20 @@ msgstr ""
msgid "control debug for core/plugins"
msgstr ""
msgid "[list | plugin level | dump | buffer | windows]"
msgstr ""
#, fuzzy
msgid "[list | set plugin level | dump | buffer | windows | term]"
msgstr "dump | buffer | windows"
#, fuzzy
msgid ""
" set: set log level for plugin\n"
" plugin: name of plugin (\"core\" for WeeChat core)\n"
" level: debug level for plugin (0 = disable debug)\n"
" dump: save memory dump in WeeChat log file (same dump is written when "
"WeeChat crashes)\n"
" buffer: dump buffer content with hexadecimal values in log file\n"
"windows: display windows tree\n"
" text: send \"debug\" signal with \"text\" as argument"
" term: display infos about terminal and available colors"
msgstr ""
" dump: сохранить дамп памяти в журнал WeeChat (аналогично дампу при крахе "
"WeeChat)\n"
@ -1908,6 +1913,10 @@ msgstr "%s %s, строка %d: некорректный параметр \"%s\"
msgid "Reloading configuration file %s"
msgstr "Сохраняю конфигурацию\n"
#, fuzzy
msgid "Windows tree:"
msgstr "конец списка /who"
#, fuzzy, c-format
msgid "%sError: another command \"%s\" already exists for plugin \"%s\""
msgstr "%s игнорирование уже существует\n"
@ -2067,10 +2076,6 @@ msgstr ""
msgid "Terminal lost, exiting WeeChat..."
msgstr ""
#, c-format
msgid "TERM=\"%s\", %d colors available, %d pairs"
msgstr ""
#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr ""
@ -2079,6 +2084,17 @@ msgstr ""
msgid "Signal SIGHUP received, reloading configuration files"
msgstr "%s не могу сохранить конфигурационный файл\n"
msgid "Terminal infos:"
msgstr ""
#, c-format
msgid " TERM='%s', size: %dx%d"
msgstr ""
#, c-format
msgid " %d colors available, %d pairs"
msgstr ""
#, fuzzy
msgid "server"
msgid_plural "servers"
@ -6520,10 +6536,6 @@ msgstr "%s нет аргумента для параметра \"%s\"\n"
#~ msgid "%s: debug enabled"
#~ msgstr "FIFO pipe открыт\n"
#, fuzzy
#~ msgid "dump | buffer | windows | text"
#~ msgstr "dump | buffer | windows"
#~ msgid "automatically log server messages"
#~ msgstr "автоматически журналировать сообщения сервера"

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: 2009-12-14 12:49+0100\n"
"POT-Creation-Date: 2009-12-16 12:12+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"
@ -192,6 +192,9 @@ msgstr ""
msgid "%sPlugin \"%s\" not found"
msgstr ""
msgid "Raw content of buffers has been written in log file"
msgstr ""
#, c-format
msgid "Debug disabled for \"%s\""
msgstr ""
@ -795,17 +798,18 @@ msgstr ""
msgid "control debug for core/plugins"
msgstr ""
msgid "[list | plugin level | dump | buffer | windows]"
msgid "[list | set plugin level | dump | buffer | windows | term]"
msgstr ""
msgid ""
" set: set log level for plugin\n"
" plugin: name of plugin (\"core\" for WeeChat core)\n"
" level: debug level for plugin (0 = disable debug)\n"
" dump: save memory dump in WeeChat log file (same dump is written when "
"WeeChat crashes)\n"
" buffer: dump buffer content with hexadecimal values in log file\n"
"windows: display windows tree\n"
" text: send \"debug\" signal with \"text\" as argument"
" term: display infos about terminal and available colors"
msgstr ""
msgid ""
@ -1612,6 +1616,9 @@ msgstr ""
msgid "Reloading configuration file %s"
msgstr ""
msgid "Windows tree:"
msgstr ""
#, c-format
msgid "%sError: another command \"%s\" already exists for plugin \"%s\""
msgstr ""
@ -1759,10 +1766,6 @@ msgstr ""
msgid "Terminal lost, exiting WeeChat..."
msgstr ""
#, c-format
msgid "TERM=\"%s\", %d colors available, %d pairs"
msgstr ""
#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr ""
@ -1770,6 +1773,17 @@ msgstr ""
msgid "Signal SIGHUP received, reloading configuration files"
msgstr ""
msgid "Terminal infos:"
msgstr ""
#, c-format
msgid " TERM='%s', size: %dx%d"
msgstr ""
#, c-format
msgid " %d colors available, %d pairs"
msgstr ""
msgid "server"
msgid_plural "servers"
msgstr[0] ""

View File

@ -996,35 +996,51 @@ command_debug (void *data, struct t_gui_buffer *buffer,
else if (string_strcasecmp (argv[1], "buffer") == 0)
{
gui_buffer_dump_hexa (buffer);
gui_chat_printf (NULL,
_("Raw content of buffers has been written in log "
"file"));
}
else if (string_strcasecmp (argv[1], "windows") == 0)
{
debug_windows_tree ();
}
else if (argc >= 3)
else if (string_strcasecmp (argv[1], "term") == 0)
{
if (strcmp (argv[2], "0") == 0)
gui_window_term_display_infos ();
}
else if (string_strcasecmp (argv[1], "set") == 0)
{
if (argc < 4)
{
gui_chat_printf (NULL,
_("%sError: missing arguments for \"%s\" "
"command"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
"debug set");
return WEECHAT_RC_ERROR;
}
if (strcmp (argv[3], "0") == 0)
{
/* disable debug for a plugin */
ptr_option = config_weechat_debug_get (argv[1]);
ptr_option = config_weechat_debug_get (argv[2]);
if (ptr_option)
{
config_file_option_free (ptr_option);
config_weechat_debug_set_all ();
gui_chat_printf (NULL, _("Debug disabled for \"%s\""),
argv[1]);
argv[2]);
}
}
else
{
/* set debug level for a plugin */
if (config_weechat_debug_set (argv[1], argv[2]) != WEECHAT_CONFIG_OPTION_SET_ERROR)
if (config_weechat_debug_set (argv[2], argv[3]) != WEECHAT_CONFIG_OPTION_SET_ERROR)
{
ptr_option = config_weechat_debug_get (argv[1]);
ptr_option = config_weechat_debug_get (argv[2]);
if (ptr_option)
{
gui_chat_printf (NULL, "%s: \"%s\" => %d",
"debug", argv[1],
"debug", argv[2],
CONFIG_INTEGER(ptr_option));
}
}
@ -4053,17 +4069,24 @@ command_init ()
&command_command, NULL);
hook_command (NULL, "debug",
N_("control debug for core/plugins"),
N_("[list | plugin level | dump | buffer | windows]"),
N_(" plugin: name of plugin (\"core\" for WeeChat core)\n"
N_("[list | set plugin level | dump | buffer | windows | "
"term]"),
N_(" set: set log level for plugin\n"
" plugin: name of plugin (\"core\" for WeeChat core)\n"
" level: debug level for plugin (0 = disable debug)\n"
" dump: save memory dump in WeeChat log file (same "
"dump is written when WeeChat crashes)\n"
" buffer: dump buffer content with hexadecimal values "
"in log file\n"
"windows: display windows tree\n"
" text: send \"debug\" signal with \"text\" as "
"argument"),
"%(plugins_names)|core|list|dump|buffer|windows",
" term: display infos about terminal and available "
"colors"),
"list"
"|| set %(plugins_names)|core"
"|| dump"
"|| buffer"
"|| windows"
"|| term",
&command_debug, NULL);
hook_command (NULL, "filter",
N_("filter messages in buffers, to hide/show them according "

View File

@ -231,7 +231,7 @@ void
debug_windows_tree ()
{
gui_chat_printf (NULL, "");
gui_chat_printf (NULL, "DEBUG: windows tree:");
gui_chat_printf (NULL, _("Windows tree:"));
debug_windows_tree_display (gui_windows_tree, 1);
}

View File

@ -155,14 +155,6 @@ gui_main_init ()
gui_bar_window_create_win (ptr_bar_win);
}
}
/* display infos about terminal and colors */
if (weechat_debug_core >= 1)
{
gui_chat_printf (NULL,
_("TERM=\"%s\", %d colors available, %d pairs"),
getenv ("TERM"), COLORS, COLOR_PAIRS);
}
}
/*

View File

@ -1484,6 +1484,21 @@ gui_window_set_title (const char *title)
}
}
/*
* gui_window_term_display_infos: display some infos about terminal and colors
*/
void
gui_window_term_display_infos ()
{
gui_chat_printf (NULL, "");
gui_chat_printf (NULL, _("Terminal infos:"));
gui_chat_printf (NULL, _(" TERM='%s', size: %dx%d"),
getenv("TERM"), gui_term_cols, gui_term_lines);
gui_chat_printf (NULL, _(" %d colors available, %d pairs"),
COLORS, COLOR_PAIRS);
}
/*
* gui_window_objects_print_log: print window Curses objects infos in log
* (usually for crash dump)

View File

@ -801,6 +801,16 @@ gui_window_set_title (const char *title)
/* TODO: write this function for Gtk */
}
/*
* gui_window_term_display_infos: display some infos about terminal and colors
*/
void
gui_window_term_display_infos ()
{
/* No term info for Gtk */
}
/*
* gui_window_objects_print_log: print Gtk objects infos in log
* (usually for crash dump)

View File

@ -172,6 +172,7 @@ extern void gui_window_switch_left (struct t_gui_window *window);
extern void gui_window_switch_right (struct t_gui_window *window);
extern void gui_window_refresh_screen (int full_refresh);
extern void gui_window_set_title (const char *title);
extern void gui_window_term_display_infos ();
extern void gui_window_objects_print_log (struct t_gui_window *window);
#endif /* gui-window.h */