mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 13:26:38 +02:00
Add new option weechat.color.status_time
This commit is contained in:
@@ -283,6 +283,11 @@
|
||||
** type: color
|
||||
** values: a color name (default value: yellow)
|
||||
|
||||
* *weechat.color.status_time*
|
||||
** description: text color for time (status bar)
|
||||
** type: color
|
||||
** values: a color name (default value: default)
|
||||
|
||||
* *weechat.completion.default_template*
|
||||
** description: default completion template (please see documentation for template codes and values)
|
||||
** type: string
|
||||
|
||||
@@ -283,6 +283,11 @@
|
||||
** type: couleur
|
||||
** valeurs: un nom de couleur (valeur par défaut: yellow)
|
||||
|
||||
* *weechat.color.status_time*
|
||||
** description: couleur du texte pour l'heure (barre de statut)
|
||||
** type: couleur
|
||||
** valeurs: un nom de couleur (valeur par défaut: default)
|
||||
|
||||
* *weechat.completion.default_template*
|
||||
** description: modèle de complétion par défaut (merci de consulter la documentation pour les codes et valeurs du modèle)
|
||||
** type: chaîne
|
||||
|
||||
@@ -283,6 +283,11 @@
|
||||
** tipo: colore
|
||||
** valori: un nome colore (valore predefinito: yellow)
|
||||
|
||||
* *weechat.color.status_time*
|
||||
** descrizione: text color for time (status bar)
|
||||
** tipo: colore
|
||||
** valori: un nome colore (valore predefinito: default)
|
||||
|
||||
* *weechat.completion.default_template*
|
||||
** descrizione: modello di completamento predefinito (consulta la documentazione per codici e valori del template)
|
||||
** tipo: stringa
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.1-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-12-13 22:11+0100\n"
|
||||
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
|
||||
"PO-Revision-Date: 2009-09-14 10:56+0200\n"
|
||||
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1795,6 +1795,10 @@ msgstr "barva textu pro buffer s novými daty (ne zprávami) (status bar)"
|
||||
msgid "text color for buffer with new data (status bar)"
|
||||
msgstr "barva textu pro buffer s novými daty (status bar)"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for time (status bar)"
|
||||
msgstr "barva textu pro status \"aktivní\""
|
||||
|
||||
msgid "text color for unsucessful text search in input line"
|
||||
msgstr "barva textu pro nepovedené hledání textu ve vstupní rádce"
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.1-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-12-13 22:11+0100\n"
|
||||
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
|
||||
"PO-Revision-Date: 2009-12-05 11:30+0100\n"
|
||||
"Last-Translator: Nils G <weechatter@arcor.de>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1858,6 +1858,10 @@ msgstr ""
|
||||
msgid "text color for buffer with new data (status bar)"
|
||||
msgstr "Farbe eines Buffers, mit neuen Daten in der Statuszeile"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for time (status bar)"
|
||||
msgstr "Textfarbe für Status: \"aktiv\""
|
||||
|
||||
msgid "text color for unsucessful text search in input line"
|
||||
msgstr "Textfarbe in der Eingabezeile, bei einer erfolglosen Textsuche "
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.1-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-12-13 22:11+0100\n"
|
||||
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
|
||||
"PO-Revision-Date: 2009-09-06 21:25+0200\n"
|
||||
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1737,6 +1737,10 @@ msgstr "color para un buffer con nuevos datos (no mensajes) (barra de estado)"
|
||||
msgid "text color for buffer with new data (status bar)"
|
||||
msgstr "color para un buffer con nuevos datos (barra de estado)"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for time (status bar)"
|
||||
msgstr "color para la barra de estado"
|
||||
|
||||
msgid "text color for unsucessful text search in input line"
|
||||
msgstr "color para una búsqueda fallida en la línea de entrada"
|
||||
|
||||
@@ -6393,10 +6397,6 @@ msgstr "%s%s: tiempo de espera máximo para \"%s\" con %s"
|
||||
#~ msgid "background color for title bar"
|
||||
#~ msgstr "color de fondo para la barra de título"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "text color for status bar"
|
||||
#~ msgstr "color para la barra de estado"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "background color for status bar"
|
||||
#~ msgstr "color para la barra de estado"
|
||||
|
||||
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.1-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-12-13 22:11+0100\n"
|
||||
"PO-Revision-Date: 2009-12-13 22:11+0100\n"
|
||||
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
|
||||
"PO-Revision-Date: 2009-12-14 12:49+0100\n"
|
||||
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -1836,6 +1836,9 @@ msgid "text color for buffer with new data (status bar)"
|
||||
msgstr ""
|
||||
"couleur du texte pour un tampon avec des nouvelles données (barre de statut)"
|
||||
|
||||
msgid "text color for time (status bar)"
|
||||
msgstr "couleur du texte pour l'heure (barre de statut)"
|
||||
|
||||
msgid "text color for unsucessful text search in input line"
|
||||
msgstr ""
|
||||
"couleur du texte pour la recherche infructueuse de texte dans la ligne de "
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.1-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-12-13 22:11+0100\n"
|
||||
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
|
||||
"PO-Revision-Date: 2009-09-20 13:51+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1709,6 +1709,10 @@ msgstr "új adatot tartalmazó ablak színe (nem üzenetek) (státuszsor)"
|
||||
msgid "text color for buffer with new data (status bar)"
|
||||
msgstr "új adatot tartalmazó ablak színe (státuszsor)"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for time (status bar)"
|
||||
msgstr "státuszsor színe"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for unsucessful text search in input line"
|
||||
msgstr "információs pult határolóinak színe"
|
||||
@@ -6487,10 +6491,6 @@ msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n"
|
||||
#~ msgid "background color for title bar"
|
||||
#~ msgstr "címsor háttere"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "text color for status bar"
|
||||
#~ msgstr "státuszsor színe"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "background color for status bar"
|
||||
#~ msgstr "státuszsor színe"
|
||||
|
||||
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Weechat 0.31-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-12-13 22:11+0100\n"
|
||||
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
|
||||
"PO-Revision-Date: 2009-11-26 01:26+0100\n"
|
||||
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1824,6 +1824,10 @@ msgstr ""
|
||||
msgid "text color for buffer with new data (status bar)"
|
||||
msgstr "colore del testo per il buffer con nuovi dati (barra di stato)"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for time (status bar)"
|
||||
msgstr "colore del testo per lo status \"attivo\""
|
||||
|
||||
msgid "text color for unsucessful text search in input line"
|
||||
msgstr "colore del testo per la ricerca del testo fallita sulla riga di input"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.1-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-12-13 22:11+0100\n"
|
||||
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
|
||||
"PO-Revision-Date: 2009-09-06 21:25+0200\n"
|
||||
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
|
||||
"Language-Team: Polish\n"
|
||||
@@ -1828,6 +1828,10 @@ msgstr "kolor bufora z nowymi zdarzeniami (nie wiadomościami) (pasek statusu)"
|
||||
msgid "text color for buffer with new data (status bar)"
|
||||
msgstr "kolor bufora z nowymi zdarzeniami (pasek statusu)"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for time (status bar)"
|
||||
msgstr "kolor statusu \"active\""
|
||||
|
||||
msgid "text color for unsucessful text search in input line"
|
||||
msgstr "kolor nieudanego wyszukiwania tekstu w wprowadzonej lini"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.1-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-12-13 22:11+0100\n"
|
||||
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
|
||||
"PO-Revision-Date: 2009-09-20 13:50+0200\n"
|
||||
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1720,6 +1720,10 @@ msgstr "цвет окна с новыми данными (но не сообще
|
||||
msgid "text color for buffer with new data (status bar)"
|
||||
msgstr "цвет окна с новыми данными (в строке состояния)"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for time (status bar)"
|
||||
msgstr "цвет строки состояния"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for unsucessful text search in input line"
|
||||
msgstr "цвет разделителей информационной панели"
|
||||
@@ -6476,10 +6480,6 @@ msgstr "%s нет аргумента для параметра \"%s\"\n"
|
||||
#~ msgid "background color for title bar"
|
||||
#~ msgstr "цвет фона заголовка"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "text color for status bar"
|
||||
#~ msgstr "цвет строки состояния"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "background color for status bar"
|
||||
#~ msgstr "цвет строки состояния"
|
||||
|
||||
+4
-1
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-12-13 22:11+0100\n"
|
||||
"POT-Creation-Date: 2009-12-14 12:49+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -1449,6 +1449,9 @@ msgstr ""
|
||||
msgid "text color for buffer with new data (status bar)"
|
||||
msgstr ""
|
||||
|
||||
msgid "text color for time (status bar)"
|
||||
msgstr ""
|
||||
|
||||
msgid "text color for unsucessful text search in input line"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -142,6 +142,7 @@ struct t_config_option *config_color_status_data_private;
|
||||
struct t_config_option *config_color_status_data_highlight;
|
||||
struct t_config_option *config_color_status_data_other;
|
||||
struct t_config_option *config_color_status_more;
|
||||
struct t_config_option *config_color_status_time;
|
||||
struct t_config_option *config_color_input_text_not_found;
|
||||
struct t_config_option *config_color_input_actions;
|
||||
struct t_config_option *config_color_nicklist_group;
|
||||
@@ -1763,6 +1764,12 @@ config_weechat_init_options ()
|
||||
N_("text color for buffer with new data (status bar)"),
|
||||
NULL, -1, 0, "yellow", NULL, 0,
|
||||
NULL, NULL, &config_change_color, NULL, NULL, NULL);
|
||||
config_color_status_time = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"status_time", "color",
|
||||
N_("text color for time (status bar)"),
|
||||
NULL, -1, 0, "default", NULL, 0,
|
||||
NULL, NULL, &config_change_color, NULL, NULL, NULL);
|
||||
/* input window */
|
||||
config_color_input_text_not_found = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
|
||||
@@ -155,6 +155,7 @@ extern struct t_config_option *config_color_status_data_private;
|
||||
extern struct t_config_option *config_color_status_data_highlight;
|
||||
extern struct t_config_option *config_color_status_data_other;
|
||||
extern struct t_config_option *config_color_status_more;
|
||||
extern struct t_config_option *config_color_status_time;
|
||||
extern struct t_config_option *config_color_input_text_not_found;
|
||||
extern struct t_config_option *config_color_input_actions;
|
||||
extern struct t_config_option *config_color_nicklist_group;
|
||||
|
||||
@@ -755,7 +755,7 @@ gui_bar_item_default_time (void *data, struct t_gui_bar_item *item,
|
||||
{
|
||||
time_t date;
|
||||
struct tm *local_time;
|
||||
char text_time[128];
|
||||
char text_time[128], text_time2[128];
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
@@ -769,7 +769,11 @@ gui_bar_item_default_time (void *data, struct t_gui_bar_item *item,
|
||||
local_time) == 0)
|
||||
return NULL;
|
||||
|
||||
return strdup (text_time);
|
||||
snprintf (text_time2, sizeof (text_time2), "%s%s",
|
||||
gui_color_get_custom (gui_color_get_name (CONFIG_COLOR(config_color_status_time))),
|
||||
text_time);
|
||||
|
||||
return strdup (text_time2);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user