1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-22 08:49:42 +01:00

* Fixed un-tr()'d strings.

This commit is contained in:
Christian Muehlhaeuser 2012-05-26 17:20:04 +02:00
parent d846c8a693
commit bd9a1aab8e

@ -190,13 +190,13 @@ SourceTreeView::setupMenus()
QAction *copyPlaylistAction = m_playlistMenu.addAction( tr( "&Copy Link" ) );
QAction *deletePlaylistAction = m_playlistMenu.addAction( tr( "&Delete %1" ).arg( SourcesModel::rowTypeToString( type ) ) );
QString addToText = QString( "Add to my %1" );
QString addToText = tr( "Add to my %1" );
if ( type == SourcesModel::StaticPlaylist )
addToText = addToText.arg( "playlists" );
addToText = addToText.arg( tr( "playlists" ) );
if ( type == SourcesModel::AutomaticPlaylist )
addToText = addToText.arg( "Automatic Playlists" );
addToText = addToText.arg( tr( "Automatic Playlists" ) );
else if ( type == SourcesModel::Station )
addToText = addToText.arg( "Stations" );
addToText = addToText.arg( tr( "Stations" ) );
QAction *addToLocalAction = m_roPlaylistMenu.addAction( tr( addToText.toUtf8(), "Adds the given playlist, dynamic playlist, or station to the users's own list" ) );
@ -226,7 +226,6 @@ SourceTreeView::setupMenus()
}
}
if ( type == SourcesModel::StaticPlaylist )
copyPlaylistAction->setText( tr( "&Export Playlist" ) );