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:
parent
c803ed9344
commit
d4363d14d8
7 changed files with 28 additions and 27 deletions
|
@ -2036,9 +2036,10 @@ msgstr ""
|
||||||
"Spiel beendet\n"
|
"Spiel beendet\n"
|
||||||
|
|
||||||
#: pysollib/game/__init__.py:2045
|
#: pysollib/game/__init__.py:2045
|
||||||
msgid ""
|
msgid "Game finished, but not without my help..."
|
||||||
"\n"
|
msgstr ""
|
||||||
"Game finished, but not without my help...\n"
|
|
||||||
|
msgid "You used %(h)s hint(s) during this game."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "You are Stuck"
|
msgid "You are Stuck"
|
||||||
|
|
|
@ -2066,12 +2066,11 @@ msgstr ""
|
||||||
"Jeu terminé\n"
|
"Jeu terminé\n"
|
||||||
|
|
||||||
#: pysollib/game/__init__.py:2045
|
#: pysollib/game/__init__.py:2045
|
||||||
msgid ""
|
msgid "Game finished, but not without my help..."
|
||||||
"\n"
|
msgstr "Jeu terminé, mais pas sans mon aide..."
|
||||||
"Game finished, but not without my help...\n"
|
|
||||||
|
msgid "You used %(h)s hint(s) during this game."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"\n"
|
|
||||||
"Jeu terminé, mais pas sans mon aide...\n"
|
|
||||||
|
|
||||||
msgid "You are Stuck"
|
msgid "You are Stuck"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -2074,12 +2074,11 @@ msgstr ""
|
||||||
"Gioco terminato\n"
|
"Gioco terminato\n"
|
||||||
|
|
||||||
#: pysollib/game/__init__.py:2045
|
#: pysollib/game/__init__.py:2045
|
||||||
msgid ""
|
msgid "Game finished, but not without my help..."
|
||||||
"\n"
|
msgstr "Gioco terminato, ma non senza il mio aiuto..."
|
||||||
"Game finished, but not without my help...\n"
|
|
||||||
|
msgid "You used %(h)s hint(s) during this game."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"\n"
|
|
||||||
"Gioco terminato, ma non senza il mio aiuto...\n"
|
|
||||||
|
|
||||||
msgid "You are Stuck"
|
msgid "You are Stuck"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -2087,12 +2087,11 @@ msgstr ""
|
||||||
"Gra zakończona\n"
|
"Gra zakończona\n"
|
||||||
|
|
||||||
#: pysollib/game/__init__.py:2045
|
#: pysollib/game/__init__.py:2045
|
||||||
msgid ""
|
msgid Game finished, but not without my help..."
|
||||||
"\n"
|
msgstr "Gra zakończona, ale nie bez mojej pomocy..."
|
||||||
"Game finished, but not without my help...\n"
|
|
||||||
|
msgid "You used %(h)s hint(s) during this game."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"\n"
|
|
||||||
"Gra zakończona, ale nie bez mojej pomocy...\n"
|
|
||||||
|
|
||||||
msgid "You are Stuck"
|
msgid "You are Stuck"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -1940,9 +1940,10 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: pysollib/game/__init__.py:2045
|
#: pysollib/game/__init__.py:2045
|
||||||
msgid ""
|
msgid "Game finished, but not without my help..."
|
||||||
"\n"
|
msgstr ""
|
||||||
"Game finished, but not without my help...\n"
|
|
||||||
|
msgid "You used %(h)s hint(s) during this game."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "You are Stuck"
|
msgid "You are Stuck"
|
||||||
|
|
|
@ -2073,12 +2073,11 @@ msgstr ""
|
||||||
"Игра закончена\n"
|
"Игра закончена\n"
|
||||||
|
|
||||||
#: pysollib/game/__init__.py:2045
|
#: pysollib/game/__init__.py:2045
|
||||||
msgid ""
|
msgid "Game finished, but not without my help..."
|
||||||
"\n"
|
msgstr "Игра закончена, но не без моей помощи..."
|
||||||
"Game finished, but not without my help...\n"
|
|
||||||
|
msgid "You used %(h)s hint(s) during this game."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"\n"
|
|
||||||
"Игра закончена, но не без моей помощи...\n"
|
|
||||||
|
|
||||||
msgid "You are Stuck"
|
msgid "You are Stuck"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -2113,9 +2113,12 @@ class Game(object):
|
||||||
else:
|
else:
|
||||||
self.finished = True
|
self.finished = True
|
||||||
self.playSample("gamelost", priority=1000)
|
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(
|
d = MfxMessageDialog(
|
||||||
self.top, title=_("Game finished"), bitmap="info",
|
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")))
|
strings=(_("&New game"), _("&Restart"), None, _("&Cancel")))
|
||||||
self.updateMenus()
|
self.updateMenus()
|
||||||
if TOOLKIT == 'kivy':
|
if TOOLKIT == 'kivy':
|
||||||
|
|
Loading…
Add table
Reference in a new issue