summaryrefslogtreecommitdiff
path: root/core/pim/osearch/doclnkitem.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/osearch/doclnkitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/doclnkitem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/osearch/doclnkitem.cpp b/core/pim/osearch/doclnkitem.cpp
index a1d0384..56eb26a 100644
--- a/core/pim/osearch/doclnkitem.cpp
+++ b/core/pim/osearch/doclnkitem.cpp
@@ -35,9 +35,9 @@ QString DocLnkItem::toRichText()
QString text;
text += "<b><h3>" + _doc->name() + "</b></h3><br>";
text += _doc->comment() + "<br>";
- text += "File: " + _doc->file() + "<br>";
- text += "Link: " + _doc->linkFile() + "<br>";
- text += "Mimetype: " + _doc->type() + "<br>";
+ text += QObject::tr("File: ") + _doc->file() + "<br>";
+ text += QObject::tr("Link: ") + _doc->linkFile() + "<br>";
+ text += QObject::tr("Mimetype: ") + _doc->type() + "<br>";
if ( _doc->type().contains( "text" ) ){
text += "<br><br><hr><br>";
QFile f(_doc->file());