From a93e598c358574fcc20b5e8ed34b19cc773f143d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 5 Feb 2021 20:07:16 +0100 Subject: core: add raw string in evaluation of expressions with "raw:xxx" (closes #1611) --- po/pl.po | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) (limited to 'po/pl.po') diff --git a/po/pl.po b/po/pl.po index 4e540b1a0..81193228e 100644 --- a/po/pl.po +++ b/po/pl.po @@ -22,7 +22,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: 2021-01-15 21:34+0100\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: Polish \n" @@ -1656,6 +1656,7 @@ msgstr "" "[-n|-s] [-d] || [-n] [-d [-d]] -c " "" +#, fuzzy msgid "" " -n: display result without sending it to buffer (debug mode)\n" " -s: split expression before evaluating it (many commands can be " @@ -1706,32 +1707,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" @@ -1750,6 +1752,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" -- cgit v1.2.3