Commit ce11a343 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Make string translatable

parent 49268260
...@@ -30,10 +30,10 @@ ...@@ -30,10 +30,10 @@
GraphicsMovieItem::GraphicsMovieItem( Media* media ) : m_media ( media ), m_width( 0 ), m_height( 0 ) GraphicsMovieItem::GraphicsMovieItem( Media* media ) : m_media ( media ), m_width( 0 ), m_height( 0 )
{ {
QTime length = QTime().addMSecs( media->getLength() ); QTime length = QTime().addMSecs( media->getLength() );
QString tooltip( "<p style='white-space:pre'><b>Name:</b> " + QString tooltip( tr( "<p style='white-space:pre'><b>Name:</b> %1"
media->getFileInfo()->fileName() + "<br><b>Length:</b> %2" )
"<br><b>Length:</b> " + .arg( media->getFileInfo()->fileName() )
length.toString("hh:mm:ss.zzz") ); .arg( length.toString("hh:mm:ss.zzz") ) );
setToolTip( tooltip ); setToolTip( tooltip );
} }
......
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