1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Added category to the tree for games with jokers.

This commit is contained in:
Joe R 2024-03-21 18:28:01 -04:00
parent 526abc03ba
commit d9d02d47ca
10 changed files with 52 additions and 22 deletions

View file

@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: PySol 0.0.1\n" "Project-Id-Version: PySol 0.0.1\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-10 10:19-0500\n" "POT-Creation-Date: 2021-12-10 10:19-0500\n"
"PO-Revision-Date: 2024-03-15 23:06-0400\n" "PO-Revision-Date: 2024-03-21 18:22-0400\n"
"Last-Translator: H. Schaekel <Holger.Schaekel@web.de>\n" "Last-Translator: H. Schaekel <Holger.Schaekel@web.de>\n"
"Language-Team: German\n" "Language-Team: German\n"
"Language: de\n" "Language: de\n"
@ -1266,9 +1266,6 @@ msgstr[1] "%d Wiederholungen"
msgid "Talon." msgid "Talon."
msgstr "Talon." msgstr "Talon."
msgid "Reserve."
msgstr "Reserve."
#: pysollib/stack.py:2228 pysollib/stack.py:2992 #: pysollib/stack.py:2228 pysollib/stack.py:2992
msgid "Reserve. No building." msgid "Reserve. No building."
msgstr "Reserve. Nicht aufgebaut." msgstr "Reserve. Nicht aufgebaut."
@ -2376,6 +2373,9 @@ msgstr ""
"Tableau. Aufgebaut nach Farbe. Sequenzen von Karten in der gleichen Farbe " "Tableau. Aufgebaut nach Farbe. Sequenzen von Karten in der gleichen Farbe "
"können als eine Einheit bewegt werden." "können als eine Einheit bewegt werden."
msgid "Reserve."
msgstr "Reserve."
#: pysollib/games/klondike.py:461 #: pysollib/games/klondike.py:461
msgid "Reserve. Only Kings are acceptable." msgid "Reserve. Only Kings are acceptable."
msgstr "Reserve. Nur Könige sind erlaubt." msgstr "Reserve. Nur Könige sind erlaubt."
@ -3264,6 +3264,9 @@ msgstr ""
msgid "Games with Separate Decks" msgid "Games with Separate Decks"
msgstr "Spiele mit separaten Decks" msgstr "Spiele mit separaten Decks"
msgid "Games with Jokers"
msgstr ""
#: pysollib/kivy/selectgame.py:271 pysollib/pysolgtk/selectgame.py:306 #: pysollib/kivy/selectgame.py:271 pysollib/pysolgtk/selectgame.py:306
#: pysollib/tile/selectgame.py:249 pysollib/tk/selectgame.py:249 #: pysollib/tile/selectgame.py:249 pysollib/tk/selectgame.py:249
msgid "Open Games (all cards visible)" msgid "Open Games (all cards visible)"

View file

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 1.02\n" "Project-Id-Version: 1.02\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-10 10:19-0500\n" "POT-Creation-Date: 2021-12-10 10:19-0500\n"
"PO-Revision-Date: 2024-03-15 23:06-0400\n" "PO-Revision-Date: 2024-03-21 18:23-0400\n"
"Last-Translator: Eric Rausch <neelix570@gmail.com>\n" "Last-Translator: Eric Rausch <neelix570@gmail.com>\n"
"Language-Team: French\n" "Language-Team: French\n"
"Language: fr\n" "Language: fr\n"
@ -1296,9 +1296,6 @@ msgstr[1] "%d donnes"
msgid "Talon." msgid "Talon."
msgstr "Talon." msgstr "Talon."
msgid "Reserve."
msgstr "Réserve."
#: pysollib/stack.py:2228 pysollib/stack.py:2992 #: pysollib/stack.py:2228 pysollib/stack.py:2992
msgid "Reserve. No building." msgid "Reserve. No building."
msgstr "Réserve. Aucun empilement." msgstr "Réserve. Aucun empilement."
@ -2415,6 +2412,9 @@ msgstr ""
"Tableau. Décroissant par couleur. Les ensembles de cartes d'une même " "Tableau. Décroissant par couleur. Les ensembles de cartes d'une même "
"enseigne peuvent être déplacés entièrement." "enseigne peuvent être déplacés entièrement."
msgid "Reserve."
msgstr "Réserve."
#: pysollib/games/klondike.py:461 #: pysollib/games/klondike.py:461
msgid "Reserve. Only Kings are acceptable." msgid "Reserve. Only Kings are acceptable."
msgstr "Réserve. Rois seuls." msgstr "Réserve. Rois seuls."
@ -3303,6 +3303,9 @@ msgstr ""
msgid "Games with Separate Decks" msgid "Games with Separate Decks"
msgstr "Jeux avec jeux de cartes séparés" msgstr "Jeux avec jeux de cartes séparés"
msgid "Games with Jokers"
msgstr ""
#: pysollib/kivy/selectgame.py:271 pysollib/pysolgtk/selectgame.py:306 #: pysollib/kivy/selectgame.py:271 pysollib/pysolgtk/selectgame.py:306
#: pysollib/tile/selectgame.py:249 pysollib/tk/selectgame.py:249 #: pysollib/tile/selectgame.py:249 pysollib/tk/selectgame.py:249
msgid "Open Games (all cards visible)" msgid "Open Games (all cards visible)"

