- More ImRaii

- Cleanup
- Spanish, French, Dutch, Chinese loc update
This commit is contained in:
Infi
2024-11-21 11:58:22 +01:00
parent 1a1995759a
commit 3cfe65d2d4
23 changed files with 283 additions and 332 deletions
+9 -7
View File
@@ -3,7 +3,8 @@ using ChatTwo.Resources;
namespace ChatTwo.Util;
internal static class TabsUtil {
internal static class TabsUtil
{
internal static Dictionary<ChatType, ChatSource> AllChannels()
{
var channels = new Dictionary<ChatType, ChatSource>();
@@ -12,9 +13,11 @@ internal static class TabsUtil {
return channels;
}
internal static Tab VanillaGeneral => new() {
internal static Tab VanillaGeneral => new()
{
Name = Language.Tabs_Presets_General,
ChatCodes = new Dictionary<ChatType, ChatSource> {
ChatCodes = new Dictionary<ChatType, ChatSource>
{
// Special
[ChatType.Debug] = ChatSourceExt.All,
[ChatType.Urgent] = ChatSourceExt.All,
@@ -75,11 +78,10 @@ internal static class TabsUtil {
},
};
internal static Tab VanillaEvent => new() {
internal static Tab VanillaEvent => new()
{
Name = Language.Tabs_Presets_Event,
ChatCodes = new Dictionary<ChatType, ChatSource> {
[ChatType.NpcDialogue] = ChatSourceExt.All,
},
ChatCodes = new Dictionary<ChatType, ChatSource> { [ChatType.NpcDialogue] = ChatSourceExt.All, },
};
internal static Dictionary<ChatType, ChatSource> MostlyPlayer => new()