Commit 0faa838c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: clarify PNAP dialog (fixes #8100)

Also remove #ifdef from translated string since gettext can obviously
not deal with that.
parent 13e4fe92
...@@ -69,17 +69,19 @@ void FirstRun::buildPrivDialog() ...@@ -69,17 +69,19 @@ void FirstRun::buildPrivDialog()
QGroupBox *blabla = new QGroupBox( qtr( "Privacy and Network Access Policy" ) ); QGroupBox *blabla = new QGroupBox( qtr( "Privacy and Network Access Policy" ) );
QGridLayout *blablaLayout = new QGridLayout( blabla ); QGridLayout *blablaLayout = new QGridLayout( blabla );
QLabel *text = new QLabel( qtr( QLabel *text = new QLabel( qtr(
"<p><i>VLC media player</i> does <b>not</b> send or collect any " "<p>In order to protect your privacy, the <i>VLC media player</i> "
"information, even anonymously, about your usage.</p>\n" "does <b>not</b> collect personal informations or transmit them, "
"<p>However, it can connect to the Internet " "not even in anonymized form, to anyone."
"in order to display <b>medias information</b> " "</p>\n"
#ifdef UPDATE_CHECK "<p>Nevertheless, <i>VLC</i> is able to automatically retrieve "
"or to check for available <b>updates</b>" "informations about the media in your playlist from third party "
#endif "Internet-based services. These informations include covert arts, "
".</p>\n" "track names, authoring and other meta-data."
"<p><i>VideoLAN</i> (the authors) requires you to express your consent " "</p>\n"
"before allowing this software to access the Internet.</p>\n" "That may entail identifying some of your media files to third party "
"<p>According to your choices, please check or uncheck the following options:</p>\n" "entities. Therefore the <i>VLC</i> developers require your express "
"consent for the media player to access the Internet automatically."
"</p>\n"
) ); ) );
text->setWordWrap( true ); text->setWordWrap( true );
text->setTextFormat( Qt::RichText ); text->setTextFormat( Qt::RichText );
...@@ -93,22 +95,21 @@ void FirstRun::buildPrivDialog() ...@@ -93,22 +95,21 @@ void FirstRun::buildPrivDialog()
gLayout->addWidget( options, 1, 0, 1, 3 ); gLayout->addWidget( options, 1, 0, 1, 3 );
int line = 0; int line = 0;
checkbox = new QCheckBox( qtr( "Allow downloading media information" ) ); checkbox = new QCheckBox( qtr( "Automatically retrieve media infos" ) );
checkbox->setChecked( true ); checkbox->setChecked( true );
optionsLayout->addWidget( checkbox, line++, 0 ); optionsLayout->addWidget( checkbox, line++, 0 );
#ifdef UPDATE_CHECK #ifdef UPDATE_CHECK
checkbox2 = new QCheckBox( qtr( "Allow checking for VLC updates" ) ); checkbox2 = new QCheckBox( qtr( "Regularly check for VLC updates" ) );
checkbox2->setChecked( true ); checkbox2->setChecked( true );
optionsLayout->addWidget( checkbox2, line++, 0 ); optionsLayout->addWidget( checkbox2, line++, 0 );
#endif #endif
QDialogButtonBox *buttonsBox = new QDialogButtonBox( this ); QDialogButtonBox *buttonsBox = new QDialogButtonBox( this );
buttonsBox->addButton( qtr( "Save and Continue" ), QDialogButtonBox::AcceptRole ); buttonsBox->addButton( qtr( "Continue" ), QDialogButtonBox::AcceptRole );
gLayout->addWidget( buttonsBox, 2, 0, 2, 3 ); gLayout->addWidget( buttonsBox, 2, 0, 2, 3 );
CONNECT( buttonsBox, accepted(), this, save() ); CONNECT( buttonsBox, accepted(), this, save() );
buttonsBox->setFocus(); buttonsBox->setFocus();
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment