Permalink
Browse files

Translation context change

  • Loading branch information...
nriendeau committed Jul 18, 2013
1 parent 9160de0 commit caf5e1973538db5bc6da0e757770499e10e4c553
Showing with 4 additions and 2 deletions.
  1. +2 −2 mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp
  2. +2 −0 mythtv/libs/libmythtv/DVD/mythdvdplayer.h
@@ -668,7 +668,7 @@ bool MythDVDPlayer::GoToMenu(QString str)
if (!ret)
{
SetOSDMessage(QObject::tr("DVD Menu Not Available"), kOSDTimeout_Med);
SetOSDMessage(tr("DVD Menu Not Available"), kOSDTimeout_Med);
LOG(VB_GENERAL, LOG_ERR, "No DVD Menu available.");
return false;
}
@@ -709,7 +709,7 @@ QString MythDVDPlayer::GetAngleName(int angle) const
{
if (angle >= 1 && angle <= GetNumAngles())
{
QString name = QObject::tr("Angle %1").arg(angle);
QString name = tr("Angle %1").arg(angle);
return name;
}
return QString();
@@ -7,6 +7,8 @@
class MythDVDPlayer : public MythPlayer
{
Q_DECLARE_TR_FUNCTIONS(MythDVDPlayer)
public:
MythDVDPlayer(PlayerFlags flags = kNoFlags);

0 comments on commit caf5e19

Please sign in to comment.