Skip to content

Commit

Permalink
Translate two strings which were previously untranslatable in mythmusic.
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed Aug 2, 2013
1 parent 2becf20 commit 879cc66
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mythplugins/mythmusic/mythmusic/musiccommon.cpp
Expand Up @@ -2007,7 +2007,12 @@ void MusicCommon::updatePlaylistStats(void)
map["playlisttime"] = getTimeString(m_playlistPlayedTime + m_currentTime, m_playlistMaxTime);
map["playlistplayedtime"] = getTimeString(m_playlistPlayedTime + m_currentTime, 0);
map["playlisttotaltime"] = getTimeString(m_playlistMaxTime, 0);
map["playlistname"] = gPlayer->getPlaylist()->getName();
QString playlistName = gPlayer->getPlaylist()->getName();
if (playlistName == "default_playlist_storage")
playlistName = tr("Default Playlist");
else if (playlistName == "stream_playlist")
playlistName = tr("Stream Playlist");
map["playlistname"] = playlistName;
}
else
{
Expand Down

0 comments on commit 879cc66

Please sign in to comment.