2020-04-08 19:41:32 -05:00
|
|
|
import React, { Component } from 'react';
|
2023-04-24 14:09:50 +03:00
|
|
|
import { WithTranslation } from 'react-i18next';
|
2020-05-20 12:57:03 +02:00
|
|
|
|
2023-04-03 13:49:19 +03:00
|
|
|
import { translate } from '../../base/i18n/functions';
|
2020-04-08 19:41:32 -05:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* A component that renders the description of the notification for old Jitsi Meet Electron clients.
|
|
|
|
|
*
|
2021-11-04 22:10:43 +01:00
|
|
|
* @augments AbstractApp
|
2020-04-08 19:41:32 -05:00
|
|
|
*/
|
2023-04-24 14:09:50 +03:00
|
|
|
export class OldElectronAPPNotificationDescription extends Component<WithTranslation> {
|
2020-04-08 19:41:32 -05:00
|
|
|
/**
|
|
|
|
|
* Implements React's {@link Component#render()}.
|
|
|
|
|
*
|
|
|
|
|
* @inheritdoc
|
|
|
|
|
* @returns {ReactElement}
|
|
|
|
|
*/
|
2025-03-12 10:19:11 -05:00
|
|
|
override render() {
|
2020-04-08 19:41:32 -05:00
|
|
|
const { t } = this.props;
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
{ t('notify.oldElectronClientDescription1') }
|
|
|
|
|
<a
|
|
|
|
|
href = 'https://github.com/jitsi/jitsi-meet-electron/releases/latest'
|
|
|
|
|
rel = 'noopener noreferrer'
|
|
|
|
|
target = '_blank'>
|
|
|
|
|
{ t('notify.oldElectronClientDescription2') }
|
|
|
|
|
</a>
|
|
|
|
|
{ t('notify.oldElectronClientDescription3') }
|
2023-05-12 13:24:50 +03:00
|
|
|
</div>
|
|
|
|
|
);
|
2020-04-08 19:41:32 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default translate(OldElectronAPPNotificationDescription);
|