Unify search boxes (#29530)
Unify all but a few search boxes to use uniform style, uniform translations and shared templates where possible. Remove a few duplicated search templates, e. g. code search. <details><summary>Example after screenshots:</summary>     </details> Also includes #29700 Co-authored-by: 6543 <6543@obermui.de> --------- Co-authored-by: 6543 <m.huber@kithara.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io> Conflicts: routers/web/repo/search.go templates/repo/home.tmpl templates/repo/search.tmpl templates/shared/repo_search.tmpl
This commit is contained in:
parent
6d340bcfea
commit
847f03b6a6
50 changed files with 354 additions and 404 deletions
|
@ -156,6 +156,27 @@ filter.not_template = Not Template
|
|||
filter.public = Public
|
||||
filter.private = Private
|
||||
|
||||
[search]
|
||||
search = Search...
|
||||
type_tooltip = Search type
|
||||
fuzzy = Fuzzy
|
||||
fuzzy_tooltip = Include results that also match the search term closely
|
||||
match = Match
|
||||
match_tooltip = Include only results that match the exact search term
|
||||
repo_kind = Search repos...
|
||||
user_kind = Search users...
|
||||
org_kind = Search orgs...
|
||||
team_kind = Search teams...
|
||||
code_kind = Search code...
|
||||
code_search_unavailable = Code search is currently not available. Please contact the site administrator.
|
||||
package_kind = Search packages...
|
||||
project_kind = Search projects...
|
||||
branch_kind = Search branches...
|
||||
commit_kind = Search commits...
|
||||
runner_kind = Search runners...
|
||||
no_results = No matching results found.
|
||||
keyword_search_unavailable = Searching by keyword is currently not available. Please contact the site administrator.
|
||||
|
||||
[aria]
|
||||
navbar = Navigation Bar
|
||||
footer = Footer
|
||||
|
@ -336,7 +357,6 @@ my_orgs = Organizations
|
|||
show_more_repos = Show more repositories…
|
||||
collaborative_repos = Collaborative Repositories
|
||||
view_home = View %s
|
||||
search_repos = Find a repository…
|
||||
filter = Other Filters
|
||||
filter_by_team_repositories = Filter by team repositories
|
||||
feed_of = Feed of "%s"
|
||||
|
@ -361,20 +381,8 @@ stars_few = %d stars
|
|||
forks_one = %d fork
|
||||
forks_few = %d forks
|
||||
organizations = Organizations
|
||||
search = Search
|
||||
go_to = Go to
|
||||
code = Code
|
||||
search.type.tooltip = Search type
|
||||
search.fuzzy = Fuzzy
|
||||
search.fuzzy.tooltip = Include results that also matches the search term closely
|
||||
search.match = Match
|
||||
search.match.tooltip = Include only results that matches the exact search term
|
||||
code_search_unavailable = Currently code search is not available. Please contact your site administrator.
|
||||
repo_no_results = No matching repositories found.
|
||||
user_no_results = No matching users found.
|
||||
org_no_results = No matching organizations found.
|
||||
code_no_results = No source code matching your search term found.
|
||||
code_search_results = Search results for "%s"
|
||||
code_last_indexed_at = Last indexed %s
|
||||
relevant_repositories_tooltip = Repositories that are forks or that have no topic, no icon, and no description are hidden.
|
||||
relevant_repositories = Only relevant repositories are being shown, <a href="%s">show unfiltered results</a>.
|
||||
|
@ -1343,9 +1351,8 @@ commits.desc = Browse source code change history.
|
|||
commits.commits = Commits
|
||||
commits.no_commits = No commits in common. "%s" and "%s" have entirely different histories.
|
||||
commits.nothing_to_compare = These branches are equal.
|
||||
commits.search = Search commits…
|
||||
commits.search.tooltip = You can prefix keywords with "author:", "committer:", "after:", or "before:", e.g. "revert author:Alice before:2019-01-13".
|
||||
commits.find = Search
|
||||
commits.search_branch = This Branch
|
||||
commits.search_all = All Branches
|
||||
commits.author = Author
|
||||
commits.message = Message
|
||||
|
@ -1521,7 +1528,6 @@ issues.filter_sort.moststars = Most stars
|
|||
issues.filter_sort.feweststars = Fewest stars
|
||||
issues.filter_sort.mostforks = Most forks
|
||||
issues.filter_sort.fewestforks = Fewest forks
|
||||
issues.keyword_search_unavailable = Searching by keyword is currently not available. Please contact your site administrator.
|
||||
issues.action_open = Open
|
||||
issues.action_close = Close
|
||||
issues.action_label = Label
|
||||
|
@ -2062,17 +2068,6 @@ contributors.contribution_type.commits = Commits
|
|||
contributors.contribution_type.additions = Additions
|
||||
contributors.contribution_type.deletions = Deletions
|
||||
|
||||
search = Search
|
||||
search.search_repo = Search repository
|
||||
search.type.tooltip = Search type
|
||||
search.fuzzy = Fuzzy
|
||||
search.fuzzy.tooltip = Include results that also matches the search term closely
|
||||
search.match = Match
|
||||
search.match.tooltip = Include only results that matches the exact search term
|
||||
search.results = Search results for "%s" in <a href="%s">%s</a>
|
||||
search.code_no_results = No source code matching your search term found.
|
||||
search.code_search_unavailable = Currently code search is not available. Please contact your site administrator.
|
||||
|
||||
settings = Settings
|
||||
settings.desc = Settings is where you can manage the settings for the repository
|
||||
settings.options = Repository
|
||||
|
@ -2241,7 +2236,6 @@ settings.delete_collaborator = Remove
|
|||
settings.collaborator_deletion = Remove Collaborator
|
||||
settings.collaborator_deletion_desc = Removing a collaborator will revoke their access to this repository. Continue?
|
||||
settings.remove_collaborator_success = The collaborator has been removed.
|
||||
settings.search_user_placeholder = Search user…
|
||||
settings.org_not_allowed_to_be_collaborator = Organizations cannot be added as a collaborator.
|
||||
settings.change_team_access_not_allowed = Changing team access for repository has been restricted to organization owner
|
||||
settings.team_not_in_organization = The team is not in the same organization as the repository
|
||||
|
@ -2249,7 +2243,6 @@ settings.teams = Teams
|
|||
settings.add_team = Add team
|
||||
settings.add_team_duplicate = Team already has the repository
|
||||
settings.add_team_success = The team now have access to the repository.
|
||||
settings.search_team = Search team…
|
||||
settings.change_team_permission_tip = Team's permission is set on the team setting page and can't be changed per repository
|
||||
settings.delete_team_tip = This team has access to all repositories and can't be removed
|
||||
settings.remove_team_success = The team's access to the repository has been removed.
|
||||
|
@ -2403,9 +2396,7 @@ settings.protect_whitelist_committers = Whitelist restricted push
|
|||
settings.protect_whitelist_committers_desc = Only whitelisted users or teams will be allowed to push to this branch (but not force push).
|
||||
settings.protect_whitelist_deploy_keys = Whitelist deploy keys with write access to push.
|
||||
settings.protect_whitelist_users = Whitelisted users for pushing:
|
||||
settings.protect_whitelist_search_users = Search users…
|
||||
settings.protect_whitelist_teams = Whitelisted teams for pushing:
|
||||
settings.protect_whitelist_search_teams = Search teams…
|
||||
settings.protect_merge_whitelist_committers = Enable merge whitelist
|
||||
settings.protect_merge_whitelist_committers_desc = Allow only whitelisted users or teams to merge pull requests into this branch.
|
||||
settings.protect_merge_whitelist_users = Whitelisted users for merging:
|
||||
|
@ -2650,7 +2641,6 @@ branch.default_deletion_failed = Branch "%s" is the default branch. It cannot be
|
|||
branch.restore = Restore branch "%s"
|
||||
branch.download = Download branch "%s"
|
||||
branch.rename = Rename branch "%s"
|
||||
branch.search = Search branch
|
||||
branch.included_desc = This branch is part of the default branch
|
||||
branch.included = Included
|
||||
branch.create_new_branch = Create branch from branch:
|
||||
|
@ -2797,7 +2787,6 @@ teams.write_permission_desc = This team grants <strong>Write</strong> access: me
|
|||
teams.admin_permission_desc = This team grants <strong>Admin</strong> access: members can read from, push to and add collaborators to team repositories.
|
||||
teams.create_repo_permission_desc = Additionally, this team grants <strong>Create repository</strong> permission: members can create new repositories in organization.
|
||||
teams.repositories = Team repositories
|
||||
teams.search_repo_placeholder = Search repository…
|
||||
teams.remove_all_repos_title = Remove all team repositories
|
||||
teams.remove_all_repos_desc = This will remove all repositories from the team.
|
||||
teams.add_all_repos_title = Add all repositories
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue