From 6fe9c3f964ae948d394002d7a50fdc19e6c7860f Mon Sep 17 00:00:00 2001 From: lilia Date: Wed, 23 Mar 2016 12:33:50 -0700 Subject: [PATCH] Nest key verification inside conflict dialogs // FREEBIE --- _locales/en/messages.json | 16 ++++-- background.html | 19 +++---- js/views/conversation_view.js | 2 +- js/views/key_conflict_dialogue_view.js | 44 ++++++++------- js/views/key_verification_view.js | 8 ++- js/views/message_detail_view.js | 21 -------- stylesheets/_conversation.scss | 60 ++++++++++----------- stylesheets/manifest.css | 75 +++++++++++++------------- 8 files changed, 123 insertions(+), 122 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 6e5c79bbd..30bbfb9bc 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -22,16 +22,18 @@ } }, "acceptNewKey": { - "message": "Accept new key" + "message": "Accept", + "description": "Label for a button to accept a new identity key" }, "verify": { "message": "Verify" }, "newIdentity": { - "message": "New Identity" + "message": "New Identity", + "description": "Header for a key change dialog" }, "identityChanged": { - "message": "This contact's identity key has changed. This could either mean that someone is trying to intercept your communication, or this contact simply re-installed Signal and now has a new identity key." + "message": "This contact is using a new Signal identity. This could either mean that someone is trying to intercept your communication, or this contact simply re-installed Signal. You may wish to verify their new identity." }, "outgoingKeyConflict": { "message": "This contact's identity key has changed. Click to process and display." @@ -242,5 +244,13 @@ "messageNotSent": { "message": "Message not sent.", "description": "Informational label, appears on messages that failed to send" + }, + "showMore": { + "message": "Details", + "description": "Displays the details of a key change" + }, + "showLess": { + "message": "Hide details", + "description": "Hides the details of a key change" } } diff --git a/background.html b/background.html index 0b4f68955..92971788b 100644 --- a/background.html +++ b/background.html @@ -235,8 +235,12 @@ - +