add i18n method .addOrUpdate

This commit is contained in:
Martin Raifer
2025-03-10 20:06:03 +01:00
parent beaab3ecf4
commit 01c63626d5

View File

@@ -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}"