detect properly _("foo") *and* __("bar")
This commit is contained in:
parent
be8d7ea429
commit
4d8b54e749
|
@ -3,7 +3,7 @@ all: messages.po */LC_MESSAGES/messages.po */LC_MESSAGES/manual.po
|
|||
|
||||
messages.po: ../*/*.php
|
||||
touch $@
|
||||
xgettext --force-po --omit-header -L PHP --from-code iso-8859-1 -j $^
|
||||
xgettext --force-po --omit-header --keyword=__ --keyword=_ -L PHP --from-code iso-8859-1 -j $^
|
||||
|
||||
%/LC_MESSAGES/messages.po: messages.po
|
||||
msgmerge -v -U $@ $^
|
||||
|
|
Loading…
Reference in New Issue