Tr()-fixes.

This commit is contained in:
Friedemann Kleint
2010-02-26 14:18:47 +01:00
parent 37ec59f96c
commit c0a68f53c3
10 changed files with 17 additions and 19 deletions

View File

@@ -139,7 +139,7 @@ void AbstractMaemoRunControl::deployProcessFinished()
if (success) {
emit addToOutputWindow(this, tr("Deployment finished."));
} else {
emit error(this, tr("Deployment failed: ") % sshDeployer->error());
emit error(this, tr("Deployment failed: %1").arg(sshDeployer->error()));
m_progress.reportCanceled();
}
m_progress.reportFinished();
@@ -244,8 +244,7 @@ void MaemoRunControl::executionFinished()
if (stoppedByUser) {
emit addToOutputWindow(this, tr("Remote process stopped by user."));
} else if (sshRunner->hasError()) {
emit addToOutputWindow(this, tr("Remote process exited with error: ")
% sshRunner->error());
emit addToOutputWindow(this, tr("Remote process exited with error: %1").arg(sshRunner->error()));
} else {
emit addToOutputWindow(this, tr("Remote process finished successfully."));
}