-
Notifications
You must be signed in to change notification settings - Fork 309
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
![image](https://private-user-images.githubusercontent.com/59686212/264994071-fac30e92-905a-440f-b2be-c43d9b77a881.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNzE3NTIsIm5iZiI6MTcyNjE3MTQ1MiwicGF0aCI6Ii81OTY4NjIxMi8yNjQ5OTQwNzEtZmFjMzBlOTItOTA1YS00NDBmLWIyYmUtYzQzZDliNzdhODgxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDIwMDQxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMwNGZmMWY2MjU5Y2FjZGFjYzViNTI1NzhjMjdhOGI3ZGQ1OGJiNzNhNWU0NjBkY2RjMTFjOWMzOTg4MTNlY2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.QMtARgAPVvpzjlfJ736XuwHfoy0ITbZSVbzK6lR2I9k)
The text was updated successfully, but these errors were encountered: