From f9aaf921e6760ce6f412855a331851dca076ff1d Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Wed, 26 May 2010 02:04:32 +0200 Subject: Add plural form to the strings BUG: 238810 --- src/bookmarks/bookmarksmanager.cpp | 4 +++- src/history/historypanel.cpp | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/bookmarks/bookmarksmanager.cpp b/src/bookmarks/bookmarksmanager.cpp index 503e1df8..c06375b5 100644 --- a/src/bookmarks/bookmarksmanager.cpp +++ b/src/bookmarks/bookmarksmanager.cpp @@ -100,7 +100,9 @@ void BookmarkOwner::openFolderinTabs(const KBookmarkGroup &bookmark) if (urlList.length() > 8) { if ( !(KMessageBox::warningContinueCancel( Application::instance()->mainWindow(), - i18n("You are about to open %1 tabs.\nAre you sure?", + i18ncp("%1=Number of tabs. Value is always >=8", + "You are about to open %1 tabs.\nAre you sure?", + "You are about to open %1 tabs.\nAre you sure?", QString::number( urlList.length() )) ) == KMessageBox::Continue) ) diff --git a/src/history/historypanel.cpp b/src/history/historypanel.cpp index 65c9de81..28284e0a 100644 --- a/src/history/historypanel.cpp +++ b/src/history/historypanel.cpp @@ -172,7 +172,9 @@ void HistoryPanel::openAll() if (allChild.length() > 8) { if (!(KMessageBox::warningContinueCancel(this, - i18n("You are about to open %1 tabs.\nAre you sure?", + i18ncp("%1=Number of tabs. Value is always >=8", + "You are about to open %1 tabs.\nAre you sure?", + "You are about to open %1 tabs.\nAre you sure?", QString::number(allChild.length()))) == KMessageBox::Continue) ) return; -- cgit v1.2.1