3 new commits in focusHighlight:
https://bitbucket.org/nvdaaddonteam/focushighlight/commits/f1e01dd66bb4/
Changeset: f1e01dd66bb4
Branch: None
User: nishimotz
Date: 2019-07-21 13:23:17+00:00
Summary: https://github.com/nvdajp/focusHighlight/issues/15
Affected #: 3 files
diff --git a/addon/globalPlugins/focusHighlight.py
b/addon/globalPlugins/focusHighlight.py
index a3baf1e..f77e9e6 100644
--- a/addon/globalPlugins/focusHighlight.py
+++ b/addon/globalPlugins/focusHighlight.py
@@ -808,8 +808,10 @@ if NVDASettingsDialog:
self.saveDashStyle('passthrough',
self.passThroughDashStyleChoice.GetSelection())
self.saveColor('focus',
self.focusColorTextCtrl.GetValue())
self.saveThickness('focus',
self.focusThicknessTextCtrl.GetValue())
+ self.saveDashStyle('focus',
self.focusDashStyleChoice.GetSelection())
self.saveColor('navigator',
self.navigatorColorTextCtrl.GetValue())
self.saveThickness('navigator',
self.navigatorThicknessTextCtrl.GetValue())
+ self.saveDashStyle('navigator',
self.navigatorDashStyleChoice.GetSelection())
# values may be reverted or fixed, so update widgets
self.setWidgetValues()
diff --git a/buildVars.py b/buildVars.py
index 534e4ed..309a7cf 100644
--- a/buildVars.py
+++ b/buildVars.py
@@ -19,7 +19,7 @@ addon_info = {
# Translators: Long description to be shown for this add-on on add-on
information from add-ons manager
"addon_description" : _("Highlight the focused location."),
# version
- "addon_version" : "6.2",
+ "addon_version" : "6.3",
# Author(s)
"addon_author" : u"Takuya Nishimoto <nishimotz@xxxxxxxxx>",
# URL for the add-on documentation support
@@ -29,7 +29,7 @@ addon_info = {
# Minimum NVDA version supported *e.g. "2018.3")
"addon_minimumNVDAVersion" : "2014.1.0",
# Last NVDA version supported/tested (e.g. "2018.4", ideally more
recent than minimum version)
- "addon_lastTestedNVDAVersion" : "2019.4.0",
+ "addon_lastTestedNVDAVersion" : "2020.1.0",
# Add-on update channel (default is stable or None)
"addon_updateChannel" : None,
}
diff --git a/readme.md b/readme.md
index 5a4a529..9cf6d8a 100644
--- a/readme.md
+++ b/readme.md
@@ -26,6 +26,11 @@ When Focus Highlight category of NVDA Settings dialog is
available, following it
* Style: The choices are Solid, Dash, Dot, Dash dot, and Dash dot-dot.
* Restore defaults: This button allows you to reset your settings to their
original defaults.
+## Changes for 6.3 ##
+
+* New and updated translations.
+* Fixed the issue that dash styles of focus (in browse mode) and navigator
object are not able to change.
+
## Changes for 6.2 ##
* New and updated translations.
https://bitbucket.org/nvdaaddonteam/focushighlight/commits/6a06e6c5192c/
Changeset: 6a06e6c5192c
Branch: None
User: nishimotz
Date: 2019-07-21 13:43:28+00:00
Summary: https://github.com/nvdajp/focusHighlight/issues/16
Affected #: 2 files
diff --git a/addon/globalPlugins/focusHighlight.py
b/addon/globalPlugins/focusHighlight.py
index f77e9e6..1e2f0f9 100644
--- a/addon/globalPlugins/focusHighlight.py
+++ b/addon/globalPlugins/focusHighlight.py
@@ -697,6 +697,10 @@ if NVDASettingsDialog:
_("Dash dot dot"),
)
+ def __init__(self, parent):
+ self.beforeRestoreToDefaultsValue = None
+ super(AddonSettingsPanel, self).__init__(parent)
+
def setWidgetValues(self):
self.passThroughDefaultModeCheckbox.SetValue(bool(config.conf['focusHighlight']['passthrough']['defaultMode']))
self.passThroughColorTextCtrl.SetValue(str(config.conf['focusHighlight']['passthrough']['color']))
@@ -816,6 +820,18 @@ if NVDASettingsDialog:
self.setWidgetValues()
def restoreToDefaults(self):
+ self.beforeRestoreToDefaultsValue = (
+
config.conf['focusHighlight']['passthrough']['defaultMode'],
+
config.conf['focusHighlight']['passthrough']['color'],
+
config.conf['focusHighlight']['passthrough']['dashStyle'],
+
config.conf['focusHighlight']['passthrough']['thickness'],
+ config.conf['focusHighlight']['focus']['color'],
+
config.conf['focusHighlight']['focus']['dashStyle'],
+
config.conf['focusHighlight']['focus']['thickness'],
+
config.conf['focusHighlight']['navigator']['color'],
+
config.conf['focusHighlight']['navigator']['dashStyle'],
+
config.conf['focusHighlight']['navigator']['thickness']
+ )
config.conf['focusHighlight']['passthrough']['defaultMode'] = True
config.conf['focusHighlight']['passthrough']['color'] =
'2222ff'
config.conf['focusHighlight']['passthrough']['dashStyle'] = 2
@@ -828,3 +844,15 @@ if NVDASettingsDialog:
config.conf['focusHighlight']['navigator']['thickness']
= 4
self.setWidgetValues()
+ def onDiscard(self):
+ if self.beforeRestoreToDefaultsValue:
+
config.conf['focusHighlight']['passthrough']['defaultMode'] =
self.beforeRestoreToDefaultsValue[0]
+
config.conf['focusHighlight']['passthrough']['color'] =
self.beforeRestoreToDefaultsValue[1]
+
config.conf['focusHighlight']['passthrough']['dashStyle'] =
self.beforeRestoreToDefaultsValue[2]
+
config.conf['focusHighlight']['passthrough']['thickness'] =
self.beforeRestoreToDefaultsValue[3]
+ config.conf['focusHighlight']['focus']['color']
= self.beforeRestoreToDefaultsValue[4]
+
config.conf['focusHighlight']['focus']['dashStyle'] =
self.beforeRestoreToDefaultsValue[5]
+
config.conf['focusHighlight']['focus']['thickness'] =
self.beforeRestoreToDefaultsValue[6]
+
config.conf['focusHighlight']['navigator']['color'] =
self.beforeRestoreToDefaultsValue[7]
+
config.conf['focusHighlight']['navigator']['dashStyle'] =
self.beforeRestoreToDefaultsValue[8]
+
config.conf['focusHighlight']['navigator']['thickness'] =
self.beforeRestoreToDefaultsValue[9]
diff --git a/readme.md b/readme.md
index 9cf6d8a..2a210a8 100644
--- a/readme.md
+++ b/readme.md
@@ -30,6 +30,7 @@ When Focus Highlight category of NVDA Settings dialog is
available, following it
* New and updated translations.
* Fixed the issue that dash styles of focus (in browse mode) and navigator
object are not able to change.
+* Fixed the issue that 'Cancel' button of setting panel does not work after
'Restore defaults' button is pressed.
## Changes for 6.2 ##
https://bitbucket.org/nvdaaddonteam/focushighlight/commits/ca4851b99012/
Changeset: ca4851b99012
Branch: stable
User: nishimotz
Date: 2019-07-26 13:28:35+00:00
Summary: Merge branch 'stable' of
bitbucket.org:nvdaaddonteam/focushighlight into stable
Affected #: 2 files
diff --git a/addon/doc/fi/readme.md b/addon/doc/fi/readme.md
index c5a9c33..176ad4b 100644
--- a/addon/doc/fi/readme.md
+++ b/addon/doc/fi/readme.md
@@ -1,4 +1,4 @@
-# Aktiivisen kohdan korostus #
+# Kohdistuksen korostus #
* Tekijä: Takuya Nishimoto
* Lataa [vakaa versio][2]
@@ -22,39 +22,43 @@ Seuraavia värejä käytetään:
vuorovaikutustilassa, ts. näppäinpainallukset välitetään nykyiselle
säätimelle.
-To disable object tracking, disable or uninstall the addon.
+Poista objektin seuranta käytöstä poistamalla käytöstä tai poistamalla tämä
+lisäosa.
-When Focus Highlight category of NVDA Settings dialog is available,
-following items can be used.
+Seuraavia asetuksia voidaan muuttaa, kun NVDA:n asetusvalintaikkunan
+Kohdistuksen korostus -kategoria on käytettävissä.
-* Make focus mode the default: This checkbox is enabled by default. When it
- is unchecked, this add-on behaves same as version 5.6 or previous
- versions, i.e., if browse mode is not available for an app, the focus is
- shown using the thick red rectangle.
-* Focus in focus mode, Focus in browse mode, Navigator object: Each of these
- groups contains Color, Thickness, and Style.
+* Käytä oletusarvoisesti vuorovaikutustilaa: Tämä valintaruutu on
+ oletusarvoisesti valittuna. Kun sitä ei ole valittu, tämä lisäosa toimii
+ kuten versio 5.6 tai sitä aiemmat, ts. jos selaustila ei ole käytettävissä
+ sovelluksessa, kohdistuksen näyttämiseen käytetään paksua punaista
+ suorakulmiota.
+* Kohdistus vuorovaikutustilassa, Kohdistus selaustilassa,
+ Navigointiobjekti: Näissä ryhmissä on seuraavat asetukset: Väri, Paksuus,
+ ja Tyyli.
- * Color: This edit field allows you to type the HTML color code, i.e.,
- six-character hexadecimal number. For example, "ffffff" is white,
- "ff0000" is red, and so on. Note that "000000" can not be used.
- * Thickness: This edit field allows you to type the thickness of the
- box. You can enter a value between 1 and 30.
- * Style: The choices are Solid, Dash, Dot, Dash dot, and Dash dot-dot.
+ * Väri: Tähän muokkauskenttään voidaan syöttää värin HTML-koodi,
+ ts. 6-merkkinen heksadesimalinumero. Esim. "ffffff" on valkoinen,
+ "ff0000" on punainen jne. Huom: Arvoa "000000" ei voi käyttää.
+ * Paksuus: Tähän muokkauskenttään voidaan kirjoittaa laatikon
+ paksuus. Arvot väliltä 1-30 ovat mahdollisia.
+ * Tyyli: Valittavissa ovat vaihtoehdot Kiinteä, Viiva, Piste, Viiva ja
+ piste sekä Viiva ja kaksi pistettä.
-* Restore defaults: This button allows you to reset your settings to their
- original defaults.
+* Palauta oletukset: Tällä painikkeella voi palauttaa asetukset
+ alkuperäisiin oletusarvoihinsa.
-## Changes for 6.1 ##
+## Muutokset versiossa 6.1 ##
* Käännöksiä päivitetty ja lisätty.
-* Addresses [the issue](https://github.com/nvdajp/focusHighlight/issues/14)
- with the latest development versions of NVDA.
-* Focus Highlight category of NVDA Settings dialog is now available. Note
- that it works only with NVDA 2018.3 or later.
-* [Discussions regarding customizing
- colors](https://github.com/nvdajp/focusHighlight/issues/3)
-* [Discussions regarding 'Make focus mode the
- default'](https://github.com/nvdajp/focusHighlight/issues/13)
+* Korjaa [ongelman](https://github.com/nvdajp/focusHighlight/issues/14)
+ viimeisimpien NVDA:n kehitysversioissa.
+* NVDA:n asetusvalintaikkunan Kohdistuksen korostus -kategoria on nyt
+ käytettävissä NVDA 2018.3:ssa ja sitä uudemmissa versioissa.
+* [Värien mukauttamiseen liittyvät
+ keskustelut](https://github.com/nvdajp/focusHighlight/issues/3)
+* [Vuorovaikutustilan oletusarvoiseen käyttämiseen liittyvät
+ keskustelut](https://github.com/nvdajp/focusHighlight/issues/13)
## Muutokset versiossa 6.0 ##
diff --git a/addon/locale/fi/LC_MESSAGES/nvda.po
b/addon/locale/fi/LC_MESSAGES/nvda.po
index 3853466..586faab 100644
--- a/addon/locale/fi/LC_MESSAGES/nvda.po
+++ b/addon/locale/fi/LC_MESSAGES/nvda.po
@@ -8,22 +8,86 @@ msgstr ""
"Project-Id-Version: focusHighlight\n"
"Report-Msgid-Bugs-To: nvda-translations@xxxxxxxxxxxxx\n"
"POT-Creation-Date: 2013-08-05 07:20+0200\n"
-"PO-Revision-Date: 2014-10-10 07:42+0200\n"
+"PO-Revision-Date: 2019-07-14 16:06+0200\n"
"Last-Translator: Jani Kinnunen <jani.kinnunen@xxxxxxxxxx>\n"
"Language-Team: Finnish <jani.kinnunen@xxxxxxxxxx>\n"
"Language: fi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Poedit 1.6.9\n"
+"X-Generator: Poedit 1.6.11\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. Translators: Input help mode message
+msgid "Toggles on and off the highlighting of focus"
+msgstr "Ottaa käyttöön kohdistuksen korostuksen tai poistaa sen käytöstä."
+
+#. Translators: togglePainting message
+msgid "{} on"
+msgstr "{} käytössä"
+
+#. Translators: togglePainting message
+msgid "{} off"
+msgstr "{} ei käytössä"
+
+#. Translators: dash style item
+msgid "Solid"
+msgstr "Kiinteä"
+
+#. Translators: dash style item
+msgid "Dash"
+msgstr "Viiva"
+
+#. Translators: dash style item
+msgid "Dot"
+msgstr "Piste"
+
+#. Translators: dash style item
+msgid "Dash dot"
+msgstr "Viiva ja piste"
+
+#. Translators: dash style item
+msgid "Dash dot dot"
+msgstr "Viiva ja kaksi pistettä"
+
+#. Translators: label of a checkbox.
+msgid "Make focus mode the default"
+msgstr "Käytä oletusarvoisesti vuorovaikutustilaa"
+
+#. Translators: focus (in focus mode) panel
+msgid "Focus in focus mode"
+msgstr "Kohdistus vuorovaikutustilassa"
+
+#. Translators: label for an edit field.
+msgid "Color"
+msgstr "Väri"
+
+#. Translators: label for an edit field.
+msgid "Thickness"
+msgstr "Paksuus"
+
+#. Translators: label for an choice field.
+msgid "Style"
+msgstr "Tyyli"
+
+#. Translators: focus (in browse mode) panel
+msgid "Focus in browse mode"
+msgstr "Kohdistus selaustilassa"
+
+#. Translators: navigator panel
+msgid "Navigator object"
+msgstr "Navigointiobjekti"
+
+#. Translators: Label of a button.
+msgid "Restore defaults"
+msgstr "Palauta oletukset"
+
#. Add-on summary, usually the user visible name of the addon.
#. Translators: Summary for this add-on to be shown on installation and add-on
information.
msgid "Focus Highlight"
-msgstr "Aktiivisen kohdan korostus"
+msgstr "Kohdistuksen korostus"
#. Add-on description
#. Translators: Long description to be shown for this add-on on add-on
information from add-ons manager
msgid "Highlight the focused location."
-msgstr "Korostaa aktiivisen kohdan."
+msgstr "Korosta kohdistettu sijainti."
Repository URL: https://bitbucket.org/nvdaaddonteam/focushighlight/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.