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

Moved startup splash screen option to the spash screen itself, so it's easier to know how to disable it.

This commit is contained in:
Joe R 2023-09-03 19:27:06 -04:00
parent f10379af00
commit b30334410b
9 changed files with 46 additions and 10 deletions

View file

@ -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-08-27 12:10-0400\n"
"PO-Revision-Date: 2023-09-03 19:05-0400\n"
"Last-Translator: H. Schaekel <Holger.Schaekel@web.de>\n"
"Language-Team: German\n"
"Language: de\n"
@ -635,6 +635,9 @@ msgstr "&Danksagung..."
msgid "&Enjoy"
msgstr "G&enießen"
msgid "Show this on startup"
msgstr ""
#: pysollib/help.py:49
#, python-format
msgid "Version %s"

View file

@ -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-08-27 12:14-0400\n"
"PO-Revision-Date: 2023-09-03 19:06-0400\n"
"Last-Translator: Eric Rausch <neelix570@gmail.com>\n"
"Language-Team: French\n"
"Language: fr\n"
@ -641,6 +641,9 @@ msgstr "Remer&ciements..."
msgid "&Enjoy"
msgstr "&Jouer"
msgid "Show this on startup"
msgstr ""
#: pysollib/help.py:49
#, python-format
msgid "Version %s"

View file

@ -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-08-27 12:15-0400\n"
"PO-Revision-Date: 2023-09-03 19:07-0400\n"
"Last-Translator: Giuliano Colla <giuliano.colla@gmail.com>\n"
"Language-Team: Italiano <it@li.org>\n"
"Language: it\n"
@ -647,6 +647,9 @@ msgstr "Riconos&cimenti"
msgid "&Enjoy"
msgstr "Buon div&ertimento"
msgid "Show this on startup"
msgstr ""
#: pysollib/help.py:49
#, python-format
msgid "Version %s"

View file

@ -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-08-27 12:15-0400\n"
"PO-Revision-Date: 2023-09-03 19:07-0400\n"
"Last-Translator: Jerzy Trzeciak <artusek@wp.pl>\n"
"Language-Team: Polish <pl@li.org>\n"
"Language: pl\n"
@ -639,6 +639,9 @@ msgstr "&Podziękowania..."
msgid "&Enjoy"
msgstr "&Baw się dobrze"
msgid "Show this on startup"
msgstr ""
#: pysollib/help.py:49
#, python-format
msgid "Version %s"

View file

@ -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-08-27 12:16-0400\n"
"PO-Revision-Date: 2023-09-03 19:07-0400\n"
"Last-Translator: Matheus Knack <mtknack555@gmail.com>\n"
"Language-Team: \n"
"Language: pt_BR\n"
@ -638,6 +638,9 @@ msgstr "&Créditos..."
msgid "&Enjoy"
msgstr "&Divirta-se"
msgid "Show this on startup"
msgstr ""
#: pysollib/help.py:49
#, python-format
msgid "Version %s"

View file

@ -613,6 +613,9 @@ msgstr ""
msgid "&Enjoy"
msgstr ""
msgid "Show this on startup"
msgstr ""
#: pysollib/help.py:49
#, python-format
msgid "Version %s"

View file

@ -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-08-27 12:16-0400\n"
"PO-Revision-Date: 2023-09-03 19:08-0400\n"
"Last-Translator: Skomoroh <skomoroh@gmail.com>\n"
"Language-Team: Russian <ru@li.org>\n"
"Language: ru\n"
@ -644,6 +644,9 @@ msgstr "&Благодарности..."
msgid "&Enjoy"
msgstr "&Наслаждайтесь"
msgid "Show this on startup"
msgstr ""
#: pysollib/help.py:49
#, python-format
msgid "Version %s"

View file

@ -302,6 +302,7 @@ class MfxExceptionDialog(MfxMessageDialog):
class PysolAboutDialog(MfxMessageDialog):
def __init__(self, app, parent, title, **kw):
self._url = kw['url']
self.app = app
kw = self.initKw(kw)
MfxDialog.__init__(self, parent, title, kw.resizable, kw.default)
top_frame, bottom_frame = self.createFrames(kw)
@ -328,12 +329,26 @@ class PysolAboutDialog(MfxMessageDialog):
self._urlClicked
)
#
focus = self.createButtons(bottom_frame, kw)
self.splashscreen = tkinter.BooleanVar()
self.splashscreen.set(app.opt.splashscreen)
show_on_start = ttk.Checkbutton(bottom_frame,
variable=self.splashscreen,
command=self._splashUpdate,
text=_("Show this on startup"))
show_on_start.grid(row=0, column=0, sticky='w',
padx=1, pady=1)
self.mainloop(focus, kw.timeout)
def _urlClicked(self, event):
openURL(self._url)
def _splashUpdate(self):
self.app.opt.splashscreen = self.splashscreen.get()
# ************************************************************************
# *

View file

@ -771,10 +771,10 @@ class PysolMenubarTkCommon:
menu.add_checkbutton(
label=n_("&Demo logo"), variable=self.tkopt.demo_logo,
command=self.mOptDemoLogo)
menu.add_checkbutton(
label=n_("Startup splash sc&reen"),
variable=self.tkopt.splashscreen,
command=self.mOptSplashscreen)
# menu.add_checkbutton(
# label=n_("Startup splash sc&reen"),
# variable=self.tkopt.splashscreen,
# command=self.mOptSplashscreen)
# menu.add_separator()
# menu.add_command(label="Save options", command=self.mOptSave)