Skip to content

Commit

Permalink
Split picture gallery type games into their own category.
Browse files Browse the repository at this point in the history
  • Loading branch information
joeraz committed Nov 21, 2023
1 parent 2811ac4 commit 7d1a705
Show file tree
Hide file tree
Showing 20 changed files with 76 additions and 30 deletions.
2 changes: 1 addition & 1 deletion html-src/rules/bigparade.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>Big Parade</h1>
<p>
Three-Deck game type. 3 decks. No redeal.
Picture Gallery type. 3 decks. No redeal.

<h3>Object</h3>
<p>
Expand Down
2 changes: 1 addition & 1 deletion html-src/rules/bigpicturegallery.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>Big Picture Gallery</h1>
<p>
Three-Deck game type. 3 decks. No redeal.
Picture Gallery type. 3 decks. No redeal.

<h3>Object</h3>
<p>
Expand Down
2 changes: 1 addition & 1 deletion html-src/rules/greaterwheel.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>Greater Wheel</h1>
<p>
Four-Deck game type. 4 decks. No redeal.
Picture Gallery type. 4 decks. No redeal.

<h3>Object</h3>
<p>
Expand Down
2 changes: 1 addition & 1 deletion html-src/rules/greatwheel.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>Great Wheel</h1>
<p>
Two-Deck game type. 2 decks. No redeal.
Picture Gallery type. 2 decks. No redeal.

<h3>Object</h3>
<p>
Expand Down
2 changes: 1 addition & 1 deletion html-src/rules/hugepicturegallery.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>Huge Picture Gallery</h1>
<p>
Four-Deck game type. 4 decks. No redeal.
Picture Gallery type. 4 decks. No redeal.

<h3>Object</h3>
<p>
Expand Down
2 changes: 1 addition & 1 deletion html-src/rules/mountolympus.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>Mount Olympus</h1>
<p>
Two-Deck game type. 2 decks. No redeal.
Picture Gallery type. 2 decks. No redeal.

<h3>Object</h3>
<p>
Expand Down
2 changes: 1 addition & 1 deletion html-src/rules/picturegallery.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>Picture Gallery (Die Bildgallerie)</h1>
<p>
Two-Deck game type. 2 decks. No redeal.
Picture Gallery type. 2 decks. No redeal.

<h3>Object</h3>
<p>
Expand Down
2 changes: 1 addition & 1 deletion html-src/rules/royalparade.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>Royal Parade</h1>
<p>
Two-Deck game type. 2 decks. No redeal.
Picture Gallery type. 2 decks. No redeal.

<h3>Object</h3>
<p>
Expand Down
2 changes: 1 addition & 1 deletion html-src/rules/threeup.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>Three Up</h1>
<p>
Three-Deck game type. 3 decks. No redeal.
Picture Gallery type. 3 decks. No redeal.

<h3>Object</h3>
<p>
Expand Down
2 changes: 1 addition & 1 deletion html-src/rules/virginiareel.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>Virginia Reel</h1>
<p>
Two-Deck game type. 2 decks. No redeal.
Picture Gallery type. 2 decks. No redeal.

<h3>Object</h3>
<p>
Expand Down
2 changes: 1 addition & 1 deletion html-src/rules/zeus.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>Zeus</h1>
<p>
Two-Deck game type. 2 decks. No redeal.
Picture Gallery type. 2 decks. No redeal.

<h3>Object</h3>
<p>
Expand Down
8 changes: 7 additions & 1 deletion po/de_pysol.po
Original file line number Diff line number Diff line change
Expand Up @@ -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-11-11 18:27-0500\n"
"PO-Revision-Date: 2023-11-20 20:08-0500\n"
"Last-Translator: H. Schaekel <[email protected]>\n"
"Language-Team: German\n"
"Language: de\n"
Expand Down Expand Up @@ -414,6 +414,9 @@ msgstr "Numerica"
msgid "Pairing"
msgstr "Paartypen"

msgid "Picture Gallery"
msgstr ""

#: pysollib/gamedb.py:122
msgid "Raglan"
msgstr "Raglan"
Expand Down Expand Up @@ -536,6 +539,9 @@ msgstr "Numerica"
msgid "Pairing type"
msgstr "Paartypen"

msgid "Picture Gallery type"
msgstr ""

#: pysollib/gamedb.py:164
msgid "Raglan type"
msgstr "Raglan"
Expand Down
8 changes: 7 additions & 1 deletion po/fr_pysol.po
Original file line number Diff line number Diff line change
Expand Up @@ -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-11-11 18:27-0500\n"
"PO-Revision-Date: 2023-11-20 20:08-0500\n"
"Last-Translator: Eric Rausch <[email protected]>\n"
"Language-Team: French\n"
"Language: fr\n"
Expand Down Expand Up @@ -420,6 +420,9 @@ msgstr "Numerica"
msgid "Pairing"
msgstr "Pairing"

msgid "Picture Gallery"
msgstr ""

