mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-24 03:11:03 +00:00
feat: adding translation for catalogue
This commit is contained in:
@@ -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>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user