Commit 87a1e615 authored by Franco Fichtner's avatar Franco Fichtner

make: generate English .pot file via xgettext

Needs the optional gettext-tools package to run.
parent f730946c
......@@ -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 .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment