Skip to content

Commit 2af9729

Browse files
fix(studio): one name per group — the directory and a type page's badge say Platform / Access, like the menu (#37121)
Fixes #37082 Clause-②: no Metadata-protocol: none ## 维护者速读 - Studio 里「全部元数据」目录页的分组标题、筛选标签和类型页头部的分组徽标,从「系统 / 安全」改成和左侧菜单一样的「平台 / 访问」;系统设置里数据源页面的徽标也随之改为「平台」。 - 属于 Studio 重构的收尾:同一个 Studio 里同一组不再有两种叫法,组名以修订后的 Studio 信息架构决策为准。 - 出错只会让分组名称显示不对,不影响数据和权限,直接撤回这个改动即可恢复。 - 请确认系统设置里数据源页面的徽标显示「平台 / Platform」可以接受(它在决策里就属于「平台」这一组)。 ## What changes - **Route (a): the shared dictionary is renamed.** `DOMAIN_LABELS_EN` / `DOMAIN_LABELS_ZH` in `ui/packages/app-shell/src/views/metadata-admin/i18n.ts` (read through `translateMetadataDomain`) now draw `system` as Platform / 平台 and `security` as Access / 访问, the group names of ADR-0084 as amended. The dictionary carries exactly two locales (en, zh); both changed. - **The menu reads the dictionary.** `studioMenuGroupLabel` now returns `translateMetadataDomain(group, locale)`; its two menu-only keys `engine.studio.menu.groupSystem` / `engine.studio.menu.groupSecurity` are removed from the `studio` namespace (en and zh), since nothing reads them any more. The function stays as the menu's named seam, so `StudioMenu.tsx` is untouched. - `studioMenuModel.ts`: one doc comment that said the dictionary keeps System / Security is corrected (this change made it false). ### Route choice and the readers, before and after Every reader of `translateMetadataDomain`, measured on `origin/main` 9d70768 (`git grep` over the whole monorepo, plus a GitHub code search across the org: no hit outside this repo; `@object-ui/app-shell` is `private`, so the re-export at `metadata-admin/index.ts` has no external consumer): | Reader | Surface | Before | After | |---|---|---|---| | `DirectoryPage.tsx` chips | Studio, All metadata | System / 系统, Security / 安全 | Platform / 平台, Access / 访问 | | `DirectoryPage.tsx` group headings | Studio, All metadata | System / 系统, Security / 安全 | Platform / 平台, Access / 访问 | | `PageShell.tsx` badge (list header and compact item header) | Studio type and item pages | System / 系统, Security / 安全 | Platform / 平台, Access / 访问 | | `PageShell.tsx` badge | **Setup's datasource pages** (the one kept type: `SETUP_KEPT_METADATA_TYPE = 'datasource'`, rendered in place by `MetadataResourceEditPage`) | System / 系统 | Platform / 平台 | | `studioMenuGroupLabel` | Studio left menu | Platform / 平台, Access / 访问 (own keys) | unchanged words, now from the dictionary | The only non-Studio surface is Setup's datasource badge. It names the same group: the badge shows the type's registered domain, and ADR-0084's amendment says in its type-to-group table and its third reading that a `datasource` is **found under 平台 Platform** (its item opens in Setup per ADR-0146 D1, but its group is Platform). So route (a) changes what that surface says to the group name the ADR gives it, not to a different concept; route (b) would keep two words for one group, the inconsistency this card closes. No `security`-domain type is kept in Setup, so Access appears on Studio surfaces only. ## Tests - New pin `ui/packages/app-shell/src/views/metadata-admin/DirectoryPage.groupNames-37082.test.tsx`, over the real directory page and the real `PageShell`, for **en and zh-CN** (`describe.each`): the directory's group headings, the domain chips, the type page badge (list header) and the item page badge (compact header, the one Setup's datasource item page draws). Each word is compared with the menu's own (`studioMenuGroupLabel`) and with the literal Platform / 平台, Access / 访问; CONTROL: `data` stays Data / 数据, and System / 系统, Security / 安全 are drawn nowhere. - `studioMenuModel.test.ts`: the old "dictionary keeps System / Security" case is replaced by "the menu draws each group with the dictionary's word, en and zh-CN". - Two existing pins read the old words and are updated: `PageShell.narrowHeader-12306.test.tsx` (badge text Security to Access) and `StudioDesignSurface.accessSegment-12452.test.tsx` (the Access label now from `translateMetadataDomain`, since the removed key is gone). - Ablation (one-time, through `scripts/ablation-replace.mjs`, restored to the HEAD blob): the zh `system` value set back to 系统 turned 6 cases red (the five zh-CN cases of the new pin and the menu case in `studioMenuModel.test.ts`), en stayed green; restore verified blob == HEAD and `git diff HEAD` empty. ## Acceptance notes - `DOMAIN_LABELS_*` also carry a UI-local `platform` key that already read Platform / 平台. No producer sets `domain: 'platform'` (the spec's `domain` enum is data, ui, automation, system, security, ai; `git grep` finds no UI registration with it), so the two cannot meet in one directory today. Noted, not changed. - File surface: beyond the claim's list, two existing test files that pin the old words (above) and one doc comment in `studioMenuModel.ts` were edited, because this change made them false. ## Verification Two-minute check: open Studio, All metadata, in zh-CN. The left menu, the chips and the section headings all read 平台 and 访问; open a permission set and its header badge reads 访问 (Access in en). Read first, by risk: 1. `ui/packages/app-shell/src/views/metadata-admin/i18n.ts`, the two renamed values in each `DOMAIN_LABELS_*` table (the change that reaches Setup's datasource badge). 2. `ui/packages/app-shell/src/views/studio-design/studioMenuGroupLabel.ts`, the menu now reading the dictionary. 3. `ui/packages/app-shell/src/views/metadata-admin/DirectoryPage.groupNames-37082.test.tsx`, the en and zh-CN pin. <details><summary>Local readings on head b5fb875</summary> - Targeted tests (from `ui/`, under the verify lock): the new pin, `PageShell.narrowHeader-12306`, `DirectoryPage.stateVocabulary-29705` and all of `packages/app-shell/src/views/studio-design/`: `Test Files 303 passed (303)`, `Tests 2299 passed (2299)`, `VERDICT command-exit 0`. - `pnpm --filter @object-ui/app-shell --filter @object-ui/i18n run type-check`: both packages echoed `type-check`, `VERDICT command-exit 0`. - `node scripts/pm/dispatch-gates.mjs --commands`: 38 derived families, all exit 0; `--ran` reconciliation: `38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN` (a derived zero, every line with its exit code). Among them `pnpm --dir ui exec vitest run scripts/`: `Test Files 172 passed | 2 skipped (174)`. - Also run: `pnpm --dir ui run check:i18n-dead-keys`, `check:i18n-keys`, `check:i18n-drift`: exit 0 each. - `node scripts/pm/overlap-check.mjs`: `VERDICT clean exit 0` (merges cleanly with origin/main and with #37089, which shares three studio-design files). - Lint, the full UI suite and the type-check lanes are CI's. </details> --- _Generated by [Claude Code](https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8018e00 commit 2af9729

