Switched UI Label to use localized strings.

This commit is contained in:
2022-12-16 08:45:14 -08:00
parent b17592f4fd
commit 71dbf6e646
10 changed files with 70 additions and 43 deletions

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];