From f62f759c3db98044c2c05e01028a940ea5d6bb18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 16 Oct 2014 20:46:06 +0200 Subject: core: add hide of chars in string in evaluation of expressions The syntax is: ${hide:char,string}. All chars in string are replaced with char (which can be one or more chars). --- po/ja.po | 45 ++++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 21 deletions(-) (limited to 'po/ja.po') diff --git a/po/ja.po b/po/ja.po index ac99251db..f24f5b54e 100644 --- a/po/ja.po +++ b/po/ja.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-10-08 22:22+0200\n" +"POT-Creation-Date: 2014-10-16 20:40+0200\n" "PO-Revision-Date: 2014-09-20 23:10+0900\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" @@ -1407,6 +1407,7 @@ msgstr "式を評価" msgid "[-n] || [-n] -c " msgstr "[-n] || [-n] -c " +#, fuzzy msgid "" " -n: display result without sending it to buffer (debug mode)\n" " -c: evaluate as condition: use operators and parentheses, return a " @@ -1439,11 +1440,12 @@ msgid "" "Some variables are replaced in expression, using the format ${variable}, " "variable can be, by order of priority:\n" " 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), " +" 2. a string with chars to hide (format: \"hide:char,string\")\n" +" 3. a color (format: \"color:xxx\")\n" +" 4. an info (format: \"info:name,arguments\", arguments are optional)\n" +" 5. an option (format: \"file.section.option\")\n" +" 6. a local variable in buffer\n" +" 7. 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 " @@ -1457,23 +1459,24 @@ msgid "" "function \"weechat_hdata_get\".\n" "\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} ==> \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} ==> \n" +" /eval -n ${hide:-,${relay.network.password}} ==> --------\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" -" /eval -n -c (8 > 12) && (5 > 2) ==> 0\n" -" /eval -n -c abcd =~ ^ABC ==> 1\n" -" /eval -n -c abcd =~ (?-i)^ABC ==> 0\n" -" /eval -n -c abcd =~ (?-i)^abc ==> 1\n" -" /eval -n -c abcd !~ abc ==> 0" +" /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" +" /eval -n -c (8 > 12) && (5 > 2) ==> 0\n" +" /eval -n -c abcd =~ ^ABC ==> 1\n" +" /eval -n -c abcd =~ (?-i)^ABC ==> 0\n" +" /eval -n -c abcd =~ (?-i)^abc ==> 1\n" +" /eval -n -c abcd !~ abc ==> 0" msgstr "" " -n: 結果をバッファに送信せずに表示 (デバッグモード)\n" " -c: 条件として評価: 演算子と括弧をを使い、ブール値 (\"0\" または " -- cgit v1.2.3