Vencord/.vscode/i18n-ally-custom-framework.yml

17 lines
318 B
YAML
Raw Normal View History

2024-06-01 10:48:57 +00:00
languageIds:
- javascript
- typescript
- javascriptreact
- typescriptreact
usageMatchRegex:
- "[^\\w\\d]\\t\\(['\"`]({key})['\"`]"
- "<Translate ?.* i18nKey=\\{?['\"`]({key})['\"`]"
refactorTemplates:
- "t(\"$1\")"
- "{t(\"$1\")}"
- "<Translate i18nKey=\"$1\" />"
2024-06-01 10:48:57 +00:00
monopoly: true