Localise the song info play counts and listener counts.
Fixes issue #1834
This commit is contained in:
parent
8880b06833
commit
e8e882b33c
|
@ -97,9 +97,9 @@ void LastfmTrackInfoProvider::GetPlayCounts(int id, const lastfm::XmlQuery& q) {
|
|||
}
|
||||
|
||||
if (playcount)
|
||||
widget->AddItem(IconLoader::Load("media-playback-start"), tr("%1 total plays").arg(playcount));
|
||||
widget->AddItem(IconLoader::Load("media-playback-start"), tr("%L1 total plays").arg(playcount));
|
||||
if (listeners)
|
||||
widget->AddItem(QIcon(":/last.fm/my_neighbours.png"), tr("%1 other listeners").arg(listeners));
|
||||
widget->AddItem(QIcon(":/last.fm/my_neighbours.png"), tr("%L1 other listeners").arg(listeners));
|
||||
|
||||
emit InfoReady(id, data);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue