Browse Source

Improve label edit buttons labels (#11841)

* Improve label edit buttons labels

Previously when editing the buttons in the "Edit Label" modal were a
strange "Update" and "No". Improved them to "Save" and "Cancel".

Also fixed indentation in the template file, recommended to view changes
with the "Hide whitespace changes" option enabled on GitHub.

* remove unnecessary button icon

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
tags/v1.13.0-rc1
silverwind 5 years ago committed by GitHub
parent
commit
ca8ecf7ffc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      options/locale/locale_en-US.ini
  2. 7
      templates/repo/issue/labels/edit_delete_label.tmpl

1
options/locale/locale_en-US.ini

@ -71,6 +71,7 @@ issues = Issues
milestones = Milestones milestones = Milestones
cancel = Cancel cancel = Cancel
save = Save
add = Add add = Add
add_all = Add All add_all = Add All
remove = Remove remove = Remove

7
templates/repo/issue/labels/edit_delete_label.tmpl

@ -48,11 +48,10 @@
</div> </div>
<div class="actions"> <div class="actions">
<div class="ui negative button"> <div class="ui negative button">
{{.i18n.Tr "modal.no"}} {{.i18n.Tr "cancel"}}
</div> </div>
<div class="ui positive right labeled icon button"> <div class="ui positive button">
{{.i18n.Tr "modal.modify"}} {{.i18n.Tr "save"}}
<i class="checkmark icon"></i>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save