From 0798370f25ca3bd67933dd6d75c342aaded57095 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Wed, 17 Apr 2024 18:24:08 +0800 Subject: [PATCH] Correct locale string rendering (#30522) Since #29165, the translations are rendered as HTML in templates, so: 1. if the translation does contain `<>`, use `TrString` 2. use `{dummy}` instead of `` as much as possible Co-authored-by: Giteabot --- options/locale/locale_en-US.ini | 8 ++++---- templates/install.tmpl | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 0a3d12d7a4..ed274197c7 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -714,7 +714,7 @@ cancel = Cancel language = Language ui = Theme hidden_comment_types = Hidden comment types -hidden_comment_types_description = Comment types checked here will not be shown inside issue pages. Checking "Label" for example removes all " added/removed