fix: use localised names for presets

This commit is contained in:
Anna 2022-02-08 12:23:10 -05:00
parent 63850552a5
commit 1a127454e8
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0

View File

@ -1,10 +1,11 @@
using ChatTwo.Code;
using ChatTwo.Resources;
namespace ChatTwo.Util;
internal static class TabsUtil {
internal static Tab VanillaGeneral => new() {
Name = "General",
Name = Language.Tabs_Presets_General,
ChatCodes = new Dictionary<ChatType, ChatSource> {
// Special
[ChatType.Debug] = ChatSourceExt.All,
@ -67,7 +68,7 @@ internal static class TabsUtil {
};
internal static Tab VanillaEvent => new() {
Name = "Event",
Name = Language.Tabs_Presets_Event,
ChatCodes = new Dictionary<ChatType, ChatSource> {
[ChatType.NpcDialogue] = ChatSourceExt.All,
},