Qt4: Don't put richtext in the ui. This is a nightmare for gettext. See #2140.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 15 Feb 2009 15:35:24 +0000 (16:35 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 15 Feb 2009 15:35:56 +0000 (16:35 +0100)
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/ui/sprefs_interface.ui

index 73198d0..1a55c68 100644 (file)
@@ -450,6 +450,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
          *******************/
         START_SPREFS_CAT( Interface, qtr("Interface Settings") );
             ui.defaultLabel->setFont( italicFont );
+            ui.skinsLabel->setText(
+                    qtr( "This is VLC's skinnable interface. You can download other skins at" )
+                    + QString( " <a href=\"http://www.videolan.org/vlc/skins.php\">VLC skins website</a>." ) );
             ui.skinsLabel->setFont( italicFont );
 
 #if defined( WIN32 )
index b4c8c66..176b9fb 100644 (file)
          <enum>QFrame::NoFrame</enum>
         </property>
         <property name="text" >
-         <string>_("This is VLC's skinnable interface. You can download skins at &lt;a href="http://www.videolan.org/vlc/skins.php">http://www.videolan.org/vlc/skins.php&lt;/a> to customize your player.")</string>
+         <string/>
         </property>
         <property name="textFormat" >
          <enum>Qt::RichText</enum>