material-maker/material_maker/locale/check.sh

10 lines
180 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
cd "$(dirname "${BASH_SOURCE[0]}")"
for po in *.po; do
echo -e "\nChecking syntax in $po..."
msgfmt -c "$po" -o /dev/null
done