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

Make pull_l10n more lenient to localizer problems #6124

Merged
merged 4 commits into from
Jul 21, 2020
Merged

Conversation

bbondy
Copy link
Member

@bbondy bbondy commented Jul 20, 2020

Resolves brave/brave-browser#10820

Submitter Checklist:

Test Plan:

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

After-merge Checklist:

  • The associated issue milestone is set to the smallest version that the
    changes has landed on.
  • All relevant documentation has been updated.

@bbondy bbondy added this to the 1.13.x - Nightly milestone Jul 20, 2020
@bbondy bbondy requested a review from mkarolin July 20, 2020 17:20
@bbondy bbondy self-assigned this Jul 20, 2020
val = (val.replace('<', '<')
.replace('>', '>')
.replace('&&', '&'))
# TODO(bbondy) we should also do fixups for ph tags here that localizers often mess up
.replace('&', '&'))
Copy link
Member Author

Choose a reason for hiding this comment

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

calling out this is a separate fix from the rest.

Copy link
Collaborator

@mkarolin mkarolin left a comment

Choose a reason for hiding this comment

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

++

@bbondy bbondy merged commit 9acb3bb into master Jul 21, 2020
@bbondy bbondy deleted the transifex-lenient branch July 21, 2020 18:01
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.

Make pull_l10n more lenient to localizer problems from Transifex
2 participants