diff --git a/frontend/package.json b/frontend/package.json index 3ca8ce7c0..678abca91 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -21,6 +21,7 @@ }, "devDependencies": { "@inlang/paraglide-js": "1.11.2", + "@inlang/plugin-message-format": "2.0.0", "@playwright/test": "^1.49.1", "@skeletonlabs/skeleton": "^2.10.3", "@skeletonlabs/tw-plugin": "^0.4.0", diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 0b37da127..bd4620c1a 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -54,6 +54,9 @@ importers: '@inlang/paraglide-js': specifier: 1.11.2 version: 1.11.2(babel-plugin-macros@3.1.0) + '@inlang/plugin-message-format': + specifier: 2.0.0 + version: 2.0.0 '@playwright/test': specifier: ^1.49.1 version: 1.49.1 @@ -732,6 +735,9 @@ packages: '@inlang/paraglide-vite@1.2.74': resolution: {integrity: sha512-SRHwD7vGO89NEzY2g+TsZWHo8EKoWrVppl/WePKzviRytUggOWZjW+Fxog2suOxC7Gm/C9X9r+7srzvrYasm7w==} + '@inlang/plugin-message-format@2.0.0': + resolution: {integrity: sha512-w1lY5687C5oyEIeQzNqBJMRd4bqiY2sD4IsaibjlBiD0G2BxLuWVviaYJNob8ObWz3P/gWgGQffqcv/dGkdKbg==} + '@inlang/plugin@2.4.14': resolution: {integrity: sha512-HFI1t1tKs6jXqwKVl59vvt7kvMgg2Po7xA3IFijfJTZCt0tTI8txqeXCUV9jhUop29Hqj6a5zQd32BYv33Dulw==} peerDependencies: @@ -4752,6 +4758,8 @@ snapshots: - debug - supports-color + '@inlang/plugin-message-format@2.0.0': {} + '@inlang/plugin@2.4.14(@sinclair/typebox@0.31.28)': dependencies: '@inlang/json-types': 1.1.0(@sinclair/typebox@0.31.28) diff --git a/frontend/project.inlang/settings.json b/frontend/project.inlang/settings.json index 3ac50e4a2..6f49cae1f 100644 --- a/frontend/project.inlang/settings.json +++ b/frontend/project.inlang/settings.json @@ -18,15 +18,7 @@ "sv", "id" ], - "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-identical-pattern@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-valid-js-identifier@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@latest/dist/index.js" - ], + "modules": ["./node_modules/@inlang/plugin-message-format/dist/index.js"], "plugin.inlang.messageFormat": { "pathPattern": "./messages/{languageTag}.json" }