View file

@ -12,7 +12,7 @@ msgstr ""
"Project-Id-Version: it_pysol\n" "Project-Id-Version: it_pysol\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-10 10:19-0500\n" "POT-Creation-Date: 2021-12-10 10:19-0500\n"
"PO-Revision-Date: 2024-03-15 23:06-0400\n" "PO-Revision-Date: 2024-03-21 18:23-0400\n"
"Last-Translator: Giuliano Colla <giuliano.colla@gmail.com>\n" "Last-Translator: Giuliano Colla <giuliano.colla@gmail.com>\n"
"Language-Team: Italiano <it@li.org>\n" "Language-Team: Italiano <it@li.org>\n"
"Language: it\n" "Language: it\n"
@ -3368,6 +3368,9 @@ msgstr ""
msgid "Games with Separate Decks" msgid "Games with Separate Decks"
msgstr "Giochi con mazzi separati" msgstr "Giochi con mazzi separati"
msgid "Games with Jokers"
msgstr ""
#: pysollib/kivy/selectgame.py:271 pysollib/pysolgtk/selectgame.py:306 #: pysollib/kivy/selectgame.py:271 pysollib/pysolgtk/selectgame.py:306
#: pysollib/tile/selectgame.py:249 pysollib/tk/selectgame.py:249 #: pysollib/tile/selectgame.py:249 pysollib/tk/selectgame.py:249
msgid "Open Games (all cards visible)" msgid "Open Games (all cards visible)"

View file

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: PySolFC\n" "Project-Id-Version: PySolFC\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-10 10:19-0500\n" "POT-Creation-Date: 2021-12-10 10:19-0500\n"
"PO-Revision-Date: 2024-03-15 23:05-0400\n" "PO-Revision-Date: 2024-03-21 18:24-0400\n"
"Last-Translator: Jerzy Trzeciak <artusek@wp.pl>\n" "Last-Translator: Jerzy Trzeciak <artusek@wp.pl>\n"
"Language-Team: Polish <pl@li.org>\n" "Language-Team: Polish <pl@li.org>\n"
"Language: pl\n" "Language: pl\n"
@ -1303,9 +1303,6 @@ msgstr[2] "%d rozdań"
msgid "Talon." msgid "Talon."
msgstr "Stos wyjściowy." msgstr "Stos wyjściowy."
msgid "Reserve."
msgstr "Stos rezerwowy."
#: pysollib/stack.py:2228 pysollib/stack.py:2992 #: pysollib/stack.py:2228 pysollib/stack.py:2992
msgid "Reserve. No building." msgid "Reserve. No building."
msgstr "Stos rezerwowy. Nie układaj." msgstr "Stos rezerwowy. Nie układaj."
@ -2429,6 +2426,9 @@ msgstr ""
"Stół gry. Układaj w dół według barwy. Sekwens kart tego samego koloru można " "Stół gry. Układaj w dół według barwy. Sekwens kart tego samego koloru można "
"przenieść jako całość." "przenieść jako całość."
msgid "Reserve."
msgstr "Stos rezerwowy."
#: pysollib/games/klondike.py:461 #: pysollib/games/klondike.py:461
msgid "Reserve. Only Kings are acceptable." msgid "Reserve. Only Kings are acceptable."
msgstr "Stos rezerwowy. Tylko Króle są dozwolone." msgstr "Stos rezerwowy. Tylko Króle są dozwolone."
@ -3318,6 +3318,9 @@ msgstr ""
msgid "Games with Separate Decks" msgid "Games with Separate Decks"
msgstr "Gry z odrębnymi taliami" msgstr "Gry z odrębnymi taliami"
msgid "Games with Jokers"
msgstr ""
#: pysollib/kivy/selectgame.py:271 pysollib/pysolgtk/selectgame.py:306 #: pysollib/kivy/selectgame.py:271 pysollib/pysolgtk/selectgame.py:306
#: pysollib/tile/selectgame.py:249 pysollib/tk/selectgame.py:249 #: pysollib/tile/selectgame.py:249 pysollib/tk/selectgame.py:249
msgid "Open Games (all cards visible)" msgid "Open Games (all cards visible)"

