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

Added hint count to finished game with help message (issue #291).

This commit is contained in:
Joe R 2023-01-25 20:36:54 -05:00
parent c803ed9344
commit d4363d14d8
7 changed files with 28 additions and 27 deletions

View file

@ -2036,9 +2036,10 @@ msgstr ""
"Spiel beendet\n"
#: pysollib/game/__init__.py:2045
msgid ""
"\n"
"Game finished, but not without my help...\n"
msgid "Game finished, but not without my help..."
msgstr ""
msgid "You used %(h)s hint(s) during this game."
msgstr ""
msgid "You are Stuck"

View file

@ -2066,12 +2066,11 @@ msgstr ""
"Jeu terminé\n"
#: pysollib/game/__init__.py:2045
msgid ""
"\n"
"Game finished, but not without my help...\n"
msgid "Game finished, but not without my help..."
msgstr "Jeu terminé, mais pas sans mon aide..."
msgid "You used %(h)s hint(s) during this game."
msgstr ""
"\n"
"Jeu terminé, mais pas sans mon aide...\n"
msgid "You are Stuck"
msgstr ""

View file

@ -2074,12 +2074,11 @@ msgstr ""
"Gioco terminato\n"
#: pysollib/game/__init__.py:2045
msgid ""
"\n"
"Game finished, but not without my help...\n"
msgid "Game finished, but not without my help..."
msgstr "Gioco terminato, ma non senza il mio aiuto..."
msgid "You used %(h)s hint(s) during this game."
msgstr ""
"\n"
"Gioco terminato, ma non senza il mio aiuto...\n"
msgid "You are Stuck"
msgstr ""

View file

@ -2087,12 +2087,11 @@ msgstr ""
"Gra zakończona\n"
#: pysollib/game/__init__.py:2045
msgid ""
"\n"
"Game finished, but not without my help...\n"
msgid Game finished, but not without my help..."
msgstr "Gra zakończona, ale nie bez mojej pomocy..."
msgid "You used %(h)s hint(s) during this game."
msgstr ""
"\n"
"Gra zakończona, ale nie bez mojej pomocy...\n"
msgid "You are Stuck"
msgstr ""

View file

@ -1940,9 +1940,10 @@ msgid ""
msgstr ""
#: pysollib/game/__init__.py:2045
msgid ""
"\n"
"Game finished, but not without my help...\n"
msgid "Game finished, but not without my help..."
msgstr ""
msgid "You used %(h)s hint(s) during this game."
msgstr ""
msgid "You are Stuck"

View file

@ -2073,12 +2073,11 @@ msgstr ""
"Игра закончена\n"
#: pysollib/game/__init__.py:2045
msgid ""
"\n"
"Game finished, but not without my help...\n"
msgid "Game finished, but not without my help..."
msgstr "Игра закончена, но не без моей помощи..."
msgid "You used %(h)s hint(s) during this game."
msgstr ""
"\n"
"Игра закончена, но не без моей помощи...\n"
msgid "You are Stuck"
msgstr ""

View file

@ -2113,9 +2113,12 @@ class Game(object):
else:
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})
d = MfxMessageDialog(
self.top, title=_("Game finished"), bitmap="info",
text=_("\nGame finished, but not without my help...\n"),
text=_(text + '\n\n' + hintsused),
strings=(_("&New game"), _("&Restart"), None, _("&Cancel")))
self.updateMenus()
if TOOLKIT == 'kivy':