From: Jean-Baptiste Kempf Date: Mon, 8 Oct 2007 23:14:23 +0000 (+0000) Subject: Qt4 - start to change things to match OSX interface. X-Git-Tag: 0.9.0-test0~5152 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a2a806fda6a84fb712a4ca194d33d9b2ae7a1ea2;p=vlc Qt4 - start to change things to match OSX interface. --- diff --git a/include/vlc_intf_strings.h b/include/vlc_intf_strings.h index 6a5a8f2c60..6ad98e41fc 100644 --- a/include/vlc_intf_strings.h +++ b/include/vlc_intf_strings.h @@ -116,4 +116,20 @@ "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_("" \ + "

Welcome to VLC media player help

" \ + "

Documentation

" \ + "

You can find VLC documentation on VideoLAN's wiki website.

" \ + "

If you are a newcomer to VLC media player, please read the
Introduction to VLC media player.

" \ + "

You will find some information on how to use the player in the
\"How to play files with VLC media player\" document.

" \ + "

For all the saving, converting, transcoding, encoding, muxing and streaming tasks, you should find useful information in the Streaming Documentation.

" \ + "

If you are unsure about terminology, please consult the knowledge base.

" \ + "

To understand the main keyboard shortcuts, read the shortcuts page.

" \ + "

Help

" \ + "

Before asking any question, please refer yourself to the FAQ.

" \ + "

You might then get (and give) help on the Forums, the mailing-lists or our IRC channel ( #videolan on irc.freenode.net ).

" \ + "

Contribute to the project

" \ + "

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 promote VLC media player.

" \ + "") + #endif diff --git a/modules/gui/qt4/dialogs/help.cpp b/modules/gui/qt4/dialogs/help.cpp index 43c11d69e3..36de4477f6 100644 --- a/modules/gui/qt4/dialogs/help.cpp +++ b/modules/gui/qt4/dialogs/help.cpp @@ -26,6 +26,8 @@ #include "dialogs_provider.hpp" +#include + #include #include #include @@ -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( _("" - "

Welcome to VLC media player help

" - "

Documentation

" - "

You can find VLC documentation on VideoLAN's wiki website.

" - "

If you are a newcomer to VLC media player, please read the
Introduction to VLC media player.

" - "

You will find some information on how to use the player in the
\"How to play files with VLC media player\" document.

" - "

For all the saving, converting, transcoding, encoding, muxing and streaming tasks, you should find useful information in the Streaming Documentation.

" - "

If you are unsure about terminology, please consult the knowledge base.

" - "

To understand the main keyboard shortcuts, read the shortcuts page.

" - "

Help

" - "

Before asking any question, please refer yourself to the FAQ.

" - "

You might then get (and give) help on the Forums, the mailing-lists or our IRC channel ( #videolan on irc.freenode.net ).

" - "

Contribute to the project

" - "

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 promote VLC media player.

" - "") ); + helpBrowser->setHtml( I_LONGHELP ); QPushButton *closeButton = new QPushButton( qtr( "&Close" ) ); closeButton->setDefault( true ); diff --git a/modules/gui/qt4/dialogs/mediainfo.cpp b/modules/gui/qt4/dialogs/mediainfo.cpp index b03a3d3b89..a80b687c7f 100644 --- a/modules/gui/qt4/dialogs/mediainfo.cpp +++ b/modules/gui/qt4/dialogs/mediainfo.cpp @@ -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 );