diff options
author | Matthew Richardson <mrichar1@users.noreply.github.com> | 2018-07-04 12:43:21 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2018-07-04 19:43:21 +0800 |
commit | 2e3475f02c96e4f0288514a1a7949d751be055f7 (patch) | |
tree | e3bba860be4a2e747b9d3a1c628245700039cf4e /templates | |
parent | df77ad31d521c33f7e5934f07132da542839ca59 (diff) | |
download | gitea-2e3475f02c96e4f0288514a1a7949d751be055f7.tar.gz gitea-2e3475f02c96e4f0288514a1a7949d751be055f7.zip |
Fix typos in i18n variable names. (#4080)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/create.tmpl | 4 | ||||
-rw-r--r-- | templates/repo/migrate.tmpl | 4 | ||||
-rw-r--r-- | templates/repo/pulls/fork.tmpl | 4 | ||||
-rw-r--r-- | templates/repo/settings/options.tmpl | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index ff66bf17a1..aa20f07760 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -43,10 +43,10 @@ <div class="ui checkbox"> {{if .IsForcedPrivate}} <input name="private" type="checkbox" checked readonly> - <label>{{.i18n.Tr "repo.visiblity_helper_forced" | Safe}}</label> + <label>{{.i18n.Tr "repo.visibility_helper_forced" | Safe}}</label> {{else}} <input name="private" type="checkbox" {{if .private}}checked{{end}}> - <label>{{.i18n.Tr "repo.visiblity_helper" | Safe}}</label> + <label>{{.i18n.Tr "repo.visibility_helper" | Safe}}</label> {{end}} </div> </div> diff --git a/templates/repo/migrate.tmpl b/templates/repo/migrate.tmpl index e05768e417..18b85f72af 100644 --- a/templates/repo/migrate.tmpl +++ b/templates/repo/migrate.tmpl @@ -70,10 +70,10 @@ <div class="ui checkbox"> {{if .IsForcedPrivate}} <input name="private" type="checkbox" checked readonly> - <label>{{.i18n.Tr "repo.visiblity_helper_forced" | Safe}}</label> + <label>{{.i18n.Tr "repo.visibility_helper_forced" | Safe}}</label> {{else}} <input name="private" type="checkbox" {{if .private}}checked{{end}}> - <label>{{.i18n.Tr "repo.visiblity_helper" | Safe}}</label> + <label>{{.i18n.Tr "repo.visibility_helper" | Safe}}</label> {{end}} </div> </div> diff --git a/templates/repo/pulls/fork.tmpl b/templates/repo/pulls/fork.tmpl index e9fbfdf2b6..048601af76 100644 --- a/templates/repo/pulls/fork.tmpl +++ b/templates/repo/pulls/fork.tmpl @@ -47,9 +47,9 @@ <label>{{.i18n.Tr "repo.visibility"}}</label> <div class="ui read-only checkbox"> <input type="checkbox" {{if .IsPrivate}}checked{{end}}> - <label>{{.i18n.Tr "repo.visiblity_helper" | Safe}}</label> + <label>{{.i18n.Tr "repo.visibility_helper" | Safe}}</label> </div> - <span class="help">{{.i18n.Tr "repo.fork_visiblity_helper"}}</span> + <span class="help">{{.i18n.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> diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index f8ba4137c2..aa6a76dbf4 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -20,7 +20,7 @@ <label>{{.i18n.Tr "repo.visibility"}}</label> <div class="ui checkbox"> <input name="private" type="checkbox" {{if .Repository.IsPrivate}}checked{{end}}> - <label>{{.i18n.Tr "repo.visiblity_helper" | Safe}} {{if .Repository.NumForks}}<span class="text red">{{.i18n.Tr "repo.visiblity_fork_helper"}}</span>{{end}}</label> + <label>{{.i18n.Tr "repo.visibility_helper" | Safe}} {{if .Repository.NumForks}}<span class="text red">{{.i18n.Tr "repo.visibility_fork_helper"}}</span>{{end}}</label> </div> </div> {{end}} |