Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<PackageReference Include="BootstrapBlazor.Markdown" Version="9.0.0" />
<PackageReference Include="BootstrapBlazor.MaterialDesign" Version="9.0.0" />
<PackageReference Include="BootstrapBlazor.MaterialDesign.Extensions" Version="9.0.0" />
<PackageReference Include="BootstrapBlazor.MeiliSearch" Version="9.0.10" />
<PackageReference Include="BootstrapBlazor.MeiliSearch" Version="9.1.1" />
<PackageReference Include="BootstrapBlazor.Mermaid" Version="9.0.3" />
<PackageReference Include="BootstrapBlazor.MindMap" Version="9.0.0" />
<PackageReference Include="BootstrapBlazor.MouseFollower" Version="9.0.1" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@inject IStringLocalizer<GlobalSearch> Localizer

<MeiliSearchBox SearchBoxPlaceHolder="@Localizer["SearchPlaceHolder"]"
SearchStatus="@Localizer["SearchStatus"]"
EnterKeyText="@Localizer["EnterKeyText"]"
ArrowKeyText="@Localizer["ArrowKeyText"]"
EscKeyText="@Localizer["EscKeyText"]"
SearchingText="@Localizer["SearchingText"]" SearchResultText="@Localizer["SearchResultText"]"
LogoText="@Localizer["LogoText"]"
EnterKeyText="@Localizer["EnterKeyText"]" ArrowKeyText="@Localizer["ArrowKeyText"]" EscKeyText="@Localizer["EscKeyText"]"
SearchResultPlaceHolder="@Localizer["SearchResultPlaceHolder"]"
EmptySearchResultPlaceHolder="@Localizer["EmptySearchResultPlaceHolder"]"
SearchableColumns="SearchableColumns"></MeiliSearchBox>

@code {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@
.modal-open .navbar-header {
z-index: 1040;
}

::deep .bb-g-search {
margin-bottom: 0;
margin-inline-end: .5rem;
}
}

@media (min-width: 1140px) {
Expand Down
7 changes: 5 additions & 2 deletions src/BootstrapBlazor.Server/Locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -4468,9 +4468,12 @@
"Label": "Language:"
},
"BootstrapBlazor.Server.Components.Components.GlobalSearch": {
"SearchPlaceHolder": "search",
"SearchStatus": "Powered by BootstrapBlazor",
"SearchPlaceHolder": "Search",
"SearchingText": "Searching ...",
"SearchResultText": "Found {0} results in {1}ms",
"LogoText": "Powered by BootstrapBlazor",
"SearchResultPlaceHolder": "Type something to search",
"EmptySearchResultPlaceHolder": "No match searches",
"EnterKeyText": "to Select",
"ArrowKeyText": "to Navigate",
"EscKeyText": "to Close"
Expand Down
5 changes: 4 additions & 1 deletion src/BootstrapBlazor.Server/Locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -4469,8 +4469,11 @@
},
"BootstrapBlazor.Server.Components.Components.GlobalSearch": {
"SearchPlaceHolder": "搜索",
"SearchStatus": "Powered by BootstrapBlazor",
"SearchingText": "正在搜索 ...",
"SearchResultText": "匹配到 {0} 条记录,耗时 {1} 毫秒",
"LogoText": "Powered by BootstrapBlazor",
"SearchResultPlaceHolder": "键入要搜索的内容",
"EmptySearchResultPlaceHolder": "无匹配搜索",
"EnterKeyText": "选择",
"ArrowKeyText": "导航",
"EscKeyText": "关闭"
Expand Down
Loading