[vlc-devel] commit: Previous strategy to not have to translate does not work. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Tue Sep 23 21:26:00 CEST 2008


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Tue Sep 23 10:54:35 2008 -0700| [74f808c336616315a909a663bc115d4488108480] | committer: Jean-Baptiste Kempf 

Previous strategy to not have to translate does not work.
Too bad. See the French translation for contre-exemple.
Menu accelerator fix.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=74f808c336616315a909a663bc115d4488108480
---

 modules/gui/qt4/menus.cpp |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index fb36e6f..c614cb8 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -289,10 +289,12 @@ QMenu *QVLCMenu::FileMenu()
     addDPStaticEntry( menu, qtr( "&Open File..." ), "",
 #ifdef WIN32
         ":/file-asym", SLOT( simpleOpenDialog() ), "Ctrl+O" );
-    addDPStaticEntry( menu, qtr( "Advanced" ) + qtr( "Open File..." ), "",
-#endif
+    addDPStaticEntry( menu, qtr( "Advanced Open File..." ), "",
         ":/file-asym", SLOT( openFileDialog() ), "" );
     addDPStaticEntry( menu, qtr( I_OPEN_FOLDER ), "",
+#else
+    addDPStaticEntry( menu, qtr( I_OPEN_FOLDER ), "Ctrl+O",
+#endif
         ":/folder-grey", SLOT( PLOpenDir() ), "Ctrl+F" );
     addDPStaticEntry( menu, qtr( "Open &Disc..." ), "",
         ":/disc", SLOT( openDiscDialog() ), "Ctrl+D" );




More information about the vlc-devel mailing list