From fe28e69fdb38d83883795a8f767bc5615b624bde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Re=CC=81mi=20Be=CC=81tin?= Date: Thu, 26 Sep 2024 11:37:50 +0200 Subject: [PATCH] Do not display 'Needs translation' on live website --- _includes/t.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/t.html b/_includes/t.html index ff3d64b..de82af5 100644 --- a/_includes/t.html +++ b/_includes/t.html @@ -19,7 +19,7 @@ {%- if source[pagelang] -%} {%- assign phrase=source[pagelang] -%} {%- else -%} - {%- unless site.hideTranslationHints or include.hideTranslationHints %}Needs Translation {% endunless -%} + {%- unless site.hideTranslationHints or include.hideTranslationHints or site.published == true %}Needs Translation {% endunless -%} {%- assign phrase=include.t | prepend: '' | append: '' -%} {%- endif -%} {%- if include.replace -%}