Add more menu accelerators and fix a conflict between View and Video. Patch by catntabile. Closes #1434.

Originally committed to SVN as r6376.
This commit is contained in:
Thomas Goyne 2012-01-27 19:22:57 +00:00
parent d01c0cf501
commit 16db1eb4dd
4 changed files with 6 additions and 6 deletions

View file

@ -299,7 +299,7 @@ struct edit_line_paste_over : public Command {
/// Recombine subtitles when they have been split and merged.
struct edit_line_recombine : public validate_sel_multiple {
CMD_NAME("edit/line/recombine")
STR_MENU("Recombine Lines")
STR_MENU("Recom&bine Lines")
STR_DISP("Recombine Lines")
STR_HELP("Recombine subtitles when they have been split and merged.")

View file

@ -106,7 +106,7 @@ struct video_aspect_cinematic : public validator_video_loaded {
/// Forces video to a custom aspect ratio.
struct video_aspect_custom : public validator_video_loaded {
CMD_NAME("video/aspect/custom")
STR_MENU("Custom...")
STR_MENU("C&ustom...")
STR_DISP("Custom")
STR_HELP("Forces video to a custom aspect ratio.")
CMD_TYPE(COMMAND_VALIDATE | COMMAND_RADIO)

View file

@ -33,7 +33,7 @@
{ "submenu" : "main/video", "text" : "&Video" },
{ "submenu" : "main/audio", "text" : "&Audio" },
{ "special" : "automation", "text" : "A&utomation" },
{ "submenu" : "main/view", "text" : "&View" },
{ "submenu" : "main/view", "text" : "Vie&w" },
{ "submenu" : "main/help", "text" : "&Help", "special" : "help" }
],
"main/file" : [
@ -138,8 +138,8 @@
{ "recent" : "Keyframes" },
{},
{ "command" : "video/detach" },
{ "submenu" : "main/video/set zoom", "text" : "Set Zoom" },
{ "submenu" : "main/video/override ar", "text" : "Override AR" },
{ "submenu" : "main/video/set zoom", "text" : "Set &Zoom" },
{ "submenu" : "main/video/override ar", "text" : "Override &AR" },
{ "command" : "video/show_overscan" },
{},
{ "command" : "video/jump" },

View file

@ -219,7 +219,7 @@ public:
/// @param parent Menu to append the new MRU menu to
void AddRecent(std::string const& name, wxMenu *parent) {
mru.push_back(new MruMenu(name, &items));
parent->AppendSubMenu(mru.back(), _("Recent"));
parent->AppendSubMenu(mru.back(), _("&Recent"));
}
void OnMenuOpen(wxMenuEvent &) {