mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-04-13 09:37:13 +03:00
Do build translations on CI
This commit is contained in:
parent
6b3cc6971d
commit
31dbb443af
@ -9,6 +9,7 @@ packages:
|
|||||||
- libtss2-dev
|
- libtss2-dev
|
||||||
- libtspi-dev
|
- libtspi-dev
|
||||||
- libssl-dev
|
- libssl-dev
|
||||||
|
- gettext
|
||||||
- mandoc
|
- mandoc
|
||||||
- shellcheck
|
- shellcheck
|
||||||
- curl
|
- curl
|
||||||
|
2
Makefile
2
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
|
$(BLDDIR)tzpfms.pot: src/*.[ch]pp src/bin/*.[ch]pp
|
||||||
@mkdir -p $(@D)
|
@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) $@ &&) :
|
$(NOLOCREGEN)$(foreach l,$(LOCALES),msgmerge --backup=off --no-wrap -Uiq $(l) $@ &&) :
|
||||||
@>> $@
|
@>> $@
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user