From 58efdeb9564ec85be251a8c62e42be53192c9208 Mon Sep 17 00:00:00 2001 From: Eric Lassauge Date: Wed, 8 Apr 2009 00:51:03 +0100 Subject: [PATCH] qt4: i18n fixes Signed-off-by: Christophe Mutricy --- 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 a5c8e8dc35..0cbb871306 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 d7a44f59e4..ae56c2a647 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 4755c294e8..1d2bb2f0b8 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 ); -- 2.39.2