Skip to content

Commit

Permalink
Use a special name for update default branch on repository setting (g…
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored and AbdulrhmnGhanem committed Aug 10, 2021
1 parent 78c8ceb commit 5f99d79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions options/locale/locale_en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion templates/repo/settings/branches.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5f99d79

Please sign in to comment.