Skip to content

Commit

Permalink
Merge pull request #36 from nemomobile/notif-changes
Browse files Browse the repository at this point in the history
[transfer-engine] Remove exclamation marks from notifications and rem…
  • Loading branch information
blammit committed May 20, 2015
2 parents 3f53013 + e34c975 commit 9ee93e6
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/transferengine.cpp
Expand Up @@ -361,18 +361,17 @@ void TransferEnginePrivate::sendNotification(TransferEngineData::TransferType ty
switch (type) {
case TransferEngineData::Upload:
//: Notification for failed file upload
//% "Upload failed!"
body = qtTrId("transferengine-no-file-upload-failure");
//% "Upload failed"
body = qtTrId("transferengine-la-file_upload_failed");
break;
case TransferEngineData::Download:
//: Notification for failed file download
//% "Download failed!"
body = qtTrId("transferengine-no-file-download-failure");
//% "Download failed"
body = qtTrId("transferengine-la-file_download_failed");
break;
case TransferEngineData::Sync:
//: Notification for sync failure
//% "Sync failed!"
body = qtTrId("transferengine-no-sync-failure");
// no notification required
category.clear();
break;
default:
qWarning() << "TransferEnginePrivate::sendNotification: unknown state";
Expand Down

0 comments on commit 9ee93e6

Please sign in to comment.