Achievements: Fix incorrect plural string

This commit is contained in:
Stenzek 2024-09-08 11:51:31 +10:00
parent 05200c7135
commit f402e59b59
No known key found for this signature in database
18 changed files with 45 additions and 45 deletions

View File

@ -2421,7 +2421,7 @@ void Achievements::DrawAchievementsWindow()
{
if (s_game_summary.num_unlocked_achievements == s_game_summary.num_core_achievements)
{
text = TRANSLATE_PLURAL_SSTR("Achievements", "You have unlocked all achievements and earned {} points!",
text = TRANSLATE_PLURAL_SSTR("Achievements", "You have unlocked all achievements and earned %n points!",
"Point count", s_game_summary.points_unlocked);
}
else

View File

@ -529,7 +529,7 @@ Unread messages: {}</source>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2199"/>
<source>You have unlocked all achievements and earned {} points!</source>
<source>You have unlocked all achievements and earned %n points!</source>
<translation type="unfinished"></translation>
</message>
<message>

View File

@ -16,25 +16,25 @@
<context>
<name>Achievements</name>
<message numerus="yes">
<location filename="../../core/achievements.cpp" line="1208"/>
<location filename="../../core/achievements.cpp" line="1213"/>
<source>You have unlocked {} of %n achievements</source>
<comment>Achievement popup</comment>
<translation>
<numerusform>You have unlocked {} of %n achievements</numerusform>
<numerusform>You have unlocked the %n achievement</numerusform>
<numerusform>You have unlocked {} of %n achievements</numerusform>
</translation>
</message>
<message numerus="yes">
<location filename="../../core/achievements.cpp" line="1211"/>
<location filename="../../core/achievements.cpp" line="1216"/>
<source>and earned {} of %n points</source>
<comment>Achievement popup</comment>
<translation>
<numerusform>and earned {} of %n points</numerusform>
<numerusform>and earned %n point</numerusform>
<numerusform>and earned {} of %n points</numerusform>
</translation>
</message>
<message numerus="yes">
<location filename="../../core/achievements.cpp" line="1286"/>
<location filename="../../core/achievements.cpp" line="1291"/>
<source>%n achievements</source>
<comment>Mastery popup</comment>
<translation>
@ -43,8 +43,8 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../core/achievements.cpp" line="1288"/>
<location filename="../../core/achievements.cpp" line="2587"/>
<location filename="../../core/achievements.cpp" line="1293"/>
<location filename="../../core/achievements.cpp" line="2598"/>
<source>%n points</source>
<comment>Achievement points</comment>
<translation>
@ -53,16 +53,16 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../core/achievements.cpp" line="2421"/>
<source>You have unlocked all achievements and earned {} points!</source>
<location filename="../../core/achievements.cpp" line="2424"/>
<source>You have unlocked all achievements and earned %n points!</source>
<comment>Point count</comment>
<translation>
<numerusform>You have unlocked all achievements and earned {} point!</numerusform>
<numerusform>You have unlocked all achievements and earned {} points!</numerusform>
<numerusform>You have unlocked all achievements and earned %n point!</numerusform>
<numerusform>You have unlocked all achievements and earned %n points!</numerusform>
</translation>
</message>
<message numerus="yes">
<location filename="../../core/achievements.cpp" line="2823"/>
<location filename="../../core/achievements.cpp" line="2834"/>
<source>This game has %n leaderboards.</source>
<comment>Leaderboard count</comment>
<translation>
@ -86,7 +86,7 @@
<name>GameList</name>
<message numerus="yes">
<location filename="../gamelistmodel.cpp" line="258"/>
<location filename="../../core/game_list.cpp" line="1314"/>
<location filename="../../core/game_list.cpp" line="1327"/>
<source>%n hours</source>
<translation>
<numerusform>%n hour</numerusform>
@ -95,7 +95,7 @@
</message>
<message numerus="yes">
<location filename="../gamelistmodel.cpp" line="260"/>
<location filename="../../core/game_list.cpp" line="1316"/>
<location filename="../../core/game_list.cpp" line="1329"/>
<source>%n minutes</source>
<translation>
<numerusform>%n minute</numerusform>
@ -128,7 +128,7 @@
<context>
<name>System</name>
<message numerus="yes">
<location filename="../../core/system.cpp" line="3514"/>
<location filename="../../core/system.cpp" line="3549"/>
<source>%n cheat(s) are now active.</source>
<translation>
<numerusform>%n cheat is now active.</numerusform>
@ -136,7 +136,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../core/system.cpp" line="3515"/>
<location filename="../../core/system.cpp" line="3550"/>
<source>%n cheat(s) are now inactive.</source>
<translation>
<numerusform>%n cheat is now inactive.</numerusform>
@ -144,7 +144,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../core/system.cpp" line="4166"/>
<location filename="../../core/system.cpp" line="4201"/>
<source>%n cheat(s) are enabled. This may crash games.</source>
<translation>
<numerusform>%n cheat is enabled. This may crash games.</numerusform>

View File

@ -612,11 +612,11 @@ Mensajes sin leer: {}</translation>
</message>
<message numerus="yes">
<location filename="../../core/achievements.cpp" line="2419"/>
<source>You have unlocked all achievements and earned {} points!</source>
<source>You have unlocked all achievements and earned %n points!</source>
<comment>Point count</comment>
<translation>
<numerusform>¡Has desbloqueado todos los logros y has ganado {} punto!</numerusform>
<numerusform>¡Has desbloqueado todos los logros y has ganado {} puntos!</numerusform>
<numerusform>¡Has desbloqueado todos los logros y has ganado %n punto!</numerusform>
<numerusform>¡Has desbloqueado todos los logros y has ganado %n puntos!</numerusform>
</translation>
</message>
<message>

View File

@ -534,8 +534,8 @@ Mensajes sin leer: {}</translation>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2315"/>
<source>You have unlocked all achievements and earned {} points!</source>
<translation>Desbloqueaste todos los logros y conseguiste {} puntos!</translation>
<source>You have unlocked all achievements and earned %n points!</source>
<translation>Desbloqueaste todos los logros y conseguiste %n puntos!</translation>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2320"/>

View File

@ -529,7 +529,7 @@ Unread messages: {}</source>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2199"/>
<source>You have unlocked all achievements and earned {} points!</source>
<source>You have unlocked all achievements and earned %n points!</source>
<translation type="unfinished"></translation>
</message>
<message>

View File

@ -528,7 +528,7 @@ Unread messages: {}</source>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2199"/>
<source>You have unlocked all achievements and earned {} points!</source>
<source>You have unlocked all achievements and earned %n points!</source>
<translation type="unfinished"></translation>
</message>
<message>

View File

@ -547,8 +547,8 @@ Leaderboard Position: {} of {}</source>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2247"/>
<source>You have unlocked all achievements and earned {} points!</source>
<translation>Anda telah membuka semua prestasi dan mendapatkan {} poin!</translation>
<source>You have unlocked all achievements and earned %n points!</source>
<translation>Anda telah membuka semua prestasi dan mendapatkan %n poin!</translation>
</message>
<message>
<location filename="../../core/achievements.cpp" line="1879"/>

View File

@ -542,8 +542,8 @@ Messaggi non letti: {}</translation>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2240"/>
<source>You have unlocked all achievements and earned {} points!</source>
<translation>Hai sbloccato tutti gli obiettivi e guadagnato {} punti!</translation>
<source>You have unlocked all achievements and earned %n points!</source>
<translation>Hai sbloccato tutti gli obiettivi e guadagnato %n punti!</translation>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2245"/>

View File

@ -532,7 +532,7 @@ Unread messages: {}</source>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2245"/>
<source>You have unlocked all achievements and earned {} points!</source>
<source>You have unlocked all achievements and earned %n points!</source>
<translation type="unfinished"></translation>
</message>
<message>

View File

@ -541,8 +541,8 @@ Unread messages: {}</source>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2199"/>
<source>You have unlocked all achievements and earned {} points!</source>
<translation> {}!</translation>
<source>You have unlocked all achievements and earned %n points!</source>
<translation> %n점!</translation>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2204"/>

View File

@ -528,7 +528,7 @@ Unread messages: {}</source>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2199"/>
<source>You have unlocked all achievements and earned {} points!</source>
<source>You have unlocked all achievements and earned %n points!</source>
<translation type="unfinished"></translation>
</message>
<message>

View File

@ -530,8 +530,8 @@ Nieprzeczytane wiadomości: {}</translation>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2245"/>
<source>You have unlocked all achievements and earned {} points!</source>
<translation>Udało ci się odblokować wszystkie osiągnięcia i zebrać {} punktów!</translation>
<source>You have unlocked all achievements and earned %n points!</source>
<translation>Udało ci się odblokować wszystkie osiągnięcia i zebrać %n punktów!</translation>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2250"/>

View File

@ -529,10 +529,10 @@ Mensagens não lidas: {}</translation>
</message>
<message numerus="yes">
<location filename="../../core/achievements.cpp" line="2424"/>
<source>You have unlocked all achievements and earned {} points!</source>
<source>You have unlocked all achievements and earned %n points!</source>
<comment>Point count</comment>
<translation>
<numerusform>Você desbloqueou todas as conquistas e ganhou {} pontos!</numerusform>
<numerusform>Você desbloqueou todas as conquistas e ganhou %n pontos!</numerusform>
<numerusform></numerusform>
</translation>
</message>

View File

@ -529,7 +529,7 @@ Unread messages: {}</source>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2199"/>
<source>You have unlocked all achievements and earned {} points!</source>
<source>You have unlocked all achievements and earned %n points!</source>
<translation type="unfinished"></translation>
</message>
<message>

View File

@ -554,8 +554,8 @@ Unread messages: {}</source>
<translation> (Хардкорный режим)</translation>
</message>
<message>
<source>You have unlocked all achievements and earned {} points!</source>
<translation type="obsolete">Вы открыли все достижения и заработали {} баллов!</translation>
<source>You have unlocked all achievements and earned %n points!</source>
<translation type="obsolete">Вы открыли все достижения и заработали %n баллов!</translation>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2484"/>

View File

@ -533,8 +533,8 @@ Okunmamış Mesajlar: {}</translation>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2315"/>
<source>You have unlocked all achievements and earned {} points!</source>
<translation>Tüm başarımları kazanıp {} puan aldnız!</translation>
<source>You have unlocked all achievements and earned %n points!</source>
<translation>Tüm başarımları kazanıp %n puan aldnız!</translation>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2320"/>

View File

@ -538,8 +538,8 @@ Unread messages: {}</source>
<translation> ()</translation>
</message>
<message>
<source>You have unlocked all achievements and earned {} points!</source>
<translation type="vanished">{}</translation>
<source>You have unlocked all achievements and earned %n points!</source>
<translation type="vanished">%n点</translation>
</message>
<message>
<location filename="../../core/achievements.cpp" line="2479"/>