aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-22 16:39:27 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-22 16:39:27 +0000
commit68495d9360292c9407fb8de31334959959367915 (patch)
tree89b31348029098194896d2e0bfd5cbe2789f66b5 /Rpmdrake/gui.pm
parent400ddaac3ec7981c59fdbe50bdcc34bbc6342aab (diff)
downloadrpmdrake-68495d9360292c9407fb8de31334959959367915.tar
rpmdrake-68495d9360292c9407fb8de31334959959367915.tar.gz
rpmdrake-68495d9360292c9407fb8de31334959959367915.tar.bz2
rpmdrake-68495d9360292c9407fb8de31334959959367915.tar.xz
rpmdrake-68495d9360292c9407fb8de31334959959367915.zip
display translated summaries if availlable
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index a269f06b..309b1a42 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -52,7 +52,7 @@ sub format_pkg_simplifiedinfo {
my ($name, $_version) = split_fullname($key);
my $medium = pkg2medium($pkgs->{$key}{pkg}, $urpm)->{name};
my $update_descr = $pkgs->{$key}{pkg}->flag_upgrade && $descriptions->{$name}{pre} && $descriptions->{$name}{medium} eq $medium;
- my $s = ugtk2::markup_to_TextView_format(join("\n", format_header($name . ' - ' . $pkgs->{$key}{summary}) .
+ my $s = ugtk2::markup_to_TextView_format(join("\n", format_header($name . ' - ' . translate($pkgs->{$key}{summary})) .
# workaround gtk+ bug where GtkTextView wronly limit embedded widget size to bigger line's width (#25533):
"\x{200b} \x{feff}" . ' ' x 120,
if_($update_descr, # is it an update?