[vlc-devel] commit: qt4: i18n fixes (Eric Lassauge )

git version control git at videolan.org
Wed Apr 8 02:31:51 CEST 2009


vlc | branch: master | Eric Lassauge <lassauge at users.sourceforge.net> | Wed Apr  8 00:51:03 2009 +0100| [58efdeb9564ec85be251a8c62e42be53192c9208] | committer: Christophe Mutricy 

qt4: i18n fixes

Signed-off-by: Christophe Mutricy <xtophe at videolan.org>

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

 modules/gui/qt4/components/open_panels.cpp |    2 +-
 modules/gui/qt4/dialogs/sout.cpp           |    4 ++--
 modules/gui/qt4/dialogs/toolbar.cpp        |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index a5c8e8d..0cbb871 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -271,7 +271,7 @@ DiscOpenPanel::DiscOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
     b_firstcdda = true;
 
     ui.browseDiscButton->setToolTip( qtr( I_DEVICE_TOOLTIP ));
-    ui.deviceCombo->setToolTip( I_DEVICE_TOOLTIP );
+    ui.deviceCombo->setToolTip( qtr(I_DEVICE_TOOLTIP) );
 
 #ifdef WIN32 /* Disc drives probing for Windows */
     char szDrives[512];
diff --git a/modules/gui/qt4/dialogs/sout.cpp b/modules/gui/qt4/dialogs/sout.cpp
index d7a44f5..ae56c2a 100644
--- a/modules/gui/qt4/dialogs/sout.cpp
+++ b/modules/gui/qt4/dialogs/sout.cpp
@@ -43,12 +43,12 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf, const QString&
     /* UI stuff */
     ui.setupUi( this );
     ui.inputBox->setMRL( inputMRL );
-    ui.helpEdit->setPlainText( "This dialog will allow you to stream or "
+    ui.helpEdit->setPlainText( qtr("This dialog will allow you to stream or "
             "convert your media for use locally, on your private network, "
             "or on the Internet.\n"
             "You should start by checking that source matches what you want "
             "your input to be and then press the \"Next\" "
-            "button to continue.\n" );
+            "button to continue.\n") );
 
     ui.mrlEdit->setToolTip ( qtr( "Stream output string.\n"
                 "This is automatically generated "
diff --git a/modules/gui/qt4/dialogs/toolbar.cpp b/modules/gui/qt4/dialogs/toolbar.cpp
index 4755c29..1d2bb2f 100644
--- a/modules/gui/qt4/dialogs/toolbar.cpp
+++ b/modules/gui/qt4/dialogs/toolbar.cpp
@@ -346,7 +346,7 @@ WidgetListing::WidgetListing( intf_thread_t *p_intf, QWidget *_parent )
         case VOLUME_SPECIAL:
             {
                 QListWidgetItem *widgetItem = new QListWidgetItem( this );
-                widgetItem->setText( "Small Volume" );
+                widgetItem->setText( qtr("Small Volume") );
                 widgetItem->setIcon( QIcon( ":/volume-medium" ) );
                 widgetItem->setData( Qt::UserRole, QVariant( i ) );
                 addItem( widgetItem );




More information about the vlc-devel mailing list