diff --git a/po/cs.po b/po/cs.po index 82968c051..9d377655f 100644 --- a/po/cs.po +++ b/po/cs.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-10-03 14:40+0200\n" +"POT-Creation-Date: 2008-10-03 17:17+0200\n" "PO-Revision-Date: 2008-09-17 16:19+0200\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -1436,6 +1436,14 @@ msgstr "barva pro značku nepřečtených dat" msgid "background color for unread data marker" msgstr "pozadí pro značku nepřečtených dat" +#, fuzzy +msgid "text color for marker on lines where text sought is found" +msgstr "barva pro jeméno serveru" + +#, fuzzy +msgid "background color for marker on lines where text sought is found" +msgstr "barva pro vstupní text" + #, fuzzy msgid "text color for status bar" msgstr "barva status baru" diff --git a/po/de.po b/po/de.po index e7b370b24..35ac9aad4 100644 --- a/po/de.po +++ b/po/de.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-10-03 14:40+0200\n" +"POT-Creation-Date: 2008-10-03 17:17+0200\n" "PO-Revision-Date: 2007-09-06 12:44+0200\n" "Last-Translator: Thomas Schuetz \n" "Language-Team: weechat-dev \n" @@ -1396,6 +1396,14 @@ msgstr "Farbe der Ungelesenenmarkierung" msgid "background color for unread data marker" msgstr "Hintergrundfarbe der Ungelesenenmarkierung" +#, fuzzy +msgid "text color for marker on lines where text sought is found" +msgstr "Farbe des Servernamens" + +#, fuzzy +msgid "background color for marker on lines where text sought is found" +msgstr "Farbe der Eingabezeile" + #, fuzzy msgid "text color for status bar" msgstr "Farbe der Statuszeile" diff --git a/po/es.po b/po/es.po index 9fa805385..0cf5b0c1c 100644 --- a/po/es.po +++ b/po/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-10-03 14:40+0200\n" +"POT-Creation-Date: 2008-10-03 17:17+0200\n" "PO-Revision-Date: 2007-09-19 12:09+0200\n" "Last-Translator: Roberto González Cardenete \n" "Language-Team: weechat-dev \n" @@ -1379,6 +1379,14 @@ msgstr "color para el marcador de datos sin leer" msgid "background color for unread data marker" msgstr "color de fondo para el marcador de datos sin leer" +#, fuzzy +msgid "text color for marker on lines where text sought is found" +msgstr "color para el nombre del servidor" + +#, fuzzy +msgid "background color for marker on lines where text sought is found" +msgstr "color para el texto de entrada" + #, fuzzy msgid "text color for status bar" msgstr "color para la barra de estado" diff --git a/po/fr.po b/po/fr.po index ac5ae3f1e..088befac0 100644 --- a/po/fr.po +++ b/po/fr.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-10-03 14:40+0200\n" -"PO-Revision-Date: 2008-10-03 14:41+0200\n" +"POT-Creation-Date: 2008-10-03 17:17+0200\n" +"PO-Revision-Date: 2008-10-03 17:17+0200\n" "Last-Translator: FlashCode \n" "Language-Team: weechat-dev \n" "MIME-Version: 1.0\n" @@ -1411,6 +1411,16 @@ msgstr "couleur du texte pour le marqueur de données non lues" msgid "background color for unread data marker" msgstr "couleur du fond pour le marqueur de données non lues" +msgid "text color for marker on lines where text sought is found" +msgstr "" +"couleur du texte pour le marqueur sur les lignes où le texte demandé est " +"trouvé" + +msgid "background color for marker on lines where text sought is found" +msgstr "" +"couleur du fond pour le marqueur sur les lignes où le texte demandé est " +"trouvé" + msgid "text color for status bar" msgstr "couleur du texte pour la barre de statut" diff --git a/po/hu.po b/po/hu.po index fcf8b92f6..359f4c2ce 100644 --- a/po/hu.po +++ b/po/hu.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-10-03 14:40+0200\n" +"POT-Creation-Date: 2008-10-03 17:17+0200\n" "PO-Revision-Date: 2007-10-10 18:07+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -1405,6 +1405,14 @@ msgstr "olvasatlan adat jelölő színe" msgid "background color for unread data marker" msgstr "olvasatlan adat jelölő háttere" +#, fuzzy +msgid "text color for marker on lines where text sought is found" +msgstr "szerver nevének színe" + +#, fuzzy +msgid "background color for marker on lines where text sought is found" +msgstr "szövegbeviteli mező színe" + #, fuzzy msgid "text color for status bar" msgstr "státuszsor színe" diff --git a/po/ru.po b/po/ru.po index 230f84d12..4eef90301 100644 --- a/po/ru.po +++ b/po/ru.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-10-03 14:40+0200\n" +"POT-Creation-Date: 2008-10-03 17:17+0200\n" "PO-Revision-Date: 2007-09-06 12:44+0200\n" "Last-Translator: Pavel Shevchuk \n" "Language-Team: weechat-dev \n" @@ -1408,6 +1408,14 @@ msgstr "цвет маркера непрочитанных сообщений" msgid "background color for unread data marker" msgstr "фон маркера непрочитанных сообщений" +#, fuzzy +msgid "text color for marker on lines where text sought is found" +msgstr "цвет названия сервера" + +#, fuzzy +msgid "background color for marker on lines where text sought is found" +msgstr "цвет вводимого текста" + #, fuzzy msgid "text color for status bar" msgstr "цвет строки состояния" diff --git a/po/weechat.pot b/po/weechat.pot index b3c23974d..2f7ad1644 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-10-03 14:40+0200\n" +"POT-Creation-Date: 2008-10-03 17:17+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1158,6 +1158,12 @@ msgstr "" msgid "background color for unread data marker" msgstr "" +msgid "text color for marker on lines where text sought is found" +msgstr "" + +msgid "background color for marker on lines where text sought is found" +msgstr "" + msgid "text color for status bar" msgstr "" diff --git a/src/core/wee-config.c b/src/core/wee-config.c index 83a069269..5c721efc9 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -127,6 +127,8 @@ struct t_config_option *config_color_chat_highlight; struct t_config_option *config_color_chat_highlight_bg; struct t_config_option *config_color_chat_read_marker; struct t_config_option *config_color_chat_read_marker_bg; +struct t_config_option *config_color_chat_text_found; +struct t_config_option *config_color_chat_text_found_bg; struct t_config_option *config_color_status; struct t_config_option *config_color_status_bg; struct t_config_option *config_color_status_delimiters; @@ -1312,6 +1314,18 @@ config_weechat_init () N_("background color for unread data marker"), NULL, -1, 0, "default", NULL, NULL, &config_change_color, NULL, NULL, NULL); + config_color_chat_text_found = config_file_new_option ( + weechat_config_file, ptr_section, + "chat_text_found", "color", + N_("text color for marker on lines where text sought is found"), + NULL, GUI_COLOR_CHAT_TEXT_FOUND, 0, "yellow", + NULL, NULL, &config_change_color, NULL, NULL, NULL); + config_color_chat_text_found_bg = config_file_new_option ( + weechat_config_file, ptr_section, + "chat_text_found_bg", "color", + N_("background color for marker on lines where text sought is found"), + NULL, -1, 0, "lightmagenta", + NULL, NULL, &config_change_color, NULL, NULL, NULL); /* status window */ config_color_status = config_file_new_option ( weechat_config_file, ptr_section, diff --git a/src/core/wee-config.h b/src/core/wee-config.h index dee0e6fe7..38336465c 100644 --- a/src/core/wee-config.h +++ b/src/core/wee-config.h @@ -131,6 +131,8 @@ extern struct t_config_option *config_color_chat_highlight; extern struct t_config_option *config_color_chat_highlight_bg; extern struct t_config_option *config_color_chat_read_marker; extern struct t_config_option *config_color_chat_read_marker_bg; +extern struct t_config_option *config_color_chat_text_found; +extern struct t_config_option *config_color_chat_text_found_bg; extern struct t_config_option *config_color_status; extern struct t_config_option *config_color_status_bg; extern struct t_config_option *config_color_status_delimiters; diff --git a/src/gui/curses/gui-curses-chat.c b/src/gui/curses/gui-curses-chat.c index 9459c8e47..fad732ea9 100644 --- a/src/gui/curses/gui-curses-chat.c +++ b/src/gui/curses/gui-curses-chat.c @@ -918,7 +918,7 @@ gui_chat_display_line (struct t_gui_window *window, struct t_gui_line *line, window->buffer->text_search_exact)) { gui_window_set_weechat_color (GUI_CURSES(window)->win_chat, - GUI_COLOR_CHAT_READ_MARKER); + GUI_COLOR_CHAT_TEXT_FOUND); mvwprintw (GUI_CURSES(window)->win_chat, read_marker_y, read_marker_x, "*"); diff --git a/src/gui/curses/gui-curses-color.c b/src/gui/curses/gui-curses-color.c index 3af277813..e0ace0a4f 100644 --- a/src/gui/curses/gui-curses-color.c +++ b/src/gui/curses/gui-curses-color.c @@ -382,6 +382,7 @@ gui_color_init_weechat () gui_color_build (GUI_COLOR_CHAT_DELIMITERS, CONFIG_COLOR(config_color_chat_delimiters), CONFIG_COLOR(config_color_chat_bg)); gui_color_build (GUI_COLOR_CHAT_HIGHLIGHT, CONFIG_COLOR(config_color_chat_highlight), CONFIG_COLOR(config_color_chat_highlight_bg)); gui_color_build (GUI_COLOR_CHAT_READ_MARKER, CONFIG_COLOR(config_color_chat_read_marker), CONFIG_COLOR(config_color_chat_read_marker_bg)); + gui_color_build (GUI_COLOR_CHAT_TEXT_FOUND, CONFIG_COLOR(config_color_chat_text_found), CONFIG_COLOR(config_color_chat_text_found_bg)); gui_color_build (GUI_COLOR_STATUS, CONFIG_COLOR(config_color_status), CONFIG_COLOR(config_color_status_bg)); gui_color_build (GUI_COLOR_STATUS_DELIMITERS, CONFIG_COLOR(config_color_status_delimiters), CONFIG_COLOR(config_color_status_bg)); diff --git a/src/gui/gui-color.h b/src/gui/gui-color.h index 0bffe5df0..54f3d12f7 100644 --- a/src/gui/gui-color.h +++ b/src/gui/gui-color.h @@ -58,6 +58,7 @@ enum t_gui_color_enum GUI_COLOR_CHAT_DELIMITERS, GUI_COLOR_CHAT_HIGHLIGHT, GUI_COLOR_CHAT_READ_MARKER, + GUI_COLOR_CHAT_TEXT_FOUND, GUI_COLOR_STATUS, GUI_COLOR_STATUS_DELIMITERS,