mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
kio: add typo to the possible causes for KIO::ERR_MALFORMED_URL
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
ee59c22250
commit
3f6c5931af
1 changed files with 2 additions and 1 deletions
|
@ -162,7 +162,7 @@ KIO_EXPORT QString KIO::buildErrorString(int errorCode, const QString &errorText
|
||||||
break;
|
break;
|
||||||
case KIO::ERR_UNSUPPORTED_ACTION:
|
case KIO::ERR_UNSUPPORTED_ACTION:
|
||||||
result = errorText;
|
result = errorText;
|
||||||
// result = i18n( "Unsupported action %1" ).arg( errorText );
|
// result = i18n( "Unsupported action %1" ).arg( errorText );
|
||||||
break;
|
break;
|
||||||
case KIO::ERR_IS_DIRECTORY:
|
case KIO::ERR_IS_DIRECTORY:
|
||||||
result = i18n( "%1 is a folder, but a file was expected.", errorText );
|
result = i18n( "%1 is a folder, but a file was expected.", errorText );
|
||||||
|
@ -534,6 +534,7 @@ KIO_EXPORT QByteArray KIO::rawErrorDetail(int errorCode, const QString &errorTex
|
||||||
"formatted. The format of a URL is generally as follows:"
|
"formatted. The format of a URL is generally as follows:"
|
||||||
"<blockquote><strong>protocol://user:password@www.example.org:port/folder/"
|
"<blockquote><strong>protocol://user:password@www.example.org:port/folder/"
|
||||||
"filename.extension?query=value</strong></blockquote>" );
|
"filename.extension?query=value</strong></blockquote>" );
|
||||||
|
causes << cTypo;
|
||||||
solutions << sTypo;
|
solutions << sTypo;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue