mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 22:06:38 +02:00
core: add option whitespace in command /debug (closes #947)
New options are added to configure the chars displayed for spaces and tabulations: - weechat.look.whitespace_char: char for spaces - weechat.look.tab_whitespace_char: first char for tabulations
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
### Added
|
||||
|
||||
- core: add command `/pipe`
|
||||
- core: add option `whitespace` in command `/debug`, add options weechat.look.whitespace_char and weechat.look.tab_whitespace_char ([#947](https://github.com/weechat/weechat/issues/947))
|
||||
- relay/api: add resource `POST /api/completion` ([#2207](https://github.com/weechat/weechat/issues/2207))
|
||||
- relay/api: add default key `Alt`+`Ctrl`+`l` (L) to toggle between remote and local commands on remote buffers, add option `togglecmd` in command `/remote`, add options relay.api.remote_input_cmd_local and relay.api.remote_input_cmd_remote ([#2148](https://github.com/weechat/weechat/issues/2148))
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-02-09 18:02+0100\n"
|
||||
"POT-Creation-Date: 2025-02-15 20:00+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"
|
||||
@@ -1467,7 +1467,7 @@ msgid ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || hooks [<plugin_mask> "
|
||||
"[<hook_type>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|"
|
||||
"term|url|windows || callbacks <duration>[<unit>] || mouse|cursor [verbose] "
|
||||
"|| hdata [free] || time <command> || unicode <string>"
|
||||
"|| hdata [free] || time <command> || unicode <string> || whitespace"
|
||||
msgstr ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || buffer|color|memory|term|"
|
||||
"windows"
|
||||
@@ -1589,6 +1589,12 @@ msgid ""
|
||||
msgstr ""
|
||||
"uživatelské jméno pro proxy server(pozn.: obsah je vykonán, viz /help eval)"
|
||||
|
||||
msgid ""
|
||||
"raw[whitespace]: toggle whitespace mode: make spaces and tabulations visible "
|
||||
"in buffers and bars (see options weechat.look.whitespace_char and "
|
||||
"weechat.look.tab_whitespace_char)"
|
||||
msgstr ""
|
||||
|
||||
msgid "evaluate expression"
|
||||
msgstr "vyhodnotit výraz"
|
||||
|
||||
@@ -5027,6 +5033,12 @@ msgstr ""
|
||||
"výběrem URL v některých terminálech), znaky kódované do více bytů zde NEJSOU "
|
||||
"povoleny"
|
||||
|
||||
msgid ""
|
||||
"first char to display for tabulations when whitespace mode is enabled with "
|
||||
"command `/debug whitespace`; width on screen must be exactly one char; "
|
||||
"subsequent chars are set by option weechat.look.whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "number of spaces used to display tabs in messages"
|
||||
msgstr "prefix pro zprávy akcí"
|
||||
@@ -5037,6 +5049,12 @@ msgid ""
|
||||
"man strftime for date/time specifiers)"
|
||||
msgstr "formát času pro data konvertovaná v řetězec a zobrazené ve zprávách"
|
||||
|
||||
msgid ""
|
||||
"char to display for spaces when whitespace mode is enabled with command `/"
|
||||
"debug whitespace`; width on screen must be exactly one char; see also option "
|
||||
"weechat.look.tab_whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"automatically zoom on current window if the terminal becomes too small to "
|
||||
"display all windows (use alt-z to unzoom windows when the terminal is big "
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-02-09 18:02+0100\n"
|
||||
"POT-Creation-Date: 2025-02-15 20:00+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"
|
||||
@@ -1512,7 +1512,7 @@ msgid ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || hooks [<plugin_mask> "
|
||||
"[<hook_type>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|"
|
||||
"term|url|windows || callbacks <duration>[<unit>] || mouse|cursor [verbose] "
|
||||
"|| hdata [free] || time <command> || unicode <string>"
|
||||
"|| hdata [free] || time <command> || unicode <string> || whitespace"
|
||||
msgstr ""
|
||||
"list || set <plugin> <nível> || dump [<plugin>] || buffer|certs|color|dirs|"
|
||||
"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || "
|
||||
@@ -1631,6 +1631,12 @@ msgid ""
|
||||
"see /help eval)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[whitespace]: toggle whitespace mode: make spaces and tabulations visible "
|
||||
"in buffers and bars (see options weechat.look.whitespace_char and "
|
||||
"weechat.look.tab_whitespace_char)"
|
||||
msgstr ""
|
||||
|
||||
msgid "evaluate expression"
|
||||
msgstr "evaluar expresión"
|
||||
|
||||
@@ -5147,6 +5153,12 @@ msgstr ""
|
||||
"vacío dibujará una línea verdadera con ncurses), caracteres unicode NO están "
|
||||
"permitidos"
|
||||
|
||||
msgid ""
|
||||
"first char to display for tabulations when whitespace mode is enabled with "
|
||||
"command `/debug whitespace`; width on screen must be exactly one char; "
|
||||
"subsequent chars are set by option weechat.look.whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "number of spaces used to display tabs in messages"
|
||||
msgstr "localización para traducción de mensajes"
|
||||
@@ -5157,6 +5169,12 @@ msgid ""
|
||||
"man strftime for date/time specifiers)"
|
||||
msgstr "formato para la fecha mostrada en los mensajes"
|
||||
|
||||
msgid ""
|
||||
"char to display for spaces when whitespace mode is enabled with command `/"
|
||||
"debug whitespace`; width on screen must be exactly one char; see also option "
|
||||
"weechat.look.tab_whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"automatically zoom on current window if the terminal becomes too small to "
|
||||
"display all windows (use alt-z to unzoom windows when the terminal is big "
|
||||
|
||||
@@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-02-09 18:02+0100\n"
|
||||
"PO-Revision-Date: 2025-02-09 18:03+0100\n"
|
||||
"POT-Creation-Date: 2025-02-15 20:00+0100\n"
|
||||
"PO-Revision-Date: 2025-02-15 20:01+0100\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: fr\n"
|
||||
@@ -1504,12 +1504,13 @@ msgid ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || hooks [<plugin_mask> "
|
||||
"[<hook_type>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|"
|
||||
"term|url|windows || callbacks <duration>[<unit>] || mouse|cursor [verbose] "
|
||||
"|| hdata [free] || time <command> || unicode <string>"
|
||||
"|| hdata [free] || time <command> || unicode <string> || whitespace"
|
||||
msgstr ""
|
||||
"list || set <extension> <niveau> || dump [<extension>] || hooks "
|
||||
"[<masque_extension> [<type_hook>...]] || buffer|certs|color|dirs|infolists|"
|
||||
"libs|memory|tags|term|url|windows || cllbacks <durée>[<unité>] || mouse|"
|
||||
"cursor [verbose] || hdata [free] || time <commande> || unicode <chaîne>"
|
||||
"cursor [verbose] || hdata [free] || time <commande> || unicode <chaîne> || "
|
||||
"whitespace"
|
||||
|
||||
msgid "raw[list]: list plugins with debug levels"
|
||||
msgstr "raw[list] : lister les extensions avec leur niveau de debug"
|
||||
@@ -1643,6 +1644,15 @@ msgstr ""
|
||||
"raw[unicode] : afficher des informations sur la chaîne et les caractères "
|
||||
"unicode (évaluée, voir /help eval)"
|
||||
|
||||
msgid ""
|
||||
"raw[whitespace]: toggle whitespace mode: make spaces and tabulations visible "
|
||||
"in buffers and bars (see options weechat.look.whitespace_char and "
|
||||
"weechat.look.tab_whitespace_char)"
|
||||
msgstr ""
|
||||
"raw[whitespace] : basculer le mode \"espaces\" : rendre les espaces et "
|
||||
"tabulations visibles dans les tampons et barres (voir les options "
|
||||
"weechat.look.whitespace_char et weechat.look.tab_whitespace_char)"
|
||||
|
||||
msgid "evaluate expression"
|
||||
msgstr "évaluer une expression"
|
||||
|
||||
@@ -5584,6 +5594,16 @@ msgstr ""
|
||||
"fenêtres (une valeur vide tracera une vraie ligne avec ncurses) ; la largeur "
|
||||
"à l'écran doit être exactement d'un caractère"
|
||||
|
||||
msgid ""
|
||||
"first char to display for tabulations when whitespace mode is enabled with "
|
||||
"command `/debug whitespace`; width on screen must be exactly one char; "
|
||||
"subsequent chars are set by option weechat.look.whitespace_char"
|
||||
msgstr ""
|
||||
"premier caractère à afficher pour les tabulations lors que le mode "
|
||||
"\"espaces\" est activé avec la commande `/debug whitespace` ; la largeur à "
|
||||
"l'écran doit être exactement d'un caractère ; les caractères suivants sont "
|
||||
"définis par l'option weechat.look.whitespace_char"
|
||||
|
||||
msgid "number of spaces used to display tabs in messages"
|
||||
msgstr ""
|
||||
"nombre d'espaces utilisés pour afficher les tabulations dans les messages"
|
||||
@@ -5595,6 +5615,16 @@ msgstr ""
|
||||
"format de date/heure pour les dates converties en chaînes et affichées dans "
|
||||
"les messages (voir man strftime pour le format de date/heure)"
|
||||
|
||||
msgid ""
|
||||
"char to display for spaces when whitespace mode is enabled with command `/"
|
||||
"debug whitespace`; width on screen must be exactly one char; see also option "
|
||||
"weechat.look.tab_whitespace_char"
|
||||
msgstr ""
|
||||
"caractère à afficher pour les espaces lorsque le mode \"espaces\" est activé "
|
||||
"avec la commande `/debug whitespace` ; la largeur à l'écran doit être "
|
||||
"exactement d'un caractère ; voir aussi l'option "
|
||||
"weechat.look.tab_whitespace_char"
|
||||
|
||||
msgid ""
|
||||
"automatically zoom on current window if the terminal becomes too small to "
|
||||
"display all windows (use alt-z to unzoom windows when the terminal is big "
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-02-09 18:02+0100\n"
|
||||
"POT-Creation-Date: 2025-02-15 20:00+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"
|
||||
@@ -1425,7 +1425,7 @@ msgid ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || hooks [<plugin_mask> "
|
||||
"[<hook_type>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|"
|
||||
"term|url|windows || callbacks <duration>[<unit>] || mouse|cursor [verbose] "
|
||||
"|| hdata [free] || time <command> || unicode <string>"
|
||||
"|| hdata [free] || time <command> || unicode <string> || whitespace"
|
||||
msgstr "dump | buffer | windows"
|
||||
|
||||
msgid "raw[list]: list plugins with debug levels"
|
||||
@@ -1537,6 +1537,12 @@ msgid ""
|
||||
"see /help eval)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[whitespace]: toggle whitespace mode: make spaces and tabulations visible "
|
||||
"in buffers and bars (see options weechat.look.whitespace_char and "
|
||||
"weechat.look.tab_whitespace_char)"
|
||||
msgstr ""
|
||||
|
||||
msgid "evaluate expression"
|
||||
msgstr ""
|
||||
|
||||
@@ -4723,6 +4729,12 @@ msgid ""
|
||||
"will draw a real line with ncurses); width on screen must be exactly one char"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"first char to display for tabulations when whitespace mode is enabled with "
|
||||
"command `/debug whitespace`; width on screen must be exactly one char; "
|
||||
"subsequent chars are set by option weechat.look.whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "number of spaces used to display tabs in messages"
|
||||
msgstr "válasz ping üzenetre"
|
||||
@@ -4733,6 +4745,12 @@ msgid ""
|
||||
"man strftime for date/time specifiers)"
|
||||
msgstr "új nap kezdetével megjelenő időbélyeg"
|
||||
|
||||
msgid ""
|
||||
"char to display for spaces when whitespace mode is enabled with command `/"
|
||||
"debug whitespace`; width on screen must be exactly one char; see also option "
|
||||
"weechat.look.tab_whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"automatically zoom on current window if the terminal becomes too small to "
|
||||
"display all windows (use alt-z to unzoom windows when the terminal is big "
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-02-09 18:02+0100\n"
|
||||
"POT-Creation-Date: 2025-02-15 20:00+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"
|
||||
@@ -1465,7 +1465,7 @@ msgid ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || hooks [<plugin_mask> "
|
||||
"[<hook_type>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|"
|
||||
"term|url|windows || callbacks <duration>[<unit>] || mouse|cursor [verbose] "
|
||||
"|| hdata [free] || time <command> || unicode <string>"
|
||||
"|| hdata [free] || time <command> || unicode <string> || whitespace"
|
||||
msgstr ""
|
||||
"list || set <plugin> <livello> || dump [<plugin>] || buffer|color|infolists|"
|
||||
"memory|tags|term|windows || mouse|cursor [verbose] || hdata [free]"
|
||||
@@ -1588,6 +1588,12 @@ msgstr ""
|
||||
"nome utente per il server proxy (nota: il contenuto viene valutato, "
|
||||
"consultare /help eval)"
|
||||
|
||||
msgid ""
|
||||
"raw[whitespace]: toggle whitespace mode: make spaces and tabulations visible "
|
||||
"in buffers and bars (see options weechat.look.whitespace_char and "
|
||||
"weechat.look.tab_whitespace_char)"
|
||||
msgstr ""
|
||||
|
||||
msgid "evaluate expression"
|
||||
msgstr ""
|
||||
|
||||
@@ -5128,6 +5134,12 @@ msgstr ""
|
||||
"alle finestre (un valore vuoto disegnerà una riga reale con ncurses), i "
|
||||
"caratteri wide qui NON sono consentiti"
|
||||
|
||||
msgid ""
|
||||
"first char to display for tabulations when whitespace mode is enabled with "
|
||||
"command `/debug whitespace`; width on screen must be exactly one char; "
|
||||
"subsequent chars are set by option weechat.look.whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "number of spaces used to display tabs in messages"
|
||||
msgstr "locale usato per la traduzione dei messaggi"
|
||||
@@ -5139,6 +5151,12 @@ msgstr ""
|
||||
"formato dell'ora per le date convertite in stringhe e mostrate nei "
|
||||
"messaggi(consultare man strftime per i dettagli su data/ora)"
|
||||
|
||||
msgid ""
|
||||
"char to display for spaces when whitespace mode is enabled with command `/"
|
||||
"debug whitespace`; width on screen must be exactly one char; see also option "
|
||||
"weechat.look.tab_whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"automatically zoom on current window if the terminal becomes too small to "
|
||||
"display all windows (use alt-z to unzoom windows when the terminal is big "
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-02-09 18:02+0100\n"
|
||||
"POT-Creation-Date: 2025-02-15 20:00+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/"
|
||||
@@ -1502,7 +1502,7 @@ msgid ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || hooks [<plugin_mask> "
|
||||
"[<hook_type>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|"
|
||||
"term|url|windows || callbacks <duration>[<unit>] || mouse|cursor [verbose] "
|
||||
"|| hdata [free] || time <command> || unicode <string>"
|
||||
"|| hdata [free] || time <command> || unicode <string> || whitespace"
|
||||
msgstr ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || buffer|color|infolists|"
|
||||
"memory|tags|term|windows || mouse|cursor [verbose] || hdata [free] || time "
|
||||
@@ -1626,6 +1626,12 @@ msgstr ""
|
||||
"プロキシサーバのユーザ名 (注意: 値は評価されます、/help eval を参照してくださ"
|
||||
"い)"
|
||||
|
||||
msgid ""
|
||||
"raw[whitespace]: toggle whitespace mode: make spaces and tabulations visible "
|
||||
"in buffers and bars (see options weechat.look.whitespace_char and "
|
||||
"weechat.look.tab_whitespace_char)"
|
||||
msgstr ""
|
||||
|
||||
msgid "evaluate expression"
|
||||
msgstr "式を評価"
|
||||
|
||||
@@ -5287,6 +5293,12 @@ msgstr ""
|
||||
"が、いくつかの端末では URL 選択の際にバグを生ずる可能性がある); 必ず画面上に"
|
||||
"描画した時の文字幅が 1 の文字を指定してください"
|
||||
|
||||
msgid ""
|
||||
"first char to display for tabulations when whitespace mode is enabled with "
|
||||
"command `/debug whitespace`; width on screen must be exactly one char; "
|
||||
"subsequent chars are set by option weechat.look.whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid "number of spaces used to display tabs in messages"
|
||||
msgstr "メッセージに含まれるタブ文字を表示する際に使う空白文字の数"
|
||||
|
||||
@@ -5297,6 +5309,12 @@ msgstr ""
|
||||
"文字列へ変換されてメッセージ中に表示される日付の時間書式 (日付/時間指定子は "
|
||||
"strftime の man を参照してください)"
|
||||
|
||||
msgid ""
|
||||
"char to display for spaces when whitespace mode is enabled with command `/"
|
||||
"debug whitespace`; width on screen must be exactly one char; see also option "
|
||||
"weechat.look.tab_whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"automatically zoom on current window if the terminal becomes too small to "
|
||||
"display all windows (use alt-z to unzoom windows when the terminal is big "
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-02-09 18:02+0100\n"
|
||||
"POT-Creation-Date: 2025-02-15 20:00+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"
|
||||
@@ -1537,7 +1537,7 @@ msgid ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || hooks [<plugin_mask> "
|
||||
"[<hook_type>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|"
|
||||
"term|url|windows || callbacks <duration>[<unit>] || mouse|cursor [verbose] "
|
||||
"|| hdata [free] || time <command> || unicode <string>"
|
||||
"|| hdata [free] || time <command> || unicode <string> || whitespace"
|
||||
msgstr ""
|
||||
"list || set <wtyczka> <poziom> || dump|hooks [<wtyczka>] || buffer|certs|"
|
||||
"color|dirs|infolists|key|libs|memory|tags|term|url|windows || callbacks "
|
||||
@@ -1675,6 +1675,12 @@ msgstr ""
|
||||
"raw[unicode]: wyświetla informacje o ciągu i znakach unicode (przetwarzane, "
|
||||
"zobacz /help eval)"
|
||||
|
||||
msgid ""
|
||||
"raw[whitespace]: toggle whitespace mode: make spaces and tabulations visible "
|
||||
"in buffers and bars (see options weechat.look.whitespace_char and "
|
||||
"weechat.look.tab_whitespace_char)"
|
||||
msgstr ""
|
||||
|
||||
msgid "evaluate expression"
|
||||
msgstr "przetwórz wyrażenie"
|
||||
|
||||
@@ -5593,6 +5599,12 @@ msgstr ""
|
||||
"(pusta wartość oznacza rysowanie prawdziwych linii za pomocą ncurses); "
|
||||
"szerokość na ekranie musi wynosić dokładnie jeden znak"
|
||||
|
||||
msgid ""
|
||||
"first char to display for tabulations when whitespace mode is enabled with "
|
||||
"command `/debug whitespace`; width on screen must be exactly one char; "
|
||||
"subsequent chars are set by option weechat.look.whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid "number of spaces used to display tabs in messages"
|
||||
msgstr "liczba spacji używana do wyświetlania tabulacji w wiadomościach"
|
||||
|
||||
@@ -5603,6 +5615,12 @@ msgstr ""
|
||||
"format czasu dla dat, konwertowany do ciągu i wyświetlany w wiadomościach "
|
||||
"(zobacz man strftime dla specyfikatorów daty/czasu)"
|
||||
|
||||
msgid ""
|
||||
"char to display for spaces when whitespace mode is enabled with command `/"
|
||||
"debug whitespace`; width on screen must be exactly one char; see also option "
|
||||
"weechat.look.tab_whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"automatically zoom on current window if the terminal becomes too small to "
|
||||
"display all windows (use alt-z to unzoom windows when the terminal is big "
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-02-09 18:02+0100\n"
|
||||
"POT-Creation-Date: 2025-02-15 20:00+0100\n"
|
||||
"PO-Revision-Date: 2024-11-20 18:17+0100\n"
|
||||
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
@@ -1515,7 +1515,7 @@ msgid ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || hooks [<plugin_mask> "
|
||||
"[<hook_type>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|"
|
||||
"term|url|windows || callbacks <duration>[<unit>] || mouse|cursor [verbose] "
|
||||
"|| hdata [free] || time <command> || unicode <string>"
|
||||
"|| hdata [free] || time <command> || unicode <string> || whitespace"
|
||||
msgstr ""
|
||||
"list || set <plugin> <nível> || dump [<plugin>] || buffer|color|infolists|"
|
||||
"memory|tags|term|windows || mouse|cursor [verbose] || hdata [free] || time "
|
||||
@@ -1639,6 +1639,12 @@ msgstr ""
|
||||
"nome do utilizador do servidor proxy (nota: o conteúdo é avaliado, ver /help "
|
||||
"eval)"
|
||||
|
||||
msgid ""
|
||||
"raw[whitespace]: toggle whitespace mode: make spaces and tabulations visible "
|
||||
"in buffers and bars (see options weechat.look.whitespace_char and "
|
||||
"weechat.look.tab_whitespace_char)"
|
||||
msgstr ""
|
||||
|
||||
msgid "evaluate expression"
|
||||
msgstr "avaliar uma expressão"
|
||||
|
||||
@@ -5320,6 +5326,12 @@ msgstr ""
|
||||
"janelas (o valor vazio desenha uma linha real com ncurses); a largura no "
|
||||
"ecrã de ser exatamente um caráter"
|
||||
|
||||
msgid ""
|
||||
"first char to display for tabulations when whitespace mode is enabled with "
|
||||
"command `/debug whitespace`; width on screen must be exactly one char; "
|
||||
"subsequent chars are set by option weechat.look.whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid "number of spaces used to display tabs in messages"
|
||||
msgstr "número de espaços usados para apresentar tabulações nas mensagens"
|
||||
|
||||
@@ -5330,6 +5342,12 @@ msgstr ""
|
||||
"formato de datas convertido em cadeia de carateres e apresentado nas "
|
||||
"mensagens (ver man strftime para data/hora)"
|
||||
|
||||
msgid ""
|
||||
"char to display for spaces when whitespace mode is enabled with command `/"
|
||||
"debug whitespace`; width on screen must be exactly one char; see also option "
|
||||
"weechat.look.tab_whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"automatically zoom on current window if the terminal becomes too small to "
|
||||
"display all windows (use alt-z to unzoom windows when the terminal is big "
|
||||
|
||||
+20
-2
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-02-09 18:02+0100\n"
|
||||
"POT-Creation-Date: 2025-02-15 20:00+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"
|
||||
@@ -1478,7 +1478,7 @@ msgid ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || hooks [<plugin_mask> "
|
||||
"[<hook_type>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|"
|
||||
"term|url|windows || callbacks <duration>[<unit>] || mouse|cursor [verbose] "
|
||||
"|| hdata [free] || time <command> || unicode <string>"
|
||||
"|| hdata [free] || time <command> || unicode <string> || whitespace"
|
||||
msgstr ""
|
||||
"list || set <plugin> <nível> || dump [<plugin>] || buffer|color|cursor|"
|
||||
"infolists|memory|mouse|tags|term|windows || hdata [free]"
|
||||
@@ -1600,6 +1600,12 @@ msgid ""
|
||||
"see /help eval)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[whitespace]: toggle whitespace mode: make spaces and tabulations visible "
|
||||
"in buffers and bars (see options weechat.look.whitespace_char and "
|
||||
"weechat.look.tab_whitespace_char)"
|
||||
msgstr ""
|
||||
|
||||
msgid "evaluate expression"
|
||||
msgstr "avaliar expressão"
|
||||
|
||||
@@ -5055,6 +5061,12 @@ msgstr ""
|
||||
"janelas(valor vazio vai desenhar uam linha real com ncurses), caracteres "
|
||||
"extendidos NÃO são aceitos aqui"
|
||||
|
||||
msgid ""
|
||||
"first char to display for tabulations when whitespace mode is enabled with "
|
||||
"command `/debug whitespace`; width on screen must be exactly one char; "
|
||||
"subsequent chars are set by option weechat.look.whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "number of spaces used to display tabs in messages"
|
||||
msgstr "prefixo para mensagens de ação"
|
||||
@@ -5066,6 +5078,12 @@ msgstr ""
|
||||
"formato de tempo para datas convertidas para strings e mostradas em "
|
||||
"mensagens (veja man strftime fpara especificadores de data/tempo)"
|
||||
|
||||
msgid ""
|
||||
"char to display for spaces when whitespace mode is enabled with command `/"
|
||||
"debug whitespace`; width on screen must be exactly one char; see also option "
|
||||
"weechat.look.tab_whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"automatically zoom on current window if the terminal becomes too small to "
|
||||
"display all windows (use alt-z to unzoom windows when the terminal is big "
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-02-09 18:02+0100\n"
|
||||
"POT-Creation-Date: 2025-02-15 20:00+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"
|
||||
@@ -1447,7 +1447,7 @@ msgid ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || hooks [<plugin_mask> "
|
||||
"[<hook_type>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|"
|
||||
"term|url|windows || callbacks <duration>[<unit>] || mouse|cursor [verbose] "
|
||||
"|| hdata [free] || time <command> || unicode <string>"
|
||||
"|| hdata [free] || time <command> || unicode <string> || whitespace"
|
||||
msgstr "dump | buffer | windows"
|
||||
|
||||
msgid "raw[list]: list plugins with debug levels"
|
||||
@@ -1559,6 +1559,12 @@ msgid ""
|
||||
"see /help eval)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[whitespace]: toggle whitespace mode: make spaces and tabulations visible "
|
||||
"in buffers and bars (see options weechat.look.whitespace_char and "
|
||||
"weechat.look.tab_whitespace_char)"
|
||||
msgstr ""
|
||||
|
||||
msgid "evaluate expression"
|
||||
msgstr ""
|
||||
|
||||
@@ -4757,6 +4763,12 @@ msgid ""
|
||||
"will draw a real line with ncurses); width on screen must be exactly one char"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"first char to display for tabulations when whitespace mode is enabled with "
|
||||
"command `/debug whitespace`; width on screen must be exactly one char; "
|
||||
"subsequent chars are set by option weechat.look.whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "number of spaces used to display tabs in messages"
|
||||
msgstr "ответить на ping"
|
||||
@@ -4767,6 +4779,12 @@ msgid ""
|
||||
"man strftime for date/time specifiers)"
|
||||
msgstr "отображение маркера даты при смене дня"
|
||||
|
||||
msgid ""
|
||||
"char to display for spaces when whitespace mode is enabled with command `/"
|
||||
"debug whitespace`; width on screen must be exactly one char; see also option "
|
||||
"weechat.look.tab_whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"automatically zoom on current window if the terminal becomes too small to "
|
||||
"display all windows (use alt-z to unzoom windows when the terminal is big "
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-02-09 18:02+0100\n"
|
||||
"POT-Creation-Date: 2025-02-15 20:00+0100\n"
|
||||
"PO-Revision-Date: 2025-02-12 11:16+0400\n"
|
||||
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1464,11 +1464,17 @@ msgid "debug functions"
|
||||
msgstr "дибаг функције"
|
||||
|
||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "list || set <plugin> <level> || dump [<plugin>] || hooks [<plugin_mask> "
|
||||
#| "[<hook_type>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|"
|
||||
#| "tags|term|url|windows || callbacks <duration>[<unit>] || mouse|cursor "
|
||||
#| "[verbose] || hdata [free] || time <command> || unicode <string>"
|
||||
msgid ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || hooks [<plugin_mask> "
|
||||
"[<hook_type>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|"
|
||||
"term|url|windows || callbacks <duration>[<unit>] || mouse|cursor [verbose] "
|
||||
"|| hdata [free] || time <command> || unicode <string>"
|
||||
"|| hdata [free] || time <command> || unicode <string> || whitespace"
|
||||
msgstr ""
|
||||
"list || set <додатак> <ниво> || dump [<додатак>] || hooks [<маска_додатака> "
|
||||
"[<тип_куке>...]] || buffer|certs|color|dirs|infolists|libs|memory|tags|term|"
|
||||
@@ -1601,6 +1607,12 @@ msgstr ""
|
||||
"raw[unicode]: приказује информације о стрингу и уникод карактерима "
|
||||
"(израчунато, погледајте/help eval)"
|
||||
|
||||
msgid ""
|
||||
"raw[whitespace]: toggle whitespace mode: make spaces and tabulations visible "
|
||||
"in buffers and bars (see options weechat.look.whitespace_char and "
|
||||
"weechat.look.tab_whitespace_char)"
|
||||
msgstr ""
|
||||
|
||||
msgid "evaluate expression"
|
||||
msgstr "израчунавање израза"
|
||||
|
||||
@@ -5406,6 +5418,12 @@ msgstr ""
|
||||
"прозора (празна вредност ће помоћу ncurses да исцрта праву линију); ширина "
|
||||
"на екрану мора бити тачно један карактер"
|
||||
|
||||
msgid ""
|
||||
"first char to display for tabulations when whitespace mode is enabled with "
|
||||
"command `/debug whitespace`; width on screen must be exactly one char; "
|
||||
"subsequent chars are set by option weechat.look.whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid "number of spaces used to display tabs in messages"
|
||||
msgstr "број размака који се користи за приказ табулатора у порукама"
|
||||
|
||||
@@ -5416,6 +5434,12 @@ msgstr ""
|
||||
"формат времена за датуме који се конвертују у стрингове и приказују у "
|
||||
"порукама (погледајте man strftime за спецификаторе датума/времена)"
|
||||
|
||||
msgid ""
|
||||
"char to display for spaces when whitespace mode is enabled with command `/"
|
||||
"debug whitespace`; width on screen must be exactly one char; see also option "
|
||||
"weechat.look.tab_whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"automatically zoom on current window if the terminal becomes too small to "
|
||||
"display all windows (use alt-z to unzoom windows when the terminal is big "
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-02-09 18:02+0100\n"
|
||||
"POT-Creation-Date: 2025-02-15 20:00+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"
|
||||
@@ -1462,11 +1462,17 @@ msgid "debug functions"
|
||||
msgstr "hata ayıklama işlevleri"
|
||||
|
||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "list || set <plugin> <level> || dump [<plugin>] || hooks [<plugin_mask> "
|
||||
#| "[<hook_type>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|"
|
||||
#| "tags|term|url|windows || callbacks <duration>[<unit>] || mouse|cursor "
|
||||
#| "[verbose] || hdata [free] || time <command> || unicode <string>"
|
||||
msgid ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || hooks [<plugin_mask> "
|
||||
"[<hook_type>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|"
|
||||
"term|url|windows || callbacks <duration>[<unit>] || mouse|cursor [verbose] "
|
||||
"|| hdata [free] || time <command> || unicode <string>"
|
||||
"|| hdata [free] || time <command> || unicode <string> || whitespace"
|
||||
msgstr ""
|
||||
"list || set <eklenti> <düzey> || dump [<eklenti>] || hooks "
|
||||
"[<eklenti_maskesi> [<kanca_türü>...]] || buffer|certs|color|dirs|infolists|"
|
||||
@@ -1594,6 +1600,12 @@ msgid ""
|
||||
msgstr ""
|
||||
"çubuk ögesini görüntülemek için koşul(lar) (değerlendirilir, bkz. /help eval)"
|
||||
|
||||
msgid ""
|
||||
"raw[whitespace]: toggle whitespace mode: make spaces and tabulations visible "
|
||||
"in buffers and bars (see options weechat.look.whitespace_char and "
|
||||
"weechat.look.tab_whitespace_char)"
|
||||
msgstr ""
|
||||
|
||||
msgid "evaluate expression"
|
||||
msgstr "ifadeyi değerlendir"
|
||||
|
||||
@@ -5279,6 +5291,12 @@ msgstr ""
|
||||
"karakter (boş değer, ncurses ile gerçek bir çizgi çizecektir); ekrandaki "
|
||||
"genişlik bir tam karakter olmalıdır"
|
||||
|
||||
msgid ""
|
||||
"first char to display for tabulations when whitespace mode is enabled with "
|
||||
"command `/debug whitespace`; width on screen must be exactly one char; "
|
||||
"subsequent chars are set by option weechat.look.whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid "number of spaces used to display tabs in messages"
|
||||
msgstr "iletilerdeki sekmeleri görüntülemek için kullanılan boşluk sayısı"
|
||||
|
||||
@@ -5289,6 +5307,12 @@ msgstr ""
|
||||
"dizilere çevrilen ve iletilerde görüntülenen tarihler biçimi (tarih/zaman "
|
||||
"belirticileri için bkz. man strftime)"
|
||||
|
||||
msgid ""
|
||||
"char to display for spaces when whitespace mode is enabled with command `/"
|
||||
"debug whitespace`; width on screen must be exactly one char; see also option "
|
||||
"weechat.look.tab_whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"automatically zoom on current window if the terminal becomes too small to "
|
||||
"display all windows (use alt-z to unzoom windows when the terminal is big "
|
||||
|
||||
+20
-2
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2025-02-09 18:02+0100\n"
|
||||
"POT-Creation-Date: 2025-02-15 20:00+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"
|
||||
@@ -1336,7 +1336,7 @@ msgid ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || hooks [<plugin_mask> "
|
||||
"[<hook_type>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|"
|
||||
"term|url|windows || callbacks <duration>[<unit>] || mouse|cursor [verbose] "
|
||||
"|| hdata [free] || time <command> || unicode <string>"
|
||||
"|| hdata [free] || time <command> || unicode <string> || whitespace"
|
||||
msgstr ""
|
||||
|
||||
msgid "raw[list]: list plugins with debug levels"
|
||||
@@ -1447,6 +1447,12 @@ msgid ""
|
||||
"see /help eval)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[whitespace]: toggle whitespace mode: make spaces and tabulations visible "
|
||||
"in buffers and bars (see options weechat.look.whitespace_char and "
|
||||
"weechat.look.tab_whitespace_char)"
|
||||
msgstr ""
|
||||
|
||||
msgid "evaluate expression"
|
||||
msgstr ""
|
||||
|
||||
@@ -4447,6 +4453,12 @@ msgid ""
|
||||
"will draw a real line with ncurses); width on screen must be exactly one char"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"first char to display for tabulations when whitespace mode is enabled with "
|
||||
"command `/debug whitespace`; width on screen must be exactly one char; "
|
||||
"subsequent chars are set by option weechat.look.whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid "number of spaces used to display tabs in messages"
|
||||
msgstr ""
|
||||
|
||||
@@ -4455,6 +4467,12 @@ msgid ""
|
||||
"man strftime for date/time specifiers)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"char to display for spaces when whitespace mode is enabled with command `/"
|
||||
"debug whitespace`; width on screen must be exactly one char; see also option "
|
||||
"weechat.look.tab_whitespace_char"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"automatically zoom on current window if the terminal becomes too small to "
|
||||
"display all windows (use alt-z to unzoom windows when the terminal is big "
|
||||
|
||||
+14
-2
@@ -2291,6 +2291,13 @@ COMMAND_CALLBACK(debug)
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
if (string_strcmp (argv[1], "whitespace") == 0)
|
||||
{
|
||||
gui_chat_whitespace_mode ^= 1;
|
||||
gui_window_ask_refresh (1);
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
COMMAND_ERROR;
|
||||
}
|
||||
|
||||
@@ -8620,7 +8627,8 @@ command_init ()
|
||||
" || mouse|cursor [verbose]"
|
||||
" || hdata [free]"
|
||||
" || time <command>"
|
||||
" || unicode <string>"),
|
||||
" || unicode <string>"
|
||||
" || whitespace"),
|
||||
CMD_ARGS_DESC(
|
||||
N_("raw[list]: list plugins with debug levels"),
|
||||
N_("raw[set]: set debug level for plugin"),
|
||||
@@ -8662,6 +8670,9 @@ command_init ()
|
||||
"the current buffer"),
|
||||
N_("raw[unicode]: display information about string and unicode chars "
|
||||
"(evaluated, see /help eval)"),
|
||||
N_("raw[whitespace]: toggle whitespace mode: make spaces and tabulations "
|
||||
"visible in buffers and bars (see options weechat.look.whitespace_char "
|
||||
"and weechat.look.tab_whitespace_char)"),
|
||||
"",
|
||||
N_("Examples:"),
|
||||
AI(" /debug set irc 1"),
|
||||
@@ -8690,7 +8701,8 @@ command_init ()
|
||||
" || url"
|
||||
" || windows"
|
||||
" || time %(commands:/)"
|
||||
" || unicode",
|
||||
" || unicode"
|
||||
" || whitespace",
|
||||
&command_debug, NULL, NULL);
|
||||
hook_command (
|
||||
NULL, "eval",
|
||||
|
||||
+67
-7
@@ -217,8 +217,10 @@ struct t_config_option *config_look_scroll_page_percent = NULL;
|
||||
struct t_config_option *config_look_search_text_not_found_alert = NULL;
|
||||
struct t_config_option *config_look_separator_horizontal = NULL;
|
||||
struct t_config_option *config_look_separator_vertical = NULL;
|
||||
struct t_config_option *config_look_tab_whitespace_char = NULL;
|
||||
struct t_config_option *config_look_tab_width = NULL;
|
||||
struct t_config_option *config_look_time_format = NULL;
|
||||
struct t_config_option *config_look_whitespace_char = NULL;
|
||||
struct t_config_option *config_look_window_auto_zoom = NULL;
|
||||
struct t_config_option *config_look_window_separator_horizontal = NULL;
|
||||
struct t_config_option *config_look_window_separator_vertical = NULL;
|
||||
@@ -361,6 +363,7 @@ int config_num_highlight_tags = 0;
|
||||
char **config_plugin_extensions = NULL;
|
||||
int config_num_plugin_extensions = 0;
|
||||
char config_tab_spaces[TAB_MAX_WIDTH + 1];
|
||||
char config_tab_spaces_whitespace[(TAB_MAX_WIDTH * 4) + 1];
|
||||
struct t_config_look_word_char_item *config_word_chars_highlight = NULL;
|
||||
int config_word_chars_highlight_count = 0;
|
||||
struct t_config_look_word_char_item *config_word_chars_input = NULL;
|
||||
@@ -1311,20 +1314,54 @@ config_check_separator (const void *pointer, void *data,
|
||||
}
|
||||
|
||||
/*
|
||||
* Callback for changes on option "weechat.look.tab_width".
|
||||
* Checks options "weechat.look.whitespace_char" and
|
||||
* "weechat.look.tab_whitespace_char".
|
||||
*/
|
||||
|
||||
void
|
||||
config_change_tab_width (const void *pointer, void *data,
|
||||
struct t_config_option *option)
|
||||
int
|
||||
config_check_whitespace_char (const void *pointer, void *data,
|
||||
struct t_config_option *option,
|
||||
const char *value)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) pointer;
|
||||
(void) data;
|
||||
(void) option;
|
||||
|
||||
memset (config_tab_spaces, ' ', CONFIG_INTEGER(config_look_tab_width));
|
||||
config_tab_spaces[CONFIG_INTEGER(config_look_tab_width)] = '\0';
|
||||
return (utf8_strlen_screen (value) == 1) ? 1 : 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Callback for changes on options "weechat.look.tab_width" and
|
||||
* "weechat.look.tab_whitespace_char".
|
||||
*/
|
||||
|
||||
void
|
||||
config_change_tab (const void *pointer, void *data,
|
||||
struct t_config_option *option)
|
||||
{
|
||||
int tab_width, i;
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) pointer;
|
||||
(void) data;
|
||||
(void) option;
|
||||
|
||||
tab_width = CONFIG_INTEGER(config_look_tab_width);
|
||||
|
||||
/* build a string with spaces that replace Tab char */
|
||||
memset (config_tab_spaces, ' ', tab_width);
|
||||
config_tab_spaces[tab_width] = '\0';
|
||||
|
||||
/* replaces spaces in whitespace mode */
|
||||
config_tab_spaces_whitespace[0] = '\0';
|
||||
strcat (config_tab_spaces_whitespace,
|
||||
CONFIG_STRING(config_look_tab_whitespace_char));
|
||||
for (i = 1; i < tab_width; i++)
|
||||
{
|
||||
strcat (config_tab_spaces_whitespace,
|
||||
CONFIG_STRING(config_look_whitespace_char));
|
||||
}
|
||||
|
||||
gui_window_ask_refresh (1);
|
||||
}
|
||||
@@ -4336,13 +4373,24 @@ config_weechat_init_options ()
|
||||
&config_check_separator, NULL, NULL,
|
||||
&config_change_buffers, NULL, NULL,
|
||||
NULL, NULL, NULL);
|
||||
config_look_tab_whitespace_char = config_file_new_option (
|
||||
weechat_config_file, weechat_config_section_look,
|
||||
"tab_whitespace_char", "string",
|
||||
N_("first char to display for tabulations when whitespace mode is "
|
||||
"enabled with command `/debug whitespace`; width on screen must "
|
||||
"be exactly one char; subsequent chars are set by option "
|
||||
"weechat.look.whitespace_char"),
|
||||
NULL, 0, 0, "→", NULL, 0,
|
||||
&config_check_whitespace_char, NULL, NULL,
|
||||
&config_change_tab, NULL, NULL,
|
||||
NULL, NULL, NULL);
|
||||
config_look_tab_width = config_file_new_option (
|
||||
weechat_config_file, weechat_config_section_look,
|
||||
"tab_width", "integer",
|
||||
N_("number of spaces used to display tabs in messages"),
|
||||
NULL, 1, TAB_MAX_WIDTH, "1", NULL, 0,
|
||||
NULL, NULL, NULL,
|
||||
&config_change_tab_width, NULL, NULL,
|
||||
&config_change_tab, NULL, NULL,
|
||||
NULL, NULL, NULL);
|
||||
config_look_time_format = config_file_new_option (
|
||||
weechat_config_file, weechat_config_section_look,
|
||||
@@ -4351,6 +4399,16 @@ config_weechat_init_options ()
|
||||
"messages (see man strftime for date/time specifiers)"),
|
||||
NULL, 0, 0, "%a, %d %b %Y %T", NULL, 0,
|
||||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
config_look_whitespace_char = config_file_new_option (
|
||||
weechat_config_file, weechat_config_section_look,
|
||||
"whitespace_char", "string",
|
||||
N_("char to display for spaces when whitespace mode is enabled with "
|
||||
"command `/debug whitespace`; width on screen must be exactly "
|
||||
"one char; see also option weechat.look.tab_whitespace_char"),
|
||||
NULL, 0, 0, "·", NULL, 0,
|
||||
&config_check_whitespace_char, NULL, NULL,
|
||||
&config_change_buffers, NULL, NULL,
|
||||
NULL, NULL, NULL);
|
||||
config_look_window_auto_zoom = config_file_new_option (
|
||||
weechat_config_file, weechat_config_section_look,
|
||||
"window_auto_zoom", "boolean",
|
||||
@@ -5477,6 +5535,8 @@ config_weechat_init ()
|
||||
time_t seconds;
|
||||
|
||||
snprintf (config_tab_spaces, sizeof (config_tab_spaces), " ");
|
||||
snprintf (config_tab_spaces_whitespace, sizeof (config_tab_spaces_whitespace),
|
||||
"\u2192");
|
||||
|
||||
rc = config_weechat_init_options ();
|
||||
|
||||
|
||||
@@ -273,8 +273,10 @@ extern struct t_config_option *config_look_scroll_page_percent;
|
||||
extern struct t_config_option *config_look_search_text_not_found_alert;
|
||||
extern struct t_config_option *config_look_separator_horizontal;
|
||||
extern struct t_config_option *config_look_separator_vertical;
|
||||
extern struct t_config_option *config_look_tab_whitespace_char;
|
||||
extern struct t_config_option *config_look_tab_width;
|
||||
extern struct t_config_option *config_look_time_format;
|
||||
extern struct t_config_option *config_look_whitespace_char;
|
||||
extern struct t_config_option *config_look_window_auto_zoom;
|
||||
extern struct t_config_option *config_look_window_separator_horizontal;
|
||||
extern struct t_config_option *config_look_window_separator_vertical;
|
||||
@@ -397,6 +399,7 @@ extern int config_num_highlight_tags;
|
||||
extern char **config_plugin_extensions;
|
||||
extern int config_num_plugin_extensions;
|
||||
extern char config_tab_spaces[];
|
||||
extern char config_tab_spaces_whitespace[];
|
||||
extern struct t_config_look_word_char_item *config_word_chars_highlight;
|
||||
extern int config_word_chars_highlight_count;
|
||||
extern struct t_config_look_word_char_item *config_word_chars_input;
|
||||
|
||||
@@ -351,7 +351,14 @@ gui_bar_window_print_string (struct t_gui_bar_window *bar_window,
|
||||
if (utf_char[0] == '\t')
|
||||
{
|
||||
/* expand tabulation with spaces */
|
||||
ptr_char = config_tab_spaces;
|
||||
ptr_char = (gui_chat_whitespace_mode) ?
|
||||
config_tab_spaces_whitespace : config_tab_spaces;
|
||||
}
|
||||
else if ((utf_char[0] == ' ') && gui_chat_whitespace_mode)
|
||||
{
|
||||
/* replace space in whitespace mode */
|
||||
snprintf (utf_char, sizeof (utf_char),
|
||||
"%s", CONFIG_STRING(config_look_whitespace_char));
|
||||
}
|
||||
else if (((unsigned char)utf_char[0]) < 32)
|
||||
{
|
||||
|
||||
@@ -411,7 +411,14 @@ gui_chat_display_word_raw (struct t_gui_window *window, struct t_gui_line *line,
|
||||
if (utf_char[0] == '\t')
|
||||
{
|
||||
/* expand tabulation with spaces */
|
||||
ptr_char = config_tab_spaces;
|
||||
ptr_char = (gui_chat_whitespace_mode) ?
|
||||
config_tab_spaces_whitespace : config_tab_spaces;
|
||||
}
|
||||
else if ((utf_char[0] == ' ') && gui_chat_whitespace_mode)
|
||||
{
|
||||
/* replace space in whitespace mode */
|
||||
snprintf (utf_char, sizeof (utf_char),
|
||||
"%s", CONFIG_STRING(config_look_whitespace_char));
|
||||
}
|
||||
else if (((unsigned char)utf_char[0]) < 32)
|
||||
{
|
||||
|
||||
@@ -60,6 +60,7 @@ struct t_gui_buffer *gui_chat_mute_buffer = NULL; /* mute buffer */
|
||||
int gui_chat_display_tags = 0; /* display tags? */
|
||||
char **gui_chat_lines_waiting_buffer = NULL; /* lines waiting for core */
|
||||
/* buffer */
|
||||
int gui_chat_whitespace_mode = 0; /* make whitespaces visible */
|
||||
|
||||
/* command /pipe */
|
||||
int gui_chat_pipe = 0; /* pipe enabled */
|
||||
|
||||
@@ -80,6 +80,7 @@ extern char gui_chat_prefix_empty[];
|
||||
extern int gui_chat_time_length;
|
||||
extern int gui_chat_mute;
|
||||
extern struct t_gui_buffer *gui_chat_mute_buffer;
|
||||
extern int gui_chat_whitespace_mode;
|
||||
extern int gui_chat_pipe;
|
||||
extern char *gui_chat_pipe_command;
|
||||
extern struct t_gui_buffer *gui_chat_pipe_buffer;
|
||||
|
||||
Reference in New Issue
Block a user