Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(vscode): support <Trans> syntax for i18n-ally
Elian Dorand20ebd6b2d9c
diff --git a/.vscode/i18n-ally-custom-framework.yml b/.vscode/i18n-ally-custom-framework.ymlindex 43c0ddff57..b108e6e688 100644--- a/.vscode/i18n-ally-custom-framework.yml+++ b/.vscode/i18n-ally-custom-framework.yml@@ -14,6 +14,7 @@ usageMatchRegex:# the `{key}` will be placed by a proper keypath matching regex,# you can ignore it and use your own matching rules as well- "[^\\w\\d]t\\(['\"`]({key})['\"`]"+ - <Trans\s*i18nKey=\"(.*)\"# A RegEx to set a custom scope range. This scope will be used as a prefix when detecting keys# and works like how the i18next framework identifies the namespace scope from the