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

Locale with key with hyphen doesn't show preview in SFC #60

Closed
guyaumetremblay opened this issue Jul 18, 2019 · 2 comments
Closed

Locale with key with hyphen doesn't show preview in SFC #60

guyaumetremblay opened this issue Jul 18, 2019 · 2 comments
Labels
0.x vue-i18n-ally

Comments

@guyaumetremblay
Copy link

Hi,

We have keys with hyphen, like : message.the-title.
But the preview doesn't show in the single file component.
It display well in the tree view of the plugin.
No problem with the others keys.

FYI : Our locals files are in json5 and the plugin is in readonly.

@antfu
Copy link
Contributor

antfu commented Jul 18, 2019

This is a uncovered use case in the detection regex. It will be fixed in the next release. Thanks.

@antfu antfu closed this as completed in 6f8d99b Jul 19, 2019
@antfu
Copy link
Contributor

antfu commented Jul 19, 2019

Fixed in v0.27.1

@antfu antfu added the 0.x vue-i18n-ally label Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.x vue-i18n-ally
Development

No branches or pull requests

2 participants