lambdaProfileSetup.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:lambdaNvda 作者: lambda-nvda 项目源码 文件源码
def makeSettings(self, settingsSizer):
        # Translators: This is the static text of the Quick Profile Wizard dialog.
        msgIntro=_("Choose which options you want to reset to the default value for the Lambdas profile")
        self.introStxt=wx.StaticText(self,-1,label=msgIntro)
        settingsSizer.Add(self.introStxt,flag=wx.BOTTOM)
        # Translators: This is the label for a checkbox in the
        # Quick Profile Wizard dialog.
        self.defaultTranslationTableCheckBox=wx.CheckBox(self,wx.NewId(),label=_("Keep the LAMBDA braille table for the current language (%s)") % TABLE_NAME)
        self.defaultTranslationTableCheckBox.SetValue(True)
        settingsSizer.Add(self.defaultTranslationTableCheckBox,border=10,flag=wx.BOTTOM)
        # Translators: This is the label for a checkbox in the
        # Quick Profile Wizard dialog.
        self.brailleTetherToFocusCheckBox=wx.CheckBox(self,wx.NewId(),label=_("Set the braille cursor to tether the focus"))
        self.brailleTetherToFocusCheckBox.SetValue(True)
        settingsSizer.Add(self.brailleTetherToFocusCheckBox,border=10,flag=wx.BOTTOM)
        # Translators: This is the label for a checkbox in the
        # Quick Profile Wizard dialog.
        self.disableReadByParagraphCheckBox=wx.CheckBox(self,wx.NewId(),label=_("Disable the Braille reading by paragraph"))
        self.disableReadByParagraphCheckBox.SetValue(True)
        settingsSizer.Add(self.disableReadByParagraphCheckBox,border=10,flag=wx.BOTTOM)
        # Translators: This is the label for a checkbox in the
        # Quick Profile Wizard dialog.
        self.disableBrailleWordWrapCheckBox=wx.CheckBox(self,wx.NewId(),label=_("Disable word wrappping of the braille line"))
        self.disableBrailleWordWrapCheckBox.SetValue(True)
        settingsSizer.Add(self.disableBrailleWordWrapCheckBox,border=10,flag=wx.BOTTOM)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号