gnome-shell/subprojects/extensions-app/generate-translations.sh
Florian Müllner 06c4929493 subprojects: Use meson compile to generate translations
... for the same cosmetic reasons as the previous commit.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1937>
2021-08-24 08:18:26 +00:00

20 lines
391 B
Bash
Executable File

#!/usr/bin/bash
cd $(dirname $0)
sed -e '/subprojects\/extensions-app/!d' \
-e 's:subprojects/extensions-app/::' ../../po/POTFILES.in > po/POTFILES.in
for l in $(<po/LINGUAS)
do
cp ../../po/$l.po po/$l.po
done
builddir=$(mktemp -d -p.)
meson $builddir
meson compile -C $builddir gnome-extensions-app-pot
meson compile -C $builddir gnome-extensions-app-update-po
rm -rf $builddir