jellyfin-mpv-shim/regen_pot.sh

8 lines
273 B
Bash
Raw Normal View History

2020-08-14 05:14:16 +00:00
#!/bin/bash
2022-06-19 17:38:03 +00:00
pygettext3 --default-domain=base -o jellyfin_mpv_shim/messages/base.pot jellyfin_mpv_shim/*.py jellyfin_mpv_shim/**/*.py
2020-08-14 05:14:16 +00:00
find -iname '*.po' | while read -r file
do
msgmerge --update "$file" --backup=none --previous jellyfin_mpv_shim/messages/base.pot
done