1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 18:53:12 +02:00

Add new options for command /key (listdefault, listdiff and reset), add examples in /help key

Note: old option "reset" for /key has been renamed to "resetall".
This commit is contained in:
Sebastien Helleu
2010-03-24 19:54:31 +01:00
parent b932f403a5
commit 96e6ae3fc3
36 changed files with 1543 additions and 534 deletions
+2 -1
View File
@@ -7,8 +7,9 @@ v0.3.2-dev, 2010-03-24
Version 0.3.2 (under dev!)
--------------------------
* core: add signal "day_changed"
* core: add new options for command /key: listdefault, listdiff and reset
* core: add new command /mute
* core: add signal "day_changed"
* core: add command line option "-s" (or "--no-script") to start WeeChat
without loading any script
* core: remove unneeded space after time on each line if option
@@ -78,6 +78,8 @@
| weechat | keys_codes | key codes
| weechat | keys_codes_for_reset | key codes that can be reset (keys added, redefined or removed)
| weechat | nicks | nicks in nicklist of current buffer
| weechat | plugins_commands | commands defined by plugins
+1 -1
View File
@@ -484,7 +484,7 @@
........................................
list, add or remove IRC servers
list: list servers (no parameter implies this list)
list: list servers (without argument, this list is displayed)
listfull: list servers with detailed info for each server
add: create a new server
servername: server name, for internal and display use
+19 -7
View File
@@ -64,7 +64,7 @@
(by default ctrl-x switches between merged buffers)
unmerge: unmerge buffer from other buffers which have same number
close: close buffer (number/range is optional)
list: list buffers (no parameter implies this list)
list: list buffers (without argument, this list is displayed)
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
none: never
highlight: for highlights only
@@ -186,17 +186,29 @@
This command is used by key bindings or plugins.
........................................
• *`/key`* `[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]`::
• *`/key`* `[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] | [reset key] | [resetall -yes] | [missing]`::
........................................
bind/unbind keys
bind: bind a command to a key or display command bound to key
unbind: remove a key binding
reset: restore bindings to the default values and delete ALL personal bindings (use carefully!)
missing: add missing keys (using default bindings)
list: list all current keys (without argument, this list is displayed)
listdefault: list default keys
listdiff: list differences between current and default keys (keys added, redefined or deleted)
bind: bind a command to a key or display command bound to key
unbind: remove a key binding
reset: reset a key to default binding
resetall: restore bindings to the default values and delete ALL personal bindings (use carefully!)
missing: add missing keys (using default bindings), useful after installing new WeeChat version
When binding a command to a key, it is recommended to use key alt+k (or Esc then k), and then press the key to bind: this will insert key code in command line.
Examples:
key alt-x to toggle nicklist bar:
/key bind meta-x /bar toggle nicklist
key alt-r to jump to #weechat IRC channel:
/key bind meta-r /buffer #weechat
restore default binding for key alt-r:
/key reset meta-r
........................................
• *`/layout`* `[[save | apply | reset] [buffers | windows]]`::
@@ -393,7 +405,7 @@
........................................
manage windows
list: list opened windows (no parameter implies this list)
list: list opened windows (without argument, this list is displayed)
-1: jump to previous window
+1: jump to next window
b#: jump to next window displaying buffer number #
@@ -78,6 +78,8 @@
| weechat | keys_codes | codes des touches
| weechat | keys_codes_for_reset | codes des touches pouvant être réinitialisées (touches ajoutées, redéfinies ou supprimées)
| weechat | nicks | pseudos dans la liste des pseudos du tampon courant
| weechat | plugins_commands | commandes définies par les extensions
+1 -1
View File
@@ -484,7 +484,7 @@
........................................
liste, ajoute ou retire des serveurs IRC
list: afficher les serveurs (pas de paramètre implique cette liste)
list: afficher les serveurs (sans paramètre, cette liste est affichée)
listfull: afficher les serveurs avec de l'info détaillée pour chaque
add: créer un nouveau serveur
nom_serveur: nom du serveur, pour usage interne et affichage
+19 -7
View File
@@ -64,7 +64,7 @@
(par défaut ctrl-x bascule entre les tampons mélangés)
unmerge: détache le tampon courant des autres tampons portant le même numéro
close: ferme le tampon (nombre/intervalle optionnel)
list: liste les tampons ouverts (pas de paramètre affiche cette liste)
list: liste les tampons ouverts (sans paramètre, cette liste est affichée)
notify: définit le niveau de notification pour le tampon courant: ce niveau détermine si le buffer doit être ajouté à la hotlist ou pas:
none: jamais
highlight: pour les highlights seulement
@@ -186,17 +186,29 @@
Cette commande est utilisée par les associations de touches ou les extensions.
........................................
• *`/key`* `[bind touche [commande [args]]] | [unbind touche] | [reset -yes] | [missing]`::
• *`/key`* `[list | listdefault | listdiff] | [bind touche [commande [args]]] | [unbind touche] | [reset touche] | [resetall -yes] | [missing]`::
........................................
associer/libérer des touches
bind: associer une commande à une touche ou afficher la commande associée à la touche
unbind: supprimer l'association à une touche
reset: restaure les touches aux valeurs par défaut et supprime TOUTES les touches personnelles (utiliser avec précaution !)
missing: ajoute les touches manquantes (en utilisant les touches par défaut)
list: affiche toutes les touches courantes (sans paramètre, cette liste est affichée)
listdefault: affiche les touches par défaut
listdiff: affiche les différences entre les touches courantes et celles par défaut (touches ajoutées, redéfinies ou supprimées)
bind: associe une commande à une touche ou affiche la commande associée à la touche
unbind: supprime l'association à une touche
reset: réinitialise une touche à son association par défaut
resetall: restaure les touches aux valeurs par défaut et supprime TOUTES les touches personnelles (utiliser avec précaution !)
missing: ajoute les touches manquantes (en utilisant les touches par défaut), pratique après installation d'une nouvelle version de WeeChat
Lors de l'association d'une commande à une touche, il est recommandé d'utiliser la touche alt+k (ou Echap puis k), et puis de presser la touche à associer: cela insère le code de la touche dans la ligne de commande.
Exemples:
touche alt-x pour activer/désactiver la liste des pseudos:
/key bind meta-x /bar toggle nicklist
touche alt-r pour aller sur le canal IRC #weechat:
/key bind meta-r /buffer #weechat
restaure l'association par défaut pour la touche alt-r:
/key reset meta-r
........................................
• *`/layout`* `[[save | apply | reset] [buffers | windows]]`::
@@ -393,7 +405,7 @@
........................................
gestion des fenêtres
list: liste les fenêtres ouvertes (pas de paramètre affiche cette liste)
list: liste les fenêtres ouvertes (sans paramètre, cette liste est affichée)
-1: saute à la fenêtre précédente
+1: saute à la fenêtre suivante
b#: saute à la fenêtre affichant le tampon #
+5 -3
View File
@@ -1,6 +1,6 @@
[width="65%",cols="^1,^2,8",options="header"]
|========================================
| Plugin | Name | Description
| Plugin | Nome | Descrizione
| alias | alias | elenco di alias
@@ -72,12 +72,14 @@
| weechat | filters_names | nomi dei filtri
| weechat | infolists | nomi delle liste info in attesa
| weechat | infolists | nomi degli hook liste info
| weechat | infos | nomi delle info in attesa
| weechat | infos | nomi degli hook sulle info
| weechat | keys_codes | codici tasti
| weechat | keys_codes_for_reset | key codes that can be reset (keys added, redefined or removed)
| weechat | nicks | nick nella lista nick del buffer corrente
| weechat | plugins_commands | comandi definiti dai plugin
+26 -26
View File
@@ -1,59 +1,59 @@
[width="100%",cols="^1,^2,5,5,5",options="header"]
|========================================
| Plugin | Name | Description | Pointer | Arguments
| Plugin | Nome | Descrizione | Puntatore | Argomenti
| alias | alias | elenco di alias | alias pointer (optional) | alias name (can start or end with "*" as joker) (optional)
| alias | alias | elenco di alias | puntatore all'alias (opzionale) | nome alias (può iniziare o terminare con "*" come carattere jolly) (opzionale)
| irc | irc_channel | elenco dei canali per un server IRC | channel pointer (optional) | server name
| irc | irc_channel | elenco dei canali per un server IRC | puntatore al canale (opzionale) | nome server
| irc | irc_ignore | elenco di ignore IRC | ignore pointer (optional) | -
| irc | irc_ignore | elenco di ignore IRC | puntatore all'ignore (opzionale) | -
| irc | irc_nick | elenco dei nick per un canale IRC | nick pointer (optional) | server,channel,nick (channel and nick are optional)
| irc | irc_nick | elenco dei nick per un canale IRC | puntatore al nick (opzionale) | server,canale,nick (canale e nick sono opzionali)
| irc | irc_server | elenco di server IRC | server pointer (optional) | server name (can start or end with "*" as joker) (optional)
| irc | irc_server | elenco di server IRC | puntatore al server (opzionale) | nome server (può iniziare o terminare con "*" come carattere jolly)
| logger | logger_buffer | elenco dei buffer logger | logger pointer (optional) | -
| logger | logger_buffer | elenco dei buffer logger | puntatore al logger (opzionale) | -
| lua | lua_script | elenco degli script | script pointer (optional) | script name (can start or end with "*" as joker) (optional)
| lua | lua_script | elenco degli script | puntatore allo script (opzionale) | nome script (può iniziare o terminare con "*" come carattere jolly) (opzionale)
| perl | perl_script | elenco degli script | script pointer (optional) | script name (can start or end with "*" as joker) (optional)
| perl | perl_script | elenco degli script | puntatore allo script (opzionale) | nome script (può iniziare o terminare con "*" come carattere jolly) (opzionale)
| python | python_script | elenco degli script | script pointer (optional) | script name (can start or end with "*" as joker) (optional)
| python | python_script | elenco degli script | puntatore allo script (opzionale) | nome script (può iniziare o terminare con "*" come carattere jolly) (opzionale)
| relay | relay | elenco di client relay | relay pointer (optional) | -
| relay | relay | elenco di client relay | puntatore al relay (opzionale) | -
| ruby | ruby_script | elenco degli script | script pointer (optional) | script name (can start or end with "*" as joker) (optional)
| ruby | ruby_script | elenco degli script | puntatore allo script (opzionale) | nome script (può iniziare o terminare con "*" come carattere jolly) (opzionale)
| tcl | tcl_script | elenco degli script | script pointer (optional) | script name (can start or end with "*" as joker) (optional)
| tcl | tcl_script | elenco degli script | puntatore allo script (opzionale) | nome script (può iniziare o terminare con "*" come carattere jolly) (opzionale)
| weechat | bar | elenco delle barre | bar pointer (optional) | bar name (can start or end with "*" as joker) (optional)
| weechat | bar | elenco delle barre | puntatore alla barra (opzionale) | nome barra (può iniziare o terminare con "*" come carattere jolly (opzionale)
| weechat | bar_item | elenco degli elementi barra | bar item pointer (optional) | bar item name (can start or end with "*" as joker) (optional)
| weechat | bar_item | elenco degli elementi barra | puntatore all'elemento della barra (opzionale) | nome dell'elemento della barra (può iniziare o terminare con "*" come carattere jolly) (opzionale)
| weechat | bar_window | elenco delle finestre barra | bar window pointer (optional) | -
| weechat | bar_window | elenco delle finestre barra | puntatore alla finestra della barra (opzionale) | -
| weechat | buffer | elenco dei buffer | buffer pointer (optional) | buffer name (can start or end with "*" as joker) (optional)
| weechat | buffer | elenco dei buffer | puntatore al buffer (opzionale) | nome buffer (può iniziare o terminare con "*" come carattere jolly) (opzionale)
| weechat | buffer_lines | righe di un buffer | buffer pointer | -
| weechat | buffer_lines | righe di un buffer | puntatore al buffer | -
| weechat | filter | elenco dei filtri | - | filter name (can start or end with "*" as joker) (optional)
| weechat | filter | elenco dei filtri | - | nome filtro (può iniziare o terminare con "*" come carattere jolly) (opzionale)
| weechat | history | cronologia dei comandi | buffer pointer (if not set, return global history) (optional) | -
| weechat | history | cronologia dei comandi | puntatore al buffer (se non impostato, restituisce la cronologia globale) (opzionale) | -
| weechat | hook | elenco di hook | - | hook type: command, timer, .. (optional)
| weechat | hook | elenco di hook | - | tipo hook: comando, timer, ... (opzionale)
| weechat | hotlist | elenco dei buffer nella hotlist | - | -
| weechat | key | elenco di tasti associati | - | -
| weechat | nicklist | nick nella lista nick per un buffer | buffer pointer | nick_xxx or group_xxx to get only nick/group xxx (optional)
| weechat | nicklist | nick nella lista nick per un buffer | puntatore al buffer | nick_xxx o group_xxx per ottenere solo xxx di nick/group (opzionale)
| weechat | option | elenco delle opzioni | - | option name (can start or end with "*" as joker) (optional)
| weechat | option | elenco delle opzioni | - | nome opzione (può iniziare o terminare con "*" come carattere jolly) (opzionale)
| weechat | plugin | elenco dei plugin | plugin pointer (optional) | plugin name (can start or end with "*" as joker) (optional)
| weechat | plugin | elenco dei plugin | puntatore al plugin (opzionale) | nome plugin (può iniziare o terminare con "*" come carattere jolly) (opzionale)
| weechat | window | elenco delle finestre | window pointer (optional) | window name (can start or end with "*" as joker) (optional)
| weechat | window | elenco delle finestre | puntatore alla finestra (opzionale) | nome finestra (può iniziare o terminare con "*" come carattere jolly) (opzionale)
| xfer | xfer | lista di xfer | xfer pointer (optional) | -
| xfer | xfer | lista di xfer | puntatore a xfer (opzionale) | -
|========================================
+7 -7
View File
@@ -1,18 +1,18 @@
[width="100%",cols="^1,^2,6,6",options="header"]
|========================================
| Plugin | Name | Description | Arguments
| Plugin | Nome | Descrizione | Argomenti
| fifo | fifo_filename | nome della pipe FIFO | -
| irc | irc_buffer | get buffer pointer for an IRC server/channel/nick | server,channel,nick (channel and nicks are optional)
| irc | irc_buffer | ottiene puntatore al buffer per un server/canale/nick IRC | server,canale,nick (canale e nick sono opzionali)
| irc | irc_is_channel | 1 se la stringa è un canale IRC | channel name
| irc | irc_is_channel | 1 se la stringa è un canale IRC | nome canale
| irc | irc_nick | ottiene nick corrente su un server | server name
| irc | irc_nick | ottiene nick corrente su un server | nome server
| irc | irc_nick_color | riceve colore del nick | nickname
| irc | irc_nick_color | riceve colore del nick | nick
| irc | irc_nick_from_host | ottiene nick dall'host IRC | IRC host (like `:nick!name@server.com`)
| irc | irc_nick_from_host | ottiene nick dall'host IRC | host IRC (come `:nick!nome@server.com`)
| weechat | charset_internal | set caratteri interno di WeeChat | -
@@ -28,7 +28,7 @@
| weechat | version | versione di WeeChat | -
| weechat | version_number | WeeChat version (as number) | -
| weechat | version_number | versione di WeeChat (come numero) | -
| weechat | weechat_dir | cartella WeeChat | -
+21 -21
View File
@@ -1,34 +1,34 @@
• *`/alias`* `[[-completion completion] alias_name [command [arguments]]]`::
• *`/alias`* `[[-completion completamento] nome_alias [comando [argomenti]]]`::
........................................
crea un alias per un comando
completion: completion for alias (optional, by default completion is done with target command)
alias_name: name of alias (can start or end with "*" for alias listing)
command: command name (many commands can be separated by semicolons)
arguments: arguments for command
completamento: completamento per l'alias (opzionale, il comportamento predefinito include il comando di destinazione)
nome_alias: nome di un alias (può iniziare o terminare con "*" per un elenco di alias)
comando: nome comando (più comandi possono essere separati da punto e virgola)
argomenti: argomenti per un comando
Without argument, this command lists all defined alias.
Senza argomanto, questo comando elenca tutti gli alias definiti.
Note: in command, special variables are replaced:
$n: argument 'n' (between 1 and 9)
$-m: arguments from 1 to 'm'
$n-: arguments from 'n' to last
$n-m: arguments from 'n' to 'm'
$*: all arguments
$~: last argument
$nick: current nick
$channel: current channel
$server: current server
Nota: nel comando, vengono sostituite le variabili speciali:
$n: argomento 'n' (tra 1 e 9)
$-m: argomenti da 1 a 'm'
$n-: argomenti da 'n' alla fine
$n-m: argomenti da 'n' a 'm'
$*: tutti gli argomenti
$~: ultimo argomento
$nick: nick corrente
$channel: canale corrente
$server: server corrente
To remove an alias, use command /unalias.
Per rimuovere un alias, utilizzare il comando /unalias.
Examples:
alias /split to split window horizontally:
Esempi:
alias /split per dividere la finestra orizzontalmente:
/alias split /window splith
alias /hello to say "hello" on all channels but not on #weechat:
alias /hello per dire "ciao" su tutti i canali tranne #weechat:
/alias hello /allchan -exclude=#weechat msg * hello
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
alias /forcejoin per inviare il comando IRC "forcejoin" con il completamento di /sajoin:
/alias -completion %%sajoin forcejoin /quote forcejoin
........................................
+3 -2
View File
@@ -62,6 +62,7 @@
porta: porta per il server (6667 è la predefinita)
opzione: imposta opzione per il server (per le opzioni bool, il valore può essere omesso)
nooption: imposta il valore bool dell'opzione su off (per esempio: -nossl)
Esempi:
/connect freenode
/connect irc.oftc.net/6667
@@ -266,7 +267,7 @@
• *`/map`*::
........................................
show a graphical map of the IRC network
mostra una mappa grafica della rete IRC
........................................
• *`/me`* `messaggio`::
@@ -483,7 +484,7 @@
........................................
elenca, aggiunge o rimuove server IRC
list: list servers (no parameter implies this list)
list: list servers (without argument, this list is displayed)
listfull: list servers with detailed info for each server
add: create a new server
servername: server name, for internal and display use
+8 -8
View File
@@ -69,7 +69,7 @@
** valori: on, off (valore predefinito: on)
* *irc.look.highlight_tags*
** descrizione: elenco separato da liste di tag per i messaggi che potrebbero generare evidenziazioni (di solito qualsiasi messaggio da altri utenti, non quelli dal server,...)
** descrizione: elenco separato da liste di tag per i messaggi che potrebbero generare eventi (di solito qualsiasi messaggio da altri utenti, non quelli dal server...)
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: "irc_privmsg,irc_notice")
@@ -79,7 +79,7 @@
** valori: on, off (valore predefinito: on)
* *irc.look.item_channel_modes_hide_key*
** descrizione: hide channel key if modes are displayed in "buffer_name" bar item (this will hide all channel modes arguments if mode +k is set on channel)
** descrizione: nasconde la chiave del canale se le modalità sono visualizzate nell'elemento barra "buffer_name" (in questo modo saranno nascosti tutti gli argomenti delle modalità del canale se la modalità +k è impostata sul canale)
** tipo: bool
** valori: on, off (valore predefinito: off)
@@ -94,7 +94,7 @@
** valori: on, off (valore predefinito: on)
* *irc.look.item_nick_prefix*
** descrizione: display nick prefix in "input_prompt" bar item
** descrizione: visualizza il prefisso del nick nell'elemento barra "input_prompt"
** tipo: bool
** valori: on, off (valore predefinito: on)
@@ -204,7 +204,7 @@
** valori: on, off (valore predefinito: on)
* *irc.network.connection_timeout*
** descrizione: timeout (in seconds) between TCP connection to server and message 001 received, if this timeout is reached before 001 message is received, WeeChat will disconnect from server
** descrizione: timeout (in secondi) tra la connessione TCP al server ed il messaggio 001 ricevuto, se questo timeout viene raggiunto prima della ricezione del messaggio 001, WeeChat effettuerà la disconnessione
** tipo: intero
** valori: 1 .. 3600 (valore predefinito: 60)
@@ -314,22 +314,22 @@
** valori: qualsiasi stringa (valore predefinito: "")
* *irc.server_default.sasl_mechanism*
** descrizione: mechanism for SASL authentication
** descrizione: meccanismo per l'autenticazione SASL
** tipo: intero
** valori: plain, dh-blowfish (valore predefinito: plain)
* *irc.server_default.sasl_password*
** descrizione: password for SASL authentication
** descrizione: password per l'autenticazione SASL
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: "")
* *irc.server_default.sasl_timeout*
** descrizione: timeout (in seconds) before giving up SASL authentication
** descrizione: timeout (in secondi) prima di annullare l'autenticazione SASL
** tipo: intero
** valori: 1 .. 3600 (valore predefinito: 15)
* *irc.server_default.sasl_username*
** descrizione: username for SASL authentication
** descrizione: nome utente per l'autenticazione SASL
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: "")
+17 -17
View File
@@ -3,30 +3,30 @@
........................................
configurazione del plugin logger
list: show logging status for opened buffers
set: set logging level on current buffer
level: level for messages to be logged (0 = logging disabled, 1 = a few messages (most important) .. 9 = all messages)
disable: disable logging on current buffer (set level to 0)
list: mostra lo stato del logging per i buffer aperti
set: imposta il livello di logging per il buffer corrente
level: livello per i messaggi da loggare (0 = disabilitato, 1 = alcuni messaggi (più importanti) .. 9 = tutti i messaggi)
disable: disabilita il logging sul buffer corrente (imposta livello a 0)
Options "logger.level.*" and "logger.mask.*" can be used to set level or mask for a buffer, or buffers beginning with name.
Le opzioni "logger.level.*" e "logger.mask.*" possono essere utilizzate per impostare un livello o una mask per un buffer, o per i buffer che cominciano per nome.
Examples:
set level to 5 for current buffer:
Esempi:
imposta il livello 5 per buffer corrente:
/logger set 5
disable logging for current buffer:
disabilita logging per il buffer corrente:
/logger disable
set level to 3 for all IRC buffers:
imposta il livello 3 per tutti i buffer IRC:
/set logger.level.irc 3
disable logging for main WeeChat buffer:
disabilita logging per il buffer principale di WeeChat:
/set logger.level.core.weechat 0
use a directory per IRC server and a file per channel inside:
utilizza una cartella per il server IRC e un file per ogni canale al suo interno:
/set logger.mask.irc "$server/$channel.weechatlog"
Log levels used by IRC plugin:
1: user message, notice, private
2: nick change
3: server message
4: join/part/quit
9: all other messages
Livelli di log utilizzati dal plugin IRC:
1: messaggio utente, notifica, privato
2: cambio di nick
3: messaggio del server
4: entrata/uscita/abbandono
9: tutti gli altri messaggi
........................................
+78 -66
View File
@@ -64,7 +64,7 @@
(by default ctrl-x switches between merged buffers)
unmerge: unmerge buffer from other buffers which have same number
close: close buffer (number/range is optional)
list: list buffers (no parameter implies this list)
list: list buffers (without argument, this list is displayed)
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
none: never
highlight: for highlights only
@@ -126,38 +126,38 @@
........................................
filtra messaggi nei buffer, per nascondere/mostrare in base a tag o regexp
list: list all filters
enable: enable filters (filters are enabled by default)
disable: disable filters
toggle: toggle filters
name: filter name
add: add a filter
del: delete a filter
-all: delete all filters
plugin.buffer: plugin and buffer where filter is active ("*" for all buffers)
tags: comma separated list of tags, for example: "irc_join,irc_part,irc_quit"
regex: regular expression to search in line (use \t to separate prefix from message, special chars like '|' must be escaped: '\|')
list: elenca tutti i filtri
enable: abilita filtri (i filtri sono abilitati di default)
disable: disabilita filtri
toggle: abilita/disabilita filtri
nome: nome del filtro
add: aggiunge un filtro
del: elimina un filtro
-all: elimina tutti i filtri
plugin.buffer: plugin e buffer in cui il filtro è attivo ("*" per tutti i buffer)
tag: elenco di tag separati da virgole, per esempio: "irc_join,irc_part,irc_quit"
regex: espressione regolare da cercare nella riga (utilizzare \t per separare il prefisso dal messaggio, caratteri speciali come "|" devono essere preceduti dal carattere escape: '\|')
The default key alt+'=' toggles filtering on/off.
Il tasto predefinito alt+'=' abilita/disabilita il filtro.
Tags most commonly used:
no_filter, no_highlight, log0..log9 (log level),
Tag utilizzati di frequente:
no_filter, no_highlight, log0..log9 (livello di log),
notify_message, notify_private, notify_highlight,
irc_xxx (xxx is command name or number, see /server raw), irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
irc_xxx (xxx è il nome comando o il numero, consultare /server raw), irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Examples:
use IRC smart filter for join/part/quit messages:
/filter add irc_smart * irc_smart_filter *
filter all IRC join/part/quit messages:
/filter add joinquit * irc_join,irc_part,irc_quit *
filter nicks displayed when joining channels or with /names:
Esempi:
usa il filtro intelligente IRC per i messaggi di entrata/uscita/abbandono:
/filter add irc_smart * irc_smart_filter *
filtra tutti i messaggi entrata/uscita/abbandono di IRC:
/filter add joinquit * irc_join,irc_part,irc_quit *
filtra i nick visualizzati all'ingresso in un canale o con /names:
/filter add nicks * irc_366 *
filter nick "toto" on IRC channel #weechat:
/filter add toto irc.freenode.#weechat * toto\t
filter lines containing word "spam":
filtra il nick "tizio" sul canale IRC #weechat
/filter add tizio irc.freenode.#esempio * tizio\t
filtra le righe contententi la parola "spam":
/filter add filterspam * * spam
filter lines containing "weechat sucks" on IRC channel #weechat:
/filter add sucks irc.freenode.#weechat * weechat sucks
filtra le righe contententi "weechat fa schifo" sul canale IRC #weechat:
/filter add schifo irc.freenode.#weechat * weechat fa schifo
........................................
• *`/help`* `[comando | opzione]`::
@@ -186,17 +186,29 @@
Questo comando è utilizzato da combinazioni di tasti o plugin.
........................................
• *`/key`* `[bind tasto [comando [argomenti]]] | [unbind tasto] | [reset -yes] | [missing]`::
• *`/key`* `[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] | [reset key] | [resetall -yes] | [missing]`::
........................................
associa/disassocia tasti
bind: associa un comando ad un tasto o visualizza il comando associato al tasto
unbind: elimina l'associazione di un tasto
reset: ripristina le associazioni ai valori predefiniti ed elimina TUTTE le associazioni personalizzate (attenzione!)
missing: aggiunge i tasti mancanti (utilizzando le associazioni predefinite)
list: list all current keys (without argument, this list is displayed)
listdefault: list default keys
listdiff: list differences between current and default keys (keys added, redefined or deleted)
bind: bind a command to a key or display command bound to key
unbind: remove a key binding
reset: reset a key to default binding
resetall: restore bindings to the default values and delete ALL personal bindings (use carefully!)
missing: add missing keys (using default bindings), useful after installing new WeeChat version
Quando viene associato un comando ad una chiave, è consigliato utilizzare il tasto alt+k (oppure Esc e k), e poi premere il tasto da associare: il codice tasto verrà inserito nella riga di comando.
When binding a command to a key, it is recommended to use key alt+k (or Esc then k), and then press the key to bind: this will insert key code in command line.
Examples:
key alt-x to toggle nicklist bar:
/key bind meta-x /bar toggle nicklist
key alt-r to jump to #weechat IRC channel:
/key bind meta-r /buffer #weechat
restore default binding for key alt-r:
/key reset meta-r
........................................
• *`/layout`* `[[save | apply | reset] [buffers | windows]]`::
@@ -213,26 +225,26 @@
Senza argomenti, il comando visualizza il layout salvato.
........................................
• *`/mute`* `[-current | -buffer name | -all] command`::
• *`/mute`* `[-current | -buffer nome | -all] comando`::
........................................
execute a command silently
esegue un comando in silenzio
-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)
-current: nessun output sul buffer corrente
-buffer: nessun output sul buffer specificato
nome: nome completo del buffer (esempi: "irc.server.freenode", "irc.freenode.#weechat")
-all: nessun output su TUTTI i buffer
command: comando da eseguire in silenzio (una '/' viene aggiunta automaticamente all'inizio del comando se non trovata)
If no target is specified (-current, -buffer or -all), then default is to mute WeeChat core buffer only.
Se non viene specificata una destinazione (-current, -buffer o -all), la destinazione predefinita è il buffer core di WeeChat.
Examples:
config save:
Esempi:
salva la configurazione:
/mute save
message to current IRC channel:
/mute -current msg * hi!
message to #weechat channel:
/mute -buffer irc.freenode.#weechat msg #weechat hi!
messaggio sul canale IRC corrente:
/mute -current msg * ciao!
messaggio sul canale #weechat:
/mute -buffer irc.freenode.#weechat msg #weechat ciao!
........................................
• *`/plugin`* `[list [nome]] | [listfull [nome]] | [load file] | [autoload] | [reload [nome]] | [unload [nome]]`::
@@ -351,8 +363,8 @@
........................................
mostra l'uptime di WeeChat
-o: send uptime to current buffer as input (english string)
-ol: send uptime to current buffer as input (translated string)
-o: invia l'uptime al buffer corrente come input (stringa in inglese)
-ol: invia l'uptime al buffer corrente come input (stringa tradotta)
........................................
• *`/version`* `[-o | -ol]`::
@@ -360,8 +372,8 @@
........................................
mostra la versione e la data di compilazione di WeeChat
-o: send version to current buffer as input (english string)
-ol: send version to current buffer as input (translated string)
-o: invia la versione al buffer corrente come input (stringa inglese)
-ol: invia la versione al buffer corrente come input (stringa tradotta)
........................................
• *`/wait`* `numero[unità] comando`::
@@ -369,23 +381,23 @@
........................................
pianifica l'esecuzione di un comando
number: amount of time to wait (integer number)
unit: optional, values are:
ms: milliseconds
s: seconds (default)
m: minutes
h: hours
command: command to execute (or text to send to buffer if command does not start with '/')
numero: tempo di attesa (numero intero)
unità: valori opzionali sono:
ms: millisecondi
s: secondi (predefinito)
m: minuti
h: ore
comando: comando da eseguire (o testo da inviare al buffer se il comando non inizia con '/')
Note: command is executed on buffer where /wait was executed (if buffer is not found (for example if it has been closed before execution of command), then command is executed on WeeChat core buffer).
Nota: il comando è eseguito sui buffer dove /wait è stato eseguito (se il buffer non viene trovato (per esempio se è stato chiuso prima dell'esecuzione), allora il comando verrà eseguito sul buffer core di WeeChat)
Examples:
join channel in 10 sec:
Esempi:
entra nel canale tra 10 secondi:
/wait 10 /join #test
set away in 15 min:
/wait 15m /away -all I'm away
say 'hello' in 2 min:
/wait 2m hello
imposta assenza tra 15 minuti:
/wait 15m /away -all Sono assente
scrive ciao tra 2 minuti:
/wait 2m ciao
........................................
• *`/window`* `[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all] | page_up | page_down | refresh | scroll | scroll_up | scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | scroll_next_highlight | zoom]`::
@@ -393,7 +405,7 @@
........................................
gestione finestre
list: list opened windows (no parameter implies this list)
list: list opened windows (without argument, this list is displayed)
-1: jump to previous window
+1: jump to next window
b#: jump to next window displaying buffer number #
+9 -9
View File
@@ -29,12 +29,12 @@
** valori: un nome colore (valore predefinito: green)
* *weechat.color.chat_highlight*
** descrizione: colore del testo per il prefisso evidenziato
** descrizione: colore del testo per il prefisso di evento
** tipo: colore
** valori: un nome colore (valore predefinito: yellow)
* *weechat.color.chat_highlight_bg*
** descrizione: colore di sfondo per il prefisso evidenziato
** descrizione: colore di sfondo per il prefisso di evento
** tipo: colore
** valori: un nome colore (valore predefinito: magenta)
@@ -209,7 +209,7 @@
** valori: un nome colore (valore predefinito: green)
* *weechat.color.nicklist_offline*
** descrizione: text color for offline nicknames
** descrizione: colore del testo per i nick non in linea
** tipo: colore
** valori: un nome colore (valore predefinito: blue)
@@ -244,7 +244,7 @@
** valori: un nome colore (valore predefinito: blue)
* *weechat.color.status_data_highlight*
** descrizione: colore del testo per il buffer con evidenziazione (barra di stato)
** descrizione: colore del testo per il buffer con evento (barra di stato)
** tipo: colore
** valori: un nome colore (valore predefinito: lightmagenta)
@@ -364,7 +364,7 @@
** valori: none, highlight, message, all (valore predefinito: all)
* *weechat.look.buffer_time_format*
** descrizione: time format for each line displayed in buffers
** descrizione: formato dell'ora per ogni riga visualizzata nei buffer
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: "%H:%M:%S")
@@ -379,7 +379,7 @@
** valori: on, off (valore predefinito: off)
* *weechat.look.command_chars*
** descrizione: chars used to determine if input string is a command or not: input must start with one of these chars; the slash ("/") is always considered as command prefix (example: ".$")
** descrizione: caratteri usati per determinare se la stringa in input è un comando oppure no: l'input deve iniziare con uno di questi caratteri: la barra ("/") è sempre considerata come prefisso per comando (esempio: ".$")
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: "")
@@ -414,7 +414,7 @@
** valori: 0 .. 32 (valore predefinito: 0)
* *weechat.look.hotlist_names_level*
** descrizione: livello per la visualizzazione dei nomi nella hotlist (combinazione di: 1=entrata/uscita, 2=messaggio, 4=privato, 8=evidenziato, per esempio: 12=privato+evidenziato)
** descrizione: livello per la visualizzazione dei nomi nella hotlist (combinazione di: 1=entrata/uscita, 2=messaggio, 4=privato, 8=evento, per esempio: 12=privato+evento)
** tipo: intero
** valori: 1 .. 15 (valore predefinito: 12)
@@ -529,7 +529,7 @@
** valori: none, line, dotted-line, char (valore predefinito: dotted-line)
* *weechat.look.read_marker_always_show*
** descrizione: always show read marker, even if it is after last buffer line
** descrizione: mostra sempre l'evidenziatore di lettura, anche se si trova dopo l'ultima riga del buffer
** tipo: bool
** valori: on, off (valore predefinito: off)
@@ -564,7 +564,7 @@
** valori: on, off (valore predefinito: on)
* *weechat.look.time_format*
** descrizione: time format for dates converted to strings and displayed in messages
** descrizione: formato dell'ora per le date convertite a stringhe e visualizzate nei messaggi
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: "%a, %d %b %Y %T")
+71 -10
View File
@@ -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-03-23 15:33+0100\n"
"POT-Creation-Date: 2010-03-24 19:36+0100\n"
"PO-Revision-Date: 2010-03-23 10:19+0100\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -338,6 +338,22 @@ msgstr "%sNení dostupná žádná nápověda, \"%s\" není příkaz nebo volba"
msgid "Buffer command history:"
msgstr "Historie příkazů bufferu:"
#, fuzzy
msgid "default command:"
msgstr "příkazy weechat"
#, fuzzy, c-format
msgid "Key bindings added or redefined (%d):"
msgstr "Klávesové zkratky (%d):"
#, fuzzy, c-format
msgid "Key bindings deleted (%d):"
msgstr "Klávesové zkratky (%d):"
#, fuzzy
msgid "No key binding added, redefined or removed"
msgstr "Klávesové zkratky (%d):"
msgid "No key binding defined"
msgstr "Žádné klávesové zkratky nejsou definovány"
@@ -345,6 +361,14 @@ msgstr "Žádné klávesové zkratky nejsou definovány"
msgid "Key bindings (%d):"
msgstr "Klávesové zkratky (%d):"
#, fuzzy
msgid "No default key binding"
msgstr "Výchozí klávesové zkratky obnoveny"
#, fuzzy, c-format
msgid "Default key bindings (%d):"
msgstr "Výchozí klávesové zkratky obnoveny"
msgid "Key:"
msgstr "Klávesa:"
@@ -363,6 +387,14 @@ msgstr "Klávesa \"%s\" odpojena"
msgid "%sError: unable to unbind key \"%s\""
msgstr "%sChyba: nemohu odpojit klávesu \"%s\""
#, c-format
msgid "Key \"%s\" has already default value"
msgstr ""
#, fuzzy, c-format
msgid "%sKey \"%s\" not found"
msgstr "%s%s: přesměrování \"%s\" nenalezeno"
msgid "Default key bindings restored"
msgstr "Výchozí klávesové zkratky obnoveny"
@@ -856,7 +888,7 @@ msgid ""
" (by default ctrl-x switches between merged buffers)\n"
" unmerge: unmerge buffer from other buffers which have same number\n"
" close: close buffer (number/range is optional)\n"
" list: list buffers (no parameter implies this list)\n"
" list: list buffers (without argument, this list is displayed)\n"
" notify: set notify level for current buffer: this level determines whether "
"buffer will be added to hotlist or not:\n"
" none: never\n"
@@ -1083,19 +1115,38 @@ msgstr "Tento příkaz je používán napojenou klávesou nebo pluginy."
msgid "bind/unbind keys"
msgstr "napojit/odpojit klávesy"
msgid "[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]"
#, fuzzy
msgid ""
"[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] "
"| [reset key] | [resetall -yes] | [missing]"
msgstr "[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]"
#, fuzzy
msgid ""
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: restore bindings to the default values and delete ALL personal "
" list: list all current keys (without argument, this list is "
"displayed)\n"
"listdefault: list default keys\n"
" listdiff: list differences between current and default keys (keys added, "
"redefined or deleted)\n"
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: reset a key to default binding\n"
" resetall: restore bindings to the default values and delete ALL personal "
"bindings (use carefully!)\n"
"missing: add missing keys (using default bindings)\n"
" missing: add missing keys (using default bindings), useful after "
"installing new WeeChat version\n"
"\n"
"When binding a command to a key, it is recommended to use key alt+k (or Esc "
"then k), and then press the key to bind: this will insert key code in "
"command line."
"command line.\n"
"\n"
"Examples:\n"
" key alt-x to toggle nicklist bar:\n"
" /key bind meta-x /bar toggle nicklist\n"
" key alt-r to jump to #weechat IRC channel:\n"
" /key bind meta-r /buffer #weechat\n"
" restore default binding for key alt-r:\n"
" /key reset meta-r"
msgstr ""
" bind: napojí příkaz na klávesu nebo zobrazí napojený příkaz\n"
" unbind: odpojí klávesu\n"
@@ -1459,7 +1510,8 @@ msgstr ""
#, fuzzy
msgid ""
" list: list opened windows (no parameter implies this list)\n"
" list: list opened windows (without argument, this list is "
"displayed)\n"
" -1: jump to previous window\n"
" +1: jump to next window\n"
" b#: jump to next window displaying buffer number #\n"
@@ -2430,6 +2482,10 @@ msgstr "volby pro pole"
msgid "key codes"
msgstr "klávesové kódy"
#, fuzzy
msgid "key codes that can be reset (keys added, redefined or removed)"
msgstr "Klávesové zkratky (%d):"
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr "Chyba: nedostatek paměti pro přidáni bufferu do hotlistu"
@@ -3778,8 +3834,9 @@ msgstr ""
"nové_jméno_serveru] | [keep jméno_serveru] | [del jméno_serveru] | [deloutq] "
"| [jump] | [raw]"
#, fuzzy
msgid ""
" list: list servers (no parameter implies this list)\n"
" list: list servers (without argument, this list is displayed)\n"
" listfull: list servers with detailed info for each server\n"
" add: create a new server\n"
"servername: server name, for internal and display use\n"
@@ -6307,3 +6364,7 @@ msgstr "Argumenty"
msgid "Pointer"
msgstr "Ukazatel"
#, fuzzy
#~ msgid "No key added or redefined"
#~ msgstr "Žádné klávesové zkratky nejsou definovány"
+73 -10
View File
@@ -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-03-23 15:33+0100\n"
"POT-Creation-Date: 2010-03-24 19:36+0100\n"
"PO-Revision-Date: 2010-03-23 15:44+0100\n"
"Last-Translator: Nils G <weechatter@arcor.de>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -351,6 +351,22 @@ msgstr "%sKeine Hilfe verfügbar, \"%s\" ist kein Befehl oder Option"
msgid "Buffer command history:"
msgstr "Befehlsverlauf des Buffers:"
#, fuzzy
msgid "default command:"
msgstr "WeeChat Befehle"
#, fuzzy, c-format
msgid "Key bindings added or redefined (%d):"
msgstr "Tastenbelegungen (%d):"
#, fuzzy, c-format
msgid "Key bindings deleted (%d):"
msgstr "Tastenbelegungen (%d):"
#, fuzzy
msgid "No key binding added, redefined or removed"
msgstr "Tastenbelegungen (%d):"
msgid "No key binding defined"
msgstr "Keine Tastenbelegung definiert"
@@ -358,6 +374,14 @@ msgstr "Keine Tastenbelegung definiert"
msgid "Key bindings (%d):"
msgstr "Tastenbelegungen (%d):"
#, fuzzy
msgid "No default key binding"
msgstr "Standardtastenbelegungen wiederhergestellt"
#, fuzzy, c-format
msgid "Default key bindings (%d):"
msgstr "Standardtastenbelegungen wiederhergestellt"
msgid "Key:"
msgstr "Taste:"
@@ -376,6 +400,14 @@ msgstr "Tastenbelegung \"%s\" entfernt"
msgid "%sError: unable to unbind key \"%s\""
msgstr "%sFehler: kann die Tastenbelegung \"%s\" nicht entfernen"
#, c-format
msgid "Key \"%s\" has already default value"
msgstr ""
#, fuzzy, c-format
msgid "%sKey \"%s\" not found"
msgstr "%s%s: Relay \"%s\" nicht gefunden"
msgid "Default key bindings restored"
msgstr "Standardtastenbelegungen wiederhergestellt"
@@ -866,6 +898,7 @@ msgstr ""
"[number] | close [n1[-n2]] | list | notify level | localvar | set property "
"value | number | name]"
#, fuzzy
msgid ""
" clear: clear buffer content (number for a buffer, -merged for merged "
"buffers, -all for all buffers, or nothing for current buffer)\n"
@@ -875,7 +908,7 @@ msgid ""
" (by default ctrl-x switches between merged buffers)\n"
" unmerge: unmerge buffer from other buffers which have same number\n"
" close: close buffer (number/range is optional)\n"
" list: list buffers (no parameter implies this list)\n"
" list: list buffers (without argument, this list is displayed)\n"
" notify: set notify level for current buffer: this level determines whether "
"buffer will be added to hotlist or not:\n"
" none: never\n"
@@ -1126,20 +1159,39 @@ msgstr "Dieser Befehl wird von Tastenbelegungen oder Erweiterungen verwendet"
msgid "bind/unbind keys"
msgstr "Einer Taste einen Befehl zuordnen oder entfernen"
msgid "[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]"
#, fuzzy
msgid ""
"[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] "
"| [reset key] | [resetall -yes] | [missing]"
msgstr ""
"[bind Taste [Befehl [Argument]]] | [unbind Taste] | [reset -yes] | [missing]"
#, fuzzy
msgid ""
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: restore bindings to the default values and delete ALL personal "
" list: list all current keys (without argument, this list is "
"displayed)\n"
"listdefault: list default keys\n"
" listdiff: list differences between current and default keys (keys added, "
"redefined or deleted)\n"
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: reset a key to default binding\n"
" resetall: restore bindings to the default values and delete ALL personal "
"bindings (use carefully!)\n"
"missing: add missing keys (using default bindings)\n"
" missing: add missing keys (using default bindings), useful after "
"installing new WeeChat version\n"
"\n"
"When binding a command to a key, it is recommended to use key alt+k (or Esc "
"then k), and then press the key to bind: this will insert key code in "
"command line."
"command line.\n"
"\n"
"Examples:\n"
" key alt-x to toggle nicklist bar:\n"
" /key bind meta-x /bar toggle nicklist\n"
" key alt-r to jump to #weechat IRC channel:\n"
" /key bind meta-r /buffer #weechat\n"
" restore default binding for key alt-r:\n"
" /key reset meta-r"
msgstr ""
" bind: belegt eine Taste mit einem Befehl oder zeigt an welcher Befehl auf "
"eine Taste gelegt wurde\n"
@@ -1522,8 +1574,10 @@ msgstr ""
"scroll_up | scroll_down | scroll_top | scroll_bottom | "
"scroll_previous_highlight | scroll_next_highlight | zoom]"
#, fuzzy
msgid ""
" list: list opened windows (no parameter implies this list)\n"
" list: list opened windows (without argument, this list is "
"displayed)\n"
" -1: jump to previous window\n"
" +1: jump to next window\n"
" b#: jump to next window displaying buffer number #\n"
@@ -2537,6 +2591,10 @@ msgstr "Optionen für Infobars"
msgid "key codes"
msgstr "Tastaturcodes"
#, fuzzy
msgid "key codes that can be reset (keys added, redefined or removed)"
msgstr "Tastenbelegungen (%d):"
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr ""
"Fehler: nicht genügend Speicher um den Buffer der Hotlist hinzu zu fügen"
@@ -3940,8 +3998,9 @@ msgstr ""
"newservername] | [rename servername newservername] | [keep servername] | "
"[del servername] | [deloutq] | [jump] | [raw]"
#, fuzzy
msgid ""
" list: list servers (no parameter implies this list)\n"
" list: list servers (without argument, this list is displayed)\n"
" listfull: list servers with detailed info for each server\n"
" add: create a new server\n"
"servername: server name, for internal and display use\n"
@@ -6549,6 +6608,10 @@ msgstr "Argumente"
msgid "Pointer"
msgstr "Pointer"
#, fuzzy
#~ msgid "No key added or redefined"
#~ msgstr "Keine Tastenbelegung definiert"
#~ msgid "Welcome to %sWeeChat%s, %s"
#~ msgstr "Willkommen in %sWeeChat%s, %s"
+70 -10
View File
@@ -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-03-23 15:33+0100\n"
"POT-Creation-Date: 2010-03-24 19:36+0100\n"
"PO-Revision-Date: 2010-03-23 10:20+0100\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -343,6 +343,22 @@ msgstr "%sNo hay ayuda disponible, \"%s\" no es un comando o una opción"
msgid "Buffer command history:"
msgstr "Historial de comandos:"
#, fuzzy
msgid "default command:"
msgstr "comandos de weechat"
#, fuzzy, c-format
msgid "Key bindings added or redefined (%d):"
msgstr "Atajos (%d):"
#, fuzzy, c-format
msgid "Key bindings deleted (%d):"
msgstr "Atajos (%d):"
#, fuzzy
msgid "No key binding added, redefined or removed"
msgstr "Atajos (%d):"
msgid "No key binding defined"
msgstr "Ningún atajo definido"
@@ -350,6 +366,14 @@ msgstr "Ningún atajo definido"
msgid "Key bindings (%d):"
msgstr "Atajos (%d):"
#, fuzzy
msgid "No default key binding"
msgstr "Atajos predefinidos restaurados"
#, fuzzy, c-format
msgid "Default key bindings (%d):"
msgstr "Atajos predefinidos restaurados"
msgid "Key:"
msgstr "Tecla:"
@@ -368,6 +392,14 @@ msgstr "Atajo \"%s\" deshecho"
msgid "%sError: unable to unbind key \"%s\""
msgstr "%sError: no se pudo deshacer el atajo \"%s\""
#, c-format
msgid "Key \"%s\" has already default value"
msgstr ""
#, fuzzy, c-format
msgid "%sKey \"%s\" not found"
msgstr "%s%s: repetidor \"%s\" no encontrado"
msgid "Default key bindings restored"
msgstr "Atajos predefinidos restaurados"
@@ -859,7 +891,7 @@ msgid ""
" (by default ctrl-x switches between merged buffers)\n"
" unmerge: unmerge buffer from other buffers which have same number\n"
" close: close buffer (number/range is optional)\n"
" list: list buffers (no parameter implies this list)\n"
" list: list buffers (without argument, this list is displayed)\n"
" notify: set notify level for current buffer: this level determines whether "
"buffer will be added to hotlist or not:\n"
" none: never\n"
@@ -1093,21 +1125,40 @@ msgstr "Este comando es usado para atajos del teclado o extensiones"
msgid "bind/unbind keys"
msgstr "crear/deshacer atajos"
msgid "[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]"
#, fuzzy
msgid ""
"[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] "
"| [reset key] | [resetall -yes] | [missing]"
msgstr ""
"[bind tecla [comando [argumentos]]] | [unbind tecla] | [reset -yes] | "
"[missing]"
#, fuzzy
msgid ""
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: restore bindings to the default values and delete ALL personal "
" list: list all current keys (without argument, this list is "
"displayed)\n"
"listdefault: list default keys\n"
" listdiff: list differences between current and default keys (keys added, "
"redefined or deleted)\n"
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: reset a key to default binding\n"
" resetall: restore bindings to the default values and delete ALL personal "
"bindings (use carefully!)\n"
"missing: add missing keys (using default bindings)\n"
" missing: add missing keys (using default bindings), useful after "
"installing new WeeChat version\n"
"\n"
"When binding a command to a key, it is recommended to use key alt+k (or Esc "
"then k), and then press the key to bind: this will insert key code in "
"command line."
"command line.\n"
"\n"
"Examples:\n"
" key alt-x to toggle nicklist bar:\n"
" /key bind meta-x /bar toggle nicklist\n"
" key alt-r to jump to #weechat IRC channel:\n"
" /key bind meta-r /buffer #weechat\n"
" restore default binding for key alt-r:\n"
" /key reset meta-r"
msgstr ""
" bind: crea el atajo al comando o muestra el comando asociado con el "
"atajo\n"
@@ -1458,7 +1509,8 @@ msgstr ""
#, fuzzy
msgid ""
" list: list opened windows (no parameter implies this list)\n"
" list: list opened windows (without argument, this list is "
"displayed)\n"
" -1: jump to previous window\n"
" +1: jump to next window\n"
" b#: jump to next window displaying buffer number #\n"
@@ -2448,6 +2500,10 @@ msgstr "opciones para barras"
msgid "key codes"
msgstr "códigos de tecla"
#, fuzzy
msgid "key codes that can be reset (keys added, redefined or removed)"
msgstr "Atajos (%d):"
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr ""
"Error: no hay suficiente memoria para agregar el buffer a la lista de "
@@ -3809,7 +3865,7 @@ msgstr ""
#, fuzzy
msgid ""
" list: list servers (no parameter implies this list)\n"
" list: list servers (without argument, this list is displayed)\n"
" listfull: list servers with detailed info for each server\n"
" add: create a new server\n"
"servername: server name, for internal and display use\n"
@@ -6390,3 +6446,7 @@ msgstr "[argumentos]"
#, fuzzy
msgid "Pointer"
msgstr "entero"
#, fuzzy
#~ msgid "No key added or redefined"
#~ msgstr "Ningún atajo definido"
+96 -24
View File
@@ -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-03-23 15:33+0100\n"
"PO-Revision-Date: 2010-03-23 15:35+0100\n"
"POT-Creation-Date: 2010-03-24 19:36+0100\n"
"PO-Revision-Date: 2010-03-24 19:39+0100\n"
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"MIME-Version: 1.0\n"
@@ -341,6 +341,20 @@ msgstr "%sPas d'aide disponible, \"%s\" n'est pas une commande ou une option"
msgid "Buffer command history:"
msgstr "Historique des commandes du tampon:"
msgid "default command:"
msgstr "commande par défaut:"
#, c-format
msgid "Key bindings added or redefined (%d):"
msgstr "Associations de touches ajoutées ou redéfinies (%d):"
#, c-format
msgid "Key bindings deleted (%d):"
msgstr "Associations de touches supprimées (%d):"
msgid "No key binding added, redefined or removed"
msgstr "Aucune association de touche ajoutée, redéfinie ou supprimée"
msgid "No key binding defined"
msgstr "Pas d'association de touche définie"
@@ -348,6 +362,13 @@ msgstr "Pas d'association de touche définie"
msgid "Key bindings (%d):"
msgstr "Associations de touches (%d):"
msgid "No default key binding"
msgstr "Pas de touche par défaut"
#, c-format
msgid "Default key bindings (%d):"
msgstr "Associations de touches par défaut (%d):"
msgid "Key:"
msgstr "Touche:"
@@ -366,6 +387,14 @@ msgstr "Touche \"%s\" supprimée"
msgid "%sError: unable to unbind key \"%s\""
msgstr "%sErreur: impossible de supprimer la touche \"%s\""
#, c-format
msgid "Key \"%s\" has already default value"
msgstr "La touche \"%s\" a déjà la valeur par défaut"
#, c-format
msgid "%sKey \"%s\" not found"
msgstr "%sTouche \"%s\" non trouvée"
msgid "Default key bindings restored"
msgstr "Touches par défaut restaurées"
@@ -857,7 +886,7 @@ msgid ""
" (by default ctrl-x switches between merged buffers)\n"
" unmerge: unmerge buffer from other buffers which have same number\n"
" close: close buffer (number/range is optional)\n"
" list: list buffers (no parameter implies this list)\n"
" list: list buffers (without argument, this list is displayed)\n"
" notify: set notify level for current buffer: this level determines whether "
"buffer will be added to hotlist or not:\n"
" none: never\n"
@@ -903,7 +932,8 @@ msgstr ""
" unmerge: détache le tampon courant des autres tampons portant le même "
"numéro\n"
" close: ferme le tampon (nombre/intervalle optionnel)\n"
" list: liste les tampons ouverts (pas de paramètre affiche cette liste)\n"
" list: liste les tampons ouverts (sans paramètre, cette liste est "
"affichée)\n"
" notify: définit le niveau de notification pour le tampon courant: ce "
"niveau détermine si le buffer doit être ajouté à la hotlist ou pas:\n"
" none: jamais\n"
@@ -1107,32 +1137,64 @@ msgstr ""
msgid "bind/unbind keys"
msgstr "associer/libérer des touches"
msgid "[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]"
msgid ""
"[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] "
"| [reset key] | [resetall -yes] | [missing]"
msgstr ""
"[bind touche [commande [args]]] | [unbind touche] | [reset -yes] | [missing]"
"[list | listdefault | listdiff] | [bind touche [commande [args]]] | [unbind "
"touche] | [reset touche] | [resetall -yes] | [missing]"
msgid ""
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: restore bindings to the default values and delete ALL personal "
" list: list all current keys (without argument, this list is "
"displayed)\n"
"listdefault: list default keys\n"
" listdiff: list differences between current and default keys (keys added, "
"redefined or deleted)\n"
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: reset a key to default binding\n"
" resetall: restore bindings to the default values and delete ALL personal "
"bindings (use carefully!)\n"
"missing: add missing keys (using default bindings)\n"
" missing: add missing keys (using default bindings), useful after "
"installing new WeeChat version\n"
"\n"
"When binding a command to a key, it is recommended to use key alt+k (or Esc "
"then k), and then press the key to bind: this will insert key code in "
"command line."
"command line.\n"
"\n"
"Examples:\n"
" key alt-x to toggle nicklist bar:\n"
" /key bind meta-x /bar toggle nicklist\n"
" key alt-r to jump to #weechat IRC channel:\n"
" /key bind meta-r /buffer #weechat\n"
" restore default binding for key alt-r:\n"
" /key reset meta-r"
msgstr ""
" bind: associer une commande à une touche ou afficher la commande associée "
"à la touche\n"
" unbind: supprimer l'association à une touche\n"
" reset: restaure les touches aux valeurs par défaut et supprime TOUTES les "
"touches personnelles (utiliser avec précaution !)\n"
"missing: ajoute les touches manquantes (en utilisant les touches par "
"défaut)\n"
" list: affiche toutes les touches courantes (sans paramètre, cette "
"liste est affichée)\n"
"listdefault: affiche les touches par défaut\n"
" listdiff: affiche les différences entre les touches courantes et celles "
"par défaut (touches ajoutées, redéfinies ou supprimées)\n"
" bind: associe une commande à une touche ou affiche la commande "
"associée à la touche\n"
" unbind: supprime l'association à une touche\n"
" reset: réinitialise une touche à son association par défaut\n"
" resetall: restaure les touches aux valeurs par défaut et supprime TOUTES "
"les touches personnelles (utiliser avec précaution !)\n"
" missing: ajoute les touches manquantes (en utilisant les touches par "
"défaut), pratique après installation d'une nouvelle version de WeeChat\n"
"\n"
"Lors de l'association d'une commande à une touche, il est recommandé "
"d'utiliser la touche alt+k (ou Echap puis k), et puis de presser la touche à "
"associer: cela insère le code de la touche dans la ligne de commande."
"associer: cela insère le code de la touche dans la ligne de commande.\n"
"\n"
"Exemples:\n"
" touche alt-x pour activer/désactiver la liste des pseudos:\n"
" /key bind meta-x /bar toggle nicklist\n"
" touche alt-r pour aller sur le canal IRC #weechat:\n"
" /key bind meta-r /buffer #weechat\n"
" restaure l'association par défaut pour la touche alt-r:\n"
" /key reset meta-r"
msgid "save/apply/reset layout for buffers and windows"
msgstr "sauve/applique/réinitialise la disposition des tampons et fenêtres"
@@ -1495,7 +1557,8 @@ msgstr ""
"scroll_previous_highlight | scroll_next_highlight | zoom]"
msgid ""
" list: list opened windows (no parameter implies this list)\n"
" list: list opened windows (without argument, this list is "
"displayed)\n"
" -1: jump to previous window\n"
" +1: jump to next window\n"
" b#: jump to next window displaying buffer number #\n"
@@ -1535,8 +1598,8 @@ msgid ""
" scroll to beginning of current day:\n"
" /window scroll -d"
msgstr ""
" list: liste les fenêtres ouvertes (pas de paramètre affiche cette "
"liste)\n"
" list: liste les fenêtres ouvertes (sans paramètre, cette liste est "
"affichée)\n"
" -1: saute à la fenêtre précédente\n"
" +1: saute à la fenêtre suivante\n"
" b#: saute à la fenêtre affichant le tampon #\n"
@@ -2509,6 +2572,11 @@ msgstr "options pour les barres"
msgid "key codes"
msgstr "codes des touches"
msgid "key codes that can be reset (keys added, redefined or removed)"
msgstr ""
"codes des touches pouvant être réinitialisées (touches ajoutées, redéfinies "
"ou supprimées)"
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr "Erreur: impossible d'ajouter le tampon à la liste des tampons actifs"
@@ -3899,7 +3967,7 @@ msgstr ""
"nom_serveur] | [del nom_serveur] | [deloutq] | [jump] | [raw]"
msgid ""
" list: list servers (no parameter implies this list)\n"
" list: list servers (without argument, this list is displayed)\n"
" listfull: list servers with detailed info for each server\n"
" add: create a new server\n"
"servername: server name, for internal and display use\n"
@@ -3929,7 +3997,8 @@ msgid ""
" /server del freenode\n"
" /server deloutq"
msgstr ""
" list: afficher les serveurs (pas de paramètre implique cette liste)\n"
" list: afficher les serveurs (sans paramètre, cette liste est "
"affichée)\n"
" listfull: afficher les serveurs avec de l'info détaillée pour chaque\n"
" add: créer un nouveau serveur\n"
"nom_serveur: nom du serveur, pour usage interne et affichage\n"
@@ -6484,3 +6553,6 @@ msgstr "Paramètres"
msgid "Pointer"
msgstr "Pointeur"
#~ msgid "No key added or redefined"
#~ msgstr "Pas de touche ajoutée ou redéfinie"
+68 -10
View File
@@ -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-03-23 15:33+0100\n"
"POT-Creation-Date: 2010-03-24 19:36+0100\n"
"PO-Revision-Date: 2010-03-23 10:20+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -367,6 +367,22 @@ msgstr "Nem érhető el segítség, a \"%s\" ismeretlen parancs\n"
msgid "Buffer command history:"
msgstr "a pufferben kiadott parancsok előzményének mutatása"
#, fuzzy
msgid "default command:"
msgstr "%s belső parancsok:\n"
#, fuzzy, c-format
msgid "Key bindings added or redefined (%d):"
msgstr "Billentyűparancsok:\n"
#, fuzzy, c-format
msgid "Key bindings deleted (%d):"
msgstr "Billentyűparancsok:\n"
#, fuzzy
msgid "No key binding added, redefined or removed"
msgstr "Billentyűparancsok:\n"
#, fuzzy
msgid "No key binding defined"
msgstr "Nincs aliasz definiálva.\n"
@@ -375,6 +391,14 @@ msgstr "Nincs aliasz definiálva.\n"
msgid "Key bindings (%d):"
msgstr "Billentyűparancsok:\n"
#, fuzzy
msgid "No default key binding"
msgstr "Alapértelmezett billentyűparancsok visszaállítva\n"
#, fuzzy, c-format
msgid "Default key bindings (%d):"
msgstr "Alapértelmezett billentyűparancsok visszaállítva\n"
#, fuzzy
msgid "Key:"
msgstr "Billentyű:\n"
@@ -395,6 +419,14 @@ msgstr "A(z) \"%s\" billentyűparancs visszavonva\n"
msgid "%sError: unable to unbind key \"%s\""
msgstr "%s nem sikerült a(z) \"%s\" billentyűparancsot visszavonni\n"
#, c-format
msgid "Key \"%s\" has already default value"
msgstr ""
#, fuzzy, c-format
msgid "%sKey \"%s\" not found"
msgstr "%s a \"%s\" szerver nem található\n"
#, fuzzy
msgid "Default key bindings restored"
msgstr "Alapértelmezett billentyűparancsok visszaállítva\n"
@@ -856,7 +888,7 @@ msgid ""
" (by default ctrl-x switches between merged buffers)\n"
" unmerge: unmerge buffer from other buffers which have same number\n"
" close: close buffer (number/range is optional)\n"
" list: list buffers (no parameter implies this list)\n"
" list: list buffers (without argument, this list is displayed)\n"
" notify: set notify level for current buffer: this level determines whether "
"buffer will be added to hotlist or not:\n"
" none: never\n"
@@ -1045,22 +1077,39 @@ msgid "bind/unbind keys"
msgstr "billentyűk hozzárendelése/hozzárendelés eltávolítása"
#, fuzzy
msgid "[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]"
msgid ""
"[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] "
"| [reset key] | [resetall -yes] | [missing]"
msgstr ""
"[billentyű [funkció/parancs]] [unbind billentyű] [funkciók] [call funkció "
"[\"paraméterek\"]] [reset -yes]"
#, fuzzy
msgid ""
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: restore bindings to the default values and delete ALL personal "
" list: list all current keys (without argument, this list is "
"displayed)\n"
"listdefault: list default keys\n"
" listdiff: list differences between current and default keys (keys added, "
"redefined or deleted)\n"
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: reset a key to default binding\n"
" resetall: restore bindings to the default values and delete ALL personal "
"bindings (use carefully!)\n"
"missing: add missing keys (using default bindings)\n"
" missing: add missing keys (using default bindings), useful after "
"installing new WeeChat version\n"
"\n"
"When binding a command to a key, it is recommended to use key alt+k (or Esc "
"then k), and then press the key to bind: this will insert key code in "
"command line."
"command line.\n"
"\n"
"Examples:\n"
" key alt-x to toggle nicklist bar:\n"
" /key bind meta-x /bar toggle nicklist\n"
" key alt-r to jump to #weechat IRC channel:\n"
" /key bind meta-r /buffer #weechat\n"
" restore default binding for key alt-r:\n"
" /key reset meta-r"
msgstr ""
"billentyű: billentyű hozzárendelése valamely belső funkcióhoz vagy \"/\" "
"jellel kezdődő parancshoz\n"
@@ -1334,7 +1383,8 @@ msgstr ""
#, fuzzy
msgid ""
" list: list opened windows (no parameter implies this list)\n"
" list: list opened windows (without argument, this list is "
"displayed)\n"
" -1: jump to previous window\n"
" +1: jump to next window\n"
" b#: jump to next window displaying buffer number #\n"
@@ -2341,6 +2391,10 @@ msgstr "Aliaszok listája:\n"
msgid "key codes"
msgstr ""
#, fuzzy
msgid "key codes that can be reset (keys added, redefined or removed)"
msgstr "Billentyűparancsok:\n"
#, fuzzy
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr "%s nincs elég memória az ignore elkészítéséhez\n"
@@ -3647,7 +3701,7 @@ msgstr ""
#, fuzzy
msgid ""
" list: list servers (no parameter implies this list)\n"
" list: list servers (without argument, this list is displayed)\n"
" listfull: list servers with detailed info for each server\n"
" add: create a new server\n"
"servername: server name, for internal and display use\n"
@@ -6180,3 +6234,7 @@ msgstr "fogadó típusa [paraméterek]"
#, fuzzy
msgid "Pointer"
msgstr "perc"
#, fuzzy
#~ msgid "No key added or redefined"
#~ msgstr "Nincs aliasz definiálva.\n"
+319 -178
View File
File diff suppressed because it is too large Load Diff
+71 -10
View File
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2010-03-23 15:33+0100\n"
"POT-Creation-Date: 2010-03-24 19:36+0100\n"
"PO-Revision-Date: 2010-03-23 10:20+0100\n"
"Last-Translator: Krzysztof Koroscik <soltys@szluug.org>\n"
"Language-Team: Polish\n"
@@ -343,6 +343,22 @@ msgstr "%sNie ma dostępnej pomocy, \"%s\" nie jest komenda ani opcją"
msgid "Buffer command history:"
msgstr "Historia komend bufora:"
#, fuzzy
msgid "default command:"
msgstr "komendy weechata"
#, fuzzy, c-format
msgid "Key bindings added or redefined (%d):"
msgstr "Powiązania klawiszy (%d):"
#, fuzzy, c-format
msgid "Key bindings deleted (%d):"
msgstr "Powiązania klawiszy (%d):"
#, fuzzy
msgid "No key binding added, redefined or removed"
msgstr "Powiązania klawiszy (%d):"
msgid "No key binding defined"
msgstr "Nie zdefiniowano powiązań klawiszy"
@@ -350,6 +366,14 @@ msgstr "Nie zdefiniowano powiązań klawiszy"
msgid "Key bindings (%d):"
msgstr "Powiązania klawiszy (%d):"
#, fuzzy
msgid "No default key binding"
msgstr "Przywrócono domyślne przypisania klawiszy"
#, fuzzy, c-format
msgid "Default key bindings (%d):"
msgstr "Przywrócono domyślne przypisania klawiszy"
msgid "Key:"
msgstr "Klawisz:"
@@ -368,6 +392,14 @@ msgstr "Klawisz \"%s\" nieprzypisany"
msgid "%sError: unable to unbind key \"%s\""
msgstr "%sBłąd: nie można odbindować klawisza \"%s\""
#, c-format
msgid "Key \"%s\" has already default value"
msgstr ""
#, fuzzy, c-format
msgid "%sKey \"%s\" not found"
msgstr "%s%s: relay \"%s\" nie został znaleziony"
msgid "Default key bindings restored"
msgstr "Przywrócono domyślne przypisania klawiszy"
@@ -871,7 +903,7 @@ msgid ""
" (by default ctrl-x switches between merged buffers)\n"
" unmerge: unmerge buffer from other buffers which have same number\n"
" close: close buffer (number/range is optional)\n"
" list: list buffers (no parameter implies this list)\n"
" list: list buffers (without argument, this list is displayed)\n"
" notify: set notify level for current buffer: this level determines whether "
"buffer will be added to hotlist or not:\n"
" none: never\n"
@@ -1101,21 +1133,40 @@ msgstr "Ta komenda jest używana przez skróty klawiszowe lub wtyczki"
msgid "bind/unbind keys"
msgstr "przypisz/usuń przypisanie klawiszy"
msgid "[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]"
#, fuzzy
msgid ""
"[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] "
"| [reset key] | [resetall -yes] | [missing]"
msgstr ""
"[bind klawisz [komenda [argumenty]]] | [unbind klawisz] | [reset -yes] | "
"[missing]"
#, fuzzy
msgid ""
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: restore bindings to the default values and delete ALL personal "
" list: list all current keys (without argument, this list is "
"displayed)\n"
"listdefault: list default keys\n"
" listdiff: list differences between current and default keys (keys added, "
"redefined or deleted)\n"
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: reset a key to default binding\n"
" resetall: restore bindings to the default values and delete ALL personal "
"bindings (use carefully!)\n"
"missing: add missing keys (using default bindings)\n"
" missing: add missing keys (using default bindings), useful after "
"installing new WeeChat version\n"
"\n"
"When binding a command to a key, it is recommended to use key alt+k (or Esc "
"then k), and then press the key to bind: this will insert key code in "
"command line."
"command line.\n"
"\n"
"Examples:\n"
" key alt-x to toggle nicklist bar:\n"
" /key bind meta-x /bar toggle nicklist\n"
" key alt-r to jump to #weechat IRC channel:\n"
" /key bind meta-r /buffer #weechat\n"
" restore default binding for key alt-r:\n"
" /key reset meta-r"
msgstr ""
" bind: przypisuje komendę do klawisza lub wyświetla przypisaną do klawisza "
"komendę\n"
@@ -1482,7 +1533,8 @@ msgstr ""
#, fuzzy
msgid ""
" list: list opened windows (no parameter implies this list)\n"
" list: list opened windows (without argument, this list is "
"displayed)\n"
" -1: jump to previous window\n"
" +1: jump to next window\n"
" b#: jump to next window displaying buffer number #\n"
@@ -2459,6 +2511,10 @@ msgstr "opcje pasków"
msgid "key codes"
msgstr "kody klawiszowe"
#, fuzzy
msgid "key codes that can be reset (keys added, redefined or removed)"
msgstr "Powiązania klawiszy (%d):"
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr "Błąd: za mało pamięci, aby dodać bufor do hotlisty"
@@ -3812,8 +3868,9 @@ msgstr ""
"nowa_nazwa_serwera] | [rename nazwa_serwera nowa_nazwa_serwera] | [keep "
"nazwa_serwera] | [del nazwa_serwera] | [deloutq] | [jump] | [raw]"
#, fuzzy
msgid ""
" list: list servers (no parameter implies this list)\n"
" list: list servers (without argument, this list is displayed)\n"
" listfull: list servers with detailed info for each server\n"
" add: create a new server\n"
"servername: server name, for internal and display use\n"
@@ -6352,3 +6409,7 @@ msgstr "[argumenty]"
#, fuzzy
msgid "Pointer"
msgstr "liczba"
#, fuzzy
#~ msgid "No key added or redefined"
#~ msgstr "Nie zdefiniowano powiązań klawiszy"
+68 -10
View File
@@ -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-03-23 15:33+0100\n"
"POT-Creation-Date: 2010-03-24 19:36+0100\n"
"PO-Revision-Date: 2010-03-23 10:20+0100\n"
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -364,6 +364,22 @@ msgstr "Справка недоступна, \"%s\" не является ком
msgid "Buffer command history:"
msgstr "показать историю буфера команд"
#, fuzzy
msgid "default command:"
msgstr "Внутренние команды %s:\n"
#, fuzzy, c-format
msgid "Key bindings added or redefined (%d):"
msgstr "Комбинации клавиш:\n"
#, fuzzy, c-format
msgid "Key bindings deleted (%d):"
msgstr "Комбинации клавиш:\n"
#, fuzzy
msgid "No key binding added, redefined or removed"
msgstr "Комбинации клавиш:\n"
#, fuzzy
msgid "No key binding defined"
msgstr "Сокращения не заданы.\n"
@@ -372,6 +388,14 @@ msgstr "Сокращения не заданы.\n"
msgid "Key bindings (%d):"
msgstr "Комбинации клавиш:\n"
#, fuzzy
msgid "No default key binding"
msgstr "Комбинации клавиш по умолчанию восстановлены\n"
#, fuzzy, c-format
msgid "Default key bindings (%d):"
msgstr "Комбинации клавиш по умолчанию восстановлены\n"
#, fuzzy
msgid "Key:"
msgstr "Клавиша:\n"
@@ -392,6 +416,14 @@ msgstr "Клавиша \"%s\" не привязана\n"
msgid "%sError: unable to unbind key \"%s\""
msgstr "%s не могу отвязать клавишу \"%s\"\n"
#, c-format
msgid "Key \"%s\" has already default value"
msgstr ""
#, fuzzy, c-format
msgid "%sKey \"%s\" not found"
msgstr "%s сервер \"%s\" не найден\n"
#, fuzzy
msgid "Default key bindings restored"
msgstr "Комбинации клавиш по умолчанию восстановлены\n"
@@ -857,7 +889,7 @@ msgid ""
" (by default ctrl-x switches between merged buffers)\n"
" unmerge: unmerge buffer from other buffers which have same number\n"
" close: close buffer (number/range is optional)\n"
" list: list buffers (no parameter implies this list)\n"
" list: list buffers (without argument, this list is displayed)\n"
" notify: set notify level for current buffer: this level determines whether "
"buffer will be added to hotlist or not:\n"
" none: never\n"
@@ -1047,22 +1079,39 @@ msgid "bind/unbind keys"
msgstr "установить/снять клавиши"
#, fuzzy
msgid "[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]"
msgid ""
"[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] "
"| [reset key] | [resetall -yes] | [missing]"
msgstr ""
"[клавиша [функция/команда]] [unbind клавиша] [функции] [call функция "
"[\"аргументы\"]] [reset -yes]"
#, fuzzy
msgid ""
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: restore bindings to the default values and delete ALL personal "
" list: list all current keys (without argument, this list is "
"displayed)\n"
"listdefault: list default keys\n"
" listdiff: list differences between current and default keys (keys added, "
"redefined or deleted)\n"
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: reset a key to default binding\n"
" resetall: restore bindings to the default values and delete ALL personal "
"bindings (use carefully!)\n"
"missing: add missing keys (using default bindings)\n"
" missing: add missing keys (using default bindings), useful after "
"installing new WeeChat version\n"
"\n"
"When binding a command to a key, it is recommended to use key alt+k (or Esc "
"then k), and then press the key to bind: this will insert key code in "
"command line."
"command line.\n"
"\n"
"Examples:\n"
" key alt-x to toggle nicklist bar:\n"
" /key bind meta-x /bar toggle nicklist\n"
" key alt-r to jump to #weechat IRC channel:\n"
" /key bind meta-r /buffer #weechat\n"
" restore default binding for key alt-r:\n"
" /key reset meta-r"
msgstr ""
" клавиша: отобразить или назначить этой клавише функцию или команду "
"(начинающуюся на \"/\")\n"
@@ -1337,7 +1386,8 @@ msgstr ""
#, fuzzy
msgid ""
" list: list opened windows (no parameter implies this list)\n"
" list: list opened windows (without argument, this list is "
"displayed)\n"
" -1: jump to previous window\n"
" +1: jump to next window\n"
" b#: jump to next window displaying buffer number #\n"
@@ -2353,6 +2403,10 @@ msgstr "Список сокращений:\n"
msgid "key codes"
msgstr ""
#, fuzzy
msgid "key codes that can be reset (keys added, redefined or removed)"
msgstr "Комбинации клавиш:\n"
#, fuzzy
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr "%s не могу добавить буфер в хотлист\n"
@@ -3655,7 +3709,7 @@ msgstr ""
#, fuzzy
msgid ""
" list: list servers (no parameter implies this list)\n"
" list: list servers (without argument, this list is displayed)\n"
" listfull: list servers with detailed info for each server\n"
" add: create a new server\n"
"servername: server name, for internal and display use\n"
@@ -6178,3 +6232,7 @@ msgstr "адресат тип [аргументы]"
#, fuzzy
msgid "Pointer"
msgstr "минута"
#, fuzzy
#~ msgid "No key added or redefined"
#~ msgstr "Сокращения не заданы.\n"
+60 -10
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2010-03-23 15:33+0100\n"
"POT-Creation-Date: 2010-03-24 19:36+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"
@@ -319,6 +319,20 @@ msgstr ""
msgid "Buffer command history:"
msgstr ""
msgid "default command:"
msgstr ""
#, c-format
msgid "Key bindings added or redefined (%d):"
msgstr ""
#, c-format
msgid "Key bindings deleted (%d):"
msgstr ""
msgid "No key binding added, redefined or removed"
msgstr ""
msgid "No key binding defined"
msgstr ""
@@ -326,6 +340,13 @@ msgstr ""
msgid "Key bindings (%d):"
msgstr ""
msgid "No default key binding"
msgstr ""
#, c-format
msgid "Default key bindings (%d):"
msgstr ""
msgid "Key:"
msgstr ""
@@ -344,6 +365,14 @@ msgstr ""
msgid "%sError: unable to unbind key \"%s\""
msgstr ""
#, c-format
msgid "Key \"%s\" has already default value"
msgstr ""
#, c-format
msgid "%sKey \"%s\" not found"
msgstr ""
msgid "Default key bindings restored"
msgstr ""
@@ -762,7 +791,7 @@ msgid ""
" (by default ctrl-x switches between merged buffers)\n"
" unmerge: unmerge buffer from other buffers which have same number\n"
" close: close buffer (number/range is optional)\n"
" list: list buffers (no parameter implies this list)\n"
" list: list buffers (without argument, this list is displayed)\n"
" notify: set notify level for current buffer: this level determines whether "
"buffer will be added to hotlist or not:\n"
" none: never\n"
@@ -907,19 +936,36 @@ msgstr ""
msgid "bind/unbind keys"
msgstr ""
msgid "[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]"
msgid ""
"[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] "
"| [reset key] | [resetall -yes] | [missing]"
msgstr ""
msgid ""
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: restore bindings to the default values and delete ALL personal "
" list: list all current keys (without argument, this list is "
"displayed)\n"
"listdefault: list default keys\n"
" listdiff: list differences between current and default keys (keys added, "
"redefined or deleted)\n"
" bind: bind a command to a key or display command bound to key\n"
" unbind: remove a key binding\n"
" reset: reset a key to default binding\n"
" resetall: restore bindings to the default values and delete ALL personal "
"bindings (use carefully!)\n"
"missing: add missing keys (using default bindings)\n"
" missing: add missing keys (using default bindings), useful after "
"installing new WeeChat version\n"
"\n"
"When binding a command to a key, it is recommended to use key alt+k (or Esc "
"then k), and then press the key to bind: this will insert key code in "
"command line."
"command line.\n"
"\n"
"Examples:\n"
" key alt-x to toggle nicklist bar:\n"
" /key bind meta-x /bar toggle nicklist\n"
" key alt-r to jump to #weechat IRC channel:\n"
" /key bind meta-r /buffer #weechat\n"
" restore default binding for key alt-r:\n"
" /key reset meta-r"
msgstr ""
msgid "save/apply/reset layout for buffers and windows"
@@ -1156,7 +1202,8 @@ msgid ""
msgstr ""
msgid ""
" list: list opened windows (no parameter implies this list)\n"
" list: list opened windows (without argument, this list is "
"displayed)\n"
" -1: jump to previous window\n"
" +1: jump to next window\n"
" b#: jump to next window displaying buffer number #\n"
@@ -2007,6 +2054,9 @@ msgstr ""
msgid "key codes"
msgstr ""
msgid "key codes that can be reset (keys added, redefined or removed)"
msgstr ""
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr ""
@@ -3140,7 +3190,7 @@ msgid ""
msgstr ""
msgid ""
" list: list servers (no parameter implies this list)\n"
" list: list servers (without argument, this list is displayed)\n"
" listfull: list servers with detailed info for each server\n"
" add: create a new server\n"
"servername: server name, for internal and display use\n"
+271 -43
View File
@@ -1374,7 +1374,7 @@ command_filter (void *data, struct t_gui_buffer *buffer,
_("%sError: filter \"%s\" not found"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
argv[2]);
return WEECHAT_RC_ERROR;
return WEECHAT_RC_ERROR;
}
}
return WEECHAT_RC_OK;
@@ -1903,7 +1903,7 @@ command_input (void *data, struct t_gui_buffer *buffer,
*/
void
command_key_display (struct t_gui_key *key)
command_key_display (struct t_gui_key *key, struct t_gui_key *default_key)
{
char *expanded_name;
char str_spaces[20 + 1];
@@ -1921,17 +1921,131 @@ command_key_display (struct t_gui_key *key)
str_spaces[num_spaces] = '\0';
}
gui_chat_printf (NULL, " %s%s%s => %s%s",
str_spaces,
(expanded_name) ? expanded_name : key->key,
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT),
key->command);
if (default_key)
{
gui_chat_printf (NULL, " %s%s%s => %s%s %s(%s%s %s%s)",
str_spaces,
(expanded_name) ? expanded_name : key->key,
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT),
key->command,
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT),
_("default command:"),
default_key->command,
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS));
}
else
{
gui_chat_printf (NULL, " %s%s%s => %s%s",
str_spaces,
(expanded_name) ? expanded_name : key->key,
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT),
key->command);
}
if (expanded_name)
free (expanded_name);
}
/*
* command_key_display_list: display a list of keys
*/
void
command_key_display_list (const char *message_no_key,
const char *message_keys,
struct t_gui_key *keys,
int keys_count)
{
struct t_gui_key *ptr_key;
if (keys_count == 0)
gui_chat_printf (NULL, message_no_key);
else
{
gui_chat_printf (NULL, "");
gui_chat_printf (NULL, message_keys, keys_count);
for (ptr_key = keys; ptr_key; ptr_key = ptr_key->next_key)
{
command_key_display (ptr_key, NULL);
}
}
}
/*
* command_key_display_listdiff: list differences between default and current
* keys (keys added, redefined or removed)
*/
void
command_key_display_listdiff ()
{
struct t_gui_key *ptr_key, *ptr_default_key;
int count_added, count_deleted;
/* list keys added or redefined */
count_added = 0;
for (ptr_key = gui_keys; ptr_key; ptr_key = ptr_key->next_key)
{
ptr_default_key = gui_keyboard_search (gui_default_keys,
ptr_key->key);
if (!ptr_default_key
|| (strcmp (ptr_default_key->command, ptr_key->command) != 0))
{
count_added++;
}
}
if (count_added > 0)
{
gui_chat_printf (NULL, "");
gui_chat_printf (NULL, _("Key bindings added or redefined (%d):"),
count_added);
for (ptr_key = gui_keys; ptr_key; ptr_key = ptr_key->next_key)
{
ptr_default_key = gui_keyboard_search (gui_default_keys,
ptr_key->key);
if (!ptr_default_key
|| (strcmp (ptr_default_key->command, ptr_key->command) != 0))
{
command_key_display (ptr_key, ptr_default_key);
}
}
}
/* list keys deleted */
count_deleted = 0;
for (ptr_default_key = gui_default_keys; ptr_default_key;
ptr_default_key = ptr_default_key->next_key)
{
ptr_key = gui_keyboard_search (gui_keys, ptr_default_key->key);
if (!ptr_key)
count_deleted++;
}
if (count_deleted > 0)
{
gui_chat_printf (NULL, "");
gui_chat_printf (NULL, _("Key bindings deleted (%d):"), count_deleted);
for (ptr_default_key = gui_default_keys; ptr_default_key;
ptr_default_key = ptr_default_key->next_key)
{
ptr_key = gui_keyboard_search (gui_keys, ptr_default_key->key);
if (!ptr_key)
{
command_key_display (ptr_default_key, NULL);
}
}
}
/* display a message if all key bindings are default bindings */
if ((count_added == 0) && (count_deleted == 0))
{
gui_chat_printf (NULL,
_("No key binding added, redefined or removed"));
}
}
/*
* command_key: bind/unbind keys
*/
@@ -1941,28 +2055,37 @@ command_key (void *data, struct t_gui_buffer *buffer,
int argc, char **argv, char **argv_eol)
{
char *internal_code;
struct t_gui_key *ptr_key;
struct t_gui_key *ptr_key, *ptr_default_key, *ptr_new_key;
int old_keys_count, keys_added;
/* make C compiler happy */
(void) data;
(void) buffer;
/* display all key bindings */
if (argc == 1)
/* display all key bindings (current keys) */
if ((argc == 1) || (string_strcasecmp (argv[1], "list") == 0))
{
if (gui_keys_count == 0)
gui_chat_printf (NULL, _("No key binding defined"));
else
{
gui_chat_printf (NULL, "");
gui_chat_printf (NULL, _("Key bindings (%d):"),
gui_keys_count);
for (ptr_key = gui_keys; ptr_key; ptr_key = ptr_key->next_key)
{
command_key_display (ptr_key);
}
}
command_key_display_list (_("No key binding defined"),
_("Key bindings (%d):"),
gui_keys,
gui_keys_count);
return WEECHAT_RC_OK;
}
/* display redefined or key bindings added */
if (string_strcasecmp (argv[1], "listdiff") == 0)
{
command_key_display_listdiff ();
return WEECHAT_RC_OK;
}
/* display default key bindings */
if (string_strcasecmp (argv[1], "listdefault") == 0)
{
command_key_display_list (_("No default key binding"),
_("Default key bindings (%d):"),
gui_default_keys,
gui_default_keys_count);
return WEECHAT_RC_OK;
}
@@ -1971,15 +2094,15 @@ command_key (void *data, struct t_gui_buffer *buffer,
{
if (argc == 3)
{
ptr_key = NULL;
ptr_new_key = NULL;
internal_code = gui_keyboard_get_internal_code (argv[2]);
if (internal_code)
ptr_key = gui_keyboard_search (NULL, internal_code);
if (ptr_key)
ptr_new_key = gui_keyboard_search (gui_keys, internal_code);
if (ptr_new_key)
{
gui_chat_printf (NULL, "");
gui_chat_printf (NULL, _("Key:"));
command_key_display (ptr_key);
command_key_display (ptr_new_key, NULL);
}
else
{
@@ -2003,9 +2126,9 @@ command_key (void *data, struct t_gui_buffer *buffer,
/* bind new key */
gui_keyboard_verbose = 1;
ptr_key = gui_keyboard_bind (NULL, argv[2], argv_eol[3]);
ptr_new_key = gui_keyboard_bind (NULL, argv[2], argv_eol[3]);
gui_keyboard_verbose = 0;
if (!ptr_key)
if (!ptr_new_key)
{
gui_chat_printf (NULL,
_("%sError: unable to bind key \"%s\""),
@@ -2039,12 +2162,97 @@ command_key (void *data, struct t_gui_buffer *buffer,
return WEECHAT_RC_OK;
}
/* reset keys (only with "-yes", for security reason) */
/* reset a key to default binding */
if (string_strcasecmp (argv[1], "reset") == 0)
{
if (argc >= 3)
{
internal_code = gui_keyboard_get_internal_code (argv[2]);
if (!internal_code)
return WEECHAT_RC_ERROR;
ptr_key = gui_keyboard_search (gui_keys, internal_code);
ptr_default_key = gui_keyboard_search (gui_default_keys, internal_code);
free (internal_code);
if (ptr_key || ptr_default_key)
{
if (ptr_key && ptr_default_key)
{
if (strcmp (ptr_key->command, ptr_default_key->command) != 0)
{
gui_keyboard_verbose = 1;
ptr_new_key = gui_keyboard_bind (NULL, argv[2],
ptr_default_key->command);
gui_keyboard_verbose = 0;
if (!ptr_new_key)
{
gui_chat_printf (NULL,
_("%sError: unable to bind key \"%s\""),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
argv[2]);
return WEECHAT_RC_ERROR;
}
}
else
{
gui_chat_printf (NULL,
_("Key \"%s\" has already default "
"value"),
argv[2]);
}
}
else if (ptr_key)
{
/* no default key, so just unbind key */
if (gui_keyboard_unbind (NULL, argv[2], 1))
{
gui_chat_printf (NULL,
_("Key \"%s\" unbound"),
argv[2]);
}
else
{
gui_chat_printf (NULL,
_("%sError: unable to unbind key \"%s\""),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
argv[2]);
return WEECHAT_RC_ERROR;
}
}
else
{
/* no key, but default key exists */
gui_keyboard_verbose = 1;
ptr_new_key = gui_keyboard_bind (NULL, argv[2],
ptr_default_key->command);
gui_keyboard_verbose = 0;
if (!ptr_new_key)
{
gui_chat_printf (NULL,
_("%sError: unable to bind key \"%s\""),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
argv[2]);
return WEECHAT_RC_ERROR;
}
}
}
else
{
gui_chat_printf (NULL, _("%sKey \"%s\" not found"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
argv[2]);
}
}
return WEECHAT_RC_OK;
}
/* reset ALL keys (only with "-yes", for security reason) */
if (string_strcasecmp (argv[1], "resetall") == 0)
{
if ((argc >= 3) && (string_strcasecmp (argv[2], "-yes") == 0))
{
gui_keyboard_free_all (&gui_keys, &last_gui_key);
gui_keyboard_free_all (&gui_keys, &last_gui_key, &gui_keys_count);
gui_keyboard_default_bindings ();
gui_chat_printf (NULL,
_("Default key bindings restored"));
@@ -4182,7 +4390,8 @@ command_init ()
" unmerge: unmerge buffer from other buffers which have "
"same number\n"
" close: close buffer (number/range is optional)\n"
" list: list buffers (no parameter implies this list)\n"
" list: list buffers (without argument, this list is "
"displayed)\n"
" notify: set notify level for current buffer: this "
"level determines whether buffer will be added to "
"hotlist or not:\n"
@@ -4359,20 +4568,39 @@ command_init ()
&command_input, NULL);
hook_command (NULL, "key",
N_("bind/unbind keys"),
N_("[bind key [command [args]]] | [unbind key] | "
"[reset -yes] | [missing]"),
N_(" bind: bind a command to a key or display command "
N_("[list | listdefault | listdiff] | [bind key [command "
"[args]]] | [unbind key] | [reset key] | "
"[resetall -yes] | [missing]"),
N_(" list: list all current keys (without argument, "
"this list is displayed)\n"
"listdefault: list default keys\n"
" listdiff: list differences between current and "
"default keys (keys added, redefined or deleted)\n"
" bind: bind a command to a key or display command "
"bound to key\n"
" unbind: remove a key binding\n"
" reset: restore bindings to the default values and "
" unbind: remove a key binding\n"
" reset: reset a key to default binding\n"
" resetall: restore bindings to the default values and "
"delete ALL personal bindings (use carefully!)\n"
"missing: add missing keys (using default bindings)\n\n"
" missing: add missing keys (using default bindings), "
"useful after installing new WeeChat version\n\n"
"When binding a command to a key, it is recommended to "
"use key alt+k (or Esc then k), and then press the key "
"to bind: this will insert key code in command line."),
"bind %(keys_codes) %(commands)"
"to bind: this will insert key code in command line.\n\n"
"Examples:\n"
" key alt-x to toggle nicklist bar:\n"
" /key bind meta-x /bar toggle nicklist\n"
" key alt-r to jump to #weechat IRC channel:\n"
" /key bind meta-r /buffer #weechat\n"
" restore default binding for key alt-r:\n"
" /key reset meta-r"),
"list"
" || listdefault"
" || listdiff"
" || bind %(keys_codes) %(commands)"
" || unbind %(keys_codes)"
" || reset"
" || reset %(keys_codes_for_reset)"
" || resetall"
" || missing",
&command_key, NULL);
hook_command (NULL, "layout",
@@ -4569,8 +4797,8 @@ command_init ()
"scroll_up | scroll_down | scroll_top | scroll_bottom | "
"scroll_previous_highlight | scroll_next_highlight | "
"zoom]"),
N_(" list: list opened windows (no parameter implies "
"this list)\n"
N_(" list: list opened windows (without argument, "
"this list is displayed)\n"
" -1: jump to previous window\n"
" +1: jump to next window\n"
" b#: jump to next window displaying buffer number #\n"
+1 -1
View File
@@ -407,7 +407,7 @@ config_weechat_reload_cb (void *data, struct t_config_file *config_file)
(void) data;
/* remove all keys */
gui_keyboard_free_all (&gui_keys, &last_gui_key);
gui_keyboard_free_all (&gui_keys, &last_gui_key, &gui_keys_count);
/* remove all proxies */
proxy_free_all ();
+2 -1
View File
@@ -58,7 +58,8 @@ gui_keyboard_default_bind (const char *key, const char *command)
internal_code = gui_keyboard_get_internal_code (key);
ptr_key = gui_keyboard_search (NULL, (internal_code) ? internal_code : key);
ptr_key = gui_keyboard_search (gui_keys,
(internal_code) ? internal_code : key);
if (!ptr_key)
{
gui_keyboard_new (NULL, key, command);
+2 -2
View File
@@ -1514,6 +1514,6 @@ void
gui_window_objects_print_log (struct t_gui_window *window)
{
log_printf (" window specific objects for Curses:");
log_printf (" win_chat. . . . . . : 0x%lx", GUI_WINDOW_OBJECTS(window)->win_chat);
log_printf (" win_separator . . . : 0x%lx", GUI_WINDOW_OBJECTS(window)->win_separator);
log_printf (" win_chat. . . . . : 0x%lx", GUI_WINDOW_OBJECTS(window)->win_chat);
log_printf (" win_separator . . : 0x%lx", GUI_WINDOW_OBJECTS(window)->win_separator);
}
+1 -1
View File
@@ -1134,7 +1134,7 @@ gui_bar_window_print_log (struct t_gui_bar_window *bar_window)
log_printf ("");
log_printf (" [window bar (addr:0x%lx)]", bar_window);
log_printf (" bar. . . . . . . . . : 0x%lx ('%s')",
log_printf (" bar. . . . . . . . . . : 0x%lx ('%s')",
bar_window->bar,
(bar_window->bar) ? bar_window->bar->name : "");
log_printf (" x. . . . . . . . . . . : %d", bar_window->x);
+13 -7
View File
@@ -474,6 +474,7 @@ gui_buffer_new (struct t_weechat_plugin *plugin,
/* keys */
new_buffer->keys = NULL;
new_buffer->last_key = NULL;
new_buffer->keys_count = 0;
/* local variables */
new_buffer->local_variables = NULL;
@@ -1103,7 +1104,10 @@ gui_buffer_set (struct t_gui_buffer *buffer, const char *property,
else if (string_strncasecmp (property, "key_unbind_", 11) == 0)
{
if (strcmp (property + 11, "*") == 0)
gui_keyboard_free_all (&buffer->keys, &buffer->last_key);
{
gui_keyboard_free_all (&buffer->keys, &buffer->last_key,
&buffer->keys_count);
}
else
gui_keyboard_unbind (buffer, property + 11, 1);
}
@@ -1642,7 +1646,8 @@ gui_buffer_close (struct t_gui_buffer *buffer)
free (buffer->highlight_tags);
if (buffer->highlight_tags_array)
string_free_split (buffer->highlight_tags_array);
gui_keyboard_free_all (&buffer->keys, &buffer->last_key);
gui_keyboard_free_all (&buffer->keys, &buffer->last_key,
&buffer->keys_count);
gui_buffer_local_var_remove_all (buffer);
/* remove buffer from buffers list */
@@ -2382,6 +2387,8 @@ gui_buffer_add_to_infolist (struct t_infolist *infolist,
return 0;
i++;
}
if (!infolist_new_var_integer (ptr_item, "keys_count", buffer->keys_count))
return 0;
i = 0;
for (ptr_local_var = buffer->local_variables; ptr_local_var;
ptr_local_var = ptr_local_var->next_var)
@@ -2541,6 +2548,7 @@ gui_buffer_print_log ()
log_printf (" highlight_tags_array . : 0x%lx", ptr_buffer->highlight_tags_array);
log_printf (" keys . . . . . . . . . : 0x%lx", ptr_buffer->keys);
log_printf (" last_key . . . . . . . : 0x%lx", ptr_buffer->last_key);
log_printf (" keys_count . . . . . . : %d", ptr_buffer->keys_count);
log_printf (" local_variables. . . . : 0x%lx", ptr_buffer->local_variables);
log_printf (" last_local_var . . . . : 0x%lx", ptr_buffer->last_local_var);
log_printf (" prev_buffer. . . . . . : 0x%lx", ptr_buffer->prev_buffer);
@@ -2549,16 +2557,14 @@ gui_buffer_print_log ()
if (ptr_buffer->keys)
{
log_printf ("");
log_printf (" => keys = 0x%lx, last_key = 0x%lx:",
ptr_buffer->keys, ptr_buffer->last_key);
log_printf (" => keys:");
gui_keyboard_print_log (ptr_buffer);
}
if (ptr_buffer->local_variables)
{
log_printf ("");
log_printf (" => local_variables = 0x%lx, last_local_var = 0x%lx:",
ptr_buffer->local_variables, ptr_buffer->last_local_var);
log_printf (" => local_variables:");
for (ptr_local_var = ptr_buffer->local_variables; ptr_local_var;
ptr_local_var = ptr_local_var->next_var)
{
@@ -2571,7 +2577,7 @@ gui_buffer_print_log ()
}
log_printf ("");
log_printf (" => nicklist_root (addr:0x%lx):", ptr_buffer->nicklist_root);
log_printf (" => nicklist:");
gui_nicklist_print_log (ptr_buffer->nicklist_root, 0);
log_printf ("");
+1
View File
@@ -156,6 +156,7 @@ struct t_gui_buffer
/* keys associated to buffer */
struct t_gui_key *keys; /* keys specific to buffer */
struct t_gui_key *last_key; /* last key for buffer */
int keys_count; /* number of keys in buffer */
/* local variables */
struct t_gui_buffer_local_var *local_variables; /* local variables */
+59
View File
@@ -1294,6 +1294,61 @@ gui_completion_list_add_keys_codes_cb (void *data,
return WEECHAT_RC_OK;
}
/*
* gui_completion_list_add_keys_codes_for_reset_cb: add keys that can be reset
* (keys added, redefined or
* removed) to completion list
*/
int
gui_completion_list_add_keys_codes_for_reset_cb (void *data,
const char *completion_item,
struct t_gui_buffer *buffer,
struct t_gui_completion *completion)
{
struct t_gui_key *ptr_key, *ptr_default_key;
char *expanded_name;
/* make C compiler happy */
(void) data;
(void) completion_item;
(void) buffer;
/* keys added or redefined */
for (ptr_key = gui_keys; ptr_key; ptr_key = ptr_key->next_key)
{
ptr_default_key = gui_keyboard_search (gui_default_keys, ptr_key->key);
if (!ptr_default_key
|| (strcmp (ptr_default_key->command, ptr_key->command) != 0))
{
expanded_name = gui_keyboard_get_expanded_name (ptr_key->key);
gui_completion_list_add (completion,
(expanded_name) ? expanded_name : ptr_key->key,
0, WEECHAT_LIST_POS_SORT);
if (expanded_name)
free (expanded_name);
}
}
/* keys deleted */
for (ptr_default_key = gui_default_keys; ptr_default_key;
ptr_default_key = ptr_default_key->next_key)
{
ptr_key = gui_keyboard_search (gui_keys, ptr_default_key->key);
if (!ptr_key)
{
expanded_name = gui_keyboard_get_expanded_name (ptr_default_key->key);
gui_completion_list_add (completion,
(expanded_name) ? expanded_name : ptr_default_key->key,
0, WEECHAT_LIST_POS_SORT);
if (expanded_name)
free (expanded_name);
}
}
return WEECHAT_RC_OK;
}
/*
* gui_completion_custom: custom completion by a plugin
*/
@@ -2215,4 +2270,8 @@ gui_completion_init ()
hook_completion (NULL, "keys_codes",
N_("key codes"),
&gui_completion_list_add_keys_codes_cb, NULL);
hook_completion (NULL, "keys_codes_for_reset",
N_("key codes that can be reset (keys added, redefined "
"or removed)"),
&gui_completion_list_add_keys_codes_for_reset_cb, NULL);
}
+68 -27
View File
@@ -45,11 +45,15 @@
#include "gui-window.h"
struct t_gui_key *gui_keys = NULL; /* key bindings */
struct t_gui_key *last_gui_key = NULL; /* last key binding */
int gui_keys_count = 0; /* number of defined keys */
struct t_gui_key *gui_keys = NULL; /* key bindings */
struct t_gui_key *last_gui_key = NULL; /* last key binding */
struct t_gui_key *gui_default_keys = NULL; /* default key bindings */
struct t_gui_key *last_gui_default_key = NULL; /* last default key binding */
int gui_keyboard_verbose = 0; /* 1 to see some messages */
int gui_keys_count = 0; /* number of defined keys */
int gui_default_keys_count = 0; /* number of default keys */
int gui_keyboard_verbose = 0; /* 1 to see some messages */
char gui_key_combo_buffer[128]; /* buffer used for combos */
int gui_key_grab = 0; /* 1 if grab mode enabled (alt-k) */
@@ -68,7 +72,7 @@ time_t gui_keyboard_last_activity_time = 0; /* last activity time (key) */
/*
* gui_keyboard_init: init keyboard (create default key bindings)
* gui_keyboard_init: init keyboard
*/
void
@@ -78,6 +82,15 @@ gui_keyboard_init ()
gui_key_grab = 0;
gui_key_grab_count = 0;
gui_keyboard_last_activity_time = time (NULL);
/* create default keys and save them in a separate list */
gui_keyboard_default_bindings ();
gui_default_keys = gui_keys;
last_gui_default_key = last_gui_key;
gui_default_keys_count = gui_keys_count;
gui_keys = NULL;
last_gui_key = NULL;
gui_keys_count = 0;
}
/*
@@ -112,7 +125,7 @@ gui_keyboard_grab_end ()
gui_input_insert_string (gui_current_window->buffer, expanded_key, -1);
if (gui_key_grab_command)
{
ptr_key = gui_keyboard_search (NULL, gui_key_combo_buffer);
ptr_key = gui_keyboard_search (gui_keys, gui_key_combo_buffer);
if (ptr_key)
{
gui_input_insert_string (gui_current_window->buffer, " ", -1);
@@ -243,7 +256,9 @@ gui_keyboard_find_pos (struct t_gui_key *keys, struct t_gui_key *key)
*/
void
gui_keyboard_insert_sorted (struct t_gui_key **keys, struct t_gui_key **last_key,
gui_keyboard_insert_sorted (struct t_gui_key **keys,
struct t_gui_key **last_key,
int *keys_count,
struct t_gui_key *key)
{
struct t_gui_key *pos_key;
@@ -281,7 +296,7 @@ gui_keyboard_insert_sorted (struct t_gui_key **keys, struct t_gui_key **last_key
*last_key = key;
}
gui_keys_count++;
(*keys_count)++;
}
/*
@@ -315,9 +330,15 @@ gui_keyboard_new (struct t_gui_buffer *buffer, const char *key,
}
if (buffer)
gui_keyboard_insert_sorted (&buffer->keys, &buffer->last_key, new_key);
{
gui_keyboard_insert_sorted (&buffer->keys, &buffer->last_key,
&buffer->keys_count, new_key);
}
else
gui_keyboard_insert_sorted (&gui_keys, &last_gui_key, new_key);
{
gui_keyboard_insert_sorted (&gui_keys, &last_gui_key,
&gui_keys_count, new_key);
}
expanded_name = gui_keyboard_get_expanded_name (new_key->key);
@@ -347,12 +368,11 @@ gui_keyboard_new (struct t_gui_buffer *buffer, const char *key,
*/
struct t_gui_key *
gui_keyboard_search (struct t_gui_buffer *buffer, const char *key)
gui_keyboard_search (struct t_gui_key *keys, const char *key)
{
struct t_gui_key *ptr_key;
for (ptr_key = (buffer) ? buffer->keys : gui_keys; ptr_key;
ptr_key = ptr_key->next_key)
for (ptr_key = keys; ptr_key; ptr_key = ptr_key->next_key)
{
if (strcmp (ptr_key->key, key) == 0)
return ptr_key;
@@ -445,13 +465,20 @@ gui_keyboard_unbind (struct t_gui_buffer *buffer, const char *key,
internal_code = gui_keyboard_get_internal_code (key);
ptr_key = gui_keyboard_search (buffer, (internal_code) ? internal_code : key);
ptr_key = gui_keyboard_search ((buffer) ? buffer->keys : gui_keys,
(internal_code) ? internal_code : key);
if (ptr_key)
{
if (buffer)
gui_keyboard_free (&buffer->keys, &buffer->last_key, ptr_key);
{
gui_keyboard_free (&buffer->keys, &buffer->last_key,
&buffer->keys_count, ptr_key);
}
else
gui_keyboard_free (&gui_keys, &last_gui_key, ptr_key);
{
gui_keyboard_free (&gui_keys, &last_gui_key,
&gui_keys_count, ptr_key);
}
}
if (internal_code)
@@ -553,7 +580,7 @@ gui_keyboard_pressed (const char *key_str)
void
gui_keyboard_free (struct t_gui_key **keys, struct t_gui_key **last_key,
struct t_gui_key *key)
int *keys_count, struct t_gui_key *key)
{
/* free memory */
if (key->key)
@@ -573,7 +600,7 @@ gui_keyboard_free (struct t_gui_key **keys, struct t_gui_key **last_key,
free (key);
gui_keys_count--;
(*keys_count)--;
}
/*
@@ -581,11 +608,12 @@ gui_keyboard_free (struct t_gui_key **keys, struct t_gui_key **last_key,
*/
void
gui_keyboard_free_all (struct t_gui_key **keys, struct t_gui_key **last_key)
gui_keyboard_free_all (struct t_gui_key **keys, struct t_gui_key **last_key,
int *keys_count)
{
while (*keys)
{
gui_keyboard_free (keys, last_key, *keys);
gui_keyboard_free (keys, last_key, keys_count, *keys);
}
}
@@ -714,7 +742,11 @@ gui_keyboard_end ()
free (gui_keyboard_buffer);
/* free all keys */
gui_keyboard_free_all (&gui_keys, &last_gui_key);
gui_keyboard_free_all (&gui_keys, &last_gui_key, &gui_keys_count);
/* free all default keys */
gui_keyboard_free_all (&gui_default_keys, &last_gui_default_key,
&gui_default_keys_count);
}
/*
@@ -758,19 +790,28 @@ gui_keyboard_add_to_infolist (struct t_infolist *infolist,
void
gui_keyboard_print_log (struct t_gui_buffer *buffer)
{
struct t_gui_key *ptr_key;
struct t_gui_key *ptr_keys, *ptr_last_key, *ptr_key;
int keys_count;
char prefix[32];
ptr_keys = (buffer) ? buffer->keys : gui_keys;
ptr_last_key = (buffer) ? buffer->last_key : last_gui_key;
keys_count = (buffer) ? buffer->keys_count : gui_keys_count;
snprintf (prefix, sizeof (prefix), "%s", (buffer) ? " " : "");
log_printf ("%skeys . . . . . . . . : 0x%lx", prefix, ptr_keys);
log_printf ("%slast_key . . . . . . : 0x%lx", prefix, ptr_last_key);
log_printf ("%skeys_count . . . . . : %d", prefix, keys_count);
for (ptr_key = (buffer) ? buffer->keys : gui_keys; ptr_key;
ptr_key = ptr_key->next_key)
{
log_printf ("");
log_printf ("%s[key (addr:0x%lx)]", prefix, ptr_key);
log_printf ("%skey. . . . . . . . . : '%s'", prefix, ptr_key->key);
log_printf ("%scommand. . . . . . . : '%s'", prefix, ptr_key->command);
log_printf ("%sprev_key . . . . . . : 0x%lx", prefix, ptr_key->prev_key);
log_printf ("%snext_key . . . . . . : 0x%lx", prefix, ptr_key->next_key);
log_printf ("%s key. . . . . . . . : '%s'", prefix, ptr_key->key);
log_printf ("%s command. . . . . . : '%s'", prefix, ptr_key->command);
log_printf ("%s prev_key . . . . . : 0x%lx", prefix, ptr_key->prev_key);
log_printf ("%s next_key . . . . . : 0x%lx", prefix, ptr_key->next_key);
}
}
+7 -2
View File
@@ -36,7 +36,10 @@ struct t_gui_key
extern struct t_gui_key *gui_keys;
extern struct t_gui_key *last_gui_key;
extern struct t_gui_key *gui_default_keys;
extern struct t_gui_key *last_gui_default_key;
extern int gui_keys_count;
extern int gui_default_keys_count;
extern int gui_keyboard_verbose;
extern char gui_key_combo_buffer[];
extern int gui_key_grab;
@@ -56,7 +59,7 @@ extern char *gui_keyboard_get_expanded_name (const char *key);
extern struct t_gui_key *gui_keyboard_new (struct t_gui_buffer *buffer,
const char *key,
const char *command);
extern struct t_gui_key *gui_keyboard_search (struct t_gui_buffer *buffer,
extern struct t_gui_key *gui_keyboard_search (struct t_gui_key *keys,
const char *key);
extern struct t_gui_key *gui_keyboard_bind (struct t_gui_buffer *buffer,
const char *key,
@@ -66,9 +69,11 @@ extern int gui_keyboard_unbind (struct t_gui_buffer *buffer, const char *key,
extern int gui_keyboard_pressed (const char *key_str);
extern void gui_keyboard_free (struct t_gui_key **keys,
struct t_gui_key **last_key,
int *keys_count,
struct t_gui_key *key);
extern void gui_keyboard_free_all (struct t_gui_key **keys,
struct t_gui_key **last_key);
struct t_gui_key **last_key,
int *keys_count);
extern void gui_keyboard_buffer_reset ();
extern void gui_keyboard_buffer_add (unsigned char key);
extern int gui_keyboard_get_paste_lines ();
+2 -2
View File
@@ -4575,8 +4575,8 @@ irc_command_init ()
"[rename servername newservername] | "
"[keep servername] | [del servername] | "
"[deloutq] | [jump] | [raw]"),
N_(" list: list servers (no parameter implies "
"this list)\n"
N_(" list: list servers (without argument, "
"this list is displayed)\n"
" listfull: list servers with detailed info for "
"each server\n"
" add: create a new server\n"