Skip to content

Commit 9d4cca3

Browse files
committed
added CMU to braille list
1 parent d71c6a4 commit 9d4cca3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

addon/globalPlugins/MathCAT/MathCATPreferences.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
Navigation_NavVerbosity = ("Terse", "Medium", "Verbose")
3737
#Navigation_AutoZoomOut is boolean
3838
Braille_BrailleNavHighlight = ("Off", "FirstChar", "EndPoints", "All")
39-
Braille_BrailleCode = ("Nemeth", "UEB", "Vietnam")
39+
Braille_BrailleCode = ("Nemeth", "UEB", "CMU", "Vietnam")
4040

4141
class UserInterface(MathCATgui.MathCATPreferencesDialog):
4242
def __init__(self,parent):
@@ -453,8 +453,8 @@ def validate_user_preferences():
453453
#Braille:
454454
# BrailleNavHighlight: EndPoints # Highlight with dots 7 & 8 the current nav node -- values are Off, FirstChar, EndPoints, All
455455
UserInterface.validate("Braille", "BrailleNavHighlight", ["Off", "FirstChar", "EndPoints", "All"], "EndPoints")
456-
# BrailleCode: "Nemeth" # Any supported braille code (currently Nemeth, UEB, Vietnam)
457-
UserInterface.validate("Braille", "BrailleCode", ["Nemeth", "UEB", "Vietnam"], "Nemeth")
456+
# BrailleCode: "Nemeth" # Any supported braille code (currently Nemeth, UEB, CMU, Vietnam)
457+
UserInterface.validate("Braille", "BrailleCode", ["Nemeth", "UEB", "CMU", "Vietnam"], "Nemeth")
458458

459459
@staticmethod
460460
def write_user_preferences():

addon/globalPlugins/MathCAT/MathCATgui.py

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

258258
bSizerBrailleMathCode.Add( self.m_staticTextBrailleMathCode, 0, wx.ALL, 5 )
259259

260-
m_choiceBrailleMathCodeChoices = [ _("Nemeth"), _("UEB"), _("Vietnam") ]
260+
m_choiceBrailleMathCodeChoices = [ _("Nemeth"), _("UEB"), _("CMU"), _("Vietnam") ]
261261
self.m_choiceBrailleMathCode = wx.Choice( self.m_panelBraille, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, m_choiceBrailleMathCodeChoices, 0 )
262262
self.m_choiceBrailleMathCode.SetSelection( 1 )
263263
bSizerBrailleMathCode.Add( self.m_choiceBrailleMathCode, 0, wx.ALL, 5 )

0 commit comments

Comments
 (0)