3 new commits in goldenCursor:
https://bitbucket.org/nvdaaddonteam/goldencursor/commits/8b480b5bc487/
Changeset: 8b480b5bc487
Branch: None
User: josephsl
Date: 2018-05-12 16:24:57+00:00
Summary: Spacing
Affected #: 1 file
diff --git a/addon/globalPlugins/goldenCursor.py
b/addon/globalPlugins/goldenCursor.py
index 8863723..46ed77e 100755
--- a/addon/globalPlugins/goldenCursor.py
+++ b/addon/globalPlugins/goldenCursor.py
@@ -51,12 +51,11 @@ def setMousePosition(x, y, announceMousePosition=False):
wx.CallLater(500, reportMousePosition, x=x, y=y)
class EnterPositionName(wx.TextEntryDialog):
-
"""
This subclass of the wx.TextEntryDialog class was created to prevent
multiple instances of the dialog box that propose to give a name to the current
mouse position.
This dialog can be opened via the script_saveMousePosition accessible
with the nvda+shift+l shortcut.
"""
-# The following comes from exit dialog class from GUI package (credit: NV
Access and Zahari from Bulgaria).
+ # The following comes from exit dialog class from GUI package (credit:
NV Access and Zahari from Bulgaria).
_instance = None
def __new__(cls, parent, *args, **kwargs):
@@ -76,7 +75,6 @@ class EnterPositionName(wx.TextEntryDialog):
super (EnterPositionName, self).__init__(*args, **kwargs)
class PositionsList(wx.Dialog):
-
"""
This common dialogue has been created to facilitate access to the
following choices:
1. The list of x / y positions proposed by the script_goToPosition,
accessible via the nvda+windows+j shortcut.
@@ -112,7 +110,7 @@ class PositionsList(wx.Dialog):
self.positions = ConfigObj(os.path.join(GCMousePositions,
appName+".gc"), encoding="UTF-8")
mainSizer = wx.BoxSizer(wx.VERTICAL)
sHelper = gui.guiHelper.BoxSizerHelper(self,
orientation=wx.VERTICAL)
- # Translators: The label for the combo box of the mouse
positions in the current application.
+ # Translators: The label for the list view of the mouse
positions in the current application.
mousePositionsText=_("&Saved mouse positions")
self.mousePositionsList=sHelper.addLabeledControl(mousePositionsText,
wx.ListCtrl, style=wx.LC_REPORT|wx.LC_SINGLE_SEL,size=(550,350))
# Translators: the column in mouse positions list to identify
the position name.
https://bitbucket.org/nvdaaddonteam/goldencursor/commits/04bd5ccaa8d0/
Changeset: 04bd5ccaa8d0
Branch: None
User: josephsl
Date: 2018-06-05 07:22:34+00:00
Summary: Add-on settings/panel: onSave changes, catch all exceptions when
closing the add-on.
onSave method should not take parameters other than self.
* When terminating the add-on, because wxPython 4 does not come with
PyDeadObjectError, catch all exceptions to work around this.
Affected #: 1 file
diff --git a/addon/globalPlugins/goldenCursor.py
b/addon/globalPlugins/goldenCursor.py
index 46ed77e..76357b7 100755
--- a/addon/globalPlugins/goldenCursor.py
+++ b/addon/globalPlugins/goldenCursor.py
@@ -287,7 +287,7 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
def terminate(self):
try:
self.prefsMenu.RemoveItem(self.gcSettings)
- except (RuntimeError, AttributeError, wx.PyDeadObjectError):
+ except:
pass
def script_mousePositionsList(self, gesture):
@@ -495,7 +495,7 @@ if hasattr(gui.settingsDialogs, "SettingsPanel"):
# Translators: The label for a setting in Golden Cursor
settings dialog to change mouse movement units.
self.mouseMovementUnit=gcHelper.addLabeledControl(_("Mouse movement &unit (in
pixels)"), gui.nvdaControls.SelectOnFocusSpinCtrl, min=1, max=100,
initial=config.conf["goldenCursor"]["mouseMovementUnit"])
- def onSave(self,evt):
+ def onSave(self):
config.conf["goldenCursor"]["reportNewMouseCoordinates"] =
self.mouseCoordinatesCheckBox.IsChecked()
config.conf["goldenCursor"]["mouseMovementUnit"] =
self.mouseMovementUnit.Value
https://bitbucket.org/nvdaaddonteam/goldencursor/commits/1b53eba99271/
Changeset: 1b53eba99271
Branch: master
User: josephsl
Date: 2018-06-05 07:23:01+00:00
Summary: Merge branch 'stable'
Affected #: 3 files
diff --git a/addon/doc/es/readme.md b/addon/doc/es/readme.md
index 7760910..9ccf8e7 100644
--- a/addon/doc/es/readme.md
+++ b/addon/doc/es/readme.md
@@ -11,8 +11,8 @@ las posiciones del ratón para las aplicaciones.
* Control+NVDA+L: ver posiciones guardadas del ratón para una aplicación si
hay alguna.
-* Shift+NVDA+L: save a tag or a label for the current mouse position in the
- currently focused application.
+* Shift+NVDA+l: guarda una tag o una etiqueta para la posición del ratón
+ actual en la aplicación enfocada actualmente.
* Windows+NVDA+C: cambiar la unidad de movimiento del ratón.
* Windows*NVDA+R: conmuta la restricción del ratón.
* Windows+NVDA+S: conmuta el anunciado del ratón en píxeles.
diff --git a/addon/doc/gl/readme.md b/addon/doc/gl/readme.md
index fafe708..df4e43f 100644
--- a/addon/doc/gl/readme.md
+++ b/addon/doc/gl/readme.md
@@ -11,8 +11,8 @@ posicións do rato para as aplicacións.
* Control+NVDA+L: ver posicións gardadas do rato para unha aplicación se hai
algunha.
-* Shift+NVDA+L: save a tag or a label for the current mouse position in the
- currently focused application.
+* Shift+NVDA+l: garda unha tag ou unha etiqueta para a posición do rato
+ actual na aplicación enfocada actualmente.
* Windows+NVDA+C: cambiar a unidade de movemento do rato.
* Windows+NVDA+R: conmuta a restricción do rato.
* Windows+NVDA+S: conmuta o anunciamento da posición do rato en pixeis.
diff --git a/addon/locale/de_CH/LC_MESSAGES/nvda.po
b/addon/locale/de_CH/LC_MESSAGES/nvda.po
index 1c689a9..3727a88 100644
--- a/addon/locale/de_CH/LC_MESSAGES/nvda.po
+++ b/addon/locale/de_CH/LC_MESSAGES/nvda.po
@@ -8,8 +8,8 @@ msgstr ""
"Project-Id-Version: goldenCursor 1.0\n"
"Report-Msgid-Bugs-To: nvda-translations@xxxxxxxxxxxxx\n"
"POT-Creation-Date: 2016-03-18 05:37+1000\n"
-"PO-Revision-Date: 2018-01-09 13:14+0100\n"
-"Last-Translator: Robert Hänggi, <aarjay.robert@xxxxxxxxx\n"
+"PO-Revision-Date: 2018-01-25 18:46+0100\n"
+"Last-Translator: Adriani Botez <adriani.botez@xxxxxxxxx>\n"
"Language-Team: \n"
"Language: de_CH\n"
"MIME-Version: 1.0\n"
@@ -87,7 +87,6 @@ msgid "Error"
msgstr "Fehler"
#. Translators: The confirmation prompt displayed when the user requests to
delete the selected tag.
-#, python-brace-format
msgid ""
"Are you sure you want to delete the position named {name}? This cannot be "
"undone."
@@ -100,7 +99,6 @@ msgid "Delete position"
msgstr "Position löschen"
#. Translators: The confirmation prompt displayed when the user is about to
clear positions.
-#, python-brace-format
msgid ""
"Are you sure you want to clear mouse positions for the current application "
"({appName})? This cannot be undone."
@@ -113,7 +111,6 @@ msgid "Clear mouse positions"
msgstr "Maus-Positionen löschen"
#. Translators: A dialog message shown when tags for the application is
cleared.
-#, fuzzy, python-brace-format
msgid "All mouse positions for the application {appName} have been deleted."
msgstr "Alle Maus-Positionen für die Anwendung {appName} wurde gelöscht."
@@ -144,7 +141,6 @@ msgstr ""
"auf."
#. Translators: edit field label for new mouse position.
-#, python-brace-format
msgid "Enter the name for the current mouse position (x: {x}, Y: {y})"
msgstr ""
"Geben Sie einen Namen für die aktuelle Maus-Position (x: {x}, Y: {y} ein"
@@ -154,7 +150,7 @@ msgid "Save mouse position"
msgstr "Maus-Position speichern"
#. Translators: presented when position (tag) has been saved.
-#, fuzzy, python-format
+#, python-format
msgid "Position saved in %s."
msgstr "Die Maus-Position wurde in %s gespeichert."
Repository URL: https://bitbucket.org/nvdaaddonteam/goldencursor/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.