diff options
author | João Victor Duarte Martins <jvictor@mandriva.com> | 2010-08-24 01:28:05 +0000 |
---|---|---|
committer | João Victor Duarte Martins <jvictor@mandriva.com> | 2010-08-24 01:28:05 +0000 |
commit | 755948cce089daf81d63414ed726867b82cc07cf (patch) | |
tree | 2b3d9889b57f59e4569ab84767367a4a32e3e298 | |
parent | 3d184437dd3753eae23715258e39abf48e335b6f (diff) | |
download | rpmdrake-755948cce089daf81d63414ed726867b82cc07cf.tar rpmdrake-755948cce089daf81d63414ed726867b82cc07cf.tar.gz rpmdrake-755948cce089daf81d63414ed726867b82cc07cf.tar.bz2 rpmdrake-755948cce089daf81d63414ed726867b82cc07cf.tar.xz rpmdrake-755948cce089daf81d63414ed726867b82cc07cf.zip |
(get_string_from_keywords): cleaned erroneous messages about updates
(fix #60629)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/gui.pm | 8 |
2 files changed, 6 insertions, 4 deletions
@@ -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 <b>not supported</b>.")), - 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; |