Skip to content

Commit

Permalink
buildVars: add braileTables dictionary. Re #38.
Browse files Browse the repository at this point in the history
NVDA 2024.3 introduces custom braille tables support, implemented in add-ons via a new manifest section named 'brailleTables'. In the add-on template, support it via a new 'brailleTables' dictionary that records a custom braille table (key) and associated manifest section entries (displayName (name of the table shown to users), contracted (true/false), input (true/false), output (true/false)). The new dictionary will be picked up by SCons when packaging custom braille translations table add-on, with displayName field to be translated.
  • Loading branch information
josephsl committed May 9, 2024
1 parent b8bf472 commit 933fd68
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,13 @@ def _(arg):
# Extensions string must be of the form "markdown.extensions.extensionName"
# e.g. "markdown.extensions.tables" to add tables.
markdownExtensions = []

# Custom braille translation tables
# If your add-on includes custom braille tables (most will not), fill out this dictionary.
# Each key is a dictionary named according to braille table file name,
# with keys inside recording the following attributes:
# displayName (name of the table shown to users and translatable),
# contracted (contracted (True) or uncontracted (False) braille code),
# output (shown in output table list),
# input (shown in input table list).
brailleTables = {}

0 comments on commit 933fd68

Please sign in to comment.