fix: add a category for special chat types

This commit is contained in:
Anna
2022-02-05 19:07:21 -05:00
parent ea52a6b7d1
commit a7b9c50759
3 changed files with 17 additions and 0 deletions
+5
View File
@@ -5,6 +5,11 @@ namespace ChatTwo.Code;
internal static class ChatTypeExt { internal static class ChatTypeExt {
internal static readonly (string, ChatType[])[] SortOrder = { internal static readonly (string, ChatType[])[] SortOrder = {
(Language.Options_Tabs_ChannelTypes_Special, new[] {
ChatType.Debug,
ChatType.Urgent,
ChatType.Notice,
}),
(Language.Options_Tabs_ChannelTypes_Chat, new[] { (Language.Options_Tabs_ChannelTypes_Chat, new[] {
ChatType.Say, ChatType.Say,
ChatType.Yell, ChatType.Yell,
+9
View File
@@ -501,6 +501,15 @@ namespace ChatTwo.Resources {
} }
} }
/// <summary>
/// Looks up a localized string similar to Special.
/// </summary>
internal static string Options_Tabs_ChannelTypes_Special {
get {
return ResourceManager.GetString("Options_Tabs_ChannelTypes_Special", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to Delete. /// Looks up a localized string similar to Delete.
/// </summary> /// </summary>
+3
View File
@@ -335,4 +335,7 @@
<data name="Options_JapaneseFont_Description" xml:space="preserve"> <data name="Options_JapaneseFont_Description" xml:space="preserve">
<value>The font Chat 2 will use to display Japanese text.</value> <value>The font Chat 2 will use to display Japanese text.</value>
</data> </data>
<data name="Options_Tabs_ChannelTypes_Special" xml:space="preserve">
<value>Special</value>
</data>
</root> </root>