1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Set new game finished message to clarify if the demo was used.

This commit is contained in:
Joe R 2024-06-22 12:20:41 -04:00
parent 764fb5207e
commit 58e2eb89c9
8 changed files with 59 additions and 8 deletions

View file

@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: PySol 0.0.1\n" "Project-Id-Version: PySol 0.0.1\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-10 10:19-0500\n" "POT-Creation-Date: 2021-12-10 10:19-0500\n"
"PO-Revision-Date: 2024-05-31 20:27-0400\n" "PO-Revision-Date: 2024-06-22 12:14-0400\n"
"Last-Translator: H. Schaekel <Holger.Schaekel@web.de>\n" "Last-Translator: H. Schaekel <Holger.Schaekel@web.de>\n"
"Language-Team: German\n" "Language-Team: German\n"
"Language: de\n" "Language: de\n"
@ -2139,6 +2139,12 @@ msgstr ""
msgid "You used %(h)s hint(s) during this game." msgid "You used %(h)s hint(s) during this game."
msgstr "" msgstr ""
msgid "You used %(h)s hint(s) and the demo during this game."
msgstr ""
msgid "You used the demo during this game."
msgstr ""
msgid "You are Stuck" msgid "You are Stuck"
msgstr "" msgstr ""

View file

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 1.02\n" "Project-Id-Version: 1.02\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-10 10:19-0500\n" "POT-Creation-Date: 2021-12-10 10:19-0500\n"
"PO-Revision-Date: 2024-05-31 20:26-0400\n" "PO-Revision-Date: 2024-06-22 12:14-0400\n"
"Last-Translator: Eric Rausch <neelix570@gmail.com>\n" "Last-Translator: Eric Rausch <neelix570@gmail.com>\n"
"Language-Team: French\n" "Language-Team: French\n"
"Language: fr\n" "Language: fr\n"
@ -2170,6 +2170,12 @@ msgstr "Jeu terminé, mais pas sans mon aide..."
msgid "You used %(h)s hint(s) during this game." msgid "You used %(h)s hint(s) during this game."
msgstr "" msgstr ""
msgid "You used %(h)s hint(s) and the demo during this game."
msgstr ""
msgid "You used the demo during this game."
msgstr ""
msgid "You are Stuck" msgid "You are Stuck"
msgstr "" msgstr ""

View file

@ -12,7 +12,7 @@ msgstr ""
"Project-Id-Version: it_pysol\n" "Project-Id-Version: it_pysol\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-10 10:19-0500\n" "POT-Creation-Date: 2021-12-10 10:19-0500\n"
"PO-Revision-Date: 2024-05-31 20:26-0400\n" "PO-Revision-Date: 2024-06-22 12:14-0400\n"
"Last-Translator: Giuliano Colla <giuliano.colla@gmail.com>\n" "Last-Translator: Giuliano Colla <giuliano.colla@gmail.com>\n"
"Language-Team: Italiano <it@li.org>\n" "Language-Team: Italiano <it@li.org>\n"
"Language: it\n" "Language: it\n"
@ -2178,6 +2178,12 @@ msgstr "Gioco terminato, ma non senza il mio aiuto..."
msgid "You used %(h)s hint(s) during this game." msgid "You used %(h)s hint(s) during this game."
msgstr "" msgstr ""
msgid "You used %(h)s hint(s) and the demo during this game."
msgstr ""
msgid "You used the demo during this game."
msgstr ""
msgid "You are Stuck" msgid "You are Stuck"
msgstr "" msgstr ""

View file

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: PySolFC\n" "Project-Id-Version: PySolFC\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-10 10:19-0500\n" "POT-Creation-Date: 2021-12-10 10:19-0500\n"
"PO-Revision-Date: 2024-05-31 20:26-0400\n" "PO-Revision-Date: 2024-06-22 12:14-0400\n"
"Last-Translator: Jerzy Trzeciak <artusek@wp.pl>\n" "Last-Translator: Jerzy Trzeciak <artusek@wp.pl>\n"
"Language-Team: Polish <pl@li.org>\n" "Language-Team: Polish <pl@li.org>\n"
"Language: pl\n" "Language: pl\n"
@ -2180,6 +2180,12 @@ msgstr "Gra zakończona, ale nie bez mojej pomocy..."
msgid "You used %(h)s hint(s) during this game." msgid "You used %(h)s hint(s) during this game."
msgstr "Wykorzystałeś %(h)s podpowiedzi w czasie tej gry." msgstr "Wykorzystałeś %(h)s podpowiedzi w czasie tej gry."
msgid "You used %(h)s hint(s) and the demo during this game."
msgstr ""
msgid "You used the demo during this game."
msgstr ""
msgid "You are Stuck" msgid "You are Stuck"
msgstr "Utknąłeś" msgstr "Utknąłeś"

