From ed80e5dfc6f9600f21abd5e33885a2a43089622a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Ainsworth?= Date: Mon, 26 Sep 2022 23:16:18 +0000 Subject: [PATCH] Make other messages clearer --- front/public/embed.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/front/public/embed.html b/front/public/embed.html index e4d6e52e5..668352745 100644 --- a/front/public/embed.html +++ b/front/public/embed.html @@ -113,19 +113,19 @@ switch (response.status) { case 400: case 404: - error.value = `${type} not found.` + error.value = `This ${type} wasn't found on the server.` break case 403: - error.value = `You need to login to access this ${type}.` + error.value = `You need to log in to access this ${type}.` break case 500: - error.value = `An unknown error occurred while loading ${type} data from server.` + error.value = `An unknown error occurred while loading this ${type} from the server.` break default: - error.value = `An unknown error occurred while loading ${type} data.` + error.value = `An unknown error occurred while loading this ${type}.` } // NOTE: If we already have some tracks, let's fail silently @@ -165,7 +165,7 @@ if (error.value === false) { fetchTracks().catch(err => { console.error(err) - error.value = `An unknown error occurred while loading ${type} data.` + error.value = `An unknown error occurred while loading this ${type}.` }) } @@ -381,7 +381,7 @@