diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-04-24 22:37:49 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-04-24 22:37:49 +0200 |
commit | 112bebcddf99d5187ede8ebbe765abc75373c4f2 (patch) | |
tree | 3430bc6a930518eb0fe325c93bd7217d823083c6 /po/es.po | |
parent | 0470a71af9e9da57b39702f94705f5f43cec5448 (diff) | |
download | weechat-112bebcddf99d5187ede8ebbe765abc75373c4f2.zip |
core: add a way to count the suffix length in max chars displayed in cut of string ("cut:" and "cutscr:") (closes #963)
The format to use is one of:
- ${cut:+max,suffix,string}
- ${cutscr:+max,suffix,string}
With the "+" before max, WeeChat ensures there are at most "max" chars in
output, including the length of suffix string.
Diffstat (limited to 'po/es.po')
-rw-r--r-- | po/es.po | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2017-04-23 14:44+0200\n" +"POT-Creation-Date: 2017-04-24 22:34+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" @@ -1503,9 +1503,10 @@ msgid "" " 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 string with max chars (format: \"cut:max,suffix,string\")\n" -" or max chars displayed on screen (format: \"cutscr:max,suffix,string" -"\")\n" +" 4. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:" +"+max,suffix,string\")\n" +" or max chars displayed on screen (format: \"cutscr:max,suffix,string\" " +"or \"cutscr:+max,suffix,string\")\n" " 5. a color (format: \"color:xxx\", see \"Plugin API reference\", function " "\"color\")\n" " 6. an info (format: \"info:name,arguments\", arguments are optional)\n" @@ -1543,7 +1544,8 @@ msgid "" " /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 ${cut:3,+,test} ==> tes+\n" +" /eval -n ${cut:+3,+,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" |