View file

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-10 10:19-0500\n" "POT-Creation-Date: 2021-12-10 10:19-0500\n"
"PO-Revision-Date: 2024-05-31 20:25-0400\n" "PO-Revision-Date: 2024-06-22 12:15-0400\n"
"Last-Translator: Matheus Knack <mtknack555@gmail.com>\n" "Last-Translator: Matheus Knack <mtknack555@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: pt_BR\n" "Language: pt_BR\n"
@ -2188,6 +2188,12 @@ msgstr "O jogo acabou, mas não sem minha ajuda..."
msgid "You used %(h)s hint(s) during this game." msgid "You used %(h)s hint(s) during this game."
msgstr "Você usou %(h)s dica(s) durante este jogo" msgstr "Você usou %(h)s dica(s) durante este jogo"
msgid "You used %(h)s hint(s) and the demo during this game."
msgstr ""
msgid "You used the demo during this game."
msgstr ""
msgid "You are Stuck" msgid "You are Stuck"
msgstr "Você está preso" msgstr "Você está preso"

View file

@ -2045,6 +2045,12 @@ msgstr ""
msgid "You used %(h)s hint(s) during this game." msgid "You used %(h)s hint(s) during this game."
msgstr "" msgstr ""
msgid "You used %(h)s hint(s) and the demo during this game."
msgstr ""
msgid "You used the demo during this game."
msgstr ""
msgid "You are Stuck" msgid "You are Stuck"
msgstr "" msgstr ""

View file

@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-10 10:19-0500\n" "POT-Creation-Date: 2021-12-10 10:19-0500\n"
"PO-Revision-Date: 2024-05-31 20:25-0400\n" "PO-Revision-Date: 2024-06-22 12:16-0400\n"
"Last-Translator: Skomoroh <skomoroh@gmail.com>\n" "Last-Translator: Skomoroh <skomoroh@gmail.com>\n"
"Language-Team: Russian <ru@li.org>\n" "Language-Team: Russian <ru@li.org>\n"
"Language: ru\n" "Language: ru\n"
@ -2177,6 +2177,12 @@ msgstr "Игра закончена, но не без моей помощи..."
msgid "You used %(h)s hint(s) during this game." msgid "You used %(h)s hint(s) during this game."
msgstr "" msgstr ""
msgid "You used %(h)s hint(s) and the demo during this game."
msgstr ""
msgid "You used the demo during this game."
msgstr ""
msgid "You are Stuck" msgid "You are Stuck"
msgstr "" msgstr ""

View file

@ -2145,8 +2145,17 @@ class Game(object):
self.finished = True self.finished = True
self.playSample("gamelost", priority=1000) self.playSample("gamelost", priority=1000)
text = _("Game finished, but not without my help...") text = _("Game finished, but not without my help...")
hintsused = _("You used %(h)s hint(s) during this game.") % { if self.stats.hints > 0 and not self.app.opt.free_hint:
'h': self.stats.hints} if self.stats.demo_moves > 0:
hintsused = _("You used %(h)s hint(s) and the demo " +
"during this game.") % {
'h': self.stats.hints}
else:
hintsused = _("You used %(h)s hint(s) during this " +
"game.") % {
'h': self.stats.hints}
else:
hintsused = _("You used the demo during this game.")
d = MfxMessageDialog( d = MfxMessageDialog(
self.top, title=_("Game finished"), bitmap="info", self.top, title=_("Game finished"), bitmap="info",
text=_(text + '\n\n' + hintsused), text=_(text + '\n\n' + hintsused),