Sfoglia il codice sorgente

Add details provided by Google explanation to onboarding form (#16216)

* Add details provided by Google explanation to onboarding form

* Add UserProvider and setDefaultMeta in OnboardingDataCollectionStory

* check if first name and last name exists

* refactor google check

* refactor name check

* using req.session.registeredVia

* Fix formatting

GitOrigin-RevId: 2c9f031f620ae3c1320b00e7c9f47637f5559275
Domagoj Kriskovic 2 anni fa
parent
commit
2520a10e4c

+ 1 - 0
services/web/frontend/extracted-translations.json

@@ -258,6 +258,7 @@
   "demonstrating_track_changes_feature": "",
   "demonstrating_track_changes_feature": "",
   "department": "",
   "department": "",
   "description": "",
   "description": "",
+  "details_provided_by_google_explanation": "",
   "dictionary": "",
   "dictionary": "",
   "did_you_know_institution_providing_professional": "",
   "did_you_know_institution_providing_professional": "",
   "did_you_know_that_overleaf_offers": "",
   "did_you_know_that_overleaf_offers": "",

+ 1 - 0
services/web/locales/en.json

@@ -393,6 +393,7 @@
   "department": "Department",
   "department": "Department",
   "descending": "Descending",
   "descending": "Descending",
   "description": "Description",
   "description": "Description",
+  "details_provided_by_google_explanation": "Your details were provided by your Google account. Please check you’re happy with them.",
   "dictionary": "Dictionary",
   "dictionary": "Dictionary",
   "did_you_know_institution_providing_professional": "Did you know that __institutionName__ is providing <0>free __appName__ Professional features</0> to everyone at __institutionName__?",
   "did_you_know_institution_providing_professional": "Did you know that __institutionName__ is providing <0>free __appName__ Professional features</0> to everyone at __institutionName__?",
   "did_you_know_that_overleaf_offers": "Did you know that __appName__ offers group and organization-wide subscription options? Request information or a quote.",
   "did_you_know_that_overleaf_offers": "Did you know that __appName__ offers group and organization-wide subscription options? Request information or a quote.",