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

Allow nested t-calls to be extracted #156

Open
bmestanov opened this issue Apr 20, 2020 · 0 comments
Open

Allow nested t-calls to be extracted #156

bmestanov opened this issue Apr 20, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@bmestanov
Copy link

bmestanov commented Apr 20, 2020

Is your feature request related to a problem? Please describe.

A project that I'm working on has the policy of avoiding props spreading. I couldn't extract keys using this.props.t('somekey') with the current configuration.

Describe the solution you'd like

Allow tFunctionNames to be ['t', 'props.t', 'this.props.t']

Describe alternatives you've considered

Adding a custom i18n name props works for props.t but again this.props.t is not possible.

Additional context

@gilbsgilbs gilbsgilbs added the enhancement New feature or request label Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants