summaryrefslogtreecommitdiffstats
path: root/perl-install/share/po/i18n_compssUsers
blob: c49831eff5e44a855f8b1feddd9eb9b08a17155e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/perl

use lib "../..";
use pkgs;

my $meta_class;

local *install_any::getFile = sub {
    open GETFILE, "../compssUsers$meta_class" and *GETFILE;
};

foreach $meta_class ('', '.desktop') {
    my (undef, undef, undef, $descr) = pkgs::readCompssUsers([{}], [], $meta_class);

    while (my ($k, $v) = each %$descr) {
	foreach ($k, $v) {
	    s/"/\"/g;
	    print qq(
#: ../../share/compssUsers$meta_class
msgid "$_"
msgstr ""
);
	}
    }
}