cleanup locale function usage (#27227)

This commit is contained in:
Denys Konovalov authored and GitHub committed 2023-09-24 20:31:58 +00:00
1 parent 3a187eace5
commit 2325fe777d
49 files changed
+121 -133

No files matched your search

+1 -1
View File
@@ -1 +1 @@
<input type="search" spellcheck="false" name="q" maxlength="255" placeholder="{{.locale.Tr "explore.search"}}…"{{if .Value}} value="{{.Value}}"{{end}}{{if .AutoFocus}} autofocus{{end}}{{if .Disabled}} disabled{{end}}>
<input type="search" spellcheck="false" name="q" maxlength="255" placeholder="{{ctx.Locale.Tr "explore.search"}}…"{{if .Value}} value="{{.Value}}"{{end}}{{if .AutoFocus}} autofocus{{end}}{{if .Disabled}} disabled{{end}}>