┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2013-05-12 10:38:22 +0200
committerFrank Reininghaus <[email protected]>2013-05-12 10:38:22 +0200
commit10857727ece9788d91a6ff65b963d7405934048d (patch)
treefca888508317f6b506907326aa8b594f117eb146 /src/panels
parent600166152d857ccfc9df15b25bd1237b74c71d43 (diff)
Make error message translatable
Diffstat (limited to 'src/panels')
-rw-r--r--src/panels/places/placesitemmodel.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/panels/places/placesitemmodel.cpp b/src/panels/places/placesitemmodel.cpp
index caf6b7566..baf6be00e 100644
--- a/src/panels/places/placesitemmodel.cpp
+++ b/src/panels/places/placesitemmodel.cpp
@@ -612,17 +612,13 @@ void PlacesItemModel::slotStorageSetupDone(Solid::ErrorType error,
}
if (error) {
- // TODO: Request message-freeze exception
if (errorData.isValid()) {
- // emit errorMessage(i18nc("@info", "An error occurred while accessing '%1', the system responded: %2",
- // item->text(),
- // errorData.toString()));
- emit errorMessage(QString("An error occurred while accessing '%1', the system responded: %2")
- .arg(item->text()).arg(errorData.toString()));
+ emit errorMessage(i18nc("@info", "An error occurred while accessing '%1', the system responded: %2",
+ item->text(),
+ errorData.toString()));
} else {
- // emit errorMessage(i18nc("@info", "An error occurred while accessing '%1'",
- // item->text()));
- emit errorMessage(QString("An error occurred while accessing '%1'").arg(item->text()));
+ emit errorMessage(i18nc("@info", "An error occurred while accessing '%1'",
+ item->text()));
}
emit storageSetupDone(index, false);
} else {