summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-04 16:27:44 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-04 16:27:44 +0100
commitec9e3908345fd01db9df7096239394c419ad6a5c (patch)
tree9540281ba60e520c5edb8949dc38766aae1b72ad /src
parentrekonq 0.3.34 (diff)
parenti18n fixes (diff)
downloadrekonq-ec9e3908345fd01db9df7096239394c419ad6a5c.tar.xz
Merge commit 'refs/merge-requests/85' of git://gitorious.org/rekonq/mainline
Diffstat (limited to 'src')
-rw-r--r--src/protocolhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocolhandler.cpp b/src/protocolhandler.cpp
index cd75d06f..c90afd19 100644
--- a/src/protocolhandler.cpp
+++ b/src/protocolhandler.cpp
@@ -199,13 +199,13 @@ QString ProtocolHandler::dirHandling(const KFileItemList &list)
if (mainItem.isNull())
{
- QString errStr = i18n("Error opening: %1: No such file or directory", rootUrl.prettyUrl() );
+ QString errStr = i18nc("%1=an URL", "Error opening '%1': No such file or directory.", rootUrl.prettyUrl() );
return errStr;
}
if (!mainItem.isReadable())
{
- QString errStr = i18n("Unable to read %1", rootUrl.prettyUrl() );
+ QString errStr = i18nc("%1=an URL", "Unable to read %1", rootUrl.prettyUrl() );
return errStr;
}
@@ -220,7 +220,7 @@ QString ProtocolHandler::dirHandling(const KFileItemList &list)
}
QString title = _url.prettyUrl();
- QString msg = "<h1>" + i18n("Index of ") + _url.prettyUrl() + "</h1>";
+ QString msg = i18nc("%1=an URL", "<h1>Index of %1</h1>", _url.prettyUrl());
if(rootUrl.cd(".."))