From 6e32a15cade7d350d1cdee3e6bfcdb68e6b92d19 Mon Sep 17 00:00:00 2001 From: Gung Wah <41157464+kresnaputra@users.noreply.github.com> Date: Thu, 25 Feb 2021 00:33:39 +0800 Subject: [PATCH] [FIX] System message of e2e encryption is missing (#2888) * [FIX] System message of e2e encryption missing * add new encryption string * add to stories * Add pt-BR * Move stories Co-authored-by: Diego Mello --- .../__snapshots__/Storyshots.test.js.snap | 303 ++++++++++++++++++ app/containers/message/utils.js | 8 +- app/i18n/locales/en.js | 4 +- app/i18n/locales/pt-BR.js | 4 +- storybook/stories/Message.js | 4 + 5 files changed, 320 insertions(+), 3 deletions(-) diff --git a/__tests__/__snapshots__/Storyshots.test.js.snap b/__tests__/__snapshots__/Storyshots.test.js.snap index 17bfb4dd..0eb72257 100644 --- a/__tests__/__snapshots__/Storyshots.test.js.snap +++ b/__tests__/__snapshots__/Storyshots.test.js.snap @@ -44404,6 +44404,309 @@ exports[`Storyshots Message list message 1`] = ` + + Toggle e2e encryption + + + + + + + + + + + + + + + This room's encryption has been disabled by diego.mello + + + + + + + + + + + + + + + + + + + + This room's encryption has been enabled by diego.mello + + + + + + { + + + +