From nobody Sat Mar 04 12:07:34 2023 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 4PTNrQ6sDFz3vx78 for ; Sat, 4 Mar 2023 12:07:34 +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 4PTNrQ6M8Xz4GYZ; Sat, 4 Mar 2023 12:07:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677931654; 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=AdfAlB9kVbcfhiF9N8txFbPqqLfvuvXZvFXz8SQw7Qc=; b=jF7M1kyUqizMn8Gdg/o8AMO62M48rfzm1jHK1fBd3rxXAcW9oLe4w/ntKv1rju+eI4FRzA VYpHERVu3g2CGQcFZCYTgY9++6wYERKrWv7Z8JIXW5Q1kjZukb3/96GfToZvAUDcuBbq3Q 5sy+UB+zH39s3LYXJXScziY3iuyPrpTxWK+eaubwI8YQHzMPVPgQ1tilvysfHnoL0vUSr9 5FTYsnlL24/VBTmeVWrAdI3+Ou0wZ9SLjoB/voLRau/n84H4OTBgNZc77+6jMjjwXdvRU0 UbqDGy4ySXoMvZR50hc6s2X66I9jxkF6ujyhbf6QnePtkxhHgNZWg73MKDLXsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677931654; 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=AdfAlB9kVbcfhiF9N8txFbPqqLfvuvXZvFXz8SQw7Qc=; b=Hso5dDF42d0V/K06n5/NMFkSEOS8oDj/oesEX6fUK/PkN0++Yaaa2wcUq9tctnBnxbKyaL Z/ItXk8k6Bi4hHjJaAZ5NNcUPKsKk8m84fT1m/nYxFaouvWpIOenFGfa9vjAhaeLuYFwED n4WMH96kN/yucK01Oq2UsvGq9zMfYQ17wpr4SsbQ0cMB7YK98oneoMTID4yyAGHNTmu/JT qeuKAfzTK2eyCxH5uuPF8d20PX58+/h780brgG078EY6049abxP4bMWCEj4vJtZUrV3MO9 hqkRoMT2nKeGNTMNUImYch+ZxvWaJRTxPRufxZ7/YJgWVur1NaoM25c0feRtzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677931654; a=rsa-sha256; cv=none; b=GhvWDGlv3ITbEU9VPpddp2NFPpjhxlX7Je4hICX532T7j/LV3puw4bLhf5jFpx6/uQUXRd Do9/4FJvtCJ+9UWH27KlrfeYvzs9nCrXRfgXBhA/nNmahixzW6PrhdfHpKFTaVNIuLuUO/ iU11aF84+uZgqpQOVnKsmTXjeOUrMQ5XiR43e0Nj2leAeEDWC2nHbQGTcWZAqQMW8nxD56 UrRJbSnrpNeeenoD9r7oAYupAHFegPKXiI1egNgl2R9kewIu7W9sqPyqC3xaiRXzDOiCF9 F9jQ/rym6KCOu4dr6aDZlG6KjmSjndC/kQHl1rM1ribKud6tLohYvt4MnYv1cA== 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 4PTNrQ56YszfXG; Sat, 4 Mar 2023 12:07:34 +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 324C7YAD058818; Sat, 4 Mar 2023 12:07:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 324C7YcI058817; Sat, 4 Mar 2023 12:07:34 GMT (envelope-from git) Date: Sat, 4 Mar 2023 12:07:34 GMT Message-Id: <202303041207.324C7YcI058817@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Sergio Carlavilla Delgado Subject: git: 09db844c01 - main - Add message indicating that possibly the translation is obsolete 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: carlavilla X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 09db844c018312d33dbe92806f2ed43418389b95 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by carlavilla: URL: https://cgit.FreeBSD.org/doc/commit/?id=09db844c018312d33dbe92806f2ed43418389b95 commit 09db844c018312d33dbe92806f2ed43418389b95 Author: Sergio Carlavilla Delgado AuthorDate: 2023-03-04 12:05:49 +0000 Commit: Sergio Carlavilla Delgado CommitDate: 2023-03-04 12:07:25 +0000 Add message indicating that possibly the translation is obsolete Approved by: doceng(implicit) --- documentation/themes/beastie/i18n/en.toml | 6 ++++++ documentation/themes/beastie/layouts/articles/list.html | 9 +++++++++ documentation/themes/beastie/layouts/articles/single.html | 9 +++++++++ documentation/themes/beastie/layouts/books/list.html | 13 +++++++++---- documentation/themes/beastie/layouts/books/single.html | 9 +++++++++ 5 files changed, 42 insertions(+), 4 deletions(-) diff --git a/documentation/themes/beastie/i18n/en.toml b/documentation/themes/beastie/i18n/en.toml index 38aad89d87..69fe0caa60 100644 --- a/documentation/themes/beastie/i18n/en.toml +++ b/documentation/themes/beastie/i18n/en.toml @@ -52,6 +52,12 @@ other = "by" [search] other = "Search" +[stale-warning-message] +other = "This translation may be out of date. To help with the translations please access the" + +[translation-instance] +other = "FreeBSD translations instance" + # --------------------------------------------------- # Header # --------------------------------------------------- diff --git a/documentation/themes/beastie/layouts/articles/list.html b/documentation/themes/beastie/layouts/articles/list.html index 5ef60849a6..deecb60507 100644 --- a/documentation/themes/beastie/layouts/articles/list.html +++ b/documentation/themes/beastie/layouts/articles/list.html @@ -2,6 +2,15 @@

{{ .Title }}

+ {{ $siteLanguage := string $.Site.Language }} + {{ if ne $siteLanguage "en" }} +
+

+ + {{ i18n "stale-warning-message" }} {{ i18n "translation-instance" }}. +

+
+ {{ end }} {{ if .Params.subtitle }}

{{ .Params.subtitle }}

{{ end }} diff --git a/documentation/themes/beastie/layouts/articles/single.html b/documentation/themes/beastie/layouts/articles/single.html index 5ef60849a6..deecb60507 100644 --- a/documentation/themes/beastie/layouts/articles/single.html +++ b/documentation/themes/beastie/layouts/articles/single.html @@ -2,6 +2,15 @@

{{ .Title }}

+ {{ $siteLanguage := string $.Site.Language }} + {{ if ne $siteLanguage "en" }} +
+

+ + {{ i18n "stale-warning-message" }} {{ i18n "translation-instance" }}. +

+
+ {{ end }} {{ if .Params.subtitle }}

{{ .Params.subtitle }}

{{ end }} diff --git a/documentation/themes/beastie/layouts/books/list.html b/documentation/themes/beastie/layouts/books/list.html index ea5653a6ed..2668a3de8a 100644 --- a/documentation/themes/beastie/layouts/books/list.html +++ b/documentation/themes/beastie/layouts/books/list.html @@ -24,6 +24,15 @@
{{ end }}

{{ .Title }}

+ {{ $siteLanguage := string $.Site.Language }} + {{ if ne $siteLanguage "en" }} +
+

+ + {{ i18n "stale-warning-message" }} {{ i18n "translation-instance" }}. +

+
+ {{ end }} {{ if .Params.copyright }} {{ end }}

{{ .Title }}

+ {{ $siteLanguage := string $.Site.Language }} + {{ if ne $siteLanguage "en" }} +
+

+ + {{ i18n "stale-warning-message" }} {{ i18n "translation-instance" }}. +

+
+ {{ end }} {{ if .Params.copyright }}