diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-11-02 09:37:15 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-11-02 09:37:15 +0100 |
commit | 32c93b5c0a3abd2525677e0e2615abde8460d693 (patch) | |
tree | bb7377366ff48325d31cc2c3caecc1be3c88400f /po/es.po | |
parent | 3ec0ad7c62279af13fcc6ee3ef78b11dcc3be382 (diff) | |
download | weechat-32c93b5c0a3abd2525677e0e2615abde8460d693.zip |
core: add command /eval, use expression in conditions for bars, add function "string_eval_expression" in plugin API
Diffstat (limited to 'po/es.po')
-rw-r--r-- | po/es.po | 115 |
1 files changed, 102 insertions, 13 deletions
@@ -22,7 +22,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: Elián Hanisch <lambdae2@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -253,6 +253,13 @@ msgstr "" msgid "Debug disabled for \"%s\"" msgstr "Depurado de \"%s\" desactivado" +msgid "error" +msgstr "" + +#, c-format +msgid "%sError in expression to evaluate" +msgstr "" + #, c-format msgid " %s[%s%s%s]%s buffer: %s%s%s / tags: %s / regex: %s %s" msgstr " %s[%s%s%s]%s buffer: %s%s%s / etiquetas: %s / expresión: %s %s" @@ -836,11 +843,12 @@ msgstr "" msgid "manage bars" msgstr "gestionar las barras" +#, fuzzy 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 "" "list|listfull|listitems || add <nombre> <tipo>[,<cond1>[,<cond2>...]] " "<posición> <tamaño> <separador> <elemento1>[,<elemento2>...] || default " @@ -848,6 +856,7 @@ msgstr "" "<valor> || hide|show|toggle <nombre> || scroll <nombre> <ventana> " "<desplazamiento>" +#, fuzzy msgid "" " list: list all bars\n" " listfull: list all bars (verbose)\n" @@ -856,11 +865,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 " @@ -1216,6 +1227,71 @@ msgstr "" " term: muestra información sobre la terminal.\n" " windows: muestra el árbol de ventanas." +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 "" @@ -2348,6 +2424,11 @@ msgstr "alias para el color" msgid "%sError: palette option must be numeric" msgstr "%sError: el valor de la paleta debe ser un número" +#, fuzzy, c-format +msgid "%sWarning: unknown option for section \"%s\": %s (value: \"%s\")" +msgstr "" +"%sAtención: %s, línea %d: opción desconocida para la sección \"%s\": %s" + msgid "Notify level for buffer" msgstr "Nivel de notificación para el buffer" @@ -3559,13 +3640,12 @@ msgid "bar type (root, window, window_active, window_inactive)" msgstr "tipo de barra (root, window, window_active, window_inactive)" 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 "" -"condicion(es) para mostrar barras del tipo \"window\": \"active\" = la " -"ventana debe estar activa, \"inactive\" = la ventana deber estar inactiva, " -"\"nicklist\" = buffer debe tener una lista de apodos" msgid "bar position (bottom, top, left, right)" msgstr "posición de la barra (bottom, top, left, right)" @@ -9404,6 +9484,15 @@ msgid "Constants" msgstr "Constantes" #~ 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" +#~ msgstr "" +#~ "condicion(es) para mostrar barras del tipo \"window\": \"active\" = la " +#~ "ventana debe estar activa, \"inactive\" = la ventana deber estar " +#~ "inactiva, \"nicklist\" = buffer debe tener una lista de apodos" + +#~ msgid "" #~ "server: server name\n" #~ " nick: nick (may be a mask)" #~ msgstr "" |