Skip to content

Commit

Permalink
Merge pull request #108 from w3c/terms-to-translate
Browse files Browse the repository at this point in the history
Do not display 'Needs translation' on live website
  • Loading branch information
remibetin authored Oct 22, 2024
2 parents f34de09 + fe28e69 commit 4da3547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/t.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{%- if source[pagelang] -%}
{%- assign phrase=source[pagelang] -%}
{%- else -%}
{%- unless site.hideTranslationHints or include.hideTranslationHints %}<mark lang="en">Needs Translation</mark> {% endunless -%}
{%- unless site.hideTranslationHints or include.hideTranslationHints or site.published == true %}<mark lang="en">Needs Translation</mark> {% endunless -%}
{%- assign phrase=include.t | prepend: '<span lang="en">' | append: '</span>' -%}
{%- endif -%}
{%- if include.replace -%}
Expand Down

0 comments on commit 4da3547

Please sign in to comment.