Skip to content

Commit

Permalink
do not force all caps using styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
lbalmaceda committed Apr 6, 2017
1 parent f5fc731 commit ae6e97c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 24 deletions.
1 change: 0 additions & 1 deletion lib/src/main/res/values-v16/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
@dimen/com_auth0_lock_widget_with_text_horizontal_padding
</item>
<item name="android:singleLine">true</item>
<item name="android:textAllCaps">true</item>
<item name="android:textSize">@dimen/com_auth0_lock_social_button_text</item>
<item name="android:textColor">@color/com_auth0_lock_social_text</item>
</style>
Expand Down
38 changes: 19 additions & 19 deletions lib/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,19 @@
<string name="com_auth0_lock_hint_mfa_code">Verification Code</string>
<string name="com_auth0_lock_hint_phone_number">Phone Number</string>
<string name="com_auth0_lock_hint_search_country">Search your country</string>
<string name="com_auth0_lock_action_sign_up">Sign Up</string>
<string name="com_auth0_lock_action_log_in">Log In</string>
<string name="com_auth0_lock_action_sign_up">SIGN UP</string>
<string name="com_auth0_lock_action_log_in">LOG IN</string>
<string name="com_auth0_lock_mode_sign_up">Sign Up</string>
<string name="com_auth0_lock_mode_log_in">Log In</string>
<string name="com_auth0_lock_action_send_email">Send Email</string>
<string name="com_auth0_lock_action_send_email">SEND EMAIL</string>
<string name="com_auth0_lock_action_forgot_password">Don\'t remember your password?</string>
<string name="com_auth0_lock_action_single_login_with_corporate">Login with your corporate credentials.</string>
<string name="com_auth0_lock_action_login_with_corporate">Please enter your corporate credentials at %s</string>
<string name="com_auth0_lock_action_retry">Retry</string>
<string name="com_auth0_lock_action_accept">Accept</string>
<string name="com_auth0_lock_action_cancel">Cancel</string>
<string name="com_auth0_lock_action_ok">OK</string>
<string name="com_auth0_lock_single_sign_on_enabled">Single Sign On Enabled</string>
<string name="com_auth0_lock_single_sign_on_enabled">SINGLE SIGN ON ENABLED</string>
<string name="com_auth0_lock_forms_separator">OR</string>
<string name="com_auth0_lock_passwordless_sms_forms_separator">Otherwise, enter your phone to sign in or create an account</string>
<string name="com_auth0_lock_passwordless_email_forms_separator">Otherwise, enter your email to sign in or create an account</string>
Expand All @@ -122,21 +122,21 @@
<!-- Custom Error Messages -->
<string name="com_auth0_lock_missing_connections_message">There isn\'t any connection configured for this Application. Check your dashboard configuration on http://auth0.com</string>
<string name="com_auth0_lock_configuration_retrieving_error">Error retrieving the Dashboard configuration</string>
<string name="com_auth0_lock_enterprise_no_connection_message">There was no connection configured for the domain</string>
<string name="com_auth0_lock_db_login_error_message">There was an error processing the sign in</string>
<string name="com_auth0_lock_db_login_error_invalid_credentials_message">Wrong email or password</string>
<string name="com_auth0_lock_db_login_error_unauthorized_message">User is blocked</string>
<string name="com_auth0_lock_db_sign_up_error_message">There was an error processing the sign up</string>
<string name="com_auth0_lock_db_change_password_message_success">We\'ve just sent you an email to reset your password</string>
<string name="com_auth0_lock_db_message_change_password_error">Couldn\'t reset your password.</string>
<string name="com_auth0_lock_db_signup_user_already_exists_error_message">The user already exists</string>
<string name="com_auth0_lock_db_signup_password_already_used_error_message">The password was used previously</string>
<string name="com_auth0_lock_db_signup_password_not_strong_error_message">The password is not strong enough</string>
<string name="com_auth0_lock_db_too_many_attempts_error_message">Your account has been blocked after multiple consecutive login attempts.</string>
<string name="com_auth0_lock_passwordless_code_request_error_message">There was an error sending the code</string>
<string name="com_auth0_lock_passwordless_link_request_error_message">There was an error sending the link</string>
<string name="com_auth0_lock_passwordless_login_error_invalid_credentials_message">Wrong identity or passcode</string>
<string name="com_auth0_lock_db_login_error_invalid_mfa_code_message">The code is invalid or has expired</string>
<string name="com_auth0_lock_enterprise_no_connection_message">THERE WAS NO CONNECTION CONFIGURED FOR THE DOMAIN</string>
<string name="com_auth0_lock_db_login_error_message">THERE WAS AN ERROR PROCESSING THE SIGN IN</string>
<string name="com_auth0_lock_db_login_error_invalid_credentials_message">WRONG EMAIL OR PASSWORD</string>
<string name="com_auth0_lock_db_login_error_unauthorized_message">USER IS BLOCKED</string>
<string name="com_auth0_lock_db_sign_up_error_message">THERE WAS AN ERROR PROCESSING THE SIGN UP</string>
<string name="com_auth0_lock_db_change_password_message_success">WE\'VE JUST SENT YOU AN EMAIL TO RESET YOUR PASSWORD</string>
<string name="com_auth0_lock_db_message_change_password_error">COULDNT\'t RESET YOUR PASSWORD</string>
<string name="com_auth0_lock_db_signup_user_already_exists_error_message">THE USER ALREADY EXISTS</string>
<string name="com_auth0_lock_db_signup_password_already_used_error_message">THE PASSWORD WAS USED PREVIOUSLY</string>
<string name="com_auth0_lock_db_signup_password_not_strong_error_message">THE PASSWORD IS NOT STRONG ENOUGH</string>
<string name="com_auth0_lock_db_too_many_attempts_error_message">YOUR ACCOUNT HAS BEEN BLOCKED AFTER MULTIPLE CONSECUTIVE LOGIN ATTEMPTS</string>
<string name="com_auth0_lock_passwordless_code_request_error_message">THERE WAS AN ERROR SENDING THE CODE</string>
<string name="com_auth0_lock_passwordless_link_request_error_message">THERE WAS AN ERROR SENDING THE LINK</string>
<string name="com_auth0_lock_passwordless_login_error_invalid_credentials_message">WRONG IDENTITY OR PASSCODE</string>
<string name="com_auth0_lock_db_login_error_invalid_mfa_code_message">THE CODE IS INVALID OR HAS EXPIRED</string>
<string name="com_auth0_lock_title_mfa_input_code">Two Step Verification</string>
<string name="com_auth0_lock_description_mfa_input_code">Please enter a verification code from\n your code generator application.</string>