View file

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-10 10:19-0500\n" "POT-Creation-Date: 2021-12-10 10:19-0500\n"
"PO-Revision-Date: 2024-03-15 23:05-0400\n" "PO-Revision-Date: 2024-03-21 18:24-0400\n"
"Last-Translator: Matheus Knack <mtknack555@gmail.com>\n" "Last-Translator: Matheus Knack <mtknack555@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: pt_BR\n" "Language: pt_BR\n"
@ -1295,9 +1295,6 @@ msgstr[1] "%d redistribuições"
msgid "Talon." msgid "Talon."
msgstr "Monte" msgstr "Monte"
msgid "Reserve."
msgstr "Reservar."
#: pysollib/stack.py:2228 pysollib/stack.py:2992 #: pysollib/stack.py:2228 pysollib/stack.py:2992
msgid "Reserve. No building." msgid "Reserve. No building."
msgstr "Reservar. Sem construção." msgstr "Reservar. Sem construção."
@ -2437,6 +2434,9 @@ msgstr ""
"Tableau. Descrescente por cor. Sequências de cartas de mesmo naipe podem ser " "Tableau. Descrescente por cor. Sequências de cartas de mesmo naipe podem ser "
"movidas como uma unidade." "movidas como uma unidade."
msgid "Reserve."
msgstr "Reservar."
#: pysollib/games/klondike.py:461 #: pysollib/games/klondike.py:461
msgid "Reserve. Only Kings are acceptable." msgid "Reserve. Only Kings are acceptable."
msgstr "Reserva. Somente Reis são aceitos." msgstr "Reserva. Somente Reis são aceitos."
@ -3324,6 +3324,9 @@ msgstr "Jogos com Baralhos Despojados"
msgid "Games with Separate Decks" msgid "Games with Separate Decks"
msgstr "Jogos com Baralhos Separados" msgstr "Jogos com Baralhos Separados"
msgid "Games with Jokers"
msgstr ""
#: pysollib/kivy/selectgame.py:271 pysollib/pysolgtk/selectgame.py:306 #: pysollib/kivy/selectgame.py:271 pysollib/pysolgtk/selectgame.py:306
#: pysollib/tile/selectgame.py:249 pysollib/tk/selectgame.py:249 #: pysollib/tile/selectgame.py:249 pysollib/tk/selectgame.py:249
msgid "Open Games (all cards visible)" msgid "Open Games (all cards visible)"

View file

@ -3132,6 +3132,9 @@ msgstr ""
msgid "Games with Separate Decks" msgid "Games with Separate Decks"
msgstr "" msgstr ""
msgid "Games with Jokers"
msgstr ""
#: pysollib/kivy/selectgame.py:271 pysollib/pysolgtk/selectgame.py:306 #: pysollib/kivy/selectgame.py:271 pysollib/pysolgtk/selectgame.py:306
#: pysollib/tile/selectgame.py:249 pysollib/tk/selectgame.py:249 #: pysollib/tile/selectgame.py:249 pysollib/tk/selectgame.py:249
msgid "Open Games (all cards visible)" msgid "Open Games (all cards visible)"

View file

@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-10 10:19-0500\n" "POT-Creation-Date: 2021-12-10 10:19-0500\n"
"PO-Revision-Date: 2024-03-15 23:05-0400\n" "PO-Revision-Date: 2024-03-21 18:26-0400\n"
"Last-Translator: Skomoroh <skomoroh@gmail.com>\n" "Last-Translator: Skomoroh <skomoroh@gmail.com>\n"
"Language-Team: Russian <ru@li.org>\n" "Language-Team: Russian <ru@li.org>\n"
"Language: ru\n" "Language: ru\n"
@ -1293,9 +1293,6 @@ msgstr[2] "%d пересдач"
msgid "Talon." msgid "Talon."
msgstr "Колода." msgstr "Колода."
msgid "Reserve."
msgstr "Резерв."
#: pysollib/stack.py:2228 pysollib/stack.py:2992 #: pysollib/stack.py:2228 pysollib/stack.py:2992
msgid "Reserve. No building." msgid "Reserve. No building."
msgstr "Резерв. Без выкладывания." msgstr "Резерв. Без выкладывания."
@ -2422,6 +2419,9 @@ msgstr ""
"Игровой стол. Складывать по убыванию в соответствии с цветом. Можно " "Игровой стол. Складывать по убыванию в соответствии с цветом. Можно "
"перемещать серии карт одинаковой масти." "перемещать серии карт одинаковой масти."
msgid "Reserve."
msgstr "Резерв."
#: pysollib/games/klondike.py:461 #: pysollib/games/klondike.py:461
msgid "Reserve. Only Kings are acceptable." msgid "Reserve. Only Kings are acceptable."
msgstr "Резерв. Только для королей." msgstr "Резерв. Только для королей."
@ -3377,6 +3377,9 @@ msgstr ""
msgid "Games with Separate Decks" msgid "Games with Separate Decks"
msgstr "Игры с раздельными колодами" msgstr "Игры с раздельными колодами"
msgid "Games with Jokers"
msgstr ""
#: pysollib/kivy/selectgame.py:271 pysollib/pysolgtk/selectgame.py:306 #: pysollib/kivy/selectgame.py:271 pysollib/pysolgtk/selectgame.py:306
#: pysollib/tile/selectgame.py:249 pysollib/tk/selectgame.py:249 #: pysollib/tile/selectgame.py:249 pysollib/tk/selectgame.py:249
msgid "Open Games (all cards visible)" msgid "Open Games (all cards visible)"

