mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Moved card size options to a new tab, for better experience on smaller monitors.
This commit is contained in:
parent
0ec7bc1cf8
commit
c835bc09aa
8 changed files with 43 additions and 18 deletions
|
@ -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-12-05 21:24-0500\n"
|
||||
"PO-Revision-Date: 2023-12-30 09:38-0500\n"
|
||||
"Last-Translator: H. Schaekel <Holger.Schaekel@web.de>\n"
|
||||
"Language-Team: German\n"
|
||||
"Language: de\n"
|
||||
|
@ -11,7 +11,7 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 3.3.1\n"
|
||||
"X-Generator: Poedit 3.4.2\n"
|
||||
|
||||
#: pysollib/actions.py:232 pysollib/kivy/menubar.py:292
|
||||
#: pysollib/kivy/toolbar.py:191 pysollib/tile/toolbar.py:176
|
||||
|
@ -3441,6 +3441,9 @@ msgstr ""
|
|||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
msgid "Card Size"
|
||||
msgstr ""
|
||||
|
||||
msgid "Search:"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -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-12-05 21:24-0500\n"
|
||||
"PO-Revision-Date: 2023-12-30 09:37-0500\n"
|
||||
"Last-Translator: Eric Rausch <neelix570@gmail.com>\n"
|
||||
"Language-Team: French\n"
|
||||
"Language: fr\n"
|
||||
|
@ -16,7 +16,7 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 3.3.1\n"
|
||||
"X-Generator: Poedit 3.4.2\n"
|
||||
|
||||
#: pysollib/actions.py:232 pysollib/kivy/menubar.py:292
|
||||
#: pysollib/kivy/toolbar.py:191 pysollib/tile/toolbar.py:176
|
||||
|
@ -3485,6 +3485,9 @@ msgstr ""
|
|||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
msgid "Card Size"
|
||||
msgstr "Taille des cartes"
|
||||
|
||||
msgid "Search:"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -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-12-05 21:25-0500\n"
|
||||
"PO-Revision-Date: 2023-12-30 09:39-0500\n"
|
||||
"Last-Translator: Giuliano Colla <giuliano.colla@gmail.com>\n"
|
||||
"Language-Team: Italiano <it@li.org>\n"
|
||||
"Language: it\n"
|
||||
|
@ -21,7 +21,7 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"Generated-By: pygettext.py 1.6con\n"
|
||||
"X-Generator: Poedit 3.3.1\n"
|
||||
"X-Generator: Poedit 3.4.2\n"
|
||||
|
||||
#: pysollib/actions.py:232 pysollib/kivy/menubar.py:292
|
||||
#: pysollib/kivy/toolbar.py:191 pysollib/tile/toolbar.py:176
|
||||
|
@ -3546,6 +3546,10 @@ msgstr ""
|
|||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "Card Size"
|
||||
msgstr "Vista carte"
|
||||
|
||||
msgid "Search:"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -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-12-05 21:25-0500\n"
|
||||
"PO-Revision-Date: 2023-12-30 09:36-0500\n"
|
||||
"Last-Translator: Jerzy Trzeciak <artusek@wp.pl>\n"
|
||||
"Language-Team: Polish <pl@li.org>\n"
|
||||
"Language: pl\n"
|
||||
|
@ -17,7 +17,7 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
|
||||
"|| n%100>=20) ? 1 : 2);\n"
|
||||
"X-Generator: Poedit 3.3.1\n"
|
||||
"X-Generator: Poedit 3.4.2\n"
|
||||
|
||||
#: pysollib/actions.py:232 pysollib/kivy/menubar.py:292
|
||||
#: pysollib/kivy/toolbar.py:191 pysollib/tile/toolbar.py:176
|
||||
|
@ -3502,6 +3502,9 @@ msgstr "Widok drzewa"
|
|||
msgid "Search"
|
||||
msgstr "Szukaj"
|
||||
|
||||
msgid "Card Size"
|
||||
msgstr "Rozmiar kart"
|
||||
|
||||
msgid "Search:"
|
||||
msgstr "Szukaj:"
|
||||
|
||||
|
|
|
@ -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-12-05 21:25-0500\n"
|
||||
"PO-Revision-Date: 2023-12-30 09:35-0500\n"
|
||||
"Last-Translator: Matheus Knack <mtknack555@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: pt_BR\n"
|
||||
|
@ -16,7 +16,7 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 3.3.1\n"
|
||||
"X-Generator: Poedit 3.4.2\n"
|
||||
|
||||
#: pysollib/actions.py:232 pysollib/kivy/menubar.py:292
|
||||
#: pysollib/kivy/toolbar.py:191 pysollib/tile/toolbar.py:176
|
||||
|
@ -3508,6 +3508,9 @@ msgstr "Visualização em Árvore"
|
|||
msgid "Search"
|
||||
msgstr "Pesquisar"
|
||||
|
||||
msgid "Card Size"
|
||||
msgstr "Tamanho do carta"
|
||||
|
||||
msgid "Search:"
|
||||
msgstr "Pesquisar:"
|
||||
|
||||
|
|
|
@ -3307,6 +3307,9 @@ msgstr ""
|
|||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
msgid "Card Size"
|
||||
msgstr ""
|
||||
|
||||
msgid "Search:"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -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-12-05 21:26-0500\n"
|
||||
"PO-Revision-Date: 2023-12-30 09:34-0500\n"
|
||||
"Last-Translator: Skomoroh <skomoroh@gmail.com>\n"
|
||||
"Language-Team: Russian <ru@li.org>\n"
|
||||
"Language: ru\n"
|
||||
|
@ -17,7 +17,7 @@ msgstr ""
|
|||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"Generated-By: pygettext.py 1.6con\n"
|
||||
"X-Generator: Poedit 3.3.1\n"
|
||||
"X-Generator: Poedit 3.4.2\n"
|
||||
|
||||
#: pysollib/actions.py:232 pysollib/kivy/menubar.py:292
|
||||
#: pysollib/kivy/toolbar.py:191 pysollib/tile/toolbar.py:176
|
||||
|
@ -3557,6 +3557,9 @@ msgstr ""
|
|||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
msgid "Card Size"
|
||||
msgstr "Размер карт"
|
||||
|
||||
msgid "Search:"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -300,11 +300,13 @@ class SelectCardsetDialogWithPreview(MfxDialog):
|
|||
self.list_scrollbar.config(command=self.list.yview)
|
||||
|
||||
if USE_PIL:
|
||||
size_frame = ttk.Frame(notebook)
|
||||
notebook.add(size_frame, text=_('Card Size'))
|
||||
#
|
||||
var = tkinter.DoubleVar()
|
||||
var.set(app.opt.scale_x)
|
||||
self.scale_x = PysolScale(
|
||||
left_frame, label=_('Scale X:'),
|
||||
size_frame, label=_('Scale X:'),
|
||||
from_=0.5, to=4.0, resolution=0.1,
|
||||
orient='horizontal', variable=var,
|
||||
value=app.opt.scale_x,
|
||||
|
@ -315,7 +317,7 @@ class SelectCardsetDialogWithPreview(MfxDialog):
|
|||
var = tkinter.DoubleVar()
|
||||
var.set(app.opt.scale_y)
|
||||
self.scale_y = PysolScale(
|
||||
left_frame, label=_('Scale Y:'),
|
||||
size_frame, label=_('Scale Y:'),
|
||||
from_=0.5, to=4.0, resolution=0.1,
|
||||
orient='horizontal', variable=var,
|
||||
value=app.opt.scale_y,
|
||||
|
@ -328,7 +330,7 @@ class SelectCardsetDialogWithPreview(MfxDialog):
|
|||
|
||||
var = tkinter.IntVar()
|
||||
self.x_offset = PysolScale(
|
||||
left_frame, label=_('X offset:'),
|
||||
size_frame, label=_('X offset:'),
|
||||
from_=5, to=100, resolution=1,
|
||||
orient='horizontal', variable=var,
|
||||
value=cs.CARD_XOFFSET
|
||||
|
@ -339,7 +341,7 @@ class SelectCardsetDialogWithPreview(MfxDialog):
|
|||
|
||||
var = tkinter.IntVar()
|
||||
self.y_offset = PysolScale(
|
||||
left_frame, label=_('Y offset:'),
|
||||
size_frame, label=_('Y offset:'),
|
||||
from_=5, to=100, resolution=1,
|
||||
orient='horizontal', variable=var,
|
||||
value=cs.CARD_YOFFSET
|
||||
|
@ -350,7 +352,7 @@ class SelectCardsetDialogWithPreview(MfxDialog):
|
|||
self.auto_scale = tkinter.BooleanVar()
|
||||
self.auto_scale.set(app.opt.auto_scale)
|
||||
check = ttk.Checkbutton(
|
||||
left_frame, text=_('Auto scaling'),
|
||||
size_frame, text=_('Auto scaling'),
|
||||
variable=self.auto_scale,
|
||||
takefocus=False,
|
||||
command=self._updateAutoScale
|
||||
|
@ -361,7 +363,7 @@ class SelectCardsetDialogWithPreview(MfxDialog):
|
|||
self.preserve_aspect = tkinter.BooleanVar()
|
||||
self.preserve_aspect.set(app.opt.preserve_aspect_ratio)
|
||||
self.aspect_check = ttk.Checkbutton(
|
||||
left_frame, text=_('Preserve aspect ratio'),
|
||||
size_frame, text=_('Preserve aspect ratio'),
|
||||
variable=self.preserve_aspect,
|
||||
takefocus=False,
|
||||
# command=self._updateScale
|
||||
|
@ -370,6 +372,7 @@ class SelectCardsetDialogWithPreview(MfxDialog):
|
|||
padx=padx, pady=pady)
|
||||
|
||||
self._updateAutoScale()
|
||||
size_frame.columnconfigure(0, weight=1)
|
||||
|
||||
#
|
||||
left_frame.rowconfigure(0, weight=1)
|
||||
|
|
Loading…
Add table
Reference in a new issue