10 files changed

Lines changed: 214 additions & 36 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
'@object-ui/i18n': patch
4+
---
5+
6+
fix(studio): one name per group: the directory and a type page's badge say Platform / Access, like the menu
7+
8+
Clause-②: no
9+
Metadata-protocol: none
10+
11+
ADR-0084 (amended) · part of the Studio redesign follow-ups.
12+
13+
- **The shared domain dictionary (`translateMetadataDomain`) names the `system` group Platform / 平台 and the `security` group Access / 访问**, the amended ADR-0084's group names. It used to say System / 系统 and Security / 安全 while the Studio left menu said Platform / Access.
14+
- **Every place a group is named now reads that one dictionary:** the Studio left menu (`studioMenuGroupLabel` reads it instead of its own two keys), the All metadata directory's group headings and domain chips, and the domain badge on a type or item page (`PageShell`). Setup's datasource pages draw the same badge, so a datasource reads Platform / 平台 there too, the group ADR-0084 puts it in.
15+
- The menu-only keys `engine.studio.menu.groupSystem` and `engine.studio.menu.groupSecurity` are removed from the `studio` namespace (en and zh); nothing reads them any more.
Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.
2+
3+
/**
4+
* objectstack#37082 — one name per group across Studio. The left menu, the All
5+
* metadata directory's group headings and domain chips, and the domain badge
6+
* on a type or item page (`PageShell`, which Setup's datasource pages draw too)
7+
* name the `system` group Platform / 平台 and the `security` group Access / 访问
8+
* (objectstack ADR-0084, amended 2026-11-24), in en and in zh-CN.
9+
*
10+
* Pinned over the real directory page and the real header, each word compared
11+
* with the menu's own (`studioMenuGroupLabel`); CONTROL: the `data` group keeps
12+
* Data / 数据, and the retired words System / 系统 and Security / 安全 are drawn
13+
* nowhere.
14+
*/
15+
16+
import '@testing-library/jest-dom/vitest';
17+
import * as React from 'react';
18+
import { describe, it, expect, vi, afterEach } from 'vitest';
19+
import { render, screen, cleanup, within } from '@testing-library/react';
20+
import { MemoryRouter } from 'react-router-dom';
21+
import { MetadataAreaHostContext, type MetadataAreaHost } from './metadataAreaHost';
22+
import type { RichMetadataTypeEntry } from './useMetadata';
23+
24+
const PKG = 'com.example.showcase';
25+
26+
const entry = (type: string, domain: string): RichMetadataTypeEntry =>
27+
({ type, label: type, domain, allowEnvironmentOverlay: false, allowRuntimeCreate: true }) as RichMetadataTypeEntry;
28+
29+
const ENTRIES: RichMetadataTypeEntry[] = [
30+
entry('object', 'data'),
31+
entry('datasource', 'system'),
32+
entry('translation', 'system'),
33+
entry('permission', 'security'),
34+
];
35+
36+
const CLIENT = { list: async () => [] };
37+
38+
/** The locale the page reads; each case sets it before rendering. */
39+
let LOCALE = 'en';
40+
41+
vi.mock('./useMetadata', async (importOriginal) => ({
42+
...(await importOriginal<Record<string, unknown>>()),
43+
useMetadataClient: () => CLIENT,
44+
useMetadataTypes: () => ({ loading: false, error: null, entries: ENTRIES }),
45+
useGlobalDiagnostics: () => ({
46+
loading: false,
47+
error: null,
48+
summary: { entries: [], total: 0, scannedTypes: 0, scannedItems: 0 },
49+
byType: {},
50+
warnByType: {},
51+
countsByType: {},
52+
lockedByType: {},
53+
packagesByType: Object.fromEntries(ENTRIES.map((e) => [e.type, [PKG]])),
54+
allPackages: [PKG],
55+
reload: () => {},
56+
}),
57+
}));
58+
vi.mock('./i18n', async (importOriginal) => ({
59+
...(await importOriginal<Record<string, unknown>>()),
60+
useMetadataLocale: () => LOCALE,
61+
}));
62+
vi.stubGlobal(
63+
'fetch',
64+
vi.fn(async () =>
65+
new Response(JSON.stringify({ success: true, data: { packages: [] } }), {
66+
status: 200,
67+
headers: { 'Content-Type': 'application/json' },
68+
}),
69+
),
70+
);
71+
72+
import { MetadataDirectoryPage } from './DirectoryPage';
73+
import { PageShell } from './PageShell';
74+
import { studioMenuGroupLabel } from '../studio-design/studioMenuGroupLabel';
75+
76+
afterEach(() => {
77+
cleanup();
78+
});
79+
80+
const host: MetadataAreaHost = { packageId: PKG, readOnly: false, basePath: `/studio/${PKG}/metadata` };
81+
82+
const CASES = [
83+
{ locale: 'en', data: 'Data', platform: 'Platform', access: 'Access', retired: ['System', 'Security'] },
84+
{ locale: 'zh-CN', data: '数据', platform: '平台', access: '访问', retired: ['系统', '安全'] },
85+
] as const;
86+
87+
function renderDirectory() {
88+
return render(
89+
<MetadataAreaHostContext.Provider value={host}>
90+
<MemoryRouter>
91+
<MetadataDirectoryPage />
92+
</MemoryRouter>
93+
</MetadataAreaHostContext.Provider>,
94+
);
95+
}
96+
97+
function renderShell(type: string, itemName?: string) {
98+
const e = ENTRIES.find((x) => x.type === type);
99+
return render(
100+
<MemoryRouter>
101+
<PageShell entry={e} itemName={itemName}>
102+
<div />
103+
</PageShell>
104+
</MemoryRouter>,
105+
);
106+
}
107+
108+
describe.each(CASES)('one name per group ($locale, objectstack#37082)', (c) => {
109+
it('the menu names the groups Platform and Access', () => {
110+
expect(studioMenuGroupLabel('system', c.locale)).toBe(c.platform);
111+
expect(studioMenuGroupLabel('security', c.locale)).toBe(c.access);
112+
expect(studioMenuGroupLabel('data', c.locale)).toBe(c.data);
113+
});
114+
115+
it('the directory\'s group headings use the menu\'s names', async () => {
116+
LOCALE = c.locale;
117+
renderDirectory();
118+
await screen.findByText('datasource', { selector: 'code' });
119+
const headings = screen.getAllByRole('heading', { level: 2 }).map((h) => (h.textContent ?? '').trim());
120+
expect(headings).toEqual(
121+
expect.arrayContaining([
122+
`${studioMenuGroupLabel('data', c.locale)} (1)`,
123+
`${studioMenuGroupLabel('security', c.locale)} (1)`,
124+
`${studioMenuGroupLabel('system', c.locale)} (2)`,
125+
]),
126+
);
127+
expect(headings).toEqual(expect.arrayContaining([`${c.platform} (2)`, `${c.access} (1)`, `${c.data} (1)`]));
128+
for (const word of c.retired) expect(headings.join(' ')).not.toContain(word);
129+
});
130+
131+
it('the directory\'s domain chips use the menu\'s names', async () => {
132+
LOCALE = c.locale;
133+
renderDirectory();
134+
await screen.findByText('datasource', { selector: 'code' });
135+
expect(screen.getByRole('button', { name: `${studioMenuGroupLabel('system', c.locale)} (2)` })).toBeInTheDocument();
136+
expect(screen.getByRole('button', { name: `${studioMenuGroupLabel('security', c.locale)} (1)` })).toBeInTheDocument();
137+
expect(screen.getByRole('button', { name: `${c.platform} (2)` })).toBeInTheDocument();
138+
expect(screen.getByRole('button', { name: `${c.access} (1)` })).toBeInTheDocument();
139+
expect(screen.getByRole('button', { name: `${c.data} (1)` })).toBeInTheDocument();
140+
for (const word of c.retired) {
141+
expect(screen.queryByRole('button', { name: new RegExp(`^${word} \\(`, 'u') })).toBeNull();
142+
}
143+
});
144+
145+
it('a type page\'s badge uses the menu\'s names', () => {
146+
LOCALE = c.locale;
147+
renderShell('datasource');
148+
const title = document.querySelector('h1')!.parentElement!;
149+
expect(within(title).getByText(studioMenuGroupLabel('system', c.locale))).toBeInTheDocument();
150+
expect(within(title).getByText(c.platform)).toBeInTheDocument();
151+
cleanup();
152+
renderShell('permission');
153+
expect(within(document.querySelector('h1')!.parentElement!).getByText(c.access)).toBeInTheDocument();
154+
});
155+
156+
it('an item page\'s badge uses the menu\'s names (Setup\'s datasource item page draws this header)', () => {
157+
LOCALE = c.locale;
158+
renderShell('datasource', 'main_db');
159+
const meta = screen.getByTestId('page-shell-header-meta');
160+
expect(within(meta).getByText(studioMenuGroupLabel('system', c.locale))).toBeInTheDocument();
161+
expect(within(meta).getByText(c.platform)).toBeInTheDocument();
162+
cleanup();
163+
renderShell('permission', 'sales_rep');
164+
expect(within(screen.getByTestId('page-shell-header-meta')).getByText(c.access)).toBeInTheDocument();
165+
for (const word of c.retired) expect(screen.getByTestId('page-shell-header-meta').textContent).not.toContain(word);
166+
});
167+
});

