diff --git a/scripts/functions.sh b/scripts/functions.sh index 87e5e5c43..55af8536b 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -20,26 +20,22 @@ function print_success { } function print_error { - tput setaf 1; echo " ERROR: $1" - tput setaf 0 + tput setaf 1; echo " ERROR: $1"; tput sgr0 } function print_ok { - tput setaf 2; echo " OK: $1" + tput setaf 2; echo " OK: $1"; tput sgr0 echo - tput setaf 0 } function print_message { - tput setaf 3; echo "-------- $1" + tput setaf 3; echo "-------- $1"; tput sgr0 echo - tput setaf 0 } function print_title { stepnumber=$(($stepnumber + 1)) echo - tput setaf 5; echo "$stepnumber $1" - tput setaf 5; echo '==================' - tput setaf 0 + tput setaf 5; echo "$stepnumber $1"; tput sgr0 + tput setaf 5; echo '=================='; tput sgr0 } \ No newline at end of file diff --git a/scripts/langindex.json b/scripts/langindex.json index aee070da8..87413dde6 100644 --- a/scripts/langindex.json +++ b/scripts/langindex.json @@ -1567,7 +1567,7 @@ "core.login.changepassword": "moodle", "core.login.changepasswordbutton": "local_moodlemobileapp", "core.login.changepasswordhelp": "local_moodlemobileapp", - "core.login.changepassowrdinstructions": "local_moodlemobileapp", + "core.login.changepasswordinstructions": "local_moodlemobileapp", "core.login.changepasswordlogoutinstructions": "local_moodlemobileapp", "core.login.changepasswordreconnectinstructions": "local_moodlemobileapp", "core.login.checksiteversion": "local_moodlemobileapp", diff --git a/src/assets/lang/en.json b/src/assets/lang/en.json index b3aa82ed9..2b50cbff9 100644 --- a/src/assets/lang/en.json +++ b/src/assets/lang/en.json @@ -1562,10 +1562,10 @@ "core.login.auth_email": "Email-based self-registration", "core.login.authenticating": "Authenticating", "core.login.cancel": "Cancel", - "core.login.changepassowrdinstructions": "You cannot change your password in the app. Please click the following button to open the site in a web browser to change your password. Take into account you need to close the browser after changing the password as you will not be redirected to the app.", "core.login.changepassword": "Change password", "core.login.changepasswordbutton": "Open the change password page", "core.login.changepasswordhelp": "If you have problems changing your password, please contact your site administrator. \"Site Administrators\" are the people who manages the Moodle at your school/university/company or learning organisation. If you don't know how to contact them, please contact your teachers/trainers.", + "core.login.changepasswordinstructions": "You cannot change your password in the app. Please click the following button to open the site in a web browser to change your password. Take into account you need to close the browser after changing the password as you will not be redirected to the app.", "core.login.changepasswordlogoutinstructions": "If you prefer to change site or log out, please click the following button:", "core.login.changepasswordreconnectinstructions": "Click the following button to reconnect to the site. (Take into account that if you didn't change your password successfully, you would return to the previous screen).", "core.login.checksiteversion": "Check that your site uses Moodle 3.1 or later.", diff --git a/src/core/login/lang/en.json b/src/core/login/lang/en.json index a3c443bc9..e4780131c 100644 --- a/src/core/login/lang/en.json +++ b/src/core/login/lang/en.json @@ -6,7 +6,7 @@ "changepassword": "Change password", "changepasswordbutton": "Open the change password page", "changepasswordhelp": "If you have problems changing your password, please contact your site administrator. \"Site Administrators\" are the people who manages the Moodle at your school/university/company or learning organisation. If you don't know how to contact them, please contact your teachers/trainers.", - "changepassowrdinstructions": "You cannot change your password in the app. Please click the following button to open the site in a web browser to change your password. Take into account you need to close the browser after changing the password as you will not be redirected to the app.", + "changepasswordinstructions": "You cannot change your password in the app. Please click the following button to open the site in a web browser to change your password. Take into account you need to close the browser after changing the password as you will not be redirected to the app.", "changepasswordlogoutinstructions": "If you prefer to change site or log out, please click the following button:", "changepasswordreconnectinstructions": "Click the following button to reconnect to the site. (Take into account that if you didn't change your password successfully, you would return to the previous screen).", "confirmdeletesite": "Are you sure you want to delete the site {{sitename}}?", diff --git a/src/core/login/pages/change-password/change-password.html b/src/core/login/pages/change-password/change-password.html index 9bbd96064..7c965a3a0 100644 --- a/src/core/login/pages/change-password/change-password.html +++ b/src/core/login/pages/change-password/change-password.html @@ -12,7 +12,7 @@

{{ 'core.login.forcepasswordchangenotice' | translate }}

-

{{ 'core.login.changepassowrdinstructions' | translate }}

+

{{ 'core.login.changepasswordinstructions' | translate }}