Skip to content

Commit 72c66bd

Browse files
authored
use correct l10n string (go-gitea#31487)
Uses the correct string for searching - this is what it looks like prior to the change: ![image](https://github.com/go-gitea/gitea/assets/24910512/38519825-c347-44d6-85d4-6fa3c71ddb7c) (observe how the top box has "Search teams" even though collaborator would be user
1 parent 4af97cf commit 72c66bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/settings/collaboration.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<form class="ui form" id="repo-collab-form" action="{{.Link}}" method="post">
4343
{{.CsrfTokenHtml}}
4444
<div id="search-user-box" class="ui search input tw-align-middle">
45-
<input class="prompt" name="collaborator" placeholder="{{ctx.Locale.Tr "search.team_kind"}}" autocomplete="off" autofocus required>
45+
<input class="prompt" name="collaborator" placeholder="{{ctx.Locale.Tr "search.user_kind"}}" autocomplete="off" autofocus required>
4646
</div>
4747
<button class="ui primary button">{{ctx.Locale.Tr "repo.settings.add_collaborator"}}</button>
4848
</form>

0 commit comments

Comments
 (0)