diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-07-29 19:46:02 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-07-29 19:46:02 +0200 |
commit | 54a6f42de539e176517be5cce0c6792b5530c459 (patch) | |
tree | 2b61929928cefb576b2f4cb2d83d794f6f108ce3 /doc/it | |
parent | dfd7ed5457cc4df7c75e9f9e61efeaea50b26a75 (diff) | |
download | weechat-54a6f42de539e176517be5cce0c6792b5530c459.zip |
core: add number in windows, improve mouse/cursor actions when screen is split
Diffstat (limited to 'doc/it')
-rw-r--r-- | doc/it/autogen/plugin_api/completions.txt | 2 | ||||
-rw-r--r-- | doc/it/autogen/plugin_api/hdata.txt | 1 | ||||
-rw-r--r-- | doc/it/autogen/user/weechat_commands.txt | 106 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.txt | 12 | ||||
-rw-r--r-- | doc/it/weechat_user.it.txt | 49 |
5 files changed, 95 insertions, 75 deletions
diff --git a/doc/it/autogen/plugin_api/completions.txt b/doc/it/autogen/plugin_api/completions.txt index eab556506..a122bd267 100644 --- a/doc/it/autogen/plugin_api/completions.txt +++ b/doc/it/autogen/plugin_api/completions.txt @@ -108,6 +108,8 @@ | weechat | weechat_commands | comandi di weechat +| weechat | windows_numbers | numbers of windows + | xfer | nick | nick della chat DCC |======================================== diff --git a/doc/it/autogen/plugin_api/hdata.txt b/doc/it/autogen/plugin_api/hdata.txt index 1de895931..c0e0446e2 100644 --- a/doc/it/autogen/plugin_api/hdata.txt +++ b/doc/it/autogen/plugin_api/hdata.txt @@ -500,6 +500,7 @@ 'weechat_plugins' | weechat | window | finestra | + 'number' (integer) + 'win_x' (integer) + 'win_y' (integer) + 'win_width' (integer) + diff --git a/doc/it/autogen/user/weechat_commands.txt b/doc/it/autogen/user/weechat_commands.txt index ea9d7c93a..607e4c969 100644 --- a/doc/it/autogen/user/weechat_commands.txt +++ b/doc/it/autogen/user/weechat_commands.txt @@ -9,12 +9,12 @@ messaggio: messaggio di assenza (se non specificato, lo stato di assenza viene r [command]*`bar`* gestione barre:: ........................................ /bar list|listfull|listitems - add <nome> <tipo>[,<cond1>[,<cond2>...]] <posizione> <dimensione> <separatore> <elemento1>[,<elemento2>...] + add <name> <type>[,<cond1>[,<cond2>...]] <position> <size> <separator> <item1>[,<item2>...] default [input|title|status|nicklist] - del <nome>|-all - set <nome> <opzione> <valore> - hide|show|toggle <nome> - scroll <nome> <buffer> <scroll_value> + del <name>|-all + set <name> <option> <value> + hide|show|toggle <name> + scroll <name> <window> <scroll_value> list: list all bars listfull: list all bars (verbose) @@ -41,7 +41,7 @@ messaggio: messaggio di assenza (se non specificato, lo stato di assenza viene r show: show an hidden bar toggle: hide/show a bar scroll: scroll bar - buffer: name of buffer to scroll ('*' means current buffer, you should use '*' for root bars) + window: window number (use '*' for current window or for root bars) scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to scroll by % of width/height, otherwise value is number of chars) Examples: @@ -589,56 +589,60 @@ Esempi: [command]*`window`* gestione finestre:: ........................................ /window list - -1|+1|b#|up|down|left|right - splith|splitv [<pct>] - resize [+/-] <pct> + -1|+1|b#|up|down|left|right [-window <number>] + <number> + splith|splitv [-window <number>] [<pct>] + resize [-window <number>] [+/-]<pct> balance - merge [all] - page_up|page_down + merge [-window <number>] [all] + page_up|page_down [-window <number>] refresh - scroll|[+/-]<valore>[s|m|h|d|M|y] - scroll_horiz [+/-]<valore>[%] - scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight - swap [up|down|left|right] - zoom - - list: elenca le finestre aperte (senza argomento, questa lista viene visualizzata) - -1: salta alla finestra precedente - +1: salta alla finestra successiva - b#: salta alla finestra successiva che visualizza il buffer numero # - up: passa alla finestra superiore a quella corrente - down: passa alla finestra inferiore a quella attiva - left: passa alla finestra a sinistra - right: passa alla finestra a destra - splith: divide la finestra attiva orizzontalmente - splitv: divide la finestra attiva verticalmente - resize: ridimensiona finestra, la nuova dimensione è <pct> percentuale della finestra genitore - balance: bilancia le dimensioni tutte le finestre - merge: unisce la finestra con un'altra (all = mantiente una sola finestra) - page_up: scorre di una pagina in alto - page_down: scorre di una pagina in basso - refresh: aggiorna lo schermo - scroll: scorre di un numero di righe (+/-N) o in base al tempo: s=secondi, m=minuti, h=ore, d=giorni, M=mesi, y=anni - scroll_horiz: scorre orizzontalmente un numero di colonne (+/-N) una percentuale della dimensione della finestra (questo scorrimento è possibile solo sui buffer con contenuto libero) - scroll_up: scorre di alcune righe in alto - scroll_down: scorre di alcune righe in basso - scroll_top: scorre fino all'inizio del buffer -scroll_bottom: scorre fino alla fine del buffer buffer -scroll_previous_highlight: passa all'evento precedente - scroll_next_highlight: passa all'evento successivo - swap: scambia i buffer di due finestra (con direzione opzionale per la finestra di destinazione) - zoom: ingrandimento sulla finestra - -Per splith e splitv, pct è una percentuale che rappresenta la dimensione della nuova finestra, calcolata con la finestra attiva come riferimento per la dimensione. Per esempio 25 vuol dire creare una finestra di dimensione = dimensione_attuale / 4 + scroll [-window <number>] [+/-]<value>[s|m|h|d|M|y] + scroll_horiz [-window <number>] [+/-]<value>[%] + scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight [-window <number>] + swap [-window <number>] [up|down|left|right] + zoom[-window <number>] + + 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 # + up: switch to window above current one + down: switch to window below current one + left: switch to window on the left + right: switch to window on the right + number: window number (see /window list) + splith: split current window horizontally + splitv: split current window vertically + resize: resize window size, new size is <pct> percentage of parent window + balance: balance the sizes of all windows + merge: merge window with another (all = keep only one window) + page_up: scroll one page up + page_down: scroll one page down + refresh: refresh screen + scroll: scroll a number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years + scroll_horiz: scroll horizontally a number of columns (+/-N) or percentage of window size (this scrolling is possible only on buffers with free content) + scroll_up: scroll a few lines up + scroll_down: scroll a few lines down + scroll_top: scroll to top of buffer +scroll_bottom: scroll to bottom of buffer +scroll_previous_highlight: scroll to previous highlight +scroll_next_highlight: scroll to next highlight + swap: swap buffers of two windows (with optional direction for target window) + zoom: zoom on window + +For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4 -Esempi: - salta alla finestra che visualizza il buffer #1: +Examples: + jump to window displaying buffer #1: /window b1 - scorre di due righe in alto: + scroll 2 lines up: /window scroll -2 - scorre all'indietro di due giorni: + scroll 2 days up: /window scroll -2d - scorre all'inizio del giorno attuale: - /window scroll -d + scroll to beginning of current day: + /window scroll -d + zoom on window #2: + /window zoom -window 2 ........................................ diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index b9e5ab4a8..ff4cb3f04 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -8314,6 +8314,16 @@ Argomenti: *** '_y': line of focus on screen (first line on top is "0") *** '_window': pointer of window with focus ("0x0" for a bar of type "root" or for unknown area) +*** '_window_number': number of window with focus (not set for a bar of type + "root" or for unknown area) +*** '_buffer': pointer of buffer with focus ("0x0" for a bar of type "root" + or for unknown area) +*** '_buffer_number': number of buffer with focus (not set for a bar of type + "root" or for unknown area) +*** '_buffer_plugin': plugin name of buffer with focus (not set for a bar of + type "root" or for unknown area) +*** '_buffer_name': name of buffer with focus (not set for a bar of type "root" + or for unknown area) *** '_bar_name': name of bar with focus (NULL for chat area or for unknown area) *** '_bar_item_name': name of bar item with focus (NULL if focus is not in a @@ -9399,6 +9409,8 @@ Argomenti: * 'window': puntatore alla finestra * 'property': nome della proprietà: +// TRANSLATION MISSING +** 'number': number of window (starts to 1) ** 'win_x': posizione X della finestra nel terminale (la prima colonna è 0) ** 'win_y': posizione Y della finestra nel terminale (la prima riga è 0) ** 'win_width': larghezza della finestra, in caratteri diff --git a/doc/it/weechat_user.it.txt b/doc/it/weechat_user.it.txt index 7e9a34ba6..53da149d0 100644 --- a/doc/it/weechat_user.it.txt +++ b/doc/it/weechat_user.it.txt @@ -547,7 +547,7 @@ Keys for "cursor" context These keys are used in context "cursor" (free movement of cursor on screen). -[width="100%",cols="^.^3,^.^3,.^10,.^5l",options="header"] +[width="100%",cols="^.^3,^.^3,.^10,.^8l",options="header"] |======================================== | Key | Area | Description | Command | @k(↑) | - | Move cursor one line up | /cursor move up @@ -558,11 +558,11 @@ These keys are used in context "cursor" (free movement of cursor on screen). | @k(A-)@k(↓) | - | Move cursor one area down | /cursor move area_down | @k(A-)@k(←) | - | Move cursor one area left | /cursor move area_left | @k(A-)@k(→) | - | Move cursor one area right | /cursor move area_right -| @k(b) | nicklist | Ban nick | /ban ${nick} -| @k(k) | nicklist | Kick nick | /kick ${nick} -| @k(K) | nicklist | Kick and ban nick | /kickban ${nick} -| @k(q) | nicklist | Open query with nick | /query ${nick};/cursor stop -| @k(w) | nicklist | Do a whois on nick | /whois ${nick} +| @k(b) | nicklist | Ban nick | /window ${_window_number};/ban ${nick} +| @k(k) | nicklist | Kick nick | /window ${_window_number};/kick ${nick} +| @k(K) | nicklist | Kick and ban nick | /window ${_window_number};/kickban ${nick} +| @k(q) | nicklist | Open query with nick | /window ${_window_number};/query ${nick};/cursor stop +| @k(w) | nicklist | Do a whois on nick | /window ${_window_number};/whois ${nick} | @k(Enter) .3+| - .3+| Stop cursor mode .3+| /cursor stop | @k(C-)@k(j) | @k(C-)@k(m) @@ -575,26 +575,27 @@ Keys for "mouse" context These keys are used in context "mouse", namely when a mouse event occurs. -[width="100%",cols="^.^3,^.^3,^.^3,.^10,.^5l",options="header"] +[width="100%",cols="^.^3,^.^3,^.^3,.^10,.^8l",options="header"] |======================================== | Button | Gesture | Area | Description | Command -| ◾◽◽ | left | chat | Passa al buffer precedente | /buffer +1 -| ◾◽◽ | right | chat | Passa al buffer successivo | /buffer +1 -| ◾◽◽ | left (long) | chat | Switch to first buffer | /buffer 1 -| ◾◽◽ | right (long) | chat | Passa all'ultimo buffer | /input jump_last_buffer -| wheel ⇑ | - | chat | Scorre di qualche riga in alto nella cronologia del buffer | /window scroll_up -| wheel ⇓ | - | chat | Scorre di qualche riga in basso nella cronologia del buffer | /window scroll_down -| ◾◽◽ | up | nicklist | Scorre di una pagina in alto nella lista nick | /bar scroll nicklist * -100% -| ◾◽◽ | down | nicklist | Scorre di una pagina in basso nella lista nick | /bar scroll nicklist * +100% -| ◾◽◽ | up (long) | nicklist | Sposta all'inizio della lista nick | /bar scroll nicklist * b -| ◾◽◽ | down (long) | nicklist | Sposta alla fine della lista nick | /bar scroll nicklist * e -| ◾◽◽ | - | nicklist | Open query with nick | /query ${nick} -| ◽◽◾ | - | nicklist | Do a whois on nick | /whois ${nick} -| ◾◽◽ | left | nicklist | Kick nick | /kick ${nick} -| ◾◽◽ | left (long) | nicklist | Kick and ban nick | /kickban ${nick} -| ◽◽◾ | left | nicklist | Ban nick | /ban ${nick} -| wheel ⇑ | - | any bar | Scroll bar by -10% | /bar scroll ${_bar_name} * -10% -| wheel ⇓ | - | any bar | Scroll bar by +10% | /bar scroll ${_bar_name} * +10% +| ◾◽◽ | - | chat | Switch to window | /window ${_window_number} +| ◾◽◽ | left | chat | Passa al buffer precedente | /window ${_window_number};/buffer +1 +| ◾◽◽ | right | chat | Passa al buffer successivo | /window ${_window_number};/buffer +1 +| ◾◽◽ | left (long) | chat | Switch to first buffer | /window ${_window_number};/buffer 1 +| ◾◽◽ | right (long) | chat | Passa all'ultimo buffer | /window ${_window_number};/input jump_last_buffer +| wheel ⇑ | - | chat | Scorre di qualche riga in alto nella cronologia del buffer | /window scroll_up -window ${_window_number} +| wheel ⇓ | - | chat | Scorre di qualche riga in basso nella cronologia del buffer | /window scroll_down -window ${_window_number} +| ◾◽◽ | up | nicklist | Scorre di una pagina in alto nella lista nick | /bar scroll nicklist ${_window_number} -100% +| ◾◽◽ | down | nicklist | Scorre di una pagina in basso nella lista nick | /bar scroll nicklist ${_window_number} +100% +| ◾◽◽ | up (long) | nicklist | Sposta all'inizio della lista nick | /bar scroll nicklist ${_window_number} b +| ◾◽◽ | down (long) | nicklist | Sposta alla fine della lista nick | /bar scroll nicklist ${_window_number} e +| ◾◽◽ | - | nicklist | Open query with nick | /window ${_window_number};/query ${nick} +| ◽◽◾ | - | nicklist | Do a whois on nick | /window ${_window_number};/whois ${nick} +| ◾◽◽ | left | nicklist | Kick nick | /window ${_window_number};/kick ${nick} +| ◾◽◽ | left (long) | nicklist | Kick and ban nick | /window ${_window_number};/kickban ${nick} +| ◽◽◾ | left | nicklist | Ban nick | /window ${_window_number};/ban ${nick} +| wheel ⇑ | - | any bar | Scroll bar by -10% | /bar scroll ${_bar_name} ${_window_number} -10% +| wheel ⇓ | - | any bar | Scroll bar by +10% | /bar scroll ${_bar_name} ${_window_number} +10% | ◽◾◽ | - | anywhere | Start cursor mode at this point | /cursor go ${_x},${_y} |======================================== |