aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authormatthew <matthew>2009-07-23 09:59:53 +0000
committermatthew <matthew>2009-07-23 09:59:53 +0000
commitec03692b2c2c60915d0c2f11989e188b65dfce7f (patch)
tree5d80c400118b4edd1416a033fbec278088664723 /bin
parentd6499a4ee6542b1a1fc749389ff17581bb0722a1 (diff)
Streamline .po creation (don't need this one in the repository).
Diffstat (limited to 'bin')
-rwxr-xr-xbin/make_emptyhomes_welsh_po5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/make_emptyhomes_welsh_po b/bin/make_emptyhomes_welsh_po
index 725dea487..8fbce24c6 100755
--- a/bin/make_emptyhomes_welsh_po
+++ b/bin/make_emptyhomes_welsh_po
@@ -9,8 +9,10 @@ use FindBin;
use lib "$FindBin::Bin/../perllib";
use PoChange;
+chdir("$FindBin::Bin/../../locale");
+
# First read in translation and match up.
-open(INPO, shift) or die $!;
+open(INPO, 'cy_GB.UTF-8/LC_MESSAGES/EmptyHomes.po') or die $!;
my $state = 'start';
my $msgid = '';
@@ -41,7 +43,6 @@ while (<INPO>) {
$lookup{$msgid} = [ $msgstr, $fuzzy ];
close INPO;
-chdir("$FindBin::Bin/../../locale");
mkdir("en_GB.UTF-8");
mkdir("en_GB.UTF-8/LC_MESSAGES");
mkdir("cy_GB.UTF-8");