[vlc-devel] commit: Qt4: Don't put richtext in the ui. This is a nightmare for gettext. See #2140. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Feb 15 16:36:08 CET 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Feb 15 16:35:24 2009 +0100| [57020ffa1ab60047b7cccec77671e81288f8ef42] | committer: Jean-Baptiste Kempf
Qt4: Don't put richtext in the ui. This is a nightmare for gettext. See #2140.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=57020ffa1ab60047b7cccec77671e81288f8ef42
---
modules/gui/qt4/components/simple_preferences.cpp | 3 +++
modules/gui/qt4/ui/sprefs_interface.ui | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 73198d0..1a55c68 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -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 )
diff --git a/modules/gui/qt4/ui/sprefs_interface.ui b/modules/gui/qt4/ui/sprefs_interface.ui
index b4c8c66..176b9fb 100644
--- a/modules/gui/qt4/ui/sprefs_interface.ui
+++ b/modules/gui/qt4/ui/sprefs_interface.ui
@@ -145,7 +145,7 @@
<enum>QFrame::NoFrame</enum>
</property>
<property name="text" >
- <string>_("This is VLC's skinnable interface. You can download skins at <a href="http://www.videolan.org/vlc/skins.php">http://www.videolan.org/vlc/skins.php</a> to customize your player.")</string>
+ <string/>
</property>
<property name="textFormat" >
<enum>Qt::RichText</enum>
More information about the vlc-devel
mailing list