Add translatable Powered by Gitea text in footer (#9600)

release/v1.15
Lauris BH 2020-01-04 22:27:19 +02:00 committed by zeripath
parent ee9b9365be
commit 2b8b0f66ed
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ link_account = Link Account
register = Register
website = Website
version = Version
powered_by = Powered by %s
page = Page
template = Template
language = Language

View File

@ -1,7 +1,7 @@
<footer>
<div class="ui container">
<div class="ui left">
© Gitea {{if (or .ShowFooterVersion .PageIsAdmin)}}{{.i18n.Tr "version"}}: {{AppVer}}{{end}} {{if ShowFooterTemplateLoadTime}}{{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong>{{end}}
{{.i18n.Tr "powered_by" "Gitea"}} {{if (or .ShowFooterVersion .PageIsAdmin)}}{{.i18n.Tr "version"}}: {{AppVer}}{{end}} {{if ShowFooterTemplateLoadTime}}{{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong>{{end}}
</div>
<div class="ui right links">
{{if .ShowFooterBranding}}