Skip to content

Commit

Permalink
bump to 6.6: support NVDA 2023.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nishimotz committed Feb 14, 2023
1 parent 7143712 commit fb94a15
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# 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.5",
"addon_version" : "6.6",
# Author(s)
"addon_author" : u"Takuya Nishimoto <nishimotz@gmail.com>",
# URL for the add-on documentation support
Expand All @@ -29,7 +29,7 @@
# 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" : "2022.1.0",
"addon_lastTestedNVDAVersion" : "2023.1.0",
# Add-on update channel (default is stable or None)
"addon_updateChannel" : None,
}
Expand Down
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ 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.6 ##

* Addresses the issue with NVDA 2023.1.

## Changes for 6.5 ##

* Addresses the issue with NVDA 2022.1.
Expand Down
4 changes: 2 additions & 2 deletions sconstruct
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def md2html(source, dest):
}
with codecs.open(source, "r", "utf-8") as f:
mdText = f.read()
for k, v in headerDic.iteritems():
for k, v in headerDic.items():
mdText = mdText.replace(k, v, 1)
htmlText = markdown.markdown(mdText)
with codecs.open(dest, "w", "utf-8") as f:
Expand Down Expand Up @@ -127,7 +127,7 @@ def generateManifest(source, dest):
f.write(manifest)

def generateTranslatedManifest(source, language, out):
_ = gettext.translation("nvda", localedir=os.path.join("addon", "locale"), languages=[language]).ugettext
_ = gettext.translation("nvda", localedir=os.path.join("addon", "locale"), languages=[language]).gettext
vars = {}
for var in ("addon_summary", "addon_description"):
vars[var] = _(buildVars.addon_info[var])
Expand Down

0 comments on commit fb94a15

Please sign in to comment.