Add new option weechat.look.search_text_not_found_alert
This commit is contained in:
parent
232804f293
commit
5139fdcf2a
@ -523,6 +523,11 @@
|
||||
** type: integer
|
||||
** values: 1 .. 100 (default value: 100)
|
||||
|
||||
* *weechat.look.search_text_not_found_alert*
|
||||
** description: alert user when text sought is not found in buffer
|
||||
** type: boolean
|
||||
** values: on, off (default value: on)
|
||||
|
||||
* *weechat.look.set_title*
|
||||
** description: set title for window (terminal for Curses GUI) with name and version
|
||||
** type: boolean
|
||||
|
@ -314,7 +314,7 @@
|
||||
** valeurs: toute chaîne (valeur par défaut: "[]-^")
|
||||
|
||||
* *weechat.completion.partial_completion_alert*
|
||||
** description: alterte de l'utilisateur lorsqu'une complétion partielle survient
|
||||
** description: alterte l'utilisateur lorsqu'une complétion partielle survient
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: on)
|
||||
|
||||
@ -523,6 +523,11 @@
|
||||
** type: entier
|
||||
** valeurs: 1 .. 100 (valeur par défaut: 100)
|
||||
|
||||
* *weechat.look.search_text_not_found_alert*
|
||||
** description: alterte l'utilisateur lorsque le texte cherché n'est pas trouvé dans le tampon
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: on)
|
||||
|
||||
* *weechat.look.set_title*
|
||||
** description: définit le titre de la fenêtre (terminal pour l'interface Curses) avec le nom et la version
|
||||
** type: booléen
|
||||
|
5
po/cs.po
5
po/cs.po
@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-07-10 23:40+0200\n"
|
||||
"POT-Creation-Date: 2009-07-22 18:00+0200\n"
|
||||
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
|
||||
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -1463,6 +1463,9 @@ msgstr ""
|
||||
"procenta obrazovky, o které posunout, při posunutí o stránku nahoru nebo "
|
||||
"dolů (například 100 znamená jedna stránka, 50 půl stránky)"
|
||||
|
||||
msgid "alert user when text sought is not found in buffer"
|
||||
msgstr ""
|
||||
|
||||
msgid "set title for window (terminal for Curses GUI) with name and version"
|
||||
msgstr "nastaví titulek okna (terminálu pro Cruses GUI) s jménem a verzí"
|
||||
|
||||
|
5
po/de.po
5
po/de.po
@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-07-10 23:40+0200\n"
|
||||
"POT-Creation-Date: 2009-07-22 18:00+0200\n"
|
||||
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
|
||||
"Last-Translator: Thomas Schuetz <i18n@internet-villa.de>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -1485,6 +1485,9 @@ msgid ""
|
||||
"100 means one page, 50 half-page)"
|
||||
msgstr ""
|
||||
|
||||
msgid "alert user when text sought is not found in buffer"
|
||||
msgstr ""
|
||||
|
||||
msgid "set title for window (terminal for Curses GUI) with name and version"
|
||||
msgstr ""
|
||||
"Fenstertitel setzen (oder Terminaltitel im Curses-GUI) mit Name und Version"
|
||||
|
5
po/es.po
5
po/es.po
@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-07-10 23:40+0200\n"
|
||||
"POT-Creation-Date: 2009-07-22 18:00+0200\n"
|
||||
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
|
||||
"Last-Translator: Roberto González Cardenete <robert.glez@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -1466,6 +1466,9 @@ msgid ""
|
||||
"100 means one page, 50 half-page)"
|
||||
msgstr ""
|
||||
|
||||
msgid "alert user when text sought is not found in buffer"
|
||||
msgstr ""
|
||||
|
||||
msgid "set title for window (terminal for Curses GUI) with name and version"
|
||||
msgstr ""
|
||||
"define el tÃtulo de la ventana (el terminal para la interfaz Curses) con el "
|
||||
|
11
po/fr.po
11
po/fr.po
@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-07-10 23:40+0200\n"
|
||||
"PO-Revision-Date: 2009-07-10 23:41+0200\n"
|
||||
"POT-Creation-Date: 2009-07-22 18:00+0200\n"
|
||||
"PO-Revision-Date: 2009-07-22 18:01+0200\n"
|
||||
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@ -1648,6 +1648,11 @@ msgstr ""
|
||||
"pourcentage de l'écran à faire défiler lors du défilement avec page "
|
||||
"précédente ou suivante (par exemple 100 signifie une page, 50 une demi-page)"
|
||||
|
||||
msgid "alert user when text sought is not found in buffer"
|
||||
msgstr ""
|
||||
"alterte l'utilisateur lorsque le texte cherché n'est pas trouvé dans le "
|
||||
"tampon"
|
||||
|
||||
msgid "set title for window (terminal for Curses GUI) with name and version"
|
||||
msgstr ""
|
||||
"définit le titre de la fenêtre (terminal pour l'interface Curses) avec le "
|
||||
@ -1868,7 +1873,7 @@ msgid "chars ignored for nick completion"
|
||||
msgstr "caractères à ignorer pour la complétion des pseudos"
|
||||
|
||||
msgid "alert user when a partial completion occurs"
|
||||
msgstr "alterte de l'utilisateur lorsqu'une complétion partielle survient"
|
||||
msgstr "alterte l'utilisateur lorsqu'une complétion partielle survient"
|
||||
|
||||
msgid ""
|
||||
"partially complete command names (stop when many commands found begin with "
|
||||
|
5
po/hu.po
5
po/hu.po
@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-07-10 23:40+0200\n"
|
||||
"POT-Creation-Date: 2009-07-22 18:00+0200\n"
|
||||
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -1495,6 +1495,9 @@ msgid ""
|
||||
"100 means one page, 50 half-page)"
|
||||
msgstr ""
|
||||
|
||||
msgid "alert user when text sought is not found in buffer"
|
||||
msgstr ""
|
||||
|
||||
msgid "set title for window (terminal for Curses GUI) with name and version"
|
||||
msgstr ""
|
||||
"ablak címsorának beállítása (Curses GUI esetén a terminálé) a program nevére "
|
||||
|
5
po/pl.po
5
po/pl.po
@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-07-10 23:40+0200\n"
|
||||
"POT-Creation-Date: 2009-07-22 18:00+0200\n"
|
||||
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
|
||||
"Last-Translator: <soltys@szluug.org>\n"
|
||||
"Language-Team: Polish\n"
|
||||
@ -1315,6 +1315,9 @@ msgid ""
|
||||
"100 means one page, 50 half-page)"
|
||||
msgstr ""
|
||||
|
||||
msgid "alert user when text sought is not found in buffer"
|
||||
msgstr ""
|
||||
|
||||
msgid "set title for window (terminal for Curses GUI) with name and version"
|
||||
msgstr ""
|
||||
|
||||
|
5
po/ru.po
5
po/ru.po
@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-07-10 23:40+0200\n"
|
||||
"POT-Creation-Date: 2009-07-22 18:00+0200\n"
|
||||
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
|
||||
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -1498,6 +1498,9 @@ msgid ""
|
||||
"100 means one page, 50 half-page)"
|
||||
msgstr ""
|
||||
|
||||
msgid "alert user when text sought is not found in buffer"
|
||||
msgstr ""
|
||||
|
||||
msgid "set title for window (terminal for Curses GUI) with name and version"
|
||||
msgstr ""
|
||||
"устанавливать заголовок окна (терминала при интерфейсе Curses) с именем и "
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-07-10 23:40+0200\n"
|
||||
"POT-Creation-Date: 2009-07-22 18:00+0200\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"
|
||||
@ -1283,6 +1283,9 @@ msgid ""
|
||||
"100 means one page, 50 half-page)"
|
||||
msgstr ""
|
||||
|
||||
msgid "alert user when text sought is not found in buffer"
|
||||
msgstr ""
|
||||
|
||||
msgid "set title for window (terminal for Curses GUI) with name and version"
|
||||
msgstr ""
|
||||
|
||||
|
@ -99,6 +99,7 @@ struct t_config_option *config_look_save_config_on_exit;
|
||||
struct t_config_option *config_look_save_layout_on_exit;
|
||||
struct t_config_option *config_look_scroll_amount;
|
||||
struct t_config_option *config_look_scroll_page_percent;
|
||||
struct t_config_option *config_look_search_text_not_found_alert;
|
||||
struct t_config_option *config_look_set_title;
|
||||
|
||||
/* config, colors section */
|
||||
@ -1409,6 +1410,11 @@ config_weechat_init_options ()
|
||||
N_("percent of screen to scroll when scrolling one page up or down "
|
||||
"(for example 100 means one page, 50 half-page)"),
|
||||
NULL, 1, 100, "100", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
config_look_search_text_not_found_alert = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"search_text_not_found_alert", "boolean",
|
||||
N_("alert user when text sought is not found in buffer"),
|
||||
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
config_look_set_title = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"set_title", "boolean",
|
||||
|
@ -114,6 +114,7 @@ extern struct t_config_option *config_look_save_config_on_exit;
|
||||
extern struct t_config_option *config_look_save_layout_on_exit;
|
||||
extern struct t_config_option *config_look_scroll_amount;
|
||||
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_set_title;
|
||||
|
||||
extern struct t_config_option *config_color_separator;
|
||||
|
@ -889,7 +889,14 @@ gui_window_search_restart (struct t_gui_window *window)
|
||||
if (gui_window_search_text (window))
|
||||
window->buffer->text_search_found = 1;
|
||||
else
|
||||
{
|
||||
if (CONFIG_BOOLEAN(config_look_search_text_not_found_alert)
|
||||
&& window->buffer->input_buffer && window->buffer->input_buffer[0])
|
||||
{
|
||||
printf ("\a");
|
||||
}
|
||||
gui_buffer_ask_chat_refresh (window->buffer, 2);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user