mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-08-04 13:47:37 +02:00
Fix i18n plural for selected review count (#17864)
* Fix i18n plural for selected review count * use selected count in explore
This commit is contained in:
parent
78c1694451
commit
cee5d6e5ee
@ -31,6 +31,6 @@
|
||||
"label": "View new review items",
|
||||
"button": "New Items To Review"
|
||||
},
|
||||
"selected": "selected",
|
||||
"selected": "{{count}} selected",
|
||||
"camera": "Camera"
|
||||
}
|
||||
|
@ -96,7 +96,6 @@ export default function ReviewActionGroup({
|
||||
<div className="absolute inset-x-2 inset-y-0 flex items-center justify-between gap-2 bg-background py-2 md:left-auto">
|
||||
<div className="mx-1 flex items-center justify-center text-sm text-muted-foreground">
|
||||
<div className="p-1">
|
||||
{selectedReviews.length}{" "}
|
||||
{t("selected", {
|
||||
ns: "views/events",
|
||||
count: selectedReviews.length,
|
||||
|
@ -108,7 +108,12 @@ export default function SearchActionGroup({
|
||||
|
||||
<div className="absolute inset-x-2 inset-y-0 flex items-center justify-between gap-2 bg-background py-2 md:left-auto">
|
||||
<div className="mx-1 flex items-center justify-center text-sm text-muted-foreground">
|
||||
<div className="p-1">{`${selectedObjects.length} selected`}</div>
|
||||
<div className="p-1">
|
||||
{t("selected", {
|
||||
ns: "views/events",
|
||||
count: selectedObjects.length,
|
||||
})}
|
||||
</div>
|
||||
<div className="p-1">{"|"}</div>
|
||||
<div
|
||||
className="cursor-pointer p-2 text-primary hover:rounded-lg hover:bg-secondary"
|
||||
|
Loading…
Reference in New Issue
Block a user