From 3c29cff2a5c0ce46a1c0cbcaa25f3a07327abf23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 22 Jan 2017 13:50:05 +0100 Subject: core, alias: add xgettext comment on some command help strings The help on commands /window and /alias contain percent chars, so we have to force xgettext to NOT use "c-format", using the string "xgettext:no-c-format". --- doc/it/autogen/user/weechat_commands.adoc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'doc/it/autogen') diff --git a/doc/it/autogen/user/weechat_commands.adoc b/doc/it/autogen/user/weechat_commands.adoc index 9bb7e4cc4..f9a938620 100644 --- a/doc/it/autogen/user/weechat_commands.adoc +++ b/doc/it/autogen/user/weechat_commands.adoc @@ -939,13 +939,13 @@ Esempi: -1|+1|b#|up|down|left|right [-window ] splith|splitv [-window ] [] - resize [-window ] [+/-] + resize [-window ] [h|v][+|-] balance merge [-window ] [all] page_up|page_down [-window ] refresh - scroll [-window ] [+/-][s|m|h|d|M|y] - scroll_horiz [-window ] [+/-][%] + scroll [-window ] [+|-][s|m|h|d|M|y] + scroll_horiz [-window ] [+|-][%] scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window ] swap [-window ] [up|down|left|right] zoom [-window ] @@ -963,6 +963,7 @@ Esempi: splith: split current window horizontally (to undo: /window merge) splitv: split current window vertically (to undo: /window merge) resize: resize window size, new size is percentage of parent window + if "h" or "v" is specified, the resize affects the nearest parent window with a split of this type (horizontal/vertical) balance: balance the sizes of all windows merge: merge window with another (all = keep only one window) page_up: scroll one page up @@ -995,8 +996,12 @@ Examples: /window scroll -d zoom on window #2: /window zoom -window 2 - split window horizontally using 30%% of space for the window on top: + split window horizontally using 30% of space for the window on top: /window splith 30 + resize window to 75% of the parent window size: + /window resize 75 + resize vertical split, add 10% in size: + /window resize v+10 remove the split: /window merge enable bare display for 2 seconds: -- cgit v1.2.3