feat: enhance email search results display with pluralization and localization support
This commit is contained in:
@@ -107,6 +107,7 @@ export default function Home() {
|
||||
advancedSearch,
|
||||
selectedKeyword,
|
||||
selectKeyword,
|
||||
hasMoreEmails,
|
||||
} = useEmailStore();
|
||||
|
||||
// Keyboard shortcuts handlers
|
||||
@@ -1147,6 +1148,14 @@ export default function Home() {
|
||||
)}
|
||||
</div>
|
||||
|
||||
{(searchQuery || !isFilterEmpty(searchFilters)) && !isLoading && (
|
||||
<div className="px-4 py-1.5 text-xs text-muted-foreground border-b border-border bg-muted/20">
|
||||
{hasMoreEmails
|
||||
? t("advanced_search.results_found_more", { count: emails.length })
|
||||
: t("advanced_search.results_found", { count: emails.length })}
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className="flex-1 min-h-0 flex flex-col">
|
||||
<WelcomeBanner />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user