From aafbef09096e8a37884a5940ec40823b4e1faf41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9-Abush=20Clause?= Date: Fri, 17 Jul 2020 09:07:17 +0200 Subject: [PATCH] Shortens some messages See https://github.com/Andre9642/BrailleExtender/issues/75#issuecomment-659660029 --- addon/globalPlugins/brailleExtender/documentFormatting.py | 8 ++++---- addon/globalPlugins/brailleExtender/objectPresentation.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/addon/globalPlugins/brailleExtender/documentFormatting.py b/addon/globalPlugins/brailleExtender/documentFormatting.py index 95a1b0a9..0b63f2be 100644 --- a/addon/globalPlugins/brailleExtender/documentFormatting.py +++ b/addon/globalPlugins/brailleExtender/documentFormatting.py @@ -526,16 +526,16 @@ def makeSettings(self, settingsSizer): self.reportLineNumber.SetSelection(keys.index(conf["lineNumber"])) bHelper = gui.guiHelper.ButtonHelper(orientation=wx.HORIZONTAL) self.attributesBtn = bHelper.addButton( - self, label="%s..." % _("Representation of &attributes") + self, label="%s..." % _("Font &attributes") ) self.attributesBtn.Bind(wx.EVT_BUTTON, self.onAttributesBtn) self.alignmentsBtn = bHelper.addButton( - self, label="%s..." % _("Representation of a&lignments") + self, label="%s..." % _("A&lignments") ) self.indentationBtn = bHelper.addButton( - self, label="%s..." % _("Representation of &indentations") + self, label="%s..." % _("&Indentations") ) - self.tagsBtn = bHelper.addButton(self, label="%s..." % _("Customize &tags")) + self.tagsBtn = bHelper.addButton(self, label="%s..." % _("&Tags")) self.tagsBtn.Bind(wx.EVT_BUTTON, self.onTagsBtn) sHelper.addItem(bHelper) diff --git a/addon/globalPlugins/brailleExtender/objectPresentation.py b/addon/globalPlugins/brailleExtender/objectPresentation.py index 8a9eac97..0466964d 100644 --- a/addon/globalPlugins/brailleExtender/objectPresentation.py +++ b/addon/globalPlugins/brailleExtender/objectPresentation.py @@ -232,7 +232,7 @@ def __init__( self, parent=None, # Translators: title of a dialog. - title=_("Manage properties order"), + title=_("Order Properties"), ): super().__init__(parent, title=title) mainSizer = wx.BoxSizer(wx.VERTICAL) @@ -358,7 +358,7 @@ def makeSettings(self, settingsSizer): self.selectedElement.SetSelection(itemToSelect) bHelper = gui.guiHelper.ButtonHelper(orientation=wx.HORIZONTAL) self.propertiesOrderBtn = bHelper.addButton( - self, label="%s..." % _("Manage properties &order") + self, label="%s..." % _("&Order Properties") ) self.propertiesOrderBtn.Bind(wx.EVT_BUTTON, self.onPropertiesOrderBtn) sHelper.addItem(bHelper)