From dd12272279a0b58c5fea170d28e13395c23906a8 Mon Sep 17 00:00:00 2001 From: Fedja Beader Date: Fri, 11 Oct 2024 23:15:46 +0000 Subject: Move trade filtering setting to immidiately under trade tab & fix description/tooltip. **** mana/plus!105 --- src/gui/widgets/tabs/setup_chat.cpp | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/gui/widgets/tabs/setup_chat.cpp b/src/gui/widgets/tabs/setup_chat.cpp index ae9043962..17bc6cbcd 100644 --- a/src/gui/widgets/tabs/setup_chat.cpp +++ b/src/gui/widgets/tabs/setup_chat.cpp @@ -238,12 +238,16 @@ Setup_Chat::Setup_Chat(const Widget2 *const widget) : // TRANSLATORS: settings option new SetupItemCheckBox(_("Enable trade tab"), + "", "enableTradeTab", this, "enableTradeTabEvent", + MainConfig_true); + + // TRANSLATORS: settings option + new SetupItemCheckBox(_("Enable trade spam filter"), // TRANSLATORS: settings description - _("Enables trade tab. Trade tab is basically some filter. Messages " - "containing words typical for trades will go to Trade tab. This " - "will make General tab less noisy. If this setting is disabled, all " - "trade related players messages will stay in General tab."), - "enableTradeTab", this, "enableTradeTabEvent", + _("Enables trade message filtering. Messages containg words typical " + "for trades will go to the Trade tab. If this setting is disabled, " + "all trade-related messages will stay in General tab."), + "enableTradeFilter", this, "enableTradeFilterEvent", MainConfig_true); // TRANSLATORS: settings option @@ -305,11 +309,6 @@ Setup_Chat::Setup_Chat(const Widget2 *const widget) : "hideChatInput", this, "hideChatInputEvent", MainConfig_true); - // TRANSLATORS: settings option - new SetupItemCheckBox(_("Enable trade spam filter"), - "", "enableTradeFilter", this, "enableTradeFilterEvent", - MainConfig_true); - // TRANSLATORS: settings group new SetupItemLabel(_("Time"), "", this, -- cgit v1.2.3-70-g09d2