well this is embarrassing (0.28.1)

This commit is contained in:
Ell 2022-12-20 14:00:15 +01:00
parent a8f462f30a
commit 01e4964c7e
6 changed files with 81 additions and 31 deletions

View file

@ -1,3 +1,9 @@
# 0.28.1
*December 20, 2022*
Fixes
- Fixed localizations from mods not being loaded on startup
# 0.28.0 # 0.28.0
*December 20, 2022* *December 20, 2022*

View file

@ -1298,6 +1298,7 @@
"TinyLife.Localization.GetKeys(TinyLife.LnCategory)": "TinyLife.Localization.yml", "TinyLife.Localization.GetKeys(TinyLife.LnCategory)": "TinyLife.Localization.yml",
"TinyLife.Localization.LanguageNames": "TinyLife.Localization.yml", "TinyLife.Localization.LanguageNames": "TinyLife.Localization.yml",
"TinyLife.Localization.Names": "TinyLife.Localization.yml", "TinyLife.Localization.Names": "TinyLife.Localization.yml",
"TinyLife.Localization.Reload": "TinyLife.Localization.yml",
"TinyLife.Localization.SetLanguage(System.String)": "TinyLife.Localization.yml", "TinyLife.Localization.SetLanguage(System.String)": "TinyLife.Localization.yml",
"TinyLife.Mods": "TinyLife.Mods.yml", "TinyLife.Mods": "TinyLife.Mods.yml",
"TinyLife.Mods.EventPhase": "TinyLife.Mods.EventPhase.yml", "TinyLife.Mods.EventPhase": "TinyLife.Mods.EventPhase.yml",

View file

@ -26,7 +26,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GameMode id: GameMode
path: ../TinyLife/GameImpl.cs path: ../TinyLife/GameImpl.cs
startLine: 971 startLine: 975
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -61,7 +61,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InitialLoad id: InitialLoad
path: ../TinyLife/GameImpl.cs path: ../TinyLife/GameImpl.cs
startLine: 974 startLine: 978
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -95,7 +95,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Splash id: Splash
path: ../TinyLife/GameImpl.cs path: ../TinyLife/GameImpl.cs
startLine: 976 startLine: 980
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -129,7 +129,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MainMenu id: MainMenu
path: ../TinyLife/GameImpl.cs path: ../TinyLife/GameImpl.cs
startLine: 978 startLine: 982
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -163,7 +163,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SelectHousehold id: SelectHousehold
path: ../TinyLife/GameImpl.cs path: ../TinyLife/GameImpl.cs
startLine: 980 startLine: 984
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -197,7 +197,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InGameHousehold id: InGameHousehold
path: ../TinyLife/GameImpl.cs path: ../TinyLife/GameImpl.cs
startLine: 982 startLine: 986
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -231,7 +231,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BuildOnly id: BuildOnly
path: ../TinyLife/GameImpl.cs path: ../TinyLife/GameImpl.cs
startLine: 984 startLine: 988
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -265,7 +265,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CharacterCreation id: CharacterCreation
path: ../TinyLife/GameImpl.cs path: ../TinyLife/GameImpl.cs
startLine: 986 startLine: 990
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife

View file

@ -34,7 +34,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LnCategory id: LnCategory
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 140 startLine: 149
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -69,7 +69,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Ui id: Ui
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 143 startLine: 152
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -103,7 +103,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Actions id: Actions
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 145 startLine: 154
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -137,7 +137,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BuildMode id: BuildMode
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 147 startLine: 156
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -171,7 +171,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Clothes id: Clothes
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 149 startLine: 158
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -205,7 +205,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Food id: Food
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 151 startLine: 160
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -239,7 +239,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Personalities id: Personalities
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 153 startLine: 162
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -273,7 +273,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Skills id: Skills
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 155 startLine: 164
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -307,7 +307,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Jobs id: Jobs
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 157 startLine: 166
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -341,7 +341,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Emotions id: Emotions
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 159 startLine: 168
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -375,7 +375,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Hints id: Hints
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 161 startLine: 170
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -409,7 +409,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InGameHints id: InGameHints
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 163 startLine: 172
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -443,7 +443,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Goals id: Goals
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 165 startLine: 174
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -477,7 +477,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Names id: Names
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 167 startLine: 176
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -511,7 +511,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ChoicePrompts id: ChoicePrompts
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 169 startLine: 178
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -545,7 +545,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Achievements id: Achievements
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 171 startLine: 180
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife

View file

@ -10,6 +10,7 @@ items:
- TinyLife.Localization.GetKeys(TinyLife.LnCategory) - TinyLife.Localization.GetKeys(TinyLife.LnCategory)
- TinyLife.Localization.LanguageNames - TinyLife.Localization.LanguageNames
- TinyLife.Localization.Names - TinyLife.Localization.Names
- TinyLife.Localization.Reload
- TinyLife.Localization.SetLanguage(System.String) - TinyLife.Localization.SetLanguage(System.String)
langs: langs:
- csharp - csharp
@ -163,6 +164,40 @@ items:
modifiers.vb: modifiers.vb:
- Public - Public
- Shared - 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 (<xref href=\"TinyLife.Localization.SetLanguage(System.String)\" data-throw-if-not-resolved=\"false\"></xref>) 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) - uid: TinyLife.Localization.Get(TinyLife.LnCategory,System.String)
commentId: M:TinyLife.Localization.Get(TinyLife.LnCategory,System.String) commentId: M:TinyLife.Localization.Get(TinyLife.LnCategory,System.String)
id: Get(TinyLife.LnCategory,System.String) id: Get(TinyLife.LnCategory,System.String)
@ -181,7 +216,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Get id: Get
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 68 startLine: 77
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -225,7 +260,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Get id: Get
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 87 startLine: 96
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -275,7 +310,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetKeys id: GetKeys
path: ../TinyLife/Localization.cs path: ../TinyLife/Localization.cs
startLine: 96 startLine: 105
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -794,6 +829,14 @@ references:
name: String name: String
nameWithType: String nameWithType: String
fullName: System.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* - uid: TinyLife.Localization.Get*
commentId: Overload:TinyLife.Localization.Get commentId: Overload:TinyLife.Localization.Get
name: Get name: Get

View file

@ -22,7 +22,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Set id: Set
path: ../TinyLife/GameImpl.cs path: ../TinyLife/GameImpl.cs
startLine: 1007 startLine: 1011
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -57,7 +57,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Woodworking id: Woodworking
path: ../TinyLife/GameImpl.cs path: ../TinyLife/GameImpl.cs
startLine: 1013 startLine: 1017
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -91,7 +91,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Workout id: Workout
path: ../TinyLife/GameImpl.cs path: ../TinyLife/GameImpl.cs
startLine: 1017 startLine: 1021
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -125,7 +125,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ChildClothes id: ChildClothes
path: ../TinyLife/GameImpl.cs path: ../TinyLife/GameImpl.cs
startLine: 1021 startLine: 1025
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife