summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-03-25 15:12:47 +0100
committerSébastien Helleu <flashcode@flashtux.org>2017-03-25 15:13:18 +0100
commitfb66eeec79ea6bbad17cccdf353b34f96216bd7f (patch)
tree433ac33ffcd0c8987a2376388f4333d6af63a83f /src/core/wee-command.c
parentf54ed11f1d38f159c591005e72e35400f98ce948 (diff)
downloadweechat-fb66eeec79ea6bbad17cccdf353b34f96216bd7f.zip
core: update translations
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r--src/core/wee-command.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index a6f03f3c0..a3a6bb472 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -7268,16 +7268,17 @@ command_init ()
" 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 3. a string with chars to hide (format: \"hide:char,string\")\n"
- " 4. a color (format: \"color:xxx\")\n"
- " 5. an info (format: \"info:name,arguments\", arguments are "
+ " 4. a string with max chars (format: \"cut:max,suffix,string\")\n"
+ " 5. a color (format: \"color:xxx\")\n"
+ " 6. an info (format: \"info:name,arguments\", arguments are "
"optional)\n"
- " 6. current date/time (format: \"date\" or \"date:format\")\n"
- " 7. an environment variable (format: \"env:XXX\")\n"
- " 8. a ternary operator (format: "
- "if:condition?value_if_true:value_if_false)\n"
- " 9. an option (format: \"file.section.option\")\n"
- " 10. a local variable in buffer\n"
- " 11. a hdata name/variable (the value is automatically converted "
+ " 7. current date/time (format: \"date\" or \"date:format\")\n"
+ " 8. an environment variable (format: \"env:XXX\")\n"
+ " 9. a ternary operator (format: "
+ "\"if:condition?value_if_true:value_if_false\")\n"
+ " 10. an option (format: \"file.section.option\")\n"
+ " 11. a local variable in buffer\n"
+ " 12. a hdata name/variable (the value is automatically converted "
"to string), by default \"window\" and \"buffer\" point to current "
"window/buffer.\n"
"Format for hdata can be one of following:\n"
@@ -7306,6 +7307,7 @@ command_init ()
" /eval -n ${window.buffer.number} ==> 1\n"
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+ " /eval -n ${cut:2,+,test} ==> te+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"