Added new quicklaunch type searchSuggestion.

This represents a search suggestion in the quick launch.

This commit also adds the locales for it in en and de
This commit is contained in:
Flo2410 2024-01-29 20:52:57 +00:00
parent a442c4d968
commit 86ec610345
No known key found for this signature in database
GPG Key ID: 8ECB00AC5216DC7F
3 changed files with 5 additions and 3 deletions

View File

@ -419,7 +419,8 @@
"search": "Suchen",
"custom": "Benutzerdefiniert",
"visit": "Besuchen",
"url": "URL"
"url": "URL",
"searchsuggestion": "Vorschlag"
},
"wmo": {
"0-day": "sonnig",

View File

@ -419,7 +419,8 @@
"search": "Search",
"custom": "Custom",
"visit": "Visit",
"url": "URL"
"url": "URL",
"searchsuggestion": "Suggestion"
},
"wmo": {
"0-day": "Sunny",

View File

@ -150,7 +150,7 @@ export default function QuickLaunch({
searchSuggestions[1].map((suggestion) => ({
href: searchProvider.url + encodeURIComponent(suggestion),
name: suggestion,
type: "search",
type: "searchSuggestion",
})),
);
}