mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +02:00
core: add syntax highlighting in evaluation of expressions, add option weechat.color.eval_syntax_colors (issue #2042)
Syntax highlighting (raw string without evaluation): `${raw_hl:xxx}`
Syntax highlighting: `${hl:xxx}`
This commit is contained in:
@@ -15,6 +15,7 @@ For a list of important changes that require manual actions, please look at rele
|
||||
|
||||
New features::
|
||||
|
||||
* core: add syntax highlighting in evaluation of expressions with `raw_hl:string` and `hl:string`, add option weechat.color.eval_syntax_colors (issue #2042)
|
||||
* core: add option `search_history` in command `/input`, add key kbd:[Ctrl+r] to search in commands history, add key context "histsearch" (issue #2040)
|
||||
* core: add option weechat.look.buffer_search_history (issue #2040)
|
||||
* core: add key kbd:[Ctrl+o] to send command found and insert next one in input (issue #2040)
|
||||
|
||||
@@ -2567,7 +2567,7 @@ str3 = weechat.string_input_for_buffer("//test") # "/test"
|
||||
==== string_eval_expression
|
||||
|
||||
_WeeChat ≥ 0.4.0, updated in 0.4.2, 0.4.3, 1.0, 1.1, 1.2, 1.3, 1.6, 1.8, 2.0,
|
||||
2.2, 2.3, 2.7, 2.9, 3.1, 3.2, 3.3, 3.4, 3.6, 3.8, 4.0.0._
|
||||
2.2, 2.3, 2.7, 2.9, 3.1, 3.2, 3.3, 3.4, 3.6, 3.8, 4.0.0, 4.2.0._
|
||||
|
||||
Evaluate an expression and return result as a string.
|
||||
Special variables with format `+${variable}+` are expanded (see table below).
|
||||
@@ -2900,11 +2900,21 @@ expanded to last):
|
||||
|===
|
||||
| Format | Min WeeChat | Description | Examples
|
||||
|
||||
| `+${raw_hl:xxx}+` | 4.2.0
|
||||
| Raw string (not evaluated), with syntax highlighting (using colors).
|
||||
| >> `+${raw_hl:${cut:1,,${rev:hello}}}+` +
|
||||
== `+${cut:1,,${rev:hello}}+` (with colors)
|
||||
|
||||
| `+${raw:xxx}+` | 3.1
|
||||
| Raw string (not evaluated).
|
||||
| >> `+${raw:${info:version}}+` +
|
||||
== `+${info:version}+`
|
||||
|
||||
| `+${hl:xxx}+` | 4.2.0
|
||||
| String with syntax highlighting (using colors).
|
||||
| >> `+${hl:${file.section.option}}+` +
|
||||
== `+test ${variable}+` (with colors)
|
||||
|
||||
| `+${name}+` | 3.4
|
||||
| User variable (defined with `+${define:name,value}+`).
|
||||
| >> `+${name}+` +
|
||||
|
||||
@@ -2613,7 +2613,7 @@ str3 = weechat.string_input_for_buffer("//test") # "/test"
|
||||
==== string_eval_expression
|
||||
|
||||
_WeeChat ≥ 0.4.0, mis à jour dans la 0.4.2, 0.4.3, 1.0, 1.1, 1.2, 1.3, 1.6, 1.8,
|
||||
2.0, 2.2, 2.3, 2.7, 2.9, 3.1, 3.2, 3.3, 3.4, 3.6, 3.8, 4.0.0._
|
||||
2.0, 2.2, 2.3, 2.7, 2.9, 3.1, 3.2, 3.3, 3.4, 3.6, 3.8, 4.0.0, 4.2.0._
|
||||
|
||||
Évaluer l'expression et retourner le résultat sous forme de chaîne.
|
||||
Les variables spéciales avec le format `+${variable}+` sont étendues (voir le
|
||||
@@ -2952,11 +2952,22 @@ première étendue à la dernière) :
|
||||
|===
|
||||
| Format | WeeChat mini | Description | Exemples
|
||||
|
||||
| `+${raw_hl:xxx}+` | 4.2.0
|
||||
| Chaîne brute (non évaluée), avec mise en évidence de la syntaxe (en utilisant
|
||||
des couleurs).
|
||||
| >> `+${raw_hl:${cut:1,,${rev:hello}}}+` +
|
||||
== `+${cut:1,,${rev:hello}}+` (avec des couleurs)
|
||||
|
||||
| `+${raw:xxx}+` | 3.1
|
||||
| Chaîne brute (non évaluée).
|
||||
| >> `+${raw:${info:version}}+` +
|
||||
== `+${info:version}+`
|
||||
|
||||
| `+${hl:xxx}+` | 4.2.0
|
||||
| Chaîne avec mise en évidence de la syntaxe (en utilisant des couleurs).
|
||||
| >> `+${hl:${fichier.section.option}}+` +
|
||||
== `+test ${variable}+` (avec des couleurs)
|
||||
|
||||
| `+${nom}+` | 3.4
|
||||
| Variable définie par l'utilisateur (avec `+${define:nom,valeur}+`).
|
||||
| >> `+${nom}+` +
|
||||
|
||||
@@ -2717,7 +2717,7 @@ str3 = weechat.string_input_for_buffer("//test") # "/test"
|
||||
==== string_eval_expression
|
||||
|
||||
_WeeChat ≥ 0.4.0, updated in 0.4.2, 0.4.3, 1.0, 1.1, 1.2, 1.3, 1.6, 1.8, 2.0,
|
||||
2.2, 2.3, 2.7, 2.9, 3.1, 3.2, 3.3, 3.4, 3.6, 3.8, 4.0.0._
|
||||
2.2, 2.3, 2.7, 2.9, 3.1, 3.2, 3.3, 3.4, 3.6, 3.8, 4.0.0, 4.2.0._
|
||||
|
||||
Evaluate an expression and return result as a string.
|
||||
Special variables with format `+${variable}+` are expanded (see table below).
|
||||
@@ -3050,11 +3050,21 @@ expanded to last):
|
||||
|===
|
||||
| Format | Min WeeChat | Description | Examples
|
||||
|
||||
| `+${raw_hl:xxx}+` | 4.2.0
|
||||
| Raw string (not evaluated), with syntax highlighting (using colors).
|
||||
| >> `+${raw_hl:${cut:1,,${rev:hello}}}+` +
|
||||
== `+${cut:1,,${rev:hello}}+` (with colors)
|
||||
|
||||
| `+${raw:xxx}+` | 3.1
|
||||
| Raw string (not evaluated).
|
||||
| >> `+${raw:${info:version}}+` +
|
||||
== `+${info:version}+`
|
||||
|
||||
| `+${hl:xxx}+` | 4.2.0
|
||||
| String with syntax highlighting (using colors).
|
||||
| >> `+${hl:${file.section.option}}+` +
|
||||
== `+test ${variable}+` (with colors)
|
||||
|
||||
| `+${name}+` | 3.4
|
||||
| User variable (defined with `+${define:name,value}+`).
|
||||
| >> `+${name}+` +
|
||||
|
||||
@@ -2637,7 +2637,7 @@ str3 = weechat.string_input_for_buffer("//test") # "/test"
|
||||
|
||||
// TRANSLATION MISSING
|
||||
_WeeChat ≥ 0.4.0, updated in 0.4.2, 0.4.3, 1.0, 1.1, 1.2, 1.3, 1.6, 1.8, 2.0,
|
||||
2.2, 2.3, 2.7, 2.9, 3.1, 3.2, 3.3, 3.4, 3.6, 3.8, 4.0.0._
|
||||
2.2, 2.3, 2.7, 2.9, 3.1, 3.2, 3.3, 3.4, 3.6, 3.8, 4.0.0, 4.2.0._
|
||||
|
||||
式を評価して文字列として返す。`+${variable}+`
|
||||
という書式で書かれた特殊変数は展開されます (以下の表を参照)。
|
||||
@@ -2980,12 +2980,24 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
|
||||
// TRANSLATION MISSING
|
||||
| 書式 | Min WeeChat | 説明 | 例
|
||||
|
||||
// TRANLSATION MISSING
|
||||
| `+${raw_hl:xxx}+` | 4.2.0
|
||||
| Raw string (not evaluated), with syntax highlighting (using colors).
|
||||
| >> `+${raw_hl:${cut:1,,${rev:hello}}}+` +
|
||||
== `+${cut:1,,${rev:hello}}+` (with colors)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| `+${raw:xxx}+` | 3.1
|
||||
| Raw string (not evaluated).
|
||||
| >> `+${raw:${info:version}}+` +
|
||||
== `+${info:version}+`
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| `+${hl:xxx}+` | 4.2.0
|
||||
| String with syntax highlighting (using colors).
|
||||
| >> `+${hl:${file.section.option}}+` +
|
||||
== `+test ${variable}+` (with colors)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| `+${name}+` | 3.4
|
||||
| User variable (defined with `+${define:name,value}+`).
|
||||
|
||||
@@ -2479,7 +2479,7 @@ str3 = weechat.string_input_for_buffer("//test") # "/test"
|
||||
|
||||
==== string_eval_expression
|
||||
|
||||
_WeeChat ≥ 0.4.0, ажурирано у верзијама 0.4.2, 0.4.3, 1.0, 1.1, 1.2, 1.3, 1.6, 1.8, 2.0, 2.2, 2.3, 2.7, 2.9, 3.1, 3.2, 3.3, 3.4, 3.6 и 3.8, 4.0.0._
|
||||
_WeeChat ≥ 0.4.0, ажурирано у верзијама 0.4.2, 0.4.3, 1.0, 1.1, 1.2, 1.3, 1.6, 1.8, 2.0, 2.2, 2.3, 2.7, 2.9, 3.1, 3.2, 3.3, 3.4, 3.6 и 3.8, 4.0.0, 4.2.0._
|
||||
|
||||
Израчунава израз и враћа вредност као стринг. Специјалне променљиве у формату `+${променљива}+` се развијају (погледајте табелу испод).
|
||||
|
||||
@@ -2789,11 +2789,23 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
|
||||
|===
|
||||
| Формат | Мин WeeChat | Опис | Примери
|
||||
|
||||
// TRANLSATION MISSING
|
||||
| `+${raw_hl:xxx}+` | 4.2.0
|
||||
| Raw string (not evaluated), with syntax highlighting (using colors).
|
||||
| >> `+${raw_hl:${cut:1,,${rev:hello}}}+` +
|
||||
== `+${cut:1,,${rev:hello}}+` (with colors)
|
||||
|
||||
| `+${raw:xxx}+` | 3.1
|
||||
| Сирови стринг (не израчунава се).
|
||||
| >> `+${raw:${info:version}}+` +
|
||||
== `+${info:version}+`
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| `+${hl:xxx}+` | 4.2.0
|
||||
| String with syntax highlighting (using colors).
|
||||
| >> `+${hl:${file.section.option}}+` +
|
||||
== `+test ${variable}+` (with colors)
|
||||
|
||||
| `+${име}+` | 3.4
|
||||
| Корисничка променљива (дефинисана са `+${define:име,вредност}+`).
|
||||
| >> `+${име}+` +
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-11-11 08:54+0100\n"
|
||||
"POT-Creation-Date: 2023-11-23 08:13+0100\n"
|
||||
"PO-Revision-Date: 2023-10-20 13:09+0200\n"
|
||||
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4792,6 +4792,19 @@ msgid ""
|
||||
"(default value)"
|
||||
msgstr ""
|
||||
|
||||
#. TRANSLATORS: please do not translate "lightred:blue"
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "text color for nicks (comma separated list of colors, background is "
|
||||
#| "allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgid ""
|
||||
"text color for syntax highlighting in evaluated strings, with "
|
||||
"\"${raw_hl:...}\" and \"${hl:...}\" (comma separated list of colors, "
|
||||
"background is allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgstr ""
|
||||
"barva textu pro přezdívky (čárkou oddělený seznam barev, pozadí je povoleno "
|
||||
"ve formátu: \"fg:bg\", například: \"lightred:blue\")"
|
||||
|
||||
msgid "text color for actions in input line"
|
||||
msgstr "barva textu pro akce ve vstupní řádce"
|
||||
|
||||
@@ -5696,6 +5709,9 @@ msgstr "Základní barvy WeeChat:"
|
||||
msgid "Nick colors:"
|
||||
msgstr "Barvy přezdívky:"
|
||||
|
||||
msgid "Syntax highlighting colors in evaluated strings:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Color aliases:"
|
||||
msgstr "Aliasy barev:"
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-11-11 08:54+0100\n"
|
||||
"POT-Creation-Date: 2023-11-23 08:13+0100\n"
|
||||
"PO-Revision-Date: 2023-11-11 13:49+0100\n"
|
||||
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
|
||||
"Language-Team: German <kde-i18n-de@kde.org>\n"
|
||||
@@ -2199,7 +2199,6 @@ msgstr "> raw[search_text_here]: Textsuche, im Buffer, ab aktueller Position"
|
||||
msgid "> raw[search_text]: search text in buffer"
|
||||
msgstr "> raw[search_text]: Textsuche im Buffer"
|
||||
|
||||
#| msgid "> raw[search_text]: search text in buffer"
|
||||
msgid "> raw[search_history]: search text in command line history"
|
||||
msgstr "> raw[search_history]: suche Text im Befehlszeilenverlauf"
|
||||
|
||||
@@ -2348,10 +2347,10 @@ msgid ""
|
||||
"search or recalled with \"up\"key) and insert the next history entry in the "
|
||||
"command line without sending it"
|
||||
msgstr ""
|
||||
"> raw[history_use_get_next]: sendet den aktuellen Verlaufseintrag (welcher"
|
||||
" mit der Suche gefunden wurde oder mit der „Auf“-Taste ausgewählt wurde) und"
|
||||
" fügt den nächsten Verlaufseintrag in die Befehlszeile ein, ohne diesen zu"
|
||||
" senden"
|
||||
"> raw[history_use_get_next]: sendet den aktuellen Verlaufseintrag (welcher "
|
||||
"mit der Suche gefunden wurde oder mit der „Auf“-Taste ausgewählt wurde) und "
|
||||
"fügt den nächsten Verlaufseintrag in die Befehlszeile ein, ohne diesen zu "
|
||||
"senden"
|
||||
|
||||
msgid ""
|
||||
"> raw[grab_key]: grab a key (optional argument: delay for end of grab, "
|
||||
@@ -4357,8 +4356,8 @@ msgstr ""
|
||||
msgid ""
|
||||
"default text search command line history: local (buffer) or global history"
|
||||
msgstr ""
|
||||
"Standard-Befehlszeilenverlauf für die Textsuche: lokaler (Buffer) oder"
|
||||
" globaler Verlauf"
|
||||
"Standard-Befehlszeilenverlauf für die Textsuche: lokaler (Buffer) oder "
|
||||
"globaler Verlauf"
|
||||
|
||||
msgid ""
|
||||
"force default values for text search in buffer (instead of using values from "
|
||||
@@ -5437,6 +5436,20 @@ msgstr ""
|
||||
"Textsuche); wird ausschließlich dann genutzt, falls die Einstellung weechat."
|
||||
"look.emphasized_attributes keinen Eintrag besitzt (Standardwert)"
|
||||
|
||||
#. TRANSLATORS: please do not translate "lightred:blue"
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "text color for nicks (comma separated list of colors, background is "
|
||||
#| "allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgid ""
|
||||
"text color for syntax highlighting in evaluated strings, with "
|
||||
"\"${raw_hl:...}\" and \"${hl:...}\" (comma separated list of colors, "
|
||||
"background is allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgstr ""
|
||||
"Textfarbe für Nicks (durch Kommata getrennte Liste von Farben. Eine "
|
||||
"Hintergrundfarbe kann durch das folgende Format genutzt werden: \"fg:bg\". "
|
||||
"Zum Beispiel: \"lightred:blue\")"
|
||||
|
||||
msgid "text color for actions in input line"
|
||||
msgstr ""
|
||||
"Textfarbe in der Eingabezeile bei Aktivität (z.B. beim Einfügen von Zeilen)"
|
||||
@@ -6437,6 +6450,9 @@ msgstr "WeeChat Basisfarben:"
|
||||
msgid "Nick colors:"
|
||||
msgstr "Farben für Nicks:"
|
||||
|
||||
msgid "Syntax highlighting colors in evaluated strings:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Color aliases:"
|
||||
msgstr "Farbnamen:"
|
||||
|
||||
@@ -6594,11 +6610,9 @@ msgstr "lokal"
|
||||
msgid "global"
|
||||
msgstr "global"
|
||||
|
||||
#| msgid "Search"
|
||||
msgid "Search lines"
|
||||
msgstr "Suche Zeilen"
|
||||
|
||||
#| msgid "default command:"
|
||||
msgid "Search command"
|
||||
msgstr "Suche Befehl"
|
||||
|
||||
@@ -16407,8 +16421,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>...] || "
|
||||
@@ -16417,8 +16430,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>...] || "
|
||||
@@ -17416,4 +17428,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)"
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-11-11 08:54+0100\n"
|
||||
"POT-Creation-Date: 2023-11-23 08:13+0100\n"
|
||||
"PO-Revision-Date: 2023-10-20 13:09+0200\n"
|
||||
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4957,6 +4957,19 @@ msgid ""
|
||||
"(default value)"
|
||||
msgstr ""
|
||||
|
||||
#. TRANSLATORS: please do not translate "lightred:blue"
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "text color for nicks (comma separated list of colors, background is "
|
||||
#| "allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgid ""
|
||||
"text color for syntax highlighting in evaluated strings, with "
|
||||
"\"${raw_hl:...}\" and \"${hl:...}\" (comma separated list of colors, "
|
||||
"background is allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgstr ""
|
||||
"color para los apodos (lista de colores separadas por comas, color de fondo "
|
||||
"es permitido siguiendo el formato \"fg:bg\", por ejemplo: \"lightred:blue\")"
|
||||
|
||||
msgid "text color for actions in input line"
|
||||
msgstr "color para acciones en la línea de entrada"
|
||||
|
||||
@@ -5872,6 +5885,9 @@ msgstr "Colores básicos de WeeChat:"
|
||||
msgid "Nick colors:"
|
||||
msgstr "Colores de apodos:"
|
||||
|
||||
msgid "Syntax highlighting colors in evaluated strings:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Color aliases:"
|
||||
msgstr "Alias de colores:"
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-11-11 08:54+0100\n"
|
||||
"PO-Revision-Date: 2023-11-11 08:57+0100\n"
|
||||
"POT-Creation-Date: 2023-11-23 08:13+0100\n"
|
||||
"PO-Revision-Date: 2023-11-23 08:16+0100\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: fr\n"
|
||||
@@ -5306,6 +5306,17 @@ msgstr ""
|
||||
"recherche de texte) ; cette option est utilisée seulement si l'option "
|
||||
"weechat.look.emphasized_attributes est une chaîne vide (valeur par défaut)"
|
||||
|
||||
#. TRANSLATORS: please do not translate "lightred:blue"
|
||||
msgid ""
|
||||
"text color for syntax highlighting in evaluated strings, with "
|
||||
"\"${raw_hl:...}\" and \"${hl:...}\" (comma separated list of colors, "
|
||||
"background is allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgstr ""
|
||||
"couleur du texte pour la mise en évidence de la syntaxe dans les chaînes "
|
||||
"évaluées, avec \"${raw_hl:...}\" et \"${hl:...}\" (liste de couleurs "
|
||||
"séparées par une virgule, un fond est autorisé avec le format : \"couleur:"
|
||||
"fond\", par exemple : \"lightred:blue\")"
|
||||
|
||||
msgid "text color for actions in input line"
|
||||
msgstr "couleur du texte pour les actions dans la ligne de saisie"
|
||||
|
||||
@@ -6303,6 +6314,10 @@ msgstr "Couleurs de base WeeChat :"
|
||||
msgid "Nick colors:"
|
||||
msgstr "Couleurs des pseudos :"
|
||||
|
||||
msgid "Syntax highlighting colors in evaluated strings:"
|
||||
msgstr ""
|
||||
"Couleurs pour la mise en évidence de la syntaxe dans les chaînes évaluées :"
|
||||
|
||||
msgid "Color aliases:"
|
||||
msgstr "Alias de couleurs :"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-11-11 08:54+0100\n"
|
||||
"POT-Creation-Date: 2023-11-23 08:13+0100\n"
|
||||
"PO-Revision-Date: 2023-10-20 13:09+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4515,6 +4515,14 @@ msgid ""
|
||||
"(default value)"
|
||||
msgstr ""
|
||||
|
||||
#. TRANSLATORS: please do not translate "lightred:blue"
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"text color for syntax highlighting in evaluated strings, with "
|
||||
"\"${raw_hl:...}\" and \"${hl:...}\" (comma separated list of colors, "
|
||||
"background is allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgstr "idő színe a beszédablakban"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for actions in input line"
|
||||
msgstr "kilépési nyíl színe"
|
||||
@@ -5406,6 +5414,9 @@ msgstr "WeeChat Hiba:"
|
||||
msgid "Nick colors:"
|
||||
msgstr "üzenetek színe"
|
||||
|
||||
msgid "Syntax highlighting colors in evaluated strings:"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "Color aliases:"
|
||||
msgstr "Aliaszok listája:\n"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-11-11 08:54+0100\n"
|
||||
"POT-Creation-Date: 2023-11-23 08:13+0100\n"
|
||||
"PO-Revision-Date: 2023-10-20 13:10+0200\n"
|
||||
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4873,6 +4873,19 @@ msgid ""
|
||||
"(default value)"
|
||||
msgstr ""
|
||||
|
||||
#. TRANSLATORS: please do not translate "lightred:blue"
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "text color for nicks (comma separated list of colors, background is "
|
||||
#| "allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgid ""
|
||||
"text color for syntax highlighting in evaluated strings, with "
|
||||
"\"${raw_hl:...}\" and \"${hl:...}\" (comma separated list of colors, "
|
||||
"background is allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgstr ""
|
||||
"colore del testo per i nick (elenco separato da virgole di colori, quello di "
|
||||
"sfondo è consentito con il formato \"fg:bg\", ad esempio: \"lightred:blue\")"
|
||||
|
||||
msgid "text color for actions in input line"
|
||||
msgstr "colore del testo per le azioni sulla riga di input"
|
||||
|
||||
@@ -5820,6 +5833,9 @@ msgstr "Colori base di WeeChat:"
|
||||
msgid "Nick colors:"
|
||||
msgstr "Colori per nick:"
|
||||
|
||||
msgid "Syntax highlighting colors in evaluated strings:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Color aliases:"
|
||||
msgstr "Alias colore:"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-11-11 08:54+0100\n"
|
||||
"POT-Creation-Date: 2023-11-23 08:13+0100\n"
|
||||
"PO-Revision-Date: 2023-10-20 13:10+0200\n"
|
||||
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
|
||||
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
|
||||
@@ -5053,6 +5053,19 @@ msgstr ""
|
||||
"emphasized_attributes オプションが空文字列 (デフォルト値) の場合のみ使われま"
|
||||
"す"
|
||||
|
||||
#. TRANSLATORS: please do not translate "lightred:blue"
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "text color for nicks (comma separated list of colors, background is "
|
||||
#| "allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgid ""
|
||||
"text color for syntax highlighting in evaluated strings, with "
|
||||
"\"${raw_hl:...}\" and \"${hl:...}\" (comma separated list of colors, "
|
||||
"background is allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgstr ""
|
||||
"ニックネームのテキスト色 (コンマ区切りの色リスト、背景色は以下の書式で指定: "
|
||||
"\"fg:bg\"、例: \"lightred:blue\")"
|
||||
|
||||
msgid "text color for actions in input line"
|
||||
msgstr "入力がアクションの場合のテキスト色"
|
||||
|
||||
@@ -5978,6 +5991,9 @@ msgstr "WeeChat 基本色:"
|
||||
msgid "Nick colors:"
|
||||
msgstr "ニックネーム色:"
|
||||
|
||||
msgid "Syntax highlighting colors in evaluated strings:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Color aliases:"
|
||||
msgstr "色別名:"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-11-11 08:54+0100\n"
|
||||
"POT-Creation-Date: 2023-11-23 08:13+0100\n"
|
||||
"PO-Revision-Date: 2023-10-20 13:10+0200\n"
|
||||
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
@@ -5090,6 +5090,19 @@ msgstr ""
|
||||
"só é utilizada se a opção weechat.look.emphasized_attributes for uma cadeia "
|
||||
"vazia (valor predefinido)"
|
||||
|
||||
#. TRANSLATORS: please do not translate "lightred:blue"
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "text color for nicks (comma separated list of colors, background is "
|
||||
#| "allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgid ""
|
||||
"text color for syntax highlighting in evaluated strings, with "
|
||||
"\"${raw_hl:...}\" and \"${hl:...}\" (comma separated list of colors, "
|
||||
"background is allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgstr ""
|
||||
"cor do texto dos nicks (lista de cores separadas por vírgula, o fundo pode "
|
||||
"ser indicado com o formato: \"texto:fundo\", por exemplo: \"lightred:blue\")"
|
||||
|
||||
msgid "text color for actions in input line"
|
||||
msgstr "cor do texto de ações na linha de entrada"
|
||||
|
||||
@@ -6045,6 +6058,9 @@ msgstr "Cores WeeChat básicas:"
|
||||
msgid "Nick colors:"
|
||||
msgstr "Cores dos nicks:"
|
||||
|
||||
msgid "Syntax highlighting colors in evaluated strings:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Color aliases:"
|
||||
msgstr "Alias de cores:"
|
||||
|
||||
|
||||
+17
-1
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-11-11 08:54+0100\n"
|
||||
"POT-Creation-Date: 2023-11-23 08:13+0100\n"
|
||||
"PO-Revision-Date: 2023-10-20 13:11+0200\n"
|
||||
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4836,6 +4836,19 @@ msgid ""
|
||||
"(default value)"
|
||||
msgstr ""
|
||||
|
||||
#. TRANSLATORS: please do not translate "lightred:blue"
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "text color for nicks (comma separated list of colors, background is "
|
||||
#| "allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgid ""
|
||||
"text color for syntax highlighting in evaluated strings, with "
|
||||
"\"${raw_hl:...}\" and \"${hl:...}\" (comma separated list of colors, "
|
||||
"background is allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgstr ""
|
||||
"cor do texto para apelidos (lista de cores separada por vírgulas, fundo é "
|
||||
"permitido com o formato: \"fg:bg\", por exemplo: \"lightred:blue\")"
|
||||
|
||||
msgid "text color for actions in input line"
|
||||
msgstr "cor de texto para ações de linha de entrada"
|
||||
|
||||
@@ -5736,6 +5749,9 @@ msgstr "Cores básicas do WeeChat:"
|
||||
msgid "Nick colors:"
|
||||
msgstr "Cores do apelido:"
|
||||
|
||||
msgid "Syntax highlighting colors in evaluated strings:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Color aliases:"
|
||||
msgstr "Atalhos de Cor:"
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-11-11 08:54+0100\n"
|
||||
"POT-Creation-Date: 2023-11-23 08:13+0100\n"
|
||||
"PO-Revision-Date: 2023-10-20 13:11+0200\n"
|
||||
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4548,6 +4548,14 @@ msgid ""
|
||||
"(default value)"
|
||||
msgstr ""
|
||||
|
||||
#. TRANSLATORS: please do not translate "lightred:blue"
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"text color for syntax highlighting in evaluated strings, with "
|
||||
"\"${raw_hl:...}\" and \"${hl:...}\" (comma separated list of colors, "
|
||||
"background is allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgstr "цвет времени в окне чата"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for actions in input line"
|
||||
msgstr "цвет действий в поле ввода"
|
||||
@@ -5442,6 +5450,9 @@ msgstr "Ошибка WeeChat:"
|
||||
msgid "Nick colors:"
|
||||
msgstr "цвет чата"
|
||||
|
||||
msgid "Syntax highlighting colors in evaluated strings:"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "Color aliases:"
|
||||
msgstr "Список сокращений:\n"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-11-11 08:54+0100\n"
|
||||
"POT-Creation-Date: 2023-11-23 08:13+0100\n"
|
||||
"PO-Revision-Date: 2023-11-16 08:13+0400\n"
|
||||
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -863,8 +863,8 @@ msgid ""
|
||||
"%sFailed to decrypt data: hash algorithm \"%s\" is not available (ligbcrypt "
|
||||
"version is too old?)"
|
||||
msgstr ""
|
||||
"%sНије успело дешифровање података: није доступан хеш алгоритам „%s” "
|
||||
"(ligbcrypt верзија је сувише стара)"
|
||||
"%sНије успело дешифровање података: није доступан хеш алгоритам "
|
||||
"„%s” (ligbcrypt верзија је сувише стара)"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
@@ -1041,8 +1041,8 @@ msgid ""
|
||||
"%sCan't upgrade: there is one or more background process/thread running "
|
||||
"(hook type: process, connect or url)"
|
||||
msgstr ""
|
||||
"%sНије могуће ажурирање: у позадини се извршава један или више процеса/"
|
||||
"нити (тип куке: process, connect или url)"
|
||||
"%sНије могуће ажурирање: у позадини се извршава један или више процеса/нити "
|
||||
"(тип куке: process, connect или url)"
|
||||
|
||||
#, c-format
|
||||
msgid "%sCan't upgrade: WeeChat binary \"%s\" does not exist"
|
||||
@@ -1139,7 +1139,8 @@ msgid "[-all] [<message>]"
|
||||
msgstr "[-all] [<порука>]"
|
||||
|
||||
msgid "raw[-all]: set or remove away status on all connected servers"
|
||||
msgstr "raw[-all]: поставља или уклања статус одсутности на свим повезаним серверима"
|
||||
msgstr ""
|
||||
"raw[-all]: поставља или уклања статус одсутности на свим повезаним серверима"
|
||||
|
||||
msgid ""
|
||||
"message: message for away (if no message is given, away status is removed)"
|
||||
@@ -1159,9 +1160,9 @@ msgid ""
|
||||
msgstr ""
|
||||
"list|listfull|listitems || add <име> <тип>[,<услови>] <позиција> <величина> "
|
||||
"<граничник> <ставка1>[,<ставка2>...] || default [input|title|status|"
|
||||
"nicklist] || rename <име> <ново_име> || del <име>|<маска> [<име>|<маска>..."
|
||||
"] || set <име> <опција> <вредност> || hide|show|toggle <име> || scroll "
|
||||
"<име> <прозор> <скрол_вредн>"
|
||||
"nicklist] || rename <име> <ново_име> || del <име>|<маска> [<име>|<маска>...] "
|
||||
"|| set <име> <опција> <вредност> || hide|show|toggle <име> || scroll <име> "
|
||||
"<прозор> <скрол_вредн>"
|
||||
|
||||
msgid "raw[list]: list all bars"
|
||||
msgstr "raw[list]: приказује све траке"
|
||||
@@ -1217,8 +1218,8 @@ msgstr "величина: величина траке (у карактерима
|
||||
msgid ""
|
||||
"separator: 1 for using separator (line), 0 or nothing means no separator"
|
||||
msgstr ""
|
||||
"граничник: 1 ако желите да се користи граничник (линија), 0 или ништа "
|
||||
"значи без граничника"
|
||||
"граничник: 1 ако желите да се користи граничник (линија), 0 или ништа значи "
|
||||
"без граничника"
|
||||
|
||||
msgid ""
|
||||
"item1,...: items for this bar (items can be separated by comma (space "
|
||||
@@ -1249,8 +1250,8 @@ msgid ""
|
||||
"option: option to change (for options list, look at /set weechat.bar."
|
||||
"<barname>.*)"
|
||||
msgstr ""
|
||||
"опција: опција која се мења (за листу опција, погледајте /set weechat."
|
||||
"bar.<иметраке>.*)"
|
||||
"опција: опција која се мења (за листу опција, погледајте /set weechat.bar."
|
||||
"<иметраке>.*)"
|
||||
|
||||
msgid "value: new value for option"
|
||||
msgstr "вредност: нова вредност опције"
|
||||
@@ -1269,8 +1270,7 @@ msgstr "raw[scroll]: трака се скролује"
|
||||
|
||||
msgid "window: window number (\"*\" for current window or for root bars)"
|
||||
msgstr ""
|
||||
"прозор: број прозора (употребите „*” за текући прозор или за root "
|
||||
"траке)"
|
||||
"прозор: број прозора (употребите „*” за текући прозор или за root траке)"
|
||||
|
||||
msgid ""
|
||||
"scroll_value: value for scroll: \"x\" or \"y\" (optional), followed by \"+"
|
||||
@@ -1363,7 +1363,8 @@ msgstr ""
|
||||
"мешавина оба бафера); ctrl-x подразумевано пребацује између спојених бафера"
|
||||
|
||||
msgid "raw[unmerge]: unmerge buffer from other buffers which have same number"
|
||||
msgstr "raw[unmerge]: раздваја спојени бафер од осталих бафера који имају исти број"
|
||||
msgstr ""
|
||||
"raw[unmerge]: раздваја спојени бафер од осталих бафера који имају исти број"
|
||||
|
||||
msgid "raw[hide]: hide the buffer"
|
||||
msgstr "raw[hide]: скрива бафер"
|
||||
@@ -1501,8 +1502,8 @@ msgid ""
|
||||
"color: color number (greater than or equal to 0, max depends on terminal, "
|
||||
"commonly 63 or 255)"
|
||||
msgstr ""
|
||||
"боја: број боје (веће или једнако од 0, макс зависи од терминала, обично "
|
||||
"63 или 255)"
|
||||
"боја: број боје (веће или једнако од 0, макс зависи од терминала, обично 63 "
|
||||
"или 255)"
|
||||
|
||||
msgid "name: alias name for color (for example: \"orange\")"
|
||||
msgstr "име: име алијаса за боју (на пример: „orange”)"
|
||||
@@ -1550,15 +1551,15 @@ msgid ""
|
||||
"command, \"*\" for automatic plugin (it depends on the buffer where the "
|
||||
"command is executed)"
|
||||
msgstr ""
|
||||
"додатак: извршава команду из овог додатка; „core” за WeeChat команду, „*” "
|
||||
"за аутоматски додатак (зависи од бафера у којем се команда извршава)"
|
||||
"додатак: извршава команду из овог додатка; „core” за WeeChat команду, „*” за "
|
||||
"аутоматски додатак (зависи од бафера у којем се команда извршава)"
|
||||
|
||||
msgid ""
|
||||
"command: command to execute (a \"/\" is automatically added if not found at "
|
||||
"beginning of command)"
|
||||
msgstr ""
|
||||
"команда: команда која се извршава (аутоматски се додаје „/” ако се не "
|
||||
"наведе на почетку команде)"
|
||||
"команда: команда која се извршава (аутоматски се додаје „/” ако се не наведе "
|
||||
"на почетку команде)"
|
||||
|
||||
msgid ""
|
||||
"free movement of cursor on screen to execute actions on specific areas of "
|
||||
@@ -1725,7 +1726,8 @@ msgid "raw[term]: display infos about terminal"
|
||||
msgstr "raw[term]: исписује инфо о терминалу"
|
||||
|
||||
msgid "raw[url]: toggle debug for calls to hook_url (display output hashtable)"
|
||||
msgstr "raw[url]: пребацује дибаг за hook_url позиве (приказ излазне хештабеле)"
|
||||
msgstr ""
|
||||
"raw[url]: пребацује дибаг за hook_url позиве (приказ излазне хештабеле)"
|
||||
|
||||
msgid "raw[windows]: display windows tree"
|
||||
msgstr "raw[windows]: исписује стабло прозора"
|
||||
@@ -1792,13 +1794,11 @@ msgstr ""
|
||||
"оператор: логички или оператор поређења замењују (погледајте функцију "
|
||||
"„string_eval_expression” у „Референтном приручнику API додатака”)"
|
||||
|
||||
|
||||
msgid ""
|
||||
"An expression is considered as \"true\" if it is not NULL, not empty, and "
|
||||
"different from \"0\"."
|
||||
msgstr ""
|
||||
"Сматра се да је израз „true” ако није NULL, није празан и различит је од "
|
||||
"„0”."
|
||||
"Сматра се да је израз „true” ако није NULL, није празан и различит је од „0”."
|
||||
|
||||
msgid ""
|
||||
"The comparison is made using floating point numbers if the two expressions "
|
||||
@@ -1925,8 +1925,8 @@ msgid ""
|
||||
"> - use \"\\t\" to separate prefix from message, special chars like \"|\" "
|
||||
"must be escaped: \"\\|\""
|
||||
msgstr ""
|
||||
"> - за раздвајање префикса од поруке, употребите ’\\t’, специјални "
|
||||
"карактери као што је „|” морају да се означе: „\\|”"
|
||||
"> - за раздвајање префикса од поруке, употребите ’\\t’, специјални карактери "
|
||||
"као што је „|” морају да се означе: „\\|”"
|
||||
|
||||
msgid ""
|
||||
"> - if regex starts with \"!\", then matching result is reversed (use \"\\!"
|
||||
@@ -1944,8 +1944,8 @@ msgid ""
|
||||
"> - regex are case insensitive, they can start by \"(?-i)\" to become case "
|
||||
"sensitive"
|
||||
msgstr ""
|
||||
"> - регуларни изрази не праве разлику у величини слова, могу да почну са "
|
||||
"„(?-i)” ако желите да се прави разлика у величини слова"
|
||||
"> - регуларни изрази не праве разлику у величини слова, могу да почну са „(?-"
|
||||
"i)” ако желите да се прави разлика у величини слова"
|
||||
|
||||
msgid ""
|
||||
"The default key alt+\"=\" toggles filtering on/off globally and alt+\"-\" "
|
||||
@@ -2111,8 +2111,7 @@ msgstr "> raw[complete_previous]: довршава реч са претходн
|
||||
|
||||
msgid "> raw[search_text_here]: search text in buffer at current position"
|
||||
msgstr ""
|
||||
"> raw[search_text_here]: претражује текст у баферу почевши од текуће "
|
||||
"позиције"
|
||||
"> raw[search_text_here]: претражује текст у баферу почевши од текуће позиције"
|
||||
|
||||
msgid "> raw[search_text]: search text in buffer"
|
||||
msgstr "> raw[search_text]: претражује текст у баферу"
|
||||
@@ -2127,8 +2126,7 @@ msgstr ""
|
||||
|
||||
msgid ""
|
||||
"> raw[search_switch_regex]: switch search type: string/regular expression"
|
||||
msgstr ""
|
||||
"> raw[search_switch_regex]: мења тип претраге: стринг/регуларни израз"
|
||||
msgstr "> raw[search_switch_regex]: мења тип претраге: стринг/регуларни израз"
|
||||
|
||||
msgid "> raw[search_switch_where]: switch search in messages/prefixes"
|
||||
msgstr "> raw[search_switch_where]: укључује претрагу у порукама/префиксима"
|
||||
@@ -2380,7 +2378,8 @@ msgid " force refresh of item \"lines_count\":"
|
||||
msgstr " форсирано освежавање ставке „lines_count”:"
|
||||
|
||||
msgid " recreate item \"lines_count\" with different conditions or content:"
|
||||
msgstr " рекреирање ставке „lines_count” са другачијим условима или садржајем:"
|
||||
msgstr ""
|
||||
" рекреирање ставке „lines_count” са другачијим условима или садржајем:"
|
||||
|
||||
msgid " delete item \"lines_count\":"
|
||||
msgstr " брисање ставке „lines_count”:"
|
||||
@@ -2421,8 +2420,8 @@ msgid ""
|
||||
"raw[bind]: bind a command to a key or display command bound to key (for "
|
||||
"context \"default\")"
|
||||
msgstr ""
|
||||
"raw[bind]: везује команду за тастер или приказује команду која је везана "
|
||||
"за тастер (за контекст „default”)"
|
||||
"raw[bind]: везује команду за тастер или приказује команду која је везана за "
|
||||
"тастер (за контекст „default”)"
|
||||
|
||||
msgid ""
|
||||
"raw[bindctxt]: bind a command to a key or display command bound to key, for "
|
||||
@@ -2446,13 +2445,11 @@ msgstr "raw[unbindctxt]: уклања везивање тастера за да
|
||||
|
||||
msgid "raw[reset]: reset a key to default binding (for context \"default\")"
|
||||
msgstr ""
|
||||
"raw[reset]: ресетује тастер на подразумевано везивање (за контекст "
|
||||
"„default”)"
|
||||
"raw[reset]: ресетује тастер на подразумевано везивање (за контекст „default”)"
|
||||
|
||||
msgid "raw[resetctxt]: reset a key to default binding, for given context"
|
||||
msgstr ""
|
||||
"raw[resetctxt]: ресетује тастер на подразумевано везивање, за дати "
|
||||
"контекст"
|
||||
"raw[resetctxt]: ресетује тастер на подразумевано везивање, за дати контекст"
|
||||
|
||||
msgid ""
|
||||
"raw[resetall]: restore bindings to the default values and delete ALL "
|
||||
@@ -2678,8 +2675,7 @@ msgid ""
|
||||
"name: full buffer name (examples: \"irc.server.libera\", \"irc.libera."
|
||||
"#weechat\")"
|
||||
msgstr ""
|
||||
"име: пуно име бафера (примери: „irc.server.libera”, „irc.libera."
|
||||
"#weechat”)"
|
||||
"име: пуно име бафера (примери: „irc.server.libera”, „irc.libera.#weechat”)"
|
||||
|
||||
msgid ""
|
||||
"command: command to execute silently (a \"/\" is automatically added if not "
|
||||
@@ -2708,7 +2704,6 @@ msgstr ""
|
||||
"[<аргументи>] || autoload [<аргументи>] || reload [<име>|* [<аргументи>]] || "
|
||||
"unload [<име>]"
|
||||
|
||||
#| msgid "list/load/unload plugins"
|
||||
msgid "raw[list]: list loaded plugins"
|
||||
msgstr "raw[list]: испис учитаних додатака"
|
||||
|
||||
@@ -2759,9 +2754,9 @@ msgstr ""
|
||||
"raw[reload]: поновно учитавање додатка (ако се не наведе име, уклањају се "
|
||||
"сви додаци, па се затим аутоматски учитавају)"
|
||||
|
||||
|
||||
msgid "raw[unload]: unload a plugin (if no name given, unload all plugins)"
|
||||
msgstr "raw[unload]: уклањање додатка (ако се не наведе име, уклањају се сви додаци)"
|
||||
msgstr ""
|
||||
"raw[unload]: уклањање додатка (ако се не наведе име, уклањају се сви додаци)"
|
||||
|
||||
msgid "Without argument, this command lists loaded plugins."
|
||||
msgstr "Без аргумента, ова команда исписује учитане додатке."
|
||||
@@ -2851,8 +2846,8 @@ msgid ""
|
||||
"text: text to display (prefix and message must be separated by \"\\t\", if "
|
||||
"text starts with \"-\", then add a \"\\\" before)"
|
||||
msgstr ""
|
||||
"текст: текст који треба да се испише (префикс и порука морају да се "
|
||||
"раздвоје са „\\t”, ако текст почиње са „-”, онда додајте испред „\\”)"
|
||||
"текст: текст који треба да се испише (префикс и порука морају да се раздвоје "
|
||||
"са „\\t”, ако текст почиње са „-”, онда додајте испред „\\”)"
|
||||
|
||||
msgid "raw[-stdout]: display text on stdout (escaped chars are interpreted)"
|
||||
msgstr ""
|
||||
@@ -2871,8 +2866,8 @@ msgid ""
|
||||
"The options -action ... -quit use the prefix defined in options \"weechat."
|
||||
"look.prefix_*\"."
|
||||
msgstr ""
|
||||
"Опције -action ... -quit користе префикс дефинисан у опцијама „weechat."
|
||||
"look.prefix_*”."
|
||||
"Опције -action ... -quit користе префикс дефинисан у опцијама „weechat.look."
|
||||
"prefix_*”."
|
||||
|
||||
msgid "Following escaped chars are supported:"
|
||||
msgstr "Подржани су следећи означени карактери:"
|
||||
@@ -2975,7 +2970,8 @@ msgid "[-yes] [<arguments>]"
|
||||
msgstr "[-yes] [<аргументи>]"
|
||||
|
||||
msgid "raw[-yes]: required if option \"weechat.look.confirm_quit\" is enabled"
|
||||
msgstr "raw[-yes]: неопходно је ако је укључена опција „weechat.look.confirm_quit”"
|
||||
msgstr ""
|
||||
"raw[-yes]: неопходно је ако је укључена опција „weechat.look.confirm_quit”"
|
||||
|
||||
msgid ""
|
||||
"arguments: text sent with signal \"quit\" (for example irc plugin uses this "
|
||||
@@ -3002,7 +2998,8 @@ msgid "[<file> [<file>...]]"
|
||||
msgstr "[<фајл> [<фајл>...]]"
|
||||
|
||||
msgid "file: configuration file to reload (without extension \".conf\")"
|
||||
msgstr "фајл: конфигурациони фајл који се поново учитава (без екстензије „.conf”)"
|
||||
msgstr ""
|
||||
"фајл: конфигурациони фајл који се поново учитава (без екстензије „.conf”)"
|
||||
|
||||
msgid "Without argument, all files (WeeChat and plugins) are reloaded."
|
||||
msgstr "Без аргумента, поново се учитавају сви фајлови (WeeChat и додаци)."
|
||||
@@ -3055,8 +3052,7 @@ msgstr "> ${repeat_revindex}: текући индекс од краја (од
|
||||
|
||||
msgid ""
|
||||
"> ${repeat_revindex0}: current index from the end (from \"count\" - 1 to 0)"
|
||||
msgstr ""
|
||||
"> ${repeat_revindex0}: текући индекс од краја (од „број” - 1 до 0)"
|
||||
msgstr "> ${repeat_revindex0}: текући индекс од краја (од „број” - 1 до 0)"
|
||||
|
||||
msgid "> ${repeat_first}: \"1\" for the first execution, \"0\" for the others"
|
||||
msgstr "> ${repeat_first}: „1” за прво извршавање, „0” за остала"
|
||||
@@ -3152,7 +3148,8 @@ msgid "raw[del]: delete secured data"
|
||||
msgstr "raw[del]: брише обезбеђене податке"
|
||||
|
||||
msgid "Without argument, this command displays secured data in a new buffer."
|
||||
msgstr "Без аргумента, ова команда приказује у новом баферу обезбеђене податке."
|
||||
msgstr ""
|
||||
"Без аргумента, ова команда приказује у новом баферу обезбеђене податке."
|
||||
|
||||
msgid "Keys on secure buffer:"
|
||||
msgstr "Тастери у безбедном баферу:"
|
||||
@@ -3270,8 +3267,8 @@ msgstr "diff: приказује само измењене опције"
|
||||
|
||||
msgid "env: display or set an environment variable (\"\" to unset a variable)"
|
||||
msgstr ""
|
||||
"env: приказује или поставља променљиву окружења (употребите вредност "
|
||||
"\"\" да уклоните променљиву)"
|
||||
"env: приказује или поставља променљиву окружења (употребите вредност \"\" да "
|
||||
"уклоните променљиву)"
|
||||
|
||||
msgid ""
|
||||
"Note: the value \"null\" (without quotes) can be used to remove option value "
|
||||
@@ -3298,7 +3295,8 @@ msgstr ""
|
||||
"sys_rlimit и „man getrlimit”)"
|
||||
|
||||
msgid "raw[rusage]: display resource usage (see \"man getrusage\")"
|
||||
msgstr "raw[rusage]: приказује искоришћење ресурса (погледајте „man getrusage”)"
|
||||
msgstr ""
|
||||
"raw[rusage]: приказује искоришћење ресурса (погледајте „man getrusage”)"
|
||||
|
||||
msgid ""
|
||||
"raw[suspend]: suspend WeeChat and go back to the shell, by sending signal "
|
||||
@@ -3509,7 +3507,8 @@ msgid " 3. save WeeChat configuration (weechat.conf)"
|
||||
msgstr " 3. чување WeeChat конфигурације (weechat.conf)"
|
||||
|
||||
msgid " 4. execute new WeeChat binary and reload session."
|
||||
msgstr " 4. извршавање новог WeeChat бинарног фајла и поновно учитавање сесије."
|
||||
msgstr ""
|
||||
" 4. извршавање новог WeeChat бинарног фајла и поновно учитавање сесије."
|
||||
|
||||
msgid "With option \"-quit\", the process is:"
|
||||
msgstr "Процес са опцијом „-quit” је следећи:"
|
||||
@@ -5145,6 +5144,19 @@ msgstr ""
|
||||
"опција се користи само онда када је опција weechat.look."
|
||||
"emphasized_attributes празан стринг (што је и подразумевана вредност)"
|
||||
|
||||
#. TRANSLATORS: please do not translate "lightred:blue"
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "text color for nicks (comma separated list of colors, background is "
|
||||
#| "allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgid ""
|
||||
"text color for syntax highlighting in evaluated strings, with "
|
||||
"\"${raw_hl:...}\" and \"${hl:...}\" (comma separated list of colors, "
|
||||
"background is allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgstr ""
|
||||
"боја текста за надимке (листа боја раздвојених зарезима, дозвољена је и "
|
||||
"позадина у формату: „пп:по”, for example: „lightred:blue”)"
|
||||
|
||||
msgid "text color for actions in input line"
|
||||
msgstr "боја текста за акције у линији уноса"
|
||||
|
||||
@@ -5830,8 +5842,8 @@ msgid ""
|
||||
"%sFailed to decrypt data \"%s\": hash algorithm \"%s\" is not available "
|
||||
"(ligbcrypt version is too old?)"
|
||||
msgstr ""
|
||||
"%sНије успело дешивровање података „%s”: није доступан хеш алгоритам „%s” "
|
||||
"(ligbcrypt верзија је сувише стара?)"
|
||||
"%sНије успело дешивровање података „%s”: није доступан хеш алгоритам "
|
||||
"„%s” (ligbcrypt верзија је сувише стара?)"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
@@ -5854,16 +5866,16 @@ msgid ""
|
||||
"%sFailed to encrypt data \"%s\": hash algorithm \"%s\" is not available "
|
||||
"(ligbcrypt version is too old?)"
|
||||
msgstr ""
|
||||
"%sНије успело шифровање података „%s”: није доступан хеш алгоритам „%s” "
|
||||
"(ligbcrypt верзија је сувише стара?)"
|
||||
"%sНије успело шифровање података „%s”: није доступан хеш алгоритам "
|
||||
"„%s” (ligbcrypt верзија је сувише стара?)"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%sFailed to encrypt data \"%s\": cipher \"%s\" is not available (ligbcrypt "
|
||||
"version is too old?)"
|
||||
msgstr ""
|
||||
"%sНије успело шифровање података „%s”: није доступна метода шифровања „%s” "
|
||||
"(ligbcrypt верзија је сувише стара?)"
|
||||
"%sНије успело шифровање података „%s”: није доступна метода шифровања "
|
||||
"„%s” (ligbcrypt верзија је сувише стара?)"
|
||||
|
||||
#, c-format
|
||||
msgid "%sFailed to encrypt data \"%s\" (%d)"
|
||||
@@ -6109,6 +6121,9 @@ msgstr "WeeChat основне боје:"
|
||||
msgid "Nick colors:"
|
||||
msgstr "Боје надимака:"
|
||||
|
||||
msgid "Syntax highlighting colors in evaluated strings:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Color aliases:"
|
||||
msgstr "Боје алијаса:"
|
||||
|
||||
@@ -6495,16 +6510,15 @@ msgid ""
|
||||
"command (you can use \"%%command\" to use the completion of an existing "
|
||||
"command)"
|
||||
msgstr ""
|
||||
"довршавање: довршавање за алијас: довршавање се подразумевано врши са "
|
||||
"циљном командом (за довршавање постојеће команде можете да употребите "
|
||||
"%%команда)"
|
||||
"довршавање: довршавање за алијас: довршавање се подразумевано врши са циљном "
|
||||
"командом (за довршавање постојеће команде можете да употребите %%команда)"
|
||||
|
||||
msgid ""
|
||||
"command: command name with arguments (many commands can be separated by "
|
||||
"semicolons)"
|
||||
msgstr ""
|
||||
"команда: име команде са аргументима (више команди може да се раздвоји "
|
||||
"тачка запетама)"
|
||||
"команда: име команде са аргументима (више команди може да се раздвоји тачка "
|
||||
"запетама)"
|
||||
|
||||
msgid "In command, special variables are replaced:"
|
||||
msgstr "У команди се замењују специјалне променљиве:"
|
||||
@@ -6762,8 +6776,7 @@ msgid ""
|
||||
"level)"
|
||||
msgstr ""
|
||||
" - ${color_hotlist}: боја која зависи од највишег нивоа бафера у врућој "
|
||||
"листи (израчуната вредност опције buflist.format.hotlist_xxx где је xxx "
|
||||
"ниво)"
|
||||
"листи (израчуната вредност опције buflist.format.hotlist_xxx где је xxx ниво)"
|
||||
|
||||
msgid ""
|
||||
" - ${format_hotlist}: the formatted hotlist (evaluation of option buflist."
|
||||
@@ -7234,8 +7247,8 @@ msgid ""
|
||||
"raw[-bg]: run process in background: do not display process output neither "
|
||||
"return code (not compatible with options -o/-oc/-n/-nf/-pipe/-hsignal)"
|
||||
msgstr ""
|
||||
"raw[-bg]: процес се извршава у позадини: излаз процеса као ни враћени кôд "
|
||||
"се не приказују (није компатибилно са опцијама -o/-oc/-n/-nf/-pipe/-hsignal)"
|
||||
"raw[-bg]: процес се извршава у позадини: излаз процеса као ни враћени кôд се "
|
||||
"не приказују (није компатибилно са опцијама -o/-oc/-n/-nf/-pipe/-hsignal)"
|
||||
|
||||
msgid "raw[-nobg]: catch process output and display return code (default)"
|
||||
msgstr ""
|
||||
@@ -7256,8 +7269,8 @@ msgid ""
|
||||
"raw[-buffer]: display/send output of command on this buffer (if the buffer "
|
||||
"is not found, a new buffer with name \"exec.exec.xxx\" is created)"
|
||||
msgstr ""
|
||||
"raw[-buffer]: приказивање/слање излаза команде у овај бафер (ако се бафер "
|
||||
"не пронађе, креира се нови бафер са именом „exec.exec.xxx”)"
|
||||
"raw[-buffer]: приказивање/слање излаза команде у овај бафер (ако се бафер не "
|
||||
"пронађе, креира се нови бафер са именом „exec.exec.xxx”)"
|
||||
|
||||
msgid "raw[-l]: display locally output of command on buffer (default)"
|
||||
msgstr "raw[-l]: излаз команде се приказује локално у бафер (подразумевано)"
|
||||
@@ -7274,8 +7287,8 @@ msgid ""
|
||||
"starting with \"/\" or another custom command char) (not compatible with "
|
||||
"options -bg/-pipe/-hsignal)"
|
||||
msgstr ""
|
||||
"raw[-oc]: излаз команде се шаље у бафер и команде се извршавају (линије "
|
||||
"које почињу са „/” или неким другим подешеним карактером команде) (није "
|
||||
"raw[-oc]: излаз команде се шаље у бафер и команде се извршавају (линије које "
|
||||
"почињу са „/” или неким другим подешеним карактером команде) (није "
|
||||
"компатибилно са опцијама -bg/-pipe/-hsignal)"
|
||||
|
||||
msgid ""
|
||||
@@ -7298,8 +7311,8 @@ msgid ""
|
||||
"raw[-oerr]: also send stderr (error output) to the buffer (can be used only "
|
||||
"with options -o and -oc)"
|
||||
msgstr ""
|
||||
"raw[-oerr]: такође шаље и stderr (излаз грешака) у бафер (може да се "
|
||||
"користи само са опцијама -o и -oc)"
|
||||
"raw[-oerr]: такође шаље и stderr (излаз грешака) у бафер (може да се користи "
|
||||
"само са опцијама -o и -oc)"
|
||||
|
||||
msgid "raw[-cl]: clear the new buffer before displaying output"
|
||||
msgstr ""
|
||||
@@ -7328,8 +7341,7 @@ msgstr ""
|
||||
|
||||
msgid "raw[-noflush]: display output of command after its end"
|
||||
msgstr ""
|
||||
"raw[-noflush]: излаз команде се приказује након што се заврши њено "
|
||||
"извршавање"
|
||||
"raw[-noflush]: излаз команде се приказује након што се заврши њено извршавање"
|
||||
|
||||
msgid "raw[-color]: action on ANSI colors in output:"
|
||||
msgstr "raw[-color]: акције над ANSI бојама у излазу:"
|
||||
@@ -7394,8 +7406,8 @@ msgstr ""
|
||||
msgid ""
|
||||
"id: command identifier: either its number or name (if set with \"-name xxx\")"
|
||||
msgstr ""
|
||||
"id: идентификатор команде: или њен број или име (ако се постави са „-"
|
||||
"name xxx”)"
|
||||
"id: идентификатор команде: или њен број или име (ако се постави са „-name "
|
||||
"xxx”)"
|
||||
|
||||
msgid "raw[-in]: send text on standard input of process"
|
||||
msgstr "raw[-in]: слање текста на стандардни улаз процеса"
|
||||
@@ -7677,8 +7689,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"raw[-add]: додавање „вредн” (која може да буде и негативан број) за целе "
|
||||
"бројеве, боје и набрајања, постављање/надовезивање на вредност осталих "
|
||||
"типова (постављање за негативну вредност, надовезивање за позитивну "
|
||||
"вредност)"
|
||||
"типова (постављање за негативну вредност, надовезивање за позитивну вредност)"
|
||||
|
||||
msgid "raw[-reset]: reset the value of option"
|
||||
msgstr "raw[-reset]: ресетовање вредности опције"
|
||||
@@ -7690,22 +7701,22 @@ msgid ""
|
||||
"raw[-set]: add the /set command in input to edit the value of option (move "
|
||||
"the cursor at the beginning of value)"
|
||||
msgstr ""
|
||||
"raw[-set]: додавање /set команде на улаз како би се уредила вредност "
|
||||
"опције (курсор се помера на почетак вредности)"
|
||||
"raw[-set]: додавање /set команде на улаз како би се уредила вредност опције "
|
||||
"(курсор се помера на почетак вредности)"
|
||||
|
||||
msgid ""
|
||||
"raw[-setnew]: add the /set command in input to edit a new value for the "
|
||||
"option"
|
||||
msgstr ""
|
||||
"raw[-setnew]: додавање /set команде на улаз како би се уредила нова "
|
||||
"вредност за опцију"
|
||||
"raw[-setnew]: додавање /set команде на улаз како би се уредила нова вредност "
|
||||
"за опцију"
|
||||
|
||||
msgid ""
|
||||
"raw[-append]: add the /set command to append something in the value of "
|
||||
"option (move the cursor at the end of value)"
|
||||
msgstr ""
|
||||
"raw[-append]: додавање /set команде како би се нешто надовезало на "
|
||||
"вредност опције (курсор се помера на крај вредности)"
|
||||
"raw[-append]: додавање /set команде како би се нешто надовезало на вредност "
|
||||
"опције (курсор се помера на крај вредности)"
|
||||
|
||||
msgid "raw[-mark]: toggle mark"
|
||||
msgstr "raw[-mark]: пребацивање маркера"
|
||||
@@ -7755,8 +7766,8 @@ msgid ""
|
||||
"> `t:xxx`: show only type \"xxx\" (bool/int/str/col/enum or boolean/integer/"
|
||||
"string/color/enum)"
|
||||
msgstr ""
|
||||
"> `t:xxx`: приказивање само типа „xxx” (bool/int/str/col/enum или "
|
||||
"boolean/integer/string/color/enum)"
|
||||
"> `t:xxx`: приказивање само типа „xxx” (bool/int/str/col/enum или boolean/"
|
||||
"integer/string/color/enum)"
|
||||
|
||||
msgid "> `d`: show only changed options"
|
||||
msgstr "> `d`: приказивање само измењених опција"
|
||||
@@ -7791,13 +7802,12 @@ msgid ""
|
||||
"value_changed, parent_value, min, max, description, description2, "
|
||||
"description_en, description_en2, string_values, allowed_values"
|
||||
msgstr ""
|
||||
"> `c:xxx`: приказивање опција које се подударају са израчунатим "
|
||||
"условом „xxx”, уз коришћење следећих променљивих: file, section, option, "
|
||||
"name, parent_name, type, type_en, type_short (bool/int/str/col/enum), "
|
||||
"type_tiny (b/i/s/c/e), default_value, default_value_undef, value, "
|
||||
"quoted_value, value_undef, value_changed, parent_value, min, max, "
|
||||
"description, description2, description_en, description_en2, string_values, "
|
||||
"allowed_values"
|
||||
"> `c:xxx`: приказивање опција које се подударају са израчунатим условом "
|
||||
"„xxx”, уз коришћење следећих променљивих: file, section, option, name, "
|
||||
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/"
|
||||
"i/s/c/e), default_value, default_value_undef, value, quoted_value, "
|
||||
"value_undef, value_changed, parent_value, min, max, description, "
|
||||
"description2, description_en, description_en2, string_values, allowed_values"
|
||||
|
||||
msgid ""
|
||||
"The lines with options are displayed using string evaluation (see /help eval "
|
||||
@@ -7893,8 +7903,8 @@ msgid ""
|
||||
" - ${description_en2}: option description (in English), \"(no "
|
||||
"description)\" if there's no description"
|
||||
msgstr ""
|
||||
" - ${description_en2}: опис опције (на енглеском), „(no description)” "
|
||||
"ако нема описа"
|
||||
" - ${description_en2}: опис опције (на енглеском), „(no description)” ако "
|
||||
"нема описа"
|
||||
|
||||
msgid " - ${string_values}: string values allowed for set of an enum option"
|
||||
msgstr ""
|
||||
@@ -9072,8 +9082,7 @@ msgstr "кључ: кључ за канал"
|
||||
|
||||
msgid "raw[apply]: set currently joined channels in the autojoin option"
|
||||
msgstr ""
|
||||
"raw[apply]: поставља канале на које сте тренутно пријављени у autojoin "
|
||||
"опцију"
|
||||
"raw[apply]: поставља канале на које сте тренутно пријављени у autojoin опцију"
|
||||
|
||||
msgid "raw[join]: join the channels in the autojoin option"
|
||||
msgstr "raw[join]: спаја канале у autojoin опцији"
|
||||
@@ -9097,8 +9106,7 @@ msgstr "надимак: надимак или хост"
|
||||
|
||||
msgid ""
|
||||
"Without argument, this command displays the ban list for current channel."
|
||||
msgstr ""
|
||||
"Без аргумента, ова команда приказује листу забрана за текући канал."
|
||||
msgstr "Без аргумента, ова команда приказује листу забрана за текући канал."
|
||||
|
||||
msgid "client capability negotiation"
|
||||
msgstr "преговарање могућности клијента"
|
||||
@@ -9117,8 +9125,8 @@ msgid ""
|
||||
"raw[req]: request a new capability or remove a capability (if starting with "
|
||||
"\"-\", for example: \"-multi-prefix\")"
|
||||
msgstr ""
|
||||
"raw[req]: захтева нову могућност или уклања могућност (ако почиње са „-”, "
|
||||
"на пример: „-multi-prefix”)"
|
||||
"raw[req]: захтева нову могућност или уклања могућност (ако почиње са „-”, на "
|
||||
"пример: „-multi-prefix”)"
|
||||
|
||||
msgid ""
|
||||
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
|
||||
@@ -9139,8 +9147,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Програм WeeChat подржава следеће могућности: account-notify, away-notify, "
|
||||
"batch, cap-notify, chghost, draft/multiline, echo-message, extended-join, "
|
||||
"invite-notify, message-tags, multi-prefix, server-time, setname, userhost-"
|
||||
"in-names."
|
||||
"invite-notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
|
||||
"names."
|
||||
|
||||
msgid ""
|
||||
"The capabilities to automatically enable on servers can be set in option irc."
|
||||
@@ -9148,8 +9156,8 @@ msgid ""
|
||||
"capabilities)."
|
||||
msgstr ""
|
||||
"Могућности које се аутоматски укључују на серверима могу да се поставе у "
|
||||
"опцији irc.server_default.capabilities (или посебно за сваки сервер у "
|
||||
"опцији irc.server.xxx.capabilities)."
|
||||
"опцији irc.server_default.capabilities (или посебно за сваки сервер у опцији "
|
||||
"irc.server.xxx.capabilities)."
|
||||
|
||||
msgid " display supported and enabled capabilities:"
|
||||
msgstr " приказ подржаних и укључених могућности:"
|
||||
@@ -9192,8 +9200,8 @@ msgid ""
|
||||
"> - URL with format: irc[6][s]://[nickname[:password]@]irc.example.org[:port]"
|
||||
"[/#channel1][,#channel2[...]]"
|
||||
msgstr ""
|
||||
"> - URL са форматом: irc[6][s]://[надимак[:лозинка]@]irc.example.org[:порт]"
|
||||
"[/#канал1][,#канал2[...]]"
|
||||
"> - URL са форматом: irc[6][s]://[надимак[:лозинка]@]irc.example.org[:порт][/"
|
||||
"#канал1][,#канал2[...]]"
|
||||
|
||||
msgid ""
|
||||
"> Note: for an address/IP/URL, a temporary server is added (NOT SAVED), see /"
|
||||
@@ -9205,8 +9213,8 @@ msgstr ""
|
||||
msgid ""
|
||||
"option: set option for server (for boolean option, value can be omitted)"
|
||||
msgstr ""
|
||||
"опција: постављање опције за сервер (вредност може да се изостави за "
|
||||
"логичке опције)"
|
||||
"опција: постављање опције за сервер (вредност може да се изостави за логичке "
|
||||
"опције)"
|
||||
|
||||
msgid "raw[nooption]: set boolean option to \"off\" (for example: -notls)"
|
||||
msgstr "raw[nooption]: постављање логичке опције на ’off’ (на пример: -notls)"
|
||||
@@ -9924,8 +9932,8 @@ msgid ""
|
||||
"connect to the server (/connect name) and to set server options: irc.server."
|
||||
"name.xxx"
|
||||
msgstr ""
|
||||
"име: име сервера, за интерну употребу и за приказ; ово име се користи "
|
||||
"за повезивање на сервер (/connect име) и за постављање опција сервера: irc."
|
||||
"име: име сервера, за интерну употребу и за приказ; ово име се користи за "
|
||||
"повезивање на сервер (/connect име) и за постављање опција сервера: irc."
|
||||
"server.име.xxx"
|
||||
|
||||
msgid ""
|
||||
@@ -9993,9 +10001,9 @@ msgid ""
|
||||
"(message sent), modified (message modified by a modifier), redirected "
|
||||
"(message redirected)"
|
||||
msgstr ""
|
||||
"> `f:xxx`: приказ само порука са заставицом: recv (порука је "
|
||||
"примљена), sent (порука је послата), modified (порука је измењена "
|
||||
"модификатором), redirected (порука је преусмерена)"
|
||||
"> `f:xxx`: приказ само порука са заставицом: recv (порука је примљена), sent "
|
||||
"(порука је послата), modified (порука је измењена модификатором), redirected "
|
||||
"(порука је преусмерена)"
|
||||
|
||||
msgid "> `m:xxx`: show only IRC command \"xxx\""
|
||||
msgstr "> `m:xxx`: приказ само IRC команде „xxx”"
|
||||
@@ -10009,10 +10017,10 @@ msgid ""
|
||||
msgstr ""
|
||||
"> `c:xxx`: приказ само порука које се подударају са израчунатим условом "
|
||||
"„xxx”, користећи следеће променљиве: излаз функције irc_message_parse (као "
|
||||
"nick, command, channel, text, итд., погледајте функцију info_get_hashtable "
|
||||
"у референтном приручнику API додатака да видите комплетну листу "
|
||||
"променљивих), date (формат: „гггг-мм-дд чч:мм:сс”), server, recv, sent, "
|
||||
"modified, redirected"
|
||||
"nick, command, channel, text, итд., погледајте функцију info_get_hashtable у "
|
||||
"референтном приручнику API додатака да видите комплетну листу променљивих), "
|
||||
"date (формат: „гггг-мм-дд чч:мм:сс”), server, recv, sent, modified, "
|
||||
"redirected"
|
||||
|
||||
msgid "list services currently connected to the network"
|
||||
msgstr "листа сервиса који су тренутно повезани на мрежу"
|
||||
@@ -10024,7 +10032,6 @@ msgstr "[<маска> [<тип>]]"
|
||||
msgid "mask: list only services matching this mask"
|
||||
msgstr "маска: приказују се само сервиси који се подударају са овом маском"
|
||||
|
||||
|
||||
msgid "type: list only services of this type"
|
||||
msgstr "тип: приказују се само сервиси овог типа"
|
||||
|
||||
@@ -10206,8 +10213,7 @@ msgstr "<надимак>[,<надимак>...] [<број> [<циљ>]]"
|
||||
|
||||
msgid "count: number of replies to return (full search if negative number)"
|
||||
msgstr ""
|
||||
"број: колико одговора треба да се врати (пуна претрага ако је број "
|
||||
"негативан)"
|
||||
"број: колико одговора треба да се врати (пуна претрага ако је број негативан)"
|
||||
|
||||
msgid "target: reply should match this mask"
|
||||
msgstr "циљ: одговор би требало да задовољава ову маску"
|
||||
@@ -11004,9 +11010,9 @@ msgid ""
|
||||
"add tag \"irc_ignored\" in ignored messages instead of removing them; that "
|
||||
"way messages can be filtered with /filter command and toggled on-demand"
|
||||
msgstr ""
|
||||
"уместо да их обрише, у игнорисане поруке додаје ознаку „irc_ignored”; на "
|
||||
"тај начин поруке по жељи могу да се укључују/искључују и филтрирају "
|
||||
"командом /filter"
|
||||
"уместо да их обрише, у игнорисане поруке додаје ознаку „irc_ignored”; на тај "
|
||||
"начин поруке по жељи могу да се укључују/искључују и филтрирају командом /"
|
||||
"filter"
|
||||
|
||||
msgid ""
|
||||
"hide channel modes arguments if at least one of these modes is in channel "
|
||||
@@ -12750,8 +12756,8 @@ msgid ""
|
||||
"level: level for messages to be logged (0 = logging disabled, 1 = a few "
|
||||
"messages (most important) .. 9 = all messages)"
|
||||
msgstr ""
|
||||
"ниво: ниво за поруке које се логују (0 = логовање је искључено, 1 = "
|
||||
"неколико порука (најважнијих) ... 9 = све поруке)"
|
||||
"ниво: ниво за поруке које се логују (0 = логовање је искључено, 1 = неколико "
|
||||
"порука (најважнијих) ... 9 = све поруке)"
|
||||
|
||||
msgid "raw[flush]: write all log files now"
|
||||
msgstr "raw[flush]: тренутни упис свих лог фајлова"
|
||||
@@ -13581,8 +13587,8 @@ msgstr ""
|
||||
|
||||
msgid "raw[unload]: unload a script (if no name given, unload all scripts)"
|
||||
msgstr ""
|
||||
"raw[unload]: уклањање скрипте из меморије (ако се не наведе име, из "
|
||||
"меморије се уклањају све скрипте)"
|
||||
"raw[unload]: уклањање скрипте из меморије (ако се не наведе име, из меморије "
|
||||
"се уклањају све скрипте)"
|
||||
|
||||
msgid "filename: script (file) to load"
|
||||
msgstr "имефајла: скрипта (фајл) који треба да се учита"
|
||||
@@ -13599,8 +13605,7 @@ msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[-o]: send evaluation result to the buffer without executing commands"
|
||||
msgstr ""
|
||||
"raw[-o]: слање резултата израчунавања у бафер без извршавања команди"
|
||||
msgstr "raw[-o]: слање резултата израчунавања у бафер без извршавања команди"
|
||||
|
||||
msgid "raw[-oc]: send evaluation result to the buffer and execute commands"
|
||||
msgstr "raw[-oc]: слање резултата израчунавања у бафер и извршавање команди"
|
||||
@@ -13987,8 +13992,8 @@ msgid ""
|
||||
"path: path used for relay (for UNIX domain socket only); path is evaluated "
|
||||
"(see function string_eval_path_home in plugin API reference)"
|
||||
msgstr ""
|
||||
"путања: путања која се користи за релеј (само за UNIX доменске "
|
||||
"сокете); путања се израчунава (погледајте функцију string_eval_path_home у "
|
||||
"путања: путања која се користи за релеј (само за UNIX доменске сокете); "
|
||||
"путања се израчунава (погледајте функцију string_eval_path_home у "
|
||||
"референтном приручнику API додатака)"
|
||||
|
||||
msgid "raw[raw]: open buffer with raw Relay data"
|
||||
@@ -15643,15 +15648,15 @@ msgid ""
|
||||
"raw[-i]: copy list of triggers enabled in command line (for sending to "
|
||||
"buffer) (string in English)"
|
||||
msgstr ""
|
||||
"raw[-i]: копира у командну линију листу укључених окидача (да се пошаље "
|
||||
"у бафер) (стринг на енглеском)"
|
||||
"raw[-i]: копира у командну линију листу укључених окидача (да се пошаље у "
|
||||
"бафер) (стринг на енглеском)"
|
||||
|
||||
msgid ""
|
||||
"raw[-il]: copy list of triggers enabled in command line (for sending to "
|
||||
"buffer) (translated string)"
|
||||
msgstr ""
|
||||
"raw[-il]: копира у командну линију листу укључених окидача (да се пошаље "
|
||||
"у бафер) (преведени стринг)"
|
||||
"raw[-il]: копира у командну линију листу укључених окидача (да се пошаље у "
|
||||
"бафер) (преведени стринг)"
|
||||
|
||||
msgid "raw[listfull]: list triggers with detailed info for each trigger"
|
||||
msgstr "raw[listfull]: листа окидача са детаљним инфо о сваком окидачу"
|
||||
@@ -15698,8 +15703,8 @@ msgid ""
|
||||
"> type `line`: buffer type (\"formatted\", \"free\" or \"*\"), list of "
|
||||
"buffer masks, tags"
|
||||
msgstr ""
|
||||
"> тип `line`: тип бафера („formatted”, „free” или „*”), листа маски "
|
||||
"бафера, ознака"
|
||||
"> тип `line`: тип бафера („formatted”, „free” или „*”), листа маски бафера, "
|
||||
"ознака"
|
||||
|
||||
msgid "> type `print`: buffer, tags, message, strip colors"
|
||||
msgstr "> тип `print`: бафер, ознаке, порука, уклањање боја"
|
||||
@@ -15771,8 +15776,7 @@ msgstr "raw[output]: слање команде за креирање окида
|
||||
msgid ""
|
||||
"raw[recreate]: same as \"input\", with option \"addreplace\" instead of "
|
||||
"\"add\""
|
||||
msgstr ""
|
||||
"raw[recreate]: исто као „input”, са опцијом „addreplace” уместо „add”"
|
||||
msgstr "raw[recreate]: исто као „input”, са опцијом „addreplace” уместо „add”"
|
||||
|
||||
msgid "raw[set]: set an option in a trigger"
|
||||
msgstr "raw[set]: постављање опције у окидачу"
|
||||
@@ -15810,8 +15814,8 @@ msgstr ""
|
||||
msgid ""
|
||||
"raw[toggle]: toggle triggers (without arguments: toggle triggers globally)"
|
||||
msgstr ""
|
||||
"raw[toggle]: пребацивање стања окидача (без аргумената: окидачи се "
|
||||
"пребацују глобално)"
|
||||
"raw[toggle]: пребацивање стања окидача (без аргумената: окидачи се пребацују "
|
||||
"глобално)"
|
||||
|
||||
msgid "raw[restart]: restart triggers (recreate the hooks)"
|
||||
msgstr "raw[restart]: поновно покретање окидача (куке се поново креирају)"
|
||||
@@ -16386,8 +16390,8 @@ msgstr ""
|
||||
"ограничава одлазне фајлове/разговоре и долазне/пасивне фајлове тако да "
|
||||
"користе само портове у наведеном опсегу (корисно за NAT) (синтакса: један "
|
||||
"порт, тј. 5000 или опсег портова, тј. 5000-5015, празна вредност значи било "
|
||||
"који порт, препоручује се употреба портова већих од 1024, јер само root "
|
||||
"може да користи портове испод 1024)"
|
||||
"који порт, препоручује се употреба портова већих од 1024, јер само root може "
|
||||
"да користи портове испод 1024)"
|
||||
|
||||
msgid ""
|
||||
"send acks when receiving files; if disabled, the transfer may freeze if the "
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-11-11 08:54+0100\n"
|
||||
"POT-Creation-Date: 2023-11-23 08:13+0100\n"
|
||||
"PO-Revision-Date: 2023-10-20 13:11+0200\n"
|
||||
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -5088,6 +5088,19 @@ msgstr ""
|
||||
"yalnızca weechat.look.emphasized_attributes seçeneği boş bir diziyse "
|
||||
"kullanılır (öntanımlı değer)"
|
||||
|
||||
#. TRANSLATORS: please do not translate "lightred:blue"
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "text color for nicks (comma separated list of colors, background is "
|
||||
#| "allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgid ""
|
||||
"text color for syntax highlighting in evaluated strings, with "
|
||||
"\"${raw_hl:...}\" and \"${hl:...}\" (comma separated list of colors, "
|
||||
"background is allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgstr ""
|
||||
"takma ad metin rengi (renklerin virgülle ayrılmış bir listesi, arka plan "
|
||||
"için \"fg:bg\" biçimiyle izin verilir; örneğin \"lightred:blue\""
|
||||
|
||||
msgid "text color for actions in input line"
|
||||
msgstr "girdi satırındaki eylemler metin rengi"
|
||||
|
||||
@@ -6038,6 +6051,9 @@ msgstr "WeeChat temel renkleri:"
|
||||
msgid "Nick colors:"
|
||||
msgstr "Takma ad renkleri:"
|
||||
|
||||
msgid "Syntax highlighting colors in evaluated strings:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Color aliases:"
|
||||
msgstr "Renk armaları:"
|
||||
|
||||
|
||||
+11
-1
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-11-11 08:54+0100\n"
|
||||
"POT-Creation-Date: 2023-11-23 08:13+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"
|
||||
@@ -4206,6 +4206,13 @@ msgid ""
|
||||
"(default value)"
|
||||
msgstr ""
|
||||
|
||||
#. TRANSLATORS: please do not translate "lightred:blue"
|
||||
msgid ""
|
||||
"text color for syntax highlighting in evaluated strings, with "
|
||||
"\"${raw_hl:...}\" and \"${hl:...}\" (comma separated list of colors, "
|
||||
"background is allowed with format: \"fg:bg\", for example: \"lightred:blue\")"
|
||||
msgstr ""
|
||||
|
||||
msgid "text color for actions in input line"
|
||||
msgstr ""
|
||||
|
||||
@@ -5019,6 +5026,9 @@ msgstr ""
|
||||
msgid "Nick colors:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Syntax highlighting colors in evaluated strings:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Color aliases:"
|
||||
msgstr ""
|
||||
|
||||
|
||||
+70
-1
@@ -269,6 +269,7 @@ struct t_config_option *config_color_chat_value = NULL;
|
||||
struct t_config_option *config_color_chat_value_null = NULL;
|
||||
struct t_config_option *config_color_emphasized = NULL;
|
||||
struct t_config_option *config_color_emphasized_bg = NULL;
|
||||
struct t_config_option *config_color_eval_syntax_colors = NULL;
|
||||
struct t_config_option *config_color_input_actions = NULL;
|
||||
struct t_config_option *config_color_input_text_not_found = NULL;
|
||||
struct t_config_option *config_color_item_away = NULL;
|
||||
@@ -364,6 +365,8 @@ int config_word_chars_input_count = 0;
|
||||
char **config_nick_colors = NULL;
|
||||
int config_num_nick_colors = 0;
|
||||
struct t_hashtable *config_hashtable_nick_color_force = NULL;
|
||||
char **config_eval_syntax_colors = NULL;
|
||||
int config_num_eval_syntax_colors = 0;
|
||||
char *config_item_time_evaluated = NULL;
|
||||
char *config_buffer_time_same_evaluated = NULL;
|
||||
struct t_hashtable *config_hashtable_completion_partial_templates = NULL;
|
||||
@@ -822,6 +825,31 @@ config_change_look_nick_color_force (const void *pointer, void *data,
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Sets eval syntax highlighting colors using option
|
||||
* "weechat.color.eval_syntax_colors".
|
||||
*/
|
||||
|
||||
void
|
||||
config_set_eval_syntax_colors ()
|
||||
{
|
||||
if (config_eval_syntax_colors)
|
||||
{
|
||||
string_free_split (config_eval_syntax_colors);
|
||||
config_eval_syntax_colors = NULL;
|
||||
config_num_eval_syntax_colors = 0;
|
||||
}
|
||||
|
||||
config_eval_syntax_colors = string_split (
|
||||
CONFIG_STRING(config_color_eval_syntax_colors),
|
||||
",",
|
||||
NULL,
|
||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||
0, &config_num_eval_syntax_colors);
|
||||
}
|
||||
|
||||
/*
|
||||
* Callback for changes on options "weechat.look.nick_prefix" and
|
||||
* "weechat.look.nick_suffix".
|
||||
@@ -1295,6 +1323,23 @@ config_change_nick_colors (const void *pointer, void *data,
|
||||
gui_color_buffer_display ();
|
||||
}
|
||||
|
||||
/*
|
||||
* Callback for changes on option "weechat.color.eval_syntax_colors".
|
||||
*/
|
||||
|
||||
void
|
||||
config_change_eval_syntax_colors (const void *pointer, void *data,
|
||||
struct t_config_option *option)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) pointer;
|
||||
(void) data;
|
||||
(void) option;
|
||||
|
||||
config_set_eval_syntax_colors ();
|
||||
gui_color_buffer_display ();
|
||||
}
|
||||
|
||||
/*
|
||||
* Callback for changes on option
|
||||
* "weechat.completion.partial_completion_templates".
|
||||
@@ -1516,7 +1561,9 @@ config_weechat_init_after_read ()
|
||||
/* apply filters on all buffers */
|
||||
gui_filter_all_buffers (NULL);
|
||||
|
||||
config_set_nick_colors ();
|
||||
config_change_look_nick_color_force (NULL, NULL, NULL);
|
||||
config_set_eval_syntax_colors ();
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -4611,6 +4658,21 @@ config_weechat_init_options ()
|
||||
NULL, NULL, NULL,
|
||||
&config_change_color, NULL, NULL,
|
||||
NULL, NULL, NULL);
|
||||
/* eval syntax highlighting colors (for "${raw_hl:xxx}" and "${hl:xxx}") */
|
||||
config_color_eval_syntax_colors = config_file_new_option (
|
||||
weechat_config_file, weechat_config_section_color,
|
||||
"eval_syntax_colors", "string",
|
||||
/* TRANSLATORS: please do not translate "lightred:blue" */
|
||||
N_("text color for syntax highlighting in evaluated strings, "
|
||||
"with \"${raw_hl:...}\" and \"${hl:...}\" (comma separated "
|
||||
"list of colors, background is allowed with format: \"fg:bg\", "
|
||||
"for example: \"lightred:blue\")"),
|
||||
NULL, 0, 0,
|
||||
"green,lightred,lightblue,lightmagenta,yellow,cyan",
|
||||
NULL, 0,
|
||||
NULL, NULL, NULL,
|
||||
&config_change_eval_syntax_colors, NULL, NULL,
|
||||
NULL, NULL, NULL);
|
||||
/* input bar */
|
||||
config_color_input_actions = config_file_new_option (
|
||||
weechat_config_file, weechat_config_section_color,
|
||||
@@ -4654,7 +4716,7 @@ config_weechat_init_options ()
|
||||
NULL, NULL, NULL,
|
||||
&config_change_color, NULL, NULL,
|
||||
NULL, NULL, NULL);
|
||||
/* general color settings */
|
||||
/* separator */
|
||||
config_color_separator = config_file_new_option (
|
||||
weechat_config_file, weechat_config_section_color,
|
||||
"separator", "color",
|
||||
@@ -5374,6 +5436,13 @@ config_weechat_free ()
|
||||
config_num_nick_colors = 0;
|
||||
}
|
||||
|
||||
if (config_eval_syntax_colors)
|
||||
{
|
||||
string_free_split (config_eval_syntax_colors);
|
||||
config_eval_syntax_colors = NULL;
|
||||
config_num_eval_syntax_colors = 0;
|
||||
}
|
||||
|
||||
if (config_hashtable_nick_color_force)
|
||||
{
|
||||
hashtable_free (config_hashtable_nick_color_force);
|
||||
|
||||
@@ -321,6 +321,7 @@ extern struct t_config_option *config_color_chat_value;
|
||||
extern struct t_config_option *config_color_chat_value_null;
|
||||
extern struct t_config_option *config_color_emphasized;
|
||||
extern struct t_config_option *config_color_emphasized_bg;
|
||||
extern struct t_config_option *config_color_eval_syntax_colors;
|
||||
extern struct t_config_option *config_color_input_actions;
|
||||
extern struct t_config_option *config_color_input_text_not_found;
|
||||
extern struct t_config_option *config_color_item_away;
|
||||
@@ -400,6 +401,8 @@ extern int config_word_chars_input_count;
|
||||
extern char **config_nick_colors;
|
||||
extern int config_num_nick_colors;
|
||||
extern struct t_hashtable *config_hashtable_nick_color_force;
|
||||
extern char **config_eval_syntax_colors;
|
||||
extern int config_num_eval_syntax_colors;
|
||||
extern char *config_buffer_time_same_evaluated;
|
||||
extern struct t_hashtable *config_hashtable_completion_partial_templates;
|
||||
|
||||
|
||||
+140
-10
@@ -32,7 +32,7 @@
|
||||
#include "weechat.h"
|
||||
#include "wee-eval.h"
|
||||
#include "wee-calc.h"
|
||||
#include "wee-config-file.h"
|
||||
#include "wee-config.h"
|
||||
#include "wee-hashtable.h"
|
||||
#include "wee-hdata.h"
|
||||
#include "wee-hook.h"
|
||||
@@ -1464,13 +1464,122 @@ end:
|
||||
return (value) ? value : strdup ("");
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns text with syntax highlighting (using markers, to be replaced by
|
||||
* colors later).
|
||||
*
|
||||
* Note: result must be freed after use.
|
||||
*/
|
||||
|
||||
char *
|
||||
eval_syntax_highlight_add_markers (const char *text,
|
||||
struct t_eval_context *eval_context)
|
||||
{
|
||||
char **value;
|
||||
|
||||
value = string_dyn_alloc (128);
|
||||
if (!value)
|
||||
return NULL;
|
||||
|
||||
string_dyn_concat (value, EVAL_SYNTAX_HL_INC, -1);
|
||||
string_dyn_concat (value, eval_context->prefix, -1);
|
||||
if (text)
|
||||
string_dyn_concat (value, text, -1);
|
||||
string_dyn_concat (value, eval_context->suffix, -1);
|
||||
string_dyn_concat (value, EVAL_SYNTAX_HL_DEC, -1);
|
||||
|
||||
return string_dyn_free (value, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Replaces raw highlight markers with color codes defined in option
|
||||
* weechat.color.eval_syntax_colors.
|
||||
*
|
||||
* Note: result must be freed after use.
|
||||
*/
|
||||
|
||||
char *
|
||||
eval_syntax_highlight_colorize (const char *value)
|
||||
{
|
||||
const char *ptr_value;
|
||||
char **result, *pos;
|
||||
int color;
|
||||
|
||||
if (!value)
|
||||
return NULL;
|
||||
|
||||
result = string_dyn_alloc (128);
|
||||
if (!result)
|
||||
return NULL;
|
||||
|
||||
color = -1;
|
||||
ptr_value = value;
|
||||
while (ptr_value && ptr_value[0])
|
||||
{
|
||||
pos = strstr (ptr_value, EVAL_SYNTAX_HL_MARKER);
|
||||
if (!pos)
|
||||
{
|
||||
string_dyn_concat (result, ptr_value, -1);
|
||||
break;
|
||||
}
|
||||
string_dyn_concat (result, ptr_value, pos - ptr_value);
|
||||
ptr_value = pos + strlen (EVAL_SYNTAX_HL_MARKER);
|
||||
if (config_num_eval_syntax_colors > 0)
|
||||
{
|
||||
if (ptr_value[0] == '+')
|
||||
color++;
|
||||
else if (ptr_value[0] == '-')
|
||||
color--;
|
||||
}
|
||||
ptr_value++;
|
||||
if (config_num_eval_syntax_colors > 0)
|
||||
{
|
||||
string_dyn_concat (
|
||||
result,
|
||||
gui_color_get_custom (
|
||||
(color >= 0) ?
|
||||
config_eval_syntax_colors[color % config_num_eval_syntax_colors] :
|
||||
"reset"),
|
||||
-1);
|
||||
}
|
||||
}
|
||||
|
||||
return string_dyn_free (result, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Adds syntax highlighting in text.
|
||||
*
|
||||
* Note: result must be freed after use.
|
||||
*/
|
||||
|
||||
char *
|
||||
eval_syntax_highlight (const char *text, struct t_eval_context *eval_context)
|
||||
{
|
||||
char *value, *value2;
|
||||
|
||||
eval_context->syntax_highlight++;
|
||||
|
||||
value = eval_replace_vars (text, eval_context);
|
||||
value2 = eval_syntax_highlight_colorize (value);
|
||||
if (value)
|
||||
free (value);
|
||||
|
||||
eval_context->syntax_highlight--;
|
||||
|
||||
return value2;
|
||||
}
|
||||
|
||||
/*
|
||||
* 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"
|
||||
* - a string to evaluate (format: eval:xxx)
|
||||
* - 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)
|
||||
@@ -1531,6 +1640,16 @@ eval_replace_vars_cb (void *data, const char *text)
|
||||
|
||||
EVAL_DEBUG_MSG(1, "eval_replace_vars_cb(\"%s\")", text);
|
||||
|
||||
if (eval_context->syntax_highlight)
|
||||
return eval_syntax_highlight_add_markers (text, eval_context);
|
||||
|
||||
/* raw text (no evaluation at all), with syntax highlighting */
|
||||
if (strncmp (text, "raw_hl:", 7) == 0)
|
||||
{
|
||||
value = eval_syntax_highlight (text + 7, eval_context);
|
||||
goto end;
|
||||
}
|
||||
|
||||
/* raw text (no evaluation at all) */
|
||||
if (strncmp (text, "raw:", 4) == 0)
|
||||
{
|
||||
@@ -1538,6 +1657,13 @@ eval_replace_vars_cb (void *data, const char *text)
|
||||
goto end;
|
||||
}
|
||||
|
||||
/* syntax highlighting */
|
||||
if (strncmp (text, "hl:", 3) == 0)
|
||||
{
|
||||
value = eval_syntax_highlight (text + 3, eval_context);
|
||||
goto end;
|
||||
}
|
||||
|
||||
/* variable in hashtable "user_vars" or "extra_vars" */
|
||||
ptr_value = hashtable_get (eval_context->user_vars, text);
|
||||
if (ptr_value)
|
||||
@@ -1891,7 +2017,8 @@ end:
|
||||
char *
|
||||
eval_replace_vars (const char *expr, struct t_eval_context *eval_context)
|
||||
{
|
||||
const char *no_replace_prefix_list[] = { "if:", "raw:", NULL };
|
||||
const char *no_replace_prefix_list_std[] = { "if:", "raw:", "raw_hl:", NULL };
|
||||
const char *no_replace_prefix_list_col[] = { "raw:", "raw_hl:", NULL };
|
||||
char *result;
|
||||
int debug_id;
|
||||
|
||||
@@ -1901,13 +2028,15 @@ eval_replace_vars (const char *expr, struct t_eval_context *eval_context)
|
||||
|
||||
if (eval_context->recursion_count < EVAL_RECURSION_MAX)
|
||||
{
|
||||
result = string_replace_with_callback (expr,
|
||||
eval_context->prefix,
|
||||
eval_context->suffix,
|
||||
no_replace_prefix_list,
|
||||
&eval_replace_vars_cb,
|
||||
eval_context,
|
||||
NULL);
|
||||
result = string_replace_with_callback (
|
||||
expr,
|
||||
eval_context->prefix,
|
||||
eval_context->suffix,
|
||||
(eval_context->syntax_highlight) ?
|
||||
no_replace_prefix_list_col : no_replace_prefix_list_std,
|
||||
&eval_replace_vars_cb,
|
||||
eval_context,
|
||||
NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2542,6 +2671,7 @@ eval_expression (const char *expr, struct t_hashtable *pointers,
|
||||
eval_context->regex = NULL;
|
||||
eval_context->regex_replacement_index = 1;
|
||||
eval_context->recursion_count = 0;
|
||||
eval_context->syntax_highlight = 0;
|
||||
eval_context->debug_level = 0;
|
||||
eval_context->debug_depth = 0;
|
||||
eval_context->debug_id = 0;
|
||||
|
||||
@@ -37,6 +37,10 @@
|
||||
#define EVAL_RANGE_ALPHA EVAL_RANGE_LOWER EVAL_RANGE_UPPER
|
||||
#define EVAL_RANGE_ALNUM EVAL_RANGE_ALPHA EVAL_RANGE_DIGIT
|
||||
|
||||
#define EVAL_SYNTAX_HL_MARKER "\xef\xbf\xbf\xef\xbf\xbf"
|
||||
#define EVAL_SYNTAX_HL_INC (EVAL_SYNTAX_HL_MARKER "+")
|
||||
#define EVAL_SYNTAX_HL_DEC (EVAL_SYNTAX_HL_MARKER "-")
|
||||
|
||||
struct t_hashtable;
|
||||
|
||||
enum t_eval_logical_op
|
||||
@@ -89,6 +93,8 @@ struct t_eval_context
|
||||
struct t_eval_regex *regex; /* in case of replace with regex */
|
||||
int regex_replacement_index; /* replacement index (≥ 1) */
|
||||
int recursion_count; /* to prevent infinite recursion */
|
||||
int syntax_highlight; /* syntax highlight: ${raw_hl:...} */
|
||||
/* or ${hl:...} */
|
||||
int debug_level; /* 0: no debug, 1: debug, 2: extra */
|
||||
int debug_depth; /* used for debug indentation */
|
||||
int debug_id; /* operation id in debug output */
|
||||
|
||||
@@ -870,8 +870,8 @@ gui_color_info_term_colors (char *buffer, int size)
|
||||
void
|
||||
gui_color_buffer_display ()
|
||||
{
|
||||
int y, i, lines, columns, line, col, color, max_color, num_items;
|
||||
char str_line[1024], str_color[64], str_rgb[64], **items;
|
||||
int y, i, lines, columns, line, col, color, max_color;
|
||||
char str_line[1024], str_color[64], str_rgb[64];
|
||||
struct t_gui_color_palette *color_palette;
|
||||
|
||||
if (!gui_color_buffer)
|
||||
@@ -1011,47 +1011,70 @@ gui_color_buffer_display ()
|
||||
y++;
|
||||
gui_chat_printf_y (gui_color_buffer, y++,
|
||||
_("Nick colors:"));
|
||||
items = string_split (CONFIG_STRING(config_color_chat_nick_colors),
|
||||
",",
|
||||
NULL,
|
||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||
0,
|
||||
&num_items);
|
||||
if (items)
|
||||
if (config_num_nick_colors > 0)
|
||||
{
|
||||
str_line[0] = '\0';
|
||||
for (i = 0; i < num_items; i++)
|
||||
for (i = 0; i < config_num_nick_colors; i++)
|
||||
{
|
||||
if (gui_color_use_term_colors)
|
||||
{
|
||||
snprintf (str_color, sizeof (str_color),
|
||||
" %s",
|
||||
items[i]);
|
||||
config_nick_colors[i]);
|
||||
}
|
||||
else
|
||||
{
|
||||
snprintf (str_color, sizeof (str_color),
|
||||
"%c %s%s",
|
||||
GUI_COLOR_RESET_CHAR,
|
||||
gui_color_get_custom (items[i]),
|
||||
items[i]);
|
||||
gui_color_get_custom (config_nick_colors[i]),
|
||||
config_nick_colors[i]);
|
||||
}
|
||||
if (gui_chat_strlen_screen (str_line) + gui_chat_strlen_screen (str_color) > 80)
|
||||
if (gui_chat_strlen_screen (str_line)
|
||||
+ gui_chat_strlen_screen (str_color) > 80)
|
||||
{
|
||||
gui_chat_printf_y (gui_color_buffer, y++,
|
||||
" %s", str_line);
|
||||
gui_chat_printf_y (gui_color_buffer, y++, " %s", str_line);
|
||||
str_line[0] = '\0';
|
||||
}
|
||||
strcat (str_line, str_color);
|
||||
}
|
||||
if (str_line[0])
|
||||
gui_chat_printf_y (gui_color_buffer, y++, " %s", str_line);
|
||||
}
|
||||
|
||||
/* display eval syntax highlighting colors */
|
||||
y++;
|
||||
gui_chat_printf_y (gui_color_buffer, y++,
|
||||
_("Syntax highlighting colors in evaluated strings:"));
|
||||
if (config_num_eval_syntax_colors > 0)
|
||||
{
|
||||
str_line[0] = '\0';
|
||||
for (i = 0; i < config_num_eval_syntax_colors; i++)
|
||||
{
|
||||
gui_chat_printf_y (gui_color_buffer, y++,
|
||||
" %s", str_line);
|
||||
if (gui_color_use_term_colors)
|
||||
{
|
||||
snprintf (str_color, sizeof (str_color),
|
||||
" %s",
|
||||
config_eval_syntax_colors[i]);
|
||||
}
|
||||
else
|
||||
{
|
||||
snprintf (str_color, sizeof (str_color),
|
||||
"%c %s%s",
|
||||
GUI_COLOR_RESET_CHAR,
|
||||
gui_color_get_custom (config_eval_syntax_colors[i]),
|
||||
config_eval_syntax_colors[i]);
|
||||
}
|
||||
if (gui_chat_strlen_screen (str_line)
|
||||
+ gui_chat_strlen_screen (str_color) > 80)
|
||||
{
|
||||
gui_chat_printf_y (gui_color_buffer, y++, " %s", str_line);
|
||||
str_line[0] = '\0';
|
||||
}
|
||||
strcat (str_line, str_color);
|
||||
}
|
||||
string_free_split (items);
|
||||
if (str_line[0])
|
||||
gui_chat_printf_y (gui_color_buffer, y++, " %s", str_line);
|
||||
}
|
||||
|
||||
/* display palette colors */
|
||||
|
||||
@@ -489,12 +489,87 @@ TEST(CoreEval, EvalExpression)
|
||||
WEE_CHECK_EVAL("", "${}");
|
||||
WEE_CHECK_EVAL("", "${xyz}");
|
||||
|
||||
/* test raw string with syntax highlighting */
|
||||
WEE_CHECK_EVAL("", "${raw_hl:}");
|
||||
WEE_CHECK_EVAL("test", "${raw_hl:test}");
|
||||
snprintf (str_value, sizeof (str_value),
|
||||
"%s${info:version}%s",
|
||||
gui_color_get_custom (config_eval_syntax_colors[0]),
|
||||
gui_color_get_custom ("reset"));
|
||||
WEE_CHECK_EVAL(str_value, "${raw_hl:${info:version}}");
|
||||
snprintf (str_value, sizeof (str_value),
|
||||
"test_%s${info:version}%s_end",
|
||||
gui_color_get_custom (config_eval_syntax_colors[0]),
|
||||
gui_color_get_custom ("reset"));
|
||||
WEE_CHECK_EVAL(str_value, "test_${raw_hl:${info:version}}_end");
|
||||
snprintf (str_value, sizeof (str_value),
|
||||
"test_%s${cut:3,,%s${rev:%s${info:version}%s}%s}%s_end",
|
||||
gui_color_get_custom (config_eval_syntax_colors[0]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[1]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[2]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[1]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[0]),
|
||||
gui_color_get_custom ("reset"));
|
||||
WEE_CHECK_EVAL(str_value, "test_${raw_hl:${cut:3,,${rev:${info:version}}}}_end");
|
||||
snprintf (str_value, sizeof (str_value),
|
||||
"test_%s${raw:${test}}%s_end",
|
||||
gui_color_get_custom (config_eval_syntax_colors[0]),
|
||||
gui_color_get_custom ("reset"));
|
||||
WEE_CHECK_EVAL(str_value, "test_${raw_hl:${raw:${test}}}_end");
|
||||
snprintf (str_value, sizeof (str_value),
|
||||
"test_%s${if:a==1?%s${yes}%s:%s${no}%s}%s_end",
|
||||
gui_color_get_custom (config_eval_syntax_colors[0]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[1]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[0]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[1]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[0]),
|
||||
gui_color_get_custom ("reset"));
|
||||
WEE_CHECK_EVAL(str_value, "test_${raw_hl:${if:a==1?${yes}:${no}}}_end");
|
||||
snprintf (str_value, sizeof (str_value),
|
||||
"test_%s${a:%s${b:%s${c:%s${d:%s${e:%s${f:%s${g:%s${h:%s${i:}%s}%s}%s}%s}%s}%s}%s}%s}%s_end",
|
||||
gui_color_get_custom (config_eval_syntax_colors[0 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[1 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[2 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[3 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[4 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[5 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[6 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[7 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[8 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[7 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[6 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[5 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[4 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[3 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[2 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[1 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom (config_eval_syntax_colors[0 % config_num_eval_syntax_colors]),
|
||||
gui_color_get_custom ("reset"));
|
||||
WEE_CHECK_EVAL(str_value,
|
||||
"test_${raw_hl:${a:${b:${c:${d:${e:${f:${g:${h:${i:}}}}}}}}}}_end");
|
||||
|
||||
/* test raw string */
|
||||
WEE_CHECK_EVAL("", "${raw:}");
|
||||
WEE_CHECK_EVAL("test", "${raw:test}");
|
||||
WEE_CHECK_EVAL("${info:version}", "${raw:${info:version}}");
|
||||
WEE_CHECK_EVAL("yes", "${if:${raw:test?}==${raw:test?}?yes:no}");
|
||||
WEE_CHECK_EVAL("no", "${if:${raw:test?}==${raw:test}?yes:no}");
|
||||
WEE_CHECK_EVAL("16", "${length:${raw:${buffer.number}}}");
|
||||
|
||||
/* test string with syntax highlighting */
|
||||
WEE_CHECK_EVAL("", "${hl:}");
|
||||
WEE_CHECK_EVAL("test", "${hl:test}");
|
||||
snprintf (str_value, sizeof (str_value),
|
||||
"%s${info:version}%s",
|
||||
gui_color_get_custom (config_eval_syntax_colors[0]),
|
||||
gui_color_get_custom ("reset"));
|
||||
WEE_CHECK_EVAL("test_weechat_end", "test_${hl:${buffer.name}}_end");
|
||||
snprintf (str_value, sizeof (str_value),
|
||||
"test_%s${buffer.name}%s_end",
|
||||
gui_color_get_custom (config_eval_syntax_colors[0]),
|
||||
gui_color_get_custom ("reset"));
|
||||
WEE_CHECK_EVAL(str_value, "test_${hl:${raw:${buffer.name}}}_end");
|
||||
|
||||
/* test eval of substring */
|
||||
WEE_CHECK_EVAL("\t", "${eval:${\\t}}");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user