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

fix: count keys for each namespace instead of global #546

Merged

Conversation

Laityned
Copy link

@Laityned Laityned commented Apr 2, 2022

Why am I submitting this PR

When using the verbose option, keys are counted globally while presented as if it is per file. This merge request make sure that statistics are given for each namespace

Does it fix an existing ticket?

Yes,
As a side effect of the incorrect count for the number of unique/plural keys the fail-on-update bug as described in #489 is not working correctly. This should now be fixed too.

Checklist

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

@karellm
Copy link
Member

karellm commented Apr 3, 2022

Thanks for the PR, I've merged it but it introduces new bugs since now duplicates are not taken into account. I will fix that and deploy a new version soon.

@karellm
Copy link
Member

karellm commented Apr 3, 2022

This is fixed in 6.2.0. Please not that unique count now includes plurals since it makes more sense with the new plural form.

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

2 participants