Merge pull request #1870 from M374LX/templatemsg

Use the word "template" instead of "project" when appropriate
This commit is contained in:
Tres Finocchiaro
2015-03-13 12:42:26 +00:00

View File

@@ -856,9 +856,12 @@ void DataFile::loadData( const QByteArray & _data, const QString & _sourceFile )
QMessageBox::information( NULL,
SongEditor::tr( "Project Version Mismatch" ),
SongEditor::tr(
"This project was created with "
"LMMS version %1, but version %2 "
"This %1 was created with "
"LMMS version %2, but version %3 "
"is installed")
.arg( _sourceFile.endsWith( ".mpt" ) ?
"template" :
"project" )
.arg( root.attribute( "creatorversion" ) )
.arg( LMMS_VERSION ) );
}