fix compatibility rating to be translated

This commit is contained in:
Dolphin 2023-01-07 10:31:31 +09:00
parent 91a6608118
commit fbbb5a1eee

View file

@ -36,7 +36,7 @@ GameSummaryWidget::GameSummaryWidget(const std::string& path, const std::string&
for (u32 i = 0; i < static_cast<u32>(GameDatabase::CompatibilityRating::Count); i++) for (u32 i = 0; i < static_cast<u32>(GameDatabase::CompatibilityRating::Count); i++)
{ {
m_ui.compatibility->addItem(QtUtils::GetIconForCompatibility(static_cast<GameDatabase::CompatibilityRating>(i)), m_ui.compatibility->addItem(QtUtils::GetIconForCompatibility(static_cast<GameDatabase::CompatibilityRating>(i)),
qApp->translate("GameDatabase", GameDatabase::GetCompatibilityRatingDisplayName( qApp->translate("GameListCompatibilityRating", GameDatabase::GetCompatibilityRatingDisplayName(
static_cast<GameDatabase::CompatibilityRating>(i)))); static_cast<GameDatabase::CompatibilityRating>(i))));
} }