@@ -2206,7 +2206,7 @@ def makeSettings(self, settingsSizer):
22062206 # Translators: This is the label for a checkbox in the
22072207 # document formatting settings panel.
22082208 spellingErrorText = _ ("Spelling e&rrors" )
2209- self .spellingErrorsCheckBox = docInfoGroup .addItem (wx .CheckBox (docInfoBox ,label = spellingErrorText ))
2209+ self .spellingErrorsCheckBox = docInfoGroup .addItem (wx .CheckBox (docInfoBox , label = spellingErrorText ))
22102210 self .spellingErrorsCheckBox .SetValue (config .conf ["documentFormatting" ]["reportSpellingErrors" ])
22112211
22122212 # Translators: This is the label for a group of document formatting options in the
@@ -2561,7 +2561,7 @@ def __init__(self, parent):
25612561 # Translators: This is the label for a checkbox in the
25622562 # Advanced settings panel.
25632563 label = _ ("Use UI Automation to access Microsoft &Word document controls when available" )
2564- self .UIAInMSWordCheckBox = UIAGroup .addItem (wx .CheckBox (UIABox , label = label ))
2564+ self .UIAInMSWordCheckBox = UIAGroup .addItem (wx .CheckBox (UIABox , label = label ))
25652565 self .bindHelpEvent ("AdvancedSettingsUseUiaForWord" , self .UIAInMSWordCheckBox )
25662566 self .UIAInMSWordCheckBox .SetValue (config .conf ["UIA" ]["useInMSWordWhenAvailable" ])
25672567 self .UIAInMSWordCheckBox .defaultValue = self ._getDefaultValue (["UIA" , "useInMSWordWhenAvailable" ])
@@ -3120,8 +3120,8 @@ def makeSettings(self, settingsSizer):
31203120 displayGroup = guiHelper .BoxSizerHelper (self , sizer = displaySizer )
31213121 settingsSizerHelper .addItem (displayGroup )
31223122 self .displayNameCtrl = ExpandoTextCtrl (
3123- displayBox ,
3124- size = (self .scaleSize (250 ), - 1 ),
3123+ displayBox ,
3124+ size = (self .scaleSize (250 ), - 1 ),
31253125 style = wx .TE_READONLY
31263126 )
31273127 self .bindHelpEvent ("BrailleSettingsChange" , self .displayNameCtrl )
@@ -4108,7 +4108,6 @@ def makeSettings(self, settingsSizer):
41084108 # Translators: The label for the group of controls in symbol pronunciation dialog to change the pronunciation of a symbol.
41094109 changeSymbolText = _ ("Change selected symbol" )
41104110 changeSymbolSizer = wx .StaticBoxSizer (wx .VERTICAL , self , label = changeSymbolText )
4111- changeSymbolBox = changeSymbolSizer .GetStaticBox ()
41124111 changeSymbolGroup = guiHelper .BoxSizerHelper (self , sizer = changeSymbolSizer )
41134112 changeSymbolHelper = sHelper .addItem (changeSymbolGroup )
41144113
0 commit comments