diff --git a/src/components/views/elements/AppPermission.js b/src/components/views/elements/AppPermission.js index 083a7cd9c7..3dc7e86d75 100644 --- a/src/components/views/elements/AppPermission.js +++ b/src/components/views/elements/AppPermission.js @@ -47,13 +47,19 @@ export default class AppPermission extends React.Component { } render() { + let e2eWarningText; + if (this.props.isRoomEncrypted) { + e2eWarningText = + {_t('NOTE: Apps are not end-to-end encrypted')}; + } return (
{_t('Warning!')}/
- Do you want to load widget from URL: {this.state.curlBase} + {_t('Do you want to load widget from URL:')} {this.state.curlBase} + {e2eWarningText}
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index c3ac9e7023..a2c9b99822 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -264,6 +264,7 @@ "Disinvite": "Disinvite", "Display name": "Display name", "Displays action": "Displays action", + "Do you want to load widget from URL:": "Do you want to load widget from URL:", "Don't send typing notifications": "Don't send typing notifications", "Download %(text)s": "Download %(text)s", "Drop File Here": "Drop File Here", @@ -433,6 +434,7 @@ "AM": "AM", "PM": "PM", "NOT verified": "NOT verified", + "NOTE: Apps are not end-to-end encrypted": "NOTE: Apps are not end-to-end encrypted", "No devices with registered encryption keys": "No devices with registered encryption keys", "No display name": "No display name", "No more results": "No more results",