Commit e7722132 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Making track names translatable.

parent 8c319cba
......@@ -33,9 +33,9 @@ TrackControls::TrackControls( GraphicsTrack* track, QWidget *parent ) :
this, SLOT( setTrackDisabled(bool) ) );
if ( m_track->mediaType() == MainWorkflow::VideoTrack )
m_ui->trackLabel->setText( "Video #" + QString::number( m_track->trackNumber() ) );
m_ui->trackLabel->setText( tr( "Video #%1" ).arg( QString::number( m_track->trackNumber() ) ) );
else if ( m_track->mediaType() == MainWorkflow::AudioTrack )
m_ui->trackLabel->setText( "Audio #" + QString::number( m_track->trackNumber() ) );
m_ui->trackLabel->setText( tr( "Audio #%1" ).arg( QString::number( m_track->trackNumber() ) ) );
}
TrackControls::~TrackControls()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment