Commit c4b883a5 authored by merkulova's avatar merkulova Committed by Commit bot

String for warning if only child accounts are present on Supervised account creation.

BUG=435064

Review URL: https://codereview.chromium.org/743123002

Cr-Commit-Position: refs/heads/master@{#308107}
parent f0e8e830
......@@ -1529,8 +1529,8 @@ Press any key to continue exploring.
<message name="IDS_CREATE_SUPERVISED_USER_CREATION_RESTRICTED_TEXT" desc="Text shown when supervised user can be created, but owner of the device restricted supervised user creation or whitelist has been enabled for this device.">
Creation of supervised users is restricted by the owner of this device.
</message>
<message name="IDS_CREATE_SUPERVISED_USER_NO_MANAGER_EXCEPT_SUPERVISED_TEXT" desc="Text shown when supervised user can be created, but no users except regular supervised that can be manager exist.">
Sorry, you need to add at least one Google Account to this device before you can create a supervised user.
<message name="IDS_CREATE_SUPERVISED_USER_NO_MANAGER_EXCEPT_KIDS_TEXT" desc="Text shown when supervised user can be created, but no users except kids that can be manager exist.">
Sorry, you need to add at least one Google account to this device before you can create a supervised user. Google accounts for kids cannot be used to create a supervised user.
</message>
<message name="IDS_CREATE_SUPERVISED_INTRO_TEXT_TITLE" desc="Supervised user dialog, intro page, title">
What is a supervised user?
......
......@@ -81,7 +81,7 @@ void UpdateAuthParams(base::DictionaryValue* params,
->GetUsersAllowedForSupervisedUsersCreation()
.empty()) {
supervised_users_can_create = false;
message_id = IDS_CREATE_SUPERVISED_USER_NO_MANAGER_EXCEPT_SUPERVISED_TEXT;
message_id = IDS_CREATE_SUPERVISED_USER_NO_MANAGER_EXCEPT_KIDS_TEXT;
}
params->SetBoolean("supervisedUsersEnabled", supervised_users_allowed);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment