summaryrefslogtreecommitdiff
path: root/po/hu.po
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-11-02 09:37:15 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-11-02 09:37:15 +0100
commit32c93b5c0a3abd2525677e0e2615abde8460d693 (patch)
treebb7377366ff48325d31cc2c3caecc1be3c88400f /po/hu.po
parent3ec0ad7c62279af13fcc6ee3ef78b11dcc3be382 (diff)
downloadweechat-32c93b5c0a3abd2525677e0e2615abde8460d693.zip
core: add command /eval, use expression in conditions for bars, add function "string_eval_expression" in plugin API
Diffstat (limited to 'po/hu.po')
-rw-r--r--po/hu.po100
1 files changed, 90 insertions, 10 deletions
diff --git a/po/hu.po b/po/hu.po
index d895a5f03..20a95a5ce 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.4.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2012-10-20 17:54+0200\n"
+"POT-Creation-Date: 2012-11-02 08:59+0100\n"
"PO-Revision-Date: 2012-09-29 11:42+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -250,6 +250,13 @@ msgstr ""
msgid "Debug disabled for \"%s\""
msgstr ""
+msgid "error"
+msgstr ""
+
+#, c-format
+msgid "%sError in expression to evaluate"
+msgstr ""
+
#, fuzzy, c-format
msgid " %s[%s%s%s]%s buffer: %s%s%s / tags: %s / regex: %s %s"
msgstr " (nincs üzenetkezelő)\n"
@@ -873,10 +880,10 @@ msgid "manage bars"
msgstr "pufferek kezelése"
msgid ""
-"list|listfull|listitems || add <name> <type>[,<cond1>[,<cond2>...]] "
-"<position> <size> <separator> <item1>[,<item2>...] || default [input|title|"
-"status|nicklist] || del <name>|-all || set <name> <option> <value> || hide|"
-"show|toggle <name> || scroll <name> <window> <scroll_value>"
+"list|listfull|listitems || add <name> <type>[,<condition>] <position> <size> "
+"<separator> <item1>[,<item2>...] || default [input|title|status|nicklist] || "
+"del <name>|-all || set <name> <option> <value> || hide|show|toggle <name> || "
+"scroll <name> <window> <scroll_value>"
msgstr ""
msgid ""
@@ -887,11 +894,13 @@ msgid ""
" name: name of bar (must be unique)\n"
" type: root: outside windows,\n"
" window: inside windows, with optional conditions (see below)\n"
-" cond1,...: condition(s) for displaying bar (only for type \"window\"):\n"
+" condition: condition(s) for displaying bar (only for type \"window\"):\n"
" active: on active window\n"
" inactive: on inactive windows\n"
" nicklist: on windows with nicklist\n"
-" without condition, bar is always displayed\n"
+" other condition: see /help weechat.bar.xxx.conditions and /"
+"help eval\n"
+" without condition, the bar is always displayed\n"
" position: bottom, top, left or right\n"
" size: size of bar (in chars)\n"
" separator: 1 for using separator (line), 0 or nothing means no "
@@ -1120,6 +1129,71 @@ msgstr ""
" buffer: hexadecimális puffertartalom logba írása\n"
"windows: ablakfa megjelenítése"
+msgid "evaluate expression and send result to buffer"
+msgstr ""
+
+msgid "[-n] <expression> || [-n] <expression1> <operator> <expression2>"
+msgstr ""
+
+msgid ""
+" -n: display result without sending it to buffer (debug mode)\n"
+"expression: expression to evaluate, variables with format ${variable} are "
+"replaced (see below)\n"
+" operator: a logical or comparison operator:\n"
+" - logical operators:\n"
+" && boolean \"and\"\n"
+" || boolean \"or\"\n"
+" - comparison operators:\n"
+" == equal\n"
+" != not equal\n"
+" <= less or equal\n"
+" < less\n"
+" >= greater or equal\n"
+" > greater\n"
+" =~ is matching regex\n"
+" !~ is NOT matching regex\n"
+"\n"
+"An expression is considered as \"true\" if it is not NULL, not empty, and "
+"different from \"0\".\n"
+"The comparison is made using integers if the two expressions are valid "
+"integers.\n"
+"To force a string comparison, add double quotes around each expression, for "
+"example:\n"
+" 50 > 100 ==> 0\n"
+" \"50\" > \"100\" ==> 1\n"
+"\n"
+"Some variables are replaced in expression, using the format ${variable}, "
+"variable can be, by order of prioity :\n"
+" 1. the name of an option (file.section.option)\n"
+" 2. 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 "
+"variables one after one (other hdata can be followed)\n"
+" hdata(list).var1.var2...: start with a hdata using a list, for example:\n"
+" ${buffer[gui_buffers].full_name}: full name of first buffer in linked "
+"list of buffers\n"
+" ${plugin[weechat_plugins].name}: name of first plugin in linked list of "
+"plugins\n"
+"For name of hdata and variables, please look at \"Plugin API reference\", "
+"function \"weechat_hdata_get\".\n"
+"\n"
+"Examples:\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 ${window.buffer.number} > 2 ==> 0\n"
+" /eval -n ${window.win_width} > 100 ==> 1\n"
+" /eval -n (8 > 12) || (5 > 2) ==> 1\n"
+" /eval -n (8 > 12) && (5 > 2) ==> 0\n"
+" /eval -n abcd =~ ^ABC ==> 1\n"
+" /eval -n abcd =~ (?-i)^ABC ==> 0\n"
+" /eval -n abcd =~ (?-i)^abc ==> 1\n"
+" /eval -n abcd !~ abc ==> 0"
+msgstr ""
+
msgid ""
"filter messages in buffers, to hide/show them according to tags or regex"
msgstr ""
@@ -1919,6 +1993,10 @@ msgstr ""
msgid "%sError: palette option must be numeric"
msgstr "%s nem sikerült a modul opciókat elmenteni\n"
+#, fuzzy, c-format
+msgid "%sWarning: unknown option for section \"%s\": %s (value: \"%s\")"
+msgstr "%s %s, %d. sor: ismeretlen csoportazonosító (\"%s\")\n"
+
#, fuzzy
msgid "Notify level for buffer"
msgstr "szobanév nem található a pufferhez"
@@ -3029,9 +3107,11 @@ msgid "bar type (root, window, window_active, window_inactive)"
msgstr ""
msgid ""
-"condition(s) for displaying bar (for bars of type \"window\"): \"active\" = "
-"window must be active, \"inactive\" = window must be inactive, \"nicklist\" "
-"= buffer must have a nicklist"
+"condition(s) for displaying bar (for bars of type \"window\"): a simple "
+"condition: \"active\", \"inactive\", \"nicklist\" (window must be active/"
+"inactive, buffer must have a nicklist), or an expression with condition(s) "
+"(see /help eval), like: \"${nicklist} && ${window.win_width} > 100\" (local "
+"variables for expression are ${active}, ${inactive} and ${nicklist})"
msgstr ""
#, fuzzy