diff options
-rwxr-xr-x | rpmdrake | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -85,13 +85,13 @@ sub parse_compssUsers_flat { /^\s*$/ and next; if (/^\S.*/) { if (/^(.+?) \[icon=.+?\] \[path=(.+?)\]/) { - $category = "$2|$1"; + $category = translate($2).'|'.translate($1); } else { print STDERR "Malformed category in compssUsers.flat: <$_>\n"; } } elsif (/^\t(\d) (\S+)\s*$/) { $category or print STDERR "Entry without category <$_>\n"; - push @{$compssUsers{$2}}, $category . ($1 <= 3 ? '|Other' : ''); + push @{$compssUsers{$2}}, $category . ($1 <= 3 ? '|'._("Other") : ''); } } \%compssUsers; @@ -425,7 +425,7 @@ or you already installed all of them.")); $tree = Gtk::CTree->new(3, 0); $tree->set_selection_mode('browse'); $tree->set_column_auto_resize($_, 1) foreach 0..2; - $typical_width = $tree->get_style->font->string_width("Develop xmms-more-vis-plugins-1.6.0.0-2mdk"); + $typical_width = $tree->get_style->font->string_width(translate("Graphical Environment")."xmms-more-vis-plugins"); $typical_width > 500 and $typical_width = 500; #- try to not being crazy with a too large value $typical_width < 150 and $typical_width = 150; $tree->set_column_max_width(0, $typical_width); |