mirror of
https://github.com/strapi/strapi.git
synced 2026-01-04 11:16:32 +00:00
Merge pull request #13533 from yangfei4913438/fix-content-types-builder
fix: content-types builder search button tooltip
This commit is contained in:
commit
8d85946290
@ -309,8 +309,8 @@ function ListView({
|
||||
{ target: headerLayoutTitle }
|
||||
)}
|
||||
placeholder={formatMessage({
|
||||
id: 'app.component.search.placeholder',
|
||||
defaultMessage: 'Search...',
|
||||
id: 'global.search',
|
||||
defaultMessage: 'Search',
|
||||
})}
|
||||
trackedEvent="didSearch"
|
||||
/>
|
||||
|
||||
@ -679,6 +679,7 @@
|
||||
"content-manager.apiError.This attribute must be unique": "{field} must be unique",
|
||||
"form.button.continue": "Continue",
|
||||
"form.button.done": "Done",
|
||||
"global.search": "Search",
|
||||
"global.actions": "Actions",
|
||||
"global.back": "Back",
|
||||
"global.change-password": "Change password",
|
||||
|
||||
@ -604,7 +604,7 @@
|
||||
"content-type-builder.menu.section.single-types.name": "单一类型",
|
||||
"content-type-builder.plugin.name": "模型构建器",
|
||||
"form.button.done": "完成",
|
||||
"global.Search": "搜索",
|
||||
"global.search": "搜索",
|
||||
"global.back": "返回",
|
||||
"global.content-manager": "内容管理",
|
||||
"global.delete-target": "删除 {target}",
|
||||
|
||||
@ -36,7 +36,10 @@ const ContentTypeBuilderNav = () => {
|
||||
id: `${getTrad('plugin.name')}`,
|
||||
defaultMessage: 'Content-Types Builder',
|
||||
})}
|
||||
searchLabel="Search..."
|
||||
searchLabel={formatMessage({
|
||||
id: 'global.search',
|
||||
defaultMessage: 'Search',
|
||||
})}
|
||||
/>
|
||||
<SubNavSections>
|
||||
{menu.map(section => {
|
||||
|
||||
@ -71,7 +71,7 @@ const SearchURLQuery = ({ label, placeholder, trackedEvent }) => {
|
||||
<IconButton
|
||||
ref={iconButtonRef}
|
||||
icon={<Icon as={SearchIcon} color="neutral800" />}
|
||||
label="Search"
|
||||
label={formatMessage({ id: 'global.search', defaultMessage: 'Search' })}
|
||||
onClick={handleToggle}
|
||||
/>
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user