]> source.dussan.org Git - gitea.git/commitdiff
Add translatable Powered by Gitea text in footer (#9600)
authorLauris BH <lauris@nix.lv>
Sat, 4 Jan 2020 20:27:19 +0000 (22:27 +0200)
committerzeripath <art27@cantab.net>
Sat, 4 Jan 2020 20:27:19 +0000 (20:27 +0000)
options/locale/locale_en-US.ini
templates/base/footer_content.tmpl

index 712cd7ca410fd74250e7636554b0fa4752972430..00221573d0dabd8d3dbed9f1ae7b7204e8b4b7ef 100644 (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
index 085e7207df8351984ddbd5d834a9a3082b725740..db4c19c156bb007d6adf940d862623cc0736927e 100644 (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}}