mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
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 <slavazanko@gmail.com>
This commit is contained in:
parent
06ca6499ee
commit
325c266506
12
po/Rules-pot-defaults
Normal file
12
po/Rules-pot-defaults
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user