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

17 lines
316 B
YAML
Raw Normal View History

2024-06-01 10:48:57 +00:00
languageIds:
- javascript
- typescript
- javascriptreact
- typescriptreact
usageMatchRegex:
2024-07-01 12:13:16 +00:00
- "[^\\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