From 3dff8fbee021e419d38077ec25a31bc1f9aa236e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 6 Oct 2008 12:50:26 +0000 Subject: (confirm_upgrade) display nicer distribution name if available --- mdkapplet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdkapplet') diff --git a/mdkapplet b/mdkapplet index 5b9173a2..423fc16f 100755 --- a/mdkapplet +++ b/mdkapplet @@ -370,7 +370,7 @@ sub confirm_upgrade() { gtknew('HButtonBox', layout => 'start', children_tight => [ my $link = Gtk2::LinkButton->new($new_distro->{url}, N("More info about this new version")), ]), - N("Do you want to upgrade to the '\%s' distribution?", $new_distro->{version}), + N("Do you want to upgrade to the '\%s' distribution?", $new_distro->{name} || $new_distro->{version}), gtknew('CheckButton', text => N("Do not ask me next time"), active_ref => \$warn_me), create_okcancel($w, N("Yes"), N("No")), ]), -- cgit v1.2.1