-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix create account title not showing up (and cleanup strings) #484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
samtstern
merged 12 commits into
firebase:version-1.1.0-dev
from
SUPERCILEX:cleanup-strings
Jan 3, 2017
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
b7924ed
Initial refactor
SUPERCILEX 54f3754
Change password error text
SUPERCILEX c4298a1
Bug fix
SUPERCILEX a7c5e52
Fix title not displaying in activity and change to "Sign up"
SUPERCILEX 5d47b1e
Cleanup
SUPERCILEX 65773a1
Cleanup
SUPERCILEX 61ace85
Completely disable mockito version checks
SUPERCILEX 97bc867
And GradleDynamicVersion
SUPERCILEX acab715
Fix gradle stuff
SUPERCILEX 94d6a03
Merge branch 'gradle' into change-title
SUPERCILEX 202cded
Merge remote-tracking branch 'firebase/version-1.1.0-dev' into cleanu…
SUPERCILEX 7f340b4
Cleanup
SUPERCILEX File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,71 @@ | ||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> | ||
<string name="app_name">ui_flow</string> | ||
|
||
<!-- Common --> | ||
<string name="default_toolbar_title">@string/app_name</string> | ||
<string name="title_welcome_back_password_prompt">@string/sign_in_default</string> | ||
<string name="title_welcome_back_idp_prompt">@string/sign_in_default</string> | ||
<string name="title_check_email">@string/sign_in_default</string> | ||
<string name="title_register_email_activity">@string/create_account_title</string> | ||
<string name="title_recover_password_activity">@string/recover_password_title</string> | ||
<string name="title_confirm_recover_password_activity">@string/check_your_email</string> | ||
<string name="progress_dialog_loading">Loading…</string> | ||
<string name="sign_in_default">Sign in</string> | ||
<string name="general_error">An error has occurred.</string> | ||
|
||
<!-- Provider --> | ||
<string name="idp_name_google">Google</string> | ||
<string name="idp_name_facebook">Facebook</string> | ||
<string name="idp_name_twitter">Twitter</string> | ||
|
||
<!-- Auth method picker --> | ||
<string name="sign_in_with_google">Sign in with Google</string> | ||
<string name="sign_in_with_facebook">Sign in with Facebook</string> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I changed this to "Sign up" to be more consistent with our progress dialog. |
||
<string name="sign_in_with_twitter">Sign in with Twitter</string> | ||
<string name="sign_in_with_email">Sign in with email</string> | ||
|
||
<!-- Email common--> | ||
<string name="next_default">Next</string> | ||
<string name="email_hint">Email</string> | ||
<string name="password_hint">Password</string> | ||
<string name="name_hint">First & last name</string> | ||
<string name="password_recovery_body">Get instructions sent to this email that explain how to | ||
reset your password.</string> | ||
<string name="create_account_title">Create account</string> | ||
<string name="required_field">You can\'t leave this empty.</string> | ||
<plurals name="password_length"> | ||
<item quantity="one">Strong passwords have at least %1$d character and a mix of letters | ||
and numbers</item> | ||
<item quantity="other">Strong passwords have at least %1$d characters and a mix of letters | ||
and numbers</item> | ||
</plurals> | ||
<string name="invalid_email_address">That email address isn\'t correct</string> | ||
<string name="missing_email_address">Enter your email address to continue</string> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Got rid of this; using the plural instead. |
||
<string name="error_weak_password">Password not strong enough. Use at least 6 characters and a mix of letters and numbers.</string> | ||
<string name="error_user_collision">An account already exists with that email address.</string> | ||
<string name="button_text_send">Send</string> | ||
<string name="progress_dialog_checking_accounts">Checking for existing accounts…</string> | ||
|
||
<!-- Email sign up --> | ||
<string name="title_register_email">Sign up</string> | ||
<string name="name_hint">First & last name</string> | ||
<string name="button_text_save">Save</string> | ||
<string name="confirm_recovery_body">Follow the instructions sent to %1$s to recover your | ||
password.</string> | ||
<string name="error_email_does_not_exist">That email address doesn\'t match an existing account</string> | ||
<string name="welcome_back">Welcome back!</string> | ||
<string name="trouble_signing_in">Trouble signing in?</string> | ||
<string name="next_default">Next</string> | ||
<string name="sign_in_default">Sign in</string> | ||
<string name="sign_in_with_google">Sign in with Google</string> | ||
<string name="sign_in_with_facebook">Sign in with Facebook</string> | ||
<string name="check_your_email">Check your email</string> | ||
<string name="recover_password_title">Recover password</string> | ||
<string name="progress_dialog_signing_up">Signing up…</string> | ||
<plurals name="error_weak_password"> | ||
<item quantity="one">Password not strong enough. Use at least %1$d character and a mix of letters and numbers</item> | ||
<item quantity="other">Password not strong enough. Use at least %1$d characters and a mix of letters and numbers</item> | ||
</plurals> | ||
<string name="email_account_creation_error">Email account registration unsuccessful</string> | ||
<string name="error_user_collision">An account already exists with that email address.</string> | ||
<string name="create_account_preamble">"By tapping SAVE you are indicating that you agree to the "</string> | ||
<string name="terms_of_service">Terms of Service</string> | ||
|
||
<!-- Idp/Email welcome back --> | ||
<string name="title_welcome_back_idp_prompt">@string/sign_in_default</string> | ||
<string name="title_welcome_back_password_prompt">@string/sign_in_default</string> | ||
<string name="welcome_back_idp_header">You already have an account</string> | ||
<string name="welcome_back_email_header">Welcome back!</string> | ||
<string name="welcome_back_idp_prompt"> | ||
You\'ve already used <xliff:g id="email_addr" example="[email protected]">%1$s</xliff:g>. | ||
Sign in with <xliff:g id="provider_name" example="Google">%2$s</xliff:g> to continue. | ||
</string> | ||
<string name="welcome_back_password_prompt_body">You\'ve already used | ||
<xliff:g id="email_addr" example="[email protected]">%1$s</xliff:g> to sign in. Enter | ||
your password for that account.</string> | ||
<string name="idp_name_google">Google</string> | ||
<string name="idp_name_facebook">Facebook</string> | ||
<string name="idp_name_twitter">Twitter</string> | ||
<string name="create_account_preamble">"By tapping SAVE you are indicating that you agree to the "</string> | ||
<string name="terms_of_service">Terms of Service</string> | ||
<string name="sign_in_with_email">Sign in with email</string> | ||
<string name="sign_in_with_twitter">Sign in with Twitter</string> | ||
<string name="email_account_creation_error">Email account registration unsuccessful</string> | ||
<string name="general_error">An error has occurred.</string> | ||
|
||
<string name="welcome_back_password_prompt_body"> | ||
You\'ve already used <xliff:g id="email_addr" example="[email protected]">%1$s</xliff:g> | ||
to sign in. Enter your password for that account. | ||
</string> | ||
<string name="progress_dialog_signing_in">Signing in…</string> | ||
<string name="trouble_signing_in">Trouble signing in?</string> | ||
|
||
<string name="progress_dialog_loading">Loading…</string> | ||
<!-- Password recovery --> | ||
<string name="title_recover_password_activity">Recover password</string> | ||
<string name="title_confirm_recover_password">Check your email</string> | ||
<string name="password_recovery_body">Get instructions sent to this email that explain how to | ||
reset your password.</string> | ||
<string name="button_text_send">Send</string> | ||
<string name="confirm_recovery_body">Follow the instructions sent to %1$s to recover your password.</string> | ||
<string name="progress_dialog_sending">Sending…</string> | ||
<string name="progress_dialog_signing_in">Signing in…</string> | ||
<string name="progress_dialog_signing_up">Signing up…</string> | ||
<string name="progress_dialog_checking_accounts">Checking for existing accounts…</string> | ||
<string name="error_email_does_not_exist">That email address doesn\'t match an existing account</string> | ||
|
||
<!-- accessibility --> | ||
<string name="accessibility_logo">App logo</string> | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While these
title_
strings are not part of the public API, I know there are some devs that do override them. We seem to have changedtitle_confirm_recover_password_activity
totitle_confirm_recover_password
here, can we undo that just to keep the resource name as long as we can? Or is there a reason for the change?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant to change it to
title_confirm_recover_password_dialog
because it's used in the dialog:@samtstern Would you like me to change it back to
title_confirm_recover_password_activity
or totitle_confirm_recover_password_dialog
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah if was never used as an Activity title it's fine as-is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was an activity in the dark ages before #357 (comment). I just never changed the string name...