detect properly _("foo") *and* __("bar")

This commit is contained in:
Antoine Beaupré 2006-05-13 21:53:49 +00:00
parent be8d7ea429
commit 4d8b54e749
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ all: messages.po */LC_MESSAGES/messages.po */LC_MESSAGES/manual.po
messages.po: ../*/*.php messages.po: ../*/*.php
touch $@ 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 %/LC_MESSAGES/messages.po: messages.po
msgmerge -v -U $@ $^ msgmerge -v -U $@ $^