#: pysollib/gamedb.py:122
msgid "Raglan"
msgstr "Raglan"
Expand Down Expand Up @@ -542,6 +545,9 @@ msgstr "Type Numerica"
msgid "Pairing type"
msgstr "Type Paires"

msgid "Picture Gallery type"
msgstr ""

#: pysollib/gamedb.py:164
msgid "Raglan type"
msgstr "Type Raglan"
Expand Down
8 changes: 7 additions & 1 deletion po/it_pysol.po
Original file line number Diff line number Diff line change
Expand Up @@ -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-11-11 18:26-0500\n"
"PO-Revision-Date: 2023-11-20 20:09-0500\n"
"Last-Translator: Giuliano Colla <[email protected]>\n"
"Language-Team: Italiano <[email protected]>\n"
"Language: it\n"
Expand Down Expand Up @@ -426,6 +426,9 @@ msgstr "Numerici"
msgid "Pairing"
msgstr "Coppie"

msgid "Picture Gallery"
msgstr ""

#: pysollib/gamedb.py:122
msgid "Raglan"
msgstr "Raglan"
Expand Down Expand Up @@ -548,6 +551,9 @@ msgstr "Tipo Numerica"
msgid "Pairing type"
msgstr "Tipo coppie"

msgid "Picture Gallery type"
msgstr ""

#: pysollib/gamedb.py:164
msgid "Raglan type"
msgstr "Tipo Raglan "
Expand Down
8 changes: 7 additions & 1 deletion po/pl_pysol.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: PySolFC\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-10 10:19-0500\n"
"PO-Revision-Date: 2023-11-11 18:26-0500\n"
"PO-Revision-Date: 2023-11-20 20:09-0500\n"
"Last-Translator: Jerzy Trzeciak <[email protected]>\n"
"Language-Team: Polish <[email protected]>\n"
"Language: pl\n"
Expand Down Expand Up @@ -420,6 +420,9 @@ msgstr "Numerica"
msgid "Pairing"
msgstr "Pairing"

msgid "Picture Gallery"
msgstr ""

#: pysollib/gamedb.py:122
msgid "Raglan"
msgstr "Raglan"
Expand Down Expand Up @@ -542,6 +545,9 @@ msgstr "Gry typu Numerica"
msgid "Pairing type"
msgstr "Gry typu Pairing"

msgid "Picture Gallery type"
msgstr ""

#: pysollib/gamedb.py:164
msgid "Raglan type"
msgstr "Gry typu Raglan"
Expand Down
8 changes: 7 additions & 1 deletion po/pt_BR_pysol.po
Original file line number Diff line number Diff line change
Expand Up @@ -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-11-11 18:25-0500\n"
"PO-Revision-Date: 2023-11-20 20:09-0500\n"
"Last-Translator: Matheus Knack <[email protected]>\n"
"Language-Team: \n"
"Language: pt_BR\n"
Expand Down Expand Up @@ -419,6 +419,9 @@ msgstr "Numerica"
msgid "Pairing"
msgstr "Emparelhar"

msgid "Picture Gallery"
msgstr ""

#: pysollib/gamedb.py:122
msgid "Raglan"
msgstr "Raglan"
Expand Down Expand Up @@ -541,6 +544,9 @@ msgstr "estilo Numerica"
msgid "Pairing type"
msgstr "estilo Emparelhar"

msgid "Picture Gallery type"
msgstr ""

#: pysollib/gamedb.py:164
msgid "Raglan type"
msgstr "estilo Raglan"
Expand Down
6 changes: 6 additions & 0 deletions po/pysol.pot
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,9 @@ msgstr ""
msgid "Pairing"
msgstr ""

msgid "Picture Gallery"
msgstr ""

#: pysollib/gamedb.py:122
msgid "Raglan"
msgstr ""
Expand Down Expand Up @@ -516,6 +519,9 @@ msgstr ""
msgid "Pairing type"
msgstr ""

msgid "Picture Gallery type"
msgstr ""

#: pysollib/gamedb.py:164
msgid "Raglan type"
msgstr ""
Expand Down
8 changes: 7 additions & 1 deletion po/ru_pysol.po
Original file line number Diff line number Diff line change
Expand Up @@ -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-11-11 18:25-0500\n"
"PO-Revision-Date: 2023-11-20 20:10-0500\n"
"Last-Translator: Skomoroh <[email protected]>\n"
"Language-Team: Russian <[email protected]>\n"
"Language: ru\n"
Expand Down Expand Up @@ -423,6 +423,9 @@ msgstr ""
msgid "Pairing"
msgstr ""

msgid "Picture Gallery"
msgstr ""

#: pysollib/gamedb.py:122
msgid "Raglan"
msgstr ""
Expand Down Expand Up @@ -545,6 +548,9 @@ msgstr "Игры числового типа (Numerica)"
msgid "Pairing type"
msgstr "Парные игры"

msgid "Picture Gallery type"
msgstr ""

