mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
web: localize search results count
This commit is contained in:
@@ -62,7 +62,7 @@ function Search(props: NotesProps) {
|
||||
groupingKey={"search"}
|
||||
isSearching={true}
|
||||
refresh={refresh}
|
||||
title={`${items.length} results`}
|
||||
title={strings.results(items.length)}
|
||||
isFocused={false}
|
||||
index={0}
|
||||
onSelectGroup={() => {}}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -404,6 +404,11 @@ export const strings = {
|
||||
loggingOutDesc: () => t`Please wait while we log you out.`,
|
||||
by: () => t`By`,
|
||||
noResultsForSearch: (query: string) => t`No results found for "${query}"`,
|
||||
results: (count: number) =>
|
||||
plural(count, {
|
||||
one: "1 result",
|
||||
other: `# results`
|
||||
}),
|
||||
noThemesFound: () => t`No themes found`,
|
||||
errorLoadingThemes: () => t`Error loading themes`,
|
||||
loadingThemes: () => t`Loading themes...`,
|
||||
|
||||
Reference in New Issue
Block a user