Makefile: even easier generate translations

This commit is contained in:
pedro 2024-11-08 18:27:24 +01:00
parent da7b78eae3
commit af780b1247
1 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,10 @@ boot_iso_uefi_secureboot:
-drive file=deploy/iso/workbench_debug.iso,cache=none,if=virtio,format=raw,index=0,media=disk \
-boot menu=on
es_gen:
$(MAKE) es_gen_po
$(MAKE) es_gen_mo
es_gen_po:
cp locale/es/LC_MESSAGES/messages.po locale/es/LC_MESSAGES/messages.pot.bak
pygettext3 -p locale/es/LC_MESSAGES/ workbench-script.py