From 997894edc04e87b0ba0c81712c92a83ec7f5c121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 20 Sep 2019 21:37:01 +0200 Subject: core: add calculation of expression in evaluation of expressions with "calc:..." (issue #997) --- po/ja.po | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'po/ja.po') diff --git a/po/ja.po b/po/ja.po index 98447ffba..df75bbb66 100644 --- a/po/ja.po +++ b/po/ja.po @@ -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 \n" "Language-Team: Japanese || [-n] -c " msgstr "[-n|-s] || [-n] -c " +#, 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" -- cgit v1.2.3