Skip to content

Commit

Permalink
Main Dialog: small fixes in labels about shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
aaclause committed Dec 28, 2023
1 parent 9b5cfde commit ce376fa
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions addon/globalPlugins/openai/maindialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,14 +636,14 @@ def __init__(

self.recordBtn = wx.Button(
parent=self,
label=_("Start &recording") + " (ctrl+r)"
label=_("Start &recording") + " (Ctrl+R)"
)
self.recordBtn.Bind(wx.EVT_BUTTON, self.onRecord)
self.recordBtn.SetToolTip(_("Record audio from microphone"))

self.transcribeFromFileBtn = wx.Button(
parent=self,
label=_("Transcribe from &audio file") + " (ctrl+shift+r)"
label=_("Transcribe from &audio file") + " (Ctrl+Shift+R)"
)
self.transcribeFromFileBtn.Bind(wx.EVT_BUTTON, self.onRecordFromFilePath)
self.transcribeFromFileBtn.SetToolTip(_("Transcribe audio from a file path"))
Expand All @@ -657,7 +657,7 @@ def __init__(

self.TTSBtn = wx.Button(
parent=self,
label=_("&Vocalize the prompt") + " (ctrl+t)"
label=_("&Vocalize the prompt") + " (Ctrl+T)"
)
self.TTSBtn.Bind(wx.EVT_BUTTON, self.onTextToSpeech)

Expand Down Expand Up @@ -912,7 +912,7 @@ def OnResult(self, event):

def onCharHook(self, evt):
if self.conf["blockEscapeKey"] and evt.GetKeyCode() == wx.WXK_ESCAPE:
self.message(_("Press alt+f4 to close the dialog"))
self.message(_("Press Alt+F4 to close the dialog"))
else:
evt.Skip()

Expand Down Expand Up @@ -1254,10 +1254,10 @@ def onHistoryContextMenu(self, evt):
menu.Append(item_id, _("Say message") + " (M)")
self.Bind(wx.EVT_MENU, self.onCurrentMessage, id=item_id)
item_id = wx.NewIdRef()
menu.Append(item_id, _("Move to previous message") + " (J)")
menu.Append(item_id, _("Move to previous message") + " (j)")
self.Bind(wx.EVT_MENU, self.onPreviousMessage, id=item_id)
item_id = wx.NewIdRef()
menu.Append(item_id, _("Move to next message") + " (K)")
menu.Append(item_id, _("Move to next message") + " (k)")
self.Bind(wx.EVT_MENU, self.onNextMessage, id=item_id)
self.addStandardMenuOptions(menu)
self.historyText.PopupMenu(menu)
Expand All @@ -1283,10 +1283,10 @@ def onImageDescription(self, evt):
"""
menu = wx.Menu()
item_id = wx.NewIdRef()
menu.Append(item_id, _("From f&ile path...") + " (Ctrl+i)")
menu.Append(item_id, _("From f&ile path...") + " (Ctrl+I)")
self.Bind(wx.EVT_MENU, self.onImageDescriptionFromFilePath, id=item_id)
item_id = wx.NewIdRef()
menu.Append(item_id, _("From &URL...") + " (Ctrl+u)")
menu.Append(item_id, _("From &URL...") + " (Ctrl+U)")
self.Bind(wx.EVT_MENU, self.onImageDescriptionFromURL, id=item_id)
self.PopupMenu(menu)
menu.Destroy()
Expand Down Expand Up @@ -1314,10 +1314,10 @@ def onImageListContextMenu(self, evt):
self.Bind(wx.EVT_MENU, self.onRemoveAllImages, id=item_id)
menu.AppendSeparator()
item_id = wx.NewIdRef()
menu.Append(item_id, _("Add from f&ile path...") + " (Ctrl+i)")
menu.Append(item_id, _("Add from f&ile path...") + " (Ctrl+I)")
self.Bind(wx.EVT_MENU, self.onImageDescriptionFromFilePath, id=item_id)
item_id = wx.NewIdRef()
menu.Append(item_id, _("Add from &URL...") + " (Ctrl+u)")
menu.Append(item_id, _("Add from &URL...") + " (Ctrl+U)")
self.Bind(wx.EVT_MENU, self.onImageDescriptionFromURL, id=item_id)
self.PopupMenu(menu)
menu.Destroy()
Expand Down

0 comments on commit ce376fa

Please sign in to comment.