Add owner to delete repo message (#2886)

release/v1.15
Ethan Koenig 2017-11-14 17:37:16 -08:00 committed by Lunny Xiao
parent a8832e1227
commit bd23e36bec
2 changed files with 2 additions and 2 deletions

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.

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}}