diff --git a/frontend/.vscode/i18n-ally-custom-framework.yml b/frontend/.vscode/i18n-ally-custom-framework.yml new file mode 100644 index 0000000..c17d03b --- /dev/null +++ b/frontend/.vscode/i18n-ally-custom-framework.yml @@ -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 diff --git a/frontend/.vscode/settings.json b/frontend/.vscode/settings.json new file mode 100644 index 0000000..c7be7fc --- /dev/null +++ b/frontend/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "i18n-ally.pathMatcher": "{locale}/index.{ext}", + "i18n-ally.enabledParsers": ["ts", "js"], + "i18n-ally.keystyle": "nested", + "i18n-ally.localesPaths": ["src/translations"] +}