Commit a09da968 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: Menus updates. Change position and removal of ...

parent ee759771
...@@ -39,15 +39,15 @@ ...@@ -39,15 +39,15 @@
/******************* Menus *****************/ /******************* Menus *****************/
#define I_MENU_INFO N_("Media &Information...") #define I_MENU_INFO N_("Media &Information")
#define I_MENU_CODECINFO N_("&Codec Information...") #define I_MENU_CODECINFO N_("&Codec Information")
#define I_MENU_MSG N_("&Messages...") #define I_MENU_MSG N_("&Messages")
#define I_MENU_EXT N_("&Extended Settings...") #define I_MENU_EXT N_("&Extended Settings")
#define I_MENU_GOTOTIME N_("Go to Specific &Time...") #define I_MENU_GOTOTIME N_("Go to Specific &Time")
#define I_MENU_BOOKMARK N_("&Bookmarks...") #define I_MENU_BOOKMARK N_("&Bookmarks")
#define I_MENU_VLM N_("&VLM Configuration...") #define I_MENU_VLM N_("&VLM Configuration")
#define I_MENU_ABOUT N_("&About...") #define I_MENU_ABOUT N_("&About")
/* Playlist popup */ /* Playlist popup */
#define I_POP_PLAY N_("Play") #define I_POP_PLAY N_("Play")
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
#define I_PL_SEARCH N_("Search") #define I_PL_SEARCH N_("Search")
#define I_PL_FILTER N_("Search Filter") #define I_PL_FILTER N_("Search Filter")
#define I_PL_SD N_("Additional &Sources") #define I_PL_SD N_("&Services Discovery" )
/*************** Preferences *************/ /*************** Preferences *************/
......
...@@ -360,26 +360,30 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf ) ...@@ -360,26 +360,30 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf )
addDPStaticEntry( menu, qtr( I_MENU_EXT ), ":/settings", addDPStaticEntry( menu, qtr( I_MENU_EXT ), ":/settings",
SLOT( extendedDialog() ), "Ctrl+E" ); SLOT( extendedDialog() ), "Ctrl+E" );
addDPStaticEntry( menu, qtr( I_MENU_MSG ),
":/messages", SLOT( messagesDialog() ),
"Ctrl+M" );
addDPStaticEntry( menu, qtr( I_MENU_INFO ) , ":/info", addDPStaticEntry( menu, qtr( I_MENU_INFO ) , ":/info",
SLOT( mediaInfoDialog() ), "Ctrl+I" ); SLOT( mediaInfoDialog() ), "Ctrl+I" );
addDPStaticEntry( menu, qtr( I_MENU_CODECINFO ) , addDPStaticEntry( menu, qtr( I_MENU_CODECINFO ) ,
":/info", SLOT( mediaCodecDialog() ), "Ctrl+J" ); ":/info", SLOT( mediaCodecDialog() ), "Ctrl+J" );
addDPStaticEntry( menu, qtr( I_MENU_BOOKMARK ),"", addDPStaticEntry( menu, qtr( I_MENU_BOOKMARK ),"",
SLOT( bookmarksDialog() ), "Ctrl+B" ); SLOT( bookmarksDialog() ), "Ctrl+B" );
#ifdef ENABLE_VLM #ifdef ENABLE_VLM
addDPStaticEntry( menu, qtr( I_MENU_VLM ), "", SLOT( vlmDialog() ), addDPStaticEntry( menu, qtr( I_MENU_VLM ), "", SLOT( vlmDialog() ),
"Ctrl+W" ); "Ctrl+W" );
#endif #endif
addDPStaticEntry( menu, qtr( I_MENU_MSG ),
":/messages", SLOT( messagesDialog() ),
"Ctrl+M" );
addDPStaticEntry( menu, qtr( "Plu&gins and extensions" ), addDPStaticEntry( menu, qtr( "Plu&gins and extensions" ),
"", SLOT( pluginDialog() ) ); "", SLOT( pluginDialog() ) );
menu->addSeparator(); menu->addSeparator();
addDPStaticEntry( menu, qtr( "Customi&ze Interface..." ), addDPStaticEntry( menu, qtr( "Customi&ze Interface..." ),
":/preferences", SLOT( toolbarDialog() ) ); ":/preferences", SLOT( toolbarDialog() ) );
addDPStaticEntry( menu, qtr( "&Preferences..." ), addDPStaticEntry( menu, qtr( "&Preferences" ),
":/preferences", SLOT( prefsDialog() ), "Ctrl+P" ); ":/preferences", SLOT( prefsDialog() ), "Ctrl+P" );
return menu; return menu;
...@@ -714,7 +718,7 @@ void QVLCMenu::PopupMenuStaticEntries( QMenu *menu ) ...@@ -714,7 +718,7 @@ void QVLCMenu::PopupMenuStaticEntries( QMenu *menu )
menu->addMenu( toolsmenu ); menu->addMenu( toolsmenu );
#endif #endif
QMenu *openmenu = new QMenu( qtr( "Open" ), menu ); QMenu *openmenu = new QMenu( qtr( "Open Media" ), menu );
addDPStaticEntry( openmenu, qtr( "&Open File..." ), addDPStaticEntry( openmenu, qtr( "&Open File..." ),
":/file-asym", SLOT( openFileDialog() ) ); ":/file-asym", SLOT( openFileDialog() ) );
addDPStaticEntry( openmenu, qtr( I_OPEN_FOLDER ), addDPStaticEntry( openmenu, qtr( I_OPEN_FOLDER ),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment