summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.adoc1
-rw-r--r--po/cs.po239
-rw-r--r--po/de.po384
-rw-r--r--po/es.po238
-rw-r--r--po/fr.po306
-rw-r--r--po/hu.po226
-rw-r--r--po/it.po236
-rw-r--r--po/ja.po239
-rw-r--r--po/pl.po258
-rw-r--r--po/pt.po241
-rw-r--r--po/pt_BR.po236
-rw-r--r--po/ru.po228
-rw-r--r--po/sr.po258
-rw-r--r--po/tr.po244
-rw-r--r--po/weechat.pot219
-rw-r--r--src/core/wee-command.c78
-rw-r--r--src/core/wee-eval.c103
17 files changed, 3462 insertions, 272 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index e25a0725e..ed9673dd8 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -15,6 +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: 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`
diff --git a/po/cs.po b/po/cs.po
index 9d683b12d..b40f72d21 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2024-02-11 21:44+0100\n"
-"PO-Revision-Date: 2023-11-29 09:59+0100\n"
+"POT-Creation-Date: 2024-02-17 09:40+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"
"Language: cs\n"
@@ -1772,6 +1772,235 @@ msgid ""
"expression, for example: 50 > 100 == 0 and \"50\" > \"100\" == 1"
msgstr ""
+msgid ""
+"Some variables are replaced in expression, using the format ${variable}, "
+"which can be, by order of priority:"
+msgstr ""
+
+msgid ""
+" - ${raw_hl:string}: the string itself without evaluation but with syntax "
+"highlighting"
+msgstr ""
+
+msgid " - ${raw:string}: the string itself without evaluation"
+msgstr ""
+
+msgid " - ${hl:string}: the string with syntax highlighting"
+msgstr ""
+
+msgid " - ${name}: the user-defined variable"
+msgstr ""
+
+#, fuzzy
+msgid " - ${weechat_config_dir}: WeeChat config directory"
+msgstr "adresář WeeChat"
+
+#, fuzzy
+msgid " - ${weechat_data_dir}: WeeChat data directory"
+msgstr "adresář WeeChat"
+
+#, fuzzy
+msgid " - ${weechat_cache_dir}: WeeChat cache directory"
+msgstr "\"locale\" adresář WeeChat"
+
+#, fuzzy
+msgid " - ${weechat_runtmie_dir}: WeeChat runtime directory"
+msgstr "adresář WeeChat"
+
+msgid " - ${eval:string}: the evaluated string"
+msgstr ""
+
+#, fuzzy
+#| msgid "values for a configuration option"
+msgid " - ${eval_cond:string}: the evaluated condition"
+msgstr "hodnoty pro konfigurační nastavení"
+
+msgid " - ${esc:string} or ${\\string}: the string with escaped chars"
+msgstr ""
+
+msgid ""
+" - ${chars:range}: the string with a range of chars, \"range\" is one of: "
+"\"digit\", \"xdigit\", \"lower\", \"upper\", \"alpha\", \"alnum\" or \"c1-"
+"c2\" (\"c1\" and \"c2\" are code points with c1 ≤ c2)"
+msgstr ""
+
+msgid " - ${lower:string}: the string converted to lower case"
+msgstr ""
+
+msgid " - ${upper:string}: the string converted to upper case"
+msgstr ""
+
+msgid " - ${hide:char,string}: the string with hidden chars"
+msgstr ""
+
+msgid ""
+" - ${cut:max,suffix,string}: the string with max chars (excluding the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cut:+max,suffix,string}: the string with max chars (including the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:max,suffix,string}: the string with max chars displayed on "
+"screen (excluding the suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:+max,suffix,string}: the string with max chars displayed on "
+"screen (including the suffix)"
+msgstr ""
+
+msgid " - ${rev:string}: the reversed string"
+msgstr ""
+
+msgid ""
+" - ${revscr:string}: the reversed string for display (color codes are not "
+"reversed)"
+msgstr ""
+
+msgid " - ${repeat:count,string}: the repeated string"
+msgstr ""
+
+msgid " - ${length:string}: the length of the string (number of UTF-8 chars)"
+msgstr ""
+
+msgid ""
+" - ${lengthscr:string}: the length of the string on screen (sum of the "
+"width of each UTF-8 char displayed on screen, colors codes are ignored)"
+msgstr ""
+
+msgid ""
+" - ${split:n,separators,flags,string}: split of the string (n can be an "
+"integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${split_shell:n,string}: split of shell arguments (n can be an integer ≥ "
+"1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${color:name}: the color (see \"Plugin API reference\", function "
+"\"color\")"
+msgstr ""
+
+msgid " - ${modifier:name,data,string}: the modifier"
+msgstr ""
+
+msgid " - ${info:name,arguments}: the info (arguments are optional)"
+msgstr ""
+
+msgid ""
+" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid ""
+" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid " - ${date} or ${date:format}: current date/time"
+msgstr ""
+
+#, fuzzy
+#| msgid "value of an environment variable"
+msgid " - ${env:NAME}: the environment variable"
+msgstr "hodnota promněné prostředí"
+
+msgid ""
+" - ${if:condition?value_if_true:value_if_false}: the result of ternary "
+"operator"
+msgstr ""
+
+msgid ""
+" - ${calc:expression}: the result of the expression with parentheses and "
+"operators (+, -, *, /, //, %, **)"
+msgstr ""
+
+msgid ""
+" - ${random:min,max}: a random integer number between \"min\" and "
+"\"max\" (inclusive)"
+msgstr ""
+
+msgid " - ${translate:string}: the translated string"
+msgstr ""
+
+msgid ""
+" - ${define:name,value}: declaration of a user variable (return an empty "
+"string)"
+msgstr ""
+
+msgid " - ${sec.data.xxx}: the value of the secured data \"xxx\""
+msgstr ""
+
+#, fuzzy
+#| msgid "values for a configuration option"
+msgid " - ${file.section.option}: the value of the config option"
+msgstr "hodnoty pro konfigurační nastavení"
+
+#, fuzzy
+#| msgid "No local variable defined for buffer \"%s\""
+msgid " - ${name}: the local variable in buffer"
+msgstr "Není definovaná žádná lokální proměnná pro buffer \"%s\""
+
+msgid ""
+" - the hdata name/variable (the value is automatically converted to "
+"string), by default \"window\" and \"buffer\" point to current window/buffer."
+msgstr ""
+
+msgid "Format for hdata can be one of following:"
+msgstr ""
+
+msgid ""
+" - ${hdata.var1.var2...}: start with a hdata (pointer must be known), and "
+"ask variables one after one (other hdata can be followed)"
+msgstr ""
+
+msgid ""
+" - ${hdata[list].var1.var2...}: start with a hdata using a list/pointer/"
+"pointer name, for example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[gui_buffers].full_name}: full name of first buffer in linked "
+"list of buffers"
+msgstr ""
+
+msgid ""
+" - ${plugin[weechat_plugins].name}: name of first plugin in linked list "
+"of plugins"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.var2...}: start with a hdata using a pointer, for "
+"example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[0x1234abcd].full_name}: full name of the buffer with this "
+"pointer (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${buffer[my_pointer].full_name}: full name of the buffer with this "
+"pointer name (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.method()}: when var1 is a hashtable, methods can "
+"be called: \"keys()\", \"values()\", \"keys_sorted()\", \"keys_values()\" "
+"and \"keys_values_sorted()\""
+msgstr ""
+
+msgid ""
+"For name of hdata and variables, please look at \"Plugin API reference\", "
+"function \"weechat_hdata_get\"."
+msgstr ""
+
msgid "Examples (simple strings):"
msgstr ""
@@ -15936,9 +16165,3 @@ msgstr "%s%s: vypršel časový limit \"%s\" pro %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: nemohu se připojit\" neočekávaná chyba (%d)"
-
-#~ msgid "auto open relay buffer when a new client is connecting"
-#~ msgstr "automaticky otevřít buffer přesměrování, když připojuje nový klient"
-
-#~ msgid "time format when quoting a message (see /help cursor)"
-#~ msgstr "formát času při citování zprávy (viz /help cursor)"
diff --git a/po/de.po b/po/de.po
index 6f0cc8d55..5ac4ae908 100644
--- a/po/de.po
+++ b/po/de.po
@@ -26,8 +26,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2024-02-11 21:44+0100\n"
-"PO-Revision-Date: 2024-02-12 10:54+0100\n"
+"POT-Creation-Date: 2024-02-17 09:40+0100\n"
+"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de_DE\n"
@@ -1598,7 +1598,6 @@ msgid "launch explicit WeeChat or plugin command"
msgstr "führe explizit einen WeeChat Befehl oder eine Erweiterung aus"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
-#| msgid "[-buffer <name>] <plugin> <command>"
msgid "[-buffer <name>] <plugin> <command> || -s <command>[;<command>...]"
msgstr "[-buffer <name>] <plugin> <command> || -s <command>[;<command>...]"
@@ -1621,16 +1620,12 @@ msgstr ""
"command: auszuführender Befehl (es wird automatisch ein '/' vorangestellt, "
"falls dieser nicht angegeben wurde)"
-#| msgid ""
-#| "raw[-s]: split expression before evaluating it (many commands can be "
-#| "separated by semicolons)"
msgid ""
"raw[-s]: execute one or multiple commands separated by semicolons (the "
"semicolon can be escaped with \"\\;\")"
msgstr ""
-"raw[-s]: führt einen oder mehrere, durch Semikolons getrennte, Befehle aus"
-" (ein"
-"Semikolon kann mit \"\\;\" maskiert werden.)"
+"raw[-s]: führt einen oder mehrere, durch Semikolons getrennte, Befehle aus "
+"(einSemikolon kann mit \"\\;\" maskiert werden.)"
msgid ""
"free movement of cursor on screen to execute actions on specific areas of "
@@ -1900,6 +1895,243 @@ msgstr ""
"Ausdrücke in Anführungszeichen gesetzt werden, zum Beispiel: 50 > 100 == 0 "
"und \"50\" > \"100\" == 1"
+msgid ""
+"Some variables are replaced in expression, using the format ${variable}, "
+"which can be, by order of priority:"
+msgstr ""
+
+msgid ""
+" - ${raw_hl:string}: the string itself without evaluation but with syntax "
+"highlighting"
+msgstr ""
+
+msgid " - ${raw:string}: the string itself without evaluation"
+msgstr ""
+
+msgid " - ${hl:string}: the string with syntax highlighting"
+msgstr ""
+
+msgid " - ${name}: the user-defined variable"
+msgstr ""
+
+#, fuzzy
+#| msgid "WeeChat config directory"
+msgid " - ${weechat_config_dir}: WeeChat config directory"
+msgstr "WeeChat Konfigurationsverzeichnis"
+
+#, fuzzy
+#| msgid "WeeChat data directory"
+msgid " - ${weechat_data_dir}: WeeChat data directory"
+msgstr "WeeChat-Datenverzeichnis"
+
+#, fuzzy
+#| msgid "WeeChat cache directory"
+msgid " - ${weechat_cache_dir}: WeeChat cache directory"
+msgstr "WeeChat Cache-Verzeichnis"
+
+#, fuzzy
+#| msgid "WeeChat runtime directory"
+msgid " - ${weechat_runtmie_dir}: WeeChat runtime directory"
+msgstr "WeeChat-Laufzeitverzeichnis"
+
+msgid " - ${eval:string}: the evaluated string"
+msgstr ""
+
+#, fuzzy
+#| msgid "toggle value of a config option"
+msgid " - ${eval_cond:string}: the evaluated condition"
+msgstr "den Wert einer Konfigurationsoption umschalten"
+
+msgid " - ${esc:string} or ${\\string}: the string with escaped chars"
+msgstr ""
+
+msgid ""
+" - ${chars:range}: the string with a range of chars, \"range\" is one of: "
+"\"digit\", \"xdigit\", \"lower\", \"upper\", \"alpha\", \"alnum\" or \"c1-"
+"c2\" (\"c1\" and \"c2\" are code points with c1 ≤ c2)"
+msgstr ""
+
+msgid " - ${lower:string}: the string converted to lower case"
+msgstr ""
+
+msgid " - ${upper:string}: the string converted to upper case"
+msgstr ""
+
+msgid " - ${hide:char,string}: the string with hidden chars"
+msgstr ""
+
+msgid ""
+" - ${cut:max,suffix,string}: the string with max chars (excluding the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cut:+max,suffix,string}: the string with max chars (including the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:max,suffix,string}: the string with max chars displayed on "
+"screen (excluding the suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:+max,suffix,string}: the string with max chars displayed on "
+"screen (including the suffix)"
+msgstr ""
+
+msgid " - ${rev:string}: the reversed string"
+msgstr ""
+
+msgid ""
+" - ${revscr:string}: the reversed string for display (color codes are not "
+"reversed)"
+msgstr ""
+
+msgid " - ${repeat:count,string}: the repeated string"
+msgstr ""
+
+msgid " - ${length:string}: the length of the string (number of UTF-8 chars)"
+msgstr ""
+
+msgid ""
+" - ${lengthscr:string}: the length of the string on screen (sum of the "
+"width of each UTF-8 char displayed on screen, colors codes are ignored)"
+msgstr ""
+
+msgid ""
+" - ${split:n,separators,flags,string}: split of the string (n can be an "
+"integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${split_shell:n,string}: split of shell arguments (n can be an integer ≥ "
+"1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${color:name}: the color (see \"Plugin API reference\", function "
+"\"color\")"
+msgstr ""
+
+msgid " - ${modifier:name,data,string}: the modifier"
+msgstr ""
+
+#, fuzzy
+#| msgid "arguments: optional arguments for the action"
+msgid " - ${info:name,arguments}: the info (arguments are optional)"
+msgstr "arguments: optionale Argumente für eine Aktion"
+
+msgid ""
+" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid ""
+" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid " - ${date} or ${date:format}: current date/time"
+msgstr ""
+
+#, fuzzy
+#| msgid "value of an environment variable"
+msgid " - ${env:NAME}: the environment variable"
+msgstr "Wert einer Umgebungsvariable"
+
+msgid ""
+" - ${if:condition?value_if_true:value_if_false}: the result of ternary "
+"operator"
+msgstr ""
+
+msgid ""
+" - ${calc:expression}: the result of the expression with parentheses and "
+"operators (+, -, *, /, //, %, **)"
+msgstr ""
+
+msgid ""
+" - ${random:min,max}: a random integer number between \"min\" and "
+"\"max\" (inclusive)"
+msgstr ""
+
+#, fuzzy
+#| msgid " - ${type}: option type (translated)"
+msgid " - ${translate:string}: the translated string"
+msgstr " - ${type}: Optionstyp (übersetzt)"
+
+msgid ""
+" - ${define:name,value}: declaration of a user variable (return an empty "
+"string)"
+msgstr ""
+
+msgid " - ${sec.data.xxx}: the value of the secured data \"xxx\""
+msgstr ""
+
+#, fuzzy
+#| msgid "toggle value of a config option"
+msgid " - ${file.section.option}: the value of the config option"
+msgstr "den Wert einer Konfigurationsoption umschalten"
+
+#, fuzzy
+#| msgid "raw[setvar]: set a local variable in the current buffer"
+msgid " - ${name}: the local variable in buffer"
+msgstr "raw[setvar]: legt eine lokale Variable für den aktuellen Buffer an"
+
+msgid ""
+" - the hdata name/variable (the value is automatically converted to "
+"string), by default \"window\" and \"buffer\" point to current window/buffer."
+msgstr ""
+
+msgid "Format for hdata can be one of following:"
+msgstr ""
+
+msgid ""
+" - ${hdata.var1.var2...}: start with a hdata (pointer must be known), and "
+"ask variables one after one (other hdata can be followed)"
+msgstr ""
+
+msgid ""
+" - ${hdata[list].var1.var2...}: start with a hdata using a list/pointer/"
+"pointer name, for example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[gui_buffers].full_name}: full name of first buffer in linked "
+"list of buffers"
+msgstr ""
+
+msgid ""
+" - ${plugin[weechat_plugins].name}: name of first plugin in linked list "
+"of plugins"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.var2...}: start with a hdata using a pointer, for "
+"example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[0x1234abcd].full_name}: full name of the buffer with this "
+"pointer (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${buffer[my_pointer].full_name}: full name of the buffer with this "
+"pointer name (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.method()}: when var1 is a hashtable, methods can "
+"be called: \"keys()\", \"values()\", \"keys_sorted()\", \"keys_values()\" "
+"and \"keys_values_sorted()\""
+msgstr ""
+
+msgid ""
+"For name of hdata and variables, please look at \"Plugin API reference\", "
+"function \"weechat_hdata_get\"."
+msgstr ""
+
msgid "Examples (simple strings):"
msgstr "Beispiele (einfache Zeichenketten):"
@@ -11236,17 +11468,13 @@ msgstr ""
"eval; Serveroptionen sind mittels ${irc_server.xxx} evaluiert und ${server} "
"wird durch den eigentlichen Servernamen ersetzt)"
-#| msgid ""
-#| "delay (in seconds) after execution of command and before auto-join of "
-#| "channels (example: give some time for authentication before joining "
-#| "channels)"
msgid ""
"delay (in seconds) before auto-join of channels (example: give some time for "
"authentication before joining channels)"
msgstr ""
-"Verzögerung (in Sekunden) vor dem automatischen Betreten von Kanälen"
-" (Beispiel: etwas Zeit für"
-"die Authentifizierung einplanen, bevor Kanäle betreten werden)"
+"Verzögerung (in Sekunden) vor dem automatischen Betreten von Kanälen "
+"(Beispiel: etwas Zeit fürdie Authentifizierung einplanen, bevor Kanäle "
+"betreten werden)"
msgid ""
"comma separated list of channels to join after connection to server (and "
@@ -14529,29 +14757,22 @@ msgid "%s%s: unable to free interpreter"
msgstr "%s%s: Interpreter kann nicht freigeben werden"
#, c-format
-#| msgid ""
-#| "%s%s: too few arguments received from client %s%s%s for command "
-#| "\"%s\" (received: %d arguments, expected: at least %d)"
msgid ""
"%s%s: too few arguments received from client %s%s%s for resource "
"\"%s\" (received: %d arguments, expected: at least %d)"
msgstr ""
-"%s%s: Zu wenige Argumente von Client %s%s%s für die Ressource \"%s\" erhalten "
-"(Empfangen: %d Argumente, mindestens erwartet: %d)"
+"%s%s: Zu wenige Argumente von Client %s%s%s für die Ressource \"%s\" "
+"erhalten (Empfangen: %d Argumente, mindestens erwartet: %d)"
#, c-format
-#| msgid ""
-#| "%s%s: too few arguments received from client %s%s%s for command "
-#| "\"%s\" (received: %d arguments, expected: at least %d)"
msgid ""
"%s%s: too many arguments received from client %s%s%s for resource "
"\"%s\" (received: %d arguments, expected: at most %d)"
msgstr ""
-"%s%s: Zu viele Argumente von Client erhalten %s%s%s für die Ressource \"%s\""
-" (Empfangen: %d Argumente, höchstens erwartet: %d)"
+"%s%s: Zu viele Argumente von Client erhalten %s%s%s für die Ressource "
+"\"%s\" (Empfangen: %d Argumente, höchstens erwartet: %d)"
#, c-format
-#| msgid "%s%s: failed to execute command \"%s\" for client %s%s%s"
msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
msgstr "%s%s: Route „%s %s“ für Client %s%s%s konnte nicht ausgeführt werden"
@@ -14919,19 +15140,18 @@ msgid ""
"protocols (comma-separated list); allowed protocols: \"irc\", \"weechat\", "
"\"api\""
msgstr ""
-"Automatisches Öffnen des Relay-Buffers, falls ein neuer Client eine"
-" Verbindung über eines dieser Protokolle herstellt (durch Kommas getrennte"
-" Liste); Erlaubte Protokolle: \"irc\", \"weechat\","
-"\"api\""
+"Automatisches Öffnen des Relay-Buffers, falls ein neuer Client eine "
+"Verbindung über eines dieser Protokolle herstellt (durch Kommas getrennte "
+"Liste); Erlaubte Protokolle: \"irc\", \"weechat\",\"api\""
msgid ""
"display messages when clients connect/disconnect from relay using one of "
"these protocols (comma-separated list); allowed protocols: \"irc\", "
"\"weechat\", \"api\""
msgstr ""
-"Zeigt Meldungen an, falls Clients über eine der folgenden Protokolle eine"
-" Verbindung zum Relay herstellen oder trennen (durch Kommas getrennte Liste);"
-" erlaubte Protokolle: \"irc\", \"weechat\", \"api\""
+"Zeigt Meldungen an, falls Clients über eine der folgenden Protokolle eine "
+"Verbindung zum Relay herstellen oder trennen (durch Kommas getrennte Liste); "
+"erlaubte Protokolle: \"irc\", \"weechat\", \"api\""
msgid "text color for client description"
msgstr "Textfarbe für Client-Beschreibung"
@@ -15004,13 +15224,6 @@ msgstr ""
"Wartezeit bis nicht verbundene Clients gelöscht werden (in Minuten, 0 = "
"lösche Clients unmittelbar, -1 = niemals löschen)"
-#| msgid ""
-#| "comma-separated list of commands allowed/denied when input data (text or "
-#| "command) is received from a client; \"*\" means any command, a name "
-#| "beginning with \"!\" is a negative value to prevent a command from being "
-#| "executed, wildcard \"*\" is allowed in names; this option should be set "
-#| "if the relay client is not safe (someone could use it to run commands); "
-#| "for example \"*,!exec,!quit\" allows any command except /exec and /quit"
msgid ""
"comma-separated list of commands allowed/denied when input data (text or "
"command) is received from a client (weechat and api protocols); \"*\" means "
@@ -15021,24 +15234,15 @@ msgid ""
"and /quit"
msgstr ""
"durch Kommata getrennte Liste von Befehlen die erlaubt bzw. verboten sind, "
-"wenn Daten (Text oder Befehl) von einem Client (\"weechat\" oder \"api\""
-" Protokoll) "
-"empfangen werden; \"*\" bedeutet alle Befehle sind erlaubt, beginnt ein"
-" Befehl "
-"hingegen mit \"!\" wird die Auswahl umgekehrt und der Befehl wird nicht"
-" ausgeführt, "
-"ein Platzhalter \"*\" ist bei Befehlen erlaubt; diese Option sollte verwendet"
-" werden, "
-"falls man befürchtet, dass der relay client kompromittiert werden kann "
-"(darüber können Befehle ausgeführt werden); Beispiel: \"*,!exec,!quit\" es "
-"sind alle Befehle erlaubt, außer /exec und /quit"
-
-#| msgid ""
-#| "compression of messages sent to clients with \"weechat\" protocol: 0 = "
-#| "disable compression, 1 = low compression / fast ... 100 = best "
-#| "compression / slow; the value is a percentage converted to 1-9 for zlib "
-#| "and 1-19 for zstd; the default value is recommended, it offers a good "
-#| "compromise between compression and speed"
+"wenn Daten (Text oder Befehl) von einem Client (\"weechat\" oder \"api\" "
+"Protokoll) empfangen werden; \"*\" bedeutet alle Befehle sind erlaubt, "
+"beginnt ein Befehl hingegen mit \"!\" wird die Auswahl umgekehrt und der "
+"Befehl wird nicht ausgeführt, ein Platzhalter \"*\" ist bei Befehlen "
+"erlaubt; diese Option sollte verwendet werden, falls man befürchtet, dass "
+"der relay client kompromittiert werden kann (darüber können Befehle "
+"ausgeführt werden); Beispiel: \"*,!exec,!quit\" es sind alle Befehle "
+"erlaubt, außer /exec und /quit"
+
msgid ""
"compression of messages sent to clients with weechat and api protocols: 0 = "
"disable compression, 1 = low compression / fast ... 100 = best compression / "
@@ -15046,13 +15250,12 @@ msgid ""
"the default value is recommended, it offers a good compromise between "
"compression and speed"
msgstr ""
-"Komprimierung von Nachrichten, die mittels \"weechat\" und \"api\" Protokoll"
-" an Clients "
-"gesendet werden: 0 = Komprimierung deaktivieren, 1 = geringe Komprimierung / "
-"schnell ... 100 = beste Komprimierung / langsam; dieser Wert ist eine "
-"Prozentangabe, welcher für zlib nach 1-9 und für zstd nach 1-19 umgewandelt "
-"wird; der Standardwert wird empfohlen, denn er bietet einen guten Kompromiss "
-"zwischen Kompression und Geschwindigkeit"
+"Komprimierung von Nachrichten, die mittels \"weechat\" und \"api\" Protokoll "
+"an Clients gesendet werden: 0 = Komprimierung deaktivieren, 1 = geringe "
+"Komprimierung / schnell ... 100 = beste Komprimierung / langsam; dieser Wert "
+"ist eine Prozentangabe, welcher für zlib nach 1-9 und für zstd nach 1-19 "
+"umgewandelt wird; der Standardwert wird empfohlen, denn er bietet einen "
+"guten Kompromiss zwischen Kompression und Geschwindigkeit"
msgid ""
"listen on IPv6 socket by default (in addition to IPv4 which is default); "
@@ -15121,9 +15324,8 @@ msgid ""
"number of seconds to allow before and after the current time for salted "
"password in api protocol"
msgstr ""
-"Anzahl der Sekunden, die vor und nach der aktuellen Zeit für das Salzen"
-" eingeplant werden sollen"
-"Passwort im API-Protokoll"
+"Anzahl der Sekunden, die vor und nach der aktuellen Zeit für das Salzen "
+"eingeplant werden sollenPasswort im API-Protokoll"
msgid ""
"file with TLS certificate and private key (for serving clients with TLS) "
@@ -15134,12 +15336,6 @@ msgstr ""
"mit TLS) (Pfad ist evaluiert, siehe Funktion string_eval_path_home in der "
"Erweiterungs-API-Referenz)"
-#| msgid ""
-#| "secret for the generation of the Time-based One-Time Password (TOTP), "
-#| "encoded in base32 (only letters and digits from 2 to 7); it is used as "
-#| "second factor in weechat protocol, in addition to the password, which "
-#| "must not be empty (empty value means no TOTP is required) (note: content "
-#| "is evaluated, see /help eval)"
msgid ""
"secret for the generation of the Time-based One-Time Password (TOTP), "
"encoded in base32 (only letters and digits from 2 to 7); it is used as "
@@ -15151,8 +15347,8 @@ msgstr ""
"(TOTP), base32 enkodiert (ausschließlich Buchstaben und Zahlen zwischen 2 "
"und 7); dient im WeeChat-Protokoll zur Zwei-Faktor-Authentifizierung, "
"ergänzend zum eigentlichen Passwort, welches gesetzt sein muss (eine nicht "
-"gesetzte Option bedeutet, das TOTP nicht benötigt wird) (Hinweis: Inhalt wird "
-"evaluiert, siehe /help eval)"
+"gesetzte Option bedeutet, das TOTP nicht benötigt wird) (Hinweis: Inhalt "
+"wird evaluiert, siehe /help eval)"
msgid ""
"number of Time-based One-Time Passwords to accept before and after the "
@@ -15227,7 +15423,6 @@ msgid "%s%s: invalid websocket handshake received for client %s%s%s"
msgstr "%s%s: ungültigen WebSocket Handshake für Client %s%s%s empfangen"
#, c-format
-#| msgid "%s%s: origin \"%s\" not allowed for websocket"
msgid "%s%s: origin \"%s\" is not allowed for websocket"
msgstr "%s%s: Ursprung „%s“ ist für Websocket nicht zulässig"
@@ -15390,8 +15585,8 @@ msgstr "%s: lausche an Port %d (Relay: %s,%s)"
#, c-format
msgid "%s%s: error: unable to add relay \"%s\" (cJSON support is not enabled)"
msgstr ""
-"%s%s: Fehler: Relay „%s“ konnte nicht hinzugefügt werden (cJSON-Unterstützung"
-" ist nicht aktiviert)"
+"%s%s: Fehler: Relay „%s“ konnte nicht hinzugefügt werden (cJSON-"
+"Unterstützung ist nicht aktiviert)"
#, c-format
msgid "%s%s: not enough memory for listening on new port"
@@ -16566,8 +16761,7 @@ msgstr "verwaltet Trigger, das Schweizer Armeemesser für WeeChat"
msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
-"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<"
-"return_code>\" [\"<post_action>\"]]]]]] "
+"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|"
"<mask> [<name>|<mask>...]] || restart <name>|<mask> [<name>|<mask>...] || "
@@ -16576,8 +16770,7 @@ msgid ""
msgstr ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
-"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<"
-"return_code>\" [\"<post_action>\"]]]]]] "
+"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|"
"<mask> [<name>|<mask>...]] || restart <name>|<mask> [<name>|<mask>...] || "
@@ -17575,26 +17768,3 @@ msgstr "%s%s: Zeitüberschreitung für \"%s\" mit %s"
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr ""
"%s%s: Verbindung konnte nicht hergestellt werden: unerwarteter Fehler (%d)"
-
-#~ msgid "auto open relay buffer when a new client is connecting"
-#~ msgstr ""
-#~ "öffnet automatisch einen Relay-Buffer, falls eine Verbindung zu einem "
-#~ "neuen Client hergestellt wird"
-
-#~ msgid "name: jump to buffer by (partial) name"
-#~ msgstr ""
-#~ "name: wechselt zum Buffer mit dem angegebenen Namen (Name muss nicht "
-#~ "vollständig sein!)"
-
-#~ msgid ""
-#~ "> date/time (ISO 8601): yyyy-mm-ddThh:mm:ss, example: 2014-01-19T04:32:55"
-#~ msgstr ""
-#~ "> Datum/Zeit (ISO 8601): yyyy-mm-ddThh:mm:ss, Beispiel: "
-#~ "2014-01-19T04:32:55"
-
-#~ msgid "> time: hh:mm:ss (example: 04:32:55)"
-#~ msgstr "> Zeit: hh:mm:ss (Beispiel: 04:32:55)"
-
-#~ msgid "time format when quoting a message (see /help cursor)"
-#~ msgstr "Zeitformat wenn eine Nachricht gequotet wird (siehe /help cursor)"
-
diff --git a/po/es.po b/po/es.po
index f9ea52506..856c85238 100644
--- a/po/es.po
+++ b/po/es.po
@@ -22,8 +22,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2024-02-11 21:44+0100\n"
-"PO-Revision-Date: 2023-11-29 09:59+0100\n"
+"POT-Creation-Date: 2024-02-17 09:40+0100\n"
+"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: es\n"
@@ -1858,6 +1858,235 @@ msgid ""
"expression, for example: 50 > 100 == 0 and \"50\" > \"100\" == 1"
msgstr ""
+msgid ""
+"Some variables are replaced in expression, using the format ${variable}, "
+"which can be, by order of priority:"
+msgstr ""
+
+msgid ""
+" - ${raw_hl:string}: the string itself without evaluation but with syntax "
+"highlighting"
+msgstr ""
+
+msgid " - ${raw:string}: the string itself without evaluation"
+msgstr ""
+
+msgid " - ${hl:string}: the string with syntax highlighting"
+msgstr ""
+
+msgid " - ${name}: the user-defined variable"
+msgstr ""
+
+#, fuzzy
+msgid " - ${weechat_config_dir}: WeeChat config directory"
+msgstr "directorio de WeeChat"
+
+#, fuzzy
+msgid " - ${weechat_data_dir}: WeeChat data directory"
+msgstr "directorio de WeeChat"
+
+#, fuzzy
+msgid " - ${weechat_cache_dir}: WeeChat cache directory"
+msgstr "directorio \"locale\" de WeeChat"
+
+#, fuzzy
+msgid " - ${weechat_runtmie_dir}: WeeChat runtime directory"
+msgstr "directorio de WeeChat"
+
+msgid " - ${eval:string}: the evaluated string"
+msgstr ""
+
+#, fuzzy
+#| msgid "values for a configuration option"
+msgid " - ${eval_cond:string}: the evaluated condition"
+msgstr "valores de una opción de configuración"
+
+msgid " - ${esc:string} or ${\\string}: the string with escaped chars"
+msgstr ""
+
+msgid ""
+" - ${chars:range}: the string with a range of chars, \"range\" is one of: "
+"\"digit\", \"xdigit\", \"lower\", \"upper\", \"alpha\", \"alnum\" or \"c1-"
+"c2\" (\"c1\" and \"c2\" are code points with c1 ≤ c2)"
+msgstr ""
+
+msgid " - ${lower:string}: the string converted to lower case"
+msgstr ""
+
+msgid " - ${upper:string}: the string converted to upper case"
+msgstr ""
+
+msgid " - ${hide:char,string}: the string with hidden chars"
+msgstr ""
+
+msgid ""
+" - ${cut:max,suffix,string}: the string with max chars (excluding the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cut:+max,suffix,string}: the string with max chars (including the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:max,suffix,string}: the string with max chars displayed on "
+"screen (excluding the suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:+max,suffix,string}: the string with max chars displayed on "
+"screen (including the suffix)"
+msgstr ""
+
+msgid " - ${rev:string}: the reversed string"
+msgstr ""
+
+msgid ""
+" - ${revscr:string}: the reversed string for display (color codes are not "
+"reversed)"
+msgstr ""
+
+msgid " - ${repeat:count,string}: the repeated string"
+msgstr ""
+
+msgid " - ${length:string}: the length of the string (number of UTF-8 chars)"
+msgstr ""
+
+msgid ""
+" - ${lengthscr:string}: the length of the string on screen (sum of the "
+"width of each UTF-8 char displayed on screen, colors codes are ignored)"
+msgstr ""
+
+msgid ""
+" - ${split:n,separators,flags,string}: split of the string (n can be an "
+"integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${split_shell:n,string}: split of shell arguments (n can be an integer ≥ "
+"1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${color:name}: the color (see \"Plugin API reference\", function "
+"\"color\")"
+msgstr ""
+
+msgid " - ${modifier:name,data,string}: the modifier"
+msgstr ""
+
+msgid " - ${info:name,arguments}: the info (arguments are optional)"
+msgstr ""
+
+msgid ""
+" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid ""
+" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid " - ${date} or ${date:format}: current date/time"
+msgstr ""
+
+#, fuzzy
+#| msgid "value of an environment variable"
+msgid " - ${env:NAME}: the environment variable"
+msgstr "valor de una variable de entorno"
+
+msgid ""
+" - ${if:condition?value_if_true:value_if_false}: the result of ternary "
+"operator"
+msgstr ""
+
+msgid ""
+" - ${calc:expression}: the result of the expression with parentheses and "
+"operators (+, -, *, /, //, %, **)"
+msgstr ""
+
+msgid ""
+" - ${random:min,max}: a random integer number between \"min\" and "
+"\"max\" (inclusive)"
+msgstr ""
+
+msgid " - ${translate:string}: the translated string"
+msgstr ""
+
+msgid ""
+" - ${define:name,value}: declaration of a user variable (return an empty "
+"string)"
+msgstr ""
+
+msgid " - ${sec.data.xxx}: the value of the secured data \"xxx\""
+msgstr ""
+
+#, fuzzy
+#| msgid "values for a configuration option"
+msgid " - ${file.section.option}: the value of the config option"
+msgstr "valores de una opción de configuración"
+
+#, fuzzy
+#| msgid "No local variable defined for buffer \"%s\""
+msgid " - ${name}: the local variable in buffer"
+msgstr "Ninguna variable local definida para el buffer \"%s\""
+
+msgid ""
+" - the hdata name/variable (the value is automatically converted to "
+"string), by default \"window\" and \"buffer\" point to current window/buffer."
+msgstr ""
+
+msgid "Format for hdata can be one of following:"
+msgstr ""
+
+msgid ""
+" - ${hdata.var1.var2...}: start with a hdata (pointer must be known), and "
+"ask variables one after one (other hdata can be followed)"
+msgstr ""
+
+msgid ""
+" - ${hdata[list].var1.var2...}: start with a hdata using a list/pointer/"
+"pointer name, for example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[gui_buffers].full_name}: full name of first buffer in linked "
+"list of buffers"
+msgstr ""
+
+msgid ""
+" - ${plugin[weechat_plugins].name}: name of first plugin in linked list "
+"of plugins"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.var2...}: start with a hdata using a pointer, for "
+"example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[0x1234abcd].full_name}: full name of the buffer with this "
+"pointer (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${buffer[my_pointer].full_name}: full name of the buffer with this "
+"pointer name (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.method()}: when var1 is a hashtable, methods can "
+"be called: \"keys()\", \"values()\", \"keys_sorted()\", \"keys_values()\" "
+"and \"keys_values_sorted()\""
+msgstr ""
+
+msgid ""
+"For name of hdata and variables, please look at \"Plugin API reference\", "
+"function \"weechat_hdata_get\"."
+msgstr ""
+
msgid "Examples (simple strings):"
msgstr ""
@@ -16238,8 +16467,3 @@ msgstr "%s%s: tiempo de espera máximo para \"%s\" con %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: no es posible conectarse: error (%d)"
-
-#~ msgid "auto open relay buffer when a new client is connecting"
-#~ msgstr ""
-#~ "abrir automáticamente el buffer de retransmisiones cuando un cliente "
-#~ "nuevo se conecta"
diff --git a/po/fr.po b/po/fr.po
index a8be0a27c..4fd0a1b03 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2024-02-11 21:44+0100\n"
-"PO-Revision-Date: 2024-02-11 21:45+0100\n"
+"POT-Creation-Date: 2024-02-17 09:40+0100\n"
+"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -1871,6 +1871,287 @@ msgstr ""
"autour de chaque expression, par exemple : 50 > 100 == 0 et \"50\" > \"100\" "
"== 1"
+msgid ""
+"Some variables are replaced in expression, using the format ${variable}, "
+"which can be, by order of priority:"
+msgstr ""
+"Des variables sont remplacées dans l'expression, en utilisant le format "
+"${variable}, qui peut être, par ordre de priorité :"
+
+msgid ""
+" - ${raw_hl:string}: the string itself without evaluation but with syntax "
+"highlighting"
+msgstr ""
+" - ${raw_hl:chaîne} : la chaîne elle-même sans évaluation mais avec mise en "
+"valeur de la syntaxe"
+
+msgid " - ${raw:string}: the string itself without evaluation"
+msgstr " - ${raw:chaîne} : la chaîne elle-même sans évaluation"
+
+msgid " - ${hl:string}: the string with syntax highlighting"
+msgstr " - ${hl:chaîne} : la chaîne avec mise en valeur de la syntaxe"
+
+msgid " - ${name}: the user-defined variable"
+msgstr " - ${nom} : la variable définie par l'utilisateur"
+
+msgid " - ${weechat_config_dir}: WeeChat config directory"
+msgstr " - ${weechat_config_dir} : le répertoire de la configuration WeeChat"
+
+msgid " - ${weechat_data_dir}: WeeChat data directory"
+msgstr " - ${weechat_data_dir} : le répertoire des données WeeChat"
+
+msgid " - ${weechat_cache_dir}: WeeChat cache directory"
+msgstr " - ${weechat_cache_dir} : le répertoire du cache WeeChat"
+
+msgid " - ${weechat_runtmie_dir}: WeeChat runtime directory"
+msgstr " - ${weechat_runtmie_dir} : le répertoire de \"runtime\" WeeChat"
+
+msgid " - ${eval:string}: the evaluated string"
+msgstr " - ${eval:chaîne} : la chaîne évaluée"
+
+msgid " - ${eval_cond:string}: the evaluated condition"
+msgstr " - ${eval_cond:chaîne} : la condition évaluée"
+
+msgid " - ${esc:string} or ${\\string}: the string with escaped chars"
+msgstr ""
+" - ${esc:chaîne} ou ${\\chaîne} : la chaîne avec des caractères échappés"
+
+msgid ""
+" - ${chars:range}: the string with a range of chars, \"range\" is one of: "
+"\"digit\", \"xdigit\", \"lower\", \"upper\", \"alpha\", \"alnum\" or \"c1-"
+"c2\" (\"c1\" and \"c2\" are code points with c1 ≤ c2)"
+msgstr ""
+" - ${chars:intervalle} : la chaîne avec un intervalle de caractères, "
+"\"intervalle\" est parmi : \"digit\", \"xdigit\", \"lower\", \"upper\", "
+"\"alpha\", \"alnum\" ou \"c1-c2\" (\"c1\" et \"c2\" sont des codes de "
+"caractères avec c1 ≤ c2)"
+
+msgid " - ${lower:string}: the string converted to lower case"
+msgstr " - ${lower:chaîne} : la chaîne convertie en minuscules"
+
+msgid " - ${upper:string}: the string converted to upper case"
+msgstr " - ${upper:chaîne} : la chaîne convertie en majuscules"
+
+msgid " - ${hide:char,string}: the string with hidden chars"
+msgstr " - ${hide:caractère,chaîne} : la chaîne avec des caractères cachés"
+
+msgid ""
+" - ${cut:max,suffix,string}: the string with max chars (excluding the "
+"suffix)"
+msgstr ""
+" - ${cut:max,suffixe,chaîne} : la chaîne avec max caractères (en excluant "
+"le suffixe)"
+
+msgid ""
+" - ${cut:+max,suffix,string}: the string with max chars (including the "
+"suffix)"
+msgstr ""
+" - ${cut:+max,suffixe,chaîne} : la chaîne avec max caractères (en incluant "
+"le suffixe)"
+
+msgid ""
+" - ${cutscr:max,suffix,string}: the string with max chars displayed on "
+"screen (excluding the suffix)"
+msgstr ""
+" - ${cutscr:max,suffixe,chaîne} : la chaîne avec max caractères affichés à "
+"l'écran (en excluant le suffixe)"
+
+msgid ""
+" - ${cutscr:+max,suffix,string}: the string with max chars displayed on "
+"screen (including the suffix)"
+msgstr ""
+" - ${cutscr:+max,suffixe,chaîne} : la chaîne avec max caractères affichés à "
+"l'écran (en incluant le suffixe)"
+
+msgid " - ${rev:string}: the reversed string"
+msgstr " - ${rev:chaîne} : la chaîne inversée"
+
+msgid ""
+" - ${revscr:string}: the reversed string for display (color codes are not "
+"reversed)"
+msgstr ""
+" - ${revscr:chaîne} : la chaîne inversée pour affichage (les codes couleur "
+"ne sont pas inversés)"
+
+msgid " - ${repeat:count,string}: the repeated string"
+msgstr " - ${repeat:nombre,chaîne} : la chaîne répétée"
+
+msgid " - ${length:string}: the length of the string (number of UTF-8 chars)"
+msgstr ""
+" - ${length:chaîne} : la longueur de la chaîne (nombre de caractères UTF-8)"
+
+msgid ""
+" - ${lengthscr:string}: the length of the string on screen (sum of the "
+"width of each UTF-8 char displayed on screen, colors codes are ignored)"
+msgstr ""
+" - ${lengthscr:chaîne} : la longueur de la chaîne à l'écran (somme de la "
+"largeur de chaque caractère UTF-8 affiché à l'écran, les codes couleur sont "
+"ignorés)"
+
+msgid ""
+" - ${split:n,separators,flags,string}: split of the string (n can be an "
+"integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+" - ${split:n,séparateurs,drapeaux,chaîne} : découpage de la chaîne (n peut "
+"être un entier ≥ 1, un entier ≤ -1, \"count\" ou \"random\")"
+
+msgid ""
+" - ${split_shell:n,string}: split of shell arguments (n can be an integer ≥ "
+"1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+" - ${split_shell:n,chaîne} : découpage des paramètres shell (n peut être un "
+"entier ≥ 1, un entier ≤ -1, \"count\" ou \"random\")"
+
+msgid ""
+" - ${color:name}: the color (see \"Plugin API reference\", function "
+"\"color\")"
+msgstr ""
+" - ${color:nom} : la couleur (voir la \"Référence API extension\", fonction "
+"\"color\")"
+
+msgid " - ${modifier:name,data,string}: the modifier"
+msgstr " - ${modifier:nom,données,chaîne} : le modificateur"
+
+msgid " - ${info:name,arguments}: the info (arguments are optional)"
+msgstr " - ${info:nom,paramètres} : l'info (les paramètres sont optionnels)"
+
+msgid ""
+" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or "
+"64url"
+msgstr ""
+" - ${base_encode:base,chaîne} : la chaîne encodée en base : 16, 32, 64 ou "
+"64url"
+
+msgid ""
+" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or "
+"64url"
+msgstr ""
+" - ${base_decode:base,chaîne} : la chaîne décodée de base : 16, 32, 64 ou "
+"64url"
+
+msgid " - ${date} or ${date:format}: current date/time"
+msgstr " - ${date} ou ${date:format} : la date/heure courante"
+
+msgid " - ${env:NAME}: the environment variable"
+msgstr " - ${env:NOM} : valeur de la variable d'environnement"
+
+msgid ""
+" - ${if:condition?value_if_true:value_if_false}: the result of ternary "
+"operator"
+msgstr ""
+" - ${if:condition?valeur_si_vraie:valeur_si_fausse} : le résultat de "
+"l'opérateur ternaire"
+
+msgid ""
+" - ${calc:expression}: the result of the expression with parentheses and "
+"operators (+, -, *, /, //, %, **)"
+msgstr ""
+" - ${calc:expression} : le résultat de l'expression avec des parenthèses et "
+"opérateurs (+, -, *, /, //, %, **)"
+
+msgid ""
+" - ${random:min,max}: a random integer number between \"min\" and "
+"\"max\" (inclusive)"
+msgstr ""
+" - ${random:min,max} : un nombre aléatoire compris entre \"min\" et "
+"\"max\" (inclus)"
+
+msgid " - ${translate:string}: the translated string"
+msgstr " - ${translate:chaîne} : la chaîne traduite"
+
+msgid ""
+" - ${define:name,value}: declaration of a user variable (return an empty "
+"string)"
+msgstr ""
+" - ${define:nom,valeur} : déclaration d'une variable utilisateur (retourne "
+"une chaîne vide)"
+
+msgid " - ${sec.data.xxx}: the value of the secured data \"xxx\""
+msgstr " - ${sec.data.xxx} : la valeur de la donnée sécurisée \"xxx\""
+
+msgid " - ${file.section.option}: the value of the config option"
+msgstr " - ${fichier.section.option} : la valeur de l'option de configuration"
+
+msgid " - ${name}: the local variable in buffer"
+msgstr " - ${nom} : la variable locale du tampon"
+
+msgid ""
+" - the hdata name/variable (the value is automatically converted to "
+"string), by default \"window\" and \"buffer\" point to current window/buffer."
+msgstr ""
+" - le nom/variable hdata (la valeur est automatiquement convertie en "
+"chaîne), par défaut \"window\" et \"buffer\" pointent vers la fenêtre et le "
+"tampon courant."
+
+msgid "Format for hdata can be one of following:"
+msgstr "Le format pour hdata peut être l'un des suivants :"
+
+msgid ""
+" - ${hdata.var1.var2...}: start with a hdata (pointer must be known), and "
+"ask variables one after one (other hdata can be followed)"
+msgstr ""
+" - ${hdata.var1.var2...} : démarrer avec un hdata (le pointeur doit être "
+"connu), et demander des variables, l'une après l'autre (d'autres hdata "
+"peuvent être suivis)"
+
+msgid ""
+" - ${hdata[list].var1.var2...}: start with a hdata using a list/pointer/"
+"pointer name, for example:"
+msgstr ""
+" - ${hdata[list].var1.var2...} : démarrer avec un hdata en utilisant une "
+"liste/pointeur/nom de pointeur, par exemple :"
+
+msgid ""
+" - ${buffer[gui_buffers].full_name}: full name of first buffer in linked "
+"list of buffers"
+msgstr ""
+" - ${buffer[gui_buffers].full_name} : nom complet du premier tampon dans "
+"la liste chaîne des tampons"
+
+msgid ""
+" - ${plugin[weechat_plugins].name}: name of first plugin in linked list "
+"of plugins"
+msgstr ""
+" - ${plugin[weechat_plugins].name} : nom de la première extension dans la "
+"liste chaîne des extensions"
+
+msgid ""
+" - ${hdata[pointer].var1.var2...}: start with a hdata using a pointer, for "
+"example:"
+msgstr ""
+" - ${hdata[pointer].var1.var2...} : démarrer avec un hdata en utilisant un "
+"pointeur, par exemple :"
+
+msgid ""
+" - ${buffer[0x1234abcd].full_name}: full name of the buffer with this "
+"pointer (can be used in triggers)"
+msgstr ""
+" - ${buffer[0x1234abcd].full_name} : nom complet du tampon avec ce "
+"pointeur (peut être utilisé dans les triggers)"
+
+msgid ""
+" - ${buffer[my_pointer].full_name}: full name of the buffer with this "
+"pointer name (can be used in triggers)"
+msgstr ""
+" - ${buffer[my_pointer].full_name} : nom complet du tampon en utilisant "
+"ce nom de pointeur (peut être utilisé dans les triggers)"
+
+msgid ""
+" - ${hdata[pointer].var1.method()}: when var1 is a hashtable, methods can "
+"be called: \"keys()\", \"values()\", \"keys_sorted()\", \"keys_values()\" "
+"and \"keys_values_sorted()\""
+msgstr ""
+" - ${hdata[pointer].var1.method()} : lorsque var1 est une table de hachage, "
+"les méthodes peuvent être appelées : \"keys()\", \"values()\", "
+"\"keys_sorted()\", \"keys_values()\" et \"keys_values_sorted()\""
+
+msgid ""
+"For name of hdata and variables, please look at \"Plugin API reference\", "
+"function \"weechat_hdata_get\"."
+msgstr ""
+"Pour le nom du hdata et des variables, voir la \"Référence API extension\", "
+"fonction \"weechat_hdata_get\"."
+
msgid "Examples (simple strings):"
msgstr "Exemples (chaînes simples) :"
@@ -17191,24 +17472,3 @@ msgstr "%s%s : délai d'attente dépassé pour \"%s\" avec %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s : impossible de se connecter : erreur inattendue (%d)"
-
-#~ msgid "auto open relay buffer when a new client is connecting"
-#~ msgstr ""
-#~ "ouvrir automatiquement le tampon des clients pour le relai lorsqu'un "
-#~ "nouveau client est ajouté à la liste"
-
-#~ msgid "name: jump to buffer by (partial) name"
-#~ msgstr "nom : sauter au tampon par nom (partiel)"
-
-#~ msgid ""
-#~ "> date/time (ISO 8601): yyyy-mm-ddThh:mm:ss, example: 2014-01-19T04:32:55"
-#~ msgstr ""
-#~ "> date/heure (ISO 8601) : yyyy-mm-ddThh:mm:ss, exemple : "
-#~ "2014-01-19T04:32:55"
-
-#~ msgid "> time: hh:mm:ss (example: 04:32:55)"
-#~ msgstr "> heure : hh:mm:ss (exemple : 04:32:55)"
-
-#~ msgid "time format when quoting a message (see /help cursor)"
-#~ msgstr ""
-#~ "format de date/heure dans la citation d'un message (voir /help cursor)"
diff --git a/po/hu.po b/po/hu.po
index ee655f238..f300814fe 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2024-02-11 21:44+0100\n"
+"POT-Creation-Date: 2024-02-17 09:40+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"
@@ -1695,6 +1695,230 @@ msgid ""
"expression, for example: 50 > 100 == 0 and \"50\" > \"100\" == 1"
msgstr ""
+msgid ""
+"Some variables are replaced in expression, using the format ${variable}, "
+"which can be, by order of priority:"
+msgstr ""
+
+msgid ""
+" - ${raw_hl:string}: the string itself without evaluation but with syntax "
+"highlighting"
+msgstr ""
+
+msgid " - ${raw:string}: the string itself without evaluation"
+msgstr ""
+
+msgid " - ${hl:string}: the string with syntax highlighting"
+msgstr ""
+
+msgid " - ${name}: the user-defined variable"
+msgstr ""
+
+#, fuzzy
+msgid " - ${weechat_config_dir}: WeeChat config directory"
+msgstr "WeeChat Hiba:"
+
+#, fuzzy
+msgid " - ${weechat_data_dir}: WeeChat data directory"
+msgstr "WeeChat Hiba:"
+
+#, fuzzy
+msgid " - ${weechat_cache_dir}: WeeChat cache directory"
+msgstr "WeeChat Hiba:"
+
+#, fuzzy
+msgid " - ${weechat_runtmie_dir}: WeeChat runtime directory"
+msgstr "WeeChat Hiba:"
+
+msgid " - ${eval:string}: the evaluated string"
+msgstr ""
+
+#, fuzzy
+msgid " - ${eval_cond:string}: the evaluated condition"
+msgstr "Nem található az opció\n"
+
+msgid " - ${esc:string} or ${\\string}: the string with escaped chars"
+msgstr ""
+
+msgid ""
+" - ${chars:range}: the string with a range of chars, \"range\" is one of: "
+"\"digit\", \"xdigit\", \"lower\", \"upper\", \"alpha\", \"alnum\" or \"c1-"
+"c2\" (\"c1\" and \"c2\" are code points with c1 ≤ c2)"
+msgstr ""
+
+msgid " - ${lower:string}: the string converted to lower case"
+msgstr ""
+
+msgid " - ${upper:string}: the string converted to upper case"
+msgstr ""
+
+msgid " - ${hide:char,string}: the string with hidden chars"
+msgstr ""
+
+msgid ""
+" - ${cut:max,suffix,string}: the string with max chars (excluding the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cut:+max,suffix,string}: the string with max chars (including the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:max,suffix,string}: the string with max chars displayed on "
+"screen (excluding the suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:+max,suffix,string}: the string with max chars displayed on "
+"screen (including the suffix)"
+msgstr ""
+
+msgid " - ${rev:string}: the reversed string"
+msgstr ""
+
+msgid ""
+" - ${revscr:string}: the reversed string for display (color codes are not "
+"reversed)"
+msgstr ""
+
+msgid " - ${repeat:count,string}: the repeated string"
+msgstr ""
+
+msgid " - ${length:string}: the length of the string (number of UTF-8 chars)"
+msgstr ""
+
+msgid ""
+" - ${lengthscr:string}: the length of the string on screen (sum of the "
+"width of each UTF-8 char displayed on screen, colors codes are ignored)"
+msgstr ""
+
+msgid ""
+" - ${split:n,separators,flags,string}: split of the string (n can be an "
+"integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${split_shell:n,string}: split of shell arguments (n can be an integer ≥ "
+"1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${color:name}: the color (see \"Plugin API reference\", function "
+"\"color\")"
+msgstr ""
+
+msgid " - ${modifier:name,data,string}: the modifier"
+msgstr ""
+
+msgid " - ${info:name,arguments}: the info (arguments are optional)"
+msgstr ""
+
+msgid ""
+" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid ""
+" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid " - ${date} or ${date:format}: current date/time"
+msgstr ""
+
+#, fuzzy
+msgid " - ${env:NAME}: the environment variable"
+msgstr " . típus: szám\n"
+
+msgid ""
+" - ${if:condition?value_if_true:value_if_false}: the result of ternary "
+"operator"
+msgstr ""
+
+msgid ""
+" - ${calc:expression}: the result of the expression with parentheses and "
+"operators (+, -, *, /, //, %, **)"
+msgstr ""
+
+msgid ""
+" - ${random:min,max}: a random integer number between \"min\" and "
+"\"max\" (inclusive)"
+msgstr ""
+
+msgid " - ${translate:string}: the translated string"
+msgstr ""
+
+msgid ""
+" - ${define:name,value}: declaration of a user variable (return an empty "
+"string)"
+msgstr ""
+
+msgid " - ${sec.data.xxx}: the value of the secured data \"xxx\""
+msgstr ""
+
+#, fuzzy
+msgid " - ${file.section.option}: the value of the config option"
+msgstr "Nem található az opció\n"
+
+msgid " - ${name}: the local variable in buffer"
+msgstr ""
+
+msgid ""
+" - the hdata name/variable (the value is automatically converted to "
+"string), by default \"window\" and \"buffer\" point to current window/buffer."
+msgstr ""
+
+msgid "Format for hdata can be one of following:"
+msgstr ""
+
+msgid ""
+" - ${hdata.var1.var2...}: start with a hdata (pointer must be known), and "
+"ask variables one after one (other hdata can be followed)"
+msgstr ""
+
+msgid ""
+" - ${hdata[list].var1.var2...}: start with a hdata using a list/pointer/"
+"pointer name, for example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[gui_buffers].full_name}: full name of first buffer in linked "
+"list of buffers"
+msgstr ""
+
+msgid ""
+" - ${plugin[weechat_plugins].name}: name of first plugin in linked list "
+"of plugins"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.var2...}: start with a hdata using a pointer, for "
+"example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[0x1234abcd].full_name}: full name of the buffer with this "
+"pointer (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${buffer[my_pointer].full_name}: full name of the buffer with this "
+"pointer name (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.method()}: when var1 is a hashtable, methods can "
+"be called: \"keys()\", \"values()\", \"keys_sorted()\", \"keys_values()\" "
+"and \"keys_values_sorted()\""
+msgstr ""
+
+msgid ""
+"For name of hdata and variables, please look at \"Plugin API reference\", "
+"function \"weechat_hdata_get\"."
+msgstr ""
+
msgid "Examples (simple strings):"
msgstr ""
diff --git a/po/it.po b/po/it.po
index 0c7bceeb2..c19203896 100644
--- a/po/it.po
+++ b/po/it.po
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2024-02-11 21:44+0100\n"
-"PO-Revision-Date: 2023-11-29 09:59+0100\n"
+"POT-Creation-Date: 2024-02-17 09:40+0100\n"
+"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: it\n"
@@ -1750,6 +1750,234 @@ msgid ""
"expression, for example: 50 > 100 == 0 and \"50\" > \"100\" == 1"
msgstr ""
+msgid ""
+"Some variables are replaced in expression, using the format ${variable}, "
+"which can be, by order of priority:"
+msgstr ""
+
+msgid ""
+" - ${raw_hl:string}: the string itself without evaluation but with syntax "
+"highlighting"
+msgstr ""
+
+msgid " - ${raw:string}: the string itself without evaluation"
+msgstr ""
+
+msgid " - ${hl:string}: the string with syntax highlighting"
+msgstr ""
+
+msgid " - ${name}: the user-defined variable"
+msgstr ""
+
+#, fuzzy
+msgid " - ${weechat_config_dir}: WeeChat config directory"
+msgstr "directory WeeChat"
+
+#, fuzzy
+msgid " - ${weechat_data_dir}: WeeChat data directory"
+msgstr "directory WeeChat"
+
+#, fuzzy
+msgid " - ${weechat_cache_dir}: WeeChat cache directory"
+msgstr "directory \"locale\" di WeeChat"
+
+#, fuzzy
+msgid " - ${weechat_runtmie_dir}: WeeChat runtime directory"
+msgstr "directory WeeChat"
+
+msgid " - ${eval:string}: the evaluated string"
+msgstr ""
+
+#, fuzzy
+#| msgid "values for a configuration option"
+msgid " - ${eval_cond:string}: the evaluated condition"
+msgstr "valori per una opzione di configurazione"
+
+msgid " - ${esc:string} or ${\\string}: the string with escaped chars"
+msgstr ""
+
+msgid ""
+" - ${chars:range}: the string with a range of chars, \"range\" is one of: "
+"\"digit\", \"xdigit\", \"lower\", \"upper\", \"alpha\", \"alnum\" or \"c1-"
+"c2\" (\"c1\" and \"c2\" are code points with c1 ≤ c2)"
+msgstr ""
+
+msgid " - ${lower:string}: the string converted to lower case"
+msgstr ""
+
+msgid " - ${upper:string}: the string converted to upper case"
+msgstr ""
+
+msgid " - ${hide:char,string}: the string with hidden chars"
+msgstr ""
+
+msgid ""
+" - ${cut:max,suffix,string}: the string with max chars (excluding the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cut:+max,suffix,string}: the string with max chars (including the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:max,suffix,string}: the string with max chars displayed on "
+"screen (excluding the suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:+max,suffix,string}: the string with max chars displayed on "
+"screen (including the suffix)"
+msgstr ""
+
+msgid " - ${rev:string}: the reversed string"
+msgstr ""
+
+msgid ""
+" - ${revscr:string}: the reversed string for display (color codes are not "
+"reversed)"
+msgstr ""
+
+msgid " - ${repeat:count,string}: the repeated string"
+msgstr ""
+
+msgid " - ${length:string}: the length of the string (number of UTF-8 chars)"
+msgstr ""
+
+msgid ""
+" - ${lengthscr:string}: the length of the string on screen (sum of the "
+"width of each UTF-8 char displayed on screen, colors codes are ignored)"
+msgstr ""
+
+msgid ""
+" - ${split:n,separators,flags,string}: split of the string (n can be an "
+"integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${split_shell:n,string}: split of shell arguments (n can be an integer ≥ "
+"1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${color:name}: the color (see \"Plugin API reference\", function "
+"\"color\")"
+msgstr ""
+
+msgid " - ${modifier:name,data,string}: the modifier"
+msgstr ""
+
+msgid " - ${info:name,arguments}: the info (arguments are optional)"
+msgstr ""
+
+msgid ""
+" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid ""
+" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid " - ${date} or ${date:format}: current date/time"
+msgstr ""
+
+#, fuzzy
+msgid " - ${env:NAME}: the environment variable"
+msgstr "Variabili"
+
+msgid ""
+" - ${if:condition?value_if_true:value_if_false}: the result of ternary "
+"operator"
+msgstr ""
+
+msgid ""
+" - ${calc:expression}: the result of the expression with parentheses and "
+"operators (+, -, *, /, //, %, **)"
+msgstr ""
+
+msgid ""
+" - ${random:min,max}: a random integer number between \"min\" and "
+"\"max\" (inclusive)"
+msgstr ""
+
+msgid " - ${translate:string}: the translated string"
+msgstr ""
+
+msgid ""
+" - ${define:name,value}: declaration of a user variable (return an empty "
+"string)"
+msgstr ""
+
+msgid " - ${sec.data.xxx}: the value of the secured data \"xxx\""
+msgstr ""
+
+#, fuzzy
+#| msgid "values for a configuration option"
+msgid " - ${file.section.option}: the value of the config option"
+msgstr "valori per una opzione di configurazione"
+
+#, fuzzy
+#| msgid "No local variable defined for buffer \"%s\""
+msgid " - ${name}: the local variable in buffer"
+msgstr "Nessuna variabile locale definita per il buffer \"%s\""
+
+msgid ""
+" - the hdata name/variable (the value is automatically converted to "
+"string), by default \"window\" and \"buffer\" point to current window/buffer."
+msgstr ""
+
+msgid "Format for hdata can be one of following:"
+msgstr ""
+
+msgid ""
+" - ${hdata.var1.var2...}: start with a hdata (pointer must be known), and "
+"ask variables one after one (other hdata can be followed)"
+msgstr ""
+
+msgid ""
+" - ${hdata[list].var1.var2...}: start with a hdata using a list/pointer/"
+"pointer name, for example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[gui_buffers].full_name}: full name of first buffer in linked "
+"list of buffers"
+msgstr ""
+
+msgid ""
+" - ${plugin[weechat_plugins].name}: name of first plugin in linked list "
+"of plugins"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.var2...}: start with a hdata using a pointer, for "
+"example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[0x1234abcd].full_name}: full name of the buffer with this "
+"pointer (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${buffer[my_pointer].full_name}: full name of the buffer with this "
+"pointer name (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.method()}: when var1 is a hashtable, methods can "
+"be called: \"keys()\", \"values()\", \"keys_sorted()\", \"keys_values()\" "
+"and \"keys_values_sorted()\""
+msgstr ""
+
+msgid ""
+"For name of hdata and variables, please look at \"Plugin API reference\", "
+"function \"weechat_hdata_get\"."
+msgstr ""
+
msgid "Examples (simple strings):"
msgstr ""
@@ -16287,7 +16515,3 @@ msgstr "%s%s: timeout per \"%s\" con %s"
#, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: impossibile connettersi al mittente"
-
-#~ msgid "auto open relay buffer when a new client is connecting"
-#~ msgstr ""
-#~ "apre automaticamente il buffer relay alla connessione di un nuovo client"
diff --git a/po/ja.po b/po/ja.po
index 2cdcda1d8..eff630e31 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2024-02-11 21:44+0100\n"
-"PO-Revision-Date: 2023-11-29 09:59+0100\n"
+"POT-Creation-Date: 2024-02-17 09:40+0100\n"
+"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
"translation/ja_JP>\n"
@@ -1835,6 +1835,235 @@ msgid ""
"expression, for example: 50 > 100 == 0 and \"50\" > \"100\" == 1"
msgstr ""
+msgid ""
+"Some variables are replaced in expression, using the format ${variable}, "
+"which can be, by order of priority:"
+msgstr ""
+
+msgid ""
+" - ${raw_hl:string}: the string itself without evaluation but with syntax "
+"highlighting"
+msgstr ""
+
+msgid " - ${raw:string}: the string itself without evaluation"
+msgstr ""
+
+msgid " - ${hl:string}: the string with syntax highlighting"
+msgstr ""
+
+msgid " - ${name}: the user-defined variable"
+msgstr ""
+
+#, fuzzy
+msgid " - ${weechat_config_dir}: WeeChat config directory"
+msgstr "WeeChat ディレクトリ"
+
+#, fuzzy
+msgid " - ${weechat_data_dir}: WeeChat data directory"
+msgstr "WeeChat ディレクトリ"
+
+#, fuzzy
+msgid " - ${weechat_cache_dir}: WeeChat cache directory"
+msgstr "WeeChat \"locale\" ディレクトリ"
+
+#, fuzzy
+msgid " - ${weechat_runtmie_dir}: WeeChat runtime directory"
+msgstr "WeeChat ディレクトリ"
+
+msgid " - ${eval:string}: the evaluated string"
+msgstr ""
+
+#, fuzzy
+#| msgid "values for a configuration option"
+msgid " - ${eval_cond:string}: the evaluated condition"
+msgstr "設定オプションの値"
+
+msgid " - ${esc:string} or ${\\string}: the string with escaped chars"
+msgstr ""
+
+msgid ""
+" - ${chars:range}: the string with a range of chars, \"range\" is one of: "
+"\"digit\", \"xdigit\", \"lower\", \"upper\", \"alpha\", \"alnum\" or \"c1-"
+"c2\" (\"c1\" and \"c2\" are code points with c1 ≤ c2)"
+msgstr ""
+
+msgid " - ${lower:string}: the string converted to lower case"
+msgstr ""
+
+msgid " - ${upper:string}: the string converted to upper case"
+msgstr ""
+
+msgid " - ${hide:char,string}: the string with hidden chars"
+msgstr ""
+
+msgid ""
+" - ${cut:max,suffix,string}: the string with max chars (excluding the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cut:+max,suffix,string}: the string with max chars (including the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:max,suffix,string}: the string with max chars displayed on "
+"screen (excluding the suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:+max,suffix,string}: the string with max chars displayed on "
+"screen (including the suffix)"
+msgstr ""
+
+msgid " - ${rev:string}: the reversed string"
+msgstr ""
+
+msgid ""
+" - ${revscr:string}: the reversed string for display (color codes are not "
+"reversed)"
+msgstr ""
+
+msgid " - ${repeat:count,string}: the repeated string"
+msgstr ""
+
+msgid " - ${length:string}: the length of the string (number of UTF-8 chars)"
+msgstr ""
+
+msgid ""
+" - ${lengthscr:string}: the length of the string on screen (sum of the "
+"width of each UTF-8 char displayed on screen, colors codes are ignored)"
+msgstr ""
+
+msgid ""
+" - ${split:n,separators,flags,string}: split of the string (n can be an "
+"integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${split_shell:n,string}: split of shell arguments (n can be an integer ≥ "
+"1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${color:name}: the color (see \"Plugin API reference\", function "
+"\"color\")"
+msgstr ""
+
+msgid " - ${modifier:name,data,string}: the modifier"
+msgstr ""
+
+msgid " - ${info:name,arguments}: the info (arguments are optional)"
+msgstr ""
+
+msgid ""
+" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid ""
+" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid " - ${date} or ${date:format}: current date/time"
+msgstr ""
+
+#, fuzzy
+#| msgid "value of an environment variable"
+msgid " - ${env:NAME}: the environment variable"
+msgstr "環境変数の値"
+
+msgid ""
+" - ${if:condition?value_if_true:value_if_false}: the result of ternary "
+"operator"
+msgstr ""
+
+msgid ""
+" - ${calc:expression}: the result of the expression with parentheses and "
+"operators (+, -, *, /, //, %, **)"
+msgstr ""
+
+msgid ""
+" - ${random:min,max}: a random integer number between \"min\" and "
+"\"max\" (inclusive)"
+msgstr ""
+
+msgid " - ${translate:string}: the translated string"
+msgstr ""
+
+msgid ""
+" - ${define:name,value}: declaration of a user variable (return an empty "
+"string)"
+msgstr ""
+
+msgid " - ${sec.data.xxx}: the value of the secured data \"xxx\""
+msgstr ""
+
+#, fuzzy
+#| msgid "values for a configuration option"
+msgid " - ${file.section.option}: the value of the config option"
+msgstr "設定オプションの値"
+
+#, fuzzy
+#| msgid "No local variable defined for buffer \"%s\""
+msgid " - ${name}: the local variable in buffer"
+msgstr "バッファ \"%s\" にローカル変数は設定されていません"
+
+msgid ""
+" - the hdata name/variable (the value is automatically converted to "
+"string), by default \"window\" and \"buffer\" point to current window/buffer."
+msgstr ""
+
+msgid "Format for hdata can be one of following:"
+msgstr ""
+
+msgid ""
+" - ${hdata.var1.var2...}: start with a hdata (pointer must be known), and "
+"ask variables one after one (other hdata can be followed)"
+msgstr ""
+
+msgid ""
+" - ${hdata[list].var1.var2...}: start with a hdata using a list/pointer/"
+"pointer name, for example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[gui_buffers].full_name}: full name of first buffer in linked "
+"list of buffers"
+msgstr ""
+
+msgid ""
+" - ${plugin[weechat_plugins].name}: name of first plugin in linked list "
+"of plugins"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.var2...}: start with a hdata using a pointer, for "
+"example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[0x1234abcd].full_name}: full name of the buffer with this "
+"pointer (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${buffer[my_pointer].full_name}: full name of the buffer with this "
+"pointer name (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.method()}: when var1 is a hashtable, methods can "
+"be called: \"keys()\", \"values()\", \"keys_sorted()\", \"keys_values()\" "
+"and \"keys_values_sorted()\""
+msgstr ""
+
+msgid ""
+"For name of hdata and variables, please look at \"Plugin API reference\", "
+"function \"weechat_hdata_get\"."
+msgstr ""
+
msgid "Examples (simple strings):"
msgstr ""
@@ -16765,9 +16994,3 @@ msgstr "%s%s: \"%s\" のタイムアウト %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: 接続できません: 未定義のエラー (%d)"
-
-#~ msgid "auto open relay buffer when a new client is connecting"
-#~ msgstr "新しいクライアントが接続したらリレーバッファを自動的に開く"
-
-#~ msgid "time format when quoting a message (see /help cursor)"
-#~ msgstr "メッセージを引用する際の時間書式 (/help cursor を参照してください)"
diff --git a/po/pl.po b/po/pl.po
index 00e566047..5f15e60a0 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -22,8 +22,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2024-02-11 21:44+0100\n"
-"PO-Revision-Date: 2024-01-31 21:16+0100\n"
+"POT-Creation-Date: 2024-02-17 09:40+0100\n"
+"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: pl\n"
@@ -1850,6 +1850,243 @@ msgstr ""
"Aby wymusić porównywanie ciągów, możesz dodać cudzysłów wokół każdego "
"wyrażenia, na przykład: 50 > 100 == 0 and \"50\" > \"100\" == 1"
+msgid ""
+"Some variables are replaced in expression, using the format ${variable}, "
+"which can be, by order of priority:"
+msgstr ""
+
+msgid ""
+" - ${raw_hl:string}: the string itself without evaluation but with syntax "
+"highlighting"
+msgstr ""
+
+msgid " - ${raw:string}: the string itself without evaluation"
+msgstr ""
+
+msgid " - ${hl:string}: the string with syntax highlighting"
+msgstr ""
+
+msgid " - ${name}: the user-defined variable"
+msgstr ""
+
+#, fuzzy
+#| msgid "WeeChat config directory"
+msgid " - ${weechat_config_dir}: WeeChat config directory"
+msgstr "Katalog z konfiguracją WeeChat"
+
+#, fuzzy
+#| msgid "WeeChat data directory"
+msgid " - ${weechat_data_dir}: WeeChat data directory"
+msgstr "Katalog danych WeeChat"
+
+#, fuzzy
+#| msgid "WeeChat cache directory"
+msgid " - ${weechat_cache_dir}: WeeChat cache directory"
+msgstr "Katalog z cache WeeChata"
+
+#, fuzzy
+#| msgid "WeeChat runtime directory"
+msgid " - ${weechat_runtmie_dir}: WeeChat runtime directory"
+msgstr "Katalog uruchomieniowy WeeChat"
+
+msgid " - ${eval:string}: the evaluated string"
+msgstr ""
+
+#, fuzzy
+#| msgid "toggle value of a config option"
+msgid " - ${eval_cond:string}: the evaluated condition"
+msgstr "przełącza wartość opcji konfiguracyjnej"
+
+msgid " - ${esc:string} or ${\\string}: the string with escaped chars"
+msgstr ""
+
+msgid ""
+" - ${chars:range}: the string with a range of chars, \"range\" is one of: "
+"\"digit\", \"xdigit\", \"lower\", \"upper\", \"alpha\", \"alnum\" or \"c1-"
+"c2\" (\"c1\" and \"c2\" are code points with c1 ≤ c2)"
+msgstr ""
+
+msgid " - ${lower:string}: the string converted to lower case"
+msgstr ""
+
+msgid " - ${upper:string}: the string converted to upper case"
+msgstr ""
+
+msgid " - ${hide:char,string}: the string with hidden chars"
+msgstr ""
+
+msgid ""
+" - ${cut:max,suffix,string}: the string with max chars (excluding the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cut:+max,suffix,string}: the string with max chars (including the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:max,suffix,string}: the string with max chars displayed on "
+"screen (excluding the suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:+max,suffix,string}: the string with max chars displayed on "
+"screen (including the suffix)"
+msgstr ""
+
+msgid " - ${rev:string}: the reversed string"
+msgstr ""
+
+msgid ""
+" - ${revscr:string}: the reversed string for display (color codes are not "
+"reversed)"
+msgstr ""
+
+msgid " - ${repeat:count,string}: the repeated string"
+msgstr ""
+
+msgid " - ${length:string}: the length of the string (number of UTF-8 chars)"
+msgstr ""
+
+msgid ""
+" - ${lengthscr:string}: the length of the string on screen (sum of the "
+"width of each UTF-8 char displayed on screen, colors codes are ignored)"
+msgstr ""
+
+msgid ""
+" - ${split:n,separators,flags,string}: split of the string (n can be an "
+"integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${split_shell:n,string}: split of shell arguments (n can be an integer ≥ "
+"1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${color:name}: the color (see \"Plugin API reference\", function "
+"\"color\")"
+msgstr ""
+
+msgid " - ${modifier:name,data,string}: the modifier"
+msgstr ""
+
+#, fuzzy
+#| msgid "arguments: optional arguments for the action"
+msgid " - ${info:name,arguments}: the info (arguments are optional)"
+msgstr "argumenty: opcjonalne argumenty dla akcji"
+
+msgid ""
+" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid ""
+" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid " - ${date} or ${date:format}: current date/time"
+msgstr ""
+
+#, fuzzy
+#| msgid "value of an environment variable"
+msgid " - ${env:NAME}: the environment variable"
+msgstr "wartość zmiennej środowiskowej"
+
+msgid ""
+" - ${if:condition?value_if_true:value_if_false}: the result of ternary "
+"operator"
+msgstr ""
+
+msgid ""
+" - ${calc:expression}: the result of the expression with parentheses and "
+"operators (+, -, *, /, //, %, **)"
+msgstr ""
+
+msgid ""
+" - ${random:min,max}: a random integer number between \"min\" and "
+"\"max\" (inclusive)"
+msgstr ""
+
+#, fuzzy
+#| msgid " - ${type}: option type (translated)"
+msgid " - ${translate:string}: the translated string"
+msgstr " - ${type}: typ opcji (przetłumaczony)"
+
+msgid ""
+" - ${define:name,value}: declaration of a user variable (return an empty "
+"string)"
+msgstr ""
+
+msgid " - ${sec.data.xxx}: the value of the secured data \"xxx\""
+msgstr ""
+
+#, fuzzy
+#| msgid "toggle value of a config option"
+msgid " - ${file.section.option}: the value of the config option"
+msgstr "przełącza wartość opcji konfiguracyjnej"
+
+#, fuzzy
+#| msgid "raw[setvar]: set a local variable in the current buffer"
+msgid " - ${name}: the local variable in buffer"
+msgstr "raw[setvar]: ustaw zmienną lokalną w obecnym buforze"
+
+msgid ""
+" - the hdata name/variable (the value is automatically converted to "
+"string), by default \"window\" and \"buffer\" point to current window/buffer."
+msgstr ""
+
+msgid "Format for hdata can be one of following:"
+msgstr ""
+
+msgid ""
+" - ${hdata.var1.var2...}: start with a hdata (pointer must be known), and "
+"ask variables one after one (other hdata can be followed)"
+msgstr ""
+
+msgid ""
+" - ${hdata[list].var1.var2...}: start with a hdata using a list/pointer/"
+"pointer name, for example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[gui_buffers].full_name}: full name of first buffer in linked "
+"list of buffers"
+msgstr ""
+
+msgid ""
+" - ${plugin[weechat_plugins].name}: name of first plugin in linked list "
+"of plugins"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.var2...}: start with a hdata using a pointer, for "
+"example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[0x1234abcd].full_name}: full name of the buffer with this "
+"pointer (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${buffer[my_pointer].full_name}: full name of the buffer with this "
+"pointer name (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.method()}: when var1 is a hashtable, methods can "
+"be called: \"keys()\", \"values()\", \"keys_sorted()\", \"keys_values()\" "
+"and \"keys_values_sorted()\""
+msgstr ""
+
+msgid ""
+"For name of hdata and variables, please look at \"Plugin API reference\", "
+"function \"weechat_hdata_get\"."
+msgstr ""
+
msgid "Examples (simple strings):"
msgstr "Przykłady (proste ciągi):"
@@ -16745,20 +16982,3 @@ msgstr "%s%s: przekroczono czas na \"%s\" z %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: nie można połączyć: niespodziewany błąd (%d)"
-
-#~ msgid "auto open relay buffer when a new client is connecting"
-#~ msgstr "automatycznie otwiera bufor kiedy podłącza się nowy klient"
-
-#~ msgid "name: jump to buffer by (partial) name"
-#~ msgstr "nazwa: skocz do bufora o (częściowej) nazwie"
-
-#~ msgid ""
-#~ "> date/time (ISO 8601): yyyy-mm-ddThh:mm:ss, example: 2014-01-19T04:32:55"
-#~ msgstr ""
-#~ "> date/time (ISO 8601): yyyy-mm-ddThh:mm:ss, przykład: 2014-01-19T04:32:55"
-
-#~ msgid "> time: hh:mm:ss (example: 04:32:55)"
-#~ msgstr "> time: hh:mm:ss (ptzykład: 04:32:55)"
-
-#~ msgid "time format when quoting a message (see /help cursor)"
-#~ msgstr "format czasu podczas cytowania wiadomości (zobacz /help cursor)"
diff --git a/po/pt.po b/po/pt.po
index 2858d2087..48dc85a27 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2024-02-11 21:44+0100\n"
-"PO-Revision-Date: 2023-11-29 09:59+0100\n"
+"POT-Creation-Date: 2024-02-17 09:40+0100\n"
+"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
"Language: pt\n"
@@ -1830,6 +1830,235 @@ msgid ""
"expression, for example: 50 > 100 == 0 and \"50\" > \"100\" == 1"
msgstr ""
+msgid ""
+"Some variables are replaced in expression, using the format ${variable}, "
+"which can be, by order of priority:"
+msgstr ""
+
+msgid ""
+" - ${raw_hl:string}: the string itself without evaluation but with syntax "
+"highlighting"
+msgstr ""
+
+msgid " - ${raw:string}: the string itself without evaluation"
+msgstr ""
+
+msgid " - ${hl:string}: the string with syntax highlighting"
+msgstr ""
+
+msgid " - ${name}: the user-defined variable"
+msgstr ""
+
+#, fuzzy
+msgid " - ${weechat_config_dir}: WeeChat config directory"
+msgstr "diretório do WeeChat"
+
+#, fuzzy
+msgid " - ${weechat_data_dir}: WeeChat data directory"
+msgstr "diretório do WeeChat"
+
+#, fuzzy
+msgid " - ${weechat_cache_dir}: WeeChat cache directory"
+msgstr "diretório \"locale\" do WeeChat"
+
+#, fuzzy
+msgid " - ${weechat_runtmie_dir}: WeeChat runtime directory"
+msgstr "diretório do WeeChat"
+
+msgid " - ${eval:string}: the evaluated string"
+msgstr ""
+
+#, fuzzy
+#| msgid "values for a configuration option"
+msgid " - ${eval_cond:string}: the evaluated condition"
+msgstr "valores de uma opção de configuração"
+
+msgid " - ${esc:string} or ${\\string}: the string with escaped chars"
+msgstr ""
+
+msgid ""
+" - ${chars:range}: the string with a range of chars, \"range\" is one of: "
+"\"digit\", \"xdigit\", \"lower\", \"upper\", \"alpha\", \"alnum\" or \"c1-"
+"c2\" (\"c1\" and \"c2\" are code points with c1 ≤ c2)"
+msgstr ""
+
+msgid " - ${lower:string}: the string converted to lower case"
+msgstr ""
+
+msgid " - ${upper:string}: the string converted to upper case"
+msgstr ""
+
+msgid " - ${hide:char,string}: the string with hidden chars"
+msgstr ""
+
+msgid ""
+" - ${cut:max,suffix,string}: the string with max chars (excluding the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cut:+max,suffix,string}: the string with max chars (including the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:max,suffix,string}: the string with max chars displayed on "
+"screen (excluding the suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:+max,suffix,string}: the string with max chars displayed on "
+"screen (including the suffix)"
+msgstr ""
+
+msgid " - ${rev:string}: the reversed string"
+msgstr ""
+
+msgid ""
+" - ${revscr:string}: the reversed string for display (color codes are not "
+"reversed)"
+msgstr ""
+
+msgid " - ${repeat:count,string}: the repeated string"
+msgstr ""
+
+msgid " - ${length:string}: the length of the string (number of UTF-8 chars)"
+msgstr ""
+
+msgid ""
+" - ${lengthscr:string}: the length of the string on screen (sum of the "
+"width of each UTF-8 char displayed on screen, colors codes are ignored)"
+msgstr ""
+
+msgid ""
+" - ${split:n,separators,flags,string}: split of the string (n can be an "
+"integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${split_shell:n,string}: split of shell arguments (n can be an integer ≥ "
+"1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${color:name}: the color (see \"Plugin API reference\", function "
+"\"color\")"
+msgstr ""
+
+msgid " - ${modifier:name,data,string}: the modifier"
+msgstr ""
+
+msgid " - ${info:name,arguments}: the info (arguments are optional)"
+msgstr ""
+
+msgid ""
+" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid ""
+" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid " - ${date} or ${date:format}: current date/time"
+msgstr ""
+
+#, fuzzy
+#| msgid "value of an environment variable"
+msgid " - ${env:NAME}: the environment variable"
+msgstr "valor de uma variável de ambiente"
+
+msgid ""
+" - ${if:condition?value_if_true:value_if_false}: the result of ternary "
+"operator"
+msgstr ""
+
+msgid ""
+" - ${calc:expression}: the result of the expression with parentheses and "
+"operators (+, -, *, /, //, %, **)"
+msgstr ""
+
+msgid ""
+" - ${random:min,max}: a random integer number between \"min\" and "
+"\"max\" (inclusive)"
+msgstr ""
+
+msgid " - ${translate:string}: the translated string"
+msgstr ""
+
+msgid ""
+" - ${define:name,value}: declaration of a user variable (return an empty "
+"string)"
+msgstr ""
+
+msgid " - ${sec.data.xxx}: the value of the secured data \"xxx\""
+msgstr ""
+
+#, fuzzy
+#| msgid "values for a configuration option"
+msgid " - ${file.section.option}: the value of the config option"
+msgstr "valores de uma opção de configuração"
+
+#, fuzzy
+#| msgid "No local variable defined for buffer \"%s\""
+msgid " - ${name}: the local variable in buffer"
+msgstr "Nenhuma variável local definida no buffer \"%s\""
+
+msgid ""
+" - the hdata name/variable (the value is automatically converted to "
+"string), by default \"window\" and \"buffer\" point to current window/buffer."
+msgstr ""
+
+msgid "Format for hdata can be one of following:"
+msgstr ""
+
+msgid ""
+" - ${hdata.var1.var2...}: start with a hdata (pointer must be known), and "
+"ask variables one after one (other hdata can be followed)"
+msgstr ""
+
+msgid ""
+" - ${hdata[list].var1.var2...}: start with a hdata using a list/pointer/"
+"pointer name, for example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[gui_buffers].full_name}: full name of first buffer in linked "
+"list of buffers"
+msgstr ""
+
+msgid ""
+" - ${plugin[weechat_plugins].name}: name of first plugin in linked list "
+"of plugins"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.var2...}: start with a hdata using a pointer, for "
+"example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[0x1234abcd].full_name}: full name of the buffer with this "
+"pointer (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${buffer[my_pointer].full_name}: full name of the buffer with this "
+"pointer name (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.method()}: when var1 is a hashtable, methods can "
+"be called: \"keys()\", \"values()\", \"keys_sorted()\", \"keys_values()\" "
+"and \"keys_values_sorted()\""
+msgstr ""
+
+msgid ""
+"For name of hdata and variables, please look at \"Plugin API reference\", "
+"function \"weechat_hdata_get\"."
+msgstr ""
+
msgid "Examples (simple strings):"
msgstr ""
@@ -16718,11 +16947,3 @@ msgstr "%s%s: tempo limite de \"%s\" com %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: não foi possível conectar: erro inesperado (%d)"
-
-#~ msgid "auto open relay buffer when a new client is connecting"
-#~ msgstr ""
-#~ "abrir automaticamente o buffer de reencaminhamento quando um novo cliente "
-#~ "se conecta"
-
-#~ msgid "time format when quoting a message (see /help cursor)"
-#~ msgstr "formato de data/hora ao citar uma mensagem (ver /help cursor)"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index af578dd1b..1de43b7b4 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2024-02-11 21:44+0100\n"
-"PO-Revision-Date: 2023-10-20 13:11+0200\n"
+"POT-Creation-Date: 2024-02-17 09:40+0100\n"
+"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: pt_BR\n"
@@ -1793,6 +1793,234 @@ msgid ""
"expression, for example: 50 > 100 == 0 and \"50\" > \"100\" == 1"
msgstr ""
+msgid ""
+"Some variables are replaced in expression, using the format ${variable}, "
+"which can be, by order of priority:"
+msgstr ""
+
+msgid ""
+" - ${raw_hl:string}: the string itself without evaluation but with syntax "
+"highlighting"
+msgstr ""
+
+msgid " - ${raw:string}: the string itself without evaluation"
+msgstr ""
+
+msgid " - ${hl:string}: the string with syntax highlighting"
+msgstr ""
+
+msgid " - ${name}: the user-defined variable"
+msgstr ""
+
+#, fuzzy
+msgid " - ${weechat_config_dir}: WeeChat config directory"
+msgstr "diretório do WeeChat"
+
+#, fuzzy
+msgid " - ${weechat_data_dir}: WeeChat data directory"
+msgstr "diretório do WeeChat"
+
+#, fuzzy
+msgid " - ${weechat_cache_dir}: WeeChat cache directory"
+msgstr "diretório \"locale\" do WeeChat"
+
+#, fuzzy
+msgid " - ${weechat_runtmie_dir}: WeeChat runtime directory"
+msgstr "diretório do WeeChat"
+
+msgid " - ${eval:string}: the evaluated string"
+msgstr ""
+
+#, fuzzy
+#| msgid "values for a configuration option"
+msgid " - ${eval_cond:string}: the evaluated condition"
+msgstr "valores para uma opção de configuração"
+
+msgid " - ${esc:string} or ${\\string}: the string with escaped chars"
+msgstr ""
+
+msgid ""
+" - ${chars:range}: the string with a range of chars, \"range\" is one of: "
+"\"digit\", \"xdigit\", \"lower\", \"upper\", \"alpha\", \"alnum\" or \"c1-"
+"c2\" (\"c1\" and \"c2\" are code points with c1 ≤ c2)"
+msgstr ""
+
+msgid " - ${lower:string}: the string converted to lower case"
+msgstr ""
+
+msgid " - ${upper:string}: the string converted to upper case"
+msgstr ""
+
+msgid " - ${hide:char,string}: the string with hidden chars"
+msgstr ""
+
+msgid ""
+" - ${cut:max,suffix,string}: the string with max chars (excluding the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cut:+max,suffix,string}: the string with max chars (including the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:max,suffix,string}: the string with max chars displayed on "
+"screen (excluding the suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:+max,suffix,string}: the string with max chars displayed on "
+"screen (including the suffix)"
+msgstr ""
+
+msgid " - ${rev:string}: the reversed string"
+msgstr ""
+
+msgid ""
+" - ${revscr:string}: the reversed string for display (color codes are not "
+"reversed)"
+msgstr ""
+
+msgid " - ${repeat:count,string}: the repeated string"
+msgstr ""
+
+msgid " - ${length:string}: the length of the string (number of UTF-8 chars)"
+msgstr ""
+
+msgid ""
+" - ${lengthscr:string}: the length of the string on screen (sum of the "
+"width of each UTF-8 char displayed on screen, colors codes are ignored)"
+msgstr ""
+
+msgid ""
+" - ${split:n,separators,flags,string}: split of the string (n can be an "
+"integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${split_shell:n,string}: split of shell arguments (n can be an integer ≥ "
+"1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${color:name}: the color (see \"Plugin API reference\", function "
+"\"color\")"
+msgstr ""
+
+msgid " - ${modifier:name,data,string}: the modifier"
+msgstr ""
+
+msgid " - ${info:name,arguments}: the info (arguments are optional)"
+msgstr ""
+
+msgid ""
+" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid ""
+" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid " - ${date} or ${date:format}: current date/time"
+msgstr ""
+
+#, fuzzy
+msgid " - ${env:NAME}: the environment variable"
+msgstr "Variáveis"
+
+msgid ""
+" - ${if:condition?value_if_true:value_if_false}: the result of ternary "
+"operator"
+msgstr ""
+
+msgid ""
+" - ${calc:expression}: the result of the expression with parentheses and "
+"operators (+, -, *, /, //, %, **)"
+msgstr ""
+
+msgid ""
+" - ${random:min,max}: a random integer number between \"min\" and "
+"\"max\" (inclusive)"
+msgstr ""
+
+msgid " - ${translate:string}: the translated string"
+msgstr ""
+
+msgid ""
+" - ${define:name,value}: declaration of a user variable (return an empty "
+"string)"
+msgstr ""
+
+msgid " - ${sec.data.xxx}: the value of the secured data \"xxx\""
+msgstr ""
+
+#, fuzzy
+#| msgid "values for a configuration option"
+msgid " - ${file.section.option}: the value of the config option"
+msgstr "valores para uma opção de configuração"
+
+#, fuzzy
+#| msgid "No local variable defined for buffer \"%s\""
+msgid " - ${name}: the local variable in buffer"
+msgstr "Nenhuma variável local definida para o buffer \"%s\""
+
+msgid ""
+" - the hdata name/variable (the value is automatically converted to "
+"string), by default \"window\" and \"buffer\" point to current window/buffer."
+msgstr ""
+
+msgid "Format for hdata can be one of following:"
+msgstr ""
+
+msgid ""
+" - ${hdata.var1.var2...}: start with a hdata (pointer must be known), and "
+"ask variables one after one (other hdata can be followed)"
+msgstr ""
+
+msgid ""
+" - ${hdata[list].var1.var2...}: start with a hdata using a list/pointer/"
+"pointer name, for example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[gui_buffers].full_name}: full name of first buffer in linked "
+"list of buffers"
+msgstr ""
+
+msgid ""
+" - ${plugin[weechat_plugins].name}: name of first plugin in linked list "
+"of plugins"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.var2...}: start with a hdata using a pointer, for "
+"example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[0x1234abcd].full_name}: full name of the buffer with this "
+"pointer (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${buffer[my_pointer].full_name}: full name of the buffer with this "
+"pointer name (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.method()}: when var1 is a hashtable, methods can "
+"be called: \"keys()\", \"values()\", \"keys_sorted()\", \"keys_values()\" "
+"and \"keys_values_sorted()\""
+msgstr ""
+
+msgid ""
+"For name of hdata and variables, please look at \"Plugin API reference\", "
+"function \"weechat_hdata_get\"."
+msgstr ""
+
msgid "Examples (simple strings):"
msgstr ""
@@ -15762,7 +15990,3 @@ msgstr "%s%s: tempo esgotado para \"%s\" com %s"
#, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: não foi possível conectar ao remetente"
-
-#, c-format
-#~ msgid "%s%s: error creating server option \"%s\""
-#~ msgstr "%s%s: erro ao criar opção do servidor \"%s\""
diff --git a/po/ru.po b/po/ru.po
index b867cb741..046a69881 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2024-02-11 21:44+0100\n"
+"POT-Creation-Date: 2024-02-17 09:40+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"
@@ -1718,6 +1718,232 @@ msgid ""
"expression, for example: 50 > 100 == 0 and \"50\" > \"100\" == 1"
msgstr ""
+msgid ""
+"Some variables are replaced in expression, using the format ${variable}, "
+"which can be, by order of priority:"
+msgstr ""
+
+msgid ""
+" - ${raw_hl:string}: the string itself without evaluation but with syntax "
+"highlighting"
+msgstr ""
+
+msgid " - ${raw:string}: the string itself without evaluation"
+msgstr ""
+
+msgid " - ${hl:string}: the string with syntax highlighting"
+msgstr ""
+
+msgid " - ${name}: the user-defined variable"
+msgstr ""
+
+#, fuzzy
+msgid " - ${weechat_config_dir}: WeeChat config directory"
+msgstr "Ошибка WeeChat:"
+
+#, fuzzy
+msgid " - ${weechat_data_dir}: WeeChat data directory"
+msgstr "Ошибка WeeChat:"
+
+#, fuzzy
+msgid " - ${weechat_cache_dir}: WeeChat cache directory"
+msgstr "Ошибка WeeChat:"
+
+#, fuzzy
+msgid " - ${weechat_runtmie_dir}: WeeChat runtime directory"
+msgstr "Ошибка WeeChat:"
+
+msgid " - ${eval:string}: the evaluated string"
+msgstr ""
+
+#, fuzzy
+msgid " - ${eval_cond:string}: the evaluated condition"
+msgstr "Не найден параметр\n"
+
+msgid " - ${esc:string} or ${\\string}: the string with escaped chars"
+msgstr ""
+
+msgid ""
+" - ${chars:range}: the string with a range of chars, \"range\" is one of: "
+"\"digit\", \"xdigit\", \"lower\", \"upper\", \"alpha\", \"alnum\" or \"c1-"
+"c2\" (\"c1\" and \"c2\" are code points with c1 ≤ c2)"
+msgstr ""
+
+msgid " - ${lower:string}: the string converted to lower case"
+msgstr ""
+
+msgid " - ${upper:string}: the string converted to upper case"
+msgstr ""
+
+msgid " - ${hide:char,string}: the string with hidden chars"
+msgstr ""
+
+msgid ""
+" - ${cut:max,suffix,string}: the string with max chars (excluding the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cut:+max,suffix,string}: the string with max chars (including the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:max,suffix,string}: the string with max chars displayed on "
+"screen (excluding the suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:+max,suffix,string}: the string with max chars displayed on "
+"screen (including the suffix)"
+msgstr ""
+
+msgid " - ${rev:string}: the reversed string"
+msgstr ""
+
+msgid ""
+" - ${revscr:string}: the reversed string for display (color codes are not "
+"reversed)"
+msgstr ""
+
+msgid " - ${repeat:count,string}: the repeated string"
+msgstr ""
+
+msgid " - ${length:string}: the length of the string (number of UTF-8 chars)"
+msgstr ""
+
+msgid ""
+" - ${lengthscr:string}: the length of the string on screen (sum of the "
+"width of each UTF-8 char displayed on screen, colors codes are ignored)"
+msgstr ""
+
+msgid ""
+" - ${split:n,separators,flags,string}: split of the string (n can be an "
+"integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${split_shell:n,string}: split of shell arguments (n can be an integer ≥ "
+"1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${color:name}: the color (see \"Plugin API reference\", function "
+"\"color\")"
+msgstr ""
+
+msgid " - ${modifier:name,data,string}: the modifier"
+msgstr ""
+
+msgid " - ${info:name,arguments}: the info (arguments are optional)"
+msgstr ""
+
+msgid ""
+" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid ""
+" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid " - ${date} or ${date:format}: current date/time"
+msgstr ""
+
+#, fuzzy
+msgid " - ${env:NAME}: the environment variable"
+msgstr " . тип: целочисленный\n"
+
+msgid ""
+" - ${if:condition?value_if_true:value_if_false}: the result of ternary "
+"operator"
+msgstr ""
+
+msgid ""
+" - ${calc:expression}: the result of the expression with parentheses and "
+"operators (+, -, *, /, //, %, **)"
+msgstr ""
+
+msgid ""
+" - ${random:min,max}: a random integer number between \"min\" and "
+"\"max\" (inclusive)"
+msgstr ""
+
+msgid " - ${translate:string}: the translated string"
+msgstr ""
+
+msgid ""
+" - ${define:name,value}: declaration of a user variable (return an empty "
+"string)"
+msgstr ""
+
+msgid " - ${sec.data.xxx}: the value of the secured data \"xxx\""
+msgstr ""
+
+#, fuzzy
+msgid " - ${file.section.option}: the value of the config option"
+msgstr "Не найден параметр\n"
+
+#, fuzzy
+#| msgid "No local variable defined for buffer \"%s\""
+msgid " - ${name}: the local variable in buffer"
+msgstr "Нет локальной переменной определённой для буфера \"%s\""
+
+msgid ""
+" - the hdata name/variable (the value is automatically converted to "
+"string), by default \"window\" and \"buffer\" point to current window/buffer."
+msgstr ""
+
+msgid "Format for hdata can be one of following:"
+msgstr ""
+
+msgid ""
+" - ${hdata.var1.var2...}: start with a hdata (pointer must be known), and "
+"ask variables one after one (other hdata can be followed)"
+msgstr ""
+
+msgid ""
+" - ${hdata[list].var1.var2...}: start with a hdata using a list/pointer/"
+"pointer name, for example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[gui_buffers].full_name}: full name of first buffer in linked "
+"list of buffers"
+msgstr ""
+
+msgid ""
+" - ${plugin[weechat_plugins].name}: name of first plugin in linked list "
+"of plugins"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.var2...}: start with a hdata using a pointer, for "
+"example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[0x1234abcd].full_name}: full name of the buffer with this "
+"pointer (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${buffer[my_pointer].full_name}: full name of the buffer with this "
+"pointer name (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.method()}: when var1 is a hashtable, methods can "
+"be called: \"keys()\", \"values()\", \"keys_sorted()\", \"keys_values()\" "
+"and \"keys_values_sorted()\""
+msgstr ""
+
+msgid ""
+"For name of hdata and variables, please look at \"Plugin API reference\", "
+"function \"weechat_hdata_get\"."
+msgstr ""
+
msgid "Examples (simple strings):"
msgstr ""
diff --git a/po/sr.po b/po/sr.po
index 973eb04c8..3aeeec9b0 100644
--- a/po/sr.po
+++ b/po/sr.po
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2024-02-11 21:44+0100\n"
-"PO-Revision-Date: 2024-01-15 10:23+0400\n"
+"POT-Creation-Date: 2024-02-17 09:40+0100\n"
+"PO-Revision-Date: 2024-02-17 10:08+0100\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: sr\n"
@@ -1834,6 +1834,243 @@ msgstr ""
"Ако желите да форсирате поређење стрингова, можете да додате знаке навода "
"око сваког израза, на пример: 50 > 100 == 0 и \"50\" > \"100\" == 1"
+msgid ""
+"Some variables are replaced in expression, using the format ${variable}, "
+"which can be, by order of priority:"
+msgstr ""
+
+msgid ""
+" - ${raw_hl:string}: the string itself without evaluation but with syntax "
+"highlighting"
+msgstr ""
+
+msgid " - ${raw:string}: the string itself without evaluation"
+msgstr ""
+
+msgid " - ${hl:string}: the string with syntax highlighting"
+msgstr ""
+
+msgid " - ${name}: the user-defined variable"
+msgstr ""
+
+#, fuzzy
+#| msgid "WeeChat config directory"
+msgid " - ${weechat_config_dir}: WeeChat config directory"
+msgstr "WeeChat конфигурациони директоријум"
+
+#, fuzzy
+#| msgid "WeeChat data directory"
+msgid " - ${weechat_data_dir}: WeeChat data directory"
+msgstr "WeeChat директоријум са подацима"
+
+#, fuzzy
+#| msgid "WeeChat cache directory"
+msgid " - ${weechat_cache_dir}: WeeChat cache directory"
+msgstr "WeeChat кеш директоријум"
+
+#, fuzzy
+#| msgid "WeeChat runtime directory"
+msgid " - ${weechat_runtmie_dir}: WeeChat runtime directory"
+msgstr "WeeChat директоријум за време извршавања"
+
+msgid " - ${eval:string}: the evaluated string"
+msgstr ""
+
+#, fuzzy
+#| msgid "toggle value of a config option"
+msgid " - ${eval_cond:string}: the evaluated condition"
+msgstr "пребацује вредност опције конфигурације"
+
+msgid " - ${esc:string} or ${\\string}: the string with escaped chars"
+msgstr ""
+
+msgid ""
+" - ${chars:range}: the string with a range of chars, \"range\" is one of: "
+"\"digit\", \"xdigit\", \"lower\", \"upper\", \"alpha\", \"alnum\" or \"c1-"
+"c2\" (\"c1\" and \"c2\" are code points with c1 ≤ c2)"
+msgstr ""
+
+msgid " - ${lower:string}: the string converted to lower case"
+msgstr ""
+
+msgid " - ${upper:string}: the string converted to upper case"
+msgstr ""
+
+msgid " - ${hide:char,string}: the string with hidden chars"
+msgstr ""
+
+msgid ""
+" - ${cut:max,suffix,string}: the string with max chars (excluding the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cut:+max,suffix,string}: the string with max chars (including the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:max,suffix,string}: the string with max chars displayed on "
+"screen (excluding the suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:+max,suffix,string}: the string with max chars displayed on "
+"screen (including the suffix)"
+msgstr ""
+
+msgid " - ${rev:string}: the reversed string"
+msgstr ""
+
+msgid ""
+" - ${revscr:string}: the reversed string for display (color codes are not "
+"reversed)"
+msgstr ""
+
+msgid " - ${repeat:count,string}: the repeated string"
+msgstr ""
+
+msgid " - ${length:string}: the length of the string (number of UTF-8 chars)"
+msgstr ""
+
+msgid ""
+" - ${lengthscr:string}: the length of the string on screen (sum of the "
+"width of each UTF-8 char displayed on screen, colors codes are ignored)"
+msgstr ""
+
+msgid ""
+" - ${split:n,separators,flags,string}: split of the string (n can be an "
+"integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${split_shell:n,string}: split of shell arguments (n can be an integer ≥ "
+"1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${color:name}: the color (see \"Plugin API reference\", function "
+"\"color\")"
+msgstr ""
+
+msgid " - ${modifier:name,data,string}: the modifier"
+msgstr ""
+
+#, fuzzy
+#| msgid "arguments: optional arguments for the action"
+msgid " - ${info:name,arguments}: the info (arguments are optional)"
+msgstr "аргументи: необавезни аргументи акције"
+
+msgid ""
+" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid ""
+" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid " - ${date} or ${date:format}: current date/time"
+msgstr ""
+
+#, fuzzy
+#| msgid "value of an environment variable"
+msgid " - ${env:NAME}: the environment variable"
+msgstr "вредност променљиве окружења"
+
+msgid ""
+" - ${if:condition?value_if_true:value_if_false}: the result of ternary "
+"operator"
+msgstr ""
+
+msgid ""
+" - ${calc:expression}: the result of the expression with parentheses and "
+"operators (+, -, *, /, //, %, **)"
+msgstr ""
+
+msgid ""
+" - ${random:min,max}: a random integer number between \"min\" and "
+"\"max\" (inclusive)"
+msgstr ""
+
+#, fuzzy
+#| msgid " - ${type}: option type (translated)"
+msgid " - ${translate:string}: the translated string"
+msgstr " - ${type}: тип опције (преведени)"
+
+msgid ""
+" - ${define:name,value}: declaration of a user variable (return an empty "
+"string)"
+msgstr ""
+
+msgid " - ${sec.data.xxx}: the value of the secured data \"xxx\""
+msgstr ""
+
+#, fuzzy
+#| msgid "toggle value of a config option"
+msgid " - ${file.section.option}: the value of the config option"
+msgstr "пребацује вредност опције конфигурације"
+
+#, fuzzy
+#| msgid "raw[setvar]: set a local variable in the current buffer"
+msgid " - ${name}: the local variable in buffer"
+msgstr "raw[setvar]: поставља локалну променљиву у текући бафер"
+
+msgid ""
+" - the hdata name/variable (the value is automatically converted to "
+"string), by default \"window\" and \"buffer\" point to current window/buffer."
+msgstr ""
+
+msgid "Format for hdata can be one of following:"
+msgstr ""
+
+msgid ""
+" - ${hdata.var1.var2...}: start with a hdata (pointer must be known), and "
+"ask variables one after one (other hdata can be followed)"
+msgstr ""
+
+msgid ""
+" - ${hdata[list].var1.var2...}: start with a hdata using a list/pointer/"
+"pointer name, for example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[gui_buffers].full_name}: full name of first buffer in linked "
+"list of buffers"
+msgstr ""
+
+msgid ""
+" - ${plugin[weechat_plugins].name}: name of first plugin in linked list "
+"of plugins"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.var2...}: start with a hdata using a pointer, for "
+"example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[0x1234abcd].full_name}: full name of the buffer with this "
+"pointer (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${buffer[my_pointer].full_name}: full name of the buffer with this "
+"pointer name (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.method()}: when var1 is a hashtable, methods can "
+"be called: \"keys()\", \"values()\", \"keys_sorted()\", \"keys_values()\" "
+"and \"keys_values_sorted()\""
+msgstr ""
+
+msgid ""
+"For name of hdata and variables, please look at \"Plugin API reference\", "
+"function \"weechat_hdata_get\"."
+msgstr ""
+
msgid "Examples (simple strings):"
msgstr "Примери (једноставни стрингови):"
@@ -16705,20 +16942,3 @@ msgstr "%s%s: тајмаут за „%s” са %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: повезивање није успело: неочекивана грешка (%d)"
-
-#~ msgid "auto open relay buffer when a new client is connecting"
-#~ msgstr "ауто отварање релеј бафера када се повезује нови корисник"
-
-#~ msgid "name: jump to buffer by (partial) name"
-#~ msgstr "име: скок на бафер под (делимичним) именом"
-
-#~ msgid ""
-#~ "> date/time (ISO 8601): yyyy-mm-ddThh:mm:ss, example: 2014-01-19T04:32:55"
-#~ msgstr ""
-#~ "> датум/време (ISO 8601): гггг-мм-ддTчч:мм:сс, пример: 2021-01-23T04:32:55"
-
-#~ msgid "> time: hh:mm:ss (example: 04:32:55)"
-#~ msgstr "> време: чч:мм:сс (пример: 04:32:55)"
-
-#~ msgid "time format when quoting a message (see /help cursor)"
-#~ msgstr "формат времена када се цитира порука (погледајте /help cursor)"
diff --git a/po/tr.po b/po/tr.po
index 79c3c8190..b248595a3 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2024-02-11 21:44+0100\n"
-"PO-Revision-Date: 2023-11-29 09:59+0100\n"
+"POT-Creation-Date: 2024-02-17 09:40+0100\n"
+"PO-Revision-Date: 2024-02-17 10:08+0100\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: tr\n"
@@ -1863,6 +1863,239 @@ msgid ""
"expression, for example: 50 > 100 == 0 and \"50\" > \"100\" == 1"
msgstr ""
+msgid ""
+"Some variables are replaced in expression, using the format ${variable}, "
+"which can be, by order of priority:"
+msgstr ""
+
+msgid ""
+" - ${raw_hl:string}: the string itself without evaluation but with syntax "
+"highlighting"
+msgstr ""
+
+msgid " - ${raw:string}: the string itself without evaluation"
+msgstr ""
+
+msgid " - ${hl:string}: the string with syntax highlighting"
+msgstr ""
+
+msgid " - ${name}: the user-defined variable"
+msgstr ""
+
+#, fuzzy
+#| msgid "WeeChat config directory"
+msgid " - ${weechat_config_dir}: WeeChat config directory"
+msgstr "WeeChat yapılandırma dizini"
+
+#, fuzzy
+#| msgid "WeeChat data directory"
+msgid " - ${weechat_data_dir}: WeeChat data directory"
+msgstr "WeeChat veri dizini"
+
+#, fuzzy
+#| msgid "WeeChat cache directory"
+msgid " - ${weechat_cache_dir}: WeeChat cache directory"
+msgstr "WeeChat önbellek dizini"
+
+#, fuzzy
+#| msgid "WeeChat runtime directory"
+msgid " - ${weechat_runtmie_dir}: WeeChat runtime directory"
+msgstr "WeeChat çalışma zamanı dizini"
+
+msgid " - ${eval:string}: the evaluated string"
+msgstr ""
+
+#, fuzzy
+#| msgid "toggle value of a config option"
+msgid " - ${eval_cond:string}: the evaluated condition"
+msgstr "bir yapılandırma seçeneğinin değerini aç/kapat"
+
+msgid " - ${esc:string} or ${\\string}: the string with escaped chars"
+msgstr ""
+
+msgid ""
+" - ${chars:range}: the string with a range of chars, \"range\" is one of: "
+"\"digit\", \"xdigit\", \"lower\", \"upper\", \"alpha\", \"alnum\" or \"c1-"
+"c2\" (\"c1\" and \"c2\" are code points with c1 ≤ c2)"
+msgstr ""
+
+msgid " - ${lower:string}: the string converted to lower case"
+msgstr ""
+
+msgid " - ${upper:string}: the string converted to upper case"
+msgstr ""
+
+msgid " - ${hide:char,string}: the string with hidden chars"
+msgstr ""
+
+msgid ""
+" - ${cut:max,suffix,string}: the string with max chars (excluding the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cut:+max,suffix,string}: the string with max chars (including the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:max,suffix,string}: the string with max chars displayed on "
+"screen (excluding the suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:+max,suffix,string}: the string with max chars displayed on "
+"screen (including the suffix)"
+msgstr ""
+
+msgid " - ${rev:string}: the reversed string"
+msgstr ""
+
+msgid ""
+" - ${revscr:string}: the reversed string for display (color codes are not "
+"reversed)"
+msgstr ""
+
+msgid " - ${repeat:count,string}: the repeated string"
+msgstr ""
+
+msgid " - ${length:string}: the length of the string (number of UTF-8 chars)"
+msgstr ""
+
+msgid ""
+" - ${lengthscr:string}: the length of the string on screen (sum of the "
+"width of each UTF-8 char displayed on screen, colors codes are ignored)"
+msgstr ""
+
+msgid ""
+" - ${split:n,separators,flags,string}: split of the string (n can be an "
+"integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${split_shell:n,string}: split of shell arguments (n can be an integer ≥ "
+"1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${color:name}: the color (see \"Plugin API reference\", function "
+"\"color\")"
+msgstr ""
+
+msgid " - ${modifier:name,data,string}: the modifier"
+msgstr ""
+
+msgid " - ${info:name,arguments}: the info (arguments are optional)"
+msgstr ""
+
+msgid ""
+" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid ""
+" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid " - ${date} or ${date:format}: current date/time"
+msgstr ""
+
+#, fuzzy
+#| msgid "value of an environment variable"
+msgid " - ${env:NAME}: the environment variable"
+msgstr "bir çevre değişkeninin değeri"
+
+msgid ""
+" - ${if:condition?value_if_true:value_if_false}: the result of ternary "
+"operator"
+msgstr ""
+
+msgid ""
+" - ${calc:expression}: the result of the expression with parentheses and "
+"operators (+, -, *, /, //, %, **)"
+msgstr ""
+
+msgid ""
+" - ${random:min,max}: a random integer number between \"min\" and "
+"\"max\" (inclusive)"
+msgstr ""
+
+msgid " - ${translate:string}: the translated string"
+msgstr ""
+
+msgid ""
+" - ${define:name,value}: declaration of a user variable (return an empty "
+"string)"
+msgstr ""
+
+msgid " - ${sec.data.xxx}: the value of the secured data \"xxx\""
+msgstr ""
+
+#, fuzzy
+#| msgid "toggle value of a config option"
+msgid " - ${file.section.option}: the value of the config option"
+msgstr "bir yapılandırma seçeneğinin değerini aç/kapat"
+
+#, fuzzy
+#| msgid "No local variable defined for buffer \"%s\""
+msgid " - ${name}: the local variable in buffer"
+msgstr "\"%s\" arabelleği için bir yerel değişken tanımlanmamış"
+
+msgid ""
+" - the hdata name/variable (the value is automatically converted to "
+"string), by default \"window\" and \"buffer\" point to current window/buffer."
+msgstr ""
+
+msgid "Format for hdata can be one of following:"
+msgstr ""
+
+msgid ""
+" - ${hdata.var1.var2...}: start with a hdata (pointer must be known), and "
+"ask variables one after one (other hdata can be followed)"
+msgstr ""
+
+msgid ""
+" - ${hdata[list].var1.var2...}: start with a hdata using a list/pointer/"
+"pointer name, for example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[gui_buffers].full_name}: full name of first buffer in linked "
+"list of buffers"
+msgstr ""
+
+msgid ""
+" - ${plugin[weechat_plugins].name}: name of first plugin in linked list "
+"of plugins"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.var2...}: start with a hdata using a pointer, for "
+"example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[0x1234abcd].full_name}: full name of the buffer with this "
+"pointer (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${buffer[my_pointer].full_name}: full name of the buffer with this "
+"pointer name (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.method()}: when var1 is a hashtable, methods can "
+"be called: \"keys()\", \"values()\", \"keys_sorted()\", \"keys_values()\" "
+"and \"keys_values_sorted()\""
+msgstr ""
+
+msgid ""
+"For name of hdata and variables, please look at \"Plugin API reference\", "
+"function \"weechat_hdata_get\"."
+msgstr ""
+
msgid "Examples (simple strings):"
msgstr ""
@@ -16982,10 +17215,3 @@ msgstr "%s%s: \"%s\" için %s ile zaman aşımı"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: Bağlanılamıyor: Beklenmedik hata (%d)"
-
-#~ msgid "auto open relay buffer when a new client is connecting"
-#~ msgstr "yeni bir istemci bağlanırken iletim arabelleğini kendiliğinden aç"
-
-#~ msgid "time format when quoting a message (see /help cursor)"
-#~ msgstr ""
-#~ "bir iletiyi alıntılarken kullanılacak zaman biçimi (bkz. /help cursor)"
diff --git a/po/weechat.pot b/po/weechat.pot
index 7b5eb4258..f80837d60 100644
--- a/po/weechat.pot
+++ b/po/weechat.pot
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2024-02-11 21:44+0100\n"
+"POT-Creation-Date: 2024-02-17 09:40+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"
@@ -1589,6 +1589,223 @@ msgid ""
"expression, for example: 50 > 100 == 0 and \"50\" > \"100\" == 1"
msgstr ""
+msgid ""
+"Some variables are replaced in expression, using the format ${variable}, "
+"which can be, by order of priority:"
+msgstr ""
+
+msgid ""
+" - ${raw_hl:string}: the string itself without evaluation but with syntax "
+"highlighting"
+msgstr ""
+
+msgid " - ${raw:string}: the string itself without evaluation"
+msgstr ""
+
+msgid " - ${hl:string}: the string with syntax highlighting"
+msgstr ""
+
+msgid " - ${name}: the user-defined variable"
+msgstr ""
+
+msgid " - ${weechat_config_dir}: WeeChat config directory"
+msgstr ""
+
+msgid " - ${weechat_data_dir}: WeeChat data directory"
+msgstr ""
+
+msgid " - ${weechat_cache_dir}: WeeChat cache directory"
+msgstr ""
+
+msgid " - ${weechat_runtmie_dir}: WeeChat runtime directory"
+msgstr ""
+
+msgid " - ${eval:string}: the evaluated string"
+msgstr ""
+
+msgid " - ${eval_cond:string}: the evaluated condition"
+msgstr ""
+
+msgid " - ${esc:string} or ${\\string}: the string with escaped chars"
+msgstr ""
+
+msgid ""
+" - ${chars:range}: the string with a range of chars, \"range\" is one of: "
+"\"digit\", \"xdigit\", \"lower\", \"upper\", \"alpha\", \"alnum\" or \"c1-"
+"c2\" (\"c1\" and \"c2\" are code points with c1 ≤ c2)"
+msgstr ""
+
+msgid " - ${lower:string}: the string converted to lower case"
+msgstr ""
+
+msgid " - ${upper:string}: the string converted to upper case"
+msgstr ""
+
+msgid " - ${hide:char,string}: the string with hidden chars"
+msgstr ""
+
+msgid ""
+" - ${cut:max,suffix,string}: the string with max chars (excluding the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cut:+max,suffix,string}: the string with max chars (including the "
+"suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:max,suffix,string}: the string with max chars displayed on "
+"screen (excluding the suffix)"
+msgstr ""
+
+msgid ""
+" - ${cutscr:+max,suffix,string}: the string with max chars displayed on "
+"screen (including the suffix)"
+msgstr ""
+
+msgid " - ${rev:string}: the reversed string"
+msgstr ""
+
+msgid ""
+" - ${revscr:string}: the reversed string for display (color codes are not "
+"reversed)"
+msgstr ""
+
+msgid " - ${repeat:count,string}: the repeated string"
+msgstr ""
+
+msgid " - ${length:string}: the length of the string (number of UTF-8 chars)"
+msgstr ""
+
+msgid ""
+" - ${lengthscr:string}: the length of the string on screen (sum of the "
+"width of each UTF-8 char displayed on screen, colors codes are ignored)"
+msgstr ""
+
+msgid ""
+" - ${split:n,separators,flags,string}: split of the string (n can be an "
+"integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${split_shell:n,string}: split of shell arguments (n can be an integer ≥ "
+"1, an integer ≤ -1, \"count\" or \"random\")"
+msgstr ""
+
+msgid ""
+" - ${color:name}: the color (see \"Plugin API reference\", function "
+"\"color\")"
+msgstr ""
+
+msgid " - ${modifier:name,data,string}: the modifier"
+msgstr ""
+
+msgid " - ${info:name,arguments}: the info (arguments are optional)"
+msgstr ""
+
+msgid ""
+" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid ""
+" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or "
+"64url"
+msgstr ""
+
+msgid " - ${date} or ${date:format}: current date/time"
+msgstr ""
+
+msgid " - ${env:NAME}: the environment variable"
+msgstr ""
+
+msgid ""
+" - ${if:condition?value_if_true:value_if_false}: the result of ternary "
+"operator"
+msgstr ""
+
+msgid ""
+" - ${calc:expression}: the result of the expression with parentheses and "
+"operators (+, -, *, /, //, %, **)"
+msgstr ""
+
+msgid ""
+" - ${random:min,max}: a random integer number between \"min\" and "
+"\"max\" (inclusive)"
+msgstr ""
+
+msgid " - ${translate:string}: the translated string"
+msgstr ""
+
+msgid ""
+" - ${define:name,value}: declaration of a user variable (return an empty "
+"string)"
+msgstr ""
+
+msgid " - ${sec.data.xxx}: the value of the secured data \"xxx\""
+msgstr ""
+
+msgid " - ${file.section.option}: the value of the config option"
+msgstr ""
+
+msgid " - ${name}: the local variable in buffer"
+msgstr ""
+
+msgid ""
+" - the hdata name/variable (the value is automatically converted to "
+"string), by default \"window\" and \"buffer\" point to current window/buffer."
+msgstr ""
+
+msgid "Format for hdata can be one of following:"
+msgstr ""
+
+msgid ""
+" - ${hdata.var1.var2...}: start with a hdata (pointer must be known), and "
+"ask variables one after one (other hdata can be followed)"
+msgstr ""
+
+msgid ""
+" - ${hdata[list].var1.var2...}: start with a hdata using a list/pointer/"
+"pointer name, for example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[gui_buffers].full_name}: full name of first buffer in linked "
+"list of buffers"
+msgstr ""
+
+msgid ""
+" - ${plugin[weechat_plugins].name}: name of first plugin in linked list "
+"of plugins"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.var2...}: start with a hdata using a pointer, for "
+"example:"
+msgstr ""
+
+msgid ""
+" - ${buffer[0x1234abcd].full_name}: full name of the buffer with this "
+"pointer (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${buffer[my_pointer].full_name}: full name of the buffer with this "
+"pointer name (can be used in triggers)"
+msgstr ""
+
+msgid ""
+" - ${hdata[pointer].var1.method()}: when var1 is a hashtable, methods can "
+"be called: \"keys()\", \"values()\", \"keys_sorted()\", \"keys_values()\" "
+"and \"keys_values_sorted()\""
+msgstr ""
+
+msgid ""
+"For name of hdata and variables, please look at \"Plugin API reference\", "
+"function \"weechat_hdata_get\"."
+msgstr ""
+
msgid "Examples (simple strings):"
msgstr ""
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 876a8eee8..ea503113d 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -8281,6 +8281,84 @@ command_init ()
N_("To force a string comparison, you can add double quotes around "
"each expression, for example: 50 > 100 == 0 and \"50\" > \"100\" == 1"),
"",
+ N_("Some variables are replaced in expression, using the format "
+ "${variable}, which can be, by order of priority:"),
+ N_(" - ${raw_hl:string}: the string itself without evaluation but "
+ "with syntax highlighting"),
+ N_(" - ${raw:string}: the string itself without evaluation"),
+ N_(" - ${hl:string}: the string with syntax highlighting"),
+ N_(" - ${name}: the user-defined variable"),
+ N_(" - ${weechat_config_dir}: WeeChat config directory"),
+ N_(" - ${weechat_data_dir}: WeeChat data directory"),
+ N_(" - ${weechat_cache_dir}: WeeChat cache directory"),
+ N_(" - ${weechat_runtmie_dir}: WeeChat runtime directory"),
+ N_(" - ${eval:string}: the evaluated string"),
+ N_(" - ${eval_cond:string}: the evaluated condition"),
+ N_(" - ${esc:string} or ${\\string}: the string with escaped chars"),
+ N_(" - ${chars:range}: the string with a range of chars, "
+ "\"range\" is one of: \"digit\", \"xdigit\", \"lower\", "
+ "\"upper\", \"alpha\", \"alnum\" or \"c1-c2\" (\"c1\" and \"c2\" "
+ "are code points with c1 ≤ c2)"),
+ N_(" - ${lower:string}: the string converted to lower case"),
+ N_(" - ${upper:string}: the string converted to upper case"),
+ N_(" - ${hide:char,string}: the string with hidden chars"),
+ N_(" - ${cut:max,suffix,string}: the string with max chars (excluding the suffix)"),
+ N_(" - ${cut:+max,suffix,string}: the string with max chars (including the suffix)"),
+ N_(" - ${cutscr:max,suffix,string}: the string with max chars displayed on screen "
+ "(excluding the suffix)"),
+ N_(" - ${cutscr:+max,suffix,string}: the string with max chars displayed on screen "
+ "(including the suffix)"),
+ N_(" - ${rev:string}: the reversed string"),
+ N_(" - ${revscr:string}: the reversed string for display (color codes are not reversed)"),
+ N_(" - ${repeat:count,string}: the repeated string"),
+ N_(" - ${length:string}: the length of the string (number of UTF-8 chars)"),
+ N_(" - ${lengthscr:string}: the length of the string on screen "
+ "(sum of the width of each UTF-8 char displayed on screen, colors codes are ignored)"),
+ N_(" - ${split:n,separators,flags,string}: split of the string "
+ "(n can be an integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"),
+ N_(" - ${split_shell:n,string}: split of shell arguments "
+ "(n can be an integer ≥ 1, an integer ≤ -1, \"count\" or \"random\")"),
+ N_(" - ${color:name}: the color (see \"Plugin API reference\", function \"color\")"),
+ N_(" - ${modifier:name,data,string}: the modifier"),
+ N_(" - ${info:name,arguments}: the info (arguments are optional)"),
+ N_(" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or 64url"),
+ N_(" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or 64url"),
+ N_(" - ${date} or ${date:format}: current date/time"),
+ N_(" - ${env:NAME}: the environment variable"),
+ N_(" - ${if:condition?value_if_true:value_if_false}: the result of ternary operator"),
+ N_(" - ${calc:expression}: the result of the expression with parentheses and operators "
+ "(+, -, *, /, //, %, **)"),
+ N_(" - ${random:min,max}: a random integer number between \"min\" and \"max\" (inclusive)"),
+ N_(" - ${translate:string}: the translated string"),
+ N_(" - ${define:name,value}: declaration of a user variable (return an empty string)"),
+ N_(" - ${sec.data.xxx}: the value of the secured data \"xxx\""),
+ N_(" - ${file.section.option}: the value of the config option"),
+ N_(" - ${name}: the local variable in buffer"),
+ N_(" - the 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/pointer/pointer name, 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_(" - ${hdata[pointer].var1.var2...}: start with a hdata using a "
+ "pointer, for example:"),
+ N_(" - ${buffer[0x1234abcd].full_name}: full name of the buffer "
+ "with this pointer (can be used in triggers)"),
+ N_(" - ${buffer[my_pointer].full_name}: full name of the buffer "
+ "with this pointer name (can be used in triggers)"),
+ N_(" - ${hdata[pointer].var1.method()}: when var1 is a hashtable, "
+ "methods can be called: \"keys()\", \"values()\", \"keys_sorted()\", "
+ "\"keys_values()\" and \"keys_values_sorted()\""),
+ N_("For name of hdata and variables, please look at \"Plugin API "
+ "reference\", function \"weechat_hdata_get\"."),
+ "",
N_("Examples (simple strings):"),
AI(" /eval -n ${raw:${info:version}} ==> ${info:version}"),
AI(" /eval -n ${eval_cond:${window.win_width}>100} ==> 1"),
diff --git a/src/core/wee-eval.c b/src/core/wee-eval.c
index d1422500e..7909f05d0 100644
--- a/src/core/wee-eval.c
+++ b/src/core/wee-eval.c
@@ -1556,54 +1556,63 @@ eval_syntax_highlight (const char *text, struct t_eval_context *eval_context)
/*
* Replaces variables, which can be, by order of priority:
- * - the string itself without evaluation but with syntax highlighting
- * (format: raw_hl:xxx)
- * - the string itself without evaluation (format: raw:xxx)
- * - a string with syntax highlighting (format: hl:xxx)
- * - a variable from hashtable "user_vars" or "extra_vars"
- * - a WeeChat home directory, one of: "weechat_config_dir",
- * "weechat_data_dir", "weechat_cache_dir", "weechat_runtime_dir"
- * - an evaluated string (format: eval:xxx)
- * - a condition to evaluate (format: eval_cond:xxx)
- * - a string with escaped chars (format: esc:xxx or \xxx)
- * - a string with a range of chars (format: chars:range)
- * - a string converted to lower case (format: lower:xxx)
- * - a string converted to upper case (format: upper:xxx)
- * - a string with chars to hide (format: hide:char,string)
- * - a string with max chars (format: cut:max,suffix,string or
- * cut:+max,suffix,string) or max chars on screen
- * (format: cutscr:max,suffix,string or cutscr:+max,suffix,string)
- * - a reversed string (format: rev:xxx) or reversed string for screen,
- * color codes are not reversed (format: revscr:xxx)
- * - a repeated string (format: repeat:count,string)
- * - length of a string (format: length:xxx) or length of a string on screen
- * (format: lengthscr:xxx); color codes are ignored
- * - split string (format: split:number,separators,flags,xxx
- * or split:count,separators,flags,xxx
- * or split:random,separators,flags,xxx)
- * - split shell arguments (format: split_shell:number,xxx or
- * split_shell:count,xxx or split_shell:random,xxx)
- * - a regex group captured (format: re:N (0.99) or re:+)
- * - a color (format: color:xxx)
- * - a modifier (format: modifier:name,data,xxx)
- * - an info (format: info:name,arguments)
- * - a base 16/32/64 encoded/decoded string (format: base_encode:base,xxx
- * or base_decode:base,xxx)
- * - current date/time (format: date or date:format)
- * - an environment variable (format: env:XXX)
- * - a ternary operator (format: if:condition?value_if_true:value_if_false)
- * - calculate result of an expression (format: calc:xxx)
- * - a random integer number in the range from "min" to "max"
- * (format: random:min,max)
- * - a translated string (format: translate:xxx)
- * - define a new variable (format: define:name,value)
- * - an option (format: file.section.option)
- * - a buffer local variable
- * - a pointer name from hashtable "pointers"
- * - a hdata variable (format: hdata.var1.var2 or hdata[list].var1.var2
- * or hdata[ptr].var1.var2 or hdata[ptr_name].var1.var2)
+ * - ${raw_hl:string}: the string itself without evaluation but with syntax highlighting
+ * - ${raw:string}: the string itself without evaluation
+ * - ${hl:string}: the string with syntax highlighting
+ * - ${name}: the variable from hashtable "user_vars" or "extra_vars"
+ * - ${weechat_config_dir}: WeeChat config directory
+ * - ${weechat_data_dir}: WeeChat data directory
+ * - ${weechat_cache_dir}: WeeChat cache directory
+ * - ${weechat_runtmie_dir}: WeeChat runtime directory
+ * - ${eval:string}: the evaluated string
+ * - ${eval_cond:string}: the evaluated condition
+ * - ${esc:string} or ${\\string}: the string with escaped chars
+ * - ${chars:range}: the string with a range of chars, "range" is one of:
+ * "digit", "xdigit", "lower", "upper", "alpha", "alnum" or "c1-c2"
+ * ("c1" and "c2" are code points with c1 ≤ c2)
+ * - ${lower:string}: the string converted to lower case
+ * - ${upper:string}: the string converted to upper case
+ * - ${hide:char,string}: the string with hidden chars
+ * - ${cut:max,suffix,string}: the string with max chars (excluding the suffix)
+ * - ${cut:+max,suffix,string}: the string with max chars (including the suffix)
+ * - ${cutscr:max,suffix,string}: the string with max chars displayed on screen
+ * (excluding the suffix)
+ * - ${cutscr:+max,suffix,string}: the string with max chars displayed on screen
+ * (including the suffix)
+ * - ${rev:string}: the reversed string
+ * - ${revscr:string}: the reversed string for display (color codes are not reversed)
+ * - ${repeat:count,string}: the repeated string
+ * - ${length:string}: the length of the string (number of UTF-8 chars)
+ * - ${lengthscr:string}: the length of the string on screen (sum of the width
+ * of each UTF-8 char displayed on screen, colors codes are ignored)
+ * - ${split:n,separators,flags,string}: split of the string
+ * (n can be an integer ≥ 1, an integer ≤ -1, "count" or "random")
+ * - ${split_shell:n,string}: split of shell arguments
+ * (n can be an integer ≥ 1, an integer ≤ -1, "count" or "random")
+ * - ${re:N} or ${re:+}: a regex group captured (0 ≤ N ≤ 99)
+ * - ${color:name}: the color
+ * - ${modifier:name,data,string}: the modifier
+ * - ${info:name,arguments}: the info (arguments are optional)
+ * - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or 64url
+ * - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or 64url
+ * - ${date} or ${date:format}: current date/time
+ * - ${env:NAME}: the environment variable
+ * - ${if:condition?value_if_true:value_if_false}: the result of ternary operator
+ * - ${calc:expression}: the result of the expression with parentheses and operators
+ * (+, -, *, /, //, %, **)
+ * - ${random:min,max}: a random integer number between "min" and "max" (inclusive)
+ * - ${translate:string}: the translated string
+ * - ${define:name,value}: declaration of a user variable (return an empty string)
+ * - ${sec.data.xxx}: the value of the secured data "xxx"
+ * - ${file.section.option}: the value of the config option
+ * - ${name}: the local variable in buffer
+ * - ${name}: the pointer name from hashtable "pointers"
+ * - ${hdata.var1.var2}: hdata with name
+ * - ${hdata[list].var1.var2}: hdata with list
+ * - ${hdata[ptr].var1.var2}: hdata with pointer
+ * - ${hdata[ptr_name].var1.var2}: hdata with name of pointer
*
- * See /help in WeeChat for examples.
+ * See `/help eval` in WeeChat for examples.
*
* Note: result must be freed after use.
*/