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

List:       kde-commits
Subject:    extragear/multimedia/amarok/src
From:       Alexandre Pereira de Oliveira <aoliveira () kdemail ! net>
Date:       2007-02-02 0:16:43
Message-ID: 1170375403.964618.1927.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 629224 by aoliveira:

some i18n[cp]


 M  +1 -1      deletedialog.cpp  
 M  +3 -3      editfilterdialog.cpp  
 M  +2 -2      lastfm.cpp  
 M  +2 -2      metabundle.h  
 M  +5 -5      playlist.cpp  
 M  +1 -1      playlistbrowser.cpp  
 M  +2 -2      podcastsettings.cpp  
 M  +5 -5      statistics.cpp  
 M  +2 -2      tagdialog.cpp  


--- trunk/extragear/multimedia/amarok/src/deletedialog.cpp #629223:629224
@@ -62,7 +62,7 @@
         else
             ddFileList->insertItem( (*it).url() );
     }
-    ddNumFiles->setText(i18n("<b>1</b> file selected.", "<b>%n</b> files selected.", \
files.count())); +    ddNumFiles->setText(i18np("<b>1</b> file selected.", "<b>%n</b> \
files selected.", files.count()));  }
 
 void DeleteWidget::slotShouldDelete(bool shouldDelete)
--- trunk/extragear/multimedia/amarok/src/editfilterdialog.cpp #629223:629224
@@ -75,7 +75,7 @@
     Q3HBoxLayout *keywordLayout = new Q3HBoxLayout( plainPage() );
     QLabel *label3 = new QLabel( i18n("Attribute:"), plainPage(), "label3" );
     Q3WhatsThis::add( label3,
-      i18n("you can translate the keyword as you will do for the combobox",
+      i18nc("you can translate the keyword as you will do for the combobox",
            "<p>Here you can choose to <i>Simple Search</i> directly or to use "
            "some keywords to specify some attributes, such as the artist name "
            "and so on. The keywords selectable are divided by their specific value. \
" @@ -304,13 +304,13 @@
 
     Q3VBoxLayout* ratioLay2 = new Q3VBoxLayout( m_groupBox3, 15, 0 );
 
-    m_checkAND = new QRadioButton( i18n("AND logic condition", "AND"), m_groupBox3, \
"checkAND" ); +    m_checkAND = new QRadioButton( i18nc("AND logic condition", \
"AND"), m_groupBox3, "checkAND" );  QToolTip::add( m_checkAND,
       i18n("<p>Check this box if you want add another condition and you want that \
                the filter "
            "to match both the previous conditions and this new one</p>"));
     ratioLay2->addWidget( m_checkAND );
 
-    m_checkOR = new QRadioButton( i18n("OR logic condition", "OR"), m_groupBox3, \
"checkOR" ); +    m_checkOR = new QRadioButton( i18nc("OR logic condition", "OR"), \
m_groupBox3, "checkOR" );  QToolTip::add( m_checkOR,
       i18n("<p>Check this box if you want add another condition and you want that \
                the filter "
            "to match either the previous conditions or this new one</p>"));
--- trunk/extragear/multimedia/amarok/src/lastfm.cpp #629223:629224
@@ -634,7 +634,7 @@
     http->get( QString( m_basePath + "/control.php?session=%1&command=love&debug=%2" \
                )
                   .arg( m_session )
                   .arg( "0" ) );
-    Amarok::StatusBar::instance()->shortMessage( i18n("love, as in affection", \
"Loving song...") ); +    Amarok::StatusBar::instance()->shortMessage( i18nc("love, \
as in affection", "Loving song...") );  }
 
 
@@ -660,7 +660,7 @@
     http->get( QString( m_basePath + "/control.php?session=%1&command=ban&debug=%2" \
                )
                   .arg( m_session )
                   .arg( "0" ) );
-    Amarok::StatusBar::instance()->shortMessage( i18n("Ban, as in dislike", "Banning \
song...") ); +    Amarok::StatusBar::instance()->shortMessage( i18nc("Ban, as in \
dislike", "Banning song...") );  }
 
 
--- trunk/extragear/multimedia/amarok/src/metabundle.h #629223:629224
@@ -531,9 +531,9 @@
 inline QString MetaBundle::prettySampleRate( bool shortened ) const
     {
         if ( shortened )
-            return prettyGeneric( i18n( "SampleRate", "%1 kHz" ), m_sampleRate / \
1000 ); +            return prettyGeneric( i18nc( "SampleRate", "%1 kHz" ), \
m_sampleRate / 1000 );  else
-            return prettyGeneric( i18n( "SampleRate", "%1 Hz" ), m_sampleRate );
+            return prettyGeneric( i18nc( "SampleRate", "%1 Hz" ), m_sampleRate );
     }
 
 inline QString MetaBundle::zeroPad( uint i ) { return ( i < 10 ) ? QString( "0%1" \
                ).arg( i ) : QString::number( i ); }
--- trunk/extragear/multimedia/amarok/src/playlist.cpp #629223:629224
@@ -535,7 +535,7 @@
             }
         }
         if ( alreadyOnPlaylist )
-            Amarok::StatusBar::instance()->shortMessage( i18n("One track was already \
in the playlist, so it was not added.", "%n tracks were already in the playlist, so \
they were not added.", alreadyOnPlaylist ) ); +            \
Amarok::StatusBar::instance()->shortMessage( i18np("One track was already in the \
playlist, so it was not added.", "%n tracks were already in the playlist, so they \
were not added.", alreadyOnPlaylist ) );  }
 
     insertMediaInternal( list, after, options );
@@ -3871,14 +3871,14 @@
     KMenu fileMenu;
     if( CollectionDB::instance()->isDirInCollection( item->url().directory() ) )
     {
-        fileMenu.insertItem( SmallIconSet( "filesaveas" ), i18n("&Organize File...", \
"&Organize %n Files...", itemCount), ORGANIZE ); +        fileMenu.insertItem( \
SmallIconSet( "filesaveas" ), i18np("&Organize File...", "&Organize %n Files...", \
itemCount), ORGANIZE );  }
     else
     {
-        fileMenu.insertItem( SmallIconSet( "filesaveas" ), i18n("&Copy Track to \
                Collection...", "&Copy %n Tracks to Collection...", itemCount), \
                COPY_TO_COLLECTION );
-        fileMenu.insertItem( SmallIconSet( "filesaveas" ), i18n("&Move Track to \
Collection...", "&Move %n Tracks to Collection...", itemCount), MOVE_TO_COLLECTION ); \
+        fileMenu.insertItem( SmallIconSet( "filesaveas" ), i18np("&Copy Track to \
Collection...", "&Copy %n Tracks to Collection...", itemCount), COPY_TO_COLLECTION ); \
+        fileMenu.insertItem( SmallIconSet( "filesaveas" ), i18np("&Move Track to \
Collection...", "&Move %n Tracks to Collection...", itemCount), MOVE_TO_COLLECTION ); \
                }
-    fileMenu.insertItem( SmallIconSet( Amarok::icon( "remove" ) ), i18n("&Delete \
File...", "&Delete %n Selected Files...", itemCount ), this, SLOT( \
deleteSelectedFiles() ), Qt::SHIFT+Qt::Key_Delete, DELETE ); +    \
fileMenu.insertItem( SmallIconSet( Amarok::icon( "remove" ) ), i18np("&Delete \
File...", "&Delete %n Selected Files...", itemCount ), this, SLOT( \
                deleteSelectedFiles() ), Qt::SHIFT+Qt::Key_Delete, DELETE );
     popup.insertItem( SmallIconSet( Amarok::icon( "files" ) ), i18n("Manage \
&Files"), &fileMenu, FILE_MENU );  
     if( itemCount == 1 )
--- trunk/extragear/multimedia/amarok/src/playlistbrowser.cpp #629223:629224
@@ -1334,7 +1334,7 @@
     if( selected.count() == 1 )
         selected.getFirst()->configure();
     else
-        configurePodcasts( selected, i18n("1 Podcast", "%n Podcasts", \
selected.count() ) ); +        configurePodcasts( selected, i18np("1 Podcast", "%n \
Podcasts", selected.count() ) );  
     if( m_podcastItemsToScan.isEmpty() )
         m_podcastTimer->stop();
--- trunk/extragear/multimedia/amarok/src/podcastsettings.cpp #629223:629224
@@ -65,7 +65,7 @@
 }
 
 PodcastSettingsDialog::PodcastSettingsDialog( PodcastSettings *settings, QWidget* \
                parent )
-                            : KDialogBase(  parent, 0, true, i18n("change options", \
"Configure %1").arg( settings->m_title ) +                            : KDialogBase(  \
                parent, 0, true, i18nc("change options", "Configure %1").arg( \
                settings->m_title )
                             , KDialogBase::User1|KDialogBase::Ok|KDialogBase::Cancel
                             , KDialogBase::Ok, true
                             , KGuiItem(i18n("Reset"), "reset" ) )
@@ -76,7 +76,7 @@
 }
 
 PodcastSettingsDialog::PodcastSettingsDialog( const Q3PtrList<PodcastSettings> \
                &list, const QString &caption, QWidget* parent )
-    : KDialogBase(  parent, 0, true, i18n("change options", "Configure %1").arg( \
caption ) +    : KDialogBase(  parent, 0, true, i18nc("change options", "Configure \
%1").arg( caption )  , KDialogBase::User1|KDialogBase::Ok|KDialogBase::Cancel
                     , KDialogBase::Ok, true
                     , KGuiItem(i18n("Reset"), "reset" ) )
--- trunk/extragear/multimedia/amarok/src/statistics.cpp #629223:629224
@@ -226,14 +226,14 @@
     a = qb.run();
 
     m_trackItem = new StatisticsItem( i18n("Favorite Tracks"), this, 0 );
-    m_trackItem->setSubtext( i18n("%n track", "%n tracks", a[0].toInt()) );
+    m_trackItem->setSubtext( i18np("%n track", "%n tracks", a[0].toInt()) );
 
     qb.clear();
     qb.addReturnFunctionValue( QueryBuilder::funcSum, QueryBuilder::tabStats, \
QueryBuilder::valPlayCounter );  a = qb.run();
 
     m_mostplayedItem = new StatisticsItem( i18n("Most Played Tracks"), this, \
                m_trackItem );
-    m_mostplayedItem->setSubtext( i18n("%n play", "%n plays", a[0].toInt()) );
+    m_mostplayedItem->setSubtext( i18np("%n play", "%n plays", a[0].toInt()) );
 
     qb.clear();
     //qb.addReturnFunctionValue( QueryBuilder::funcCount, QueryBuilder::tabArtist, \
QueryBuilder::valID ); @@ -245,7 +245,7 @@
     a = QString::number( qb.run().count() );
 
     m_artistItem = new StatisticsItem( i18n("Favorite Artists"), this, \
                m_mostplayedItem );
-    m_artistItem->setSubtext( i18n("%n artist", "%n artists", a[0].toInt()) );
+    m_artistItem->setSubtext( i18np("%n artist", "%n artists", a[0].toInt()) );
 
     qb.clear();
     //qb.addReturnFunctionValue( QueryBuilder::funcCount, QueryBuilder::tabAlbum, \
QueryBuilder::valID ); @@ -257,7 +257,7 @@
     a = QString::number( qb.run().count() );
 
     m_albumItem = new StatisticsItem( i18n("Favorite Albums"), this, m_artistItem );
-    m_albumItem->setSubtext( i18n("%n album", "%n albums", a[0].toInt()) );
+    m_albumItem->setSubtext( i18np("%n album", "%n albums", a[0].toInt()) );
 
     qb.clear();
     //qb.addReturnFunctionValue( QueryBuilder::funcCount, QueryBuilder::tabGenre, \
QueryBuilder::valID ); @@ -269,7 +269,7 @@
     a = QString::number( qb.run().count() );
 
     m_genreItem = new StatisticsItem( i18n("Favorite Genres"), this, m_albumItem );
-    m_genreItem->setSubtext( i18n("%n genre", "%n genres", a[0].toInt()) );
+    m_genreItem->setSubtext( i18np("%n genre", "%n genres", a[0].toInt()) );
 
     qb.clear();
     qb.addReturnFunctionValue( QueryBuilder::funcMin, QueryBuilder::tabStats, \
                QueryBuilder::valCreateDate );
--- trunk/extragear/multimedia/amarok/src/tagdialog.cpp #629223:629224
@@ -691,7 +691,7 @@
     summaryText += body2cols.arg( i18n("Playcount"), QString::number( \
m_bundle.playCount() ) );  summaryText += body2cols.arg( i18n("First Played"),
                    m_bundle.playCount() ? KGlobal::locale()->formatDate( \
CollectionDB::instance()->getFirstPlay( m_bundle.url().path() ).date() , true ) : \
                i18n("Never") );
-    summaryText += body2cols.arg( i18n("a single item (singular)", "Last Played"),
+    summaryText += body2cols.arg( i18nc("a single item (singular)", "Last Played"),
                    m_bundle.playCount() ? KGlobal::locale()->formatDate( \
CollectionDB::instance()->getLastPlay( m_bundle.url().path() ).date() , true ) : \
i18n("Never") );  
     summaryText += "</table></td></tr></table>";
@@ -824,7 +824,7 @@
 TagDialog::readMultipleTracks()
 {
 
-    setCaption( KInstance::makeStandardCaption( i18n("1 Track", "Information for %n \
Tracks", m_urlList.count()) ) ); +    setCaption( KInstance::makeStandardCaption( \
i18np("1 Track", "Information for %n Tracks", m_urlList.count()) ) );  
     //Check which fields are the same for all selected tracks
     const KUrl::List::ConstIterator end = m_urlList.end();


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

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