[vlmc-devel] commit: add missing tr() (Ludovic Fauvet )

git at videolan.org git at videolan.org
Sat Mar 20 01:34:53 CET 2010


vlmc | branch: master | Ludovic Fauvet <etix at l0cal.com> | Sat Mar 20 01:03:03 2010 +0100| [a9aad0c877d3f540d205801d4fa98e05a3f4f23b] | committer: Ludovic Fauvet 

add missing tr()

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=a9aad0c877d3f540d205801d4fa98e05a3f4f23b
---

 src/Gui/export/RendererSettings.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Gui/export/RendererSettings.cpp b/src/Gui/export/RendererSettings.cpp
index f242f23..dcc532f 100644
--- a/src/Gui/export/RendererSettings.cpp
+++ b/src/Gui/export/RendererSettings.cpp
@@ -50,7 +50,7 @@ RendererSettings::selectOutputFileName()
 {
     QString outputFileName =
             QFileDialog::getSaveFileName( NULL, tr ( "Enter the output file name" ),
-                                          QDir::currentPath(), "Videos(*.avi *.mpg)" );
+                                          QDir::currentPath(), tr( "Videos(*.avi *.mpg)" ) );
     m_ui.outputFileName->setText( outputFileName );
 }
 
@@ -60,8 +60,8 @@ RendererSettings::accept()
     if ( width() <= 0 || height() <= 0 || outputFileName().isEmpty() == true ||
          fps() <= .0f )
     {
-        QMessageBox::warning( this, "Invalid parameters",
-                              "Please enter valid rendering parameters" );
+        QMessageBox::warning( this, tr( "Invalid parameters" ),
+                              tr( "Please enter valid rendering parameters" ) );
     }
     else
         QDialog::accept();



More information about the Vlmc-devel mailing list