Skip to content
Snippets Groups Projects
Commit 86bbe6ba authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Add mission messages for GraphQL and natwork errors

parent 6c19752b
No related branches found
No related tags found
1 merge request!1123Resolve "Finalise Vuetify app as SPA"
Pipeline #107193 failed
......@@ -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")
});
......
......@@ -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."
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment