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

Translations with spaces fail #23

Open
miafoo opened this issue Aug 8, 2019 · 1 comment
Open

Translations with spaces fail #23

miafoo opened this issue Aug 8, 2019 · 1 comment
Labels

Comments

@miafoo
Copy link
Member

miafoo commented Aug 8, 2019

For example t('Test ') (fails) and t('Test') (works).

@miafoo miafoo added the bug label Aug 8, 2019
@miafoo
Copy link
Member Author

miafoo commented Aug 8, 2019

Not completely sure if this is a bug or if it's bad practice to put spaces before and after translations.

If it's the latter we could possibly fix it with an eslint rule (#24) or throw errors if it's not a production build.

@miafoo miafoo mentioned this issue Aug 8, 2019
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant