[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kaddressbook/xxport
From: Jaroslaw Staniek <js () iidea ! pl>
Date: 2008-03-21 23:35:10
Message-ID: 1206142510.413943.27538.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 788619 by staniek:
switch from <qt> markup to KUIT \
(http://techbase.kde.org/index.php?title=Development/Tutorials/Localization/i18n_Semantics)
for error messages: URLs are nicely printed now
M +6 -4 vcard_xxport.cpp
--- trunk/KDE/kdepim/kaddressbook/xxport/vcard_xxport.cpp #788618:788619
@@ -199,14 +199,16 @@
KIO::NetAccess::removeTempFile( fileName );
} else {
- QString text = i18n( "<qt>When trying to read the vCard, there was an \
error opening the file '%1': %2</qt>",
- (*it).url(),
- i18nc( "QFile", file.errorString().toLatin1() ) );
+ QString text = i18nc( "@info",
+ "<para>When trying to read the vCard, there was an \
error opening the file <filename>%1</filename>:</para>" + \
"<para>%2</para>", + (*it).pathOrUrl(),
+ i18nc( "QFile", file.errorString().toLatin1() ) );
KMessageBox::error( parentWidget(), text, caption );
anyFailures = true;
}
} else {
- QString text = i18n( "<qt>Unable to access vCard: %1</qt>", \
KIO::NetAccess::lastErrorString() ); + QString text = i18nc( "@info", \
"<para>Unable to access vCard:</para><para>%1</para>", \
KIO::NetAccess::lastErrorString() ); KMessageBox::error( parentWidget(), text, \
caption ); anyFailures = true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic