1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 02:03:13 +02:00

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".
This commit is contained in:
Sébastien Helleu
2017-01-22 13:50:05 +01:00
parent 9a35a07d86
commit 3c29cff2a5
21 changed files with 225 additions and 192 deletions
+5 -3
View File
@@ -8006,6 +8006,7 @@ command_init ()
hook_command (
NULL, "window",
N_("manage windows"),
/* xgettext:no-c-format */
N_("list"
" || -1|+1|b#|up|down|left|right [-window <number>]"
" || <number>"
@@ -8023,6 +8024,7 @@ command_init ()
" || swap [-window <number>] [up|down|left|right]"
" || zoom [-window <number>]"
" || bare [<delay>]"),
/* xgettext:no-c-format */
N_(" list: list opened windows (without argument, this list is "
"displayed)\n"
" -1: jump to previous window\n"
@@ -8082,12 +8084,12 @@ command_init ()
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
" split window horizontally using 30%% of space for the window on "
" split window horizontally using 30% of space for the window on "
"top:\n"
" /window splith 30\n"
" resize window to 75%% of the parent window size:\n"
" resize window to 75% of the parent window size:\n"
" /window resize 75\n"
" resize vertical split, add 10%% in size:\n"
" resize vertical split, add 10% in size:\n"
" /window resize v+10\n"
" remove the split:\n"
" /window merge\n"
+1
View File
@@ -252,6 +252,7 @@ alias_command_init ()
" || add <alias> [<command>[;<command>...]]"
" || addcompletion <completion> <alias> [<command>[;<command>...]]"
" || del <alias> [<alias>...]"),
/* xgettext:no-c-format */
N_(" list: list aliases (without argument, this list is "
"displayed)\n"
" add: add an alias\n"