expose translation of previously hardcoded string (#14087)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
tokarchuk/v1.17
Norwin 4 years ago committed by GitHub
parent 7dd32276b7
commit 7a3c71433a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      options/locale/locale_en-US.ini
  2. 2
      templates/repo/create.tmpl

@ -654,6 +654,7 @@ email_notifications.submit = Set Email Preference
[repo] [repo]
owner = Owner owner = Owner
owner_helper = Some organizations may not show up in the dropdown due to a maximum repository count limit.
repo_name = Repository Name repo_name = Repository Name
repo_name_helper = Good repository names use short, memorable and unique keywords. repo_name_helper = Good repository names use short, memorable and unique keywords.
repo_size = Repository Size repo_size = Repository Size

@ -31,7 +31,7 @@
{{end}} {{end}}
</div> </div>
</div> </div>
<span class="help">Some organizations may not show up in the dropdown due to a maximum repository count limit</span> <span class="help">{{.i18n.Tr "repo.owner_helper"}}</span>
</div> </div>
<div class="inline required field {{if .Err_RepoName}}error{{end}}"> <div class="inline required field {{if .Err_RepoName}}error{{end}}">

Loading…
Cancel
Save