diff --git a/DLL_Project/Defs/MainMenuDef.cs b/DLL_Project/Defs/MainMenuDef.cs index 914fbad..8d0e5fe 100644 --- a/DLL_Project/Defs/MainMenuDef.cs +++ b/DLL_Project/Defs/MainMenuDef.cs @@ -16,6 +16,7 @@ public class MainMenuDef : Def #region XML Data public string labelKey; + public string labelKeyAlt; public int order; public Type menuClass; public bool closeMainTab = false; @@ -39,6 +40,14 @@ public virtual string Label { return label; } + if( !labelKey.CanTranslate() ) + { + if( !string.IsNullOrEmpty( labelKeyAlt ) ) + { + return labelKeyAlt.Translate(); + } + return label; + } return labelKey.Translate(); } } diff --git a/_Mod/Modders Resource/Community Core Library/Assemblies/Community Core Library.dll b/_Mod/Modders Resource/Community Core Library/Assemblies/Community Core Library.dll index b0f266c..ae27604 100644 Binary files a/_Mod/Modders Resource/Community Core Library/Assemblies/Community Core Library.dll and b/_Mod/Modders Resource/Community Core Library/Assemblies/Community Core Library.dll differ diff --git a/_Mod/Modders Resource/Community Core Library/Defs/MainMenuDefs/MainMenus.xml b/_Mod/Modders Resource/Community Core Library/Defs/MainMenuDefs/MainMenus.xml index 3d385e2..d8910bb 100644 --- a/_Mod/Modders Resource/Community Core Library/Defs/MainMenuDefs/MainMenus.xml +++ b/_Mod/Modders Resource/Community Core Library/Defs/MainMenuDefs/MainMenus.xml @@ -3,7 +3,8 @@ LearnToPlay - LearnToPlay + Tutorial + LearnToPlay 800 CommunityCoreLibrary.MainMenu_LearnToPlay