File: generate-translation-binaries.sh

package info (click to toggle)
python-humanize 4.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 760 kB
  • sloc: python: 1,943; sh: 14; makefile: 10
file content (8 lines) | stat: -rwxr-xr-x 204 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
set -e

for d in src/humanize/locale/*/; do
    locale="$(basename $d)"
    echo "$locale"
    # compile to binary .mo
    msgfmt --check -o src/humanize/locale/$locale/LC_MESSAGES/humanize{.mo,.po}
done