chore: add VSCode i18n ally settings

This commit is contained in:
EETagent 2023-01-20 13:12:56 +01:00
parent 58b2a797b4
commit c0126bd740
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,18 @@
languageIds:
- typescript
- javascript
- typescriptreact
- javascriptreact
- svelte
- html
usageMatchRegex:
- "\\$?LL\\.({key})\\(((\\{.*\\})|([^)]*))\\)"
refactorTemplates:
- '{$LL.$1()}'
- '{LL.$1()}'
- '$LL.$1()'
- 'LL.$1()'
monopoly: true

6
frontend/.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,6 @@
{
"i18n-ally.pathMatcher": "{locale}/index.{ext}",
"i18n-ally.enabledParsers": ["ts", "js"],
"i18n-ally.keystyle": "nested",
"i18n-ally.localesPaths": ["src/translations"]
}