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/tr.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/tr.po')
-rw-r--r-- | po/tr.po | 11 |
1 files changed, 7 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-05-13 21:32+0200\n" "Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -1351,9 +1351,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" @@ -1388,6 +1390,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" |