Skip to content

Commit

Permalink
NVDA>=2024.3: fix for characterProcessing._getSpeechSymbolsForLocale
Browse files Browse the repository at this point in the history
  • Loading branch information
AAClause committed Aug 30, 2024
1 parent 760c387 commit 68a3dbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions addon/globalPlugins/brailleExtender/undefinedchars.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,11 +442,13 @@ def getExtendedSymbols(locale):
locale = languageHandler.getLanguage()
if '_' in locale:
try:
b, u = characterProcessing._getSpeechSymbolsForLocale(locale)
symbolsForLocale = characterProcessing._getSpeechSymbolsForLocale(locale)
except LookupError:
return getExtendedSymbols(locale.split('_')[0])
else:
b, u = characterProcessing._getSpeechSymbolsForLocale(locale)
symbolsForLocale = characterProcessing._getSpeechSymbolsForLocale(locale)
b = symbolsForLocale[0]
u = symbolsForLocale[1]
if not b and not u: return None
a = {
k.strip(): v.replacement.replace(' ', '').strip()
Expand Down
2 changes: 1 addition & 1 deletion buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def _(arg):
# Minimum NVDA version supported (e.g. "2018.3.0", minor version is optional)
"addon_minimumNVDAVersion": "2021.1",
# Last NVDA version supported/tested (e.g. "2018.4.0", ideally more recent than minimum version)
"addon_lastTestedNVDAVersion": "2024.1",
"addon_lastTestedNVDAVersion": "2025.1",
# Add-on update channel (default is None, denoting stable releases,
# and for development releases, use "dev".)
# Do not change unless you know what you are doing!
Expand Down

0 comments on commit 68a3dbd

Please sign in to comment.