From a4d5066156910cbd623c81e8b207a7de80db5121 Mon Sep 17 00:00:00 2001 From: Mohamed Date: Thu, 2 Oct 2025 16:26:50 -0400 Subject: [PATCH 1/2] Added shortcuts to the database manager and some more to the menu bar. Also fixed shortcuts for seeking so they're not both s --- src/controller/mastodon/handler.py | 2 +- src/extra/autocompletionUsers/wx_manage.py | 4 ++-- src/wxUI/view.py | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/controller/mastodon/handler.py b/src/controller/mastodon/handler.py index d6335fab..a6e1e301 100644 --- a/src/controller/mastodon/handler.py +++ b/src/controller/mastodon/handler.py @@ -48,7 +48,7 @@ class Handler(object): addAlias=_("Add a&lias"), addToList=None, removeFromList=None, - details=_("Show user profile"), + details=_("S&how user profile"), favs=None, # In buffer Menu. community_timeline =_("Create c&ommunity timeline"), diff --git a/src/extra/autocompletionUsers/wx_manage.py b/src/extra/autocompletionUsers/wx_manage.py index 6f34a681..85455ab4 100644 --- a/src/extra/autocompletionUsers/wx_manage.py +++ b/src/extra/autocompletionUsers/wx_manage.py @@ -13,8 +13,8 @@ class autocompletionManageDialog(widgetUtils.BaseDialog): self.users = widgets.list(panel, _(u"Username"), _(u"Name"), style=wx.LC_REPORT) sizer.Add(label, 0, wx.ALL, 5) sizer.Add(self.users.list, 0, wx.ALL, 5) - self.add = wx.Button(panel, -1, _(u"Add user")) - self.remove = wx.Button(panel, -1, _(u"Remove user")) + self.add = wx.Button(panel, -1, _(u"&Add user")) + self.remove = wx.Button(panel, -1, _(u"&Remove user")) optionsBox = wx.BoxSizer(wx.HORIZONTAL) optionsBox.Add(self.add, 0, wx.ALL, 5) optionsBox.Add(self.remove, 0, wx.ALL, 5) diff --git a/src/wxUI/view.py b/src/wxUI/view.py index fd76c891..25daa1a2 100644 --- a/src/wxUI/view.py +++ b/src/wxUI/view.py @@ -19,7 +19,7 @@ class mainFrame(wx.Frame): self.menuitem_search = self.menubar_application.Append(wx.ID_ANY, _(u"&Search")) self.lists = self.menubar_application.Append(wx.ID_ANY, _(u"&Lists manager")) self.lists.Enable(False) - self.manageAliases = self.menubar_application.Append(wx.ID_ANY, _("Manage user aliases")) + self.manageAliases = self.menubar_application.Append(wx.ID_ANY, _("M&anage user aliases")) self.keystroke_editor = self.menubar_application.Append(wx.ID_ANY, _(u"&Edit keystrokes")) self.account_settings = self.menubar_application.Append(wx.ID_ANY, _(u"Account se&ttings")) self.prefs = self.menubar_application.Append(wx.ID_PREFERENCES, _(u"&Global settings")) @@ -56,7 +56,7 @@ class mainFrame(wx.Frame): self.trends = self.menubar_buffer.Append(wx.ID_ANY, _(u"New &trending topics buffer...")) self.filter = self.menubar_buffer.Append(wx.ID_ANY, _(u"Create a &filter")) self.manage_filters = self.menubar_buffer.Append(wx.ID_ANY, _(u"&Manage filters")) - self.find = self.menubar_buffer.Append(wx.ID_ANY, _(u"Find a string in the currently focused buffer...")) + self.find = self.menubar_buffer.Append(wx.ID_ANY, _(u"F&ind a string in the currently focused buffer...")) self.load_previous_items = self.menubar_buffer.Append(wx.ID_ANY, _(u"&Load previous items")) self.menubar_buffer.AppendSeparator() self.mute_buffer = self.menubar_buffer.AppendCheckItem(wx.ID_ANY, _(u"&Mute")) @@ -66,8 +66,8 @@ class mainFrame(wx.Frame): # audio menu self.menubar_audio = wx.Menu() - self.seekLeft = self.menubar_audio.Append(wx.ID_ANY, _(u"&Seek back 5 seconds")) - self.seekRight = self.menubar_audio.Append(wx.ID_ANY, _(u"&Seek forward 5 seconds")) + self.seekLeft = self.menubar_audio.Append(wx.ID_ANY, _(u"Seek &back 5 seconds")) + self.seekRight = self.menubar_audio.Append(wx.ID_ANY, _(u"Seek &forward 5 seconds")) # Help Menu self.menubar_help = wx.Menu() From b1bf2ea95ff31d0c1f2b1a4352de5a954662c793 Mon Sep 17 00:00:00 2001 From: Mohamed Date: Mon, 20 Oct 2025 17:17:34 -0400 Subject: [PATCH 2/2] Updated shortcut for Bot account so it's not the same as bio. Also updated shortcut for posts --- src/wxUI/dialogs/mastodon/showUserProfile.py | 4 ++-- src/wxUI/dialogs/mastodon/updateProfile.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wxUI/dialogs/mastodon/showUserProfile.py b/src/wxUI/dialogs/mastodon/showUserProfile.py index c40f8035..b79887c8 100644 --- a/src/wxUI/dialogs/mastodon/showUserProfile.py +++ b/src/wxUI/dialogs/mastodon/showUserProfile.py @@ -141,7 +141,7 @@ class ShowUserProfile(wx.Dialog): mainSizer.Add(privateSizer, 0, wx.ALL | wx.CENTER) botSizer = wx.BoxSizer(wx.HORIZONTAL) - botLabel = wx.StaticText(self.panel, label=_("&Bot account: ")) + botLabel = wx.StaticText(self.panel, label=_("B&ot account: ")) botText = self.createTextCtrl(bullSwitch[user.bot], (30, 30)) botSizer.Add(botLabel, wx.SizerFlags().Center()) botSizer.Add(botText, wx.SizerFlags().Center()) @@ -154,7 +154,7 @@ class ShowUserProfile(wx.Dialog): discoverSizer.Add(discoverText, wx.SizerFlags().Center()) mainSizer.Add(discoverSizer, 0, wx.ALL | wx.CENTER) - posts = wx.Button(self.panel, label=_("{} p&osts. Click to open posts timeline").format(user.statuses_count)) + posts = wx.Button(self.panel, label=_("{} pos&ts. Click to open posts timeline").format(user.statuses_count)) # posts.SetToolTip(_("Click to open {}'s posts").format(user.display_name)) posts.Bind(wx.EVT_BUTTON, self.onPost) mainSizer.Add(posts, wx.SizerFlags().Center()) diff --git a/src/wxUI/dialogs/mastodon/updateProfile.py b/src/wxUI/dialogs/mastodon/updateProfile.py index 57852f63..9bbd46ef 100644 --- a/src/wxUI/dialogs/mastodon/updateProfile.py +++ b/src/wxUI/dialogs/mastodon/updateProfile.py @@ -119,7 +119,7 @@ class UpdateProfileDialog(wx.Dialog): self.locked = wx.CheckBox(panel, label=_("&Private account")) self.locked.SetValue(locked) - self.bot = wx.CheckBox(panel, label=_("&Bot account")) + self.bot = wx.CheckBox(panel, label=_("B&ot account")) self.bot.SetValue(bot) self.discoverable = wx.CheckBox(panel, label=_("&Discoverable account")) self.discoverable.SetValue(discoverable)