lutris/po/generate-potfiles.sh
Stephan Lachnit 311eedc29b po: add script to update POTFILES
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-11-05 01:44:06 -08:00

16 lines
431 B
Bash
Executable file

#!/bin/sh
cd "$(dirname "$(realpath "$0")")/.."
echo "# generated on $(date -u)" > ./po/POTFILES
echo "" >> ./po/POTFILES
echo "./share/applications/net.lutris.Lutris.desktop" >> ./po/POTFILES
echo "./share/metainfo/net.lutris.Lutris.metainfo.xml" >> ./po/POTFILES
echo "" >> ./po/POTFILES
find ./share/lutris/ui -name '*.ui' | sort >> ./po/POTFILES
echo "" >> ./po/POTFILES
find ./lutris -name '*.py' | sort >> ./po/POTFILES