diff options
Diffstat (limited to 'templates/repo/issue/labels.tmpl')
-rw-r--r-- | templates/repo/issue/labels.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/labels.tmpl b/templates/repo/issue/labels.tmpl index 7de1b0f0ba..86e4bae0f7 100644 --- a/templates/repo/issue/labels.tmpl +++ b/templates/repo/issue/labels.tmpl @@ -5,7 +5,7 @@ <div class="navbar gt-mb-4"> {{template "repo/issue/navbar" .}} {{if and (or .CanWriteIssues .CanWritePulls) (not .Repository.IsArchived)}} - <button class="ui small primary new-label button">{{.locale.Tr "repo.issues.new_label"}}</button> + <button class="ui small primary new-label button">{{ctx.Locale.Tr "repo.issues.new_label"}}</button> {{end}} </div> {{if and (or .CanWriteIssues .CanWritePulls) (not .Repository.IsArchived)}} |