diff --git a/po/de_pysol.po b/po/de_pysol.po index 14a3a252..503160b3 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-05 19:49-0400\n" +"PO-Revision-Date: 2023-04-19 22:05-0400\n" "Last-Translator: H. Schaekel \n" "Language-Team: German\n" "Language: de\n" @@ -5155,6 +5155,9 @@ msgstr "" msgid "Shade &filled stacks" msgstr "" +msgid "&Compact long stacks" +msgstr "" + msgid "&Randomize card placement" msgstr "" diff --git a/po/fr_pysol.po b/po/fr_pysol.po index afaefba7..237bcf23 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-05 19:49-0400\n" +"PO-Revision-Date: 2023-04-19 22:06-0400\n" "Last-Translator: Eric Rausch \n" "Language-Team: French\n" "Language: fr\n" @@ -5200,6 +5200,9 @@ msgstr "&Dos de cartes négatif" msgid "Shade &filled stacks" msgstr "Ombre des cellules &pleines" +msgid "&Compact long stacks" +msgstr "" + msgid "&Randomize card placement" msgstr "" diff --git a/po/it_pysol.po b/po/it_pysol.po index ae6a9e53..1da7aaa2 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-05 19:49-0400\n" +"PO-Revision-Date: 2023-04-19 22:06-0400\n" "Last-Translator: Giuliano Colla \n" "Language-Team: Italiano \n" "Language: it\n" @@ -5264,6 +5264,9 @@ msgstr "Fondo carte in negativo" msgid "Shade &filled stacks" msgstr "Ombreggia pile piene" +msgid "&Compact long stacks" +msgstr "" + msgid "&Randomize card placement" msgstr "" diff --git a/po/pl_pysol.po b/po/pl_pysol.po index 405fbda9..7531f325 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-05 19:48-0400\n" +"PO-Revision-Date: 2023-04-19 22:06-0400\n" "Last-Translator: Jerzy Trzeciak \n" "Language-Team: Polish \n" "Language: pl\n" @@ -5312,6 +5312,9 @@ msgstr "" msgid "Shade &filled stacks" msgstr "Cieniuj wypełnione stosy" +msgid "&Compact long stacks" +msgstr "" + msgid "&Randomize card placement" msgstr "Umieść karty w losowych miejscach" diff --git a/po/pt_BR_pysol.po b/po/pt_BR_pysol.po index bcb1f24a..b752ad28 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-05 19:48-0400\n" +"PO-Revision-Date: 2023-04-19 22:06-0400\n" "Last-Translator: Matheus Knack \n" "Language-Team: \n" "Language: pt_BR\n" @@ -5222,6 +5222,9 @@ msgstr "&Parte inferior dos cartas negativos" msgid "Shade &filled stacks" msgstr "Sombras de celulares& pilhas" +msgid "&Compact long stacks" +msgstr "" + msgid "&Randomize card placement" msgstr "&Randomizar o posicionamento do carta" diff --git a/po/pysol.pot b/po/pysol.pot index bb9eff75..7f203ff6 100644 --- a/po/pysol.pot +++ b/po/pysol.pot @@ -4945,6 +4945,9 @@ msgstr "" msgid "Shade &filled stacks" msgstr "" +msgid "&Compact long stacks" +msgstr "" + msgid "&Randomize card placement" msgstr "" diff --git a/po/ru_pysol.po b/po/ru_pysol.po index ab7e5750..5ad2bc89 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-05 19:48-0400\n" +"PO-Revision-Date: 2023-04-19 22:06-0400\n" "Last-Translator: Skomoroh \n" "Language-Team: Russian \n" "Language: ru\n" @@ -5290,6 +5290,9 @@ msgstr "&Негативные контуры карты" msgid "Shade &filled stacks" msgstr "Затемнять заполненные ячейки" +msgid "&Compact long stacks" +msgstr "" + msgid "&Randomize card placement" msgstr "" diff --git a/pysollib/ui/tktile/menubar.py b/pysollib/ui/tktile/menubar.py index a11b7d58..44342fa4 100644 --- a/pysollib/ui/tktile/menubar.py +++ b/pysollib/ui/tktile/menubar.py @@ -245,6 +245,7 @@ class PysolMenubarTkCommon: shadow=tkinter.BooleanVar(), shade=tkinter.BooleanVar(), shade_filled_stacks=tkinter.BooleanVar(), + compact_stacks=tkinter.BooleanVar(), shrink_face_down=tkinter.BooleanVar(), randomize_place=tkinter.BooleanVar(), toolbar=tkinter.IntVar(), @@ -289,6 +290,7 @@ class PysolMenubarTkCommon: tkopt.stuck_notification.set(opt.stuck_notification) tkopt.shrink_face_down.set(opt.shrink_face_down) tkopt.shade_filled_stacks.set(opt.shade_filled_stacks) + tkopt.compact_stacks.set(opt.compact_stacks) tkopt.randomize_place.set(opt.randomize_place) tkopt.mahjongg_show_removed.set(opt.mahjongg_show_removed) tkopt.shisen_show_hint.set(opt.shisen_show_hint) @@ -684,6 +686,10 @@ class PysolMenubarTkCommon: label=n_("Shade &filled stacks"), variable=self.tkopt.shade_filled_stacks, command=self.mOptShadeFilledStacks) + submenu.add_checkbutton( + label=n_("&Compact long stacks"), + variable=self.tkopt.compact_stacks, + command=self.mOptCompactStacks) submenu.add_checkbutton( label=n_("&Randomize card placement"), variable=self.tkopt.randomize_place, @@ -1572,6 +1578,13 @@ Unsupported game for import. self.game.endGame(bookmark=1) self.game.quitGame(bookmark=1) + def mOptCompactStacks(self, *args): + if self._cancelDrag(break_pause=False): + return + self.app.opt.compact_stacks = self.tkopt.compact_stacks.get() + self.game.endGame(bookmark=1) + self.game.quitGame(bookmark=1) + def mOptMahjonggShowRemoved(self, *args): if self._cancelDrag(): return