feat: ⬆️ Update Inlang JS to v2

This commit is contained in:
Jesse Wierzbinski 2025-02-14 14:08:21 +01:00
parent 826f3c89b7
commit f41908a3a7
No known key found for this signature in database
11 changed files with 136 additions and 139 deletions

View file

@ -1,7 +1,7 @@
{
"$schema": "https://inlang.com/schema/project-settings",
"sourceLanguageTag": "en",
"languageTags": ["en", "fr", "en-rot", "en-pt"],
"baseLocale": "en",
"locales": ["en", "fr", "en-pt"],
"modules": [
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js",
@ -10,6 +10,6 @@
"https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@latest/dist/index.js"
],
"plugin.inlang.messageFormat": {
"pathPattern": "./messages/{languageTag}.json"
"pathPattern": "./messages/{locale}.json"
}
}