Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Neighbourhood station name change.

  • Loading branch information...
commit 8e913f65f550fc98dc4a66a0f8ec19b0d03b3bbf 1 parent cace42a
Michael Coffey eartle authored
Showing with 3 additions and 5 deletions.
  1. +3 −5 src/RadioStation.cpp
8 src/RadioStation.cpp
View
@@ -148,7 +148,7 @@ lastfm::RadioStation
lastfm::RadioStation::neighbourhood( const lastfm::User& user )
{
RadioStation s( "lastfm://user/" + user + "/neighbours" );
- s.setTitle( QObject::tr( "%1%2s Neighbours%2 Radio").arg( lastfm::ws::Username, QChar(0x2019) ));
+ s.setTitle( QObject::tr( "%1%2s Neighbourhood Radio").arg( lastfm::ws::Username ));
return s;
}
@@ -241,10 +241,8 @@ lastfm::RadioStation::setTitle( const QString& s )
title = QObject::tr("My Friends%1 Radio").arg( QChar( 0x2019 ) );
else if ( title.compare( QObject::tr("%1%2s Friends Radio").arg( lastfm::ws::Username, QChar(0x2019) ), Qt::CaseInsensitive ) == 0 )
title = QObject::tr("My Friends%1 Radio").arg( QChar( 0x2019 ) );
- else if ( title.compare( QObject::tr("%1%2s Neighbours%2 Radio").arg( lastfm::ws::Username, QChar(0x2019) ), Qt::CaseInsensitive ) == 0 )
- title = QObject::tr("My Neighbours%1 Radio").arg( QChar( 0x2019 ) );
- else if ( title.compare( QObject::tr("%1%2s Neighbours Radio").arg( lastfm::ws::Username ), Qt::CaseInsensitive ) == 0 )
- title = QObject::tr("My Neighbours%1 Radio").arg( QChar( 0x2019 ) );
+ else if ( title.compare( QObject::tr("%1%2s Neighbourhood Radio").arg( lastfm::ws::Username, QChar(0x2019) ), Qt::CaseInsensitive ) == 0 )
+ title = QObject::tr("My Neighbourhood Radio");
d->m_title = title;
}
Please sign in to comment.
Something went wrong with that request. Please try again.