i18next / i18next-parser

Parse your code to extract translation keys/values and manage your catalog files
MIT License
486 stars 198 forks source link

Support custom namespaced functions and components #913

Closed taneliang closed 1 year ago

taneliang commented 1 year ago

Why am I submitting this PR

To support matching namespaced functions and components like Strings.get and <Strings.Text>.

Does it fix an existing ticket?

Yes https://github.com/i18next/i18next-parser/issues/912

Checklist

codecov-commenter commented 1 year ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Files Coverage Δ
src/lexers/javascript-lexer.js 95.81% <100.00%> (+0.29%) :arrow_up:
src/lexers/jsx-lexer.js 98.55% <100.00%> (+0.01%) :arrow_up:

:loudspeaker: Thoughts on this report? Let us know!.

karellm commented 1 year ago

Thanks, this is in 8.8.0