From 156f01b7439e974aa963e57764e77cb5882891be Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Wed, 19 Apr 2023 13:26:54 +0200 Subject: [PATCH] MOBILE-4290 login: Update help text --- scripts/langindex.json | 3 +++ .../features/login/components/site-help/site-help.html | 5 +++++ .../features/login/components/site-help/site-help.ts | 7 +++++++ src/core/features/login/lang.json | 9 ++++++--- 4 files changed, 21 insertions(+), 3 deletions(-) diff --git a/scripts/langindex.json b/scripts/langindex.json index 64a23a98d..a2b5a037f 100644 --- a/scripts/langindex.json +++ b/scripts/langindex.json @@ -2045,6 +2045,9 @@ "core.login.exceededpasswordresetattemptssupportsubject": "local_moodlemobileapp", "core.login.faqcannotfindmysiteanswer": "local_moodlemobileapp", "core.login.faqcannotfindmysitequestion": "local_moodlemobileapp", + "core.login.faqcantloginanswer": "local_moodlemobileapp", + "core.login.faqcantloginquestion": "local_moodlemobileapp", + "core.login.faqmore": "local_moodlemobileapp", "core.login.faqsetupsiteanswer": "local_moodlemobileapp", "core.login.faqsetupsitelinktitle": "local_moodlemobileapp", "core.login.faqsetupsitequestion": "local_moodlemobileapp", diff --git a/src/core/features/login/components/site-help/site-help.html b/src/core/features/login/components/site-help/site-help.html index 949754fd8..d1cea07d2 100644 --- a/src/core/features/login/components/site-help/site-help.html +++ b/src/core/features/login/components/site-help/site-help.html @@ -33,5 +33,10 @@ + + +

+
+
diff --git a/src/core/features/login/components/site-help/site-help.ts b/src/core/features/login/components/site-help/site-help.ts index 4a3b22a91..c1bdf471c 100644 --- a/src/core/features/login/components/site-help/site-help.ts +++ b/src/core/features/login/components/site-help/site-help.ts @@ -58,6 +58,13 @@ export class CoreLoginSiteHelpComponent implements AfterViewInit, OnDestroy { format: AnswerFormat.Text, }, }, + { + text: Translate.instant('core.login.faqcantloginquestion'), + answer: { + text: Translate.instant('core.login.faqcantloginanswer'), + format: AnswerFormat.SafeHTML, + }, + }, { text: Translate.instant('core.login.faqsetupsitequestion'), answer: { diff --git a/src/core/features/login/lang.json b/src/core/features/login/lang.json index bcbffa477..faecfd43a 100644 --- a/src/core/features/login/lang.json +++ b/src/core/features/login/lang.json @@ -35,14 +35,17 @@ "exceededloginattemptswithoutsupport": "Need help logging in? Try {{recoverPassword}}.", "exceededpasswordresetattempts": "It seems you are having trouble accessing your account. You can contact your school or learning provider or try again later.", "exceededpasswordresetattemptssupportsubject": "I can't reset my password", - "faqcannotfindmysiteanswer": "If you still can't find it, please contact your school or learning provider for help.", - "faqcannotfindmysitequestion": "I can't find my site by address.", + "faqcannotfindmysiteanswer": "If you tried searching by URL address and still can't find your Moodle site, please get in touch with the person who takes care of Moodle in your school or learning organisation.", + "faqcannotfindmysitequestion": "I can't find my site by URL address.", + "faqcantloginanswer": "

Once you've connected to your Moodle site, you should be able to log in with your usual username and password.


If you forgot your username or password, select the option Forgotten your username or password?. If you still have trouble logging in or can't see any options for retrieving your username or password, please get in touch with the person who takes care of Moodle in your school or learning organisation.

", + "faqcantloginquestion": "I can't log in.", + "faqmore": "Check out our FAQ for more answers.", "faqsetupsiteanswer": "Visit {{$link}} to check out the different options you have to create your own Moodle site.", "faqsetupsitelinktitle": "Get started.", "faqsetupsitequestion": "I want to set up my own Moodle site.", "faqtestappanswer": "To test the app in a Moodle demo site, type \"teacher\" or \"student\" in the Your site field and tap Connect to your site.", "faqtestappquestion": "Can I test the app on a demo site?", - "faqwhatisurlanswer": "

If you can't find your site by name, try searching by address instead.

To find your site address:

  1. Open a web browser and go to your Moodle site login page.
  2. At the top of the page, in the address bar, you will see the URL of your Moodle site e.g. \"campus.example.edu\".
    {{$image}}
  3. Copy the address (don't copy the /login nor what comes after), paste it into Your site in the app, then tap Connect to your site
  4. Now you can log in to your site with your username and password.
", + "faqwhatisurlanswer": "

If you can't find your site by name, try searching by your Moodle site URL address (or web address) address instead.

To find your site address:

  1. Open a web browser and go to your Moodle site login page.
  2. At the top of the page, in the address bar, you'll see the URL address of your Moodle site, e.g. \"campus.example.edu\".
    {{$image}}
  3. Copy the URL (don't copy the /login nor what comes after), paste it into Your site in the app, then tap Connect to your site
  4. Now you can log in to your site with your username and password.
", "faqwhatisurlquestion": "How can I find my site?", "faqwhereisqrcode": "Where can I find the QR code?", "faqwhereisqrcodeanswer": "

If your school or learning provider has enabled it, you will find a QR code on the web site at the bottom of your user profile page.

{{$image}}",