mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-12-04 03:25:39 +00:00
Fixup plurality in QtHostInterface::OnAchievementsRefreshed
This commit is contained in:
parent
4e2ee86c1a
commit
2280fc9806
|
@ -1375,13 +1375,13 @@ void QtHostInterface::OnAchievementsRefreshed()
|
||||||
"Game Title: %2\n"
|
"Game Title: %2\n"
|
||||||
"Game Developer: %3\n"
|
"Game Developer: %3\n"
|
||||||
"Game Publisher: %4\n"
|
"Game Publisher: %4\n"
|
||||||
"Achievements: %5 (%6 points)\n\n")
|
"Achievements: %5 (%6)\n\n")
|
||||||
.arg(Cheevos::GetGameID())
|
.arg(Cheevos::GetGameID())
|
||||||
.arg(QString::fromStdString(Cheevos::GetGameTitle()))
|
.arg(QString::fromStdString(Cheevos::GetGameTitle()))
|
||||||
.arg(QString::fromStdString(Cheevos::GetGameDeveloper()))
|
.arg(QString::fromStdString(Cheevos::GetGameDeveloper()))
|
||||||
.arg(QString::fromStdString(Cheevos::GetGamePublisher()))
|
.arg(QString::fromStdString(Cheevos::GetGamePublisher()))
|
||||||
.arg(Cheevos::GetAchievementCount())
|
.arg(Cheevos::GetAchievementCount())
|
||||||
.arg(Cheevos::GetMaximumPointsForGame());
|
.arg(tr("%n points", "", Cheevos::GetMaximumPointsForGame()));
|
||||||
|
|
||||||
const std::string& rich_presence_string = Cheevos::GetRichPresenceString();
|
const std::string& rich_presence_string = Cheevos::GetRichPresenceString();
|
||||||
if (!rich_presence_string.empty())
|
if (!rich_presence_string.empty())
|
||||||
|
|
|
@ -41,4 +41,14 @@
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>QtHostInterface</name>
|
||||||
|
<message numerus="yes">
|
||||||
|
<source>%n points</source>
|
||||||
|
<translation>
|
||||||
|
<numerusform>%n point</numerusform>
|
||||||
|
<numerusform>%n points</numerusform>
|
||||||
|
</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
</TS>
|
</TS>
|
||||||
|
|
Loading…
Reference in a new issue