Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(chat): added translation function
ilaydadastan82fa1eb8700f
diff --git a/react/features/chat/components/web/PrivateMessageButton.tsx b/react/features/chat/components/web/PrivateMessageButton.tsxindex 1e1bf52319..01a721351d 100644--- a/react/features/chat/components/web/PrivateMessageButton.tsx+++ b/react/features/chat/components/web/PrivateMessageButton.tsx@@ -1,4 +1,5 @@import React, { useCallback } from 'react';+import { useTranslation } from 'react-i18next';import { useDispatch, useSelector } from 'react-redux';import { makeStyles } from 'tss-react/mui';@@ -46,6 +47,7 @@ const PrivateMessageButton = ({ participantID, isLobbyMessage, visible }: IPropsconst dispatch = useDispatch();const participant = useSelector((state: IReduxState) => getParticipantById(state, participantID));const isVisible = useSelector((state: IReduxState) => getFeatureFlag(state, CHAT_ENABLED, true)) ?? visible;+ const { t } = useTranslation();const handleClick = useCallback(() => {if (isLobbyMessage) {@@ -61,7 +63,7 @@ const PrivateMessageButton = ({ participantID, isLobbyMessage, visible }: IPropsreturn (<Button- accessibilityLabel = 'toolbar.accessibilityLabel.privateMessage'+ accessibilityLabel = { t('toolbar.accessibilityLabel.privateMessage') }className = { classes.replyButton }icon = { IconReply }onClick = { handleClick }