wordpress-theme-openmamba/languages/update-po.sh

6 lines
360 B
Bash
Executable File

#!/bin/sh
xgettext --default-domain=responsive --language=PHP --keyword=__ --keyword=_e --keyword=_r --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 -