From 01be58acc2abd836ec4d568321a43e846d93deaa Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Mon, 21 May 2018 11:57:40 -0700 Subject: [PATCH] Remove formatting in importError localization string --- _locales/en/messages.json | 10 +++++++--- background.html | 5 ++++- js/views/import_view.js | 3 ++- test/i18n_test.js | 7 ++----- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 0bef20ac9453..61a61a36f5a4 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -67,9 +67,13 @@ "message": "Loading contacts and messages", "description": "Header of screen shown as data is import" }, - "importError": { - "message": "Make sure you have chosen the correct directory that contains your saved Signal data. Its name should begin with 'Signal Export.' You can also save a new copy of your data from the Chrome App.

If these steps don't work for you, please submit a debug log so that we can help you get migrated!

", - "description": "Message shown if the import went wrong." + "importErrorFirst": { + "message": "Make sure you have chosen the correct directory that contains your saved Signal data. Its name should begin with 'Signal Export.' You can also save a new copy of your data from the Chrome App.", + "description": "Message shown if the import went wrong; first paragraph" + }, + "importErrorSecond": { + "message": "If these steps don't work for you, please submit a debug log (View -> Debug Log) so that we can help you get migrated!", + "description": "Message shown if the import went wrong; second paragraph" }, "importAgain": { "message": "Choose folder and try again", diff --git a/background.html b/background.html index 65d5550e73df..f9a4aeb1befc 100644 --- a/background.html +++ b/background.html @@ -740,7 +740,10 @@
{{ errorHeader }}
-
{{& errorMessage }}
+
+ {{ errorMessageFirst }} +

{{ errorMessageSecond }}

+