Commit a9aad0c8 authored by Ludovic Fauvet's avatar Ludovic Fauvet

add missing tr()

parent cb0dcde0
......@@ -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();
......
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