feat: gnome project structure and accessory files

This commit is contained in:
Gabriele Musco 2023-06-18 11:34:04 +02:00
commit 9e90c1b253
No known key found for this signature in database
GPG key ID: 1068D795C80E51DE
21 changed files with 460 additions and 11 deletions

15
po/update_potfiles.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/bash
APPID="org.gabmus.rex2"
rm po/POTFILES.in po/POTFILES.in.in
{
grep -Fl "gettext(\"" src/**.rs
# grep -Fl "_(\"" data/resources/ui/**.blp
echo "data/${APPID}.desktop.in.in"
echo "data/${APPID}.metainfo.xml.in.in"
} >> po/POTFILES.in.in
sort < po/POTFILES.in.in | uniq > po/POTFILES.in
rm po/POTFILES.in.in