From 325c26650640aa3bf161701d4fc23651797bdc04 Mon Sep 17 00:00:00 2001 From: Slava Zanko Date: Tue, 7 Dec 2010 14:31:20 +0200 Subject: [PATCH] Added new rules for initialize default values in mc.pot file This neded for update source file to Transifex.org by command: tx push -l en --source Signed-off-by: Slava Zanko --- po/Rules-pot-defaults | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 po/Rules-pot-defaults diff --git a/po/Rules-pot-defaults b/po/Rules-pot-defaults new file mode 100644 index 000000000..42848fddc --- /dev/null +++ b/po/Rules-pot-defaults @@ -0,0 +1,12 @@ + +update-po: Makefile + $(MAKE) $(DOMAIN).pot-update && \ + sed \ + -e '/#, fuzzy/d' \ + -e 's/Project-Id-Version: PACKAGE VERSION/Project-Id-Version: $(PACKAGE) $(VERSION)/' \ + -e 's/^"Plural-Forms: nplurals=INTEGER;/#"Plural-Forms: nplurals=INTEGER;/' \ + -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) + $(MAKE) update-gmo