[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: koffice/lib/kofficecore
From:       David Faure <faure () kde ! org>
Date:       2006-03-20 8:09:27
Message-ID: 200603200909.27878.faure () kde ! org
[Download RAW message or body]

On Monday 20 March 2006 00:58, Thomas Zander wrote:
> SVN commit 520458 by zander:
> 
> Fix bug for cases where the path contains a %2 and the error message is pasted in \
> the wrong place This happens in case of users creating a dir with a slash in konq; \
> which ends up being %2f on the filesystem. to i18n teams; All I did was change the \
> %1 and %2 around, sorry for the fuzzy! 
> CCMAIL: kde-i18n-doc@kde.org
> 
> 
> M  +2 -2      KoDocument.cpp  
> 
> 
> --- trunk/koffice/lib/kofficecore/KoDocument.cpp #520457:520458
> @@ -1504,9 +1504,9 @@
> 
> if( d->m_autoErrorHandlingEnabled && !msg.isEmpty())
> {
> -                QString errorMsg( i18n( "Could not open\n%1.\nReason: %2" ) );
> +                QString errorMsg( i18n( "Could not open\n%2.\nReason: %1" ) );
> QString docUrl = url().prettyURL( 0, KURL::StripFileProtocol );
> -                KMessageBox::error( 0L, errorMsg.arg(docUrl).arg(msg) );
> +                KMessageBox::error( 0L, errorMsg.arg(msg).arg(docUrl) );

The right fix was errorMsg.arg(docUrl,msg) ...

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic