From 23b6827151bbd85b645d2c74273410c100fc65e6 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Mon, 10 Oct 2022 22:05:32 +0800 Subject: [PATCH] Fix calls to i18n in templates (#21394) Although the `.i18n` has been refactored to `.locale`, some PRs using `.i18n` were still merged. * #20219 * #21246 This PR fixes the calls to `.i18n`. At the moment, `{{.nosuch.nosuch "..."}}` won't cause template error so these mistakes don't cause 500 and haven't been found. --- templates/repo/issue/list.tmpl | 8 ++++---- templates/repo/issue/milestone_issues.tmpl | 4 ++-- templates/repo/settings/webhook/settings.tmpl | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 60a3c0d361..3df7dbca69 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -47,7 +47,7 @@