diff --git a/po/de_pysol.po b/po/de_pysol.po index 52061a6a..974acb98 100644 --- a/po/de_pysol.po +++ b/po/de_pysol.po @@ -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-10-29 20:05-0400\n" +"PO-Revision-Date: 2024-11-10 18:26-0500\n" "Last-Translator: H. Schaekel \n" "Language-Team: German\n" "Language: de\n" @@ -5452,6 +5452,9 @@ msgstr "" msgid "&Sticky mouse" msgstr "" +msgid "D&rag cards cursor" +msgstr "" + #: pysollib/ui/tktile/menubar.py:610 msgid "Use mouse for undo/redo" msgstr "" diff --git a/po/fr_pysol.po b/po/fr_pysol.po index 093bd290..57d1a0e9 100644 --- a/po/fr_pysol.po +++ b/po/fr_pysol.po @@ -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-10-29 20:06-0400\n" +"PO-Revision-Date: 2024-11-10 18:25-0500\n" "Last-Translator: Eric Rausch \n" "Language-Team: French\n" "Language: fr\n" @@ -5498,6 +5498,9 @@ msgstr "&Pointer/Cliquer" msgid "&Sticky mouse" msgstr "&Sélection" +msgid "D&rag cards cursor" +msgstr "" + #: pysollib/ui/tktile/menubar.py:610 msgid "Use mouse for undo/redo" msgstr "Souris pour annuler/répéter" diff --git a/po/it_pysol.po b/po/it_pysol.po index c7b93557..05d8d311 100644 --- a/po/it_pysol.po +++ b/po/it_pysol.po @@ -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-10-29 20:06-0400\n" +"PO-Revision-Date: 2024-11-10 18:25-0500\n" "Last-Translator: Giuliano Colla \n" "Language-Team: Italiano \n" "Language: it\n" @@ -5563,6 +5563,9 @@ msgstr "&Punta e clicca" msgid "&Sticky mouse" msgstr "Mouse &appiccicoso" +msgid "D&rag cards cursor" +msgstr "" + #: pysollib/ui/tktile/menubar.py:610 msgid "Use mouse for undo/redo" msgstr "Usa il mouse per annulla/ripristina" diff --git a/po/pl_pysol.po b/po/pl_pysol.po index 673a2e1f..573566d0 100644 --- a/po/pl_pysol.po +++ b/po/pl_pysol.po @@ -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-10-29 20:06-0400\n" +"PO-Revision-Date: 2024-11-10 18:25-0500\n" "Last-Translator: Jerzy Trzeciak \n" "Language-Team: Polish \n" "Language: pl\n" @@ -5514,6 +5514,9 @@ msgstr "Wskaż i kliknij" msgid "&Sticky mouse" msgstr "Lepka my&sz" +msgid "D&rag cards cursor" +msgstr "" + #: pysollib/ui/tktile/menubar.py:610 msgid "Use mouse for undo/redo" msgstr "Użyj myszy do cofania/powtarzania" diff --git a/po/pt_BR_pysol.po b/po/pt_BR_pysol.po index ea13042d..5f2e17c5 100644 --- a/po/pt_BR_pysol.po +++ b/po/pt_BR_pysol.po @@ -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-10-29 20:07-0400\n" +"PO-Revision-Date: 2024-11-10 18:26-0500\n" "Last-Translator: Matheus Knack \n" "Language-Team: \n" "Language: pt_BR\n" @@ -5520,6 +5520,9 @@ msgstr "&Aponar-e-Clicar" msgid "&Sticky mouse" msgstr "&Seleção" +msgid "D&rag cards cursor" +msgstr "" + #: pysollib/ui/tktile/menubar.py:610 msgid "Use mouse for undo/redo" msgstr "Use mouse para desfazer/refazer" diff --git a/po/pysol.pot b/po/pysol.pot index d412daea..3fb79539 100644 --- a/po/pysol.pot +++ b/po/pysol.pot @@ -5246,6 +5246,9 @@ msgstr "" msgid "&Sticky mouse" msgstr "" +msgid "D&rag cards cursor" +msgstr "" + #: pysollib/ui/tktile/menubar.py:610 msgid "Use mouse for undo/redo" msgstr "" diff --git a/po/ru_pysol.po b/po/ru_pysol.po index b58ac208..7976cf9e 100644 --- a/po/ru_pysol.po +++ b/po/ru_pysol.po @@ -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-10-29 20:07-0400\n" +"PO-Revision-Date: 2024-11-10 18:24-0500\n" "Last-Translator: Skomoroh \n" "Language-Team: Russian \n" "Language: ru\n" @@ -5588,6 +5588,9 @@ msgstr "" msgid "&Sticky mouse" msgstr "&Липкая мышь" +msgid "D&rag cards cursor" +msgstr "" + #: pysollib/ui/tktile/menubar.py:610 msgid "Use mouse for undo/redo" msgstr "Использовать мышь для отмены/повтора" diff --git a/pysollib/ui/tktile/menubar.py b/pysollib/ui/tktile/menubar.py index f7d7adbb..c1e1a67c 100644 --- a/pysollib/ui/tktile/menubar.py +++ b/pysollib/ui/tktile/menubar.py @@ -348,6 +348,7 @@ class PysolMenubarTkCommon: tree_icon_style=tkinter.StringVar(), mouse_type=tkinter.StringVar(), mouse_undo=tkinter.BooleanVar(), + mouse_dragcursor=tkinter.BooleanVar(), negative_bottom=tkinter.BooleanVar(), pause=tkinter.BooleanVar(), theme=tkinter.StringVar(), @@ -422,6 +423,7 @@ class PysolMenubarTkCommon: tkopt.splashscreen.set(opt.splashscreen) tkopt.mouse_type.set(opt.mouse_type) tkopt.mouse_undo.set(opt.mouse_undo) + tkopt.mouse_dragcursor.set(opt.dragcursor) tkopt.negative_bottom.set(opt.negative_bottom) for w in TOOLBAR_BUTTONS: tkopt.toolbar_vars[w].set(opt.toolbar_vars.get(w, False)) @@ -851,6 +853,10 @@ class PysolMenubarTkCommon: value='sticky-mouse', command=self.mOptMouseType) submenu.add_separator() + submenu.add_checkbutton( + label=n_("D&rag cards cursor"), + variable=self.tkopt.mouse_dragcursor, + command=self.mOptMouseDragCursor) submenu.add_checkbutton( label=n_("Use mouse for undo/redo"), variable=self.tkopt.mouse_undo, @@ -2013,6 +2019,11 @@ Unsupported game for import. return self.app.opt.mouse_type = self.tkopt.mouse_type.get() + def mOptMouseDragCursor(self, *event): + if self._cancelDrag(break_pause=False): + return + self.app.opt.dragcursor = self.tkopt.mouse_dragcursor.get() + def mOptMouseUndo(self, *event): if self._cancelDrag(break_pause=False): return