From 5340791868f9393e8949cf9d38c9f012a60d6c53 Mon Sep 17 00:00:00 2001 From: lilia Date: Sun, 14 Feb 2016 22:41:52 -0800 Subject: [PATCH] Display key conflict dialog inline One less modal. // FREEBIE --- _locales/en/messages.json | 13 ++++- background.html | 8 ++- js/views/key_conflict_dialogue_view.js | 14 ++--- js/views/message_detail_view.js | 18 +++++-- stylesheets/_conversation.scss | 73 ++++++++++++++------------ stylesheets/manifest.css | 72 ++++++++++++------------- 6 files changed, 107 insertions(+), 91 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 8eb677a3..8eb6b295 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -9,7 +9,15 @@ "message": "Submit" }, "verifyContact": { - "message": "You may wish to verify this contact." + "message": "You may wish to $tag_start$verify$tag_end$ this contact.", + "placeholders": { + "tag_start": { + "content": "" + }, + "tag_end": { + "content": "" + } + } }, "acceptNewKey": { "message": "Accept new key" @@ -20,6 +28,9 @@ "newIdentity": { "message": "New Identity" }, + "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." + }, "outgoingKeyConflict": { "message": "This contact's identity key has changed. Click to process and display." }, diff --git a/background.html b/background.html index b134a1a0..94a0e216 100644 --- a/background.html +++ b/background.html @@ -276,7 +276,7 @@

{{ message }}