Skip to content

Commit

Permalink
Miscellaneous translation fixes
Browse files Browse the repository at this point in the history
Make a string translatable.
Change the context of another string
  • Loading branch information
Nicolas Riendeau committed Jul 9, 2013
1 parent 4494db5 commit 52af210
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mythplugins/mythmusic/mythmusic/importmusic.cpp
Expand Up @@ -138,7 +138,9 @@ void ImportMusicDialog::fillWidgets()
if (!m_tracks->empty())
{
// update current
m_currentText->SetText(QString("%1 of %2")
//: %1 is the current track,
//: %2 is the number of tracks
m_currentText->SetText(tr("%1 of %2", "Current track position")
.arg(m_currentTrack + 1).arg(m_tracks->size()));

MusicMetadata *meta = m_tracks->at(m_currentTrack)->metadata;
Expand Down Expand Up @@ -508,7 +510,7 @@ void ImportMusicDialog::startScan()
{
MythScreenStack *popupStack = GetMythMainWindow()->GetStack("popup stack");
MythUIBusyDialog *busy =
new MythUIBusyDialog(QObject::tr("Searching for music files"),
new MythUIBusyDialog(tr("Searching for music files"),
popupStack,
"scanbusydialog");

Expand Down

0 comments on commit 52af210

Please sign in to comment.