diff options
author | Alastair McKinstry <mckinstry@debian.org> | 2014-06-18 19:42:15 +0200 |
---|---|---|
committer | Alastair McKinstry <mckinstry@debian.org> | 2014-06-18 19:42:15 +0200 |
commit | d7ff7fdc053638ce255be50d3324db36ad3e21a2 (patch) | |
tree | 3720a3b49dd12ecda33615e27d6e498eafdb1bb8 /debian/klist-to-po.pl | |
parent | 956f197746b69c062e7ed2e34e4c1a05e4c0cc48 (diff) | |
parent | ecd477afba43521a73a0181b5479d72f6ed97665 (diff) |
console-data (2:1.12-5) unstable; urgency=medium
* Use Built-Using: properly. Thanks to Paul Wise.
[dgit import unpatched console-data 2:1.12-5]
Diffstat (limited to 'debian/klist-to-po.pl')
-rwxr-xr-x | debian/klist-to-po.pl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/klist-to-po.pl b/debian/klist-to-po.pl new file mode 100755 index 0000000..9bf2953 --- /dev/null +++ b/debian/klist-to-po.pl @@ -0,0 +1,14 @@ +#!/usr/bin/perl + + +$filename = $ARGV[0]; +open (MAPLIST, $filename) || die "Failed to open $filename"; + +while (<MAPLIST>) { + ($langlist, $name, $english) = split; + print "# $filename, $name\n"; + print "msgid \"$english\"\n"; + print "msgstr \"\"\n\n"; +} + +close MAPLIST; |