aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorJoão Victor Duarte Martins <jvictor@mandriva.com>2010-08-24 01:28:05 +0000
committerJoão Victor Duarte Martins <jvictor@mandriva.com>2010-08-24 01:28:05 +0000
commit755948cce089daf81d63414ed726867b82cc07cf (patch)
tree2b3d9889b57f59e4569ab84767367a4a32e3e298 /Rpmdrake
parent3d184437dd3753eae23715258e39abf48e335b6f (diff)
downloadrpmdrake-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)
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm8
1 files changed, 4 insertions, 4 deletions
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;