‎ui/packages/app-shell/src/views/metadata-admin/PageShell.narrowHeader-12306.test.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe('PageShell compact header wraps instead of squeezing the breadcrumb (ob
7373
const meta = screen.getByTestId('page-shell-header-meta');
7474
expect(nav.nextElementSibling).toBe(meta);
7575
// The chips, the subtitle, the stats and the actions all live in it.
76-
expect(meta).toContainElement(screen.getByText('Security'));
76+
expect(meta).toContainElement(screen.getByText('Access'));
7777
expect(meta).toContainElement(screen.getByText('Can be added'));
7878
expect(meta).toContainElement(screen.getByText('Permission set'));
7979
expect(meta).toContainElement(screen.getByText('Objects granted'));

‎ui/packages/app-shell/src/views/metadata-admin/i18n.ts‎

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,15 +178,22 @@ const TYPE_LABELS_ZH: Record<string, string> = {
178178
picklist: '选项列表',
179179
};
180180

181+
/**
182+
* The group name each registered metadata `domain` is drawn with, everywhere a
183+
* domain is named: the Studio menu, the All metadata directory's headings and
184+
* chips, and the domain badge on a type or item page (Setup's datasource pages
185+
* included). `system` is Platform / 平台 and `security` is Access / 访问, the
186+
* names objectstack ADR-0084 (amended 2026-11-24) gives those two groups.
187+
*/
181188
const DOMAIN_LABELS_EN: Record<string, string> = {
182189
data: 'Data',
183190
ui: 'UI',
184191
automation: 'Automation',
185192
ai: 'AI',
186-
system: 'System',
193+
system: 'Platform',
187194
platform: 'Platform',
188195
identity: 'Identity',
189-
security: 'Security',
196+
security: 'Access',
190197
other: 'Other',
191198
};
192199

@@ -195,10 +202,10 @@ const DOMAIN_LABELS_ZH: Record<string, string> = {
195202
ui: '界面',
196203
automation: '自动化',
197204
ai: 'AI',
198-
system: '系统',
205+
system: '平台',
199206
platform: '平台',
200207
identity: '身份',
201-
security: '安全',
208+
security: '访问',
202209
other: '其他',
203210
};
204211

‎ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.accessSegment-12452.test.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ vi.mock('./StudioAiCopilot', () => ({ StudioChatDock: () => null }));
119119
vi.mock('../../preview/DraftChangesPanel', () => ({ DraftChangesPanel: () => null }));
120120

121121
import { StudioDesignSurface } from './StudioDesignSurface';
122-
import { t } from '../metadata-admin/i18n';
122+
import { translateMetadataDomain } from '../metadata-admin/i18n';
123123
// The source under test reaches dynamic imports of `@objectstack/lint`; their first
124124
// load is paid here, at collection, never inside a case's clock (`check:test-source-alias`).
125125
import '@objectstack/lint';
@@ -144,8 +144,8 @@ window.matchMedia = ((query: string) => ({
144144

145145
const key = (type: string, name: string) => `${type}/${name}`;
146146

147-
/** The menu's own name for the `security` group (the shared dictionary keeps "Security"). */
148-
const ACCESS = t('engine.studio.menu.groupSecurity', 'en');
147+
/** The `security` group's name, Access (objectstack ADR-0084, amended). */
148+
const ACCESS = translateMetadataDomain('security', 'en');
149149
const OBJECT_ENTRY = 'studio-menu-entry-type:object';
150150
const PERMISSION_ENTRY = 'studio-menu-entry-type:permission';
151151

‎ui/packages/app-shell/src/views/studio-design/studioMenuGroupLabel.ts‎

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,16 @@
33
/**
44
* The name the left menu draws for each of its six groups (objectstack
55
* ADR-0084, amended 2026-11-24; decision 11 of #36890): the registered domain's
6-
* label, except two the amendment renames for the menu, `system` → Platform /
7-
* 平台 and `security` → Access / 访问.
6+
* name in the shared dictionary (`translateMetadataDomain`), which draws
7+
* `system` as Platform / 平台 and `security` as Access / 访问.
88
*
9-
* Menu-only on purpose. The shared dictionary (`translateMetadataDomain`) keeps
10-
* System / 系统 and Security / 安全: it has readers outside the menu, Setup's
11-
* datasource pages among them (`PageShell`'s domain badge), and no other
12-
* Studio heading or chip is renamed by this.
9+
* One dictionary, so the menu, the All metadata directory's headings and chips,
10+
* and a type or item page's domain badge cannot name a group two ways.
1311
*/
1412

15-
import { t, translateMetadataDomain } from '../metadata-admin/i18n.js';
13+
import { translateMetadataDomain } from '../metadata-admin/i18n.js';
1614
import type { StudioMenuGroup } from './studioMenuModel.js';
1715

18-
const MENU_GROUP_LABEL_KEYS: Partial<Record<StudioMenuGroup, string>> = {
19-
system: 'engine.studio.menu.groupSystem',
20-
security: 'engine.studio.menu.groupSecurity',
21-
};
22-
2316
export function studioMenuGroupLabel(group: StudioMenuGroup, locale: string): string {
24-
const key = MENU_GROUP_LABEL_KEYS[group];
25-
return key ? t(key, locale) : translateMetadataDomain(group, locale);
17+
return translateMetadataDomain(group, locale);
2618
}

‎ui/packages/app-shell/src/views/studio-design/studioMenuModel.test.ts‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,16 +121,17 @@ describe('the menu search', () => {
121121
});
122122
});
123123

124-
describe('the group names: the menu\'s own, the shared dictionary unchanged', () => {
125-
it('the menu names `system` Platform / 平台 and `security` Access / 访问; the other four as the dictionary does', () => {
124+
describe('the group names: one dictionary for the menu and the directory (ADR-0084, amended)', () => {
125+
it('the menu names `system` Platform / 平台 and `security` Access / 访问', () => {
126126
expect(STUDIO_MENU_GROUPS.map((g) => studioMenuGroupLabel(g, 'en'))).toEqual(['Data', 'UI', 'Automation', 'Platform', 'Access', 'AI']);
127127
expect(STUDIO_MENU_GROUPS.map((g) => studioMenuGroupLabel(g, 'zh-CN'))).toEqual(['数据', '界面', '自动化', '平台', '访问', 'AI']);
128128
});
129129

130-
it('the shared dictionary keeps System / 系统 and Security / 安全 (Setup\'s datasource pages read it, `PageShell`\'s badge)', () => {
131-
expect(translateMetadataDomain('system', 'en')).toBe('System');
132-
expect(translateMetadataDomain('system', 'zh-CN')).toBe('系统');
133-
expect(translateMetadataDomain('security', 'en')).toBe('Security');
134-
expect(translateMetadataDomain('security', 'zh-CN')).toBe('安全');
130+
it('the menu draws each group with the shared dictionary\'s word, in en and zh-CN', () => {
131+
for (const locale of ['en', 'zh-CN']) {
132+
for (const g of STUDIO_MENU_GROUPS) {
133+
expect(studioMenuGroupLabel(g, locale), `${g} in ${locale}`).toBe(translateMetadataDomain(g, locale));
134+
}
135+
}
135136
});
136137
});

‎ui/packages/app-shell/src/views/studio-design/studioMenuModel.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
*
1111
* Six, one per domain the spec registers a metadata type under, in the
1212
* amendment's order. A type's group is its served registry `domain`; the
13-
* group's name is the menu's own (`studioMenuGroupLabel`), which draws
14-
* `system` as Platform and `security` as Access (decision 11) while the shared
15-
* dictionary keeps System and Security.
13+
* group's name is the shared domain dictionary's (`studioMenuGroupLabel`), which
14+
* draws `system` as Platform and `security` as Access (decision 11), the same
15+
* names as the directory's headings and chips and a type page's badge.
1616
*
1717
* ## Entries
1818
*

‎ui/packages/i18n/src/namespaces/studio/en.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3504,8 +3504,6 @@ const STUDIO_EN: Record<string, string> = {
35043504
'engine.studio.menu.owd': 'Default sharing',
35053505
'engine.studio.menu.diagnostics': 'Diagnostics',
35063506
'engine.studio.menu.environment': 'Positions and permissions',
3507-
'engine.studio.menu.groupSystem': 'Platform',
3508-
'engine.studio.menu.groupSecurity': 'Access',
35093507
// objectstack#36502 — the notice on a retired Interfaces link's landing.
35103508
'engine.studio.interfacesRetired.sentence': 'Interface edits have moved into the app.',
35113509
'engine.studio.interfacesRetired.backToApp': 'Back to the app',

‎ui/packages/i18n/src/namespaces/studio/zh.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3095,8 +3095,6 @@ const STUDIO_ZH: Record<string, string> = {
30953095
'engine.studio.menu.owd': '默认共享',
30963096
'engine.studio.menu.diagnostics': '诊断',
30973097
'engine.studio.menu.environment': '岗位与权限',
3098-
'engine.studio.menu.groupSystem': '平台',
3099-
'engine.studio.menu.groupSecurity': '访问',
31003098
// objectstack#36502 — 旧「界面」链接落地时的提示。
31013099
'engine.studio.interfacesRetired.sentence': '界面的修改已经搬到应用里',
31023100
'engine.studio.interfacesRetired.backToApp': '回到应用',

0 commit comments

Comments
 (0)