diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-09-20 21:37:01 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-09-20 21:37:01 +0200 |
commit | 997894edc04e87b0ba0c81712c92a83ec7f5c121 (patch) | |
tree | 8dc259f773da21c8592421da0323694843b146db /po/ja.po | |
parent | 0109c519375f8a54552127e71ea2b00b1baa296e (diff) | |
download | weechat-997894edc04e87b0ba0c81712c92a83ec7f5c121.zip |
core: add calculation of expression in evaluation of expressions with "calc:..." (issue #997)
Diffstat (limited to 'po/ja.po')
-rw-r--r-- | po/ja.po | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2019-09-19 21:16+0200\n" +"POT-Creation-Date: 2019-09-20 21:31+0200\n" "PO-Revision-Date: 2019-06-22 08:40+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Language-Team: Japanese <https://github.com/l/weechat/tree/master/" @@ -1592,6 +1592,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 " @@ -1646,9 +1647,11 @@ msgid "" " 10. an environment variable (format: \"env:XXX\")\n" " 11. a ternary operator (format: \"if:condition?value_if_true:value_if_false" "\")\n" -" 12. an option (format: \"file.section.option\")\n" -" 13. a local variable in buffer\n" -" 14. a hdata name/variable (the value is automatically converted to " +" 12. result of an expression with parentheses and operators + - * / // % " +"(format: \"calc:xxx\")\n" +" 13. an option (format: \"file.section.option\")\n" +" 14. a local variable in buffer\n" +" 15. 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" @@ -1683,6 +1686,7 @@ msgid "" " /eval -n ${if:${info:term_width}>80?big:small} ==> big\n" " /eval -n ${rev:Hello} ==> olleH\n" " /eval -n ${repeat:5,-} ==> -----\n" +" /eval -n ${calc:(5+2)*3} ==> 21\n" "\n" "Examples (conditions):\n" " /eval -n -c ${window.buffer.number} > 2 ==> 0\n" |