[vlc-commits] qt: do not translate meta labels twice (refs #21516)
Rémi Denis-Courmont
git at videolan.org
Tue Dec 4 21:26:56 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Dec 4 22:09:47 2018 +0200| [cfce4b100ae9b3974d5aa16ab2466ea56284d016] | committer: Rémi Denis-Courmont
qt: do not translate meta labels twice (refs #21516)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cfce4b100ae9b3974d5aa16ab2466ea56284d016
---
modules/gui/qt/components/info_panels.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt/components/info_panels.cpp b/modules/gui/qt/components/info_panels.cpp
index 4f86cb7f80..15805b6d96 100644
--- a/modules/gui/qt/components/info_panels.cpp
+++ b/modules/gui/qt/components/info_panels.cpp
@@ -72,7 +72,7 @@ MetaPanel::MetaPanel( QWidget *parent,
QLabel *label;
#define ADD_META( string, widget, col, colspan ) { \
- label = new QLabel( qtr( string ) ); label->setFont( smallFont ); \
+ label = new QLabel( qfu( string ) ); label->setFont( smallFont ); \
label->setContentsMargins( 3, 2, 0, 0 ); \
metaLayout->addWidget( label, line++, col, 1, colspan ); \
widget = new QLineEdit; \
@@ -86,7 +86,7 @@ MetaPanel::MetaPanel( QWidget *parent,
ADD_META( VLC_META_ALBUM, collection_text, 0, 7 );
/* Date */
- label = new QLabel( qtr( VLC_META_DATE ) );
+ label = new QLabel( qfu( VLC_META_DATE ) );
label->setFont( smallFont ); label->setContentsMargins( 3, 2, 0, 0 );
metaLayout->addWidget( label, line - 1, 7, 1, 2 );
@@ -103,7 +103,7 @@ MetaPanel::MetaPanel( QWidget *parent,
ADD_META( VLC_META_GENRE, genre_text, 0, 7 );
/* Number - on the same line */
- label = new QLabel( qtr( VLC_META_TRACK_NUMBER ) );
+ label = new QLabel( qfu( VLC_META_TRACK_NUMBER ) );
label->setFont( smallFont ); label->setContentsMargins( 3, 2, 0, 0 );
metaLayout->addWidget( label, line - 1, 7, 1, 3 );
More information about the vlc-commits
mailing list