diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-02-05 20:07:16 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-02-05 20:07:16 +0100 |
commit | a93e598c358574fcc20b5e8ed34b19cc773f143d (patch) | |
tree | e344d8842b233d8cd0121d701b44a6e879cd1cfe /po/cs.po | |
parent | 64fe602aaecb462ec6b0a0fb5916416de39de7be (diff) | |
download | weechat-a93e598c358574fcc20b5e8ed34b19cc773f143d.zip |
core: add raw string in evaluation of expressions with "raw:xxx" (closes #1611)
Diffstat (limited to 'po/cs.po')
-rw-r--r-- | po/cs.po | 42 |
1 files changed, 22 insertions, 20 deletions
@@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-02-03 18:29+0100\n" +"POT-Creation-Date: 2021-02-05 19:50+0100\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -1598,32 +1598,33 @@ msgid "" "\n" "Some variables are replaced in expression, using the format ${variable}, " "variable can be, by order of priority:\n" -" 1. an evaluated sub-string (format: \"eval:xxx\")\n" -" 2. an evaluated condition (format: \"eval_cond:xxx\")\n" -" 3. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" -" 4. a string with chars to hide (format: \"hide:char,string\")\n" -" 5. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:" +" 1. the string itself without evaluation (format: \"raw:xxx\")\n" +" 2. an evaluated sub-string (format: \"eval:xxx\")\n" +" 3. an evaluated condition (format: \"eval_cond:xxx\")\n" +" 4. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" +" 5. a string with chars to hide (format: \"hide:char,string\")\n" +" 6. 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" -" 6. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" -" 7. a repeated string (format: \"repeat:count,string\")\n" -" 8. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" -" 9. a color (format: \"color:xxx\", see \"Plugin API reference\", function " +" 7. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" +" 8. a repeated string (format: \"repeat:count,string\")\n" +" 9. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" +" 10. a color (format: \"color:xxx\", see \"Plugin API reference\", function " "\"color\")\n" -" 10. a modifier (format: \"modifier:name,data,string\")\n" -" 11. an info (format: \"info:name,arguments\", arguments are optional)\n" -" 12. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx" +" 11. a modifier (format: \"modifier:name,data,string\")\n" +" 12. an info (format: \"info:name,arguments\", arguments are optional)\n" +" 13. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,xxx" "\" or \"base_decode:base,xxx\")\n" -" 13. current date/time (format: \"date\" or \"date:format\")\n" -" 14. an environment variable (format: \"env:XXX\")\n" -" 15. a ternary operator (format: \"if:condition?value_if_true:value_if_false" +" 14. current date/time (format: \"date\" or \"date:format\")\n" +" 15. an environment variable (format: \"env:XXX\")\n" +" 16. a ternary operator (format: \"if:condition?value_if_true:value_if_false" "\")\n" -" 16. result of an expression with parentheses and operators + - * / // % ** " +" 17. result of an expression with parentheses and operators + - * / // % ** " "(format: \"calc:xxx\")\n" -" 17. an option (format: \"file.section.option\")\n" -" 18. a local variable in buffer\n" -" 19. a hdata name/variable (the value is automatically converted to " +" 18. an option (format: \"file.section.option\")\n" +" 19. a local variable in buffer\n" +" 20. 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" @@ -1642,6 +1643,7 @@ msgid "" "function \"weechat_hdata_get\".\n" "\n" "Examples (simple strings):\n" +" /eval -n ${raw:${info:version}} ==> ${info:version}\n" " /eval -n ${eval_cond:${window.win_width}>100} ==> 1\n" " /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${env:HOME} ==> /home/user\n" |