This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add strings to translate in volume plugin

  • Loading branch information...
amoskvin committed Dec 1, 2012
1 parent b18c2d2 commit 12f8ac0d1b9f574d39b0e55a5db004be10d9c146
Showing with 2 additions and 2 deletions.
  1. +2 −2 razorqt-panel/plugin-volume/volumepopup.cpp
@@ -47,9 +47,9 @@ VolumePopup::VolumePopup(QWidget* parent):
{
m_mixerButton = new QLabel(this);
m_mixerButton->setMargin(5);
- m_mixerButton->setToolTip("Launch mixer");
+ m_mixerButton->setToolTip(tr("Launch mixer"));
m_mixerButton->setTextFormat(Qt::RichText);
- m_mixerButton->setText("<a href=\"#\">Mixer</a>");
+ m_mixerButton->setText(QString("<a href=\"#\">%1</a>").arg(tr("Mixer")));
m_volumeSlider = new QSlider(Qt::Vertical, this);
m_volumeSlider->setTickPosition(QSlider::TicksBothSides);

0 comments on commit 12f8ac0

Please sign in to comment.