Expand Down
4 changes: 0 additions & 4 deletions lib/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
<item name="android:layout_marginLeft">
@dimen/com_auth0_lock_widget_horizontal_margin_small
</item>
<item name="android:textAllCaps">true</item>
<item name="android:textColor">@color/com_auth0_lock_sso_text</item>
<item name="android:textSize">@dimen/com_auth0_lock_sso_text</item>
</style>
Expand Down Expand Up @@ -139,7 +138,6 @@
@dimen/com_auth0_lock_widget_with_text_horizontal_padding
</item>
<item name="android:singleLine">true</item>
<item name="android:textAllCaps">true</item>
<item name="android:textSize">@dimen/com_auth0_lock_social_button_text</item>
<item name="android:textColor">@color/com_auth0_lock_social_text</item>
</style>
Expand All @@ -149,7 +147,6 @@
<item name="android:layout_alignParentTop">true</item>
<item name="android:maxLines">2</item>
<item name="android:singleLine">false</item>
<item name="android:textAllCaps">true</item>
<item name="android:lineSpacingExtra">@dimen/com_auth0_lock_result_message_text_spacing
</item>
<item name="android:textStyle">bold</item>
Expand Down Expand Up @@ -255,7 +252,6 @@
<item name="android:paddingRight">@dimen/com_auth0_lock_widget_small_margin
</item>
<item name="android:singleLine">true</item>
<item name="android:textAllCaps">true</item>
<item name="android:textSize">@dimen/com_auth0_lock_labeled_submit_button_text</item>
<item name="android:textColor">@color/com_auth0_lock_social_text</item>
</style>
Expand Down

0 comments on commit ae6e97c

Please sign in to comment.