diff options
author | Florian Jung <flo@windfisch.org> | 2011-09-16 14:50:34 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-09-16 14:50:34 +0000 |
commit | 663b022ab88acc47a5df898aa8df10d2e6422ba1 (patch) | |
tree | e808adc272cb15357840c504fa83038ffeed2f91 /muse2/muse/song.cpp | |
parent | cc28402b688bd757a6ffe32f582b0c0c967a677a (diff) |
fixed wrong usages of tr() like:
QString::toNumber(num) + ( num > 1 ? tr("parts") : tr("part")) or
tr("file ")+ filename +tr(" could not be loaded")
and commited scripts to find such errors
Diffstat (limited to 'muse2/muse/song.cpp')
-rw-r--r-- | muse2/muse/song.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/muse2/muse/song.cpp b/muse2/muse/song.cpp index 7adc37f3..29ed7023 100644 --- a/muse2/muse/song.cpp +++ b/muse2/muse/song.cpp @@ -3804,8 +3804,7 @@ void Song::executeScript(const char* scriptfile, PartList* parts, int quant, boo if (myProcess->exitCode()) { QMessageBox::warning(MusEGlobal::muse, tr("MusE - external script failed"), - tr("MusE was unable to launch the script, error message:\n ")+ QString(errStr) - ); + tr("MusE was unable to launch the script, error message:\n%1").arg(QString(errStr))); endUndo(SC_EVENT_REMOVED); return; } |