1
0
mirror of https://github.com/lutris/lutris synced 2024-07-05 08:28:41 +00:00
lutris/po/generate-potfiles.sh
Stephan Lachnit ad3875eb42 i18n: update readme and POTFILES readability
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2021-04-26 23:01:43 -07:00

16 lines
421 B
Bash
Executable File

#!/bin/sh
cd "$(dirname "$(realpath "$0")")/.."
echo "# generated on $(date -u -Iseconds)" > 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