summaryrefslogtreecommitdiffstats
path: root/perl-install/share/po/i18n_compssUsers
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/share/po/i18n_compssUsers')
-rw-r--r--perl-install/share/po/i18n_compssUsers8
1 files changed, 3 insertions, 5 deletions
diff --git a/perl-install/share/po/i18n_compssUsers b/perl-install/share/po/i18n_compssUsers
index 445f01209..1d0f54b19 100644
--- a/perl-install/share/po/i18n_compssUsers
+++ b/perl-install/share/po/i18n_compssUsers
@@ -11,16 +11,14 @@ sub get {
open F, "../compssUsers$meta_class" or return; #die "can't open file ../compssUsers$meta_class";
foreach (<F>) {
/^\s*$/ || /^#/ and next;
- # i18n the Group names:
- s/#.*!{--- }//;
- s/[ ]*# --- //;
if (/^(\S.*)/) {
- my ($icon, $descr);
+ my ($icon, $path, $descr);
/^(.*?)\s*\[icon=(.*?)\](.*)/ and $_ = "$1$3", $icon = $2;
+ /^(.*?)\s*\[path=(.*?)\](.*)/ and $_ = "$1$3", $path = $2;
/^(.*?)\s*\[descr=(.*?)\](.*)/ and $_ = "$1$3", $descr = $2;
- /^(.*?)\s*\[path=(.*?)\](.*)/ and $_ = "$1$3";
$compssUsersDescr{$_} = $descr;
+ $compssUsersDescr{$descr} = $path;
}
}
close F;