diff options
author | Panagiotis Papadopoulos <pano_90@gmx.net> | 2010-02-02 23:08:00 +0100 |
---|---|---|
committer | Panagiotis Papadopoulos <pano_90@gmx.net> | 2010-02-02 23:08:00 +0100 |
commit | efb1229f91170e3b372978adbca96c40d9d3dd49 (patch) | |
tree | 6ea98978640ca2720ee1ea13f7910015f4401695 /src | |
parent | upgrading RULES files and applying loadUrl fix: "double quotes (diff) | |
download | rekonq-efb1229f91170e3b372978adbca96c40d9d3dd49.tar.xz |
i18n fixes
Add some context to the strings, and fix one string
Diffstat (limited to 'src')
-rw-r--r-- | src/protocolhandler.cpp | 6 |
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("..")) |