mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
make: generate English .pot file via xgettext
Needs the optional gettext-tools package to run.
This commit is contained in:
parent
f730946c03
commit
87a1e6157a
4
Makefile
4
Makefile
@ -52,6 +52,10 @@ health:
|
||||
# check test script output and advertise a failure...
|
||||
[ "`${.CURDIR}/src/etc/rc.php_test_run`" == "FCGI-PASSED PASSED" ]
|
||||
|
||||
translate:
|
||||
find src | xargs xgettext -L PHP --from-code=UTF-8 -F \
|
||||
-o src/share/locale/en/LC_MESSAGES/OPNsense.pot
|
||||
|
||||
clean:
|
||||
git reset --hard HEAD && git clean -xdqf .
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user