diff --git a/po/de_pysol.po b/po/de_pysol.po index 503160b3..c246e882 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: 2023-04-19 22:05-0400\n" +"PO-Revision-Date: 2023-05-04 20:15-0400\n" "Last-Translator: H. Schaekel \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 "" diff --git a/po/fr_pysol.po b/po/fr_pysol.po index 237bcf23..b76383b4 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: 2023-04-19 22:06-0400\n" +"PO-Revision-Date: 2023-05-04 20:14-0400\n" "Last-Translator: Eric Rausch \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" diff --git a/po/it_pysol.po b/po/it_pysol.po index 1da7aaa2..2de06169 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: 2023-04-19 22:06-0400\n" +"PO-Revision-Date: 2023-05-04 20:14-0400\n" "Last-Translator: Giuliano Colla \n" "Language-Team: Italiano \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" diff --git a/po/pl_pysol.po b/po/pl_pysol.po index 7531f325..a1354309 100644 --- a/po/pl_pysol.po +++ b/po/pl_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: 2023-04-19 22:06-0400\n" +"PO-Revision-Date: 2023-05-04 20:14-0400\n" "Last-Translator: Jerzy Trzeciak \n" "Language-Team: Polish \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" diff --git a/po/pt_BR_pysol.po b/po/pt_BR_pysol.po index b752ad28..7bc6cf0b 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: 2023-04-19 22:06-0400\n" +"PO-Revision-Date: 2023-05-04 20:14-0400\n" "Last-Translator: Matheus Knack \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" diff --git a/po/pysol.pot b/po/pysol.pot index 7f203ff6..2bf34ff9 100644 --- a/po/pysol.pot +++ b/po/pysol.pot @@ -4983,6 +4983,9 @@ msgstr "" msgid "&Redeal animation" msgstr "" +msgid "F&lip animation" +msgstr "" + #: pysollib/ui/tktile/menubar.py:592 msgid "&Winning animation" msgstr "" diff --git a/po/ru_pysol.po b/po/ru_pysol.po index 5ad2bc89..2543bd3b 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: 2023-04-19 22:06-0400\n" +"PO-Revision-Date: 2023-05-04 20:13-0400\n" "Last-Translator: Skomoroh \n" "Language-Team: Russian \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 "Анимация &победы" diff --git a/pysollib/ui/tktile/menubar.py b/pysollib/ui/tktile/menubar.py index 44342fa4..ca308276 100644 --- a/pysollib/ui/tktile/menubar.py +++ b/pysollib/ui/tktile/menubar.py @@ -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