lutris/po/autogen.sh
2020-06-18 19:11:32 -07:00

11 lines
240 B
Bash
Executable file

#!/bin/sh
cd "$(dirname "$(realpath "$0")")/.."
# POTFILES
find . -name '*.ui' | sort > ./po/POTFILES
find . -name '*.py' | sort >> ./po/POTFILES
# LINGUAS
cd ./po
find . -name '*.po' | sed 's#^\./##' | sed 's#\.po$##' | sort > ./LINGUAS