diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-27 16:16:24 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-27 16:16:24 +0000 |
commit | b6b023323cfd4dd5a7f02ae7a92ca45928d79704 (patch) | |
tree | 92c5c28786e9a822af0a7426f46be38618fa0672 /po/get_from_compssusers.pl | |
parent | af8f26fb5bf0d7030f552cc5a8db497731b3a343 (diff) | |
download | rpmdrake-b6b023323cfd4dd5a7f02ae7a92ca45928d79704.tar rpmdrake-b6b023323cfd4dd5a7f02ae7a92ca45928d79704.tar.gz rpmdrake-b6b023323cfd4dd5a7f02ae7a92ca45928d79704.tar.bz2 rpmdrake-b6b023323cfd4dd5a7f02ae7a92ca45928d79704.tar.xz rpmdrake-b6b023323cfd4dd5a7f02ae7a92ca45928d79704.zip |
update po's, add compssusers dirty importing from gi
Diffstat (limited to 'po/get_from_compssusers.pl')
-rwxr-xr-x | po/get_from_compssusers.pl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/po/get_from_compssusers.pl b/po/get_from_compssusers.pl new file mode 100755 index 00000000..35bfa041 --- /dev/null +++ b/po/get_from_compssusers.pl @@ -0,0 +1,16 @@ +#!/usr/bin/perl + +use MDK::Common; + +@miss = qw(Development Server); + +foreach my $line (cat_("../../../gi/perl-install/share/po/$ARGV[0]")) { + $line =~ m|^\Q#: ../../share/compssUsers:999| || ($line =~ m|^msgid "([^"]+)"| && grep { $_ eq $1 } @miss) and do { + $current = 'inside'; + print "# DO NOT BOTHER TO MODIFY HERE, BUT IN DRAKX PO\n"; + }; + $current eq 'inside' and print $line; + $line =~ m|^$| and do { + $current = 'outside'; + }; +} |