source: git/lib/unlaunchpad-po @ 6176b37

RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereowalls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
Last change on this file since 6176b37 was 6176b37, checked in by Olly Betts <olly@…>, 12 years ago

lib/Makefile.am,lib/unlaunchpad-po: Add "launchpad-diff" make target
to assist with merging in translation changes from launchpad.

  • Property mode set to 100755
File size: 276 bytes
Line 
1#!/usr/bin/perl -w
2use strict;
3
4$/ = "\n\n";
5$_ = <>;
6s/^"X-Launchpad-Export-Date: .*\\n"\n//m;
7s/^"X-Generator: Launchpad \(build \d+\)\\n"\n//m;
8print;
9
10$/ = undef;
11$_ = <>;
12s/"\n"//g;
13s/^(#\.)\s+$/$1/mg;
14# Fix transifex source refs
15while (s/(^#: .*) /$1\n#. /m) { }
16print;
Note: See TracBrowser for help on using the repository browser.