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

List:       kde-i18n-doc
Subject:    [amarok] src/core-impl/collections/umscollection: Fix build due to
From:       Bart Cerneels <bart.cerneels () kde ! org>
Date:       2011-11-16 9:08:32
Message-ID: 20111116090832.98201A60A6 () git ! kde ! org
[Download RAW message or body]

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/UmsCollectionLocation.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<Meta::TrackPtr, KUrl> &s  
     //TODO: disable scanning until we are done with copying
 
-    QString loggerText = i18np( "Copying one track to %2", "Copying %1 \
                tracks to %2" )
-                                .arg( sources.count() )
-                                .arg( m_umsCollection->prettyName() );
+    QString loggerText = i18np( "Copying one track to %2", "Copying %1 \
tracks to %2", +                                 sources.count(), \
m_umsCollection->prettyName() );  UmsTransferJob *transferJob = new \
UmsTransferJob( this );  QMapIterator<Meta::TrackPtr, KUrl> i( sources );
     while( i.hasNext() )
@@ -142,9 +141,8 @@ UmsCollectionLocation::removeUrlsFromCollection( const \
Meta::TrackList &sources  sourceUrls << track->playableUrl();
 
     QString loggerText = i18np( "Removing one track from %2",
-                                "Removing %1 tracks from %2" )
-                                .arg( sourceUrls.count() )
-                                .arg( m_umsCollection->prettyName() );
+                                "Removing %1 tracks from %2", \
sourceUrls.count(), +                                \
                m_umsCollection->prettyName() );
     KIO::DeleteJob *delJob = 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 = i18n( "Copying one track to %2", "Copying %1 \
                tracks to %2" )
-                                .arg( m_transferList.count() )
-                                .arg( \
m_location->umsCollection()->prettyName() ); +    QString loggerText = \
i18np( "Copying one track to %2", "Copying %1 tracks to %2", +              \
m_transferList.count(), +                                \
m_location->umsCollection()->prettyName() );  emit infoMessage( this, \
loggerText, loggerText );  addSubjob( job );
 }


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

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