flatpak-builder --install --user --force-clean ./.flatpak-builder/out com.usebottles.bottles.yml
flatpak run com.usebottles.bottles
flatpak uninstall com.usebottles.bottles//master
pytest .
Regenerate PYPI dependency manifest when requirements.txt changed
python ./utils/flatpak-pip-generator.py --runtime org.gnome.Sdk -r requirements.txt -o com.usebottles.bottles.pypi-deps --yaml
List of source files containing translatable strings.
Regenerate this file when you added/moved/removed/renamed files
that contains translatable strings.
cat > po/POTFILES <<EOF
# List of source files containing translatable strings.
# Please keep this file sorted alphabetically.
EOF
grep -rlP "_\(['\"]" bottles | sort >> po/POTFILES
cat >> po/POTFILES <<EOF
data/com.usebottles.bottles.desktop.in
data/com.usebottles.bottles.gschema.xml
data/com.usebottles.bottles.metainfo.xml.in
EOF
We have a main pot file, which is template for other .po
files
And for each language listed in po/LINGUAS
we have a corresponding .po
file
Regenerate these files when any translatable string added/changed/removed
# make sure you have `meson` and `blueprint-compiler` installed
meson setup /tmp/i18n-build
meson compile -C /tmp/i18n-build/ bottles-pot
meson compile -C /tmp/i18n-build/ bottles-update-po