From efb1229f91170e3b372978adbca96c40d9d3dd49 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Tue, 2 Feb 2010 23:08:00 +0100 Subject: i18n fixes Add some context to the strings, and fix one string --- src/protocolhandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 = "

" + i18n("Index of ") + _url.prettyUrl() + "

"; + QString msg = i18nc("%1=an URL", "

Index of %1

", _url.prettyUrl()); if(rootUrl.cd("..")) -- cgit v1.2.1