Skip to content

Commit 361839f

Browse files
authored
Fix tooltip of variable edit button (#28681)
The `variables.edit` key does not exist. ![image](https://github.com/go-gitea/gitea/assets/29505620/462a1c6c-775c-466a-8398-37115b2af47a)
1 parent 12c0487 commit 361839f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/shared/variables/variable_list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
{{ctx.Locale.Tr "settings.added_on" (DateTime "short" .CreatedUnix) | Safe}}
3434
</span>
3535
<button class="btn interact-bg gt-p-3 show-modal"
36-
data-tooltip-content="{{ctx.Locale.Tr "variables.edit"}}"
36+
data-tooltip-content="{{ctx.Locale.Tr "actions.variables.edit"}}"
3737
data-modal="#edit-variable-modal"
3838
data-modal-form.action="{{$.Link}}/{{.ID}}/edit"
3939
data-modal-header="{{ctx.Locale.Tr "actions.variables.edit"}}"

0 commit comments

Comments
 (0)