i18n tweaks (#17865)

* Add plural variant to i18n selected key

Weblate needs both keys to populate other languages

* move smart capitalization logic into language provider

* fix key
This commit is contained in:
Josh Hawkins
2025-04-23 06:19:20 -06:00
committed by GitHub
parent cee5d6e5ee
commit 44d44f87ac
4 changed files with 7 additions and 11 deletions
+1 -1
View File
@@ -1758,7 +1758,7 @@ function FrigateCameraFeatures({
isRecording && "animate-pulse bg-red-500 hover:bg-red-600",
)}
>
{t("manualRecording." + isRecording ? "end" : "start")}
{t("manualRecording." + (isRecording ? "end" : "start"))}
</Button>
<p className="text-sm text-muted-foreground">
{t("manualRecording.tips")}