Skip to content

Commit

Permalink
Add random game option to Android version
Browse files Browse the repository at this point in the history
  • Loading branch information
joeraz committed Dec 29, 2024
1 parent 5005ef6 commit 9cd7a2c
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 6 deletions.
5 changes: 4 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: 2024-12-22 17:14-0500\n"
"PO-Revision-Date: 2024-12-28 19:10-0500\n"
"Last-Translator: H. Schaekel <[email protected]>\n"
"Language-Team: German\n"
"Language: de\n"
Expand Down Expand Up @@ -2564,6 +2564,9 @@ msgstr "Zuletzt gespielte"
msgid "Favorite games"
msgstr "Favoritenliste"

msgid "Random game"
msgstr ""

#: pysollib/kivy/menubar.py:244
msgid "<Add>"
msgstr "<Hinzufügen>"
Expand Down
5 changes: 4 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: 2024-12-22 17:14-0500\n"
"PO-Revision-Date: 2024-12-28 19:10-0500\n"
"Last-Translator: Eric Rausch <[email protected]>\n"
"Language-Team: French\n"
"Language: fr\n"
Expand Down Expand Up @@ -2605,6 +2605,9 @@ msgstr "Jeux récents"
msgid "Favorite games"
msgstr "Jeux favoris"

msgid "Random game"
msgstr ""

#: pysollib/kivy/menubar.py:244
msgid "<Add>"
msgstr "<Ajouter>"
Expand Down
5 changes: 4 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: 2024-12-22 17:14-0500\n"
"PO-Revision-Date: 2024-12-28 19:11-0500\n"
"Last-Translator: Giuliano Colla <[email protected]>\n"
"Language-Team: Italiano <[email protected]>\n"
"Language: it\n"
Expand Down Expand Up @@ -2614,6 +2614,9 @@ msgstr "Giochi recenti"
msgid "Favorite games"
msgstr "Giochi preferiti"

msgid "Random game"
msgstr ""

#: pysollib/kivy/menubar.py:244
msgid "<Add>"
msgstr ""
Expand Down
5 changes: 4 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: 2024-12-22 17:13-0500\n"
"PO-Revision-Date: 2024-12-28 19:11-0500\n"
"Last-Translator: Jerzy Trzeciak <[email protected]>\n"
"Language-Team: Polish <[email protected]>\n"
"Language: pl\n"
Expand Down Expand Up @@ -2618,6 +2618,9 @@ msgstr "Ostatni&e gry"
msgid "Favorite games"
msgstr "Ulubione gry"

msgid "Random game"
msgstr ""

#: pysollib/kivy/menubar.py:244
msgid "<Add>"
msgstr "<Dodaj>"
Expand Down
5 changes: 4 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: 2024-12-22 17:13-0500\n"
"PO-Revision-Date: 2024-12-28 19:11-0500\n"
"Last-Translator: Matheus Knack <[email protected]>\n"
"Language-Team: \n"
"Language: pt_BR\n"
Expand Down Expand Up @@ -2626,6 +2626,9 @@ msgstr "Jogos recentes"
msgid "Favorite games"
msgstr "Jogos favoritos"

msgid "Random game"
msgstr ""

#: pysollib/kivy/menubar.py:244
msgid "<Add>"
msgstr "<Adicionar>"
Expand Down
3 changes: 3 additions & 0 deletions po/pysol.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2435,6 +2435,9 @@ msgstr ""
msgid "Favorite games"
msgstr ""

msgid "Random game"
msgstr ""

#: pysollib/kivy/menubar.py:244
msgid "<Add>"
msgstr ""
Expand Down
5 changes: 4 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: 2024-12-22 17:13-0500\n"
"PO-Revision-Date: 2024-12-28 19:12-0500\n"
"Last-Translator: Skomoroh <[email protected]>\n"
"Language-Team: Russian <[email protected]>\n"
"Language: ru\n"
Expand Down Expand Up @@ -2616,6 +2616,9 @@ msgstr "Выбрать недавнюю игру"
msgid "Favorite games"
msgstr "Избранные игры"

msgid "Random game"
msgstr ""

#: pysollib/kivy/menubar.py:244
msgid "<Add>"
msgstr ""
Expand Down
3 changes: 3 additions & 0 deletions pysollib/kivy/menubar.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,9 @@ def buildTree(self, tv, node):

self.make_favid_list(tv, rg)

tv.add_node(LTreeNode(
text=_('Random game'),
command=self.make_command(self.menubar.mSelectRandomGame)))
tv.add_node(LTreeNode(
text=_('Load'), command=self.make_command(self.menubar.mOpen)))
tv.add_node(LTreeNode(
Expand Down

0 comments on commit 9cd7a2c

Please sign in to comment.