From nobody Tue Feb 01 13:34:25 2022 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1C650198C17D for ; Tue, 1 Feb 2022 13:34:26 +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 4Jp5WQ0JBJz3lPG; Tue, 1 Feb 2022 13:34:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643722466; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+lVX9js/PNwTfcZ5uQZvIhauhlr6II6j4b+/DHJ99XM=; b=DA5gkcw8fqSbLbHyU+T+oSsblUFi7OVMzcNin903UvcGG5tneIZefVjoQLDk/kst6gAxHS 5w4XlUl92zhp0dLH0lFj85kk0mTLuv8TIv45kl7K86Dzd9yztydYR997H7rS2ztQb0UwcF cc6W4nZsi0W7NYBKA1SfV/zAJyhkV2JpLDbmk3PILl6e5u3lWkz2msxMoVjyDN+uwvbKxe ck4oOHtbqJyMyNy0a8McYoBm/dwSefVcF/p/e0I8FEgWJLzFTANVmkpf9TRx1JCLr+KXh8 nhOBV9Qbp+aMZJtTMOetFOed3tFTwlv8tNcm+gpiWhj/LAW44IaD/FEWK8XrIQ== 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 DDBD7118E6; Tue, 1 Feb 2022 13:34:25 +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 211DYPaU003426; Tue, 1 Feb 2022 13:34:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 211DYPBb003425; Tue, 1 Feb 2022 13:34:25 GMT (envelope-from git) Date: Tue, 1 Feb 2022 13:34:25 GMT Message-Id: <202202011334.211DYPBb003425@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: "Danilo G. Baio" Subject: git: 475f3464c4 - main - tools/translate: Enable tablecells on po4a/Asciidoc List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org 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: 475f3464c436720d782cb2315ddba3c87deb1a3e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643722466; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+lVX9js/PNwTfcZ5uQZvIhauhlr6II6j4b+/DHJ99XM=; b=c8UjTOXhhSzZavpelf7arLKxdz6CZlJsS2TZOhPbBdLOqSlgeWu6axXB5D4XOSJnWj8hau y/hqzyMYuTPO79avIc55uyQw/X9JgAhD1uQ+mAtXBWUzFRWL5o5/CcWTHD/3o9Xus3FM3a tJfJVHy1nFBJuZc8Fufvh2G7lYr9uBZB/EX0a7yGTuA4o/+hmelg7b7o8XhkORpncA2/am O00na+xL8gBuHnQfMDVYucJH6ZwOUGK4CLxze2NOUgzyqhG2IW1lrjLm8ItG1M3T6ACtV6 88Ack6hbdHgn4AoGlGuyQVk9v47t8W8WYVIiCxo2uDrcWAs9Q3TiHJzgugVn6Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643722466; a=rsa-sha256; cv=none; b=tI+0pRjAHrNjP6ASN2JXhotTCzm3q5umuoOQr3zAM9z7GRSNm3MHbcIEzKxrU5usS3WXaH 4eNICF5wZiN78tuLbeRbY7KgHKk3zVBN1prN8vWtJr/muabcr1X4cwCMOG1hvvliHF46Ke nGrAbkDNQ/CKwBT0jOu6kerpOqi9CMzOXIv6hRzzWJ8pkJlmZ8foSHaBJEjZ+eXiTM5ik7 pShr3OsA1vhztGAsB/hC+mMzH2sCDig43MD8fV4nNwoWmQdPW2BcTTbCPszpRCbUCjokGo FEMKd2ODxRvLGNuCv7UqfBJ1HX1Mo24zNaoryu7/2FJAJa+SI6qbm5sdoiTYMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dbaio: URL: https://cgit.FreeBSD.org/doc/commit/?id=475f3464c436720d782cb2315ddba3c87deb1a3e commit 475f3464c436720d782cb2315ddba3c87deb1a3e Author: Danilo G. Baio AuthorDate: 2022-02-01 13:27:22 +0000 Commit: Danilo G. Baio CommitDate: 2022-02-01 13:27:22 +0000 tools/translate: Enable tablecells on po4a/Asciidoc Without that, po4a combines all table content into a single string, making it difficult to translate, especially when the table has much information. --- tools/translate.sh | 2 ++ tools/update_translate_template.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tools/translate.sh b/tools/translate.sh index 10be78aa05..772023fca4 100755 --- a/tools/translate.sh +++ b/tools/translate.sh @@ -98,6 +98,7 @@ for pofile in $(find "$COMPONENT/content/$LANGUAGE/$SEARCH_RESTRICT" -name "*.po po4a-updatepo \ --format asciidoc \ --option compat=asciidoctor \ + --option tablecells=1 \ --option yfm_keys=title,part,description \ --master "$adoc_orig" \ --master-charset "UTF-8" \ @@ -111,6 +112,7 @@ for pofile in $(find "$COMPONENT/content/$LANGUAGE/$SEARCH_RESTRICT" -name "*.po po4a-translate \ --format asciidoc \ --option compat=asciidoctor \ + --option tablecells=1 \ --option yfm_keys=title,part,description \ --master "$adoc_orig" \ --master-charset "UTF-8" \ diff --git a/tools/update_translate_template.sh b/tools/update_translate_template.sh index d2327e1ad6..00509a031b 100755 --- a/tools/update_translate_template.sh +++ b/tools/update_translate_template.sh @@ -80,6 +80,7 @@ for component in $COMPONENTS; do po4a-updatepo \ --format asciidoc \ --option compat=asciidoctor \ + --option tablecells=1 \ --option yfm_keys=title,part,description \ --master "$document" \ --master-charset "UTF-8" \ @@ -93,6 +94,7 @@ for component in $COMPONENTS; do po4a-gettextize \ --format asciidoc \ --option compat=asciidoctor \ + --option tablecells=1 \ --option yfm_keys=title,part,description \ --master "$document" \ --master-charset "UTF-8" \