summaryrefslogtreecommitdiff
path: root/locale/make.php
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2010-12-01 01:02:09 +0100
committerMichael Tänzer <neo@nhng.de>2010-12-01 01:02:09 +0100
commitd03c1a6bc5fd142d86b4bcbaee9864faff9567ad (patch)
tree91412754723e51f04aace583c1d5b2d33640a16e /locale/make.php
parent4145a1e31cf13340b417299f8a1fc87a90978d9d (diff)
downloadcacert-devel-d03c1a6bc5fd142d86b4bcbaee9864faff9567ad.tar.gz
cacert-devel-d03c1a6bc5fd142d86b4bcbaee9864faff9567ad.tar.xz
cacert-devel-d03c1a6bc5fd142d86b4bcbaee9864faff9567ad.zip
#896: Remove translation files from tarballs
Get .po and .mo files out of version control as they are generated by translingo Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'locale/make.php')
-rwxr-xr-xlocale/make.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/locale/make.php b/locale/make.php
index a4bfc7b..859d75e 100755
--- a/locale/make.php
+++ b/locale/make.php
@@ -17,6 +17,7 @@
{
$do = `wget -O $key.po "http://translingo.cacert.org/export2.php?pid=1&editlanguage=$val" 2>&1`;
echo $do;
+ echo `mkdir -p $key/LC_MESSAGES/`;
$do = `msgfmt -o $key/LC_MESSAGES/messages.mo $key.po 2>&1`;
echo $do;
}
@@ -26,6 +27,7 @@ echo $do;
{
$do = `wget -O $key.po "http://translingo.cacert.org/export2.php?pid=1&editlanguage=$val" 2>&1`;
echo $do;
+ echo `mkdir -p $key/LC_MESSAGES/`;
$do = `msgfmt -o $key/LC_MESSAGES/messages.mo $key.po 2>&1`;
echo $do;
}