mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-04 04:27:42 +03:00
fix live camera view i18n
This commit is contained in:
parent
c923d00254
commit
bae309db09
@ -531,11 +531,9 @@ export default function LiveCameraView({
|
|||||||
Icon={mic ? FaMicrophone : FaMicrophoneSlash}
|
Icon={mic ? FaMicrophone : FaMicrophoneSlash}
|
||||||
isActive={mic}
|
isActive={mic}
|
||||||
title={
|
title={
|
||||||
(mic
|
mic
|
||||||
? t("button.disable", { ns: "common" })
|
? t("twoWayTalk.disable", { ns: "views/live" })
|
||||||
: t("button.enable", { ns: "common" })) +
|
: t("twoWayTalk.enable", { ns: "views/live" })
|
||||||
" " +
|
|
||||||
t("button.twoWayTalk", { ns: "common" })
|
|
||||||
}
|
}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setMic(!mic);
|
setMic(!mic);
|
||||||
@ -553,11 +551,9 @@ export default function LiveCameraView({
|
|||||||
Icon={audio ? GiSpeaker : GiSpeakerOff}
|
Icon={audio ? GiSpeaker : GiSpeakerOff}
|
||||||
isActive={audio ?? false}
|
isActive={audio ?? false}
|
||||||
title={
|
title={
|
||||||
(audio
|
audio
|
||||||
? t("button.disable", { ns: "common" })
|
? t("cameraAudio.disable", { ns: "views/live" })
|
||||||
: t("button.enable", { ns: "common" })) +
|
: t("cameraAudio.enable", { ns: "views/live" })
|
||||||
" " +
|
|
||||||
t("button.cameraAudio", { ns: "common" })
|
|
||||||
}
|
}
|
||||||
onClick={() => setAudio(!audio)}
|
onClick={() => setAudio(!audio)}
|
||||||
disabled={!cameraEnabled}
|
disabled={!cameraEnabled}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user