Add owner to delete repo message (#2886)

tokarchuk/v1.17
Ethan Koenig 7 years ago committed by Lunny Xiao
parent a8832e1227
commit bd23e36bec
  1. 2
      options/locale/locale_en-US.ini
  2. 2
      templates/repo/settings/options.tmpl

@ -908,7 +908,7 @@ 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.
settings.delete_notices_1 = - This operation <strong>CANNOT</strong> be undone. settings.delete_notices_1 = - This operation <strong>CANNOT</strong> be undone.
settings.delete_notices_2 = - This operation will permanently delete everything in this repository including code, issues, comments, the wiki, and collaborators associations. settings.delete_notices_2 = - This operation will permanently delete everything in the <strong>%s</strong> repository, including code, issues, comments, the wiki, and collaborators associations.
settings.delete_notices_fork_1 = - All forks will become independent repositories after deletion. settings.delete_notices_fork_1 = - All forks will become independent repositories after deletion.
settings.deletion_success = Repository has been deleted. settings.deletion_success = Repository has been deleted.
settings.update_settings_success = Repository options have been updated. settings.update_settings_success = Repository options have been updated.

@ -342,7 +342,7 @@
<div class="content"> <div class="content">
<div class="ui warning message text left"> <div class="ui warning message text left">
{{.i18n.Tr "repo.settings.delete_notices_1" | Safe}}<br> {{.i18n.Tr "repo.settings.delete_notices_1" | Safe}}<br>
{{.i18n.Tr "repo.settings.delete_notices_2" | Safe}} {{.i18n.Tr "repo.settings.delete_notices_2" .Repository.FullName | Safe}}
{{if .Repository.NumForks}}<br> {{if .Repository.NumForks}}<br>
{{.i18n.Tr "repo.settings.delete_notices_fork_1" | Safe}} {{.i18n.Tr "repo.settings.delete_notices_fork_1" | Safe}}
{{end}} {{end}}

Loading…
Cancel
Save