Permalink
Browse files

Fix translation concatenation issue in MusicPlayer

  • Loading branch information...
1 parent bf285bb commit 2f03c9176d44b304633f3b30edf176f5227333b4 @stuartm stuartm committed Jul 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythplugins/mythmusic/mythmusic/musicplayer.cpp
@@ -1265,8 +1265,8 @@ MuteState MusicPlayer::getMuteState(void) const
void MusicPlayer::toMap(QHash<QString, QString> &map)
{
- map["volumemute"] = QString("%1%").arg(getVolume()) +
- (isMuted() ? " (" + tr("Muted") + ")" : "");
+ map["volumemute"] = isMuted() ? tr("%1% (Muted)", "Zero Audio Volume").arg(getVolume()) :
+ QString("%1%").arg(getVolume());
map["volume"] = QString("%1").arg(getVolume());
map["volumepercent"] = QString("%1%").arg(getVolume());
map["mute"] = isMuted() ? tr("Muted") : "";

0 comments on commit 2f03c91

Please sign in to comment.