2010-12-07 15:31:20 +03:00
|
|
|
|
|
|
|
update-po: Makefile
|
|
|
|
$(MAKE) $(DOMAIN).pot-update && \
|
|
|
|
sed \
|
|
|
|
-e '/#, fuzzy/d' \
|
|
|
|
-e 's/Project-Id-Version: PACKAGE VERSION/Project-Id-Version: $(PACKAGE) $(VERSION)/' \
|
2015-06-07 21:08:43 +03:00
|
|
|
-e 's/^"Plural-Forms: nplurals=INTEGER;/# "Plural-Forms: nplurals=INTEGER;/' \
|
2010-12-07 15:31:20 +03:00
|
|
|
-e 's@Content-Type: text/plain; charset=CHARSET@Content-Type: text/plain; charset=utf-8@' \
|
|
|
|
< $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
|
|
|
|
mv -f $(DOMAIN).1po $(srcdir)/$(DOMAIN).pot
|
|
|
|
test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
|
2011-04-08 11:48:15 +04:00
|
|
|
$(MAKE) update-gmo && \
|
2015-06-07 21:08:43 +03:00
|
|
|
for i in $(srcdir)/*.po; do sed '/^#\:/d' < $$i > $$i.clean && mv -f $$i.clean $$i; done
|