~george-edison55/stackapplet/1.5.2

1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl

# First create a list of all of the .po files
@po_files = glob('*.po');

# For each of them, compile them and move them
# to their correct location.
foreach(@po_files) {
    s/\.po//;
    `msgfmt $_.po -o $_.mo`;
    `rm $_.po`;
    `mkdir -p po/$_/LC_MESSAGES`;
    `mv $_.mo po/$_/LC_MESSAGES/stackapplet.mo`;
}