瀏覽代碼

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 2 月之前
父節點
當前提交
099052aba5
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      templates/shared/user/blocked_users.tmpl

+ 1
- 1
templates/shared/user/blocked_users.tmpl 查看文件

@@ -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…
取消
儲存