From 1d84cac922e0e3d52cd096ba4e1dd2d20ef1dd97 Mon Sep 17 00:00:00 2001 From: AWolf81 Date: Fri, 25 Oct 2019 19:10:22 +0200 Subject: [PATCH] Rephrase error messages --- browser/main/lib/dataApi/createNoteFromUrl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/main/lib/dataApi/createNoteFromUrl.js b/browser/main/lib/dataApi/createNoteFromUrl.js index e1817744..ead93f9e 100644 --- a/browser/main/lib/dataApi/createNoteFromUrl.js +++ b/browser/main/lib/dataApi/createNoteFromUrl.js @@ -15,8 +15,8 @@ function validateUrl (str) { } const ERROR_MESSAGES = { - ENOTFOUND: 'URL not found. Please check the URL, your internet connection and try again.', - VALIDATION_ERROR: 'Please check your URL is in correct format. (Example, https://www.google.com)', + ENOTFOUND: 'URL not found. Please check the URL, or your internet connection and try again.', + VALIDATION_ERROR: 'Please check if the URL follows this format: https://www.google.com', UNEXPECTED: 'Unexpected error! Please check console for details!' }