Skip to content
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

Fixed sentence casing on Always Show Full URLs in brave://settings/appearance #9461

Merged
merged 1 commit into from
Sep 2, 2021

Conversation

deepxcode
Copy link
Contributor

@deepxcode deepxcode commented Jul 16, 2021

Fixes issue #16939
Changed "Always Show Full URLs" to "Always show full URLs"

Resolves #16939

Submitter Checklist:

  • I confirm that no security/privacy review is needed, or that I have requested one
  • There is a ticket for my issue
  • Used Github auto-closing keywords in the PR description above
  • Wrote a good PR/commit description
  • Added appropriate labels (QA/Yes or QA/No; release-notes/include or release-notes/exclude; OS/...) to the associated issue
  • Checked the PR locally: npm run test -- brave_browser_tests, npm run test -- brave_unit_tests, npm run lint, npm run gn_check, npm run tslint
  • Ran git rebase master (if needed)

Reviewer Checklist:

  • A security review is not needed, or a link to one is included in the PR description
  • New files have MPL-2.0 license header
  • Adequate test coverage exists to prevent regressions
  • Major classes, functions and non-trivial code blocks are well-commented
  • Changes in component dependencies are properly reflected in gn
  • Code follows the style guide
  • Test plan is specified in PR before merging

After-merge Checklist:

Test Plan:

@deepxcode
Copy link
Contributor Author

@petemill and @stephendonner Can you review this PR?

Copy link

@swarup4741 swarup4741 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deepxcode here we have a expr="not use_titlecase" for which we have the desired text casing and for expr="use_titlecase"... i think we must have capitalized format.. otherwise both are becoming the same essentially....

<if expr="use_titlecase">
<message name="IDS_CONTEXT_MENU_SHOW_FULL_URLS" desc="In Title Case: The text label of the omnibox context menu option to show full URLs">
Always Show Full URLs
</message>
</if>
<if expr="not use_titlecase">
<message name="IDS_CONTEXT_MENU_SHOW_FULL_URLS" desc="The text label of the omnibox context menu option to show full URLs">
Always show full URLs
</message>
</if>

correct me if i'm wrong ....

@deepxcode
Copy link
Contributor Author

@deepxcode here we have a expr="not use_titlecase" for which we have the desired text casing and for expr="use_titlecase"... i think we must have capitalized format.. otherwise both are becoming the same essentially....

<if expr="use_titlecase">
<message name="IDS_CONTEXT_MENU_SHOW_FULL_URLS" desc="In Title Case: The text label of the omnibox context menu option to show full URLs">
Always Show Full URLs
</message>
</if>
<if expr="not use_titlecase">
<message name="IDS_CONTEXT_MENU_SHOW_FULL_URLS" desc="The text label of the omnibox context menu option to show full URLs">
Always show full URLs
</message>
</if>

correct me if i'm wrong ....

Yes, @swarup4741, You were right, made the requested changes

@swarup4741
Copy link

@deepxcode here we have a expr="not use_titlecase" for which we have the desired text casing and for expr="use_titlecase"... i think we must have capitalized format.. otherwise both are becoming the same essentially....

<if expr="use_titlecase">
<message name="IDS_CONTEXT_MENU_SHOW_FULL_URLS" desc="In Title Case: The text label of the omnibox context menu option to show full URLs">
Always Show Full URLs
</message>
</if>
<if expr="not use_titlecase">
<message name="IDS_CONTEXT_MENU_SHOW_FULL_URLS" desc="The text label of the omnibox context menu option to show full URLs">
Always show full URLs
</message>
</if>

correct me if i'm wrong ....

Yes, @swarup4741, You were right, made the requested changes

Then i think we don't require lines 5231 to 5235

Copy link

@swarup4741 swarup4741 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we have expr="not use_titlecase" then i think in desc we don't need "In Title Case"
The rest looks ok to me

Copy link

@swarup4741 swarup4741 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good 💪🏼 ... Now just squash all the commits into one

Copy link

@swarup4741 swarup4741 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine with the changes

Copy link
Member

@bsclifton bsclifton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@bsclifton
Copy link
Member

@deepxcode can you please give this a rebase? Sorry that it took a while to review

@deepxcode
Copy link
Contributor Author

@bsclifton I won't be able to give a rebase to it, ran out of storage space while installing brave's repo😅

@bsclifton
Copy link
Member

@deepxcode ok no worries; I got you

@deepxcode
Copy link
Contributor Author

Thanks, @bsclifton !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix sentence casing on Always Show Full URLs in brave://settings/appearance
3 participants