diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 00c5ed607..388348e95 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -21,6 +21,7 @@ signed_in_as = Signed in as enable_javascript = This website works better with JavaScript. toc = Table of Contents licenses = Licenses +return_to_gitea = Return to Gitea username = Username email = Email Address diff --git a/templates/swagger/ui.tmpl b/templates/swagger/ui.tmpl index 9072b49a3..eb30578ac 100644 --- a/templates/swagger/ui.tmpl +++ b/templates/swagger/ui.tmpl @@ -6,19 +6,34 @@
+ {{svg "octicon-reply" 16}}{{.i18n.Tr "return_to_gitea"}}