From owner-dev-commits-doc-all@freebsd.org Sun Sep 19 21:25:44 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 9998A671B7B for ; Sun, 19 Sep 2021 21:25:44 +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 4HCLMX3qvZz3vsq; Sun, 19 Sep 2021 21:25:44 +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 5EDC8240DB; Sun, 19 Sep 2021 21:25:44 +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 18JLPiHA081382; Sun, 19 Sep 2021 21:25:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18JLPiam081381; Sun, 19 Sep 2021 21:25:44 GMT (envelope-from git) Date: Sun, 19 Sep 2021 21:25:44 GMT Message-Id: <202109192125.18JLPiam081381@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 49091873f4 - main - tools/translate.sh: Fix a typo and trim whitespace MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 49091873f44b3b5ccf7b9096ef7fbec0173aa15e 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: Sun, 19 Sep 2021 21:25:44 -0000 The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/doc/commit/?id=49091873f44b3b5ccf7b9096ef7fbec0173aa15e commit 49091873f44b3b5ccf7b9096ef7fbec0173aa15e Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2021-09-19 21:02:17 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2021-09-19 21:02:17 +0000 tools/translate.sh: Fix a typo and trim whitespace --- tools/translate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/translate.sh b/tools/translate.sh index 632c370255..c5a4ab895e 100755 --- a/tools/translate.sh +++ b/tools/translate.sh @@ -38,7 +38,7 @@ fixup_lists() ######################################################### # Fix includes. In a few cases we want to include the # # master (aka English) version of the includes # -# S1: file to fix # +# $1: file to fix # # $2: language # ######################################################### fixup_includes() @@ -102,7 +102,7 @@ for pofile in $(find "$COMPONENT/content/$LANGUAGE/" -name "*.po" ); do --localized "$adoc_lang" \ --localized-charset "UTF-8" \ --keep "$KEEP" - + fixup_lists "${adoc_lang}" fixup_includes "${adoc_lang}" "${LANGUAGE}" done