mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Exposed compress stack option.
This commit is contained in:
parent
5fecd4e123
commit
d3efb6dd15
8 changed files with 40 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-05 19:49-0400\n"
|
||||
"PO-Revision-Date: 2023-04-19 22:05-0400\n"
|
||||
"Last-Translator: H. Schaekel <Holger.Schaekel@web.de>\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 ""
|
||||
|
||||
|
|
|
@ -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 <neelix570@gmail.com>\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 ""
|
||||
|
||||
|
|
|
@ -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 <giuliano.colla@gmail.com>\n"
|
||||
"Language-Team: Italiano <it@li.org>\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 ""
|
||||
|
||||
|
|
|
@ -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 <artusek@wp.pl>\n"
|
||||
"Language-Team: Polish <pl@li.org>\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"
|
||||
|
||||
|
|
|
@ -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 <mtknack555@gmail.com>\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"
|
||||
|
||||
|
|
|
@ -4945,6 +4945,9 @@ msgstr ""
|
|||
msgid "Shade &filled stacks"
|
||||
msgstr ""
|
||||
|
||||
msgid "&Compact long stacks"
|
||||
msgstr ""
|
||||
|
||||
msgid "&Randomize card placement"
|
||||
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-05 19:48-0400\n"
|
||||
"PO-Revision-Date: 2023-04-19 22:06-0400\n"
|
||||
"Last-Translator: Skomoroh <skomoroh@gmail.com>\n"
|
||||
"Language-Team: Russian <ru@li.org>\n"
|
||||
"Language: ru\n"
|
||||
|
@ -5290,6 +5290,9 @@ msgstr "&Негативные контуры карты"
|
|||
msgid "Shade &filled stacks"
|
||||
msgstr "Затемнять заполненные ячейки"
|
||||
|
||||
msgid "&Compact long stacks"
|
||||
msgstr ""
|
||||
|
||||
msgid "&Randomize card placement"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue