1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

Fix all Super Collection text strings to SuperCollection

This commit is contained in:
Jason Herskowitz
2012-03-04 22:46:10 -05:00
parent 335868ea95
commit 6dead5e7e1
3 changed files with 7 additions and 7 deletions

View File

@@ -67,14 +67,14 @@ AlbumInfoWidget::AlbumInfoWidget( const Tomahawk::album_ptr& album, ModelMode st
m_button->setCheckable( true ); m_button->setCheckable( true );
m_button->setChecked( m_tracksModel->mode() == InfoSystemMode ); m_button->setChecked( m_tracksModel->mode() == InfoSystemMode );
if ( m_button->isChecked() ) if ( m_button->isChecked() )
m_button->setText( tr( "Click to show Super Collection Tracks" ) ); m_button->setText( tr( "Click to show SuperCollection Tracks" ) );
else else
m_button->setText( tr( "Click to show Official Tracks" ) ); m_button->setText( tr( "Click to show Official Tracks" ) );
m_buttonAlbums = new OverlayButton( ui->albumsView ); m_buttonAlbums = new OverlayButton( ui->albumsView );
m_buttonAlbums->setCheckable( true ); m_buttonAlbums->setCheckable( true );
m_buttonAlbums->setChecked( true ); m_buttonAlbums->setChecked( true );
m_buttonAlbums->setText( tr( "Click to show Super Collection Albums" ) ); m_buttonAlbums->setText( tr( "Click to show SuperCollection Albums" ) );
m_buttonAlbums->show(); m_buttonAlbums->show();
connect( m_button, SIGNAL( clicked() ), SLOT( onModeToggle() ) ); connect( m_button, SIGNAL( clicked() ), SLOT( onModeToggle() ) );
@@ -113,7 +113,7 @@ AlbumInfoWidget::setMode( ModelMode mode )
onModeToggle(); onModeToggle();
if ( mode == InfoSystemMode ) if ( mode == InfoSystemMode )
m_button->setText( tr( "Click to show Super Collection Tracks" ) ); m_button->setText( tr( "Click to show SuperCollection Tracks" ) );
else else
m_button->setText( tr( "Click to show Official Tracks" ) ); m_button->setText( tr( "Click to show Official Tracks" ) );
} }
@@ -131,7 +131,7 @@ void
AlbumInfoWidget::onAlbumsModeToggle() AlbumInfoWidget::onAlbumsModeToggle()
{ {
if ( m_buttonAlbums->isChecked() ) if ( m_buttonAlbums->isChecked() )
m_buttonAlbums->setText( tr( "Click to show Super Collection Albums" ) ); m_buttonAlbums->setText( tr( "Click to show SuperCollection Albums" ) );
else else
m_buttonAlbums->setText( tr( "Click to show Official Albums" ) ); m_buttonAlbums->setText( tr( "Click to show Official Albums" ) );

View File

@@ -82,7 +82,7 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
m_pixmap = TomahawkUtils::defaultPixmap( TomahawkUtils::DefaultArtistImage, TomahawkUtils::ScaledCover, QSize( 48, 48 ) ); m_pixmap = TomahawkUtils::defaultPixmap( TomahawkUtils::DefaultArtistImage, TomahawkUtils::ScaledCover, QSize( 48, 48 ) );
m_button = new OverlayButton( ui->albums ); m_button = new OverlayButton( ui->albums );
m_button->setText( tr( "Click to show Super Collection Albums" ) ); m_button->setText( tr( "Click to show SuperCollection Albums" ) );
m_button->setCheckable( true ); m_button->setCheckable( true );
m_button->setChecked( true ); m_button->setChecked( true );
@@ -121,7 +121,7 @@ ArtistInfoWidget::setMode( ModelMode mode )
onModeToggle(); onModeToggle();
if ( mode == InfoSystemMode ) if ( mode == InfoSystemMode )
m_button->setText( tr( "Click to show Super Collection Albums" ) ); m_button->setText( tr( "Click to show SuperCollection Albums" ) );
else else
m_button->setText( tr( "Click to show Official Albums" ) ); m_button->setText( tr( "Click to show Official Albums" ) );
} }

View File

@@ -124,7 +124,7 @@ SourceItem::source() const
QString QString
SourceItem::text() const SourceItem::text() const
{ {
return m_source.isNull() ? tr( "Super Collection" ) : m_source->friendlyName(); return m_source.isNull() ? tr( "SuperCollection" ) : m_source->friendlyName();
} }