Keep string translatable

(In french, one may want to add a space before the colon.
Other languages may want to change the order)

Also use the two argument version of arg() to avoid issues if the first
string contains a '%1' sign
This commit is contained in:
Olivier Goffart 2014-03-06 15:01:34 +01:00
parent ed1294d668
commit 5e012366ab

View file

@ -310,7 +310,7 @@ void Folder::bubbleUpSyncResult()
foreach (const SyncFileItem &item, _syncResult.syncFileItemVector() ) {
if( item._status == SyncFileItem::FatalError || item._status == SyncFileItem::NormalError ) {
slotCSyncError( QString::fromLatin1("%1: %2").arg(item._file).arg(item._errorString) );
slotCSyncError( tr("%1: %2").arg(item._file, item._errorString) );
logger->postOptionalGuiLog(item._file, item._errorString);
} else {