mirror of
https://github.com/ilyhalight/voice-over-translation.git
synced 2026-10-14 20:12:11 +00:00
17 lines
No EOL
551 B
YAML
17 lines
No EOL
551 B
YAML
languageIds:
|
|
- javascript
|
|
- typescript
|
|
- javascriptreact
|
|
- typescriptreact
|
|
|
|
usageMatchRegex:
|
|
# The following example shows how to detect `t("your.i18n.keys")`
|
|
# 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]localizationProvider.get\\(['\"`]({key})['\"`]"
|
|
- "[^\\w\\d]localizationProvider.getDefault\\(['\"`]({key})['\"`]"
|
|
- "[^\\w\\d]t\\(['\"`]({key})['\"`]"
|
|
|
|
monopoly: true
|
|
localesPaths:
|
|
- "src/localization/locales/*.json" |