From a7b9c50759989273ec7314838fa83810506d7e5b Mon Sep 17 00:00:00 2001 From: Anna Date: Sat, 5 Feb 2022 19:07:21 -0500 Subject: [PATCH] fix: add a category for special chat types --- ChatTwo/Code/ChatTypeExt.cs | 5 +++++ ChatTwo/Resources/Language.Designer.cs | 9 +++++++++ ChatTwo/Resources/Language.resx | 3 +++ 3 files changed, 17 insertions(+) diff --git a/ChatTwo/Code/ChatTypeExt.cs b/ChatTwo/Code/ChatTypeExt.cs index 13a017e..29e4dec 100755 --- a/ChatTwo/Code/ChatTypeExt.cs +++ b/ChatTwo/Code/ChatTypeExt.cs @@ -5,6 +5,11 @@ namespace ChatTwo.Code; internal static class ChatTypeExt { internal static readonly (string, ChatType[])[] SortOrder = { + (Language.Options_Tabs_ChannelTypes_Special, new[] { + ChatType.Debug, + ChatType.Urgent, + ChatType.Notice, + }), (Language.Options_Tabs_ChannelTypes_Chat, new[] { ChatType.Say, ChatType.Yell, diff --git a/ChatTwo/Resources/Language.Designer.cs b/ChatTwo/Resources/Language.Designer.cs index 28800f1..02f0b53 100755 --- a/ChatTwo/Resources/Language.Designer.cs +++ b/ChatTwo/Resources/Language.Designer.cs @@ -501,6 +501,15 @@ namespace ChatTwo.Resources { } } + /// + /// Looks up a localized string similar to Special. + /// + internal static string Options_Tabs_ChannelTypes_Special { + get { + return ResourceManager.GetString("Options_Tabs_ChannelTypes_Special", resourceCulture); + } + } + /// /// Looks up a localized string similar to Delete. /// diff --git a/ChatTwo/Resources/Language.resx b/ChatTwo/Resources/Language.resx index 4bff7c9..1fe6ad0 100755 --- a/ChatTwo/Resources/Language.resx +++ b/ChatTwo/Resources/Language.resx @@ -335,4 +335,7 @@ The font Chat 2 will use to display Japanese text. + + Special +