summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-01 14:59:26 -0800
committerBrion Vibber <brion@pobox.com>2010-03-01 14:59:26 -0800
commit3c4ead4996fe910ac800d4940f429910faf1bb8b (patch)
tree0babc46f34999bbdf30eb97e376bcf036c757d74 /scripts
parentbf95fa92b5cd8969c7f695d1e1636aaca6fb77cd (diff)
parent7bbdea10327dfd5cd059337e4f2d3d5f21d909da (diff)
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
Conflicts: db/08to09.sql locale/statusnet.po scripts/update_po_templates.php
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update_po_templates.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/update_po_templates.php b/scripts/update_po_templates.php
index 63bd72c47..0bfa62a22 100755
--- a/scripts/update_po_templates.php
+++ b/scripts/update_po_templates.php
@@ -36,12 +36,13 @@ xgettext \
--default-domain=$domain \
--output=locale/$domain.po \
--language=PHP \
- --keyword="pgettext:1c,2" \
- --keyword="npgettext:1c,2,3" \
+ --add-comments=TRANS \
--keyword="_m:1,1t" \
--keyword="_m:1c,2,2t" \
--keyword="_m:1,2,3t" \
--keyword="_m:1c,2,3,4t" \
+ --keyword="pgettext:1c,2" \
+ --keyword="npgettext:1c,2,3" \
actions/*.php \
classes/*.php \
lib/*.php \
@@ -65,6 +66,7 @@ xgettext \
--default-domain=$domain \
--output=locale/$domain.po \
--language=PHP \
+ --add-comments=TRANS \
--keyword='' \
--keyword="_m:1,1t" \
--keyword="_m:1c,2,2t" \