Merge missing translations (#10355)

* Merge missing translations

* Disable Norwegian
This commit is contained in:
Bjørn Erik Pedersen
2018-10-01 22:38:37 +03:00
committed by k8s-ci-robot
parent 4b77af7466
commit 32014f94b3
29 changed files with 2303 additions and 45 deletions
+8 -4
View File
@@ -1,8 +1,11 @@
{{- $id := .Get "term_id" -}}
{{- $text := .Get "text" -}}
{{- $glossaryBundle := .Site.GetPage "page" "docs/reference/glossary" -}}
{{- $glossaryItems := $glossaryBundle.Resources.ByType "page" -}}
{{- $term_info := $glossaryItems.GetMatch (printf "%s*" $id ) -}}
{{- partial "docs/glossary-terms.html" $.Page -}}
{{- $glossary_items := $.Page.Scratch.Get "glossary_items" -}}
{{- if not $glossary_items -}}
{{- errorf "[%s] No glossary items found" .Page.Site.Language.Lang -}}
{{- else -}}
{{- $term_info := $glossary_items.GetMatch (printf "%s*" $id ) -}}
{{- if not $term_info -}}
{{- errorf "[%s] %q: %q is not a valid glossary term_id, see ./docs/reference/glossary/* for a full list" .Page.Site.Language.Lang .Page.Path $id -}}
{{- end }}
@@ -19,4 +22,5 @@
{{- $tooltip | safeHTML -}}
</span>
</a>
{{- end -}}
{{- end -}}
{{- end -}}