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})['\"`]"
|
2024-06-08 17:20:12 +00:00
|
|
|
- "<Translate ?.* i18nKey=\\{?['\"`]({key})['\"`]"
|
|
|
|
|
|
|
|
refactorTemplates:
|
2024-06-11 22:12:13 +00:00
|
|
|
- "t(\"$1\")"
|
|
|
|
- "{t(\"$1\")}"
|
2024-06-08 17:20:12 +00:00
|
|
|
- "<Translate i18nKey=\"$1\" />"
|
2024-06-01 10:48:57 +00:00
|
|
|
|
|
|
|
monopoly: true
|