From 755948cce089daf81d63414ed726867b82cc07cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Victor=20Duarte=20Martins?= Date: Tue, 24 Aug 2010 01:28:05 +0000 Subject: (get_string_from_keywords): cleaned erroneous messages about updates (fix #60629) --- NEWS | 2 ++ Rpmdrake/gui.pm | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 238af024..8ac881cf 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- fix wrong notice message for updates (#60629) + Version 5.26.3 - 16 July 2010, Thierry Vignaud - fix crashing when looking at update details (#60153) diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index c18a7503..1cd246d2 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -172,11 +172,11 @@ sub get_string_from_keywords { $unsupported, $dangerous, $s); } elsif (member('updates', @media_types)) { return join("\n", - (member('official', @media_types) && member('official', @media_types) ? + (member('official', @media_types) ? N("This is an offical update which is supported by Mandriva.") - : N("This is an unoffical update which is not supported.")), - N("This package contains a new version that was backported."), - $unsupported, $s); + : (N("This is an unoffical update."), $unsupported)) + , + $s); } else { $s .= N("This is an official package supported by Mandriva") . "\n" if member('official', @media_types); return $s; -- cgit v1.2.1