mirror of
https://git.FreeBSD.org/doc.git
synced 2026-06-02 19:35:07 +00:00
tools/translate: Ignore some files
This list of *.adoc files only contains information that isn't translatable. Discussed with fernape@ on freebsd-translators@.
This commit is contained in:
@@ -39,6 +39,13 @@ toc-3.adoc
|
||||
toc-4.adoc
|
||||
toc-5.adoc"
|
||||
|
||||
IGNORE_FILES="contrib-386bsd
|
||||
contrib-additional
|
||||
contrib-committers
|
||||
contrib-corealumni
|
||||
contrib-develalumni
|
||||
contrib-portmgralumni"
|
||||
|
||||
for remove_file in $GIT_IGNORE_FILES; do
|
||||
find documentation/content/en/ -name "$remove_file" -delete -print || exit 1
|
||||
done
|
||||
@@ -62,6 +69,10 @@ for component in $COMPONENTS; do
|
||||
continue
|
||||
fi
|
||||
|
||||
if echo "$IGNORE_FILES" | grep -q -w "$name"; then
|
||||
continue
|
||||
fi
|
||||
|
||||
dirbase=$(dirname "$document")
|
||||
echo "$document"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user