From 43d4fc732abb294a89127ce55b80d7f78fd606c7 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Fri, 7 Jun 2013 09:54:38 +0200 Subject: i18n fixes - remove string puzzles when possible - remove exclamation marks - remove contractions ("don't" -> "do not", etc) - lowercase "NOT" (do not shout to the user) - remove extra spaces, or add them where needed - few style/spelling fixes --- src/history/historymodels.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/history/historymodels.cpp') diff --git a/src/history/historymodels.cpp b/src/history/historymodels.cpp index 76b504d3..3c846d2f 100644 --- a/src/history/historymodels.cpp +++ b/src/history/historymodels.cpp @@ -155,9 +155,9 @@ QVariant HistoryModel::data(const QModelIndex &index, int role) const int visitCount = item.visitCount; tooltip += QL1S("
") + item.url + QL1S("
"); tooltip += QL1S("
"); - tooltip += i18n("First Visit: ") + firstVisit + QL1S("
"); - tooltip += i18n("Last Visit: ") + lastVisit + QL1S("
"); - tooltip += i18n("Number of Visits: ") + QString::number(visitCount); + tooltip += i18n("First Visit: %1", firstVisit) + QL1S("
"); + tooltip += i18n("Last Visit: %1", lastVisit) + QL1S("
"); + tooltip += i18n("Number of Visits: %1", QString::number(visitCount)); return tooltip; } -- cgit v1.2.1