mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
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:
parent
ed1294d668
commit
5e012366ab
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue