[vlc-devel] commit: qt: i18n fix (Christophe Mutricy )

git version control git at videolan.org
Sat Jul 26 01:17:19 CEST 2008


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Thu Jul 24 22:50:48 2008 +0100| [5d89e071fa454172fe58621a68a83d4cf2a5c984]

qt: i18n fix

Spotted-by: Cristian Secară

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

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

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index e77f47b..65b3ea0 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -591,7 +591,7 @@ QMenu *QVLCMenu::SDMenu( intf_thread_t *p_intf )
 
         if( !strcmp( *ppsz_name, "podcast" ) )
         {
-            QAction *b = new QAction( qfu( "Configure podcasts..." ), menu );
+            QAction *b = new QAction( qtr( "Configure podcasts..." ), menu );
             //b->setEnabled( a->isChecked() );
             menu->addAction( b );
             CONNECT( b, triggered(), THEDP, podcastConfigureDialog() );
diff --git a/modules/gui/qt4/menus.hpp b/modules/gui/qt4/menus.hpp
index 893a3a4..0120ded 100644
--- a/modules/gui/qt4/menus.hpp
+++ b/modules/gui/qt4/menus.hpp
@@ -32,9 +32,9 @@
 
 /* Folder vs. Directory */
 #if defined( WIN32 ) || defined(__APPLE__)
-#define I_OPEN_FOLDER "Open &Folder..."
+#define I_OPEN_FOLDER N_("Open &Folder...")
 #else
-#define I_OPEN_FOLDER "Open D&irectory..."
+#define I_OPEN_FOLDER N_("Open D&irectory...")
 #endif //WIN32
 
 using namespace std;




More information about the vlc-devel mailing list