Skip to content

Commit

Permalink
revise verbage of 'not registered' error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
JGreenlee committed Oct 9, 2023
1 parent c349ab7 commit 6ed84b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion www/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@
},
"errors": {
"registration-check-token": "User registration error. Please check your token and try again.",
"unable-preload-not-registered": "Unable to preload survey before registration",
"not-registered-cant-contact": "User is not registered, so the server cannot be contacted.",
"while-populating-composite": "Error while populating composite trips",
"while-loading-another-week": "Error while loading travel of {{when}} week",
"while-loading-specific-week": "Error while loading travel for the week of {{day}}",
Expand Down
2 changes: 1 addition & 1 deletion www/js/onboarding/SurveyPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let preloadedResponsePromise: Promise<any> = null;
export const preloadDemoSurveyResponse = () => {
if (!preloadedResponsePromise) {
if (!registerUserDone) {
displayErrorMsg(i18next.t('unable-preload-not-registered'));
displayErrorMsg(i18next.t('errors.not-registered-cant-contact'));
return Promise.resolve(null);
}
preloadedResponsePromise = loadPreviousResponseForSurvey(DEMOGRAPHIC_SURVEY_DATAKEY);
Expand Down

0 comments on commit 6ed84b3

Please sign in to comment.