-
Notifications
You must be signed in to change notification settings - Fork 527
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
Fix #3384 : Arrange strings file #5236
Conversation
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.
Thanks @MohitGupta121! I took a first pass to verify the general patterns that we had agreed on. There are some small changes needed.
Additionally, can we move GeneralStrings and SharedStrings sections to the bottom of the strings files, so that the screen based sections come first?
Lastly, please update the PR description as discussed.
Deleting this PR because of unnecessary commit history. |
Explanation
Fix #3384 : Arrange strings file as per below criteria:
Screen/Toolbar Titles
Used in manifest label, toolbar title and activity label test.
Pattern:
activity_name_activity_title
Example:
administrator_controls_activty_title
App Content Strings
Pattern:
activity_name_view_component_type
administrator_controls_activity_profile_management_label
administrator_controls_activity_account_actions_label
administrator_controls_activity_logout_item_text
administrator_controls_activity_app_version_item
Shared Strings
Pattern:
view_component_description
reading_text_size_item_text_small
reading_text_size_item_medium
Test Strings
Pattern:
test_file_name_view_component_type
Dialogs
Pattern:
dialog_name_view_component_type
Grouping Pattern:
<!-- AdministratorControlActivity -->
….
….
<!-- GeneralAvailabilityUpgradeNoticeDialogFragment -->
…..
<!-- ProgressDatabaseFullDialog -->
Essential Checklist
For UI-specific PRs only
If your PR includes UI-related changes, then: