photoprism/scripts/gettext-clear-fuzzy.sh

10 lines
350 B
Bash
Raw Normal View History

#!/usr/bin/env bash
echo "Removing fuzzy attribute from backend translations..."
for file in ./assets/locales/**/*.po; do msgattrib --clear-fuzzy -o "${file}" "${file}"; done
echo "Removing fuzzy attribute from frontend translations..."
for file in ./frontend/src/locales/*.po; do msgattrib --clear-fuzzy -o "${file}" "${file}"; done
echo "Done."