#: pysollib/gamedb.py:164
msgid "Raglan type"
msgstr "Игры типа Реглан (Raglan)"
Expand Down
4 changes: 4 additions & 0 deletions pysollib/gamedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ class GI:
GT_NUMERICA = 23
GT_PAIRING_TYPE = 24
GT_PEGGED = 36
GT_PICTURE_GALLERY = 41
GT_POKER_TYPE = 25
GT_PUZZLE_TYPE = 26
GT_RAGLAN = 27
Expand Down Expand Up @@ -151,6 +152,7 @@ class GI:
GT_NAPOLEON: n_("Napoleon"),
GT_NUMERICA: n_("Numerica"),
GT_PAIRING_TYPE: n_("Pairing"),
GT_PICTURE_GALLERY: n_("Picture Gallery"),
GT_RAGLAN: n_("Raglan"),
GT_SIMPLE_TYPE: n_("Simple games"),
GT_SPIDER: n_("Spider"),
Expand Down Expand Up @@ -220,6 +222,8 @@ def _callback(gi, gt=game_type):
_gen_select(title=n_("Napoleon type"), game_type=GT_NAPOLEON),
_gen_select(title=n_("Numerica type"), game_type=GT_NUMERICA),
_gen_select(title=n_("Pairing type"), game_type=GT_PAIRING_TYPE),
_gen_select(title=n_("Picture Gallery type"),
game_type=GT_PICTURE_GALLERY),
_gen_select(title=n_("Raglan type"), game_type=GT_RAGLAN),
_gen_select(title=n_("Simple games"), game_type=GT_SIMPLE_TYPE),
_gen_select(title=n_("Spider type"), game_type=GT_SPIDER),
Expand Down
26 changes: 13 additions & 13 deletions pysollib/games/picturegallery.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,30 +599,30 @@ def createGame(self):

# register the game
registerGame(GameInfo(7, PictureGallery, "Picture Gallery",
GI.GT_2DECK_TYPE, 2, 0, GI.SL_BALANCED,
GI.GT_PICTURE_GALLERY, 2, 0, GI.SL_BALANCED,
altnames=("Die Bildgallerie", "Mod-3")))
registerGame(GameInfo(397, GreatWheel, "Great Wheel",
GI.GT_2DECK_TYPE | GI.GT_STRIPPED, 2, 0, GI.SL_BALANCED,
ranks=list(range(12)) # without Kings
GI.GT_PICTURE_GALLERY | GI.GT_STRIPPED, 2, 0,
GI.SL_BALANCED, ranks=list(range(12)) # without Kings
))
registerGame(GameInfo(398, MountOlympus, "Mount Olympus",
GI.GT_2DECK_TYPE, 2, 0, GI.SL_BALANCED))
GI.GT_PICTURE_GALLERY, 2, 0, GI.SL_BALANCED))
registerGame(GameInfo(399, Zeus, "Zeus",
GI.GT_2DECK_TYPE, 2, 0, GI.SL_BALANCED))
GI.GT_PICTURE_GALLERY, 2, 0, GI.SL_BALANCED))
registerGame(GameInfo(546, RoyalParade, "Royal Parade",
GI.GT_2DECK_TYPE, 2, 0, GI.SL_MOSTLY_SKILL,
GI.GT_PICTURE_GALLERY, 2, 0, GI.SL_MOSTLY_SKILL,
altnames=("Hussars", "Financier")))
registerGame(GameInfo(547, VirginiaReel, "Virginia Reel",
GI.GT_2DECK_TYPE, 2, 0, GI.SL_MOSTLY_SKILL))
GI.GT_PICTURE_GALLERY, 2, 0, GI.SL_MOSTLY_SKILL))
registerGame(GameInfo(782, GreaterWheel, "Greater Wheel",
GI.GT_4DECK_TYPE | GI.GT_STRIPPED, 4, 0, GI.SL_BALANCED,
ranks=list(range(12)) # without Kings
GI.GT_PICTURE_GALLERY | GI.GT_STRIPPED, 4, 0,
GI.SL_BALANCED, ranks=list(range(12)) # without Kings
))
registerGame(GameInfo(803, BigParade, "Big Parade",
GI.GT_3DECK_TYPE, 3, 0, GI.SL_MOSTLY_SKILL))
GI.GT_PICTURE_GALLERY, 3, 0, GI.SL_MOSTLY_SKILL))
registerGame(GameInfo(804, ThreeUp, "Three Up",
GI.GT_3DECK_TYPE, 3, 0, GI.SL_MOSTLY_SKILL))
GI.GT_PICTURE_GALLERY, 3, 0, GI.SL_MOSTLY_SKILL))
registerGame(GameInfo(927, BigPictureGallery, "Big Picture Gallery",
GI.GT_3DECK_TYPE, 3, 0, GI.SL_BALANCED))
GI.GT_PICTURE_GALLERY, 3, 0, GI.SL_BALANCED))
registerGame(GameInfo(928, HugePictureGallery, "Huge Picture Gallery",
GI.GT_4DECK_TYPE, 4, 0, GI.SL_BALANCED))
GI.GT_PICTURE_GALLERY, 4, 0, GI.SL_BALANCED))

0 comments on commit 7d1a705

Please sign in to comment.