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

tokarchuk/v1.17
Lauris BH 5 years ago committed by zeripath
parent ee9b9365be
commit 2b8b0f66ed
  1. 1
      options/locale/locale_en-US.ini
  2. 2
      templates/base/footer_content.tmpl

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

@ -1,7 +1,7 @@
<footer> <footer>
<div class="ui container"> <div class="ui container">
<div class="ui left"> <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>
<div class="ui right links"> <div class="ui right links">
{{if .ShowFooterBranding}} {{if .ShowFooterBranding}}

Loading…
Cancel
Save