mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 15:15:40 +00:00
Achievements: Fix incorrect plural string
This commit is contained in:
parent
955d7967f0
commit
41ff2ec5ee
|
@ -2421,7 +2421,7 @@ void Achievements::DrawAchievementsWindow()
|
||||||
{
|
{
|
||||||
if (s_game_summary.num_unlocked_achievements == s_game_summary.num_core_achievements)
|
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);
|
"Point count", s_game_summary.points_unlocked);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -529,7 +529,7 @@ Unread messages: {}</source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2199"/>
|
<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>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -16,25 +16,25 @@
|
||||||
<context>
|
<context>
|
||||||
<name>Achievements</name>
|
<name>Achievements</name>
|
||||||
<message numerus="yes">
|
<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>
|
<source>You have unlocked {} of %n achievements</source>
|
||||||
<comment>Achievement popup</comment>
|
<comment>Achievement popup</comment>
|
||||||
<translation>
|
<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>
|
<numerusform>You have unlocked {} of %n achievements</numerusform>
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message numerus="yes">
|
<message numerus="yes">
|
||||||
<location filename="../../core/achievements.cpp" line="1211"/>
|
<location filename="../../core/achievements.cpp" line="1216"/>
|
||||||
<source>and earned {} of %n points</source>
|
<source>and earned {} of %n points</source>
|
||||||
<comment>Achievement popup</comment>
|
<comment>Achievement popup</comment>
|
||||||
<translation>
|
<translation>
|
||||||
<numerusform>and earned {} of %n points</numerusform>
|
<numerusform>and earned %n point</numerusform>
|
||||||
<numerusform>and earned {} of %n points</numerusform>
|
<numerusform>and earned {} of %n points</numerusform>
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message numerus="yes">
|
<message numerus="yes">
|
||||||
<location filename="../../core/achievements.cpp" line="1286"/>
|
<location filename="../../core/achievements.cpp" line="1291"/>
|
||||||
<source>%n achievements</source>
|
<source>%n achievements</source>
|
||||||
<comment>Mastery popup</comment>
|
<comment>Mastery popup</comment>
|
||||||
<translation>
|
<translation>
|
||||||
|
@ -43,8 +43,8 @@
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message numerus="yes">
|
<message numerus="yes">
|
||||||
<location filename="../../core/achievements.cpp" line="1288"/>
|
<location filename="../../core/achievements.cpp" line="1293"/>
|
||||||
<location filename="../../core/achievements.cpp" line="2587"/>
|
<location filename="../../core/achievements.cpp" line="2598"/>
|
||||||
<source>%n points</source>
|
<source>%n points</source>
|
||||||
<comment>Achievement points</comment>
|
<comment>Achievement points</comment>
|
||||||
<translation>
|
<translation>
|
||||||
|
@ -53,16 +53,16 @@
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message numerus="yes">
|
<message numerus="yes">
|
||||||
<location filename="../../core/achievements.cpp" line="2421"/>
|
<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>
|
<comment>Point count</comment>
|
||||||
<translation>
|
<translation>
|
||||||
<numerusform>You have unlocked all achievements and earned {} point!</numerusform>
|
<numerusform>You have unlocked all achievements and earned %n point!</numerusform>
|
||||||
<numerusform>You have unlocked all achievements and earned {} points!</numerusform>
|
<numerusform>You have unlocked all achievements and earned %n points!</numerusform>
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message numerus="yes">
|
<message numerus="yes">
|
||||||
<location filename="../../core/achievements.cpp" line="2823"/>
|
<location filename="../../core/achievements.cpp" line="2834"/>
|
||||||
<source>This game has %n leaderboards.</source>
|
<source>This game has %n leaderboards.</source>
|
||||||
<comment>Leaderboard count</comment>
|
<comment>Leaderboard count</comment>
|
||||||
<translation>
|
<translation>
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
<name>GameList</name>
|
<name>GameList</name>
|
||||||
<message numerus="yes">
|
<message numerus="yes">
|
||||||
<location filename="../gamelistmodel.cpp" line="258"/>
|
<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>
|
<source>%n hours</source>
|
||||||
<translation>
|
<translation>
|
||||||
<numerusform>%n hour</numerusform>
|
<numerusform>%n hour</numerusform>
|
||||||
|
@ -95,7 +95,7 @@
|
||||||
</message>
|
</message>
|
||||||
<message numerus="yes">
|
<message numerus="yes">
|
||||||
<location filename="../gamelistmodel.cpp" line="260"/>
|
<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>
|
<source>%n minutes</source>
|
||||||
<translation>
|
<translation>
|
||||||
<numerusform>%n minute</numerusform>
|
<numerusform>%n minute</numerusform>
|
||||||
|
@ -128,7 +128,7 @@
|
||||||
<context>
|
<context>
|
||||||
<name>System</name>
|
<name>System</name>
|
||||||
<message numerus="yes">
|
<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>
|
<source>%n cheat(s) are now active.</source>
|
||||||
<translation>
|
<translation>
|
||||||
<numerusform>%n cheat is now active.</numerusform>
|
<numerusform>%n cheat is now active.</numerusform>
|
||||||
|
@ -136,7 +136,7 @@
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message numerus="yes">
|
<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>
|
<source>%n cheat(s) are now inactive.</source>
|
||||||
<translation>
|
<translation>
|
||||||
<numerusform>%n cheat is now inactive.</numerusform>
|
<numerusform>%n cheat is now inactive.</numerusform>
|
||||||
|
@ -144,7 +144,7 @@
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message numerus="yes">
|
<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>
|
<source>%n cheat(s) are enabled. This may crash games.</source>
|
||||||
<translation>
|
<translation>
|
||||||
<numerusform>%n cheat is enabled. This may crash games.</numerusform>
|
<numerusform>%n cheat is enabled. This may crash games.</numerusform>
|
||||||
|
|
|
@ -612,11 +612,11 @@ Mensajes sin leer: {}</translation>
|
||||||
</message>
|
</message>
|
||||||
<message numerus="yes">
|
<message numerus="yes">
|
||||||
<location filename="../../core/achievements.cpp" line="2419"/>
|
<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>
|
<comment>Point count</comment>
|
||||||
<translation>
|
<translation>
|
||||||
<numerusform>¡Has desbloqueado todos los logros y has ganado {} punto!</numerusform>
|
<numerusform>¡Has desbloqueado todos los logros y has ganado %n punto!</numerusform>
|
||||||
<numerusform>¡Has desbloqueado todos los logros y has ganado {} puntos!</numerusform>
|
<numerusform>¡Has desbloqueado todos los logros y has ganado %n puntos!</numerusform>
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -534,8 +534,8 @@ Mensajes sin leer: {}</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2315"/>
|
<location filename="../../core/achievements.cpp" line="2315"/>
|
||||||
<source>You have unlocked all achievements and earned {} points!</source>
|
<source>You have unlocked all achievements and earned %n points!</source>
|
||||||
<translation>Desbloqueaste todos los logros y conseguiste {} puntos!</translation>
|
<translation>Desbloqueaste todos los logros y conseguiste %n puntos!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2320"/>
|
<location filename="../../core/achievements.cpp" line="2320"/>
|
||||||
|
|
|
@ -529,7 +529,7 @@ Unread messages: {}</source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2199"/>
|
<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>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -528,7 +528,7 @@ Unread messages: {}</source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2199"/>
|
<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>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -547,8 +547,8 @@ Leaderboard Position: {} of {}</source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2247"/>
|
<location filename="../../core/achievements.cpp" line="2247"/>
|
||||||
<source>You have unlocked all achievements and earned {} points!</source>
|
<source>You have unlocked all achievements and earned %n points!</source>
|
||||||
<translation>Anda telah membuka semua prestasi dan mendapatkan {} poin!</translation>
|
<translation>Anda telah membuka semua prestasi dan mendapatkan %n poin!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="1879"/>
|
<location filename="../../core/achievements.cpp" line="1879"/>
|
||||||
|
|
|
@ -542,8 +542,8 @@ Messaggi non letti: {}</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2240"/>
|
<location filename="../../core/achievements.cpp" line="2240"/>
|
||||||
<source>You have unlocked all achievements and earned {} points!</source>
|
<source>You have unlocked all achievements and earned %n points!</source>
|
||||||
<translation>Hai sbloccato tutti gli obiettivi e guadagnato {} punti!</translation>
|
<translation>Hai sbloccato tutti gli obiettivi e guadagnato %n punti!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2245"/>
|
<location filename="../../core/achievements.cpp" line="2245"/>
|
||||||
|
|
|
@ -532,7 +532,7 @@ Unread messages: {}</source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2245"/>
|
<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>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -541,8 +541,8 @@ Unread messages: {}</source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2199"/>
|
<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>모든 도전 과제를 봉인 해제하고 {}점을 획득했습니다!</translation>
|
<translation>모든 도전 과제를 봉인 해제하고 %n점을 획득했습니다!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2204"/>
|
<location filename="../../core/achievements.cpp" line="2204"/>
|
||||||
|
|
|
@ -528,7 +528,7 @@ Unread messages: {}</source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2199"/>
|
<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>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -530,8 +530,8 @@ Nieprzeczytane wiadomości: {}</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2245"/>
|
<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>Udało ci się odblokować wszystkie osiągnięcia i zebrać {} punktów!</translation>
|
<translation>Udało ci się odblokować wszystkie osiągnięcia i zebrać %n punktów!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2250"/>
|
<location filename="../../core/achievements.cpp" line="2250"/>
|
||||||
|
|
|
@ -529,10 +529,10 @@ Mensagens não lidas: {}</translation>
|
||||||
</message>
|
</message>
|
||||||
<message numerus="yes">
|
<message numerus="yes">
|
||||||
<location filename="../../core/achievements.cpp" line="2424"/>
|
<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>
|
<comment>Point count</comment>
|
||||||
<translation>
|
<translation>
|
||||||
<numerusform>Você desbloqueou todas as conquistas e ganhou {} pontos!</numerusform>
|
<numerusform>Você desbloqueou todas as conquistas e ganhou %n pontos!</numerusform>
|
||||||
<numerusform></numerusform>
|
<numerusform></numerusform>
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -529,7 +529,7 @@ Unread messages: {}</source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2199"/>
|
<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>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -554,8 +554,8 @@ Unread messages: {}</source>
|
||||||
<translation> (Хардкорный режим)</translation>
|
<translation> (Хардкорный режим)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>You have unlocked all achievements and earned {} points!</source>
|
<source>You have unlocked all achievements and earned %n points!</source>
|
||||||
<translation type="obsolete">Вы открыли все достижения и заработали {} баллов!</translation>
|
<translation type="obsolete">Вы открыли все достижения и заработали %n баллов!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2484"/>
|
<location filename="../../core/achievements.cpp" line="2484"/>
|
||||||
|
|
|
@ -533,8 +533,8 @@ Okunmamış Mesajlar: {}</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2315"/>
|
<location filename="../../core/achievements.cpp" line="2315"/>
|
||||||
<source>You have unlocked all achievements and earned {} points!</source>
|
<source>You have unlocked all achievements and earned %n points!</source>
|
||||||
<translation>Tüm başarımları kazanıp {} puan aldnız!</translation>
|
<translation>Tüm başarımları kazanıp %n puan aldnız!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2320"/>
|
<location filename="../../core/achievements.cpp" line="2320"/>
|
||||||
|
|
|
@ -538,8 +538,8 @@ Unread messages: {}</source>
|
||||||
<translation> (硬核模式)</translation>
|
<translation> (硬核模式)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>You have unlocked all achievements and earned {} points!</source>
|
<source>You have unlocked all achievements and earned %n points!</source>
|
||||||
<translation type="vanished">您已经解锁了全部成就并获得了{}点数!</translation>
|
<translation type="vanished">您已经解锁了全部成就并获得了%n点数!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../core/achievements.cpp" line="2479"/>
|
<location filename="../../core/achievements.cpp" line="2479"/>
|
||||||
|
|
Loading…
Reference in a new issue