summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-01 01:44:22 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-01 01:44:22 +0200
commit2c9ea8dd8a766c1518d2d09e711bde3d7e52270e (patch)
tree6081adf1fbeb0bf365a93f5104719293008cfa6c
parentUpdating AUTHORS. (diff)
downloadrekonq-2c9ea8dd8a766c1518d2d09e711bde3d7e52270e.tar.xz
i18n plural bugs. Courtesy patch of Kristol Baf
-rw-r--r--src/history.cpp2
-rw-r--r--src/mainview.cpp2
-rw-r--r--src/mainwindow.cpp2
3 files changed, 3 insertions, 3 deletions
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)));
}
}
}
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 274d15de..bb016872 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -340,7 +340,7 @@ WebView *MainView::newWebView(bool makeCurrent)
if (makeCurrent)
{
- setCurrentWidget(webView); // this method does NOT take owneship of webView
+ setCurrentWidget(webView); // this method does NOT take ownership of webView
}
emit tabsChanged();
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index be2198bd..7ac0125c 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -888,7 +888,7 @@ bool MainWindow::queryClose()
int answer = KMessageBox::questionYesNoCancel(
this,
- i18n("Are you sure you want to close the window?\n" "You have %1 tab(s) open" , m_view->count()),
+ i18n("Are you sure you want to close the window?\n" "You have %1 tabs open" , m_view->count()),
i18n("Are you sure you want to close the window?"),
KStandardGuiItem::quit(),
KGuiItem(i18n("C&lose Current Tab"), KIcon("tab-close")),