wordpress-theme-openmamba/languages/update-po.sh
2015-10-17 14:16:26 +02:00

6 lines
346 B
Bash
Executable File

#!/bin/sh
xgettext --default-domain=responsive --language=PHP --keyword=__ --keyword=_e --sort-by-file --copyright-holder="Silvan Calarco" --package-name=openmamba --package-version=1.0 --msgid-bugs-address="bugs@openmamba.org" ../*.php
msgmerge it_IT.po responsive.po -o it_IT.po
sed -i "s|#~ ||" it_IT.po
msgcat it_IT.po | msgfmt -o it_IT.mo -