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/ja.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/ja.po')
-rw-r--r-- | po/ja.po | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -20,7 +20,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-03-26 09:00+0900\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Language-Team: Japanese <https://github.com/l/weechat/tree/master/" @@ -1479,6 +1479,7 @@ msgstr "式を評価" msgid "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>" msgstr "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>" +#, fuzzy msgid "" " -n: display result without sending it to buffer (debug mode)\n" " -s: split expression before evaluating it (many commands can be " @@ -1516,6 +1517,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" @@ -1553,6 +1556,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" |