-
Notifications
You must be signed in to change notification settings - Fork 346
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
Token detection broken in 2.11.* #1003
Comments
same issue here #1006 |
reverting to 2.10.0 for now. Seems like #1001 introduced a new bug while trying to fix it 🙃 |
Been there... :) |
I found the issue. That's strange that doc is so far away from it's place According to https://github.com/lokalise/i18n-ally/wiki/Custom-Framework
I just need to make rest of the groups non-capturing: all except |
Thanks to @multipliedtwice who left a comment in #1001. If someone would ping me earlier, it would have resolved faster. |
According to https://github.com/lokalise/i18n-ally/wiki/Custom-Framework `({key})` in regex should be first capturing group.
Published fix in v2.12.0 |
Describe the bug
I've been using the plugin for quite some time now and this week I noticed it wouldn't correctly recognise the tokens in the source code (virtually rendering the plugin unusable). Downgrading to 2.10.0 solved the problem. I tried to see if there is maybe a config that has changed that needs adjustment, but couldn't find anything. Also tried changing the import from
_
tot
to no avail.Extension Version
Both 2.11.0 and 2.11.1
Framework/i18n package you are using
svelte-i18n
Device Infomation
Screenshots

The text was updated successfully, but these errors were encountered: