Browse Source

Add owner to delete repo message (#2886)

for-closed-social
Ethan Koenig 6 years ago
committed by Lunny Xiao
parent
commit
bd23e36bec
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      options/locale/locale_en-US.ini
  2. +1
    -1
      templates/repo/settings/options.tmpl

+ 1
- 1
options/locale/locale_en-US.ini View File

@ -908,7 +908,7 @@ 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.
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.deletion_success = Repository has been deleted.
settings.update_settings_success = Repository options have been updated.

+ 1
- 1
templates/repo/settings/options.tmpl View File

@ -342,7 +342,7 @@
<div class="content">
<div class="ui warning message text left">
{{.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>
{{.i18n.Tr "repo.settings.delete_notices_fork_1" | Safe}}
{{end}}

Loading…
Cancel
Save