mirror of
https://github.com/weechat/weechat.git
synced 2026-07-08 10:43:13 +02:00
Update italian translations and docs
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
|
||||
| relay | relay_relays | protocollo.nome dei relay correnti per il plugin relay
|
||||
|
||||
| rmodifier | rmodifier | list of rmodifiers
|
||||
| rmodifier | rmodifier | elenco di rmodifier
|
||||
|
||||
| ruby | ruby_script | elenco degli script
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
| 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 | puntatore al canale (opzionale) | server,channel (channel is optional)
|
||||
| irc | irc_channel | elenco dei canali per un server IRC | puntatore al canale (opzionale) | server,canale (canale è opzionale)
|
||||
|
||||
| irc | irc_ignore | elenco di ignore IRC | puntatore all'ignore (opzionale) | -
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
| relay | relay | elenco di client relay | puntatore al relay (opzionale) | -
|
||||
|
||||
| rmodifier | rmodifier | list of rmodifiers | rmodifier pointer (optional) | rmodifier name (can start or end with "*" as joker) (optional)
|
||||
| rmodifier | rmodifier | elenco di rmodifier | puntatore a rmodifier (opzionale) | nome rmodifier (può iniziare o terminare con "*" come carattere jolly) (opzionale)
|
||||
|
||||
| ruby | ruby_script | elenco degli script | puntatore allo script (opzionale) | nome script (può iniziare o terminare con "*" come carattere jolly) (opzionale)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[width="100%",cols="^1,^2,6,6,6",options="header"]
|
||||
|========================================
|
||||
| Plugin | Nome | Descrizione | Hashtable (input) | Hashtable (output)
|
||||
| Plugin | Nome | Descrizione | Tabella hash (input) | Tabella hash (output)
|
||||
|
||||
| irc | irc_parse_message | parse an IRC message | "message": IRC message | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel)
|
||||
| irc | irc_parse_message | controlla un messaggio IRC | "messaggio": messaggio IRC | "nick": nick, "host": nome host, "command": comando, "channel": canale, "arguments": argomenti (include il canale)
|
||||
|
||||
|========================================
|
||||
|
||||
@@ -420,8 +420,8 @@
|
||||
........................................
|
||||
invia dati grezzi al server senza analisi
|
||||
|
||||
server: send to this server (internal name)
|
||||
data: raw data to send
|
||||
server: invia a questo server (nome interno)
|
||||
dati: dati raw da inviare
|
||||
........................................
|
||||
|
||||
• *`/reconnect`* `[-all [-nojoin] | nome_server [nome_server ...] [-nojoin]]`::
|
||||
|
||||
@@ -204,7 +204,7 @@
|
||||
** valori: on, off (valore predefinito: `off`)
|
||||
|
||||
* *irc.look.raw_messages*
|
||||
** descrizione: `number of raw messages to save in memory when raw data buffer is closed (messages will be displayed when opening raw data buffer)`
|
||||
** descrizione: `numero di messaggi raw da salvare in memoria quando il buffer dei dati raw viene chiuso (i messaggi verranno visualizzati all'apertura del buffer dei dati raw)`
|
||||
** tipo: intero
|
||||
** valori: 0 .. 65535 (valore predefinito: `256`)
|
||||
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
• *`/relay`* `[list | listfull | add protocol.name port | del protocol.name | raw]`::
|
||||
• *`/relay`* `[list | listfull | add protocollo.nome porta | del protocollo.nome | raw]`::
|
||||
|
||||
........................................
|
||||
controllo relay
|
||||
|
||||
list: list relay clients (only active relays)
|
||||
listfull: list relay clients (verbose, all relays)
|
||||
listrelay: list relays (name and port)
|
||||
add: add relay for a protocol + name
|
||||
del: remove relay for a protocol + name
|
||||
protocol.name: protocol and name to relay
|
||||
for example: irc.freenode
|
||||
port: port used for relay
|
||||
raw: open buffer with raw Relay data
|
||||
list: elenca i client relay (solo quelli attivi)
|
||||
listfull: elenca i client relay (dettagliato, tutti i relay)
|
||||
listrelay: elenca i relay (nome e porta)
|
||||
add: aggiungi relay per un protocollo + nome
|
||||
del: rimuovi relay per un protocollo + nome
|
||||
protocollo.nome: protocollo e nome con cui effettuare il relay
|
||||
per esempio: irc.freenode
|
||||
porta: porta utilizzata per il relay
|
||||
raw: apre il buffer con dati Relay
|
||||
|
||||
Without argument, this command opens buffer with list of relay clients.
|
||||
Senza argomento, il comando apre i buffer con l'elenco dei client relay.
|
||||
........................................
|
||||
|
||||
|
||||
@@ -44,12 +44,12 @@
|
||||
** valori: on, off (valore predefinito: `on`)
|
||||
|
||||
* *relay.look.raw_messages*
|
||||
** descrizione: `number of raw messages to save in memory when raw data buffer is closed (messages will be displayed when opening raw data buffer)`
|
||||
** descrizione: `numero di messaggi raw da salvare in memoria quando il buffer dei dati raw viene chiuso (i messaggi verranno visualizzati all'apertura del buffer dei dati raw)`
|
||||
** tipo: intero
|
||||
** valori: 0 .. 65535 (valore predefinito: `256`)
|
||||
|
||||
* *relay.network.bind_address*
|
||||
** descrizione: `address for bind (if empty, connection is possible on all interfaces, use "127.0.0.1" to allow connections from local machine only)`
|
||||
** descrizione: `indirizzo associato (se vuoto, la connessione è possibile su tutte le interfacce, usare "127.0.0.1" per consentire le connessioni solo dalla macchina locale)`
|
||||
** tipo: stringa
|
||||
** valori: qualsiasi stringa (valore predefinito: `""`)
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
** valori: 1 .. 1024 (valore predefinito: `5`)
|
||||
|
||||
* *relay.network.password*
|
||||
** descrizione: `password required by clients to access this relay (empty value means no password required)`
|
||||
** descrizione: `password richiesta dai client per accedere a questo relay (un valore nullo corrisponde a nessuna password richiesta)`
|
||||
** tipo: stringa
|
||||
** valori: qualsiasi stringa (valore predefinito: `""`)
|
||||
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
• *`/rmodifier`* `[list] | [listdefault] | [add name modifiers groups regex] | [del name|-all [name...]] | [default -yes]`::
|
||||
• *`/rmodifier`* `[list] | [listdefault] | [add nome modifiers groups regex] | [del nome|-all [nome...]] | [default -yes]`::
|
||||
|
||||
........................................
|
||||
alter modifier strings with regular expressions
|
||||
sostituisce le stringhe del modificatore con le espressioni regolari
|
||||
|
||||
list: list all rmodifiers
|
||||
listdefault: list default rmodifiers
|
||||
add: add a rmodifier
|
||||
name: name of rmodifier
|
||||
modifiers: comma separated list of modifiers
|
||||
groups: action on groups found: comma separated list of groups (from 1 to 9) with optional "*" after number to hide group
|
||||
regex: regular expression
|
||||
del: delete a rmodifier
|
||||
-all: delete all rmodifiers
|
||||
default: restore default rmodifiers
|
||||
list: elenca tutti gli rmodifier
|
||||
listdefault: elenca gli rmodifier predefiniti
|
||||
add: aggiunge un rmodifier
|
||||
nome: nome rmodifier
|
||||
modifiers: elenco separato da virgole di modificatori
|
||||
groups: azione sul gruppo trovato: elenco separato da virgole di gruppi (da 1 a 9) con "*" opzionale dopo il numero per nascondere il gruppo
|
||||
regex: espressione regolare
|
||||
del: elimina rmodifier
|
||||
-all: elimina tutti gli rmodifier
|
||||
default: ripristina gli rmodifier predefiniti
|
||||
|
||||
Examples:
|
||||
hide everything typed after a command /password:
|
||||
Esempi:
|
||||
nasconde ciò che viene digitato dopo il comando /password:
|
||||
/rmodifier add password input_text_display 1,2* ^(/password +)(.*)
|
||||
delete rmodifier "password":
|
||||
elimina rmodifier "password":
|
||||
/rmodifier del password
|
||||
delete all rmodifiers:
|
||||
elimina tutti gli rmodifier:
|
||||
/rmodifier del -all
|
||||
........................................
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
* *rmodifier.look.hide_char*
|
||||
** descrizione: `char used to hide part of a string`
|
||||
** descrizione: `carattere usato per nascondere parte di una stringa`
|
||||
** tipo: stringa
|
||||
** valori: qualsiasi stringa (valore predefinito: `"*"`)
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
comando: comando da eseguire (una '/' viene aggiunta automaticamente se non trovata all'inizio del comando)
|
||||
........................................
|
||||
|
||||
• *`/debug`* `[list | set plugin level | dump [plugin] | buffer | windows | term]`::
|
||||
• *`/debug`* `[list | set plugin livello | dump [plugin] | buffer | windows | term]`::
|
||||
|
||||
........................................
|
||||
attiva debug per core/plugin
|
||||
@@ -127,43 +127,44 @@
|
||||
........................................
|
||||
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: '\|'
|
||||
- if regex starts with '!', then matching result is reversed (use '\!' to start with '!')
|
||||
note: two regex are created: one for prefix and one for message
|
||||
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 ' ' per separare il prefisso dal messaggio, caratteri speciali come "|" devono essere preceduti dal carattere escape: '\|')
|
||||
- se l'espressione regolare inizia con '!', il risultato corrispondente viene invertito (usare '\!' per iniziare con '!')
|
||||
|
||||
The default key alt+'=' toggles filtering on/off.
|
||||
nota: vengono create due espressioni regolari: una per il prefisso e l'altra per il messaggio
|
||||
|
||||
Tags most commonly used:
|
||||
no_filter, no_highlight, log0..log9 (log level),
|
||||
Il tasto predefinito alt+'=' abilita/disabilita il filtro.
|
||||
|
||||
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
|
||||
keep only nick "titi" on IRC channel #test:
|
||||
/filter add titi irc.freenode.#test * !titi\t
|
||||
filter lines containing word "spam":
|
||||
filtra il nick "tizio" sul canale IRC #weechat
|
||||
/filter add tizio irc.freenode.#esempio * tizio\t
|
||||
filtra solo il nick "caio" sul canale IRC #test:
|
||||
/filter add caio irc.freenode.#test * !caio\t
|
||||
filtra le righe contententi la parola "spam":
|
||||
/filter add filterspam * * spam
|
||||
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]`::
|
||||
@@ -360,15 +361,14 @@
|
||||
........................................
|
||||
aggiorna WeeChat senza disconnettere dai server
|
||||
|
||||
path_to_binary: path to WeeChat binary (default is current binary)
|
||||
percorso_del_binario: percorso del binario di WeeChat (quello corrente è il predefinito)
|
||||
|
||||
This command run again a WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
|
||||
|
||||
Upgrade process has 4 steps:
|
||||
1. save session into files for core and plugins (buffers, history, ..)
|
||||
2. unload all plugins (configs *.conf are saved)
|
||||
3. save WeeChat config (weechat.conf)
|
||||
4. exec new WeeChat binary.
|
||||
Questo comando esegue nuovamente un binario WeeChat, perciò deve essere stato compilato o installato con un gestore di pacchetti prima di eseguire questo comando.
|
||||
Il processo di aggiornamento è diviso in 4 fasi:
|
||||
1. salvataggio della sessione in file per il core e i plugin (buffer, cronologia, ..)
|
||||
2. disattivazione di tutti i plugin (salvataggio delle configurazioni .conf)
|
||||
3. salvataggio della configurazione di WeeChat (weechat.conf)
|
||||
4. esecuzione del nuovo binario di WeeChat.
|
||||
........................................
|
||||
|
||||
• *`/uptime`* `[-o | -ol]`::
|
||||
|
||||
@@ -344,7 +344,7 @@
|
||||
** valori: time, buffer, prefix, suffix, message (valore predefinito: `message`)
|
||||
|
||||
* *weechat.look.buffer_notify_default*
|
||||
** descrizione: `default notify level for buffers (used to tell WeeChat if buffer must be displayed in hotlist or not, according to importance of message): all=all messages (default), message=messages+highlights, highlight=highlights only, none=never display in hotlist`
|
||||
** descrizione: `livello predefinito di notifica per i buffer (utilizzato per comunicare a WeeChat se il buffer deve essere visualizzato nella hotlist oppure no, a seconda dell'importanza del messaggio): all: tutti i messaggi (predefinito), message=messaggi+eventi, highlight=solo eventi, none=non viene mai visualizzato nella hotlist`
|
||||
** tipo: intero
|
||||
** valori: none, highlight, message, all (valore predefinito: `all`)
|
||||
|
||||
|
||||
+125
-190
@@ -522,8 +522,7 @@ free (str);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_string_tolower
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -550,8 +549,7 @@ weechat_string_tolower (str); /* str ora è: "abcdé" */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_string_toupper
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -578,8 +576,7 @@ weechat_string_tolower (str); /* str ora è: "ABCDé" */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_strcasecmp
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
@@ -614,8 +611,7 @@ int diff = weechat_strcasecmp ("aaa", "CCC"); /* == -2 */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_strncasecmp
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
@@ -651,8 +647,7 @@ int diff = weechat_strncasecmp ("aabb", "aacc", 2); /* == 0 */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_strcmp_ignore_chars
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -692,8 +687,7 @@ int diff = weechat_strcmp_ignore_chars ("a-b", "--a-e", "-", 1); /* == -3 */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_strcasestr
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
@@ -725,8 +719,7 @@ char *pos = weechat_strcasestr ("aBcDeF", "de"); /* risultato: puntatore a "DeF"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_string_match
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -809,8 +802,7 @@ free (str);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_string_expand_home
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -847,8 +839,7 @@ free (str);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_string_remove_quotes
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -884,8 +875,7 @@ free (str);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_string_strip
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -921,8 +911,7 @@ free (str);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_string_has_highlight
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1091,8 +1080,7 @@ weechat_string_free_split (argv);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_string_build_with_split_string
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1132,8 +1120,7 @@ free (str);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_string_split_command
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1170,8 +1157,7 @@ weechat_free_split_command (argv);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_string_free_split_command
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1200,8 +1186,7 @@ weechat_free_split_command (argv);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_string_format_size
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1329,8 +1314,7 @@ weechat_string_encode_base64 (string, strlen (string), result);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_string_decode_base64
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1367,8 +1351,7 @@ length = weechat_string_decode_base64 (string, result);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_string_is_command_char
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1496,8 +1479,7 @@ if (weechat_utf8_has_8bits (string))
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_is_valid
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1537,8 +1519,7 @@ else
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_normalize
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1566,8 +1547,7 @@ weechat_utf8_normalize (string, '?');
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_prev_char
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1600,8 +1580,7 @@ char *prev_char = weechat_utf8_prev_char (string, ptr_in_string);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_next_char
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1632,8 +1611,7 @@ char *next_char = weechat_utf8_next_char (string);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_char_int
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1663,8 +1641,7 @@ int char_int = weechat_utf8_char_int ("être"); /* "ê" come intero */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_char_size
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1694,8 +1671,7 @@ int char_size = weechat_utf8_char_size ("être"); /* == 2 */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_strlen
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1725,8 +1701,7 @@ int length = weechat_utf8_strlen ("chêne"); /* == 5 */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_strnlen
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1758,8 +1733,7 @@ int length = weechat_utf8_strnlen ("chêne", 4); /* == 3 */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_strlen_screen
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1791,8 +1765,7 @@ int length_on_screen = weechat_utf8_strlen_screen ("é"); /* == 1 */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_charcmp
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1826,8 +1799,7 @@ int diff = weechat_utf8_charcmp ("aaa", "ccc"); /* == -2 */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_charcasecmp
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1861,8 +1833,7 @@ int diff = weechat_utf8_charcasecmp ("aaa", "CCC"); /* == -2 */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_char_size_screen
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1894,8 +1865,7 @@ int length_on_screen = weechat_utf8_char_size_screen ("é"); /* == 1 */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_add_offset
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1927,8 +1897,7 @@ char *str2 = weechat_utf8_add_offset (str, 3); /* points to "ne" */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_real_pos
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1959,8 +1928,7 @@ int pos = weechat_utf8_real_pos ("chêne", 3); /* == 4 */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_pos
|
||||
^^^^^^^^^^^^^^^^
|
||||
@@ -1991,8 +1959,7 @@ int pos = weechat_utf8_pos ("chêne", 4); /* == 3 */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_utf8_strndup
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -2025,8 +1992,7 @@ free (string);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
[[directories]]
|
||||
Cartelle
|
||||
@@ -2198,8 +2164,7 @@ weechat_exec_on_files ("/tmp", 0, NULL, &callback);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_file_get_content
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -2236,8 +2201,7 @@ free (content);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
[[util]]
|
||||
Utilità
|
||||
@@ -2279,8 +2243,7 @@ if (weechat_util_timeval_cmp (&tv1, &tv2) > 0)
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_util_timeval_diff
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -2311,8 +2274,7 @@ long diff = weechat_util_timeval_diff (&tv1, &tv2);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_util_timeval_add
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -2339,8 +2301,7 @@ weechat_util_timeval_add (&tv, 2000); /* aggiunge 2 secondi */
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_util_get_time_string
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -2370,8 +2331,7 @@ weechat_printf (NULL, "date: %s",
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
[[sorted_lists]]
|
||||
Elenchi ordinati
|
||||
@@ -2944,8 +2904,7 @@ struct t_hashtable *hashtable = weechat_hashtable_new (8,
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_hashtable_set_with_size
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -2987,8 +2946,7 @@ weechat_hashtable_set_with_size (hashtable, "my_key", 0,
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_hashtable_set
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -3053,8 +3011,7 @@ void *value = weechat_hashtable_get (hashtable, "my_key");
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_hashtable_map
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -3099,8 +3056,7 @@ weechat_hashtable_map (hashtable, &map_cb, NULL);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_hashtable_get_integer
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -3136,16 +3092,14 @@ int items_count = weechat_hashtable_get_integer (hashtable, "items_count");
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
weechat_hashtable_get_string
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
_Novità nella versione 0.3.4._
|
||||
|
||||
Return string value of a hashtable property.
|
||||
Restituisce il valore stringa della proprietà di una tabella hash.
|
||||
|
||||
Prototype:
|
||||
|
||||
@@ -3184,8 +3138,7 @@ const char *type_keys = weechat_hashtable_get_string (hashtable, "type_keys");
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_hashtable_add_to_infolist
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -3231,8 +3184,7 @@ weechat_hashtable_add_to_infolist (hashtable, infolist_item, "testhash");
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_hashtable_remove
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -3261,8 +3213,7 @@ weechat_hashtable_remove (hashtable, "my_key");
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_hashtable_remove_all
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -3290,8 +3241,7 @@ weechat_hashtable_remove_all (hashtable);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_hashtable_free
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -3319,8 +3269,7 @@ weechat_hashtable_free (hashtable);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
[[configuration_files]]
|
||||
File di configurazione
|
||||
@@ -3952,8 +3901,7 @@ else
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_config_search_with_string
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -4003,8 +3951,7 @@ else
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_config_string_to_boolean
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -4385,8 +4332,7 @@ char *description = weechat_config_option_get_pointer (option, "description");
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_config_option_is_null
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -5660,8 +5606,7 @@ weechat_printf_date (NULL, time (NULL) - 120, "Ciao, 2 minuti fa");
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_printf_tags
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
@@ -5692,8 +5637,7 @@ weechat_printf_tags (NULL, "notify_message",
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_printf_date_tags
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -5821,35 +5765,35 @@ La funzione è chiamata "log_print" negli script.
|
||||
Hook
|
||||
~~~~
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[hook_priority]]
|
||||
[float]
|
||||
Hook priority
|
||||
^^^^^^^^^^^^^
|
||||
Priorità degli hook
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
_Novità nella versione 0.3.4._
|
||||
|
||||
In some hooks, you can set a priority. A hook with higher priority is at the
|
||||
beginning of hooks list, so it will be found and executed before other hooks.
|
||||
It's useful for modifiers, because execution order is important.
|
||||
In alcuni hook è possibile impostare una priorità. Un hook con priorità
|
||||
maggiore si trova all'inizio della lista, in modo da poter essere eseguita
|
||||
prima di altri. Può risultare utile per i modificatori, data l'importanza
|
||||
nell'ordine di esecuzione.
|
||||
|
||||
To set a priority, you must use this syntax, for argument where priority is
|
||||
allowed: "nnn|name" where "nnn" is nonnegative integer with priority and "name"
|
||||
the name for argument (priority does not appear in name, it is automatically
|
||||
removed from string).
|
||||
Per impostare la priorità, è necessario usare questa sintassi per gli
|
||||
argomenti dove è consentita la priorità: "nnn|nome" dove "nnn" è un intero non
|
||||
negativo con la priorità e "nome" è il nome per l'argomenti (la priorità non
|
||||
compare nel nome, viene rimossa automaticamente dalla stringa).
|
||||
|
||||
Default priority is 1000.
|
||||
La priorità predefinita è 1000.
|
||||
|
||||
Esempio in C:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
/* hook modifier with priority = 2000 */
|
||||
/* hook per il modificatore con priorità = 2000 */
|
||||
weechat_hook_modifier ("2000|input_text_display", &modifier_cb, NULL);
|
||||
----------------------------------------
|
||||
|
||||
Following hook types allow priority: command, command_run, signal, config,
|
||||
completion, modifier, info, infolist.
|
||||
I tipi di hook che seguono consentono la priorità: command, command_run,
|
||||
signal, config.
|
||||
|
||||
weechat_hook_command
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -5876,8 +5820,7 @@ struct t_hook *weechat_hook_command (const char *command,
|
||||
Argomenti:
|
||||
|
||||
* 'command': nome del comando
|
||||
// TRANSLATION MISSING
|
||||
(priority allowed, see note about <<hook_priority,priority>>)
|
||||
(priorità consentita, consultare la nota riguardo la <<hook_priority,priority>>)
|
||||
* 'description': descrizione per il comando (visualizzata con `/help comando`)
|
||||
* 'args': argomenti per il comando (visualizzati con `/help command`)
|
||||
* 'args_description': descrizione degli argomenti (visualizzata con `/help command`)
|
||||
@@ -6002,8 +5945,8 @@ struct t_hook *weechat_hook_command_run (const char *command,
|
||||
Argomenti:
|
||||
|
||||
* 'command': comando su cui eseguire l'hook, può iniziare o terminare con "*"
|
||||
// TRANSLATION MISSING
|
||||
(priority allowed, see note about <<hook_priority,priority>>)
|
||||
(priorità consentita, consultare la nota riguardo la
|
||||
<<hook_priority,priority>>)
|
||||
* 'callback': funzione chiamata quando il comando è in esecuzione, argomenti:
|
||||
** 'void *data': puntatore
|
||||
** 'struct t_gui_buffer *buffer': buffer dove viene eseguito il comando
|
||||
@@ -6534,8 +6477,8 @@ struct t_hook *weechat_hook_signal (const char *signal,
|
||||
Argomenti:
|
||||
|
||||
* 'signal': segnale da catturare, può iniziare o terminare con "*"
|
||||
// TRANSLATION MISSING
|
||||
(priority allowed, see note about <<hook_priority,priority>>):
|
||||
(priorità consentita, consultare la nota riguardo la
|
||||
<<hook_priority,priority>>):
|
||||
|
||||
[width="100%",cols="^1,^3,^4,5",options="header"]
|
||||
|========================================
|
||||
@@ -6564,9 +6507,8 @@ Argomenti:
|
||||
| irc | xxx,irc_out_yyy ^1^ | string: messaggio |
|
||||
messaggio irc inviato al server
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| irc | xxx,irc_outtags_yyy ^(1)^ | string: tags + ";" + message |
|
||||
tags + irc message sent to server
|
||||
| irc | xxx,irc_outtags_yyy ^(1)^ | stringa: tag + ";" + messaggio |
|
||||
tag + messaggio irc inviato al server
|
||||
|
||||
| irc | irc_ctcp | string: messaggio |
|
||||
CTCP ricevuto
|
||||
@@ -6643,8 +6585,7 @@ Argomenti:
|
||||
| weechat | buffer_type_changed | puntatore: buffer |
|
||||
tipo di buffer modificato
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| weechat | debug_dump | string: plugin name |
|
||||
| weechat | debug_dump | stringa: nome plugin |
|
||||
richiesta di dump
|
||||
|
||||
| weechat | day_changed | string: nuova data, formato: "2010-01-31" |
|
||||
@@ -6857,13 +6798,14 @@ Argomenti:
|
||||
|
||||
* 'option': opzione, il formato è il nome completo, come usato con il comando
|
||||
`/set` (ad esempio: `weechat.look.item_time_format`)
|
||||
// TRANSLATION MISSING
|
||||
(priority allowed, see note about <<hook_priority,priority>>)
|
||||
* 'callback': function called when configuration option is changed, arguments:
|
||||
** 'void *data': pointer
|
||||
** 'const char *option': name of option
|
||||
** 'const char *value': new value for option
|
||||
* 'callback_data': pointer given to callback when it is called by WeeChat
|
||||
(priorità consentita, consultare la note riguardo la
|
||||
<<hook_priority,priority>>)
|
||||
* 'callback': funzione chiamata quando l'opzione di configurazione è cambiata,
|
||||
argomenti:
|
||||
** 'void *data': puntatore
|
||||
** 'const char *option': nome dell'opzione
|
||||
** 'const char *value': nuovo valore per l'opzione
|
||||
* 'callback_data': puntatore fornito alla callback quando chiamata da WeeChat
|
||||
|
||||
Valore restituito:
|
||||
|
||||
@@ -6923,8 +6865,8 @@ Argomenti:
|
||||
|
||||
* 'completion_item': nome dell'elemento del completamento, è possibile usare
|
||||
in seguito '%(name)' in un comando con un hook (argomento 'completion')
|
||||
// TRANSLATION MISSING
|
||||
(priority allowed, see note about <<hook_priority,priority>>)
|
||||
(priorità consentita, consultare la nota riguardo la
|
||||
<<hook_priority,priority>>)
|
||||
* 'callback': funzione chiamata quando viene usato l'elemento completamento
|
||||
(l'utente sta completando qualcosa usando questo elemento), argomenti:
|
||||
** 'void *data': puntatore
|
||||
@@ -7041,8 +6983,8 @@ Argomenti:
|
||||
|
||||
* 'modifier': nome modificatore, lista di modificatori utilizzati da
|
||||
Weechat o dai plugin
|
||||
// TRANSLATION MISSING
|
||||
(priority allowed, see note about <<hook_priority,priority>>):
|
||||
(priorità consentita, consultare la nota riguardo la
|
||||
<<hook_priority,priority>>)
|
||||
|
||||
[width="100%",cols="^1,^2,3,4,4",options="header"]
|
||||
|========================================
|
||||
@@ -7220,8 +7162,7 @@ weechat.hook_modifier_exec("my_modifier", my_data, my_string)
|
||||
weechat_hook_info
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Hook su una informazione (callback takes and returns a string).
|
||||
Hook su una informazione (la callback prende e restituisce una stringa).
|
||||
|
||||
Prototipo:
|
||||
|
||||
@@ -7239,8 +7180,8 @@ struct t_hook *weechat_hook_info (const char *info_name,
|
||||
Argomenti:
|
||||
|
||||
* 'info_name': nome della info
|
||||
// TRANSLATION MISSING
|
||||
(priority allowed, see note about <<hook_priority,priority>>)
|
||||
(priorità consentita, consultare la nota riguardo la
|
||||
<<hook_priority,priority>>)
|
||||
* 'description': descrizione
|
||||
* 'args_description': descrizione degli argomenti
|
||||
* 'callback': funzione chiamata alla richiesta di una info, argomenti:
|
||||
@@ -7286,13 +7227,12 @@ hook = weechat.hook_info("my_info", "Some info", "Info about arguments",
|
||||
"my_info_cb", "")
|
||||
----------------------------------------
|
||||
|
||||
// TRANSLATION MISSING
|
||||
weechat_hook_info_hashtable
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
_Novità nella versione 0.3.4._
|
||||
|
||||
Hook an information (callback takes and returns a hashtable).
|
||||
Hook su una informazione (la callback prende e restituisce una tabella hash).
|
||||
|
||||
Prototype:
|
||||
|
||||
@@ -7308,23 +7248,25 @@ struct t_hook *weechat_hook_info_hashtable (const char *info_name,
|
||||
void *callback_data);
|
||||
----------------------------------------
|
||||
|
||||
Arguments:
|
||||
Argomenti:
|
||||
|
||||
* 'info_name': name of info
|
||||
(priority allowed, see note about <<hook_priority,priority>>)
|
||||
* 'description': description
|
||||
* 'args_description': description of expected hashtable (optional, can be NULL)
|
||||
* 'output_description': description of hashtable returned by callback
|
||||
(optional, can be NULL)
|
||||
* 'callback': function called when info is asked, arguments:
|
||||
** 'void *data': pointer
|
||||
** 'const char *info_name': name of info
|
||||
** 'struct t_hashtable *hashtable': hashtable, depending on info
|
||||
* 'callback_data': pointer given to callback when it is called by WeeChat
|
||||
* 'info_name': nome della info
|
||||
(priorità consentita, consultare la nota riguardo la
|
||||
<<hook_priority,priority>>)
|
||||
* 'description': descrizione
|
||||
* 'args_description': descrizione della tabella hash attesa (opzionale, può
|
||||
essere NULL)
|
||||
* 'output_description': descrizione della tabella hash restituita dalla
|
||||
callback (opzionale, può essere NULL)
|
||||
* 'callback': funzione chiamata alla richiesta della info, argomenti:
|
||||
** 'void *data': puntatore
|
||||
** 'const char *info_name': nome della info
|
||||
** 'struct t_hashtable *hashtable': tabella hash, in base alla info
|
||||
* 'callback_data': puntatore fornito alla callback quando chiamata da WeeChat
|
||||
|
||||
Return value:
|
||||
Valore restituito:
|
||||
|
||||
* pointer to new hook, NULL if error occured
|
||||
* puntatore al nuovo hook, NULL in caso di errore
|
||||
|
||||
Esempio in C:
|
||||
|
||||
@@ -7387,8 +7329,8 @@ struct t_hook *weechat_hook_infolist (const char *infolist_name,
|
||||
Argomenti:
|
||||
|
||||
* 'infolist_name': nome della lista info
|
||||
// TRANSLATION MISSING
|
||||
(priority allowed, see note about <<hook_priority,priority>>)
|
||||
(priotità consentita, consultare la nota riguardo la
|
||||
<<hook_priority,priority>>)
|
||||
* 'description': descrizione
|
||||
* 'pointer_description': descrizione del puntatore (opzionale, può essere NULL)
|
||||
* 'args_description': descrizione degli argomenti (opzionale, può essere NULL)
|
||||
@@ -8246,8 +8188,7 @@ weechat_buffer_set_pointer (my_buffer, "close_callback", &my_close_cb);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_buffer_string_replace_local_var
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -9369,8 +9310,7 @@ else
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_network_connect_to
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -9424,8 +9364,7 @@ else
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
[[infos]]
|
||||
Info
|
||||
@@ -9436,8 +9375,7 @@ Funzioni per ottenere info.
|
||||
weechat_info_get
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Return info, as string, from WeeChat or a plugin.
|
||||
Restituisce la info, come stringa, da WeeChat o da un plugin.
|
||||
|
||||
Prototipo:
|
||||
|
||||
@@ -9481,15 +9419,14 @@ weechat.prnt("", "Current WeeChat version is: %s (compiled on %s)"
|
||||
weechat.prnt("", "WeeChat home is: %s" % weechat.info_get("weechat_dir"))
|
||||
----------------------------------------
|
||||
|
||||
// TRANSLATION MISSING
|
||||
weechat_info_get_hashtable
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
_Novità nella versione 0.3.4._
|
||||
|
||||
Return info, as hashtable, from WeeChat or a plugin.
|
||||
Restituisce una info, come tabella hash, da WeeChat o da un plugin.
|
||||
|
||||
Prototype:
|
||||
Prototipo:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
@@ -9499,14 +9436,14 @@ struct t_hashtable *weechat_info_get_hashtable (const char *info_name,
|
||||
|
||||
Arguments:
|
||||
|
||||
* 'info_name': name of info to read:
|
||||
* 'info_name': nome della info da leggere
|
||||
include::autogen/plugin_api/infos_hashtable.txt[]
|
||||
* 'hashtable': hashtable with arguments (depends on info asked) (optional, NULL
|
||||
if no argument is needed)
|
||||
* 'hashtable': tabella hash con argomenti (dipende dalla info richiesta)
|
||||
* (opzionale, NULL se l'argomento non viene richiesto)
|
||||
|
||||
Return value:
|
||||
Valore restituito:
|
||||
|
||||
* hashtable with info asked, NULL if an error occured
|
||||
* tabella hash con la info richiesta, NULL in caso di errore
|
||||
|
||||
Esempio in C:
|
||||
|
||||
@@ -9816,8 +9753,7 @@ struct t_infolist_var *var = weechat_infolist_new_variable_buffer (item,
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_infolist_new_var_time
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -10251,8 +10187,7 @@ weechat_printf (NULL, "buffer = 0x%lx, size = %d",
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
This function is not available in scripting API.
|
||||
Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
weechat_infolist_time
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
+38
-38
@@ -522,10 +522,9 @@ Tasti per la riga di comando
|
||||
viene copiata negli appunti) +
|
||||
`/input delete_end_of_line`
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| Ctrl + R |
|
||||
Cerca il testo nella cronologia del buffer (due volte: cerca testo esatto),
|
||||
next/previous occurrences can be found with up and down arrows +
|
||||
ricorrenze successive/precedenti possono essere trovate con le frecce su/giù +
|
||||
`/input search_text`
|
||||
|
||||
| Ctrl + T |
|
||||
@@ -950,8 +949,7 @@ I plugin predefiniti sono:
|
||||
| fifo | pipe FIFO utilizzata per inviare comandi da remoto su WeeChat
|
||||
| irc | protocollo chat per IRC
|
||||
| logger | Registra i buffer su file
|
||||
// TRANSLATION MISSING
|
||||
| rmodifier | Alter modifier strings with regular expressions
|
||||
| rmodifier | Cambia le stringhe del modificatore con espressioni regolari
|
||||
| perl | API per lo scripting in Perl
|
||||
| python | API per lo scripting in Python
|
||||
| ruby | API per lo scripting in Ruby
|
||||
@@ -1589,65 +1587,67 @@ Si avranno i seguenti file:
|
||||
| #canale2.weechatlog
|
||||
........................................
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[rmodifier_plugin]]
|
||||
Rmodifier plugin
|
||||
Plugin Rmodifier
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
The Rmodifier plugin lets you alter modifier strings using regular expressions.
|
||||
Typical use is to hide password when you type them, or when WeeChat saves
|
||||
them in command history. For example, it is possible to replace each char in
|
||||
these passwords by "*".
|
||||
Il plugin Rmodifier consente di cambiare le stringhe del modificatore
|
||||
utilizzando le espressioni regolari. Si usa tipicamente per nascondere la
|
||||
password quando viene digitata, o quando WeeChat la salva nella cronologia dei
|
||||
comandi. Ad esempio, è possibile sostituire ogni carattere in questa password
|
||||
con "*".
|
||||
|
||||
[[rmodifier_options]]
|
||||
Options (rmodifier.conf)
|
||||
Opzioni (rmodifier.conf)
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
include::autogen/user/rmodifier_options.txt[]
|
||||
|
||||
[[rmodifier_commands]]
|
||||
Commands
|
||||
^^^^^^^^
|
||||
Comandi
|
||||
^^^^^^^
|
||||
|
||||
include::autogen/user/rmodifier_commands.txt[]
|
||||
|
||||
[[rmodifier_creation]]
|
||||
Rmodifier creation
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
Creazione di Rmodifier
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
A rmodifier consists of three elements:
|
||||
Un rmodifier è costituito da tre elementi:
|
||||
|
||||
. one or more "modifiers"
|
||||
. a regular expression, to capture "groups"
|
||||
. a string that describes output using number of "groups" captured in regular
|
||||
expression
|
||||
. uno o più "modificatori"
|
||||
. un'espressione regolare per catturare i "gruppi"
|
||||
. una stringa che descriva l'output facendo uso di "gruppi" catturati nelle
|
||||
espressioni regolari
|
||||
|
||||
For list of modifiers used by WeeChat or plugins, see
|
||||
Per un elenco di modificatori usati da WeeChat o dai plugin, consultare
|
||||
'WeeChat Plugin API Reference', function 'weechat_hook_modifier'.
|
||||
|
||||
For each captured group, following actions are possible:
|
||||
Per ogni gruppo catturato, sono consentite le seguenti azioni:
|
||||
|
||||
* keep group as-is (by using group number)
|
||||
* replace all chars in group to hide content (group number + "*")
|
||||
* remove group (if group is not used in string)
|
||||
* mantenere il gruppo così com'è (usando un numero per gruppo)
|
||||
* sostituire tutti i caratteri nel gruppo per nascondere il contenuto (numero
|
||||
del gruppo + "*")
|
||||
* rimuovere il gruppo (se il gruppo non viene utilizzato nella stringa)
|
||||
|
||||
Example of default rmodifier for command `/oper`:
|
||||
Esempio di rmodifier predefinito per il comando `/oper`:
|
||||
|
||||
* modifiers: `history_add,input_text_display`
|
||||
** `history_add`: called when WeeChat stores command in history
|
||||
** `input_text_display`: called when command line has changed
|
||||
(applies only on display, not content of command line)
|
||||
* regular expression: `^(/oper +\S+ +)(.*)`
|
||||
* groupes: `1,2*`
|
||||
* modifier: `history_add,input_text_display`
|
||||
** `history_add`: chiamato quando WeeChat conserva il comando nella cronologia
|
||||
** `input_text_display`: chiamato quando la riga di comando è cambiata
|
||||
(valida solo a video, non per il contenuto della riga di comando)
|
||||
* espressione regolare: `^(/oper +\S+ +)(.*)`
|
||||
* gruppi: `1,2*`
|
||||
|
||||
Each time modifiers "history_add" or "input_text_display" are called, regular
|
||||
expression is checked. If string matches, then it is replaced by captured groups,
|
||||
as defined in string with groups.
|
||||
Ad ogni chiamata dei modificatori "history_add" o "input_text_display", viene
|
||||
verificata l'espressione regolare. Se la stringa coincide, viene sostituita
|
||||
dai gruppi catturati, come definito nella stringa con i gruppi.
|
||||
|
||||
In this example, we keep number 1 as-is, and we replace all chars of group 2 by
|
||||
replacement char defined in configuration (option 'rmodifier.look.hide_char').
|
||||
In questo esempio, il numero 1 resta così com'è, e sostituiamo tutti i
|
||||
caratteri del gruppo 2 con il carattere di sostituzione definito nella
|
||||
configurazione (opzione 'rmodifier.look.hide_char').
|
||||
|
||||
If command line contains: `/oper nick password` then display becomes:
|
||||
Se la riga di comando contiene: `/oper nick password` allora a video diventa:
|
||||
`/oper nick ********`.
|
||||
|
||||
[[scripts_plugins]]
|
||||
|
||||
Reference in New Issue
Block a user