Switched UI Label to use localized strings.

This commit is contained in:
YourWishes committed 2022-12-16 08:45:14 -08:00
1 parent b17592f4fd
commit 71dbf6e646
10 files changed
+70 -43

No files matched your search

+2
View File
@@ -72,6 +72,8 @@ void LanguageAsset::updateAsync() {
std::string LanguageAsset::getValue(std::string key) {
assertTrue(this->state == 0x07);
assertMapHasKey(this->values, key);
assertTrue(this->values[key].begin >= 0 && this->values[key].length > 0);
// Get the positions
struct AssetLanguageValue value = this->values[key];