remoteSyncLocale.test.ts 718 B

1234567891011121314
  1. import { describe, expect, it } from "vitest";
  2. import enUS from "../src/i18n/locales/en-US.js";
  3. import zhCN from "../src/i18n/locales/zh-CN.js";
  4. describe("remote sync locale labels", () => {
  5. it("uses consistent technical-term capitalization for every sync action", () => {
  6. expect(zhCN["settings.skills.remoteSync.open"]).toBe("同步 Skill");
  7. expect(zhCN["settings.mcp.remoteSync.open"]).toBe("同步 MCP");
  8. expect(zhCN["settings.plugins.remoteSync.open"]).toBe("同步 Plugin");
  9. expect(enUS["settings.skills.remoteSync.open"]).toBe("Sync Skill");
  10. expect(enUS["settings.mcp.remoteSync.open"]).toBe("Sync MCP");
  11. expect(enUS["settings.plugins.remoteSync.open"]).toBe("Sync Plugin");
  12. });
  13. });