Skip to content

Commit

Permalink
Fix the wrong locale key of searching users (#29868)
Browse files Browse the repository at this point in the history
regression of #29530
I guess it's because the user-blocking feature is committed after that
locale clean PR.
  • Loading branch information
lng2020 authored Mar 17, 2024
1 parent 0285b04 commit 099052a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/shared/user/blocked_users.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 099052a

Please sign in to comment.