diff --git a/Changelog.md b/Changelog.md index dfdced0..b20df26 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,9 @@ +# 0.28.1 +*December 20, 2022* + +Fixes +- Fixed localizations from mods not being loaded on startup + # 0.28.0 *December 20, 2022* diff --git a/docs/api/.manifest b/docs/api/.manifest index 24e81b7..26d7096 100644 --- a/docs/api/.manifest +++ b/docs/api/.manifest @@ -1298,6 +1298,7 @@ "TinyLife.Localization.GetKeys(TinyLife.LnCategory)": "TinyLife.Localization.yml", "TinyLife.Localization.LanguageNames": "TinyLife.Localization.yml", "TinyLife.Localization.Names": "TinyLife.Localization.yml", + "TinyLife.Localization.Reload": "TinyLife.Localization.yml", "TinyLife.Localization.SetLanguage(System.String)": "TinyLife.Localization.yml", "TinyLife.Mods": "TinyLife.Mods.yml", "TinyLife.Mods.EventPhase": "TinyLife.Mods.EventPhase.yml", diff --git a/docs/api/TinyLife.GameImpl.GameMode.yml b/docs/api/TinyLife.GameImpl.GameMode.yml index 906619f..047b0ae 100644 --- a/docs/api/TinyLife.GameImpl.GameMode.yml +++ b/docs/api/TinyLife.GameImpl.GameMode.yml @@ -26,7 +26,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GameMode path: ../TinyLife/GameImpl.cs - startLine: 971 + startLine: 975 assemblies: - Tiny Life namespace: TinyLife @@ -61,7 +61,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InitialLoad path: ../TinyLife/GameImpl.cs - startLine: 974 + startLine: 978 assemblies: - Tiny Life namespace: TinyLife @@ -95,7 +95,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Splash path: ../TinyLife/GameImpl.cs - startLine: 976 + startLine: 980 assemblies: - Tiny Life namespace: TinyLife @@ -129,7 +129,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MainMenu path: ../TinyLife/GameImpl.cs - startLine: 978 + startLine: 982 assemblies: - Tiny Life namespace: TinyLife @@ -163,7 +163,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SelectHousehold path: ../TinyLife/GameImpl.cs - startLine: 980 + startLine: 984 assemblies: - Tiny Life namespace: TinyLife @@ -197,7 +197,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InGameHousehold path: ../TinyLife/GameImpl.cs - startLine: 982 + startLine: 986 assemblies: - Tiny Life namespace: TinyLife @@ -231,7 +231,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BuildOnly path: ../TinyLife/GameImpl.cs - startLine: 984 + startLine: 988 assemblies: - Tiny Life namespace: TinyLife @@ -265,7 +265,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CharacterCreation path: ../TinyLife/GameImpl.cs - startLine: 986 + startLine: 990 assemblies: - Tiny Life namespace: TinyLife diff --git a/docs/api/TinyLife.LnCategory.yml b/docs/api/TinyLife.LnCategory.yml index 2aa4667..a08229b 100644 --- a/docs/api/TinyLife.LnCategory.yml +++ b/docs/api/TinyLife.LnCategory.yml @@ -34,7 +34,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LnCategory path: ../TinyLife/Localization.cs - startLine: 140 + startLine: 149 assemblies: - Tiny Life namespace: TinyLife @@ -69,7 +69,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Ui path: ../TinyLife/Localization.cs - startLine: 143 + startLine: 152 assemblies: - Tiny Life namespace: TinyLife @@ -103,7 +103,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Actions path: ../TinyLife/Localization.cs - startLine: 145 + startLine: 154 assemblies: - Tiny Life namespace: TinyLife @@ -137,7 +137,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BuildMode path: ../TinyLife/Localization.cs - startLine: 147 + startLine: 156 assemblies: - Tiny Life namespace: TinyLife @@ -171,7 +171,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Clothes path: ../TinyLife/Localization.cs - startLine: 149 + startLine: 158 assemblies: - Tiny Life namespace: TinyLife @@ -205,7 +205,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Food path: ../TinyLife/Localization.cs - startLine: 151 + startLine: 160 assemblies: - Tiny Life namespace: TinyLife @@ -239,7 +239,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Personalities path: ../TinyLife/Localization.cs - startLine: 153 + startLine: 162 assemblies: - Tiny Life namespace: TinyLife @@ -273,7 +273,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Skills path: ../TinyLife/Localization.cs - startLine: 155 + startLine: 164 assemblies: - Tiny Life namespace: TinyLife @@ -307,7 +307,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Jobs path: ../TinyLife/Localization.cs - startLine: 157 + startLine: 166 assemblies: - Tiny Life namespace: TinyLife @@ -341,7 +341,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Emotions path: ../TinyLife/Localization.cs - startLine: 159 + startLine: 168 assemblies: - Tiny Life namespace: TinyLife @@ -375,7 +375,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Hints path: ../TinyLife/Localization.cs - startLine: 161 + startLine: 170 assemblies: - Tiny Life namespace: TinyLife @@ -409,7 +409,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InGameHints path: ../TinyLife/Localization.cs - startLine: 163 + startLine: 172 assemblies: - Tiny Life namespace: TinyLife @@ -443,7 +443,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Goals path: ../TinyLife/Localization.cs - startLine: 165 + startLine: 174 assemblies: - Tiny Life namespace: TinyLife @@ -477,7 +477,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Names path: ../TinyLife/Localization.cs - startLine: 167 + startLine: 176 assemblies: - Tiny Life namespace: TinyLife @@ -511,7 +511,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ChoicePrompts path: ../TinyLife/Localization.cs - startLine: 169 + startLine: 178 assemblies: - Tiny Life namespace: TinyLife @@ -545,7 +545,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Achievements path: ../TinyLife/Localization.cs - startLine: 171 + startLine: 180 assemblies: - Tiny Life namespace: TinyLife diff --git a/docs/api/TinyLife.Localization.yml b/docs/api/TinyLife.Localization.yml index 6973e46..111b084 100644 --- a/docs/api/TinyLife.Localization.yml +++ b/docs/api/TinyLife.Localization.yml @@ -10,6 +10,7 @@ items: - TinyLife.Localization.GetKeys(TinyLife.LnCategory) - TinyLife.Localization.LanguageNames - TinyLife.Localization.Names + - TinyLife.Localization.Reload - TinyLife.Localization.SetLanguage(System.String) langs: - csharp @@ -163,6 +164,40 @@ items: modifiers.vb: - Public - Shared +- uid: TinyLife.Localization.Reload + commentId: M:TinyLife.Localization.Reload + id: Reload + parent: TinyLife.Localization + langs: + - csharp + - vb + name: Reload() + nameWithType: Localization.Reload() + fullName: TinyLife.Localization.Reload() + type: Method + source: + remote: + path: TinyLife/Localization.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: Reload + path: ../TinyLife/Localization.cs + startLine: 54 + assemblies: + - Tiny Life + namespace: TinyLife + summary: "\nReloads the strings for the current language () for the base game and all mods.\nNote that, for most ui elements to update, they have to be re-created.\n" + example: [] + syntax: + content: public static void Reload() + content.vb: Public Shared Sub Reload + overload: TinyLife.Localization.Reload* + modifiers.csharp: + - public + - static + modifiers.vb: + - Public + - Shared - uid: TinyLife.Localization.Get(TinyLife.LnCategory,System.String) commentId: M:TinyLife.Localization.Get(TinyLife.LnCategory,System.String) id: Get(TinyLife.LnCategory,System.String) @@ -181,7 +216,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Get path: ../TinyLife/Localization.cs - startLine: 68 + startLine: 77 assemblies: - Tiny Life namespace: TinyLife @@ -225,7 +260,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Get path: ../TinyLife/Localization.cs - startLine: 87 + startLine: 96 assemblies: - Tiny Life namespace: TinyLife @@ -275,7 +310,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetKeys path: ../TinyLife/Localization.cs - startLine: 96 + startLine: 105 assemblies: - Tiny Life namespace: TinyLife @@ -794,6 +829,14 @@ references: name: String nameWithType: String fullName: System.String +- uid: TinyLife.Localization.SetLanguage(System.String) + commentId: M:TinyLife.Localization.SetLanguage(System.String) + isExternal: true +- uid: TinyLife.Localization.Reload* + commentId: Overload:TinyLife.Localization.Reload + name: Reload + nameWithType: Localization.Reload + fullName: TinyLife.Localization.Reload - uid: TinyLife.Localization.Get* commentId: Overload:TinyLife.Localization.Get name: Get diff --git a/docs/api/TinyLife.Set.yml b/docs/api/TinyLife.Set.yml index 199dd6d..7c8bbfb 100644 --- a/docs/api/TinyLife.Set.yml +++ b/docs/api/TinyLife.Set.yml @@ -22,7 +22,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Set path: ../TinyLife/GameImpl.cs - startLine: 1007 + startLine: 1011 assemblies: - Tiny Life namespace: TinyLife @@ -57,7 +57,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Woodworking path: ../TinyLife/GameImpl.cs - startLine: 1013 + startLine: 1017 assemblies: - Tiny Life namespace: TinyLife @@ -91,7 +91,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Workout path: ../TinyLife/GameImpl.cs - startLine: 1017 + startLine: 1021 assemblies: - Tiny Life namespace: TinyLife @@ -125,7 +125,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ChildClothes path: ../TinyLife/GameImpl.cs - startLine: 1021 + startLine: 1025 assemblies: - Tiny Life namespace: TinyLife