JavidPack / BossChecklist

Mod for tModLoader to help with Boss Progression
https://forums.terraria.org/index.php?threads/boss-checklist-in-game-progression-checklist.50668/
61 stars 23 forks source link

Better Localization Values #46

Closed NalydddNobel closed 2 years ago

NalydddNobel commented 2 years ago

Currently Boss Checklist sets up boss and event names when loaded, so when you switch the language it doesn't refresh until reloading mods. A solution to this is to not translate the keys immediately, but instead to keep the key and run Language.GetText() on it when drawing the text. This should also help with mods that input a language key for their Bosses' or Event's name by automatically translating the key, especially since ModTranslations are not loaded in Mod.PostSetupContent (where Boss Checklist is commonly called)