diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-03-27 21:14:51 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-03-27 21:14:51 +0200 |
commit | f99c866f352c9bc7f3ba0e7d228a5942dd616de0 (patch) | |
tree | 3180f347e130d6b41e9863902fe8404d5a28e4a4 /po/es.po | |
parent | f37ecbfefd63d1966a877b3999ab472147282e77 (diff) | |
download | weechat-f99c866f352c9bc7f3ba0e7d228a5942dd616de0.zip |
core: add cut of string with max chars displayed in evaluation of expressions
The syntax is: ${cutscr:max,suffix,string}.
The string is cut after max chars displayed on screen. If the string is cut,
the optional suffix is added after.
Diffstat (limited to 'po/es.po')
-rw-r--r-- | po/es.po | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2017-03-25 22:12+0100\n" +"POT-Creation-Date: 2017-03-27 21:10+0200\n" "PO-Revision-Date: 2017-01-06 22:01+0100\n" "Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -1504,6 +1504,8 @@ msgid "" " 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 string with max chars (format: \"cut:max,suffix,string\")\n" +" or max chars displayed on screen (format: \"cutscr:max,suffix,string" +"\")\n" " 5. a color (format: \"color:xxx\")\n" " 6. an info (format: \"info:name,arguments\", arguments are optional)\n" " 7. current date/time (format: \"date\" or \"date:format\")\n" @@ -1541,6 +1543,8 @@ msgid "" " /eval -n ${\\t} ==> <tab>\n" " /eval -n ${hide:-,${relay.network.password}} ==> --------\n" " /eval -n ${cut:2,+,test} ==> te+\n" +" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n" +" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n" " /eval -n ${date:%H:%M:%S} ==> 07:46:40\n" " /eval -n ${if:${info:term_width}>80?big:small} ==> big\n" "\n" |