Do build translations on CI

This commit is contained in:
наб 2023-11-25 18:33:45 +01:00
parent 6b3cc6971d
commit 31dbb443af
No known key found for this signature in database
GPG Key ID: BCFD0B018D2658F1
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ packages:
- libtss2-dev
- libtspi-dev
- libssl-dev
- gettext
- mandoc
- shellcheck
- curl

View File

@ -79,7 +79,7 @@ init.d-systemd : $(OUTDIR)systemd/$(SYSTEMD_SYSTEM_UNITDIR)/zfs-load-key@.servic
$(BLDDIR)tzpfms.pot: src/*.[ch]pp src/bin/*.[ch]pp
@mkdir -p $(@D)
$(NOLOCREGEN)xgettext --check=ellipsis-unicode -kfgettext -kfngettext:1,2 --from-code=UTF-8 -c -io- $^ | sed -n '/^#[:.]/,$$p' > $@
$(NOLOCREGEN)xgettext --check=ellipsis-unicode --from-code=UTF-8 -c -io- $^ | sed -n '/^#[:.]/,$$p' > $@
$(NOLOCREGEN)$(foreach l,$(LOCALES),msgmerge --backup=off --no-wrap -Uiq $(l) $@ &&) :
@>> $@