1
0
mirror of https://github.com/flarum/core.git synced 2025-08-07 00:47:00 +02:00

feat: admin search UI (#4022)

This commit is contained in:
Sami Mazouz
2024-09-28 09:35:37 +01:00
committed by GitHub
parent e08a9f6146
commit 5cea3d3b9b
75 changed files with 1722 additions and 897 deletions

View File

@@ -246,6 +246,8 @@ core:
header:
get_help: Get Help
log_out_button: => core.ref.log_out
search_placeholder: Search...
search_role_label: Search
# These translations are used in the modal dialog displayed when loading extensions.
loading:
@@ -331,6 +333,11 @@ core:
signup_closed_button: Closed
signup_open_button: Open
# These translations are used by the admin-specific search sources.
search_source:
general:
heading: General
# These translations are used generically in setting fields.
settings:
saved_message: Your changes were saved.
@@ -480,7 +487,6 @@ core:
log_in_link: => core.ref.log_in
log_out_button: => core.ref.log_out
profile_button: Profile
search_clear_button_accessible_label: Clear search query
search_placeholder: Search Forum
search_role_label: Search Forum
session_dropdown_accessible_label: Toggle session options dropdown menu
@@ -583,17 +589,6 @@ core:
submit_button: => core.ref.rename
title: Rename Discussion
# These translations are used by the search modal.
search:
gambit_plus_button_a11y_label: Add a positive filter
gambit_minus_button_a11y_label: Add a negative filter
title: Search
no_results_text: It looks like there are no results here.
no_search_text: You have not searched for anything yet.
options_heading: Search options
placeholder: Search...
preview_heading: Search preview
# These translations are used in the Security page.
security:
browser_on_operating_system: "{browser} on {os}"
@@ -744,6 +739,32 @@ core:
rate_limit_exceeded_message: You're going a little too quickly. Please try again in a few seconds.
render_failed_message: Sorry, we encountered an error while displaying this content. If you're a user, please try again later. If you're an administrator, take a look in your Flarum log files for more information.
# These translations are used by gambits. Gambit keys must be in snake_case, no spaces.
gambits:
boolean_key: is
discussions:
author:
key: author
hint: username or comma-separated list of usernames
created:
key: created
hint: 2020-12-31 or 2020-12-31..2021-09-30
hidden:
key: hidden
unread:
key: unread
posts:
discussion:
key: discussion
hint: the ID of the discussion
users:
email:
key: email
hint: example@machine.local
group:
key: group
hint: singular or plural group names
# These translations are used in the input component.
input:
clear_button: Clear input
@@ -781,6 +802,18 @@ core:
kilo_text: K
mega_text: M
# These translations are used by the abstract search component and search modal.
search:
gambit_plus_button_a11y_label: Add a positive filter
gambit_minus_button_a11y_label: Add a negative filter
title: Search
no_results_text: It looks like there are no results here.
no_search_text: You have not searched for anything yet.
options_heading: Search options
placeholder: Search...
preview_heading: Search preview
search_clear_button_accessible_label: Clear search query
# These translations are used by search sources.
search_source:
discussions:
@@ -792,32 +825,6 @@ core:
users:
heading: => core.ref.users
# These translations are used by gambits. Gambit keys must be in snake_case, no spaces.
gambits:
boolean_key: is
discussions:
author:
key: author
hint: username or comma-separated list of usernames
created:
key: created
hint: 2020-12-31 or 2020-12-31..2021-09-30
hidden:
key: hidden
unread:
key: unread
posts:
discussion:
key: discussion
hint: the ID of the discussion
users:
email:
key: email
hint: example@machine.local
group:
key: group
hint: singular or plural group names
# These translations are used to punctuate a series of items.
series:
glue_text: ", "