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

View File

@ -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,

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>
/// Looks up a localized string similar to Delete.
/// </summary>

View File

@ -335,4 +335,7 @@
<data name="Options_JapaneseFont_Description" xml:space="preserve">
<value>The font Chat 2 will use to display Japanese text.</value>
</data>
<data name="Options_Tabs_ChannelTypes_Special" xml:space="preserve">
<value>Special</value>
</data>
</root>