summaryrefslogtreecommitdiff
path: root/src/history
diff options
context:
space:
mode:
Diffstat (limited to 'src/history')
-rw-r--r--src/history/historymanager.cpp4
-rw-r--r--src/history/historypanel.cpp6
2 files changed, 6 insertions, 4 deletions
diff --git a/src/history/historymanager.cpp b/src/history/historymanager.cpp
index 8a29aa90..c0f87935 100644
--- a/src/history/historymanager.cpp
+++ b/src/history/historymanager.cpp
@@ -468,7 +468,7 @@ void HistoryManager::addDownload(const QString &srcUrl, const QString &destUrl)
QFile downloadFile(downloadFilePath);
if (!downloadFile.open(QFile::WriteOnly | QFile::Append))
{
- kDebug() << "azz...";
+ kDebug() << "Unable to open download file (WRITE mode)..";
return;
}
QDataStream out(&downloadFile);
@@ -487,7 +487,7 @@ DownloadList HistoryManager::downloads()
QFile downloadFile(downloadFilePath);
if (!downloadFile.open(QFile::ReadOnly))
{
- kDebug() << "azz...";
+ kDebug() << "Unable to open download file (READ mode)..";
return list;
}
diff --git a/src/history/historypanel.cpp b/src/history/historypanel.cpp
index c8009afd..d8309eed 100644
--- a/src/history/historypanel.cpp
+++ b/src/history/historypanel.cpp
@@ -172,8 +172,10 @@ void HistoryPanel::openAll()
if (allChild.length() > 8)
{
if (!(KMessageBox::warningContinueCancel(this,
- i18n("You are about to open %1 tabs.\nAre you sure ?",
- QString::number(allChild.length()))) == KMessageBox::Continue)
+ 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?",
+ allChild.length())) == KMessageBox::Continue)
)
return;
}