mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Made strings translation-friendlier for various languages.
This commit is contained in:
@@ -190,13 +190,13 @@ SourceTreeView::setupMenus()
|
|||||||
QAction *copyPlaylistAction = m_playlistMenu.addAction( tr( "&Copy Link" ) );
|
QAction *copyPlaylistAction = m_playlistMenu.addAction( tr( "&Copy Link" ) );
|
||||||
QAction *deletePlaylistAction = m_playlistMenu.addAction( tr( "&Delete %1" ).arg( SourcesModel::rowTypeToString( type ) ) );
|
QAction *deletePlaylistAction = m_playlistMenu.addAction( tr( "&Delete %1" ).arg( SourcesModel::rowTypeToString( type ) ) );
|
||||||
|
|
||||||
QString addToText = tr( "Add to my %1" );
|
QString addToText;
|
||||||
if ( type == SourcesModel::StaticPlaylist )
|
if ( type == SourcesModel::StaticPlaylist )
|
||||||
addToText = addToText.arg( tr( "playlists" ) );
|
addToText = tr( "Add to my Playlists" );
|
||||||
if ( type == SourcesModel::AutomaticPlaylist )
|
if ( type == SourcesModel::AutomaticPlaylist )
|
||||||
addToText = addToText.arg( tr( "Automatic Playlists" ) );
|
addToText = tr( "Add to my Automatic Playlists" );
|
||||||
else if ( type == SourcesModel::Station )
|
else if ( type == SourcesModel::Station )
|
||||||
addToText = addToText.arg( tr( "Stations" ) );
|
addToText = tr( "Add to my Stations" );
|
||||||
|
|
||||||
QAction *addToLocalAction = m_roPlaylistMenu.addAction( tr( addToText.toUtf8(), "Adds the given playlist, dynamic playlist, or station to the users's own list" ) );
|
QAction *addToLocalAction = m_roPlaylistMenu.addAction( tr( addToText.toUtf8(), "Adds the given playlist, dynamic playlist, or station to the users's own list" ) );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user