Settings: Translate display names in core

Enables the values to show in the Big Picture UI.
This commit is contained in:
Stenzek
2023-08-20 13:25:43 +10:00
parent 8ba04a80af
commit d09e5051ca
14 changed files with 105 additions and 125 deletions

View File

@ -107,7 +107,7 @@ const char* GameList::GetEntryTypeDisplayName(EntryType type)
static std::array<const char*, static_cast<int>(EntryType::Count)> names = {
{TRANSLATE_NOOP("GameList", "Disc"), TRANSLATE_NOOP("GameList", "PS-EXE"), TRANSLATE_NOOP("GameList", "Playlist"),
TRANSLATE_NOOP("GameList", "PSF")}};
return names[static_cast<int>(type)];
return Host::TranslateToCString("GameList", names[static_cast<int>(type)]);
}
bool GameList::IsGameListLoaded()