mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 15:45:42 +02:00
core: reintroduce help on the operators in /help eval (issue #2005)
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ For a list of important changes that require manual actions, please look at rele
|
||||
|
||||
New features::
|
||||
|
||||
* core: reintroduce help on the variables in `/help eval` (issue #2005)
|
||||
* core: reintroduce help on the variables and operators in `/help eval` (issue #2005)
|
||||
* core: add option `-s` in command `/command` to execute multiple commands separated by semicolons
|
||||
* core: allow case insensitive search of partial buffer name with `(?i)name` in command `/buffer`
|
||||
* core: use function util_strftimeval in evaluation of expression `date:xxx`
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-02-17 09:40+0100\n"
|
||||
"POT-Creation-Date: 2024-02-17 10:47+0100\n"
|
||||
"PO-Revision-Date: 2024-02-17 10:07+0100\n"
|
||||
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1743,14 +1743,11 @@ msgstr ""
|
||||
|
||||
msgid ""
|
||||
"expression: expression to evaluate, variables with format ${variable} are "
|
||||
"replaced (see function \"string_eval_expression\" in \"Plugin API "
|
||||
"reference\")"
|
||||
"replaced (see below)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"operator: a logical or comparison operator (see function "
|
||||
"\"string_eval_expression\" in \"Plugin API reference\")"
|
||||
msgid "operator: a logical or comparison operator (see below)"
|
||||
msgstr ""
|
||||
"soubor ssl certifikátu pro automatickou identifikaci přezdívky (\"%h\" bude "
|
||||
"nahrazeno domácím adresářem WeeChat, \"~/.weechat\" je výchozí)"
|
||||
@@ -2001,6 +1998,73 @@ msgid ""
|
||||
"function \"weechat_hdata_get\"."
|
||||
msgstr ""
|
||||
|
||||
msgid "Logical operators:"
|
||||
msgstr ""
|
||||
|
||||
msgid " && boolean \"and\""
|
||||
msgstr ""
|
||||
|
||||
msgid " || boolean \"or\""
|
||||
msgstr ""
|
||||
|
||||
msgid "Comparison operators:"
|
||||
msgstr ""
|
||||
|
||||
msgid " == equal"
|
||||
msgstr ""
|
||||
|
||||
msgid " != not equal"
|
||||
msgstr ""
|
||||
|
||||
msgid " <= less or equal"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#| msgid " file: %s"
|
||||
msgid " < less"
|
||||
msgstr " soubor: %s"
|
||||
|
||||
msgid " >= greater or equal"
|
||||
msgstr ""
|
||||
|
||||
msgid " > greater"
|
||||
msgstr ""
|
||||
|
||||
msgid " =~ is matching POSIX extended regex"
|
||||
msgstr ""
|
||||
|
||||
msgid " !~ is NOT matching POSIX extended regex"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid " ==* is matching mask, case sensitive (wildcard \"*\" is allowed)"
|
||||
msgstr "jméno serveru (zástupný znak \"*\" je povolen) (volitelný)"
|
||||
|
||||
#, fuzzy
|
||||
msgid " !!* is NOT matching mask, case sensitive (wildcard \"*\" is allowed)"
|
||||
msgstr "jméno serveru (zástupný znak \"*\" je povolen) (volitelný)"
|
||||
|
||||
#, fuzzy
|
||||
msgid " =* is matching mask, case insensitive (wildcard \"*\" is allowed)"
|
||||
msgstr "jméno serveru (zástupný znak \"*\" je povolen) (volitelný)"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" !* is NOT matching mask, case insensitive (wildcard \"*\" is allowed)"
|
||||
msgstr "jméno serveru (zástupný znak \"*\" je povolen) (volitelný)"
|
||||
|
||||
msgid " ==- is included, case sensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid " !!- is NOT included, case sensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid " =- is included, case insensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid " !- is NOT included, case insensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid "Examples (simple strings):"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-02-17 09:40+0100\n"
|
||||
"POT-Creation-Date: 2024-02-17 10:47+0100\n"
|
||||
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1666,14 +1666,11 @@ msgstr ""
|
||||
|
||||
msgid ""
|
||||
"expression: expression to evaluate, variables with format ${variable} are "
|
||||
"replaced (see function \"string_eval_expression\" in \"Plugin API "
|
||||
"reference\")"
|
||||
"replaced (see below)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"operator: a logical or comparison operator (see function "
|
||||
"\"string_eval_expression\" in \"Plugin API reference\")"
|
||||
msgid "operator: a logical or comparison operator (see below)"
|
||||
msgstr ""
|
||||
"modulok elérési útvonala ('%h' helyére automatikusan a WeeChat saját "
|
||||
"könyvtára, alapértelmezésben ~/.weechat, kerül)"
|
||||
@@ -1919,6 +1916,68 @@ msgid ""
|
||||
"function \"weechat_hdata_get\"."
|
||||
msgstr ""
|
||||
|
||||
msgid "Logical operators:"
|
||||
msgstr ""
|
||||
|
||||
msgid " && boolean \"and\""
|
||||
msgstr ""
|
||||
|
||||
msgid " || boolean \"or\""
|
||||
msgstr ""
|
||||
|
||||
msgid "Comparison operators:"
|
||||
msgstr ""
|
||||
|
||||
msgid " == equal"
|
||||
msgstr ""
|
||||
|
||||
msgid " != not equal"
|
||||
msgstr ""
|
||||
|
||||
msgid " <= less or equal"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid " < less"
|
||||
msgstr " IRC(%s)\n"
|
||||
|
||||
msgid " >= greater or equal"
|
||||
msgstr ""
|
||||
|
||||
msgid " > greater"
|
||||
msgstr ""
|
||||
|
||||
msgid " =~ is matching POSIX extended regex"
|
||||
msgstr ""
|
||||
|
||||
msgid " !~ is NOT matching POSIX extended regex"
|
||||
msgstr ""
|
||||
|
||||
msgid " ==* is matching mask, case sensitive (wildcard \"*\" is allowed)"
|
||||
msgstr ""
|
||||
|
||||
msgid " !!* is NOT matching mask, case sensitive (wildcard \"*\" is allowed)"
|
||||
msgstr ""
|
||||
|
||||
msgid " =* is matching mask, case insensitive (wildcard \"*\" is allowed)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
" !* is NOT matching mask, case insensitive (wildcard \"*\" is allowed)"
|
||||
msgstr ""
|
||||
|
||||
msgid " ==- is included, case sensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid " !!- is NOT included, case sensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid " =- is included, case insensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid " !- is NOT included, case insensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid "Examples (simple strings):"
|
||||
msgstr ""
|
||||
|
||||
|
||||
+78
-6
File diff suppressed because it is too large
Load Diff
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-02-17 09:40+0100\n"
|
||||
"POT-Creation-Date: 2024-02-17 10:47+0100\n"
|
||||
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
|
||||
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1689,14 +1689,11 @@ msgstr ""
|
||||
|
||||
msgid ""
|
||||
"expression: expression to evaluate, variables with format ${variable} are "
|
||||
"replaced (see function \"string_eval_expression\" in \"Plugin API "
|
||||
"reference\")"
|
||||
"replaced (see below)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"operator: a logical or comparison operator (see function "
|
||||
"\"string_eval_expression\" in \"Plugin API reference\")"
|
||||
msgid "operator: a logical or comparison operator (see below)"
|
||||
msgstr ""
|
||||
"путь поиска pluginов ('%h' заменяется на домашний каталог WeeChat, по "
|
||||
"умолчанию - ~/.weechat)"
|
||||
@@ -1944,6 +1941,68 @@ msgid ""
|
||||
"function \"weechat_hdata_get\"."
|
||||
msgstr ""
|
||||
|
||||
msgid "Logical operators:"
|
||||
msgstr ""
|
||||
|
||||
msgid " && boolean \"and\""
|
||||
msgstr ""
|
||||
|
||||
msgid " || boolean \"or\""
|
||||
msgstr ""
|
||||
|
||||
msgid "Comparison operators:"
|
||||
msgstr ""
|
||||
|
||||
msgid " == equal"
|
||||
msgstr ""
|
||||
|
||||
msgid " != not equal"
|
||||
msgstr ""
|
||||
|
||||
msgid " <= less or equal"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid " < less"
|
||||
msgstr " IRC(%s)\n"
|
||||
|
||||
msgid " >= greater or equal"
|
||||
msgstr ""
|
||||
|
||||
msgid " > greater"
|
||||
msgstr ""
|
||||
|
||||
msgid " =~ is matching POSIX extended regex"
|
||||
msgstr ""
|
||||
|
||||
msgid " !~ is NOT matching POSIX extended regex"
|
||||
msgstr ""
|
||||
|
||||
msgid " ==* is matching mask, case sensitive (wildcard \"*\" is allowed)"
|
||||
msgstr ""
|
||||
|
||||
msgid " !!* is NOT matching mask, case sensitive (wildcard \"*\" is allowed)"
|
||||
msgstr ""
|
||||
|
||||
msgid " =* is matching mask, case insensitive (wildcard \"*\" is allowed)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
" !* is NOT matching mask, case insensitive (wildcard \"*\" is allowed)"
|
||||
msgstr ""
|
||||
|
||||
msgid " ==- is included, case sensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid " !!- is NOT included, case sensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid " =- is included, case insensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid " !- is NOT included, case insensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid "Examples (simple strings):"
|
||||
msgstr ""
|
||||
|
||||
|
||||
+64
-6
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-02-17 09:40+0100\n"
|
||||
"POT-Creation-Date: 2024-02-17 10:47+0100\n"
|
||||
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1563,13 +1563,10 @@ msgstr ""
|
||||
|
||||
msgid ""
|
||||
"expression: expression to evaluate, variables with format ${variable} are "
|
||||
"replaced (see function \"string_eval_expression\" in \"Plugin API "
|
||||
"reference\")"
|
||||
"replaced (see below)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"operator: a logical or comparison operator (see function "
|
||||
"\"string_eval_expression\" in \"Plugin API reference\")"
|
||||
msgid "operator: a logical or comparison operator (see below)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@@ -1806,6 +1803,67 @@ msgid ""
|
||||
"function \"weechat_hdata_get\"."
|
||||
msgstr ""
|
||||
|
||||
msgid "Logical operators:"
|
||||
msgstr ""
|
||||
|
||||
msgid " && boolean \"and\""
|
||||
msgstr ""
|
||||
|
||||
msgid " || boolean \"or\""
|
||||
msgstr ""
|
||||
|
||||
msgid "Comparison operators:"
|
||||
msgstr ""
|
||||
|
||||
msgid " == equal"
|
||||
msgstr ""
|
||||
|
||||
msgid " != not equal"
|
||||
msgstr ""
|
||||
|
||||
msgid " <= less or equal"
|
||||
msgstr ""
|
||||
|
||||
msgid " < less"
|
||||
msgstr ""
|
||||
|
||||
msgid " >= greater or equal"
|
||||
msgstr ""
|
||||
|
||||
msgid " > greater"
|
||||
msgstr ""
|
||||
|
||||
msgid " =~ is matching POSIX extended regex"
|
||||
msgstr ""
|
||||
|
||||
msgid " !~ is NOT matching POSIX extended regex"
|
||||
msgstr ""
|
||||
|
||||
msgid " ==* is matching mask, case sensitive (wildcard \"*\" is allowed)"
|
||||
msgstr ""
|
||||
|
||||
msgid " !!* is NOT matching mask, case sensitive (wildcard \"*\" is allowed)"
|
||||
msgstr ""
|
||||
|
||||
msgid " =* is matching mask, case insensitive (wildcard \"*\" is allowed)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
" !* is NOT matching mask, case insensitive (wildcard \"*\" is allowed)"
|
||||
msgstr ""
|
||||
|
||||
msgid " ==- is included, case sensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid " !!- is NOT included, case sensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid " =- is included, case insensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid " !- is NOT included, case insensitive"
|
||||
msgstr ""
|
||||
|
||||
msgid "Examples (simple strings):"
|
||||
msgstr ""
|
||||
|
||||
|
||||
+24
-4
@@ -8267,10 +8267,8 @@ command_init ()
|
||||
N_("raw[-c]: evaluate as condition: use operators and parentheses, "
|
||||
"return a boolean value (\"0\" or \"1\")"),
|
||||
N_("expression: expression to evaluate, variables with format ${variable} "
|
||||
"are replaced "
|
||||
"(see function \"string_eval_expression\" in \"Plugin API reference\")"),
|
||||
N_("operator: a logical or comparison operator "
|
||||
"(see function \"string_eval_expression\" in \"Plugin API reference\")"),
|
||||
"are replaced (see below)"),
|
||||
N_("operator: a logical or comparison operator (see below)"),
|
||||
"",
|
||||
N_("An expression is considered as \"true\" if it is not NULL, not "
|
||||
"empty, and different from \"0\"."),
|
||||
@@ -8359,6 +8357,28 @@ command_init ()
|
||||
N_("For name of hdata and variables, please look at \"Plugin API "
|
||||
"reference\", function \"weechat_hdata_get\"."),
|
||||
"",
|
||||
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 POSIX extended regex"),
|
||||
N_(" !~ is NOT matching POSIX extended regex"),
|
||||
N_(" ==* is matching mask, case sensitive (wildcard \"*\" is allowed)"),
|
||||
N_(" !!* is NOT matching mask, case sensitive (wildcard \"*\" is allowed)"),
|
||||
N_(" =* is matching mask, case insensitive (wildcard \"*\" is allowed)"),
|
||||
N_(" !* is NOT matching mask, case insensitive (wildcard \"*\" is allowed)"),
|
||||
N_(" ==- is included, case sensitive"),
|
||||
N_(" !!- is NOT included, case sensitive"),
|
||||
N_(" =- is included, case insensitive"),
|
||||
N_(" !- is NOT included, case insensitive"),
|
||||
"",
|
||||
N_("Examples (simple strings):"),
|
||||
AI(" /eval -n ${raw:${info:version}} ==> ${info:version}"),
|
||||
AI(" /eval -n ${eval_cond:${window.win_width}>100} ==> 1"),
|
||||
|
||||
Reference in New Issue
Block a user