| 397 | } |
| 398 | |
| 399 | Array<String> Localization::GetLocales() |
| 400 | { |
| 401 | Array<String> result; |
| 402 | auto& settings = *LocalizationSettings::Get(); |
| 403 | for (auto& e : settings.LocalizedStringTables) |
| 404 | { |
| 405 | auto table = e.Get(); |
| 406 | if (table && !table->WaitForLoaded()) |
| 407 | result.AddUnique(table->Locale); |
| 408 | } |
| 409 | return result; |
| 410 | } |
nothing calls this directly
no test coverage detected