Skip to content

Commit 40729d9

Browse files
committed
Add 'Vietnam' to list of Braille codes
1 parent 76679ad commit 40729d9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

NVDA-addon/addon/globalPlugins/MathCAT/MathCATPreferences.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
Navigation_NavVerbosity = ("Terse", "Medium", "Verbose")
3232
#Navigation_AutoZoomOut is boolean
3333
Braille_BrailleNavHighlight = ("Off", "FirstChar", "EndPoints", "All")
34-
Braille_BrailleCode = ("Nemeth", "UEB")
34+
Braille_BrailleCode = ("Nemeth", "UEB", "Vietnam")
3535

3636
class UserInterface(MathCATgui.MathCATPreferencesDialog):
3737
def __init__(self,parent):
@@ -439,8 +439,8 @@ def validate_user_preferences():
439439
#Braille:
440440
# BrailleNavHighlight: EndPoints # Highlight with dots 7 & 8 the current nav node -- values are Off, FirstChar, EndPoints, All
441441
UserInterface.validate("Braille", "BrailleNavHighlight", ["Off", "FirstChar", "EndPoints", "All"], "EndPoints")
442-
# BrailleCode: "Nemeth" # Any supported braille code (currently Nemeth, UEB)
443-
UserInterface.validate("Braille", "BrailleCode", ["Nemeth", "UEB"], "Nemeth")
442+
# BrailleCode: "Nemeth" # Any supported braille code (currently Nemeth, UEB, Vietnam)
443+
UserInterface.validate("Braille", "BrailleCode", ["Nemeth", "UEB", "Vietnam"], "Nemeth")
444444

445445
@staticmethod
446446
def write_user_preferences():

NVDA-addon/addon/globalPlugins/MathCAT/MathCATgui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def __init__( self, parent ):
253253

254254
bSizerBrailleMathCode.Add( self.m_staticTextBrailleMathCode, 0, wx.ALL, 5 )
255255

256-
m_choiceBrailleMathCodeChoices = [ _(u"Nemeth"), _(u"UEB") ]
256+
m_choiceBrailleMathCodeChoices = [ _(u"Nemeth"), _(u"UEB"), _(u"Vietnam") ]
257257
self.m_choiceBrailleMathCode = wx.Choice( self.m_panelBraille, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, m_choiceBrailleMathCodeChoices, 0 )
258258
self.m_choiceBrailleMathCode.SetSelection( 1 )
259259
bSizerBrailleMathCode.Add( self.m_choiceBrailleMathCode, 0, wx.ALL, 5 )

0 commit comments

Comments
 (0)