From 31bf05e14aee07cd94835bada16a5e2c14e3f152 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Fri, 16 Jun 2017 16:05:29 -0700 Subject: [PATCH] Add verified state summary to top of safety number screen FREEBIE --- _locales/en/messages.json | 22 +++++++++++++++++++++- background.html | 9 +++++++++ js/views/key_verification_view.js | 11 +++++++---- stylesheets/_conversation.scss | 22 +++++++++++++++++++++- stylesheets/android-dark.scss | 8 ++++++++ stylesheets/manifest.css | 24 ++++++++++++++++++++++++ test/index.html | 9 +++++++++ 7 files changed, 99 insertions(+), 6 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 508baf3c1..4a88c0261 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -87,7 +87,7 @@ }, "sendAnyway": { "message": "Send Anyway", - "description": "Used on a warning dialog to specifiy " + "description": "Used on a warning dialog to make it clear that it might be risky to send the message." }, "noLongerVerified": { "message": "$name$ is no longer verified. Click to show.", @@ -136,6 +136,26 @@ "verify": { "message": "Verify" }, + "isVerified": { + "message": "$name$ is verified.", + "description": "Summary state shown at top of the safety number screen if user has verified contact.", + "placeholders": { + "name": { + "content": "$1", + "example": "Bob" + } + } + }, + "isNotVerified": { + "message": "$name$ is not verified.", + "description": "Summary state shown at top of the safety number screen if user has not verified contact.", + "placeholders": { + "name": { + "content": "$1", + "example": "Bob" + } + } + }, "verified": { "message": "Verified" }, diff --git a/background.html b/background.html index 8acc6f9a8..e85ee750f 100644 --- a/background.html +++ b/background.html @@ -335,6 +335,15 @@