From 01c63626d556bc9103659893af7408509a79764a Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Mon, 10 Mar 2025 20:06:03 +0100 Subject: [PATCH] add i18n method `.addOrUpdate` --- .vscode/i18n-ally-custom-framework.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.vscode/i18n-ally-custom-framework.yml b/.vscode/i18n-ally-custom-framework.yml index 6b72aa620..cc7ca15f4 100644 --- a/.vscode/i18n-ally-custom-framework.yml +++ b/.vscode/i18n-ally-custom-framework.yml @@ -6,6 +6,7 @@ languageIds: - typescriptreact usageMatchRegex: + - "[^\\w\\d]t\\.addOrUpdate\\(['\"`]({key})['\"`]" # matches t.addOrUpdate("{key}" - "[^\\w\\d]t\\.append\\(['\"`]({key})['\"`]" # matches t.append("{key}" - "[^\\w\\d]t\\.html\\(['\"`]({key})['\"`]" # matches t.html("{key}" - "[^\\w\\d]t\\(['\"`]({key})['\"`]" # matches t.html("{key}"