+ muteParticipant(participant).then(() => setIsAlertOpen(false))
+ }
+ onClose={() => setIsAlertOpen(false)}
+ name={name}
+ />
+ >
+ )
+}
+
export const ParticipantTileFocus = ({
trackRef,
}: {
@@ -50,6 +116,8 @@ export const ParticipantTileFocus = ({
}
}, [hovered])
+ const participant = trackRef.participant
+
return (
+ {participant.isLocal ? (
+
+ ) : (
+
+ )}
)}
diff --git a/src/frontend/src/locales/de/rooms.json b/src/frontend/src/locales/de/rooms.json
index cb91bff9..426f160b 100644
--- a/src/frontend/src/locales/de/rooms.json
+++ b/src/frontend/src/locales/de/rooms.json
@@ -195,6 +195,8 @@
"pin": {
"enable": "",
"disable": ""
- }
+ },
+ "effects": "",
+ "muteParticipant": ""
}
}
diff --git a/src/frontend/src/locales/en/rooms.json b/src/frontend/src/locales/en/rooms.json
index 35fa94c7..a7b19713 100644
--- a/src/frontend/src/locales/en/rooms.json
+++ b/src/frontend/src/locales/en/rooms.json
@@ -194,6 +194,8 @@
"pin": {
"enable": "Pin",
"disable": "Unpin"
- }
+ },
+ "effects": "Apply visual effects",
+ "muteParticipant": "Mute {{name}}"
}
}
diff --git a/src/frontend/src/locales/fr/rooms.json b/src/frontend/src/locales/fr/rooms.json
index 80c20067..577e2a51 100644
--- a/src/frontend/src/locales/fr/rooms.json
+++ b/src/frontend/src/locales/fr/rooms.json
@@ -194,6 +194,8 @@
"pin": {
"enable": "Épingler",
"disable": "Annuler l'épinglage"
- }
+ },
+ "effects": "Appliquer des effets",
+ "muteParticipant": "Couper le micro de {{name}}"
}
}