From 31dbb443af401a3ff081ee58824f53b37ce47ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Sat, 25 Nov 2023 18:33:45 +0100 Subject: [PATCH] Do build translations on CI --- .build.yml | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.build.yml b/.build.yml index 34c04b3..1929dba 100644 --- a/.build.yml +++ b/.build.yml @@ -9,6 +9,7 @@ packages: - libtss2-dev - libtspi-dev - libssl-dev + - gettext - mandoc - shellcheck - curl diff --git a/Makefile b/Makefile index 637c8c8..8fc6b4d 100644 --- a/Makefile +++ b/Makefile @@ -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) $@ &&) : @>> $@