From eb6a0f8af34d0f8de808d474381c232716a7534d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 6 Sep 2013 00:20:01 +0300 Subject: add globals filter. It can move some global messages into debug window. This mean it prevent from spam in chat message and spam sounds. By default filter configured to ignore globals from Sagatha. --- src/gui/setup_chat.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/setup_chat.cpp') diff --git a/src/gui/setup_chat.cpp b/src/gui/setup_chat.cpp index 91a9dd859..3a81119ba 100644 --- a/src/gui/setup_chat.cpp +++ b/src/gui/setup_chat.cpp @@ -185,6 +185,10 @@ Setup_Chat::Setup_Chat(const Widget2 *const widget) : new SetupItemTextField(_("Highlight words (separated by comma)"), "", "highlightWords", this, "highlightWordsEvent"); + // TRANSLATORS: settings option + new SetupItemTextField(_("Globals ignore names (separated by comma)"), "", + "globalsFilter", this, "globalsFilterEvent"); + // TRANSLATORS: settings option new SetupItemCheckBox(_("Show MVP messages"), "", "showMVP", this, "showMVPEvent"); -- cgit v1.2.3-70-g09d2