From owner-dev-commits-doc-all@freebsd.org Mon Aug 23 17:27:19 2021 Return-Path: Delivered-To: dev-commits-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9038766E9AC for ; Mon, 23 Aug 2021 17:27:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GtfLv3Q3Kz4VYk; Mon, 23 Aug 2021 17:27:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 59D69180E7; Mon, 23 Aug 2021 17:27:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17NHRJ6m012470; Mon, 23 Aug 2021 17:27:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17NHRJS1012469; Mon, 23 Aug 2021 17:27:19 GMT (envelope-from git) Date: Mon, 23 Aug 2021 17:27:19 GMT Message-Id: <202108231727.17NHRJS1012469@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: "Danilo G. Baio" Subject: git: aefc57f944 - main - tools/translate: Ignore some files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dbaio X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aefc57f944a16682bf48e67142451fca5acd2bde Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2021 17:27:19 -0000 The branch main has been updated by dbaio: URL: https://cgit.FreeBSD.org/doc/commit/?id=aefc57f944a16682bf48e67142451fca5acd2bde commit aefc57f944a16682bf48e67142451fca5acd2bde Author: Danilo G. Baio AuthorDate: 2021-08-23 17:24:06 +0000 Commit: Danilo G. Baio 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"