From cc71fe1b94f0ec534d6820f380404bb4efb785de Mon Sep 17 00:00:00 2001 From: Natsumi Date: Mon, 26 Dec 2022 08:39:12 +1300 Subject: [PATCH] Include i18n-ally config --- .gitignore | 5 +---- .vscode/i18n-ally-custom-framework.yml | 8 ++++++++ .vscode/settings.json | 4 ++++ 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .vscode/i18n-ally-custom-framework.yml create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index b622b5cb..3c4efe20 100644 --- a/.gitignore +++ b/.gitignore @@ -258,7 +258,4 @@ paket-files/ # Python Tools for Visual Studio (PTVS) __pycache__/ -*.pyc - -# Visual Studio Code config directory -.vscode/ \ No newline at end of file +*.pyc \ No newline at end of file diff --git a/.vscode/i18n-ally-custom-framework.yml b/.vscode/i18n-ally-custom-framework.yml new file mode 100644 index 00000000..2690f6a2 --- /dev/null +++ b/.vscode/i18n-ally-custom-framework.yml @@ -0,0 +1,8 @@ +languageIds: + - jade + - javascript + - vue + +usageMatchRegex: "\\$t\\(['\"`]({key})['\"`]" + +monoonly: true \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..b5e9ee51 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "i18n-ally.localesPaths": ["html/src/localization/strings"], + "i18n-ally.keystyle": "nested" +}