git: aefc57f944 - main - tools/translate: Ignore some files

"Danilo G. Baio" <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by dbaio:

URL: https://cgit.FreeBSD.org/doc/commit/?id=aefc57f944a16682bf48e67142451fca5acd2bde

commit aefc57f944a16682bf48e67142451fca5acd2bde
Author:     Danilo G. Baio <[email protected]>
AuthorDate: 2021-08-23 17:24:06 +0000
Commit:     Danilo G. Baio <[email protected]>
CommitDate: 2021-08-23 17:24:06 +0000

    tools/translate: Ignore some files
    
    This list of *.adoc files only contains information that isn't
    translatable.
    
    Discussed with fernape@ on freebsd-translators@.
---
 tools/update_translate_template.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tools/update_translate_template.sh b/tools/update_translate_template.sh
index 5e577b7f71..d2327e1ad6 100755
--- a/tools/update_translate_template.sh
+++ b/tools/update_translate_template.sh
@@ -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"
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.