Commit a9aad0c8 authored by Ludovic Fauvet's avatar Ludovic Fauvet

add missing tr()

parent cb0dcde0
...@@ -50,7 +50,7 @@ RendererSettings::selectOutputFileName() ...@@ -50,7 +50,7 @@ RendererSettings::selectOutputFileName()
{ {
QString outputFileName = QString outputFileName =
QFileDialog::getSaveFileName( NULL, tr ( "Enter the output file name" ), 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 ); m_ui.outputFileName->setText( outputFileName );
} }
...@@ -60,8 +60,8 @@ RendererSettings::accept() ...@@ -60,8 +60,8 @@ RendererSettings::accept()
if ( width() <= 0 || height() <= 0 || outputFileName().isEmpty() == true || if ( width() <= 0 || height() <= 0 || outputFileName().isEmpty() == true ||
fps() <= .0f ) fps() <= .0f )
{ {
QMessageBox::warning( this, "Invalid parameters", QMessageBox::warning( this, tr( "Invalid parameters" ),
"Please enter valid rendering parameters" ); tr( "Please enter valid rendering parameters" ) );
} }
else else
QDialog::accept(); QDialog::accept();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment