voice-over-translation/.vscode/i18n-ally-custom-framework.yml

17 lines
No EOL
551 B
YAML

languageIds:
- javascript
- typescript
- javascriptreact
- typescriptreact
usageMatchRegex:
# The following example shows how to detect `t("your.i18n.keys")`
# 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]localizationProvider.get\\(['\"`]({key})['\"`]"
- "[^\\w\\d]localizationProvider.getDefault\\(['\"`]({key})['\"`]"
- "[^\\w\\d]t\\(['\"`]({key})['\"`]"
monopoly: true
localesPaths:
- "src/localization/locales/*.json"