[vlc-devel] [PATCH] qt: ConvertDialog translation

Pierre Lamot pierre at videolabs.io
Wed Nov 29 12:01:55 CET 2017


---
 modules/gui/qt/dialogs/convert.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/gui/qt/dialogs/convert.cpp b/modules/gui/qt/dialogs/convert.cpp
index 88aa8e37c9..1c7b1a85ed 100644
--- a/modules/gui/qt/dialogs/convert.cpp
+++ b/modules/gui/qt/dialogs/convert.cpp
@@ -55,7 +55,7 @@ ConvertDialog::ConvertDialog( QWidget *parent, intf_thread_t *_p_intf,
     }
     else
     {
-        inputBox->setMRL("Multiple files selected.");
+        inputBox->setMRL( qtr( "Multiple files selected." ) );
     }
     mainLayout->addWidget( inputBox, 0, 0, 1, -1  );
 
@@ -83,10 +83,10 @@ ConvertDialog::ConvertDialog( QWidget *parent, intf_thread_t *_p_intf,
     // but multiple files follow a naming convention
     else
     {
-        fileLine->setText("Multiple Files Selected.");
+        fileLine->setText( qtr( "Multiple Files Selected." ) );
         fileLine->setReadOnly(true);
-        fileLine->setToolTip("Files will be placed in the same directory "
-                "with the same name.");
+        fileLine->setToolTip( qtr( "Files will be placed in the same directory "
+                "with the same name." ) );
 
         appendBox = new QCheckBox( qtr( "Append '-converted' to filename" ) );
         destLayout->addWidget( appendBox, 1, 0 );
-- 
2.14.1



More information about the vlc-devel mailing list