Skip to content

Commit

Permalink
Added "Report a Bug" to the menu bar, hoping this will make it easier…
Browse files Browse the repository at this point in the history
… to get feedback on the 2.15 beta.
  • Loading branch information
joeraz committed Mar 12, 2022
1 parent 2225c68 commit e5792e4
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 5 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: 2022-03-05 12:11-0500\n"
"PO-Revision-Date: 2022-03-12 09:02-0500\n"
"Last-Translator: H. Schaekel <[email protected]>\n"
"Language-Team: German\n"
"Language: de\n"
Expand Down Expand Up @@ -5022,6 +5022,9 @@ msgstr "&Regeln dieses Spiels"
msgid "What's &new?"
msgstr ""

msgid "R&eport a Bug"
msgstr ""

#: pysollib/ui/tktile/menubar.py:660
msgid "&License terms"
msgstr ""
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: 2022-03-05 12:11-0500\n"
"PO-Revision-Date: 2022-03-12 09:02-0500\n"
"Last-Translator: Eric Rausch <[email protected]>\n"
"Language-Team: French\n"
"Language: fr\n"
Expand Down Expand Up @@ -5071,6 +5071,9 @@ msgstr "&Règles de ce jeu"
msgid "What's &new?"
msgstr ""

msgid "R&eport a Bug"
msgstr ""

#: pysollib/ui/tktile/menubar.py:660
msgid "&License terms"
msgstr "&Licence"
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: 2022-03-05 12:12-0500\n"
"PO-Revision-Date: 2022-03-12 09:02-0500\n"
"Last-Translator: Giuliano Colla <[email protected]>\n"
"Language-Team: Italiano <[email protected]>\n"
"Language: it\n"
Expand Down Expand Up @@ -5135,6 +5135,9 @@ msgstr "&Regole di questo gioco"
msgid "What's &new?"
msgstr ""

msgid "R&eport a Bug"
msgstr ""

#: pysollib/ui/tktile/menubar.py:660
msgid "&License terms"
msgstr "Termini della &licenza"
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: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-10 10:19-0500\n"
"PO-Revision-Date: 2022-03-05 12:12-0500\n"
"PO-Revision-Date: 2022-03-12 09:02-0500\n"
"Last-Translator: Jerzy Trzeciak <[email protected]>\n"
"Language-Team: Polish <[email protected]>\n"
"Language: pl\n"
Expand Down Expand Up @@ -5195,6 +5195,9 @@ msgstr "Zasady tej g&ry"
msgid "What's &new?"
msgstr ""

msgid "R&eport a Bug"
msgstr ""

#: pysollib/ui/tktile/menubar.py:660
msgid "&License terms"
msgstr "Warunki &licencji"
Expand Down
3 changes: 3 additions & 0 deletions po/pysol.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4820,6 +4820,9 @@ msgstr ""
msgid "What's &new?"
msgstr ""

msgid "R&eport a Bug"
msgstr ""

#: pysollib/ui/tktile/menubar.py:660
msgid "&License terms"
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: 2022-03-05 12:12-0500\n"
"PO-Revision-Date: 2022-03-12 09:01-0500\n"
"Last-Translator: Skomoroh <[email protected]>\n"
"Language-Team: Russian <[email protected]>\n"
"Language: ru\n"
Expand Down Expand Up @@ -5161,6 +5161,9 @@ msgstr "&Правила текущей игры"
msgid "What's &new?"
msgstr ""

msgid "R&eport a Bug"
msgstr ""

#: pysollib/ui/tktile/menubar.py:660
msgid "&License terms"
msgstr "&Лицензия"
Expand Down
5 changes: 5 additions & 0 deletions pysollib/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,11 @@ def mHelpRules(self, *args):
# FIXME: plugins
help_html(self.app, self.app.getGameRulesFilename(self.game.id), dir)

def mHelpReportBug(self, *args):
if self._cancelDrag(break_pause=False):
return
help_html(self.app, "report_bug.html", "html")

def mHelpLicense(self, *args):
if self._cancelDrag(break_pause=False):
return
Expand Down
3 changes: 3 additions & 0 deletions pysollib/ui/tktile/menubar.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,9 @@ def _createMenubar(self):
menu.add_command(
label=n_("What's &new?"),
command=self.mHelpNews)
menu.add_command(
label=n_("R&eport a Bug"),
command=self.mHelpReportBug)
menu.add_command(
label=n_("&License terms"),
command=self.mHelpLicense)
Expand Down

0 comments on commit e5792e4

Please sign in to comment.