From 0abd78e6a83fee1128720ffb8e65a5117736fd6c Mon Sep 17 00:00:00 2001 From: Giteabot Date: Tue, 26 Sep 2023 21:39:39 +0800 Subject: [PATCH] Fix incorrect change from #27231 (#27275) (#27282) Backport #27275 by @delvh Co-authored-by: delvh --- templates/projects/new.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/projects/new.tmpl b/templates/projects/new.tmpl index 3618edd41b..711dbe842a 100644 --- a/templates/projects/new.tmpl +++ b/templates/projects/new.tmpl @@ -29,7 +29,7 @@
{{ctx.Locale.Tr "repo.projects.template.desc_helper"}}
@@ -43,12 +43,12 @@ {{range $element := .CardTypes}} {{if or (eq $.card_type $element.CardType) (and (not $.PageIsEditProjects) (eq $element.CardType 1))}} -
{{ctx.Locale.Tr ctx.Locale.Translation}}
+
{{ctx.Locale.Tr $element.Translation}}
{{end}} {{end}}