mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Exposed enable/disable flip animation option.
This commit is contained in:
parent
d98278b373
commit
d7102003f1
8 changed files with 38 additions and 6 deletions
|
@ -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: 2023-04-19 22:05-0400\n"
|
||||
"PO-Revision-Date: 2023-05-04 20:15-0400\n"
|
||||
"Last-Translator: H. Schaekel <Holger.Schaekel@web.de>\n"
|
||||
"Language-Team: German\n"
|
||||
"Language: de\n"
|
||||
|
@ -5193,6 +5193,9 @@ msgstr ""
|
|||
msgid "&Redeal animation"
|
||||
msgstr ""
|
||||
|
||||
msgid "F&lip animation"
|
||||
msgstr ""
|
||||
|
||||
#: pysollib/ui/tktile/menubar.py:592
|
||||
msgid "&Winning animation"
|
||||
msgstr ""
|
||||
|
|
|
@ -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: 2023-04-19 22:06-0400\n"
|
||||
"PO-Revision-Date: 2023-05-04 20:14-0400\n"
|
||||
"Last-Translator: Eric Rausch <neelix570@gmail.com>\n"
|
||||
"Language-Team: French\n"
|
||||
"Language: fr\n"
|
||||
|
@ -5238,6 +5238,9 @@ msgstr "Tr&ès lent"
|
|||
msgid "&Redeal animation"
|
||||
msgstr "Animation de la &donne"
|
||||
|
||||
msgid "F&lip animation"
|
||||
msgstr ""
|
||||
|
||||
#: pysollib/ui/tktile/menubar.py:592
|
||||
msgid "&Winning animation"
|
||||
msgstr "Animation de &victoire"
|
||||
|
|
|
@ -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: 2023-04-19 22:06-0400\n"
|
||||
"PO-Revision-Date: 2023-05-04 20:14-0400\n"
|
||||
"Last-Translator: Giuliano Colla <giuliano.colla@gmail.com>\n"
|
||||
"Language-Team: Italiano <it@li.org>\n"
|
||||
"Language: it\n"
|
||||
|
@ -5302,6 +5302,9 @@ msgstr "Molto le&nta"
|
|||
msgid "&Redeal animation"
|
||||
msgstr "Animazione &ridistribuzione"
|
||||
|
||||
msgid "F&lip animation"
|
||||
msgstr ""
|
||||
|
||||
#: pysollib/ui/tktile/menubar.py:592
|
||||
msgid "&Winning animation"
|
||||
msgstr "Animazione vi&ttoria"
|
||||
|
|
|
@ -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: 2023-04-19 22:06-0400\n"
|
||||
"PO-Revision-Date: 2023-05-04 20:14-0400\n"
|
||||
"Last-Translator: Jerzy Trzeciak <artusek@wp.pl>\n"
|
||||
"Language-Team: Polish <pl@li.org>\n"
|
||||
"Language: pl\n"
|
||||
|
@ -5350,6 +5350,9 @@ msgstr "Bardzo powoli"
|
|||
msgid "&Redeal animation"
|
||||
msgstr "Animacja &rozdawania"
|
||||
|
||||
msgid "F&lip animation"
|
||||
msgstr ""
|
||||
|
||||
#: pysollib/ui/tktile/menubar.py:592
|
||||
msgid "&Winning animation"
|
||||
msgstr "Animacja &wygranej"
|
||||
|
|
|
@ -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: 2023-04-19 22:06-0400\n"
|
||||
"PO-Revision-Date: 2023-05-04 20:14-0400\n"
|
||||
"Last-Translator: Matheus Knack <mtknack555@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: pt_BR\n"
|
||||
|
@ -5260,6 +5260,9 @@ msgstr "Mui&to lento"
|
|||
msgid "&Redeal animation"
|
||||
msgstr "&Animação de Renegociação"
|
||||
|
||||
msgid "F&lip animation"
|
||||
msgstr ""
|
||||
|
||||
#: pysollib/ui/tktile/menubar.py:592
|
||||
msgid "&Winning animation"
|
||||
msgstr "&Animação de vitória"
|
||||
|
|
|
@ -4983,6 +4983,9 @@ msgstr ""
|
|||
msgid "&Redeal animation"
|
||||
msgstr ""
|
||||
|
||||
msgid "F&lip animation"
|
||||
msgstr ""
|
||||
|
||||
#: pysollib/ui/tktile/menubar.py:592
|
||||
msgid "&Winning animation"
|
||||
msgstr ""
|
||||
|
|
|
@ -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: 2023-04-19 22:06-0400\n"
|
||||
"PO-Revision-Date: 2023-05-04 20:13-0400\n"
|
||||
"Last-Translator: Skomoroh <skomoroh@gmail.com>\n"
|
||||
"Language-Team: Russian <ru@li.org>\n"
|
||||
"Language: ru\n"
|
||||
|
@ -5328,6 +5328,9 @@ msgstr "&Очень медленная"
|
|||
msgid "&Redeal animation"
|
||||
msgstr "Анимация пере&сдачи"
|
||||
|
||||
msgid "F&lip animation"
|
||||
msgstr ""
|
||||
|
||||
#: pysollib/ui/tktile/menubar.py:592
|
||||
msgid "&Winning animation"
|
||||
msgstr "Анимация &победы"
|
||||
|
|
|
@ -242,6 +242,7 @@ class PysolMenubarTkCommon:
|
|||
animations=tkinter.IntVar(),
|
||||
redeal_animation=tkinter.BooleanVar(),
|
||||
win_animation=tkinter.BooleanVar(),
|
||||
flip_animation=tkinter.BooleanVar(),
|
||||
shadow=tkinter.BooleanVar(),
|
||||
shade=tkinter.BooleanVar(),
|
||||
shade_filled_stacks=tkinter.BooleanVar(),
|
||||
|
@ -308,6 +309,7 @@ class PysolMenubarTkCommon:
|
|||
tkopt.animations.set(opt.animations)
|
||||
tkopt.redeal_animation.set(opt.redeal_animation)
|
||||
tkopt.win_animation.set(opt.win_animation)
|
||||
tkopt.flip_animation.set(opt.flip_animation)
|
||||
tkopt.shadow.set(opt.shadow)
|
||||
tkopt.shade.set(opt.shade)
|
||||
tkopt.toolbar.set(opt.toolbar)
|
||||
|
@ -718,6 +720,10 @@ class PysolMenubarTkCommon:
|
|||
label=n_("&Redeal animation"),
|
||||
variable=self.tkopt.redeal_animation,
|
||||
command=self.mRedealAnimation)
|
||||
submenu.add_checkbutton(
|
||||
label=n_("F&lip animation"),
|
||||
variable=self.tkopt.flip_animation,
|
||||
command=self.mFlipAnimation)
|
||||
if Image:
|
||||
submenu.add_checkbutton(
|
||||
label=n_("&Winning animation"),
|
||||
|
@ -1549,6 +1555,11 @@ Unsupported game for import.
|
|||
return
|
||||
self.app.opt.redeal_animation = self.tkopt.redeal_animation.get()
|
||||
|
||||
def mFlipAnimation(self, *args):
|
||||
if self._cancelDrag(break_pause=False):
|
||||
return
|
||||
self.app.opt.flip_animation = self.tkopt.flip_animation.get()
|
||||
|
||||
def mWinAnimation(self, *args):
|
||||
if self._cancelDrag(break_pause=False):
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue