diff --git a/po/de_pysol.po b/po/de_pysol.po index e2232c4c3..ea2ea76a2 100644 --- a/po/de_pysol.po +++ b/po/de_pysol.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: PySol 0.0.1\n" "Report-Msgid-Bugs-To: \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 \n" "Language-Team: German\n" "Language: de\n" @@ -2139,6 +2139,12 @@ msgstr "" msgid "You used %(h)s hint(s) during this game." 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" msgstr "" diff --git a/po/fr_pysol.po b/po/fr_pysol.po index 3c8cd7c9e..b98d4c2c0 100644 --- a/po/fr_pysol.po +++ b/po/fr_pysol.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: 1.02\n" "Report-Msgid-Bugs-To: \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 \n" "Language-Team: French\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." 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" msgstr "" diff --git a/po/it_pysol.po b/po/it_pysol.po index dc12bc7f3..278da00bc 100644 --- a/po/it_pysol.po +++ b/po/it_pysol.po @@ -12,7 +12,7 @@ msgstr "" "Project-Id-Version: it_pysol\n" "Report-Msgid-Bugs-To: \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 \n" "Language-Team: Italiano \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." 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" msgstr "" diff --git a/po/pl_pysol.po b/po/pl_pysol.po index 58737ebd5..a0708daf9 100644 --- a/po/pl_pysol.po +++ b/po/pl_pysol.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PySolFC\n" "Report-Msgid-Bugs-To: \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 \n" "Language-Team: Polish \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." 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" msgstr "Utknąłeś" diff --git a/po/pt_BR_pysol.po b/po/pt_BR_pysol.po index 6b7b4c487..39b619996 100644 --- a/po/pt_BR_pysol.po +++ b/po/pt_BR_pysol.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \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 \n" "Language-Team: \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." 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" msgstr "Você está preso" diff --git a/po/pysol.pot b/po/pysol.pot index 63e262f55..85978441e 100644 --- a/po/pysol.pot +++ b/po/pysol.pot @@ -2045,6 +2045,12 @@ msgstr "" msgid "You used %(h)s hint(s) during this game." 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" msgstr "" diff --git a/po/ru_pysol.po b/po/ru_pysol.po index 338f70569..6a182ed90 100644 --- a/po/ru_pysol.po +++ b/po/ru_pysol.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \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 \n" "Language-Team: Russian \n" "Language: ru\n" @@ -2177,6 +2177,12 @@ msgstr "Игра закончена, но не без моей помощи..." msgid "You used %(h)s hint(s) during this game." 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" msgstr "" diff --git a/pysollib/game/__init__.py b/pysollib/game/__init__.py index efe015a66..40fedfc2b 100644 --- a/pysollib/game/__init__.py +++ b/pysollib/game/__init__.py @@ -2145,8 +2145,17 @@ def checkForWin(self): self.finished = True self.playSample("gamelost", priority=1000) text = _("Game finished, but not without my help...") - hintsused = _("You used %(h)s hint(s) during this game.") % { - 'h': self.stats.hints} + if self.stats.hints > 0 and not self.app.opt.free_hint: + 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( self.top, title=_("Game finished"), bitmap="info", text=_(text + '\n\n' + hintsused),