From 51ed9ec93e7f9562ffdca693f24d3a90c904d019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 18 Apr 2022 13:46:16 +0200 Subject: core: add case conversion in evaluation of expressions (closes #1778) --- po/pt_BR.po | 48 ++++++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 22 deletions(-) (limited to 'po/pt_BR.po') diff --git a/po/pt_BR.po b/po/pt_BR.po index ff17acf78..c3fe6f214 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-03-11 19:30+0100\n" +"POT-Creation-Date: 2022-04-18 12:38+0200\n" "PO-Revision-Date: 2022-01-28 09:35+0100\n" "Last-Translator: Érico Nogueira \n" "Language-Team: weechat-dev \n" @@ -1677,34 +1677,36 @@ msgid "" " 3. an evaluated sub-string (format: \"eval:xxx\")\n" " 4. an evaluated condition (format: \"eval_cond:xxx\")\n" " 5. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" -" 6. a string with chars to hide (format: \"hide:char,string\")\n" -" 7. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:" +" 6. a string converted to lower case (format: \"lower:xxx\")\n" +" 7. a string converted to upper case (format: \"upper:xxx\")\n" +" 8. a string with chars to hide (format: \"hide:char,string\")\n" +" 9. 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" -" 8. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" -" 9. a repeated string (format: \"repeat:count,string\")\n" -" 10. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" -" 11. split of a string (format: \"split:number,separators,flags,xxx\")\n" -" 12. split of shell argmuents (format: \"split_shell:number,xxx\")\n" -" 13. a color (format: \"color:xxx\", see \"Plugin API reference\", function " +" 10. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n" +" 11. a repeated string (format: \"repeat:count,string\")\n" +" 12. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n" +" 13. split of a string (format: \"split:number,separators,flags,xxx\")\n" +" 14. split of shell argmuents (format: \"split_shell:number,xxx\")\n" +" 15. a color (format: \"color:xxx\", see \"Plugin API reference\", function " "\"color\")\n" -" 14. a modifier (format: \"modifier:name,data,string\")\n" -" 15. an info (format: \"info:name,arguments\", arguments are optional)\n" -" 16. a base 16/32/64 encoded/decoded string (format: \"base_encode:base," +" 16. a modifier (format: \"modifier:name,data,string\")\n" +" 17. an info (format: \"info:name,arguments\", arguments are optional)\n" +" 18. a base 16/32/64 encoded/decoded string (format: \"base_encode:base," "xxx\" or \"base_decode:base,xxx\")\n" -" 17. current date/time (format: \"date\" or \"date:format\")\n" -" 18. an environment variable (format: \"env:XXX\")\n" -" 19. a ternary operator (format: \"if:condition?value_if_true:" +" 19. current date/time (format: \"date\" or \"date:format\")\n" +" 20. an environment variable (format: \"env:XXX\")\n" +" 21. a ternary operator (format: \"if:condition?value_if_true:" "value_if_false\")\n" -" 20. result of an expression with parentheses and operators + - * / // % ** " +" 22. result of an expression with parentheses and operators + - * / // % ** " "(format: \"calc:xxx\")\n" -" 21. a random integer number (format: \"random:min,max\")\n" -" 22. a translated string (format: \"translate:xxx\")\n" -" 23. define a user variable (format: \"define:name,value\")\n" -" 24. an option (format: \"file.section.option\")\n" -" 25. a local variable in buffer\n" -" 26. a hdata name/variable (the value is automatically converted to " +" 23. a random integer number (format: \"random:min,max\")\n" +" 24. a translated string (format: \"translate:xxx\")\n" +" 25. define a user variable (format: \"define:name,value\")\n" +" 26. an option (format: \"file.section.option\")\n" +" 27. a local variable in buffer\n" +" 28. 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" @@ -1737,6 +1739,8 @@ msgid "" " /eval -n ${window.buffer.full_name} ==> core.weechat\n" " /eval -n ${window.buffer.number} ==> 1\n" " /eval -n ${\\t} ==> \n" +" /eval -n ${lower:TEST} ==> test\n" +" /eval -n ${upper:test} ==> TEST\n" " /eval -n ${hide:-,${relay.network.password}} ==> --------\n" " /eval -n ${cut:3,+,test} ==> tes+\n" " /eval -n ${cut:+3,+,test} ==> te+\n" -- cgit v1.2.3