jellyfin-mpv-shim/regen_pot.sh
2020-08-14 01:14:16 -04:00

8 lines
272 B
Bash
Executable File

#!/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