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 )
assert( p_release );
b_checked = true;
updateButton->setText( "Ok" );
updateLabel->setText( qtr( "There is a new version of VLC :\n" )
+ qfu( p_release->psz_desc ) );
QString message = qtr( "A new version of VLC(" )
+ 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 */
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