diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-02-22 16:39:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-02-22 16:39:27 +0000 |
commit | 68495d9360292c9407fb8de31334959959367915 (patch) | |
tree | 89b31348029098194896d2e0bfd5cbe2789f66b5 /Rpmdrake/gui.pm | |
parent | 400ddaac3ec7981c59fdbe50bdcc34bbc6342aab (diff) | |
download | rpmdrake-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.pm | 2 |
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? |