#!/bin/sh TEMPLATE=pigs.pot xgettext -kT_ngettext:1,2 -kT_ -L PHP -o $TEMPLATE pigs_dropin.php if [ "x$1" = "x-p" ]; then msgfmt --statistics $TEMPLATE else if [ -f $1.po ]; then msgmerge -o .tmp$1.po $1.po $TEMPLATE mv .tmp$1.po $1.po msgfmt --statistics $1.po else echo "Usage: $0 [-p|<basename>]" fi fi
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
locale | Folder | 0755 |
|
|
index.php | File | 878 B | 0644 |
|
pigs_dropin.php | File | 2.5 KB | 0644 |
|
pigs_fallback.php | File | 2.47 KB | 0644 |
|
update | File | 326 B | 0755 |
|