@@ -41,8 +41,14 @@ def __init__( self, parent ):
4141
4242 bSizerCategories .Add ( self .m_staticTextCategories , 0 , wx .ALL , 5 )
4343
44- # Translators: these are navigation pane headings for the MathCAT preferences dialog under the title "Categories"
45- m_listBoxPreferencesTopicChoices = [ _ ("Speech" ), _ ("Navigation" ), _ ("Braille" ) ]
44+ m_listBoxPreferencesTopicChoices = [
45+ # Translators: these are navigation pane headings for the MathCAT preferences dialog under the title "Categories"
46+ _ ("Speech" ),
47+ # Translators: these are navigation pane headings for the MathCAT preferences dialog under the title "Categories"
48+ _ ("Navigation" ),
49+ # Translators: these are navigation pane headings for the MathCAT preferences dialog under the title "Categories"
50+ _ ("Braille" )
51+ ]
4652 self .m_listBoxPreferencesTopic = wx .ListBox ( self .m_panelCategories , wx .ID_ANY , wx .Point ( - 1 ,- 1 ), wx .Size ( - 1 ,- 1 ), m_listBoxPreferencesTopicChoices , wx .LB_NO_SB | wx .LB_SINGLE )
4753 bSizerCategories .Add ( self .m_listBoxPreferencesTopic , 0 , wx .ALL , 5 )
4854
@@ -70,10 +76,15 @@ def __init__( self, parent ):
7076
7177 bSizerImpairment .Add ( self .m_staticTextImpairment , 0 , wx .ALL , 5 )
7278
73- # Translators: these are the categories of impairments that MathCAT supports
74- # Translators: Learning disabilities includes dyslexia and ADHD
75- # Translators: Blindness and Low Vision are the other two categories that are supported
76- m_choiceImpairmentChoices = [ _ ("Learning disabilities" ), _ ("Blindness" ), _ ("Low vision" ) ]
79+ m_choiceImpairmentChoices = [
80+ # Translators: these are the categories of impairments that MathCAT supports
81+ # Translators: Learning disabilities includes dyslexia and ADHD
82+ _ ("Learning disabilities" ),
83+ # Translators: target people who are blind
84+ _ ("Blindness" ),
85+ # Translators: target people who have low vision
86+ _ ("Low vision" )
87+ ]
7788 self .m_choiceImpairment = wx .Choice ( self .m_panelSpeech , wx .ID_ANY , wx .DefaultPosition , wx .DefaultSize , m_choiceImpairmentChoices , 0 )
7889 self .m_choiceImpairment .SetSelection ( 1 )
7990 bSizerImpairment .Add ( self .m_choiceImpairment , 0 , wx .ALL , 5 )
@@ -121,8 +132,15 @@ def __init__( self, parent ):
121132
122133 bSizer71 .Add ( self .m_staticTextSpeechAmount , 0 , wx .ALL , 5 )
123134
124- # Translators: options for speech verbosity.
125- m_choiceSpeechAmountChoices = [ _ ("Terse" ), _ ("Medium" ), _ ("Verbose" ) ]
135+ # Translators: options for speech verbosity.
136+ m_choiceSpeechAmountChoices = [
137+ # Translators: options for speech verbosity -- "terse" = use less words
138+ _ ("Terse" ),
139+ # Translators: options for speech verbosity -- "medium" = try to be nether too terse nor too verbose words
140+ _ ("Medium" ),
141+ # Translators: options for speech verbosity -- "verbose" = use more words
142+ _ ("Verbose" )
143+ ]
126144 self .m_choiceSpeechAmount = wx .Choice ( self .m_panelSpeech , wx .ID_ANY , wx .DefaultPosition , wx .DefaultSize , m_choiceSpeechAmountChoices , 0 )
127145 self .m_choiceSpeechAmount .SetSelection ( 0 )
128146 bSizer71 .Add ( self .m_choiceSpeechAmount , 0 , wx .ALL , 5 )
@@ -193,8 +211,12 @@ def __init__( self, parent ):
193211
194212 bSizerSpeechForChemical .Add ( self .m_staticTextSpeechForChemical , 0 , wx .ALL , 5 )
195213
196- # Translators: values for chemistry options with example speech in parenthesis
197- m_choiceSpeechForChemicalChoices = [ _ ("Spell it out (H 2 O)" ), _ ("Off (H sub 2 O)" ) ]
214+ m_choiceSpeechForChemicalChoices = [
215+ # Translators: values for chemistry options with example speech in parenthesis
216+ _ ("Spell it out (H 2 O)" ),
217+ # Translators: values for chemistry options with example speech in parenthesis (never interpret as chemistry)
218+ _ ("Off (H sub 2 O)" )
219+ ]
198220 self .m_choiceSpeechForChemical = wx .Choice ( self .m_panelSpeech , wx .ID_ANY , wx .DefaultPosition , wx .DefaultSize , m_choiceSpeechForChemicalChoices , 0 )
199221 self .m_choiceSpeechForChemical .SetSelection ( 0 )
200222 bSizerSpeechForChemical .Add ( self .m_choiceSpeechForChemical , 0 , wx .ALL , 5 )
@@ -213,10 +235,14 @@ def __init__( self, parent ):
213235 # Translators: label for pull down to specify one of three modes use to navigate math expressions
214236 sbSizerNavigationMode = wx .StaticBoxSizer ( wx .StaticBox ( self .m_panelNavigation , wx .ID_ANY , _ ("Navigation mode to use when beginning to navigate an equation:" ) ), wx .VERTICAL )
215237
216- # Translators: names of different modes of navigation. "Enhanced" mode understands math structure
217- # Translators: "Simple" walks by character expect for things like fractions, roots, and scripts
218- # Translators: "Chracter" moves around by character, automatically moving into fractions, etc
219- m_choiceNavigationModeChoices = [ _ ("Enhanced" ), _ ("Simple" ), _ ("Character" ) ]
238+ m_choiceNavigationModeChoices = [
239+ # Translators: names of different modes of navigation. "Enhanced" mode understands math structure
240+ _ ("Enhanced" ),
241+ # Translators: "Simple" walks by character expect for things like fractions, roots, and scripts
242+ _ ("Simple" ),
243+ # Translators: "Character" moves around by character, automatically moving into fractions, etc
244+ _ ("Character" )
245+ ]
220246 self .m_choiceNavigationMode = wx .Choice ( sbSizerNavigationMode .GetStaticBox (), wx .ID_ANY , wx .DefaultPosition , wx .DefaultSize , m_choiceNavigationModeChoices , 0 )
221247 self .m_choiceNavigationMode .SetSelection ( 1 )
222248 sbSizerNavigationMode .Add ( self .m_choiceNavigationMode , 0 , wx .ALL , 5 )
@@ -232,7 +258,12 @@ def __init__( self, parent ):
232258 sbSizerNavigationSpeech = wx .StaticBoxSizer ( wx .StaticBox ( self .m_panelNavigation , wx .ID_ANY , _ ("Navigation speech to use when beginning to navigate an equation:" ) ), wx .VERTICAL )
233259
234260 # Translators: either "Speak" the expression or give a description (overview) of the expression
235- m_choiceNavigationSpeechChoices = [ _ ("Speak" ), _ ("Describe/overview" ) ]
261+ m_choiceNavigationSpeechChoices = [
262+ # Translators: "Speak" the expression after moving to it
263+ _ ("Speak" ),
264+ # Translators: "Describe" the expression after moving to it ("overview is a synonym")
265+ _ ("Describe/overview" )
266+ ]
236267 self .m_choiceNavigationSpeech = wx .Choice ( sbSizerNavigationSpeech .GetStaticBox (), wx .ID_ANY , wx .DefaultPosition , wx .DefaultSize , m_choiceNavigationSpeechChoices , 0 )
237268 self .m_choiceNavigationSpeech .SetSelection ( 1 )
238269 sbSizerNavigationSpeech .Add ( self .m_choiceNavigationSpeech , 0 , wx .ALL , 5 )
@@ -259,8 +290,15 @@ def __init__( self, parent ):
259290
260291 bSizerSpeechAmountNavigation .Add ( self .m_staticTextSpeechAmountNavigation , 0 , wx .ALL , 5 )
261292
262- # Translators: options for speech verbosity.
263- m_choiceSpeechAmountNavigationChoices = [ _ ("Terse" ), _ ("Medium" ), _ ("Verbose" ) ]
293+ # Translators: options for navigation verbosity.
294+ m_choiceSpeechAmountNavigationChoices = [
295+ # Translators: options for navigation verbosity -- "terse" = use less words
296+ _ ("Terse" ),
297+ # Translators: options for navigation verbosity -- "medium" = try to be nether too terse nor too verbose words
298+ _ ("Medium" ),
299+ # Translators: options for navigation verbosity -- "verbose" = use more words
300+ _ ("Verbose" )
301+ ]
264302 self .m_choiceSpeechAmountNavigation = wx .Choice ( self .m_panelNavigation , wx .ID_ANY , wx .DefaultPosition , wx .DefaultSize , m_choiceSpeechAmountNavigationChoices , 0 )
265303 self .m_choiceSpeechAmountNavigation .SetSelection ( 0 )
266304 bSizerSpeechAmountNavigation .Add ( self .m_choiceSpeechAmountNavigation , 0 , wx .ALL , 5 )
@@ -288,7 +326,16 @@ def __init__( self, parent ):
288326 bSizerBrailleMathCode .Add ( self .m_staticTextBrailleMathCode , 0 , wx .ALL , 5 )
289327
290328 # Translators: names of various braille codes -- probably only translate if a different alphabet is used
291- m_choiceBrailleMathCodeChoices = [ _ ("Nemeth" ), _ ("UEB" ), _ ("CMU" ), _ ("Vietnam" ) ]
329+ m_choiceBrailleMathCodeChoices = [
330+ # Translators: names of various braille codes -- probably only translate if a different alphabet is used
331+ _ ("Nemeth" ),
332+ # Translators: names of various braille codes -- probably only translate if a different alphabet is used
333+ _ ("UEB" ),
334+ # Translators: names of various braille codes -- probably only translate if a different alphabet is used
335+ _ ("CMU" ),
336+ # Translators: names of various braille codes -- probably only translate if a different alphabet is used
337+ _ ("Vietnam" )
338+ ]
292339 self .m_choiceBrailleMathCode = wx .Choice ( self .m_panelBraille , wx .ID_ANY , wx .DefaultPosition , wx .DefaultSize , m_choiceBrailleMathCodeChoices , 0 )
293340 self .m_choiceBrailleMathCode .SetSelection ( 1 )
294341 bSizerBrailleMathCode .Add ( self .m_choiceBrailleMathCode , 0 , wx .ALL , 5 )
@@ -304,12 +351,17 @@ def __init__( self, parent ):
304351
305352 bSizerBrailleHighlights .Add ( self .m_staticTextBrailleHighlights , 0 , wx .ALL , 5 )
306353
307- # Translators: options for using dots 7 and 8:
308- # Translators: "off" -- don't highlight
309- # Translators: "First character" -- only the first character of the current navigation node uses dots 7 & 8
310- # Translators: "Endpoints" -- only the first and last character of the current navigation node uses dots 7 & 8
311- # Translators: "All" -- all the characters for the current navigation node use dots 7 & 8
312- m_choiceBrailleHighlightsChoices = [ _ ("Off" ), _ ("First character" ), _ ("Endpoints" ), _ ("All" ) ]
354+ m_choiceBrailleHighlightsChoices = [
355+ # Translators: options for using dots 7 and 8:
356+ # Translators: "off" -- don't highlight
357+ _ ("Off" ),
358+ # Translators: "First character" -- only the first character of the current navigation node uses dots 7 & 8
359+ _ ("First character" ),
360+ # Translators: "Endpoints" -- only the first and last character of the current navigation node uses dots 7 & 8
361+ _ ("Endpoints" ),
362+ # Translators: "All" -- all the characters for the current navigation node use dots 7 & 8
363+ _ ("All" )
364+ ]
313365 self .m_choiceBrailleHighlights = wx .Choice ( self .m_panelBraille , wx .ID_ANY , wx .DefaultPosition , wx .DefaultSize , m_choiceBrailleHighlightsChoices , 0 )
314366 self .m_choiceBrailleHighlights .SetSelection ( 1 )
315367 bSizerBrailleHighlights .Add ( self .m_choiceBrailleHighlights , 0 , wx .ALL , 5 )
0 commit comments