mirror of
https://github.com/WeblateOrg/weblate.git
synced 2026-08-01 13:20:10 +08:00
7 lines
232 B
Bash
Executable file
Vendored
7 lines
232 B
Bash
Executable file
Vendored
#!/bin/sh
|
|
# Post-update hook to merge POT translations into PO.
|
|
# Requires gettext.
|
|
|
|
[ -z "${WL_NEW_BASE}" -o -z "${WL_FILEMASK} ] && exit 0
|
|
find . -type f -path "./${WL_FILEMASK}" -exec msgmerge -U "{}" "${WL_NEW_BASE}" \;
|
|
exit $?
|