Git commit b9ea8b377a1004778a3061cf6f626bc10b673237 by Bart Cerneels. Committed on 16/11/2011 at 10:07. Pushed by shanachie into branch 'master'. Fix build due to wrong translation use. CCMAIL:kde-i18n-doc@kde.org M +7 -9 src/core-impl/collections/umscollection/UmsCollectionLocatio= n.cpp http://commits.kde.org/amarok/b9ea8b377a1004778a3061cf6f626bc10b673237 diff --git a/src/core-impl/collections/umscollection/UmsCollectionLocation.= cpp b/src/core-impl/collections/umscollection/UmsCollectionLocation.cpp index 395d272..fd7df8c 100644 --- a/src/core-impl/collections/umscollection/UmsCollectionLocation.cpp +++ b/src/core-impl/collections/umscollection/UmsCollectionLocation.cpp @@ -103,9 +103,8 @@ UmsCollectionLocation::copyUrlsToCollection( const QMap= &s = //TODO: disable scanning until we are done with copying = - QString loggerText =3D i18np( "Copying one track to %2", "Copying %1 t= racks to %2" ) - .arg( sources.count() ) - .arg( m_umsCollection->prettyName() ); + QString loggerText =3D i18np( "Copying one track to %2", "Copying %1 t= racks to %2", + sources.count(), m_umsCollection->prettyN= ame() ); UmsTransferJob *transferJob =3D new UmsTransferJob( this ); QMapIterator i( sources ); while( i.hasNext() ) @@ -142,9 +141,8 @@ UmsCollectionLocation::removeUrlsFromCollection( const = Meta::TrackList &sources sourceUrls << track->playableUrl(); = QString loggerText =3D i18np( "Removing one track from %2", - "Removing %1 tracks from %2" ) - .arg( sourceUrls.count() ) - .arg( m_umsCollection->prettyName() ); + "Removing %1 tracks from %2", sourceUrls.c= ount(), + m_umsCollection->prettyName() ); KIO::DeleteJob *delJob =3D KIO::del( sourceUrls, KIO::HideProgressInfo= ); //TODO: make cancelable. Amarok::Components::logger()->newProgressOperation( delJob, loggerText= ); @@ -197,9 +195,9 @@ UmsTransferJob::startNextJob() KIO::HideProgressInfo ); connect( job, SIGNAL(percent( KJob *, unsigned long )), SLOT(slotChildJobPercent( KJob *, unsigned long )) ); - QString loggerText =3D i18n( "Copying one track to %2", "Copying %1 tr= acks to %2" ) - .arg( m_transferList.count() ) - .arg( m_location->umsCollection()->prettyN= ame() ); + QString loggerText =3D i18np( "Copying one track to %2", "Copying %1 t= racks to %2", + m_transferList.count(), + m_location->umsCollection()->prettyName() = ); emit infoMessage( this, loggerText, loggerText ); addSubjob( job ); }