Files
iD/.vscode/i18n-ally-custom-framework.yml
2025-03-10 20:06:29 +01:00

19 lines
520 B
YAML

# see https://github.com/antfu/i18n-ally/wiki/Custom-Framework
languageIds:
- javascript
- typescript
- javascriptreact
- typescriptreact
usageMatchRegex:
- "[^\\w\\d]t\\.addOrUpdate\\(['\"`]({key})['\"`]" # matches t.addOrUpdate("{key}"
- "[^\\w\\d]t\\.append\\(['\"`]({key})['\"`]" # matches t.append("{key}"
- "[^\\w\\d]t\\.html\\(['\"`]({key})['\"`]" # matches t.html("{key}"
- "[^\\w\\d]t\\(['\"`]({key})['\"`]" # matches t.html("{key}"
scopeRangeRegex: "(en)"
refactorTemplates:
monopoly: true