[vlc-commits] Strings count -=5. No html translation needed

Christoph Miebach git at videolan.org
Sun Apr 28 12:21:44 CEST 2013


vlc | branch: master | Christoph Miebach <christoph.miebach at web.de> | Sun Apr 28 12:20:11 2013 +0200| [8d616ba57a233ffb983a9d834289470de63ce1dc] | committer: Christoph Miebach

Strings count -=5. No html translation needed

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8d616ba57a233ffb983a9d834289470de63ce1dc
---

 modules/gui/qt4/dialogs/help.cpp |   11 +++++++++++
 modules/gui/qt4/ui/about.ui      |   15 ---------------
 2 files changed, 11 insertions(+), 15 deletions(-)

diff --git a/modules/gui/qt4/dialogs/help.cpp b/modules/gui/qt4/dialogs/help.cpp
index a281afd..0e8925c 100644
--- a/modules/gui/qt4/dialogs/help.cpp
+++ b/modules/gui/qt4/dialogs/help.cpp
@@ -88,6 +88,12 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf)
     setWindowModality( Qt::WindowModal );
 
     ui.version->setText(qfu( " " VERSION_MESSAGE ) );
+    ui.title->setText("<html><head/><body><p><span style=\" font-size:26pt; color:#353535;\"> " + qtr( "VLC media player" ) + " </span></p></body></html>");
+
+    ui.MainBlabla->setText("<html><head/><body>" +
+    qtr( "<p>VLC media player is a free and open source media player, encoder, and streamer made by the volunteers of the <a href=\"http://www.videolan.org/\"><span style=\" text-decoration: underline; color:#0057ae;\">VideoLAN</span></a> community.</p><p>VLC uses its internal codecs, works on essentially every popular platform, and can read almost all files, CDs, DVDs, network streams, capture cards and other media formats!</p><p><a href=\"http://www.videolan.org/contribute/\"><span style=\" text-decoration: underline; color:#0057ae;\">Help and join us!</span></a>" ) +
+    "</p></body> </html>");
+
 #if 0
     if( QDate::currentDate().dayOfYear() >= QT_XMAS_JOKE_DAY && var_InheritBool( p_intf, "qt-icon-change" ) )
         ui.iconVLC->setPixmap( QPixmap( ":/logo/vlc128-xmas.png" ) );
@@ -110,8 +116,13 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf)
     /* People who wrote the software */
     ui.authorsPage->setText( qfu( psz_authors ) );
 
+    ui.licenseButton->setText( "<html><head/><body><p><span style=\" text-decoration: underline; color:#0057ae;\">"+qtr( "License" )+"</span></p></body></html>");
     ui.licenseButton->installEventFilter( this );
+
+    ui.authorsButton->setText( "<html><head/><body><p><span style=\" text-decoration: underline; color:#0057ae;\">"+qtr( "Authors" )+"</span></p></body></html>");
     ui.authorsButton->installEventFilter( this );
+
+    ui.creditsButton->setText( "<html><head/><body><p><span style=\" text-decoration: underline; color:#0057ae;\">"+qtr( "Credits" )+"</span></p></body></html>");
     ui.creditsButton->installEventFilter( this );
 
     ui.version->installEventFilter( this );
diff --git a/modules/gui/qt4/ui/about.ui b/modules/gui/qt4/ui/about.ui
index 1f3afce..931a52b 100644
--- a/modules/gui/qt4/ui/about.ui
+++ b/modules/gui/qt4/ui/about.ui
@@ -113,9 +113,6 @@ background-color: rgb(245, 245, 245);</string>
             <property name="styleSheet">
              <string notr="true">padding-right: 20px;</string>
             </property>
-            <property name="text">
-             <string><html><head/><body><p>VLC media player is a free and open source media player, encoder, and streamer made by the volunteers of the <a href="http://www.videolan.org/"><span style=" text-decoration: underline; color:#0057ae;">VideoLAN</span></a> community.</p><p>VLC uses its internal codecs, works on essentially every popular platform, and can read almost all files, CDs, DVDs, network streams, capture cards and other media formats!</p><p><a href="http://www.videolan.org/contribute/"><span style=" text-decoration: underline; color:#0057ae;">Help and join us!</span></a></p></body></html></string>
-            </property>
             <property name="alignment">
              <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
             </property>
@@ -218,9 +215,6 @@ background-color: rgb(245, 245, 245);</string>
           <height>0</height>
          </size>
         </property>
-        <property name="text">
-         <string><html><head/><body><p><span style=" font-size:26pt; color:#353535;">VLC media player</span></p></body></html></string>
-        </property>
         <property name="alignment">
          <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
         </property>
@@ -279,9 +273,6 @@ background-color: rgb(230, 230, 230);</string>
         <property name="styleSheet">
          <string notr="true">padding: 10px</string>
         </property>
-        <property name="text">
-         <string><html><head/><body><p><span style=" text-decoration: underline; color:#0057ae;">Authors</span></p></body></html></string>
-        </property>
         <property name="alignment">
          <set>Qt::AlignCenter</set>
         </property>
@@ -295,9 +286,6 @@ background-color: rgb(230, 230, 230);</string>
         <property name="styleSheet">
          <string notr="true">padding: 10px</string>
         </property>
-        <property name="text">
-         <string><html><head/><body><p><span style=" text-decoration: underline; color:#0057ae;">License</span></p></body></html></string>
-        </property>
         <property name="alignment">
          <set>Qt::AlignCenter</set>
         </property>
@@ -311,9 +299,6 @@ background-color: rgb(230, 230, 230);</string>
         <property name="styleSheet">
          <string notr="true">padding: 10px;</string>
         </property>
-        <property name="text">
-         <string><html><head/><body><p><span style=" text-decoration: underline; color:#0057ae;">Credits</span></p></body></html></string>
-        </property>
         <property name="alignment">
          <set>Qt::AlignCenter</set>
         </property>



More information about the vlc-commits mailing list