diff options
Diffstat (limited to 'templates/repo/pulls/fork.tmpl')
-rw-r--r-- | templates/repo/pulls/fork.tmpl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/repo/pulls/fork.tmpl b/templates/repo/pulls/fork.tmpl index f5ca0e4769..0172e1b708 100644 --- a/templates/repo/pulls/fork.tmpl +++ b/templates/repo/pulls/fork.tmpl @@ -5,12 +5,12 @@ <form class="ui form" action="{{.Link}}" method="post"> {{.CsrfTokenHtml}} <h3 class="ui top attached header"> - {{.i18n.Tr "new_fork"}} + {{.locale.Tr "new_fork"}} </h3> <div class="ui attached segment"> {{template "base/alert" .}} <div class="inline required field {{if .Err_Owner}}error{{end}}"> - <label>{{.i18n.Tr "repo.owner"}}</label> + <label>{{.locale.Tr "repo.owner"}}</label> <div class="ui selection owner dropdown"> <input type="hidden" id="uid" name="uid" value="{{.ContextUser.ID}}" required> <span class="text truncated-item-container" title="{{.ContextUser.Name}}"> @@ -36,32 +36,32 @@ </div> <div class="inline field"> - <label>{{.i18n.Tr "repo.fork_from"}}</label> + <label>{{.locale.Tr "repo.fork_from"}}</label> <a href="{{.ForkRepo.Link}}">{{.ForkRepo.FullName}}</a> </div> <div class="inline required field {{if .Err_RepoName}}error{{end}}"> - <label for="repo_name">{{.i18n.Tr "repo.repo_name"}}</label> + <label for="repo_name">{{.locale.Tr "repo.repo_name"}}</label> <input id="repo_name" name="repo_name" value="{{.repo_name}}" required> </div> <div class="inline field"> - <label>{{.i18n.Tr "repo.visibility"}}</label> + <label>{{.locale.Tr "repo.visibility"}}</label> <div class="ui read-only checkbox"> <input type="checkbox" {{if .IsPrivate}}checked{{end}}> - <label>{{.i18n.Tr "repo.visibility_helper" | Safe}}</label> + <label>{{.locale.Tr "repo.visibility_helper" | Safe}}</label> </div> - <span class="help">{{.i18n.Tr "repo.fork_visibility_helper"}}</span> + <span class="help">{{.locale.Tr "repo.fork_visibility_helper"}}</span> </div> <div class="inline field {{if .Err_Description}}error{{end}}"> - <label for="description">{{.i18n.Tr "repo.repo_desc"}}</label> + <label for="description">{{.locale.Tr "repo.repo_desc"}}</label> <textarea id="description" name="description">{{.description}}</textarea> </div> <div class="inline field"> <label></label> <button class="ui green button"> - {{.i18n.Tr "repo.fork_repo"}} + {{.locale.Tr "repo.fork_repo"}} </button> - <a class="ui button" href="{{.ForkRepo.Link}}">{{.i18n.Tr "cancel"}}</a> + <a class="ui button" href="{{.ForkRepo.Link}}">{{.locale.Tr "cancel"}}</a> </div> </div> </form> |