Use the word "template" instead of "project" when appropriate

This commit is contained in:
M374LX
2015-03-12 23:11:21 -03:00
parent 19197d3481
commit 9a8700cfae

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 ) );
}