summaryrefslogtreecommitdiffstats
path: root/perl-install/share/po/i18n_compssUsers
blob: 70ccd15d25d21b6694b5ae86f461d7e62668d6aa (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
26
27
28
29
30
31
#!/usr/bin/perl

BEGIN { 
    # fake module ``c'' so that no need to build DrakX
    $INC{'c.pm'} = 1;
    package c; sub AUTOLOAD { } sub getpagesize { 1024 } # getpagesize is needed by swap.pm, otherwise sigsegv
}

use lib "../..";
use pkgs;
use common ":common";


sub get {
    my ($meta_class) = @_;
    local *install_any::getFile = sub {
	open GETFILE, "../compssUsers$meta_class" and *GETFILE;
    };
    my (undef, undef, undef, $descr) = pkgs::readCompssUsers([{}], [], $meta_class);
    %$descr;
}

foreach (uniq(get(''), get('.desktop'))) {
    s/"/\"/g;
    print qq(
#: ../../share/compssUsers
msgid "$_"
msgstr ""
);
}