Skip to content

Commit 46b81bf

Browse files
committed
Remove disable_translation_not_found_msg params
1 parent 4438671 commit 46b81bf

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

content/en/announcements/_index.md

-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ cascade:
44
type: docs
55
params:
66
hide_feedback: true
7-
disable_translation_not_found_msg: true
87
---

content/ja/announcements/_index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ cascade:
44
type: docs
55
params:
66
hide_feedback: true
7-
disable_translation_not_found_msg: true
8-
default_lang_commit: 48eac183a4dd74946d5a45fa436cfc6052f30532 # patched
7+
default_lang_commit: 48eac183a4dd74946d5a45fa436cfc6052f30532
98
---

content/pt/announcements/_index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ cascade:
44
type: docs
55
params:
66
hide_feedback: true
7-
disable_translation_not_found_msg: true
8-
default_lang_commit: 2291fd884421f8a0bb47c72327c0681fdf116225 # patched
7+
default_lang_commit: 2291fd884421f8a0bb47c72327c0681fdf116225
98
---

layouts/docs/td-content-after-header.html

+10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
{{ $pageProseLang := partial "i18n/lang.html" . -}}
22
{{ $siteLang := .Site.Language -}}
33

4+
{{/*
5+
6+
The disable_translation_not_found_msg param isn't currently used and I suspect
7+
that we won't need it, but I'll wait until the following feature is implemented
8+
before removing the code:
9+
10+
https://github.com/open-telemetry/opentelemetry.io/issues/6340
11+
12+
*/ -}}
13+
414
{{ if and
515
(ne $siteLang $pageProseLang)
616
(not (.Param "disable_translation_not_found_msg"))

0 commit comments

Comments
 (0)