Browse Source

Fix the wrong locale key of searching users (#29868)

regression of #29530
I guess it's because the user-blocking feature is committed after that
locale clean PR.
tags/v1.22.0-rc0
Nanguan Lin 1 month ago
parent
commit
099052aba5
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      templates/shared/user/blocked_users.tmpl

+ 1
- 1
templates/shared/user/blocked_users.tmpl View File

@@ -17,7 +17,7 @@
{{.CsrfTokenHtml}}
<input type="hidden" name="action" value="block" />
<div id="search-user-box" class="field ui fluid search input">
<input class="prompt gt-mr-3" name="blockee" placeholder="{{ctx.Locale.Tr "repo.settings.search_user_placeholder"}}" autocomplete="off" required>
<input class="prompt gt-mr-3" name="blockee" placeholder="{{ctx.Locale.Tr "search.user_kind"}}" autocomplete="off" required>
<button class="ui red button">{{ctx.Locale.Tr "user.block.block"}}</button>
</div>
<div class="field">

Loading…
Cancel
Save