mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-26 13:50:24 +08:00
Always use ctx.Locale.Tr inside templates (#27231)
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
"MarkdownPreviewUrl" (print $.root.Repository.Link "/markup")
|
||||
"MarkdownPreviewContext" $.root.RepoLink
|
||||
"TextareaName" "content"
|
||||
"TextareaPlaceholder" ($.locale.Tr "repo.diff.comment.placeholder")
|
||||
"TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.comment.placeholder")
|
||||
"DropzoneParentContainer" "form"
|
||||
"DisableAutosize" "true"
|
||||
)}}
|
||||
|
||||
Reference in New Issue
Block a user