From 2c9ea8dd8a766c1518d2d09e711bde3d7e52270e Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 1 May 2009 01:44:22 +0200 Subject: i18n plural bugs. Courtesy patch of Kristol Baf --- src/history.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/history.cpp') diff --git a/src/history.cpp b/src/history.cpp index ee21a8f2..afcb477a 100644 --- a/src/history.cpp +++ b/src/history.cpp @@ -1177,7 +1177,7 @@ QVariant HistoryTreeModel::data(const QModelIndex &index, int role) const } if (index.column() == 1) { - return QString::number(rowCount(index.sibling(index.row(), 0))) + i18n(" items") ; + return i18np("1 item", "%1 items", rowCount(index.sibling(index.row(), 0))); } } } -- cgit v1.2.1