Add string to confirm wiki data erasure (#3629)

* Add a string to confirm wiki data erasure.

* Add a string to confirm wiki data erasure.
tokarchuk/v1.17
bugreport0 7 years ago committed by Lunny Xiao
parent 9a5e628a7e
commit 9fc418a652
  1. 1
      options/locale/locale_en-US.ini
  2. 2
      templates/repo/settings/options.tmpl

@ -920,6 +920,7 @@ settings.transfer_form_title = Please enter the following information to confirm
settings.wiki_delete = Erase Wiki Data
settings.wiki_delete_desc = Once you erase wiki data there is no going back. Please be certain.
settings.wiki_delete_notices_1 = - This will delete and disable the wiki for %s
settings.confirm_wiki_delete = Erase Wiki Data
settings.wiki_deletion_success = Repository wiki data have been erased.
settings.delete = Delete This Repository
settings.delete_desc = Once you delete a repository, there is no going back. Please be certain.

@ -422,7 +422,7 @@
<div class="text right actions">
<div class="ui cancel button">{{.i18n.Tr "settings.cancel"}}</div>
<button class="ui red button">{{.i18n.Tr "repo.settings.confirm_delete"}}</button>
<button class="ui red button">{{.i18n.Tr "repo.settings.confirm_wiki_delete"}}</button>
</div>
</form>
</div>

Loading…
Cancel
Save