Fixup plurality in QtHostInterface::OnAchievementsRefreshed

This commit is contained in:
Silent
2021-03-07 22:12:19 +01:00
parent 4e2ee86c1a
commit 2280fc9806
2 changed files with 12 additions and 2 deletions

View File

@ -1375,13 +1375,13 @@ void QtHostInterface::OnAchievementsRefreshed()
"Game Title: %2\n"
"Game Developer: %3\n"
"Game Publisher: %4\n"
"Achievements: %5 (%6 points)\n\n")
"Achievements: %5 (%6)\n\n")
.arg(Cheevos::GetGameID())
.arg(QString::fromStdString(Cheevos::GetGameTitle()))
.arg(QString::fromStdString(Cheevos::GetGameDeveloper()))
.arg(QString::fromStdString(Cheevos::GetGamePublisher()))
.arg(Cheevos::GetAchievementCount())
.arg(Cheevos::GetMaximumPointsForGame());
.arg(tr("%n points", "", Cheevos::GetMaximumPointsForGame()));
const std::string& rich_presence_string = Cheevos::GetRichPresenceString();
if (!rich_presence_string.empty())