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

List:       kde-i18n-doc
Subject:    koffice/lib/kofficecore
From:       Thomas Zander <zander () kde ! org>
Date:       2006-03-19 23:58:50
Message-ID: 1142812730.053991.8438.nullmailer () svn ! kde ! org
[Download RAW message or body]

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) );
             }
 
             d->m_bLoading = false;


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

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