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

custom regex hard coded not recognized in vue template dynamic value #1125

Open
mostafabadrrunprof opened this issue Apr 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mostafabadrrunprof
Copy link

Describe the bug

when i use the custom useT in the template or script setup or as a text prop its works fine , but when i use it as dynamic prop i got the harder coded warning
image

Extension Version

i18n Ally
v2.12.0
Framework/i18n package you are using

nuxt-i18n -> vue-i18n
To Reproduce
Steps to reproduce the behavior:

  1. add custom function in I18n-ally › Regex: Usage Match Append -> useT(\s*[?\s*[''"](.*?)[''"]
  2. add component with dynamic prop with the useT()
  3. hard coded text warning

Device Infomation

  • OS:windows
  • Version:11
  • VS Code Version:

Extension Log
Go to View -> Output -> i18n Ally, and paste the content below. You should mask any sensitive information


Screenshots

image
image

@mostafabadrrunprof mostafabadrrunprof added the bug Something isn't working label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant