3 #=======================================================================
5 # File ID: 8806a55c-5d45-11df-8c3b-90e6ba3022ac
6 # Stripper bort oversettelser i .po-filer for å se om det er noe grums
7 # som har oppstått der.
8 #=======================================================================
16 our ($opt_h, $opt_o) =
18 getopts
('ho') || die("Option error. Use -h for help.\n");
24 my $Keep = $opt_o ?
"msgstr" : "msgid";
25 my $Strip = $opt_o ?
"msgid" : "msgstr";
28 if (/^$Keep/ || /^$/) {
38 # Send the help message to stdout {{{
42 Usage: strip_msgstr [options] [file [...]]
44 Strips translations from po files so potential nasty things can be
49 -o Strip original text instead.
56 # vim: set ts=4 sw=4 sts=4 et :