View file

@ -255,7 +255,7 @@ class SelectGameData(SelectDialogTreeData):
lambda gi: gi.si.redeals == 3), lambda gi: gi.si.redeals == 3),
SelectGameNode(None, _("Unlimited redeals"), SelectGameNode(None, _("Unlimited redeals"),
lambda gi: gi.si.redeals == -1), lambda gi: gi.si.redeals == -1),
SelectGameNode(None, "Variable redeals", SelectGameNode(None, _("Variable redeals"),
lambda gi: gi.si.redeals == -2), lambda gi: gi.si.redeals == -2),
SelectGameNode(None, _("Other number of redeals"), SelectGameNode(None, _("Other number of redeals"),
lambda gi: gi.si.redeals not in lambda gi: gi.si.redeals not in
@ -274,6 +274,9 @@ class SelectGameData(SelectDialogTreeData):
lambda gi: gi.si.game_flags & GI.GT_STRIPPED), lambda gi: gi.si.game_flags & GI.GT_STRIPPED),
SelectGameNode(None, _("Games with Separate Decks"), SelectGameNode(None, _("Games with Separate Decks"),
lambda gi: gi.si.game_flags & GI.GT_SEPARATE_DECKS), lambda gi: gi.si.game_flags & GI.GT_SEPARATE_DECKS),
SelectGameNode(None, _("Games with Jokers"),
lambda gi: gi.category == GI.GC_FRENCH and
gi.subcategory == GI.GS_JOKER_DECK),
SelectGameNode(None, _("Open Games (all cards visible)"), SelectGameNode(None, _("Open Games (all cards visible)"),
lambda gi: gi.si.game_flags & GI.GT_OPEN), lambda gi: gi.si.game_flags & GI.GT_OPEN),
SelectGameNode(None, _("Relaxed Variants"), SelectGameNode(None, _("Relaxed Variants"),

View file

@ -251,6 +251,9 @@ class SelectGameData(SelectDialogTreeData):
SelectGameNode(None, _("Games with Separate Decks"), SelectGameNode(None, _("Games with Separate Decks"),
lambda gi: gi.si.game_flags & lambda gi: gi.si.game_flags &
GI.GT_SEPARATE_DECKS), GI.GT_SEPARATE_DECKS),
SelectGameNode(None, _("Games with Jokers"),
lambda gi: gi.category == GI.GC_FRENCH and
gi.subcategory == GI.GS_JOKER_DECK),
SelectGameNode(None, _("Open Games (all cards visible)"), SelectGameNode(None, _("Open Games (all cards visible)"),
lambda gi: gi.si.game_flags & GI.GT_OPEN), lambda gi: gi.si.game_flags & GI.GT_OPEN),
SelectGameNode(None, _("Relaxed Variants"), SelectGameNode(None, _("Relaxed Variants"),

View file

@ -250,6 +250,9 @@ class SelectGameData(SelectDialogTreeData):
SelectGameNode( SelectGameNode(
None, _("Games with Separate Decks"), None, _("Games with Separate Decks"),
lambda gi: gi.si.game_flags & GI.GT_SEPARATE_DECKS), lambda gi: gi.si.game_flags & GI.GT_SEPARATE_DECKS),
SelectGameNode(None, _("Games with Jokers"),
lambda gi: gi.category == GI.GC_FRENCH and
gi.subcategory == GI.GS_JOKER_DECK),
SelectGameNode(None, _("Open Games (all cards visible)"), SelectGameNode(None, _("Open Games (all cards visible)"),
lambda gi: gi.si.game_flags & GI.GT_OPEN), lambda gi: gi.si.game_flags & GI.GT_OPEN),
SelectGameNode(None, _("Relaxed Variants"), SelectGameNode(None, _("Relaxed Variants"),