mirror of
https://github.com/Icinga/L10n.git
synced 2025-04-08 17:15:19 +02:00
bin/update: Ignore test files when creating the catalog
This commit is contained in:
parent
537679554f
commit
368fb33be1
@ -42,7 +42,7 @@ for repo_name in "${SOURCE_REPOSITORIES[@]}"; do
|
||||
done
|
||||
|
||||
# Create a list of files xgettext should scan
|
||||
find -L . -regex ".*\.\(php\|phtml\)" ! -path "*/vendor/*" > catalog.txt
|
||||
find -L . -regex ".*\.\(php\|phtml\)" ! -path "*/vendor/*" ! -path "*/test/*" > catalog.txt
|
||||
|
||||
xgettext --language=PHP \
|
||||
--keyword=translate \
|
||||
|
Loading…
x
Reference in New Issue
Block a user