chore(vscode): support <Trans> syntax for i18n-ally

This commit is contained in:
Elian Doran 2025-10-13 19:01:12 +03:00
parent b9e1b46884
commit d20ebd6b2d
No known key found for this signature in database

View File

@ -14,6 +14,7 @@ usageMatchRegex:
# the `{key}` will be placed by a proper keypath matching regex,
# you can ignore it and use your own matching rules as well
- "[^\\w\\d]t\\(['\"`]({key})['\"`]"
- <Trans\s*i18nKey=\"(.*)\"
# A RegEx to set a custom scope range. This scope will be used as a prefix when detecting keys
# and works like how the i18next framework identifies the namespace scope from the