Add string to confirm wiki data erasure (#3629)

* Add a string to confirm wiki data erasure.

* Add a string to confirm wiki data erasure.
release/v1.15
bugreport0 2018-03-06 07:25:21 +00:00 committed by Lunny Xiao
parent 9a5e628a7e
commit 9fc418a652
2 changed files with 2 additions and 1 deletions

View File

@ -920,6 +920,7 @@ settings.transfer_form_title = Please enter the following information to confirm
settings.wiki_delete = Erase Wiki Data 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_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.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.wiki_deletion_success = Repository wiki data have been erased.
settings.delete = Delete This Repository settings.delete = Delete This Repository
settings.delete_desc = Once you delete a repository, there is no going back. Please be certain. settings.delete_desc = Once you delete a repository, there is no going back. Please be certain.

View File

@ -422,7 +422,7 @@
<div class="text right actions"> <div class="text right actions">
<div class="ui cancel button">{{.i18n.Tr "settings.cancel"}}</div> <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> </div>
</form> </form>
</div> </div>