mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding translation for catalogue
This commit is contained in:
parent
d072a14aa3
commit
7d277e0133
6 changed files with 21 additions and 15 deletions
|
|
@ -302,7 +302,9 @@ export default function Catalogue() {
|
|||
}}
|
||||
>
|
||||
<span style={{ fontSize: 12 }}>
|
||||
{t("result_count", { count: formatNumber(itemsCount) })}
|
||||
{t("result_count", {
|
||||
resultCount: formatNumber(itemsCount),
|
||||
})}
|
||||
</span>
|
||||
|
||||
<Pagination
|
||||
|
|
|
|||
|
|
@ -86,11 +86,15 @@ export function FilterSection({
|
|||
}}
|
||||
onClick={onClear}
|
||||
>
|
||||
{t("clear_filters", { count: formatNumber(selectedItemsCount) })}
|
||||
{t("clear_filters", {
|
||||
filterCount: formatNumber(selectedItemsCount),
|
||||
})}
|
||||
</button>
|
||||
) : (
|
||||
<span style={{ fontSize: 12, marginBottom: 12, display: "block" }}>
|
||||
{t("filter_count", { count: formatNumber(items.length) })}
|
||||
{t("filter_count", {
|
||||
filterCount: formatNumber(items.length),
|
||||
})}
|
||||
</span>
|
||||
)}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue