Use a special name for update default branch on repository setting (#15893)

tokarchuk/v1.17
Lunny Xiao 4 years ago committed by GitHub
parent c3aaf5eafd
commit 892e6561ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      options/locale/locale_en-US.ini
  2. 2
      templates/repo/settings/branches.tmpl

@ -1550,6 +1550,7 @@ settings.email_notifications.disable = Disable Email Notifications
settings.email_notifications.submit = Set Email Preference
settings.site = Website
settings.update_settings = Update Settings
settings.branches.update_default_branch = Update Default Branch
settings.advanced_settings = Advanced Settings
settings.wiki_desc = Enable Repository Wiki
settings.use_internal_wiki = Use Built-In Wiki

@ -35,7 +35,7 @@
{{end}}
</div>
</div>
<button class="ui green button">{{$.i18n.Tr "repo.settings.update_settings"}}</button>
<button class="ui green button">{{$.i18n.Tr "repo.settings.branches.update_default_branch"}}</button>
</div>
{{end}}
</form>

Loading…
Cancel
Save