diff --git a/aleksis/core/assets/app.js b/aleksis/core/assets/app.js index f336238f1ec6745167b4d4578b1cdf9efd59d034..7fab4a83d788129953ea57f0f51163fd92e4d0cf 100644 --- a/aleksis/core/assets/app.js +++ b/aleksis/core/assets/app.js @@ -123,7 +123,7 @@ function addErrorSnackbarItem (messageKey) { const retryLink = new RetryLink(); const errorLink = onError(({ graphQLErrors, networkError }) => { - if (graphQLErrors) addErrorSnackbarItem("graphql_errors.snackbar_error_message") + if (graphQLErrors) addErrorSnackbarItem("graphql.snackbar_error_message") if (networkError) addErrorSnackbarItem("network_errors.snackbar_error_message") }); diff --git a/aleksis/core/assets/messages/en.json b/aleksis/core/assets/messages/en.json index 4ffb45dd77b3cf2e42a97388bc502f25137c191c..8da883db7a5ef7ff60028c5a20a319d9f5afad97 100644 --- a/aleksis/core/assets/messages/en.json +++ b/aleksis/core/assets/messages/en.json @@ -175,11 +175,15 @@ "network_errors": { "error_404": "404", "page_not_found": "The requested page or resource could not be found.", - "take_me_back": "Take me back" + "take_me_back": "Take me back", + "snackbar_error_message": "A network error occurred. Please try again." }, "service_worker": { "new_version_available": "A new version of the app is available", "update": "Update", "dismiss": "Dismiss" + }, + "graphql": { + "snackbar_error_message": "There was an error retrieving the page data. Please try again." } }