diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-28 14:31:40 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-28 14:31:40 +0100 |
commit | ea711217236e5fee14b85840409c4e84fc087377 (patch) | |
tree | 820efec6e67f12ce9d866825c3800a41e6de0798 /po/cs.po | |
parent | 13b0a88f211dbcc9277b31c303fd538e35019ad9 (diff) | |
download | weechat-ea711217236e5fee14b85840409c4e84fc087377.zip |
api: add support of escaped strings in function string_eval_expression and command /eval
Diffstat (limited to 'po/cs.po')
-rw-r--r-- | po/cs.po | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-02-23 20:28+0100\n" +"POT-Creation-Date: 2014-02-28 14:23+0100\n" "PO-Revision-Date: 2014-02-20 12:24+0100\n" "Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -1364,11 +1364,12 @@ msgid "" "\n" "Some variables are replaced in expression, using the format ${variable}, " "variable can be, by order of priority :\n" -" 1. a color (format: \"color:xxx\")\n" -" 2. an info (format: \"info:name,arguments\", arguments are optional)\n" -" 3. an option (format: \"file.section.option\")\n" -" 4. a local variable in buffer\n" -" 5. a hdata name/variable (the value is automatically converted to string), " +" 1. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n" +" 2. a color (format: \"color:xxx\")\n" +" 3. an info (format: \"info:name,arguments\", arguments are optional)\n" +" 4. an option (format: \"file.section.option\")\n" +" 5. a local variable in buffer\n" +" 6. 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" " hdata.var1.var2...: start with a hdata (pointer must be known), and ask " @@ -1381,13 +1382,16 @@ msgid "" "For name of hdata and variables, please look at \"Plugin API reference\", " "function \"weechat_hdata_get\".\n" "\n" -"Examples:\n" +"Examples (simple strings):\n" " /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer.full_name} ==> core.weechat\n" " /eval -n ${window.buffer.number} ==> 1\n" +" /eval -n ${\\t} ==> <tab>\n" +"\n" +"Examples (conditions):\n" " /eval -n -c ${window.buffer.number} > 2 ==> 0\n" " /eval -n -c ${window.win_width} > 100 ==> 1\n" " /eval -n -c (8 > 12) || (5 > 2) ==> 1\n" |