1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 16:44:05 +02:00

adjust station summaries to look the same everywhere

This commit is contained in:
Michael Zanetti
2013-06-29 22:24:50 +02:00
parent d65de01847
commit cee26a77c3
6 changed files with 8 additions and 8 deletions

View File

@@ -48,9 +48,9 @@ Rectangle {
ListModel { ListModel {
id: modeModel id: modeModel
ListElement { label: "By Artist"; image: "../../images/station-artist.svg"; creatorContent: "stations/CreateByArtist.qml"; headerSubtitle: "by" } ListElement { label: "By Artist"; image: "../../images/station-artist.svg"; creatorContent: "stations/CreateByArtist.qml"; headerSubtitle: "Songs from" }
ListElement { label: "By Genre"; image: "../../images/station-genre.svg"; creatorContent: "stations/CreateByGenre.qml"; headerSubtitle: "like" } ListElement { label: "By Genre"; image: "../../images/station-genre.svg"; creatorContent: "stations/CreateByGenre.qml"; headerSubtitle: "Songs of genre" }
ListElement { label: "By Year"; image: "../../images/station-year.svg"; creatorContent: "stations/CreateByYear.qml"; headerSubtitle: "from" } ListElement { label: "By Year"; image: "../../images/station-year.svg"; creatorContent: "stations/CreateByYear.qml"; headerSubtitle: "Songs from" }
} }
VisualItemModel { VisualItemModel {

View File

@@ -23,7 +23,7 @@ Item {
HeaderLabel { HeaderLabel {
id: headerText id: headerText
text: "Create station by artist..." text: "Enter or pick an artist"
} }
Row { Row {

View File

@@ -46,7 +46,7 @@ Item {
HeaderLabel { HeaderLabel {
id: headerText id: headerText
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
text: "Create station by genre..." text: "Enter or pick a genre"
} }
Row { Row {

View File

@@ -28,7 +28,7 @@ Item {
HeaderLabel { HeaderLabel {
id: headerText id: headerText
text: "Create station by year..." text: "Enter a year or pick a range"
} }
Row { Row {

View File

@@ -315,7 +315,7 @@ EchonestGenerator::startFromGenre( const QString& genre )
controlsMap[ "selectedType" ] = "echonest"; controlsMap[ "selectedType" ] = "echonest";
controlsMap[ "match" ] = QString::number( data.first ); controlsMap[ "match" ] = QString::number( data.first );
controlsMap[ "input" ] = data.second; controlsMap[ "input" ] = data.second;
controlsMap[ "summary" ] = data.second; controlsMap[ "summary" ] = tr("Songs of genre %1").arg(data.second.toString());
controlsList << controlsMap; controlsList << controlsMap;
params.append( Echonest::DynamicPlaylist::PlaylistParamData( Echonest::DynamicPlaylist::Type, Echonest::DynamicPlaylist::ArtistDescriptionType ) ); params.append( Echonest::DynamicPlaylist::PlaylistParamData( Echonest::DynamicPlaylist::Type, Echonest::DynamicPlaylist::ArtistDescriptionType ) );

View File

@@ -83,7 +83,7 @@ DynamicQmlWidget::title() const
if ( !m_playlist->title().isEmpty() ) { if ( !m_playlist->title().isEmpty() ) {
return m_playlist->title(); return m_playlist->title();
} }
return "Listen to radio..."; return "Listen to radio";
} }