mirror of
https://github.com/stenzek/duckstation.git
synced 2024-11-26 23:50:31 +00:00
Achievements: Fix incorrect plural string
This commit is contained in:
parent
b6c4d6dda9
commit
1d83e72887
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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"/>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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"/>
|
||||
|
@ -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"/>
|
||||
|
@ -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>
|
||||
|
@ -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"/>
|
||||
|
@ -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>
|
||||
|
@ -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"/>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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"/>
|
||||
|
@ -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"/>
|
||||
|
@ -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"/>
|
||||
|
Loading…
Reference in New Issue
Block a user