Commit 72e40270 authored by Rémi Duraffort's avatar Rémi Duraffort

Change the message shown by the update dialog: fix #1788.

parent 9c08d24d
...@@ -295,8 +295,15 @@ void UpdateDialog::updateNotify( bool b_result ) ...@@ -295,8 +295,15 @@ void UpdateDialog::updateNotify( bool b_result )
assert( p_release ); assert( p_release );
b_checked = true; b_checked = true;
updateButton->setText( "Ok" ); updateButton->setText( "Ok" );
updateLabel->setText( qtr( "There is a new version of VLC :\n" ) QString message = qtr( "A new version of VLC(" )
+ qfu( p_release->psz_desc ) ); + QString::number( p_release->i_major ) + "."
+ QString::number( p_release->i_minor ) + "."
+ QString::number( p_release->i_revision );
if( p_release->extra )
message += p_release->extra;
message += qtr( ") is available.\nDo you want to download it?\n" ) + qfu( p_release->psz_desc );
updateLabel->setText( message );
/* Force the dialog to be shown */ /* Force the dialog to be shown */
this->show(); this->show();
......
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