summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-02-10 22:37:10 +0800
committerGitHub <noreply@github.com>2022-02-10 15:37:10 +0100
commit0c70b4c211a06e94f2a0a906ed205efcc2932d25 (patch)
tree097b86829ed63a34c4f1597996417990c5d02940 /templates
parent7489d96db6daa8e12abf97424b6fcc0b65f5a4bd (diff)
downloadgitea-0c70b4c211a06e94f2a0a906ed205efcc2932d25.tar.gz
gitea-0c70b4c211a06e94f2a0a906ed205efcc2932d25.zip
Fix bug for version update hint (#18701)
Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'templates')
-rw-r--r--templates/admin/dashboard.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl
index 35f45bd352..d9e056973a 100644
--- a/templates/admin/dashboard.tmpl
+++ b/templates/admin/dashboard.tmpl
@@ -5,7 +5,7 @@
{{template "base/alert" .}}
{{if .NeedUpdate}}
<div class="ui negative message flash-error">
- <p>"Gitea {{.RemoteVersion | Str2html}} is now available, you are running {{.AppVer | Str2html}}. Check the <a href="https://blog.gitea.io">blog</a> for more details.</p>
+ <p>{{.i18n.Tr "admin.dashboard.new_version_hint" (.RemoteVersion | Str2html) (AppVer | Str2html)}}</p>
</div>
{{end}}
<h4 class="ui top attached header">