Skip to content

Commit

Permalink
Change "Version Control" alt key from _t to _c
Browse files Browse the repository at this point in the history
"_t" conflicts with the Tools menu. Memorizing alt shortcuts is impossible when they are ambiguous.

Coincidentally, the pt_BR translation uses "_t" as well. I did not review the translation to see if either _t or _c was unique there, and left it as-is.
  • Loading branch information
Jonathan.Paugh committed Jul 13, 2019
1 parent 38581af commit 0e3971c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion data/git.menu
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ui>
<menubar>
<menu name="Version Con_trol" action="vcs">
<menu name="Version _Control" action="vcs">
<menuitem name="_Commit" action="GitCommit" />
<menuitem name="_View Log" action="GitViewLog" />
<menuitem name="_Push" action="GitPush" />
Expand Down
2 changes: 1 addition & 1 deletion data/leksah.menu
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
<menuitem name="_Preferences" action="PrefsEdit" />
<separator/>
</menu>
<menu name="Version Con_trol" action="vcs">
<menu name="Version _Control" action="vcs">
</menu>
<menu name="_Help" action="Help">
<menuitem name="_Homepage" action="HelpHomepage" />
Expand Down
2 changes: 1 addition & 1 deletion data/svn.menu
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ui>
<menubar>
<menu name="Version Con_trol" action="vcs">
<menu name="Version _Control" action="vcs">
<menuitem name="_Commit" action="SvnCommit" />
<menuitem name="_View Log" action="SvnViewLog" />
<menuitem name="_Update" action="SvnUpdate" />
Expand Down
2 changes: 1 addition & 1 deletion po/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,7 @@ msgid "Workspace >> workspaceSelect: invalid path"
msgstr ""

#: src/IDE/Command.hs:0
msgid "Version Con_trol"
msgid "Version _Control"
msgstr ""

#: src/IDE/Command.hs:0
Expand Down
2 changes: 1 addition & 1 deletion po/pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ msgid "Workspace >> workspaceSelect: invalid path"
msgstr "Workspace >> workspaceSelect: caminho invaálido"

#: src/IDE/Command.hs:0
msgid "Version Con_trol"
msgid "Version _Control"
msgstr "Con_trole de Versão"

#: src/IDE/Command.hs:0
Expand Down
2 changes: 1 addition & 1 deletion src-gtk/IDE/Utils/GUIUtils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ getRecentFiles = getMenuItem "ui/menubar/_File/Recent Files"


getRecentWorkspaces = getMenuItem "ui/menubar/_File/Recent Workspaces"
getVCS = getMenuItem "ui/menubar/Version Con_trol" --this could fail, try returning Menu if it does
getVCS = getMenuItem "ui/menubar/Version _Control" --this could fail, try returning Menu if it does
-- (toolbar)

stockIdFromType :: DescrType -> Text
Expand Down
2 changes: 1 addition & 1 deletion src/IDE/Command.hs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ printf = S.printf . T.unpack
mkActions :: [ActionDescr IDERef]
mkActions =
[
AD "vcs" (__ "Version Con_trol") Nothing Nothing (return ()) [] False
AD "vcs" (__ "Version _Control") Nothing Nothing (return ()) [] False
,AD "FilePrint" (__ "_Print File") Nothing Nothing filePrint [] False
,AD "File" (__ "_File") Nothing Nothing (return ()) [] False
,AD "FileNew" (__ "_New") Nothing Nothing (return ()) [] False
Expand Down

0 comments on commit 0e3971c

Please sign in to comment.