@vendure/mcp-plugin 3.8.2-master-202610270216 → 3.8.2-master-202610290208
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/tools/built-in/admin/adjust-stock.tool.d.ts +1 -0
- package/lib/tools/built-in/admin/adjust-stock.tool.js +17 -4
- package/lib/tools/built-in/admin/adjust-stock.tool.js.map +1 -1
- package/lib/tools/built-in/admin/upload-asset.tool.d.ts +3 -2
- package/lib/tools/built-in/admin/upload-asset.tool.js +6 -1
- package/lib/tools/built-in/admin/upload-asset.tool.js.map +1 -1
- package/package.json +7 -4
- package/src/dashboard/i18n/ar.po +20 -0
- package/src/dashboard/i18n/bg.po +20 -0
- package/src/dashboard/i18n/cs.po +20 -0
- package/src/dashboard/i18n/de.po +20 -0
- package/src/dashboard/i18n/en.po +20 -0
- package/src/dashboard/i18n/es.po +20 -0
- package/src/dashboard/i18n/fa.po +20 -0
- package/src/dashboard/i18n/fr.po +20 -0
- package/src/dashboard/i18n/he.po +20 -0
- package/src/dashboard/i18n/hr.po +20 -0
- package/src/dashboard/i18n/hu.po +20 -0
- package/src/dashboard/i18n/it.po +20 -0
- package/src/dashboard/i18n/ja.po +20 -0
- package/src/dashboard/i18n/ko.po +20 -0
- package/src/dashboard/i18n/nb.po +20 -0
- package/src/dashboard/i18n/ne.po +20 -0
- package/src/dashboard/i18n/nl.po +20 -0
- package/src/dashboard/i18n/pl.po +20 -0
- package/src/dashboard/i18n/pt_BR.po +20 -0
- package/src/dashboard/i18n/pt_PT.po +20 -0
- package/src/dashboard/i18n/ro.po +20 -0
- package/src/dashboard/i18n/ru.po +20 -0
- package/src/dashboard/i18n/sv.po +20 -0
- package/src/dashboard/i18n/tr.po +20 -0
- package/src/dashboard/i18n/uk.po +20 -0
- package/src/dashboard/i18n/uz.po +20 -0
- package/src/dashboard/i18n/zh_Hans.po +20 -0
- package/src/dashboard/i18n/zh_Hant.po +20 -0
- package/src/dashboard/index.tsx +1 -1
- package/src/dashboard/mcp-activity-route.tsx +1 -1
- package/src/dashboard/mcp-grants-route.tsx +1 -1
- package/src/dashboard/mcp-overview-route.tsx +1 -1
- package/src/dashboard/mcp-tools-route.tsx +1 -1
- package/src/dashboard/nav-titles-i18n.spec.ts +69 -0
|
@@ -29,14 +29,23 @@ let AdjustStockTool = class AdjustStockTool {
|
|
|
29
29
|
}
|
|
30
30
|
async execute(ctx, input) {
|
|
31
31
|
var _a;
|
|
32
|
-
// The
|
|
33
|
-
//
|
|
32
|
+
// The write sets an absolute stockOnHand, so the read must hold the row lock until the tool's
|
|
33
|
+
// transaction commits. Otherwise a concurrent adjustment would be overwritten. See #5652
|
|
34
|
+
// It comes before any other read: on MySQL and MariaDB the first plain read fixes the snapshot
|
|
35
|
+
// which core's write later looks the row up in, so that snapshot must not predate the lock.
|
|
36
|
+
let current = await this.findLockedStockLevel(ctx, input);
|
|
37
|
+
// The locked stock read above and the write below are not limited to the active channel, so we
|
|
38
|
+
// check the location here to avoid silently overwriting another channel's stock.
|
|
34
39
|
const location = await this.stockLocationService.findOne(ctx, input.locationId);
|
|
35
40
|
if (!location) {
|
|
36
41
|
throw new core_1.UserInputError(`Stock location ${input.locationId} is not available in the active channel.`);
|
|
37
42
|
}
|
|
38
|
-
|
|
39
|
-
|
|
43
|
+
if (!current) {
|
|
44
|
+
// On Postgres a locked read which waited for another transaction does not return a row that
|
|
45
|
+
// transaction inserted, so the first stock at a location would be read as 0. A second read
|
|
46
|
+
// sees it. If there is still no row, core creates it with a stockOnHand of 0.
|
|
47
|
+
current = await this.findLockedStockLevel(ctx, input);
|
|
48
|
+
}
|
|
40
49
|
const stockOnHand = ((_a = current === null || current === void 0 ? void 0 : current.stockOnHand) !== null && _a !== void 0 ? _a : 0) + input.delta;
|
|
41
50
|
if (stockOnHand < mcp_sdk_1.GRAPHQL_INT_MIN || stockOnHand > mcp_sdk_1.GRAPHQL_INT_MAX) {
|
|
42
51
|
throw new core_1.UserInputError(`A delta of ${input.delta} would set stock on hand to ${stockOnHand}, outside ` +
|
|
@@ -56,6 +65,10 @@ let AdjustStockTool = class AdjustStockTool {
|
|
|
56
65
|
const updated = await this.stockLevelService.getStockLevelsForVariant(ctx, input.variantId);
|
|
57
66
|
return { stockLevels: updated.map(level => this.serializer.stockLevel(level)) };
|
|
58
67
|
}
|
|
68
|
+
async findLockedStockLevel(ctx, input) {
|
|
69
|
+
const levels = await this.stockLevelService.getLockedStockLevelsForVariant(ctx, input.variantId);
|
|
70
|
+
return levels.find(level => (0, core_1.idsAreEqual)(level.stockLocationId, input.locationId));
|
|
71
|
+
}
|
|
59
72
|
};
|
|
60
73
|
exports.AdjustStockTool = AdjustStockTool;
|
|
61
74
|
exports.AdjustStockTool = AdjustStockTool = __decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adjust-stock.tool.js","sourceRoot":"","sources":["../../../../src/tools/built-in/admin/adjust-stock.tool.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,wCAQuB;AACvB,8CAO0B;AAC1B,6BAAwB;AAExB,8DAAiE;AAEjE,MAAM,gBAAgB,GAAG,OAAC,CAAC,YAAY,CAAC;IACpC,SAAS,EAAE,kBAAQ,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IACnD,UAAU,EAAE,kBAAQ,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IACnD,KAAK,EAAE,qBAAW,CAAC,QAAQ,CAAC,mEAAmE,CAAC;CACnG,CAAC,CAAC;AAuBI,IAAM,eAAe,GAArB,MAAM,eAAe;IACxB,YACqB,qBAA4C,EAC5C,iBAAoC,EACpC,oBAA0C,EAC1C,UAAoC;QAHpC,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,yBAAoB,GAApB,oBAAoB,CAAsB;QAC1C,eAAU,GAAV,UAAU,CAA0B;IACtD,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,GAAmB,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,CAAC,UAAU,CAAC,CAAC,CAAC;IACtF,CAAC;CACJ,CAAA;AAtDY,0CAAe;0BAAf,eAAe;IAnB3B,IAAA,iBAAO,EAAC;QACL,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE,OAAO;QAChB,WAAW,EAAE,wDAAwD;QACrE,QAAQ,EAAE;YACN,mBAAmB;YACnB,4BAA4B;YAC5B,qBAAqB;YACrB,yBAAyB;YACzB,wBAAwB;YACxB,wBAAwB;SAC3B;QACD,wFAAwF;QACxF,uFAAuF;QACvF,WAAW,EAAE,CAAC,iBAAU,CAAC,aAAa,CAAC;QACvC,QAAQ,EAAE,aAAa;QACvB,WAAW,EAAE,gBAAgB;KAChC,CAAC;IACD,IAAA,mBAAU,GAAE;qCAGmC,4BAAqB;QACzB,wBAAiB;QACd,2BAAoB;QAC9B,6CAAwB;GALhD,eAAe,CAsD3B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AssetService, ConfigService, RequestContext } from '@vendure/core';
|
|
1
|
+
import { AssetService, ConfigService, EventBus, RequestContext } from '@vendure/core';
|
|
2
2
|
import { McpToolHandler } from '@vendure/mcp-sdk';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { McpToolSerializerService } from '../serializer.service';
|
|
@@ -9,8 +9,9 @@ type UploadAssetInput = z.infer<typeof uploadAssetInput>;
|
|
|
9
9
|
export declare class UploadAssetTool implements McpToolHandler<UploadAssetInput> {
|
|
10
10
|
private readonly assetService;
|
|
11
11
|
private readonly configService;
|
|
12
|
+
private readonly eventBus;
|
|
12
13
|
private readonly serializer;
|
|
13
|
-
constructor(assetService: AssetService, configService: ConfigService, serializer: McpToolSerializerService);
|
|
14
|
+
constructor(assetService: AssetService, configService: ConfigService, eventBus: EventBus, serializer: McpToolSerializerService);
|
|
14
15
|
execute(ctx: RequestContext, input: UploadAssetInput): Promise<{
|
|
15
16
|
asset: {
|
|
16
17
|
id: import("@vendure/core").ID;
|
|
@@ -20,13 +20,17 @@ const uploadAssetInput = zod_1.z.strictObject({
|
|
|
20
20
|
url: zod_1.z.string().max(2048).describe('Public HTTP(S) URL of the asset to fetch and store.'),
|
|
21
21
|
});
|
|
22
22
|
let UploadAssetTool = class UploadAssetTool {
|
|
23
|
-
constructor(assetService, configService, serializer) {
|
|
23
|
+
constructor(assetService, configService, eventBus, serializer) {
|
|
24
24
|
this.assetService = assetService;
|
|
25
25
|
this.configService = configService;
|
|
26
|
+
this.eventBus = eventBus;
|
|
26
27
|
this.serializer = serializer;
|
|
27
28
|
}
|
|
28
29
|
async execute(ctx, input) {
|
|
29
30
|
const asset = await (0, remote_asset_1.uploadAssetFromUrl)(ctx, input.url, this.assetService, this.configService.importExportOptions.assetImportStrategy);
|
|
31
|
+
// createFromFileStream() is meant for data import and publishes no event, so the tool publishes
|
|
32
|
+
// the one AssetService.create() does for the createAssets mutation. See #5661
|
|
33
|
+
await this.eventBus.publish(new core_1.AssetEvent(ctx, asset, 'created'));
|
|
30
34
|
return { asset: this.serializer.asset(asset) };
|
|
31
35
|
}
|
|
32
36
|
};
|
|
@@ -51,6 +55,7 @@ exports.UploadAssetTool = UploadAssetTool = __decorate([
|
|
|
51
55
|
(0, common_1.Injectable)(),
|
|
52
56
|
__metadata("design:paramtypes", [core_1.AssetService,
|
|
53
57
|
core_1.ConfigService,
|
|
58
|
+
core_1.EventBus,
|
|
54
59
|
serializer_service_1.McpToolSerializerService])
|
|
55
60
|
], UploadAssetTool);
|
|
56
61
|
//# sourceMappingURL=upload-asset.tool.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-asset.tool.js","sourceRoot":"","sources":["../../../../src/tools/built-in/admin/upload-asset.tool.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"upload-asset.tool.js","sourceRoot":"","sources":["../../../../src/tools/built-in/admin/upload-asset.tool.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,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AAU,CAAC,WAAW,CAAC;QACrC,QAAQ,EAAE,UAAU;QACpB,WAAW,EAAE,gBAAgB;KAChC,CAAC;IACD,IAAA,mBAAU,GAAE;qCAG0B,mBAAY;QACX,oBAAa;QAClB,eAAQ;QACN,6CAAwB;GALhD,eAAe,CAoB3B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vendure/mcp-plugin",
|
|
3
|
-
"version": "3.8.2-master-
|
|
3
|
+
"version": "3.8.2-master-202610290208",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -31,13 +31,16 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@modelcontextprotocol/node": "2.0.0",
|
|
33
33
|
"@modelcontextprotocol/server": "2.0.0",
|
|
34
|
-
"@vendure/mcp-sdk": "^3.8.2-master-
|
|
34
|
+
"@vendure/mcp-sdk": "^3.8.2-master-202610290208",
|
|
35
35
|
"zod": "^4.2.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
+
"@lingui/core": "^5.9.3",
|
|
39
|
+
"@lingui/format-po": "^5.9.3",
|
|
40
|
+
"@lingui/message-utils": "^5.9.3",
|
|
38
41
|
"@modelcontextprotocol/client": "2.0.0",
|
|
39
42
|
"@types/express": "^5.0.1",
|
|
40
|
-
"@vendure/common": "^3.8.2-master-
|
|
41
|
-
"@vendure/core": "^3.8.2-master-
|
|
43
|
+
"@vendure/common": "^3.8.2-master-202610290208",
|
|
44
|
+
"@vendure/core": "^3.8.2-master-202610290208"
|
|
42
45
|
}
|
|
43
46
|
}
|
package/src/dashboard/i18n/ar.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "الأدوات"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/bg.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Инструменти"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/cs.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Nástroje"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/de.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Tools"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/en.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr "The admin endpoint needs OAuth. Add an oauth block to McpPlugin.init to
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr "Overview"
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Tools"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr "Activity"
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr "Grants"
|
package/src/dashboard/i18n/es.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Herramientas"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/fa.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "ابزارها"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/fr.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Outils"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/he.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "כלים"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/hr.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Alati"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/hu.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Eszközök"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/it.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Strumenti"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/ja.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "ツール"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/ko.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "도구"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/nb.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Verktøy"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/ne.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "उपकरणहरू"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/nl.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Tools"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/pl.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Narzędzia"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Ferramentas"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Ferramentas"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/ro.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Instrumente"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/ru.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Инструменты"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/sv.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Verktyg"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/tr.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Araçlar"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/uk.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Інструменти"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/i18n/uz.po
CHANGED
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "Asboblar"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "工具"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
|
@@ -309,3 +309,23 @@ msgstr ""
|
|
|
309
309
|
|
|
310
310
|
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
311
|
msgstr ""
|
|
312
|
+
|
|
313
|
+
#. js-lingui-explicit-id
|
|
314
|
+
msgid "MCP Server"
|
|
315
|
+
msgstr "MCP Server"
|
|
316
|
+
|
|
317
|
+
#. js-lingui-explicit-id
|
|
318
|
+
msgid "Overview"
|
|
319
|
+
msgstr ""
|
|
320
|
+
|
|
321
|
+
#. js-lingui-explicit-id
|
|
322
|
+
msgid "Tools"
|
|
323
|
+
msgstr "工具"
|
|
324
|
+
|
|
325
|
+
#. js-lingui-explicit-id
|
|
326
|
+
msgid "Activity"
|
|
327
|
+
msgstr ""
|
|
328
|
+
|
|
329
|
+
#. js-lingui-explicit-id
|
|
330
|
+
msgid "Grants"
|
|
331
|
+
msgstr ""
|
package/src/dashboard/index.tsx
CHANGED
|
@@ -15,7 +15,7 @@ export const mcpActivityRoute: DashboardRouteDefinition = {
|
|
|
15
15
|
sectionId: 'mcp-server',
|
|
16
16
|
id: 'mcp-server-activity',
|
|
17
17
|
url: '/mcp-server/activity',
|
|
18
|
-
title: 'Activity',
|
|
18
|
+
title: /* i18n*/ 'Activity',
|
|
19
19
|
order: 300,
|
|
20
20
|
requiresPermission: 'ReadMcpServer',
|
|
21
21
|
},
|
|
@@ -18,7 +18,7 @@ export const mcpOverviewRoute: DashboardRouteDefinition = {
|
|
|
18
18
|
sectionId: 'mcp-server',
|
|
19
19
|
id: 'mcp-server-overview',
|
|
20
20
|
url: '/mcp-server/overview',
|
|
21
|
-
title: 'Overview',
|
|
21
|
+
title: /* i18n*/ 'Overview',
|
|
22
22
|
order: 100,
|
|
23
23
|
requiresPermission: 'ReadMcpServer',
|
|
24
24
|
},
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { setupI18n } from '@lingui/core';
|
|
2
|
+
import { formatter } from '@lingui/format-po';
|
|
3
|
+
import { compileMessage } from '@lingui/message-utils/compileMessage';
|
|
4
|
+
import { generateMessageId } from '@lingui/message-utils/generateMessageId';
|
|
5
|
+
import { readdirSync, readFileSync } from 'node:fs';
|
|
6
|
+
import { join } from 'node:path';
|
|
7
|
+
import { describe, expect, it } from 'vitest';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* #5641: the dashboard sidebar renders each nav title with `i18n.t(item.title)`, so the title
|
|
11
|
+
* text itself is the message id. Without a catalog entry under that id the title is never
|
|
12
|
+
* translated, and a production build logs "Uncompiled message detected!" for it.
|
|
13
|
+
*/
|
|
14
|
+
describe('dashboard nav titles', () => {
|
|
15
|
+
const i18nDir = join(__dirname, 'i18n');
|
|
16
|
+
const sourceLocale = 'en';
|
|
17
|
+
const navTitles = ['MCP Server', 'Overview', 'Tools', 'Activity', 'Grants'];
|
|
18
|
+
const locales = readdirSync(i18nDir)
|
|
19
|
+
.filter(name => name.endsWith('.po'))
|
|
20
|
+
.map(name => name.replace(/\.po$/, ''));
|
|
21
|
+
|
|
22
|
+
async function parseCatalog(locale: string) {
|
|
23
|
+
const filename = join(i18nDir, `${locale}.po`);
|
|
24
|
+
return formatter().parse(readFileSync(filename, 'utf8'), { locale, sourceLocale, filename });
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Same fallback order as Lingui's `getTranslationsForCatalog`, which the dashboard Vite plugin
|
|
28
|
+
// uses to merge plugin catalogs: locale translation, source translation, source text, id.
|
|
29
|
+
async function loadI18n(locale: string) {
|
|
30
|
+
const catalog = await parseCatalog(locale);
|
|
31
|
+
const source = await parseCatalog(sourceLocale);
|
|
32
|
+
const messages = Object.fromEntries(
|
|
33
|
+
Object.entries(catalog).map(([id, entry]) => [
|
|
34
|
+
id,
|
|
35
|
+
compileMessage(
|
|
36
|
+
entry.translation ||
|
|
37
|
+
source[id]?.translation ||
|
|
38
|
+
source[id]?.message ||
|
|
39
|
+
entry.message ||
|
|
40
|
+
id,
|
|
41
|
+
),
|
|
42
|
+
]),
|
|
43
|
+
);
|
|
44
|
+
const i18n = setupI18n();
|
|
45
|
+
i18n.load(locale, messages);
|
|
46
|
+
i18n.activate(locale);
|
|
47
|
+
return i18n;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
it.each(locales)('%s resolves every nav title by its text', async locale => {
|
|
51
|
+
const i18n = await loadI18n(locale);
|
|
52
|
+
const missing: string[] = [];
|
|
53
|
+
i18n.on('missing', event => missing.push(event.id));
|
|
54
|
+
|
|
55
|
+
for (const title of navTitles) {
|
|
56
|
+
// The page headings render the same words with <Trans>, which Lingui keys by a hash,
|
|
57
|
+
// so the sidebar and the heading must resolve to the same text.
|
|
58
|
+
expect(i18n.t(title), `${locale}: "${title}"`).toBe(i18n._(generateMessageId(title)));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
expect(missing).toEqual([]);
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
it('translates the Tools nav title in Spanish', async () => {
|
|
65
|
+
const i18n = await loadI18n('es');
|
|
66
|
+
|
|
67
|
+
expect(i18n.t('Tools')).toBe('Herramientas');
|
|
68
|
+
});
|
|
69
|
+
});
|