mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
core: add option -color in command /pipe
This commit is contained in:
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-01-25 17:03+0100\n"
|
||||
"POT-Creation-Date: 2025-02-01 09:35+0100\n"
|
||||
"PO-Revision-Date: 2024-11-20 18:17+0100\n"
|
||||
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -561,6 +561,10 @@ msgstr "Myš povolena"
|
||||
msgid "Mouse disabled"
|
||||
msgstr "Myš vypnuta"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sInvalid color: \"%s\""
|
||||
msgstr "%s%s: nekorektní znaková sada: \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to parse file \"%s\""
|
||||
msgid "%sUnable to open file \"%s\""
|
||||
@@ -2757,8 +2761,9 @@ msgstr ""
|
||||
|
||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||
msgid ""
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-concat <separator>] [-"
|
||||
"strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] <command>"
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-color strip|keep|ansi] [-"
|
||||
"concat <separator>] [-strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] "
|
||||
"<command>"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -2808,6 +2813,11 @@ msgid ""
|
||||
"use the current locale)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "reconnect to server(s)"
|
||||
msgid "raw[-color]: convert colors"
|
||||
msgstr "znovu připojit k serveru(ům)"
|
||||
|
||||
msgid ""
|
||||
"If no target is specified (\"-buffer\", \"-file\" or \"-hsignal\"), then the "
|
||||
"command output is sent on the current buffer."
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-01-25 17:03+0100\n"
|
||||
"POT-Creation-Date: 2025-02-01 09:35+0100\n"
|
||||
"PO-Revision-Date: 2024-11-20 18:17+0100\n"
|
||||
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -564,6 +564,11 @@ msgstr "Ratón activado"
|
||||
msgid "Mouse disabled"
|
||||
msgstr "Ratón desactivado"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%sInvalid number: \"%s\""
|
||||
msgid "%sInvalid color: \"%s\""
|
||||
msgstr "%sNúmero inválido: \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to parse file \"%s\""
|
||||
msgid "%sUnable to open file \"%s\""
|
||||
@@ -2819,8 +2824,9 @@ msgstr ""
|
||||
|
||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||
msgid ""
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-concat <separator>] [-"
|
||||
"strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] <command>"
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-color strip|keep|ansi] [-"
|
||||
"concat <separator>] [-strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] "
|
||||
"<command>"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -2870,6 +2876,11 @@ msgid ""
|
||||
"use the current locale)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "reconnect to server(s)"
|
||||
msgid "raw[-color]: convert colors"
|
||||
msgstr "reconectar al servidor(es)"
|
||||
|
||||
msgid ""
|
||||
"If no target is specified (\"-buffer\", \"-file\" or \"-hsignal\"), then the "
|
||||
"command output is sent on the current buffer."
|
||||
|
||||
@@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-01-25 17:03+0100\n"
|
||||
"PO-Revision-Date: 2025-01-25 17:05+0100\n"
|
||||
"POT-Creation-Date: 2025-02-01 09:35+0100\n"
|
||||
"PO-Revision-Date: 2025-02-01 09:36+0100\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: fr\n"
|
||||
@@ -542,6 +542,10 @@ msgstr "Souris activée"
|
||||
msgid "Mouse disabled"
|
||||
msgstr "Souris désactivée"
|
||||
|
||||
#, c-format
|
||||
msgid "%sInvalid color: \"%s\""
|
||||
msgstr "%sCouleur invalide : \"%s\""
|
||||
|
||||
#, c-format
|
||||
msgid "%sUnable to open file \"%s\""
|
||||
msgstr "%sImpossible d'ouvrir le fichier \"%s\""
|
||||
@@ -3016,11 +3020,13 @@ msgstr ""
|
||||
|
||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||
msgid ""
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-concat <separator>] [-"
|
||||
"strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] <command>"
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-color strip|keep|ansi] [-"
|
||||
"concat <separator>] [-strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] "
|
||||
"<command>"
|
||||
msgstr ""
|
||||
"[-buffer <nom>|-file <fichier>|-hsignal <nom>] [-concat <séparateur>] [-"
|
||||
"strip <caractères>] [-skipempty] [-c] [-o] [-g] [-nl] <commande>"
|
||||
"[-buffer <nom>|-file <fichier>|-hsignal <nom>] [-color strip|keep|ansi] [-"
|
||||
"concat <séparateur>] [-strip <caractères>] [-skipempty] [-c] [-o] [-g] [-nl] "
|
||||
"<commande>"
|
||||
|
||||
msgid "raw[-buffer]: display command output on this buffer"
|
||||
msgstr "raw[-buffer] : afficher la sortie de la commande sur ce tampon"
|
||||
@@ -3080,6 +3086,9 @@ msgstr ""
|
||||
"raw[-nl] : afficher les messages en anglais pendant l'exécution de la "
|
||||
"commande (ne pas utiliser la locale courante)"
|
||||
|
||||
msgid "raw[-color]: convert colors"
|
||||
msgstr "raw[-color] : convertir les couleurs"
|
||||
|
||||
msgid ""
|
||||
"If no target is specified (\"-buffer\", \"-file\" or \"-hsignal\"), then the "
|
||||
"command output is sent on the current buffer."
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-01-25 17:03+0100\n"
|
||||
"POT-Creation-Date: 2025-02-01 09:35+0100\n"
|
||||
"PO-Revision-Date: 2024-11-20 18:17+0100\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -553,6 +553,10 @@ msgstr "a felhasználók le lettek tiltva"
|
||||
msgid "Mouse disabled"
|
||||
msgstr "Nincs aliasz definiálva.\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sInvalid color: \"%s\""
|
||||
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sUnable to open file \"%s\""
|
||||
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
|
||||
@@ -2671,8 +2675,9 @@ msgstr ""
|
||||
|
||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||
msgid ""
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-concat <separator>] [-"
|
||||
"strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] <command>"
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-color strip|keep|ansi] [-"
|
||||
"concat <separator>] [-strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] "
|
||||
"<command>"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -2720,6 +2725,11 @@ msgid ""
|
||||
"use the current locale)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "reconnect to server(s)"
|
||||
msgid "raw[-color]: convert colors"
|
||||
msgstr "újracsatlakozás a szerver(ek)hez"
|
||||
|
||||
msgid ""
|
||||
"If no target is specified (\"-buffer\", \"-file\" or \"-hsignal\"), then the "
|
||||
"command output is sent on the current buffer."
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-01-25 17:03+0100\n"
|
||||
"POT-Creation-Date: 2025-02-01 09:35+0100\n"
|
||||
"PO-Revision-Date: 2024-11-20 18:17+0100\n"
|
||||
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -551,6 +551,10 @@ msgstr "Mouse abilitato"
|
||||
msgid "Mouse disabled"
|
||||
msgstr "Mouse disabilitato"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sInvalid color: \"%s\""
|
||||
msgstr "%s%s: set di caratter invalido: \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to parse file \"%s\""
|
||||
msgid "%sUnable to open file \"%s\""
|
||||
@@ -2772,8 +2776,9 @@ msgstr ""
|
||||
|
||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||
msgid ""
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-concat <separator>] [-"
|
||||
"strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] <command>"
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-color strip|keep|ansi] [-"
|
||||
"concat <separator>] [-strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] "
|
||||
"<command>"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -2823,6 +2828,11 @@ msgid ""
|
||||
"use the current locale)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "reconnect to server(s)"
|
||||
msgid "raw[-color]: convert colors"
|
||||
msgstr "riconnette a uno o più server"
|
||||
|
||||
msgid ""
|
||||
"If no target is specified (\"-buffer\", \"-file\" or \"-hsignal\"), then the "
|
||||
"command output is sent on the current buffer."
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-01-25 17:03+0100\n"
|
||||
"POT-Creation-Date: 2025-02-01 09:35+0100\n"
|
||||
"PO-Revision-Date: 2024-11-20 18:17+0100\n"
|
||||
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
|
||||
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
|
||||
@@ -560,6 +560,10 @@ msgstr "マウスを有効化しました"
|
||||
msgid "Mouse disabled"
|
||||
msgstr "マウスを無効化しました"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sInvalid color: \"%s\""
|
||||
msgstr "%s%s: 別名が間違っています: \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to parse file \"%s\""
|
||||
msgid "%sUnable to open file \"%s\""
|
||||
@@ -2812,8 +2816,9 @@ msgstr ""
|
||||
|
||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||
msgid ""
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-concat <separator>] [-"
|
||||
"strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] <command>"
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-color strip|keep|ansi] [-"
|
||||
"concat <separator>] [-strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] "
|
||||
"<command>"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -2863,6 +2868,11 @@ msgid ""
|
||||
"use the current locale)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "reconnect to server(s)"
|
||||
msgid "raw[-color]: convert colors"
|
||||
msgstr "サーバに再接続"
|
||||
|
||||
msgid ""
|
||||
"If no target is specified (\"-buffer\", \"-file\" or \"-hsignal\"), then the "
|
||||
"command output is sent on the current buffer."
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-01-25 17:03+0100\n"
|
||||
"POT-Creation-Date: 2025-02-01 09:35+0100\n"
|
||||
"PO-Revision-Date: 2024-12-16 12:01+0100\n"
|
||||
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -540,6 +540,11 @@ msgstr "Obsługa myszy włączona"
|
||||
msgid "Mouse disabled"
|
||||
msgstr "Obsługa myszy wyłączona"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%sInvalid number: \"%s\""
|
||||
msgid "%sInvalid color: \"%s\""
|
||||
msgstr "%sNieprawidłowy numer: \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to parse file \"%s\""
|
||||
msgid "%sUnable to open file \"%s\""
|
||||
@@ -3033,8 +3038,9 @@ msgstr ""
|
||||
|
||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||
msgid ""
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-concat <separator>] [-"
|
||||
"strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] <command>"
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-color strip|keep|ansi] [-"
|
||||
"concat <separator>] [-strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] "
|
||||
"<command>"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -3090,6 +3096,11 @@ msgid ""
|
||||
"use the current locale)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "raw[clear]: clear hotlist"
|
||||
msgid "raw[-color]: convert colors"
|
||||
msgstr "raw[clear]: wyczyść hotlistę"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "If no target is specified (\"-core\", \"-current\" or \"-buffer\"), then "
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-01-25 17:03+0100\n"
|
||||
"POT-Creation-Date: 2025-02-01 09:35+0100\n"
|
||||
"PO-Revision-Date: 2024-11-20 18:17+0100\n"
|
||||
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
@@ -562,6 +562,10 @@ msgstr "Rato ativado"
|
||||
msgid "Mouse disabled"
|
||||
msgstr "Rato desativado"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sInvalid color: \"%s\""
|
||||
msgstr "%s%s: nome de alias inválido: \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to parse file \"%s\""
|
||||
msgid "%sUnable to open file \"%s\""
|
||||
@@ -2828,8 +2832,9 @@ msgstr ""
|
||||
|
||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||
msgid ""
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-concat <separator>] [-"
|
||||
"strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] <command>"
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-color strip|keep|ansi] [-"
|
||||
"concat <separator>] [-strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] "
|
||||
"<command>"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -2879,6 +2884,11 @@ msgid ""
|
||||
"use the current locale)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "reconnect to server(s)"
|
||||
msgid "raw[-color]: convert colors"
|
||||
msgstr "reconectar-se a um servidor"
|
||||
|
||||
msgid ""
|
||||
"If no target is specified (\"-buffer\", \"-file\" or \"-hsignal\"), then the "
|
||||
"command output is sent on the current buffer."
|
||||
|
||||
+12
-3
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-01-25 17:03+0100\n"
|
||||
"POT-Creation-Date: 2025-02-01 09:35+0100\n"
|
||||
"PO-Revision-Date: 2024-11-20 18:17+0100\n"
|
||||
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -559,6 +559,10 @@ msgstr "Mouse habilitado"
|
||||
msgid "Mouse disabled"
|
||||
msgstr "Mouse desabilitado"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sInvalid color: \"%s\""
|
||||
msgstr "%s%s: charset inválido: \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s%s: unable to parse file \"%s\""
|
||||
msgid "%sUnable to open file \"%s\""
|
||||
@@ -2782,8 +2786,9 @@ msgstr ""
|
||||
|
||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||
msgid ""
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-concat <separator>] [-"
|
||||
"strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] <command>"
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-color strip|keep|ansi] [-"
|
||||
"concat <separator>] [-strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] "
|
||||
"<command>"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -2833,6 +2838,10 @@ msgid ""
|
||||
"use the current locale)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "raw[-color]: convert colors"
|
||||
msgstr "%s: reconectando ao servidor..."
|
||||
|
||||
msgid ""
|
||||
"If no target is specified (\"-buffer\", \"-file\" or \"-hsignal\"), then the "
|
||||
"command output is sent on the current buffer."
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-01-25 17:03+0100\n"
|
||||
"POT-Creation-Date: 2025-02-01 09:35+0100\n"
|
||||
"PO-Revision-Date: 2024-11-20 18:17+0100\n"
|
||||
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -566,6 +566,10 @@ msgstr "команда users отключена"
|
||||
msgid "Mouse disabled"
|
||||
msgstr "Сокращения не заданы.\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sInvalid color: \"%s\""
|
||||
msgstr "Не могу записать лог-файл \"%s\"\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sUnable to open file \"%s\""
|
||||
msgstr "Не могу записать лог-файл \"%s\"\n"
|
||||
@@ -2695,8 +2699,9 @@ msgstr ""
|
||||
|
||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||
msgid ""
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-concat <separator>] [-"
|
||||
"strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] <command>"
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-color strip|keep|ansi] [-"
|
||||
"concat <separator>] [-strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] "
|
||||
"<command>"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -2744,6 +2749,11 @@ msgid ""
|
||||
"use the current locale)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "reconnect to server(s)"
|
||||
msgid "raw[-color]: convert colors"
|
||||
msgstr "переподключиться к серверу(-ам)"
|
||||
|
||||
msgid ""
|
||||
"If no target is specified (\"-buffer\", \"-file\" or \"-hsignal\"), then the "
|
||||
"command output is sent on the current buffer."
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-01-25 17:03+0100\n"
|
||||
"POT-Creation-Date: 2025-02-01 09:35+0100\n"
|
||||
"PO-Revision-Date: 2025-01-21 12:27+0400\n"
|
||||
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -531,6 +531,11 @@ msgstr "Миш је укључен"
|
||||
msgid "Mouse disabled"
|
||||
msgstr "Миш је искључен"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%sInvalid number: \"%s\""
|
||||
msgid "%sInvalid color: \"%s\""
|
||||
msgstr "%sНеважећи број: „%s”"
|
||||
|
||||
#, c-format
|
||||
msgid "%sUnable to open file \"%s\""
|
||||
msgstr "%sНије успело отварање фајла „%s”"
|
||||
@@ -2916,9 +2921,14 @@ msgid "redirect command output to a buffer, a file or a hsignal"
|
||||
msgstr "преусмерава излаз команде у бафер, фајл или hsignal"
|
||||
|
||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "[-buffer <name>|-file <filename>|-hsignal <name>] [-concat <separator>] [-"
|
||||
#| "strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] <command>"
|
||||
msgid ""
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-concat <separator>] [-"
|
||||
"strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] <command>"
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-color strip|keep|ansi] [-"
|
||||
"concat <separator>] [-strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] "
|
||||
"<command>"
|
||||
msgstr ""
|
||||
"[-buffer <име>|-file <имефајла>|-hsignal <име>] [-concat <граничник>] [-"
|
||||
"strip <кар>] [-skipempty] [-c] [-o] [-g] [-nl] <команда>"
|
||||
@@ -2981,6 +2991,11 @@ msgstr ""
|
||||
"raw[-nl]: током извршавања команде, поруке се приказују на енглеском (не "
|
||||
"користи се текући локалитет)"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "raw[clear]: clear hotlist"
|
||||
msgid "raw[-color]: convert colors"
|
||||
msgstr "raw[clear]: брише врућу листу"
|
||||
|
||||
msgid ""
|
||||
"If no target is specified (\"-buffer\", \"-file\" or \"-hsignal\"), then the "
|
||||
"command output is sent on the current buffer."
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-01-25 17:03+0100\n"
|
||||
"POT-Creation-Date: 2025-02-01 09:35+0100\n"
|
||||
"PO-Revision-Date: 2025-01-04 18:21+0100\n"
|
||||
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -531,6 +531,11 @@ msgstr "Fare etkin"
|
||||
msgid "Mouse disabled"
|
||||
msgstr "Fare devre dışı"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%sInvalid number: \"%s\""
|
||||
msgid "%sInvalid color: \"%s\""
|
||||
msgstr "%sGeçersiz numara: \"%s\""
|
||||
|
||||
#, c-format
|
||||
msgid "%sUnable to open file \"%s\""
|
||||
msgstr "%s\"%s\" dosyası açılamıyor"
|
||||
@@ -2794,8 +2799,9 @@ msgstr ""
|
||||
|
||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||
msgid ""
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-concat <separator>] [-"
|
||||
"strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] <command>"
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-color strip|keep|ansi] [-"
|
||||
"concat <separator>] [-strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] "
|
||||
"<command>"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -2845,6 +2851,11 @@ msgid ""
|
||||
"use the current locale)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "reconnect to server(s)"
|
||||
msgid "raw[-color]: convert colors"
|
||||
msgstr "sunuculara yeniden bağlan"
|
||||
|
||||
msgid ""
|
||||
"If no target is specified (\"-buffer\", \"-file\" or \"-hsignal\"), then the "
|
||||
"command output is sent on the current buffer."
|
||||
|
||||
+11
-3
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-01-25 17:03+0100\n"
|
||||
"POT-Creation-Date: 2025-02-01 09:35+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"
|
||||
@@ -518,6 +518,10 @@ msgstr ""
|
||||
msgid "Mouse disabled"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sInvalid color: \"%s\""
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sUnable to open file \"%s\""
|
||||
msgstr ""
|
||||
@@ -2521,8 +2525,9 @@ msgstr ""
|
||||
|
||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||
msgid ""
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-concat <separator>] [-"
|
||||
"strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] <command>"
|
||||
"[-buffer <name>|-file <filename>|-hsignal <name>] [-color strip|keep|ansi] [-"
|
||||
"concat <separator>] [-strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] "
|
||||
"<command>"
|
||||
msgstr ""
|
||||
|
||||
msgid "raw[-buffer]: display command output on this buffer"
|
||||
@@ -2568,6 +2573,9 @@ msgid ""
|
||||
"use the current locale)"
|
||||
msgstr ""
|
||||
|
||||
msgid "raw[-color]: convert colors"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"If no target is specified (\"-buffer\", \"-file\" or \"-hsignal\"), then the "
|
||||
"command output is sent on the current buffer."
|
||||
|
||||
+28
-4
@@ -4979,7 +4979,8 @@ COMMAND_CALLBACK(pipe)
|
||||
const char *ptr_command, *ptr_filename, *ptr_hsignal;
|
||||
const char *ptr_concat_separator, *ptr_strip_chars;
|
||||
char *command, space[2] = " ", newline[2] = "\n";
|
||||
int i, index_command, skip_empty_lines, send_to_buffer, no_locale, pipe_set;
|
||||
int i, index_command, skip_empty_lines, send_to_buffer, no_locale;
|
||||
int pipe_set, color, color_set;
|
||||
struct t_gui_buffer *ptr_buffer;
|
||||
|
||||
/* make C compiler happy */
|
||||
@@ -5002,6 +5003,8 @@ COMMAND_CALLBACK(pipe)
|
||||
ptr_filename = NULL;
|
||||
ptr_hsignal = NULL;
|
||||
ptr_command = NULL;
|
||||
color = GUI_CHAT_PIPE_COLOR_STRIP;
|
||||
color_set = 0;
|
||||
|
||||
for (i = 1; i < argc; i++)
|
||||
{
|
||||
@@ -5070,6 +5073,22 @@ COMMAND_CALLBACK(pipe)
|
||||
ptr_hsignal = argv[i];
|
||||
index_command = i + 1;
|
||||
}
|
||||
else if (string_strcmp (argv[i], "-color") == 0)
|
||||
{
|
||||
COMMAND_MIN_ARGS(i + 2, argv[i]);
|
||||
i++;
|
||||
color = gui_chat_pipe_search_color (argv[i]);
|
||||
if (color < 0)
|
||||
{
|
||||
gui_chat_printf (NULL,
|
||||
_("%sInvalid color: \"%s\""),
|
||||
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
|
||||
argv[i]);
|
||||
return WEECHAT_RC_ERROR;
|
||||
}
|
||||
color_set = 1;
|
||||
index_command = i + 1;
|
||||
}
|
||||
else
|
||||
break;
|
||||
}
|
||||
@@ -5120,6 +5139,8 @@ COMMAND_CALLBACK(pipe)
|
||||
gui_chat_pipe_buffer = (ptr_buffer) ? ptr_buffer : buffer;
|
||||
if (!gui_chat_pipe_buffer)
|
||||
COMMAND_ERROR;
|
||||
if (!color_set && !send_to_buffer)
|
||||
color = GUI_CHAT_PIPE_COLOR_KEEP;
|
||||
if (gui_chat_pipe_buffer->type != GUI_BUFFER_TYPE_FORMATTED)
|
||||
{
|
||||
gui_chat_printf (NULL,
|
||||
@@ -5145,6 +5166,7 @@ COMMAND_CALLBACK(pipe)
|
||||
gui_chat_pipe_skip_empty_lines = skip_empty_lines;
|
||||
if (no_locale)
|
||||
setlocale (LC_ALL, "C");
|
||||
gui_chat_pipe_color = color;
|
||||
pipe_set = 1;
|
||||
gui_chat_pipe = 1;
|
||||
}
|
||||
@@ -9337,8 +9359,8 @@ command_init ()
|
||||
N_("redirect command output to a buffer, a file or a hsignal"),
|
||||
/* TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated */
|
||||
N_("[-buffer <name>|-file <filename>|-hsignal <name>] "
|
||||
"[-concat <separator>] [-strip <chars>] [-skipempty] [-c] [-o] "
|
||||
"[-g] [-nl] <command>"),
|
||||
"[-color strip|keep|ansi] [-concat <separator>] "
|
||||
"[-strip <chars>] [-skipempty] [-c] [-o] [-g] [-nl] <command>"),
|
||||
CMD_ARGS_DESC(
|
||||
N_("raw[-buffer]: display command output on this buffer"),
|
||||
N_("name: full buffer name (examples: \"core.weechat\", "
|
||||
@@ -9347,6 +9369,7 @@ command_init ()
|
||||
N_("raw[-hsignal]: send command output as hsignal; "
|
||||
"keys: \"command\", \"output\" (lines separated by separator) "
|
||||
"and \"tags\" (tags of each line separated by newline)"),
|
||||
N_("raw[-color]: convert colors"),
|
||||
N_("raw[-o]: send command output to the buffer as input; "
|
||||
"colors are stripped and commands are NOT executed "
|
||||
"(used only with -buffer)"),
|
||||
@@ -9383,7 +9406,8 @@ command_init ()
|
||||
"-buffer %(buffers_plugins_names) %(commands:/)|%*"
|
||||
" || -file %(filename) %(commands:/)|%*"
|
||||
" || -hsignal %- %(commands:/)|%*"
|
||||
" || -o %(commands:/)|%*",
|
||||
" || -o %(commands:/)|%*"
|
||||
" || %(commands:/)|%*",
|
||||
&command_pipe, NULL, NULL);
|
||||
hook_command (
|
||||
NULL, "plugin",
|
||||
|
||||
+81
-6
@@ -73,6 +73,10 @@ char **gui_chat_pipe_concat_lines = NULL; /* concatenated lines */
|
||||
char **gui_chat_pipe_concat_tags = NULL; /* concatenated tags */
|
||||
char *gui_chat_pipe_strip_chars = NULL; /* chars to strip on lines */
|
||||
int gui_chat_pipe_skip_empty_lines = 0; /* skip empty lines */
|
||||
/* colors in pipe output */
|
||||
enum t_gui_chat_pipe_color gui_chat_pipe_color = GUI_CHAT_PIPE_COLOR_STRIP;
|
||||
char *gui_chat_pipe_color_string[GUI_CHAT_PIPE_NUM_COLORS] =
|
||||
{ "strip", "keep", "ansi" };
|
||||
|
||||
|
||||
/*
|
||||
@@ -604,9 +608,60 @@ gui_chat_buffer_valid (struct t_gui_buffer *buffer,
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Searches for a pipe color name.
|
||||
*
|
||||
* Returns index of color in enum t_gui_chat_pipe_color, -1 if not found.
|
||||
*/
|
||||
|
||||
int
|
||||
gui_chat_pipe_search_color (const char *color)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (!color)
|
||||
return -1;
|
||||
|
||||
for (i = 0; i < GUI_CHAT_PIPE_NUM_COLORS; i++)
|
||||
{
|
||||
if (strcmp (gui_chat_pipe_color_string[i], color) == 0)
|
||||
return i;
|
||||
}
|
||||
|
||||
/* color not found */
|
||||
return -1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Converts color in a message, according to variable gui_chat_pipe_color.
|
||||
*
|
||||
* Note: result must be freed after use.
|
||||
*/
|
||||
|
||||
char *
|
||||
gui_chat_pipe_convert_color (const char *data)
|
||||
{
|
||||
if (!data)
|
||||
return NULL;
|
||||
|
||||
switch (gui_chat_pipe_color)
|
||||
{
|
||||
case GUI_CHAT_PIPE_COLOR_STRIP:
|
||||
return gui_color_decode (data, NULL);
|
||||
case GUI_CHAT_PIPE_COLOR_KEEP:
|
||||
return strdup (data);
|
||||
case GUI_CHAT_PIPE_COLOR_ANSI:
|
||||
return gui_color_encode_ansi (data);
|
||||
case GUI_CHAT_PIPE_NUM_COLORS:
|
||||
break;
|
||||
}
|
||||
|
||||
return strdup (data);
|
||||
}
|
||||
|
||||
/*
|
||||
* Builds a message with a line: "<prefix> <message>" or "<message>" if there
|
||||
* is no prefix. The colors are stripped from prefix and message.
|
||||
* is no prefix.
|
||||
*
|
||||
* Note: result must be freed after use.
|
||||
*/
|
||||
@@ -619,10 +674,8 @@ gui_chat_pipe_build_message (struct t_gui_line *line)
|
||||
if (!line)
|
||||
return NULL;
|
||||
|
||||
prefix = (line->data->prefix) ?
|
||||
gui_color_decode (line->data->prefix, NULL) : strdup ("");
|
||||
message = (line->data->message) ?
|
||||
gui_color_decode (line->data->message, NULL) : strdup ("");
|
||||
prefix = gui_chat_pipe_convert_color (line->data->prefix);
|
||||
message = gui_chat_pipe_convert_color (line->data->message);
|
||||
|
||||
string_asprintf (&data,
|
||||
"%s%s%s",
|
||||
@@ -645,10 +698,15 @@ gui_chat_pipe_send_buffer_input (struct t_gui_buffer *buffer, const char *data)
|
||||
{
|
||||
struct t_gui_buffer *buffer_saved;
|
||||
int send_to_buffer_saved;
|
||||
char *data_color;
|
||||
|
||||
if (!buffer || !data)
|
||||
return;
|
||||
|
||||
data_color = gui_chat_pipe_convert_color (data);
|
||||
if (!data_color)
|
||||
return;
|
||||
|
||||
buffer_saved = gui_chat_pipe_buffer;
|
||||
send_to_buffer_saved = gui_chat_pipe_send_to_buffer;
|
||||
|
||||
@@ -658,7 +716,7 @@ gui_chat_pipe_send_buffer_input (struct t_gui_buffer *buffer, const char *data)
|
||||
|
||||
input_data (
|
||||
buffer,
|
||||
(data[0]) ? data : " ",
|
||||
(data_color[0]) ? data_color : " ",
|
||||
"-", /* commands_allowed */
|
||||
0, /* split_newline */
|
||||
0); /* user_data */
|
||||
@@ -666,6 +724,8 @@ gui_chat_pipe_send_buffer_input (struct t_gui_buffer *buffer, const char *data)
|
||||
/* restore pipe redirection */
|
||||
gui_chat_pipe_buffer = buffer_saved;
|
||||
gui_chat_pipe_send_to_buffer = send_to_buffer_saved;
|
||||
|
||||
free (data_color);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -819,6 +879,7 @@ gui_chat_pipe_end ()
|
||||
string_dyn_free (gui_chat_pipe_concat_tags, 1);
|
||||
gui_chat_pipe_concat_tags = NULL;
|
||||
}
|
||||
gui_chat_pipe_color = GUI_CHAT_PIPE_COLOR_STRIP;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -839,6 +900,7 @@ gui_chat_printf_datetime_tags_internal (struct t_gui_buffer *buffer,
|
||||
int display_time;
|
||||
char *ptr_msg, *pos_prefix, *pos_tab;
|
||||
char *modifier_data, *string, *new_string, *pos_newline;
|
||||
char *prefix_color, *message_color;
|
||||
struct t_gui_line *new_line;
|
||||
|
||||
if (!buffer)
|
||||
@@ -999,6 +1061,19 @@ gui_chat_printf_datetime_tags_internal (struct t_gui_buffer *buffer,
|
||||
/* line was handled with /pipe command, do NOT display it */
|
||||
goto no_print;
|
||||
}
|
||||
else if (gui_chat_pipe_buffer)
|
||||
{
|
||||
prefix_color = gui_chat_pipe_convert_color (new_line->data->prefix);
|
||||
string_shared_free (new_line->data->prefix);
|
||||
new_line->data->prefix = (prefix_color) ?
|
||||
(char *)string_shared_get (prefix_color) : NULL;
|
||||
new_line->data->prefix_length = (prefix_color) ?
|
||||
gui_chat_strlen_screen (prefix_color) : 0;
|
||||
|
||||
message_color = gui_chat_pipe_convert_color (new_line->data->message);
|
||||
free (new_line->data->message);
|
||||
new_line->data->message = message_color;
|
||||
}
|
||||
|
||||
/* add line in the buffer */
|
||||
gui_line_add (new_line);
|
||||
|
||||
@@ -66,6 +66,15 @@ enum t_gui_chat_mute
|
||||
GUI_CHAT_MUTE_ALL_BUFFERS,
|
||||
};
|
||||
|
||||
enum t_gui_chat_pipe_color
|
||||
{
|
||||
GUI_CHAT_PIPE_COLOR_STRIP = 0,
|
||||
GUI_CHAT_PIPE_COLOR_KEEP,
|
||||
GUI_CHAT_PIPE_COLOR_ANSI,
|
||||
/* number of color actions */
|
||||
GUI_CHAT_PIPE_NUM_COLORS,
|
||||
};
|
||||
|
||||
extern char *gui_chat_prefix[GUI_CHAT_NUM_PREFIXES];
|
||||
extern char gui_chat_prefix_empty[];
|
||||
extern int gui_chat_time_length;
|
||||
@@ -82,6 +91,7 @@ extern char **gui_chat_pipe_concat_lines;
|
||||
extern char **gui_chat_pipe_concat_tags;
|
||||
extern char *gui_chat_pipe_strip_chars;
|
||||
extern int gui_chat_pipe_skip_empty_lines;
|
||||
extern enum t_gui_chat_pipe_color gui_chat_pipe_color;
|
||||
|
||||
extern int gui_chat_display_tags;
|
||||
|
||||
@@ -108,6 +118,7 @@ extern int gui_chat_get_time_length ();
|
||||
extern void gui_chat_change_time_format ();
|
||||
extern int gui_chat_buffer_valid (struct t_gui_buffer *buffer,
|
||||
int buffer_type);
|
||||
extern int gui_chat_pipe_search_color (const char *color);
|
||||
extern void gui_chat_pipe_end ();
|
||||
extern void gui_chat_printf_datetime_tags (struct t_gui_buffer *buffer,
|
||||
time_t date, int date_usec,
|
||||
|
||||
Reference in New Issue
Block a user