jellyfin-mpv-shim/regen_pot.sh
2022-06-19 13:38:03 -04:00

8 lines
273 B
Bash
Executable File

#!/bin/bash
pygettext3 --default-domain=base -o jellyfin_mpv_shim/messages/base.pot jellyfin_mpv_shim/*.py jellyfin_mpv_shim/**/*.py
find -iname '*.po' | while read -r file
do
msgmerge --update "$file" --backup=none --previous jellyfin_mpv_shim/messages/base.pot
done