jellyfin-mpv-shim/regen_pot.sh

8 lines
272 B
Bash
Raw Normal View History

2020-08-14 05:14:16 +00:00
#!/bin/bash
pygettext --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