mirror of
https://github.com/go-gitea/gitea
synced 2025-07-27 04:38:36 +00:00
Always use ctx.Locale.Tr
inside templates (#27231)
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
<table class="ui very basic striped table unstackable" id="commits-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="three wide">{{.locale.Tr "repo.commits.author"}}</th>
|
||||
<th class="three wide">{{ctx.Locale.Tr "repo.commits.author"}}</th>
|
||||
<th class="two wide sha">SHA1</th>
|
||||
<th class="nine wide message">{{.locale.Tr "repo.commits.message"}}</th>
|
||||
<th class="two wide right aligned">{{.locale.Tr "repo.commits.date"}}</th>
|
||||
<th class="nine wide message">{{ctx.Locale.Tr "repo.commits.message"}}</th>
|
||||
<th class="two wide right aligned">{{ctx.Locale.Tr "repo.commits.date"}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="commit-list">
|
||||
|
Reference in New Issue
Block a user