From 4fa51ddcffe5757d456be55a87ebabfe0784ebe5 Mon Sep 17 00:00:00 2001 From: David Woloszyn Date: Tue, 9 Jul 2024 13:58:14 +1000 Subject: [PATCH] MDL-82417 admin: Clarify signoutofotherservices strings --- lang/en/moodle.php | 4 ++-- user/tests/behat/edituserpassword.feature | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 33a08fcd44c..27d38309fa9 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -2075,8 +2075,8 @@ $string['showtheselogs'] = 'Show these logs'; $string['showthishelpinlanguage'] = 'Show this help in language: {$a}'; $string['schedule'] = 'Schedule'; $string['sidepanel'] = 'Side panel'; -$string['signoutofotherservices'] = 'Sign out everywhere'; -$string['signoutofotherservices_help'] = 'If ticked, the account will be signed out of all devices and systems which use web services, such as the mobile app.'; +$string['signoutofotherservices'] = 'Log out of all web apps'; +$string['signoutofotherservices_help'] = 'Log out of all devices and systems that use web services, such as the mobile app. Browser sessions will remain active.'; $string['since'] = 'Since'; $string['sincelast'] = 'since last login'; $string['site'] = 'Site'; diff --git a/user/tests/behat/edituserpassword.feature b/user/tests/behat/edituserpassword.feature index 29831592cd6..ae90f8c5d9f 100644 --- a/user/tests/behat/edituserpassword.feature +++ b/user/tests/behat/edituserpassword.feature @@ -16,14 +16,14 @@ Feature: Edit a users password # We need to cancel/submit a form that has been modified. And I press "Create user" - Scenario: Sign out everywhere field is not present if user doesn't have active token + Scenario: Log out web apps field is not present if user doesn't have active token Given the following "users" exist: | username | firstname | lastname | email | | user01 | User | One | user01@example.com | When I am on the "user01" "user > editing" page logged in as "admin" - Then "Sign out everywhere" "field" should not exist + Then "Log out of all web apps" "field" should not exist - Scenario Outline: Sign out everywhere field is present based on expiry of active token + Scenario Outline: Log out web apps field is present based on expiry of active token Given the following "users" exist: | username | firstname | lastname | email | | user01 | User | One | user01@example.com | @@ -34,7 +34,7 @@ Feature: Edit a users password | user | service | validuntil | | user01 | mytestservice | | When I am on the "user01" "user > editing" page logged in as "admin" - Then "Sign out everywhere" "field" exist + Then "Log out of all web apps" "field" exist Examples: | validuntil | shouldornot | | ## -1 month ## | should not |