You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

OldElectronAPPNotificationDescription.js 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // @flow
  2. import React, { Component } from 'react';
  3. import { translate } from '../../base/i18n';
  4. /**
  5. * The type of the React {@code Component} props of {@link OldElectronAPPNotificationDescription}.
  6. */
  7. type Props = {
  8. /**
  9. * Invoked to obtain translated strings.
  10. */
  11. t: Function
  12. };
  13. /**
  14. * A component that renders the description of the notification for old Jitsi Meet Electron clients.
  15. *
  16. * @extends AbstractApp
  17. */
  18. export class OldElectronAPPNotificationDescription extends Component<Props> {
  19. /**
  20. * Implements React's {@link Component#render()}.
  21. *
  22. * @inheritdoc
  23. * @returns {ReactElement}
  24. */
  25. render() {
  26. const { t } = this.props;
  27. return (
  28. <div>
  29. { t('notify.oldElectronClientDescription1') }
  30. <a
  31. href = 'https://github.com/jitsi/jitsi-meet-electron/releases/latest'
  32. rel = 'noopener noreferrer'
  33. target = '_blank'>
  34. { t('notify.oldElectronClientDescription2') }
  35. </a>
  36. { t('notify.oldElectronClientDescription3') }
  37. </div>);
  38. }
  39. }
  40. export default translate(OldElectronAPPNotificationDescription);