Commit 45331479 authored by Yusuf Sengul's avatar Yusuf Sengul Committed by Commit Bot

Change some of the GCPW UX writing

Bug: 1001031
Change-Id: Ia8c41cc878a3957686bb897af5c68c96280fe456
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1786832Reviewed-by: default avatarTien Mai <tienmai@chromium.org>
Commit-Queue: Yusuf Sengul <yusufsn@google.com>
Cr-Commit-Position: refs/heads/master@{#693761}
parent f3be4035
...@@ -1987,7 +1987,7 @@ HRESULT CGaiaCredentialBase::ValidateOrCreateUser(const base::Value& result, ...@@ -1987,7 +1987,7 @@ HRESULT CGaiaCredentialBase::ValidateOrCreateUser(const base::Value& result,
allow_consumer_accounts == 0) { allow_consumer_accounts == 0) {
LOGFN(ERROR) << "Consumer accounts are not allowed mdm_aca=" LOGFN(ERROR) << "Consumer accounts are not allowed mdm_aca="
<< allow_consumer_accounts; << allow_consumer_accounts;
*error_text = AllocErrorString(IDS_INVALID_EMAIL_DOMAIN_BASE); *error_text = AllocErrorString(IDS_DISALLOWED_CONSUMER_EMAIL_BASE);
return E_FAIL; return E_FAIL;
} }
} }
......
...@@ -1235,8 +1235,8 @@ TEST_P(GcpGaiaCredentialBaseConsumerEmailTest, ConsumerEmailSignin) { ...@@ -1235,8 +1235,8 @@ TEST_P(GcpGaiaCredentialBaseConsumerEmailTest, ConsumerEmailSignin) {
ASSERT_EQ(S_OK, FinishLogonProcess(true, true, 0)); ASSERT_EQ(S_OK, FinishLogonProcess(true, true, 0));
} else { } else {
// Error message concerning invalid domain is sent. // Error message concerning invalid domain is sent.
ASSERT_EQ(S_OK, ASSERT_EQ(S_OK, FinishLogonProcess(false, false,
FinishLogonProcess(false, false, IDS_INVALID_EMAIL_DOMAIN_BASE)); IDS_DISALLOWED_CONSUMER_EMAIL_BASE));
} }
if (user_created) { if (user_created) {
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<release seq="1"> <release seq="1">
<messages fallback_to_english="true"> <messages fallback_to_english="true">
<message name="IDS_PROJNAME" desc=""> <message name="IDS_PROJNAME" desc="">
Google Credential Provider Google Credential Provider for Windows
</message> </message>
<message name="IDS_INVALID_UI_RESPONSE" desc=""> <message name="IDS_INVALID_UI_RESPONSE" desc="">
Signing in to your work account failed. Make sure the computer has an internet connection, then try again. Signing in to your work account failed. Make sure the computer has an internet connection, then try again.
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
A user could not be created. A user could not be created.
</message> </message>
<message name="IDS_INVALID_PASSWORD" desc=""> <message name="IDS_INVALID_PASSWORD" desc="">
Sorry, your Windows password couldn't be verified. Please try again. You entered an incorrect Windows password. Please try again.
</message> </message>
<message name="IDS_INTERNAL_ERROR" desc=""> <message name="IDS_INTERNAL_ERROR" desc="">
An internal error occurred. An internal error occurred.
...@@ -79,8 +79,11 @@ ...@@ -79,8 +79,11 @@
<message name="IDS_INVALID_EMAIL_DOMAIN" desc=""> <message name="IDS_INVALID_EMAIL_DOMAIN" desc="">
Signing in with a work account on this domain is not allowed. Try a different account. Signing in with a work account on this domain is not allowed. Try a different account.
</message> </message>
<message name="IDS_DISALLOWED_CONSUMER_EMAIL" desc="">
Signing in with a personal account on this device is not allowed. Please login with a work account.
</message>
<message name="IDS_GAIA_ACCOUNT_FULLNAME" desc=""> <message name="IDS_GAIA_ACCOUNT_FULLNAME" desc="">
Google Credential Provider Helper Google Credential Provider for Windows helper
</message> </message>
<message name="IDS_GAIA_ACCOUNT_COMMENT" desc=""> <message name="IDS_GAIA_ACCOUNT_COMMENT" desc="">
Used to run Google Credential Provider sign in page. Used to run Google Credential Provider sign in page.
...@@ -89,7 +92,7 @@ ...@@ -89,7 +92,7 @@
Sign in using your work account. Sign in using your work account.
</message> </message>
<message name="IDS_REAUTH_FID_DESCRIPTION" desc=""> <message name="IDS_REAUTH_FID_DESCRIPTION" desc="">
Your session has expired. Sign in using your work account. Your session has expired. Sign in using your Google work account.
</message> </message>
<message name="IDS_REAUTH_AD_NO_USER_FID_DESCRIPTION" desc=""> <message name="IDS_REAUTH_AD_NO_USER_FID_DESCRIPTION" desc="">
Sign in using your gsuite work account. Sign in using your gsuite work account.
...@@ -101,13 +104,13 @@ ...@@ -101,13 +104,13 @@
Sign in using your work account Sign in using your work account
</message> </message>
<message name="IDS_USER_ACCOUNT_COMMENT" desc=""> <message name="IDS_USER_ACCOUNT_COMMENT" desc="">
User created from a work account User account created by Google Credential Provider for Windows
</message> </message>
<message name="IDS_NO_NETWORK" desc=""> <message name="IDS_NO_NETWORK" desc="">
Make sure you have a network connection and try again. Make sure you have a network connection and try again.
</message> </message>
<message name="IDS_FAILED_CREATE_LOGON_STUB" desc=""> <message name="IDS_FAILED_CREATE_LOGON_STUB" desc="">
Unable to load Google sign in screen. Please contact your administrator. Unable to load Google sign in screen due to an issue in your Chrome installation. Contact your administrator.
</message> </message>
<message name="IDS_PASSWORD_UPDATE_NEEDED" desc=""> <message name="IDS_PASSWORD_UPDATE_NEEDED" desc="">
Your account password has changed. Please enter your current Windows password in order to sync your Windows account with your work account. Your account password has changed. Please enter your current Windows password in order to sync your Windows account with your work account.
...@@ -116,13 +119,13 @@ ...@@ -116,13 +119,13 @@
A user on this computer was already added using this account. Please sign in with a different account. A user on this computer was already added using this account. Please sign in with a different account.
</message> </message>
<message name="IDS_ACCOUNT_LOCKED" desc=""> <message name="IDS_ACCOUNT_LOCKED" desc="">
Your account has been locked. Please contact a system administrator. Your account has been locked out. Please contact your system administrator.
</message> </message>
<message name="IDS_MDM_ENROLLMENT_FAILED" desc=""> <message name="IDS_MDM_ENROLLMENT_FAILED" desc="">
Unable to enroll this computer for enterprise management. Please sign in with a different work account. Unable to enroll this computer for enterprise management. Please sign in with a different work account.
</message> </message>
<message name="IDS_INVALID_UNLOCK_WORKSTATION_USER" desc=""> <message name="IDS_INVALID_UNLOCK_WORKSTATION_USER" desc="">
Only the user that locked this computer is currently allowed sign in. Only the user that locked this computer is allowed to sign in.
</message> </message>
<message name="IDS_ADD_USER_DISALLOWED" desc=""> <message name="IDS_ADD_USER_DISALLOWED" desc="">
Failed to add a new user. This computer only allows one user to be created using a work account. Failed to add a new user. This computer only allows one user to be created using a work account.
...@@ -140,7 +143,7 @@ ...@@ -140,7 +143,7 @@
Unable to continue without entering the current Windows password. Please contact a system administrator. Unable to continue without entering the current Windows password. Please contact a system administrator.
</message> </message>
<message name="IDS_WINDOWS_PASSWORD_FIELD_LABEL" desc=""> <message name="IDS_WINDOWS_PASSWORD_FIELD_LABEL" desc="">
Windows Password Password
</message> </message>
<message name="IDS_EMPTY_ACCESS_TOKEN" desc=""> <message name="IDS_EMPTY_ACCESS_TOKEN" desc="">
Only Gsuite Enterprise users are allowed to login. Only Gsuite Enterprise users are allowed to login.
......
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