diff options
Diffstat (limited to 'modules/rpmdragora/po/clean_po.pl')
-rwxr-xr-x | modules/rpmdragora/po/clean_po.pl | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/modules/rpmdragora/po/clean_po.pl b/modules/rpmdragora/po/clean_po.pl deleted file mode 100755 index 7022dc7..0000000 --- a/modules/rpmdragora/po/clean_po.pl +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/perl - -# we remove old translations (#~ stuff) because some id's may be shared -# with what's extracted from the compss, and in such case msgfmt will -# not put the translations in the mo :( - -use MDK::Common; - -my $line_number = 0; -my @contents = cat_($ARGV[0]); - -foreach (@contents) { - $line_number++; - /^#, fuzzy/ && $contents[$line_number+1] =~ /^#~/ and next; - /^#~/ and next; - print; -} |