oups! .pot is for Template, so it was the right extension

This commit is contained in:
Antoine Beaupré 2006-05-13 22:18:40 +00:00
parent 740fbb661a
commit bc3e8b45f1
3 changed files with 4 additions and 4 deletions

2
.gitattributes vendored
View File

@ -250,7 +250,7 @@ bureau/locales/es_VE/LC_MESSAGES/manual.po -text
bureau/locales/es_VE/LC_MESSAGES/messages.po -text bureau/locales/es_VE/LC_MESSAGES/messages.po -text
bureau/locales/fr_FR/LC_MESSAGES/manual.po -text bureau/locales/fr_FR/LC_MESSAGES/manual.po -text
bureau/locales/fr_FR/LC_MESSAGES/messages.po -text bureau/locales/fr_FR/LC_MESSAGES/messages.po -text
bureau/locales/manual.po -text bureau/locales/manual.pot -text
bureau/locales/messages.pot -text bureau/locales/messages.pot -text
bureau/style.css -text bureau/style.css -text
debian/.cvsignore -text debian/.cvsignore -text

View File

@ -1,12 +1,12 @@
all: messages.po */LC_MESSAGES/messages.po */LC_MESSAGES/manual.po all: messages.pot */LC_MESSAGES/messages.po */LC_MESSAGES/manual.po
messages.po: ../*/*.php messages.po: ../*/*.php
touch $@ touch $@
xgettext --force-po --omit-header --keyword=__ --keyword=_ -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.pot
msgmerge -v -U $@ $^ msgmerge -v -U $@ $^
%/LC_MESSAGES/manual.po: manual.po %/LC_MESSAGES/manual.po: manual.pot
msgmerge -v -U $@ $^ msgmerge -v -U $@ $^