weblate/examples/hook-merge-pot-in-po

7 lines
161 B
Bash
Executable file
Vendored

#!/bin/sh
# Post-update hook to merge POT translations into PO.
# Requires gettext.
[ -z "${WL_NEW_BASE}" ] && exit 0
msgmerge -U "$1" "${WL_NEW_BASE}"
exit $?