]> git.sesse.net Git - vlc/commitdiff
Qt4 - start to change things to match OSX interface.
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 8 Oct 2007 23:14:23 +0000 (23:14 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 8 Oct 2007 23:14:23 +0000 (23:14 +0000)
include/vlc_intf_strings.h
modules/gui/qt4/dialogs/help.cpp
modules/gui/qt4/dialogs/mediainfo.cpp

index 6a5a8f2c60dd57cf9a350763deaaf75104a718cb..6ad98e41fcad625824de2a0d65da2735bdb9b91e 100644 (file)
                   "will be turned to black and white, except the parts that "\
                   "are of the color that you select in the settings.")
 
+#define I_LONGHELP N_("<html>" \
+    "<h2>Welcome to VLC media player help</h2>" \
+        "<h3>Documentation</h3>" \
+            "<p>You can find VLC documentation on VideoLAN's <a href=\"http://wiki.videolan.org\">wiki</a> website.</p>" \
+            "<p>If you are a newcomer to VLC media player, please read the<br><a href=\"http://wiki.videolan.org/Documentation:VLC_for_dummies\"><em>Introduction to VLC media player</em></a>.</p>" \
+            "<p>You will find some information on how to use the player in the <br>\"<a href=\"http://wiki.videolan.org/Documentation:Play_HowTo\"><em>How to play files with VLC media player<em></a>\" document.</p>" \
+            "<p>For all the saving, converting, transcoding, encoding, muxing and streaming tasks, you should find useful information in the <a href=\"http://wiki.videolan.org/Documentation:Streaming_HowTo\">Streaming Documentation</a>.</p>" \
+            "<p>If you are unsure about terminology, please consult the <a href=\"http://wiki.videolan.org/Knowledge_Base\">knowledge base</a>.</p>" \
+            "<p>To understand the main keyboard shortcuts, read the <a href=\"http://wiki.videolan.org/Hotkeys\">shortcuts</a> page.</p>" \
+        "<h3>Help</h3>" \
+            "<p>Before asking any question, please refer yourself to the <a href=\"http://wiki.videolan.org/Frequently_Asked_Questions\">FAQ</a>.</p>" \
+            "<p>You might then get (and give) help on the <a href=\"http://forum.videolan.org\">Forums</a>, the <a href=\"http://www.videolan.org/vlc/lists.html\">mailing-lists</a> or our IRC channel ( <a href=\"http://www.videolan.org/webirc/\"><em>#videolan</em></a> on irc.freenode.net ).</p>" \
+        "<h3>Contribute to the project</h3>" \
+            "<p>You can help the VideoLAN project giving some of your time to help the community, to design skins, to translate the documentation, to test and to code. You can also give funds and material to help us. And of course, you can <b>promote</b> VLC media player.</p>" \
+    "</html>")
+
 #endif
index 43c11d69e3fba1123238ccef46083248138f57ff..36de4477f67dcf992ea4c70b1622ba73ac71f9d6 100644 (file)
@@ -26,6 +26,8 @@
 
 #include "dialogs_provider.hpp"
 
+#include <vlc_intf_strings.h>
+
 #include <QTextBrowser>
 #include <QTabWidget>
 #include <QFile>
@@ -42,21 +44,7 @@ HelpDialog::HelpDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
     QGridLayout *layout = new QGridLayout( this );
     QTextBrowser *helpBrowser = new QTextBrowser( this );
     helpBrowser->setOpenExternalLinks( true );
-    helpBrowser->setHtml( _("<html>"
-    "<h2>Welcome to VLC media player help</h2>"
-        "<h3>Documentation</h3>"
-            "<p>You can find VLC documentation on VideoLAN's <a href=\"http://wiki.videolan.org\">wiki</a> website.</p>"
-            "<p>If you are a newcomer to VLC media player, please read the<br><a href=\"http://wiki.videolan.org/Documentation:VLC_for_dummies\"><em>Introduction to VLC media player</em></a>.</p>"
-            "<p>You will find some information on how to use the player in the <br>\"<a href=\"http://wiki.videolan.org/Documentation:Play_HowTo\"><em>How to play files with VLC media player<em></a>\" document.</p>"
-            "<p>For all the saving, converting, transcoding, encoding, muxing and streaming tasks, you should find useful information in the <a href=\"http://wiki.videolan.org/Documentation:Streaming_HowTo\">Streaming Documentation</a>.</p>"
-            "<p>If you are unsure about terminology, please consult the <a href=\"http://wiki.videolan.org/Knowledge_Base\">knowledge base</a>.</p>"
-            "<p>To understand the main keyboard shortcuts, read the <a href=\"http://wiki.videolan.org/Hotkeys\">shortcuts</a> page.</p>"
-        "<h3>Help</h3>"
-            "<p>Before asking any question, please refer yourself to the <a href=\"http://wiki.videolan.org/Frequently_Asked_Questions\">FAQ</a>.</p>"
-            "<p>You might then get (and give) help on the <a href=\"http://forum.videolan.org\">Forums</a>, the <a href=\"http://www.videolan.org/vlc/lists.html\">mailing-lists</a> or our IRC channel ( <a href=\"http://www.videolan.org/webirc/\"><em>#videolan</em></a> on irc.freenode.net ).</p>"
-        "<h3>Contribute to the project</h3>"
-            "<p>You can help the VideoLAN project giving some of your time to help the community, to design skins, to translate the documentation, to test and to code. You can also give funds and material to help us. And of course, you can <b>promote</b> VLC media player.</p>"
-    "</html>") );
+    helpBrowser->setHtml( I_LONGHELP );
     QPushButton *closeButton = new QPushButton( qtr( "&Close" ) );
     closeButton->setDefault( true );
 
index b03a3d3b890cdaefc2e8f2d3e6b2e7f4f3ec1ff3..a80b687c7f25d0f536edfe7dfed217b48410a42d 100644 (file)
@@ -59,7 +59,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf, bool _mainInput,
     if( stats )
     {
         ISP = new InputStatsPanel( IT, p_intf );
-        IT->addTab( ISP, qtr( "&Stats" ) );
+        IT->addTab( ISP, qtr( "&Statistics" ) );
     }
 
     QGridLayout *layout = new QGridLayout( this );