summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-02-24 16:35:57 -0800
committerBrion Vibber <brion@pobox.com>2010-02-24 16:35:57 -0800
commit8914b69d5055c1bc7d0604ee338ffdaf6b0a8606 (patch)
treeba349abf0e8c87b2c154db7e5ed04ec0c3ab6996 /scripts
parent3dc86f2bd328986e9ca3d7edd8355be91b1bfb7f (diff)
parent3b7084c6ddc9277ec9ed47a0fbd403407f27a7e8 (diff)
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update_po_templates.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/update_po_templates.php b/scripts/update_po_templates.php
index f882f673a..61a6ac783 100755
--- a/scripts/update_po_templates.php
+++ b/scripts/update_po_templates.php
@@ -63,7 +63,10 @@ xgettext \
--output=locale/$domain.po \
--language=PHP \
--keyword='' \
- --keyword="_m:1" \
+ --keyword="_m:1,1t" \
+ --keyword="_m:1c,2,2t" \
+ --keyword="_m:1,2,3t" \
+ --keyword="_m:1c,2,3,4t" \
END;
foreach ($files as $file) {
@@ -186,6 +189,9 @@ foreach ($args as $arg) {
$allplugins = true;
} elseif (substr($arg, 0, 9) == "--plugin=") {
$plugins[] = substr($arg, 9);
+ } elseif ($arg == '--help') {
+ echo "options: --all --core --plugins --plugin=Foo\n\n";
+ exit(0);
}
}