Added support for pgettext() and npgettext() to separate contexts for translatable messages that are going to be ambiguous in English original.
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
cd `dirname $0`
|
||||
cd ..
|
||||
xgettext --from-code=UTF-8 --default-domain=statusnet --output=locale/statusnet.po --language=PHP --join-existing actions/*.php classes/*.php lib/*.php scripts/*.php
|
||||
xgettext \
|
||||
--from-code=UTF-8 \
|
||||
--default-domain=statusnet \
|
||||
--output=locale/statusnet.po \
|
||||
--language=PHP \
|
||||
--keyword="pgettext:1c,2" \
|
||||
--keyword="npgettext:1c,2,3" \
|
||||
--join-existing \
|
||||
actions/*.php \
|
||||
classes/*.php \
|
||||
lib/*.php \
|
||||
scripts/*.php
|
||||
|
Reference in New Issue
Block a user