You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I have many forms in my application. Some of them have email field. Now if I want to specify a default message and custom key I need to use <Trans id="auth.email">Email</Trans> every time.
If i use <Trans id="auth.email">Email</Trans>, I can't use <Trans id="auth.email" /> anymore because extract command will throw error:
Error: Encountered different defaults for message auth.email
src/components/auth/ForgottenPasswordForm.js:27 undefined
src/components/auth/LogInForm.js:36 Email
(...)
Describe the solution you'd like
I'd like that once default not-undefined value is specified, it overrides all undefined ones. This will simplify translations and minimize code repetition.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I have many forms in my application. Some of them have email field. Now if I want to specify a default message and custom key I need to use
<Trans id="auth.email">Email</Trans>
every time.If i use
<Trans id="auth.email">Email</Trans>
, I can't use<Trans id="auth.email" />
anymore because extract command will throw error:Describe the solution you'd like
I'd like that once default not-undefined value is specified, it overrides all
undefined
ones. This will simplify translations and minimize code repetition.The text was updated successfully, but these errors were encountered: