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

custom contextSeparator fix #1008

Merged
merged 1 commit into from
Jun 9, 2024
Merged

Conversation

vseva
Copy link

@vseva vseva commented May 29, 2024

Why am I submitting this PR

Unused keys where words separated with underscore (for example "some_key", "some_key_just_started_like_previous") not removed because _ hardcoded in helpers.js contextRegex and both "some_key" and "some_key_just_started_like_previous" treats like context forms of one key.

Does it fix an existing ticket?

No

Checklist

  • only relevant code is changed (make a diff before you submit the PR)
  • tests are included and pass: yarn test (see details here)

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.40%. Comparing base (7e14d85) to head (168c8d5).
Report is 25 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1008      +/-   ##
==========================================
+ Coverage   95.16%   95.40%   +0.24%     
==========================================
  Files          11       11              
  Lines        1922     1937      +15     
==========================================
+ Hits         1829     1848      +19     
+ Misses         93       89       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vseva
Copy link
Author

vseva commented Jun 9, 2024

@karellm please look at this PR

@karellm karellm merged commit df4f008 into i18next:master Jun 9, 2024
5 checks passed
@karellm
Copy link
Member

karellm commented Jun 9, 2024

Thank you! It is now in 9.0.0

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.

None yet

3 participants