mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-08 07:42:47 +03:00
Implement smart capitalization based on locale (#17860)
This commit is contained in:
@@ -219,7 +219,7 @@ export default function Settings() {
|
||||
item: t("menu." + item),
|
||||
})}
|
||||
>
|
||||
<div className="capitalize">{t("menu." + item)}</div>
|
||||
<div className="smart-capitalize">{t("menu." + item)}</div>
|
||||
</ToggleGroupItem>
|
||||
))}
|
||||
</ToggleGroup>
|
||||
@@ -336,7 +336,7 @@ function CameraSelectButton({
|
||||
|
||||
const trigger = (
|
||||
<Button
|
||||
className="flex items-center gap-2 bg-selected capitalize hover:bg-selected"
|
||||
className="flex items-center gap-2 bg-selected smart-capitalize hover:bg-selected"
|
||||
aria-label="Select a camera"
|
||||
size="sm"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user