diff --git a/.changeset/39057-setup-platform-items-regrouped.md b/.changeset/39057-setup-platform-items-regrouped.md new file mode 100644 index 00000000000..99a488babf1 --- /dev/null +++ b/.changeset/39057-setup-platform-items-regrouped.md @@ -0,0 +1,24 @@ +--- +'@objectstack/platform-objects': patch +'@objectstack/service-settings': patch +--- + +Setup's platform-owned entries sit in their new groups, in the new order, under the new names; every old name stays searchable + +Clause-②: no +Metadata-protocol: none + +Setup's navigation was regrouped into ten groups (#39050). The entries `@objectstack/platform-objects` contributes now name the new group ids directly, so none of them draws the `nav_contribution_group_renamed` notice: + +- **Users & Organization:** Company Information (first), Users, Invitations, Teams, Business Units, Organizations, then the active organization's page. +- **Access & Sharing:** Positions and Permissions. **Apps & AI:** Installed Apps, AI Model Service. **Audit & Data:** Recycle Bin, Data Retention, File Storage. **Company Settings:** Language & Region, Working Calendars, Holidays & Workday Swaps. **Currency & Units:** Exchange Rates, Units of Measure, Standard Unit Decimals. **Notifications:** Email Channel, SMS Channel, Delivery Log. **Login & Security:** Sign-in Methods, Access policy, Active Sessions. **Integrations & Developer:** API Keys, OAuth Applications, Public Forms. + +Renamed, in every shipped locale: Packages → Installed Apps, Company → Company Information, Localization → Language & Region, Standard Unit Settings → Standard Unit Decimals, Calendar Exceptions → Holidays & Workday Swaps, Mail Delivery → Email Channel, SMS Delivery → SMS Channel, Authentication → Sign-in Methods, AI & Embedder → AI Model Service, Data Lifecycle → Data Retention, Notification Events → Delivery Log, Sessions → Active Sessions. The translated locales also rename four entries other packages contribute: Position Holders, Permission Set Assignment, Record Shares and Queues (their English label changes with each plugin's own entry). + +Every renamed entry keeps its former name as a search alias (`keywords`): the source-language name on the entry, each locale's former name on that locale's bundle entry. Business Units carries Department / Organization Structure / Division (部门 / 组织架构 / 事业部), and each group that took a retired group over carries that group's former name. + +The settings pages' own titles, and their cards on the settings hub, carry the same new names in every shipped locale (`@objectstack/service-settings`), so a page opens under the name its Setup entry shows: Mail Delivery → Email Channel, Localization → Language & Region, and likewise for Company, Authentication, SMS Delivery, AI & Embedder and Data Lifecycle. + +"All Settings" (`nav_settings_hub`) left the navigation: every settings page has its own entry, and the command palette finds them. Its address, `/apps/setup/system/settings`, still opens the settings hub. + +No action needed: nothing an app author writes changes. A third-party contribution that still names a retired group id keeps landing in the group that took it over. diff --git a/docs/adr/0057-erp-authorization-core-business-units-and-scope-depth.md b/docs/adr/0057-erp-authorization-core-business-units-and-scope-depth.md index ba65d2637ea..be8682cc877 100644 --- a/docs/adr/0057-erp-authorization-core-business-units-and-scope-depth.md +++ b/docs/adr/0057-erp-authorization-core-business-units-and-scope-depth.md @@ -386,7 +386,7 @@ open/paid resolver seam). It did **not** settle how the three org-shaped objects - `sys_team` (better-auth) — the **flat collaboration grouping**. Left unaddressed, all three land flat in the Setup `group_people_org` menu -(`packages/platform-objects/src/apps/setup-nav.contributions.ts#group_people_org`) and read as three +(`packages/platform-objects/src/apps/setup.app.ts#group_people_org`) and read as three competing "organisation" concepts — the ambiguity is sharpest in a single-tenant install, where `sys_organization` is a single, un-creatable row. This addendum closes that gap. One decision per gap (ADR-0049 discipline); no model change, only surfacing + one denormalised diff --git a/packages/cli/test/connect-agent-both-halves-wire.pin.test.ts b/packages/cli/test/connect-agent-both-halves-wire.pin.test.ts index 9ea4dac556d..3aecddbc104 100644 --- a/packages/cli/test/connect-agent-both-halves-wire.pin.test.ts +++ b/packages/cli/test/connect-agent-both-halves-wire.pin.test.ts @@ -275,8 +275,9 @@ describe('#17647 — Connect-an-Agent visibility: BOTH halves, over the wire', ( // `branding` namespace, offered only where no organization wall stands, // and this harness composes platform-objects and the MCP bundle alone. expect(allowedIds).toContain('nav_packages'); - // `group_apps` retired into `group_apps_ai` through `renamedFrom` (#39053). - expect(groupChildren(setupAllowed.body?.item, 'group_apps_ai')).toEqual(['nav_packages']); + // Apps & AI as this composition serves it: Installed Apps, then AI + // Model Service (#39057). + expect(groupChildren(setupAllowed.body?.item, 'group_apps_ai')).toEqual(['nav_packages', 'nav_settings_ai']); expect(allowedIds).toContain('nav_public_forms'); // #37087 — the id is Setup's alone now: Studio's entry of the same id // is retired with the console page it opened (`developer:public-forms`). diff --git a/packages/cli/test/setup-diagnostics-audience.pin.test.ts b/packages/cli/test/setup-diagnostics-audience.pin.test.ts index 4fdce0e8d49..033f33e8205 100644 --- a/packages/cli/test/setup-diagnostics-audience.pin.test.ts +++ b/packages/cli/test/setup-diagnostics-audience.pin.test.ts @@ -16,13 +16,16 @@ // // The gate moved off the group and onto the entries: Audit Log on // `view_all_audit_log`, Sessions and Notification Events on the -// `manage_platform_settings` the group carried. Read over the wire, per caller: +// `manage_platform_settings` the group carried. Since Setup was regrouped +// (epic #39050, #39057) the three sit in three groups — Audit Log in Audit & +// Data, Active Sessions in Login & Security, Delivery Log in Notifications — +// and each still carries its own gate. Read over the wire, per caller: // -// - `view_all_audit_log` alone → Diagnostics holds Audit Log, only; -// - `manage_platform_settings` alone → Sessions and Notification Events, and +// - `view_all_audit_log` alone → Audit Log, only, in Audit & Data; +// - `manage_platform_settings` alone → Active Sessions and Delivery Log, and // NOT Audit Log (no entry reaches a // member who lacks its own gate); -// - neither → no Diagnostics group at all; +// - neither → none of the three; // - the platform administrator → all three, as before. // // --------------------------------------------------------------------------- @@ -44,10 +47,13 @@ import { ADMIN_FULL_ACCESS_CAPABILITIES } from '@objectstack/spec'; type AnyRec = Record; -// [#39053] The served anchor: `group_diagnostics` retired into it through -// `renamedFrom`, and the contributions below still name the old id. +// [#39053] The served anchor `group_diagnostics` retired into; the Audit Log +// entry lands here. The two platform-settings entries moved out (#39057). const GROUP = 'group_audit_data'; +/** The three entries the retired Diagnostics group held. */ +const FORMER_DIAGNOSTICS = ['nav_audit_logs', 'nav_notifications', 'nav_sessions'] as const; + /** * The manifests a plugin registers from `init()`, captured off a context that * serves exactly the `manifest` service, with inert stand-ins for the rest of @@ -152,20 +158,27 @@ function allIds(items: AnyRec[] | undefined): string[] { return (items ?? []).flatMap((i) => [String(i?.id), ...allIds(i?.children)]); } +/** Which of the former Diagnostics entries the caller is served, anywhere in Setup. */ +function servedFormerDiagnostics(app: AnyRec): string[] { + const ids = new Set(allIds(app?.navigation)); + return FORMER_DIAGNOSTICS.filter((id) => ids.has(id)); +} + describe('Setup → Diagnostics: each entry is served to the holders of its own gate', () => { it('a member holding view_all_audit_log, and no platform-settings power, is served the Audit Log entry', async () => { const setup = await servedSetup(['setup.access', 'view_all_audit_log']); - expect(diagnostics(setup)).toEqual(['nav_audit_logs']); + expect(servedFormerDiagnostics(setup)).toEqual(['nav_audit_logs']); + // First in Audit & Data; the ungated Recycle Bin follows it. + expect(diagnostics(setup)?.[0]).toBe('nav_audit_logs'); }); it('a member without view_all_audit_log is not served the Audit Log entry, anywhere in Setup', async () => { const settingsOnly = await servedSetup(['setup.access', 'manage_platform_settings']); - expect(diagnostics(settingsOnly)?.sort()).toEqual(['nav_notifications', 'nav_sessions']); - expect(allIds(settingsOnly.navigation)).not.toContain('nav_audit_logs'); + expect(servedFormerDiagnostics(settingsOnly)).toEqual(['nav_notifications', 'nav_sessions']); + expect(diagnostics(settingsOnly)).not.toContain('nav_audit_logs'); const neither = await servedSetup(['setup.access']); - expect(diagnostics(neither)).toBeUndefined(); - expect(allIds(neither.navigation)).not.toContain('nav_audit_logs'); + expect(servedFormerDiagnostics(neither)).toEqual([]); // Control: the app itself is served to this member, so the absence above // is the entry's gate and not a withheld app. expect(allIds(neither.navigation).length).toBeGreaterThan(0); @@ -173,6 +186,7 @@ describe('Setup → Diagnostics: each entry is served to the holders of its own it('the platform administrator is served all three entries, as before', async () => { const admin = await servedSetup(ADMIN_FULL_ACCESS_CAPABILITIES.systemPermissions ?? []); - expect(diagnostics(admin)?.sort()).toEqual(['nav_audit_logs', 'nav_notifications', 'nav_sessions']); + expect(servedFormerDiagnostics(admin)).toEqual(['nav_audit_logs', 'nav_notifications', 'nav_sessions']); + expect(diagnostics(admin)?.[0]).toBe('nav_audit_logs'); }); }); diff --git a/packages/platform-objects/src/apps/setup-nav.contributions.ts b/packages/platform-objects/src/apps/setup-nav.contributions.ts index cc0970ab904..015f8780b61 100644 --- a/packages/platform-objects/src/apps/setup-nav.contributions.ts +++ b/packages/platform-objects/src/apps/setup-nav.contributions.ts @@ -9,17 +9,49 @@ * in `@objectstack/platform-objects`. They are registered alongside * `SETUP_APP` (via `plugin-auth`'s `manifest.register`). * - * Some entries/groups are intentionally contributed by the capability plugin - * that owns the underlying objects rather than living here (ADR-0029 K2): - * - `group_integrations` → `@objectstack/plugin-webhooks` (K2.a) - * - `group_approvals` → `@objectstack/plugin-approvals` (K2.b) - * - `group_access_control` Positions / Permission Sets → `@objectstack/plugin-security` - * - `group_access_control` Sharing Rules / Record Shares → `@objectstack/plugin-sharing` - * As each remaining domain moves to its capability plugin, its entries move out - * of this file into that plugin the same way. + * Some entries are intentionally contributed by the capability plugin that + * owns the underlying objects rather than living here (ADR-0029 K2), e.g. + * `@objectstack/plugin-webhooks`, `@objectstack/plugin-approvals`, + * `@objectstack/plugin-security` (position members, permission set grants) + * and `@objectstack/plugin-sharing` (sharing rules, sharing details, work + * queues). As each remaining domain moves to its capability plugin, its + * entries move out of this file into that plugin the same way. * - * Priority 100 keeps platform-objects base entries ahead of later - * contributions in the same group (mirrors object owner priority). + * ## Groups, order and names (epic #39050, rulings D1–D4; #39057) + * + * Every entry here names one of the ten group ids of `setup.app.ts` directly, + * never a retired id, so none of them draws `nav_contribution_group_renamed`. + * The order inside a group is the ruled one; where entries contributed by a + * capability plugin sit between entries of this file, the `priority` of each + * contribution below leaves them a slot (lower applied first): + * + * group_users_org 100: Company Information first (ruling D3), then + * Users, Invitations, Teams, Business Units, + * Organizations + * group_access_sharing 100: Positions and Permissions; the plugins' + * entries follow + * group_apps_ai 100: Installed Apps; 101–299 the marketplace and + * AI entries of other packages; 300: AI Model + * Service; Connect an AI Assistant after it + * group_audit_data 200: after the Audit Log (plugin-audit, 100) + * group_company 200: after Branding & Appearance (service-settings) + * group_currency_units 100 + * group_notifications 200: Email / SMS Channel, after Notification + * Templates; 201–399 Notification Preferences; + * 400: Delivery Log + * group_login_security 100 + * group_integrations_dev 100: API Keys, OAuth Applications; 101–499 the + * plugins' integrations; 500: Public Forms last + * + * `setup-platform-items-39057.test.ts` pins the groups, the order and the + * labels against the epic's table, and the aliases below. + * + * ## Old names stay searchable (`keywords`, #39052) + * + * A renamed entry lists its former source-language label(s) in `keywords`; each + * locale's former label sits on that locale's bundle node + * (`apps.setup.navigation..keywords` in `translations/.ts`), so an + * administrator who searches by the name they knew still finds the page. */ import type { NavigationContribution } from '@objectstack/spec/ui'; @@ -29,15 +61,77 @@ const BASE_PRIORITY = 100; // The marketplace's Browse entry lives in @objectstack/cloud-connection's // marketplace plugins (cloud ADR-0009: the nav lives and dies with the // capability — no plugin, no entry). What is installed is listed by this -// package's own Packages entry below (objectstack#36834). +// package's own Installed Apps entry below (objectstack#36834). // // The System Overview entry is not contributed: it is the pinned top item of // `setup.app.ts` itself (#39053), because a contribution without `group` is // appended at the end of the top level and cannot pin itself. +// +// No "All Settings" entry (`nav_settings_hub`, epic #39050): the command +// palette finds every settings page, and every settings page has its own entry +// below. Its address, `/apps/setup/system/settings`, still opens the hub; the +// console's `/apps/setup/system` landing redirects there. export const SETUP_NAV_CONTRIBUTIONS: NavigationContribution[] = [ { app: 'setup', - group: 'group_apps', + group: 'group_users_org', + priority: BASE_PRIORITY, + items: [ + // Company Information is the first entry of Users & Organization + // (epic #39050, ruling D3); the group keeps its name. The organization's + // legal identity, registered address and contact (the `company` settings + // namespace, tenant scope, read=`setup.access`). No `requiredPermissions`: + // the app's base `setup.access` is the manifest's read permission. + { id: 'nav_settings_company', type: 'url', label: 'Company Information', url: '/apps/setup/system/settings/company', icon: 'building-2', keywords: ['Company'] }, + // `viewName` names the tenant-wide list (#21960). With no view named, + // the console opens the object's FIRST declared list view, and + // `sys_user` used to declare `me` first — a one-row view of the caller — + // so an administrator landed on themselves and read "this organization + // has one user". Every object entry here names its unscoped view the + // same way (#21972), so no entry depends on the declared order; `me` + // stays a tab in the view switcher. + { id: 'nav_users', type: 'object', label: 'Users', objectName: 'sys_user', viewName: 'all_users', icon: 'user' }, + // Teams / Invitations no longer gate on `org-scoping` (cloud ADR-0081 D1): + // the better-auth organization capability is always mounted, and + // plugin-auth's single-org default-org bootstrap guarantees an org to + // invite into — these are the OPEN member-management basics. Only the + // org LIST below keeps the gate: browsing organizations is meaningful + // only when more than one can exist (a walled multi-org posture). + { id: 'nav_invitations', type: 'object', label: 'Invitations', objectName: 'sys_invitation', icon: 'mail' }, + { id: 'nav_teams', type: 'object', label: 'Teams', objectName: 'sys_team', icon: 'users-round' }, + // Ruling D4: the entry keeps its name; 部门 / 组织架构 / 事业部 are its + // search aliases (部门 and 事业部 are values of the business unit `kind`). + { id: 'nav_business_units', type: 'object', label: 'Business Units', objectName: 'sys_business_unit', icon: 'building', requiresObject: 'sys_business_unit', keywords: ['Department', 'Organization Structure', 'Division'] }, + { id: 'nav_organizations', type: 'object', label: 'Organizations', objectName: 'sys_organization', icon: 'building-2', requiresService: 'org-scoping' }, + // The ACTIVE organization's record page (Members / Invitations / Teams + // tabs with the better-auth row actions), rendered inside the app shell + // (cloud ADR-0081 D3). `{current_org_id}` resolves from the session's active + // organization; unresolved (e.g. org-less admin before bootstrap) it + // falls back to the sys_organization list — one row in single-org. + // The epic's table does not list this entry; it stays in its group, last. + { id: 'nav_organization', type: 'object', label: 'Organization', objectName: 'sys_organization', recordId: '{current_org_id}', icon: 'building-2' }, + ], + }, + { + app: 'setup', + group: 'group_access_sharing', + // [ADR-0084, amended 2026-11-26, question 5] The environment directory — + // positions, capabilities, permission sets and sharing rules across every + // package — left Studio's menu for this group: Setup holds what is global. + // Priority 100 keeps it first, where plugin-security's catalog entries were. + // Gate: `studio.access`, the Studio entry that admitted a principal to the + // directory before it moved, so moving it widens nobody's view; the Setup + // app's `setup.access` applies on top. Its items still open in Studio + // (ADR-0146 D1). The console binds the ref to its page (app-shell + // `builtinComponents`). + priority: BASE_PRIORITY, + items: [ + { id: 'nav_access_directory', type: 'component', label: 'Positions and Permissions', componentRef: 'security:access-directory', icon: 'key-round', requiredPermissions: ['studio.access'] }, + ], + }, + { + app: 'setup', + group: 'group_apps_ai', priority: BASE_PRIORITY, items: [ // objectstack#36834 — Setup's one door to what is installed, amending @@ -56,20 +150,22 @@ export const SETUP_NAV_CONTRIBUTIONS: NavigationContribution[] = [ // (`nav_marketplace_installed`, retired from // `@objectstack/cloud-connection`'s `MARKETPLACE_INSTALLED_UI_BUNDLE`): // marketplace installs are this list under Source = marketplace, and an - // old `?source=marketplace` link still opens that face filtered. + // old `?source=marketplace` link still opens that face filtered. The + // entry took that name over when Setup was regrouped (epic #39050). // - // Gated like Setup's other administration entries (All Settings, Public - // Forms): `manage_platform_settings`. The server's gates on the package + // Gated like Setup's other administration entries (Public Forms, File + // Storage): `manage_platform_settings`. The server's gates on the package // routes stay the authority (`manage_metadata` on every write). // `setup-packages-door.test.ts` pins what this package ships for each app. { id: 'nav_packages', type: 'component', - label: 'Packages', + label: 'Installed Apps', componentRef: 'developer:packages', params: { face: 'admin' }, icon: 'package', requiredPermissions: ['manage_platform_settings'], + keywords: ['Packages'], }, ], }, @@ -83,89 +179,69 @@ export const SETUP_NAV_CONTRIBUTIONS: NavigationContribution[] = [ // `setup-packaged-actions-nav.test.ts` pins both retirements. { app: 'setup', - group: 'group_people_org', - priority: BASE_PRIORITY, + group: 'group_apps_ai', + // After the marketplace and the AI entries other packages contribute. + priority: 300, items: [ - // `viewName` names the tenant-wide list (#21960). With no view named, - // the console opens the object's FIRST declared list view, and - // `sys_user` used to declare `me` first — a one-row view of the caller — - // so an administrator landed on themselves and read "this organization - // has one user". Every object entry here names its unscoped view the - // same way (#21972), so no entry depends on the declared order; `me` - // stays a tab in the view switcher. - { id: 'nav_users', type: 'object', label: 'Users', objectName: 'sys_user', viewName: 'all_users', icon: 'user' }, - // The ACTIVE organization's record page (Members / Invitations / Teams - // tabs with the better-auth row actions), rendered inside the app shell - // (cloud ADR-0081 D3). `{current_org_id}` resolves from the session's active - // organization; unresolved (e.g. org-less admin before bootstrap) it - // falls back to the sys_organization list — one row in single-org. - { id: 'nav_organization', type: 'object', label: 'Organization', objectName: 'sys_organization', recordId: '{current_org_id}', icon: 'building-2' }, - { id: 'nav_business_units', type: 'object', label: 'Business Units', objectName: 'sys_business_unit', icon: 'building', requiresObject: 'sys_business_unit' }, - // Teams / Invitations no longer gate on `org-scoping` (cloud ADR-0081 D1): - // the better-auth organization capability is always mounted, and - // plugin-auth's single-org default-org bootstrap guarantees an org to - // invite into — these are the OPEN member-management basics. Only the - // org LIST below keeps the gate: browsing organizations is meaningful - // only when more than one can exist (a walled multi-org posture). - { id: 'nav_teams', type: 'object', label: 'Teams', objectName: 'sys_team', icon: 'users-round' }, - { id: 'nav_organizations', type: 'object', label: 'Organizations', objectName: 'sys_organization', icon: 'building-2', requiresService: 'org-scoping' }, - { id: 'nav_invitations', type: 'object', label: 'Invitations', objectName: 'sys_invitation', icon: 'mail' }, + { id: 'nav_settings_ai', type: 'url', label: 'AI Model Service', url: '/apps/setup/system/settings/ai', icon: 'sparkles', requiredPermissions: ['manage_platform_settings'], keywords: ['AI & Embedder'] }, ], }, + // group_routing_approvals is filled by @objectstack/plugin-approvals, which + // owns sys_approval_request / sys_approval_action (ADR-0029 K2.b), and by + // @objectstack/plugin-sharing (assignment rules, work queues). { app: 'setup', - group: 'group_access_control', - // [ADR-0084, amended 2026-11-26, question 5] The environment directory — - // positions, capabilities, permission sets and sharing rules across every - // package — left Studio's menu for this group: Setup holds what is global. - // Priority 100 keeps it first, where plugin-security's catalog entries were. - // Gate: `studio.access`, the Studio entry that admitted a principal to the - // directory before it moved, so moving it widens nobody's view; the Setup - // app's `setup.access` applies on top. Its items still open in Studio - // (ADR-0146 D1). The console binds the ref to its page (app-shell - // `builtinComponents`). - priority: 100, + group: 'group_audit_data', + // After the Audit Log, which @objectstack/plugin-audit contributes at 100. + priority: 200, items: [ - { id: 'nav_access_directory', type: 'component', label: 'Positions and Permissions', componentRef: 'security:access-directory', icon: 'key-round', requiredPermissions: ['studio.access'] }, + // The recycle bin (ADR-0148, objectstack#30239): each object's deleted + // records, to restore one or empty the bin. Beside the `sys_recycle_bin` + // store this package registers. No `requiredPermissions`: the grant is + // per object (`manageRecycleBin`), and the page lists only the objects + // whose bin the caller manages. + { id: 'nav_recycle_bin', type: 'component', label: 'Recycle Bin', componentRef: 'data:recycle-bin', icon: 'trash-2' }, + // `lifecycle` is `@objectstack/objectql`'s manifest (ADR-0057), offered + // wherever a settings service is mounted, like the entries below. + { id: 'nav_settings_lifecycle', type: 'url', label: 'Data Retention', url: '/apps/setup/system/settings/lifecycle', icon: 'timer', requiredPermissions: ['manage_platform_settings'], keywords: ['Data Lifecycle'] }, + // [#33891] A cloud-managed environment's file storage is the hosting + // platform's: the settings doors refuse the page there + // (`@objectstack/service-settings` `cloud-managed-settings.ts`), so the + // entry is not drawn. `features` is a root every nav entry binds. + { id: 'nav_settings_storage', type: 'url', label: 'File Storage', url: '/apps/setup/system/settings/storage', icon: 'hard-drive', requiredPermissions: ['manage_platform_settings'], visible: 'features.cloudManaged != true' }, ], }, { app: 'setup', - group: 'group_access_control', - // Priority 300 keeps API Keys after plugin-security's Positions / Permission - // Sets (100) and plugin-sharing's Sharing Rules / Record Shares (200), - // preserving the original menu order. - priority: 300, + group: 'group_company', + // After Branding & Appearance, which `@objectstack/service-settings` + // contributes with the `branding` namespace — offered only where no + // organization wall stands (#24766), so that entry lives and dies with it. + priority: 200, items: [ - // Positions / Permission Sets are contributed by @objectstack/plugin-security - // and Sharing Rules / Record Shares by @objectstack/plugin-sharing - // (ADR-0029 K2). Only API Keys (sys_api_key, an identity object owned by - // plugin-auth) remains a platform-objects base entry here. - { id: 'nav_api_keys', type: 'object', label: 'API Keys', objectName: 'sys_api_key', viewName: 'all_keys', icon: 'key', requiredPermissions: ['manage_platform_settings'] }, + // Localization's page (the `localization` namespace, tenant scope, + // read=`setup.access`): the first thing a new company admin configures + // after the company itself. No `requiredPermissions` — the read perm is + // the app's base `setup.access`. + { id: 'nav_settings_localization', type: 'url', label: 'Language & Region', url: '/apps/setup/system/settings/localization', icon: 'globe', keywords: ['Localization'] }, + // [ADR-0157 D1, D3] Working calendars and their holidays. The exceptions + // get their own entry because their list page is the import door for a + // year of holidays; the calendar list's `needs_maintenance` view is the + // D8 notice. No `requiredPermissions`: the object grant decides. + { id: 'nav_work_calendars', type: 'object', label: 'Working Calendars', objectName: 'sys_work_calendar', viewName: 'all_calendars', icon: 'calendar-clock' }, + { id: 'nav_work_calendar_exceptions', type: 'object', label: 'Holidays & Workday Swaps', objectName: 'sys_work_calendar_exception', viewName: 'all_exceptions', icon: 'calendar-x', keywords: ['Calendar Exceptions'] }, ], }, - // group_approvals is contributed by @objectstack/plugin-approvals, which owns - // sys_approval_request / sys_approval_action (ADR-0029 K2.b). { app: 'setup', - group: 'group_configuration', + group: 'group_currency_units', priority: BASE_PRIORITY, items: [ - { id: 'nav_settings_hub', type: 'url', label: 'All Settings', url: '/apps/setup/system/settings', icon: 'settings-2', requiredPermissions: ['manage_platform_settings'] }, - // Workspace identity first — Localization (order 2) and Company (order 3) - // are the lowest-`order` settings manifests and the first thing a new - // company admin configures. They ship as `service-settings` manifests - // (tenant scope, read=`setup.access`) but were never pinned here, so they - // were reachable only by drilling into the "All Settings" hub. Mainstream - // admin consoles (Salesforce "Company Information", ServiceNow) surface - // both directly. No `requiredPermissions` — matches Branding (read perm is - // the app's base `setup.access`). - { id: 'nav_settings_localization', type: 'url', label: 'Localization', url: '/apps/setup/system/settings/localization', icon: 'globe' }, // Multi-currency M1-1 (epic #8345): the dated rates from the home - // currency Localization sets, so the entry sits directly under it. The - // list page states the rate direction (`EXCHANGE_RATE_DIRECTION`). No - // `requiredPermissions`: the object grant decides who reads and writes - // (organization admins), and Setup itself already needs `setup.access`. + // currency Language & Region sets. The list page states the rate + // direction (`EXCHANGE_RATE_DIRECTION`). No `requiredPermissions`: the + // object grant decides who reads and writes (organization admins), and + // Setup itself already needs `setup.access`. { id: 'nav_exchange_rates', type: 'object', label: 'Exchange Rates', objectName: 'sys_exchange_rate', viewName: 'all_rates', icon: 'arrow-right-left' }, // [ADR-0158 U3] The organization's own units of measure, beside the // exchange rates as the other per-organization reference table. No @@ -174,78 +250,63 @@ export const SETUP_NAV_CONTRIBUTIONS: NavigationContribution[] = [ { id: 'nav_units_of_measure', type: 'object', label: 'Units of Measure', objectName: 'sys_unit', viewName: 'all_units', icon: 'ruler' }, // [ADR-0158 U6, Open item 10] The decimal places each standard unit // displays with in the organization, next to the organization's own - // units. No `requiredPermissions`, for the same reason as the entry above. - { id: 'nav_standard_unit_settings', type: 'object', label: 'Standard Unit Settings', objectName: 'sys_standard_unit_setting', viewName: 'all_settings', icon: 'ruler' }, - // [ADR-0157 D1, D3] Working calendars and their holidays, beside the - // other organization reference data Localization governs. The exceptions - // get their own entry because their list page is the import door for a - // year of holidays; the calendar list's `needs_maintenance` view is the - // D8 notice. Access as Exchange Rates: the object grant decides. - { id: 'nav_work_calendars', type: 'object', label: 'Working Calendars', objectName: 'sys_work_calendar', viewName: 'all_calendars', icon: 'calendar-clock' }, - { id: 'nav_work_calendar_exceptions', type: 'object', label: 'Calendar Exceptions', objectName: 'sys_work_calendar_exception', viewName: 'all_exceptions', icon: 'calendar-x' }, - { id: 'nav_settings_company', type: 'url', label: 'Company', url: '/apps/setup/system/settings/company', icon: 'building-2' }, - // `nav_settings_branding` is contributed by `@objectstack/service-settings` - // with the `branding` namespace, which is offered only where no - // organization wall stands (#24766) — so the entry lives and dies with it. - { id: 'nav_settings_auth', type: 'url', label: 'Authentication', url: '/apps/setup/system/settings/auth', icon: 'lock-keyhole', requiredPermissions: ['manage_platform_settings'] }, - // [ADR-0069 TL;DR 6] An organization's own sign-in restrictions, held to - // the deployment's Authentication values (the `access_policy` namespace, - // scope `tenant`). No `requiredPermissions`: like Localization, the - // manifest's `setup.access` read is the app's base permission, and an - // organization administrator writes it (`setup.write`). - { id: 'nav_settings_access_policy', type: 'url', label: 'Access policy', url: '/apps/setup/system/settings/access_policy', icon: 'shield-check' }, - // Every entry below opening a settings page carries that page's hub - // title, and every hub page has one (#27854): the sidebar and the - // "All Settings" hub are two lists of one set of pages. Pinned against - // the registered manifests and both translation bundles in - // `@objectstack/service-settings` (`setup-nav-hub-parity.test.ts`). - { id: 'nav_settings_mail', type: 'url', label: 'Mail Delivery', url: '/apps/setup/system/settings/mail', icon: 'mail', requiredPermissions: ['manage_platform_settings'] }, - { id: 'nav_settings_sms', type: 'url', label: 'SMS Delivery', url: '/apps/setup/system/settings/sms', icon: 'message-square', requiredPermissions: ['manage_platform_settings'] }, - // [#33891] A cloud-managed environment's file storage is the hosting - // platform's: the settings doors refuse the page there - // (`@objectstack/service-settings` `cloud-managed-settings.ts`), so the - // entry is not drawn. `features` is a root every nav entry binds. - { id: 'nav_settings_storage', type: 'url', label: 'File Storage', url: '/apps/setup/system/settings/storage', icon: 'hard-drive', requiredPermissions: ['manage_platform_settings'], visible: 'features.cloudManaged != true' }, - { id: 'nav_settings_ai', type: 'url', label: 'AI & Embedder', url: '/apps/setup/system/settings/ai', icon: 'sparkles', requiredPermissions: ['manage_platform_settings'] }, - // `nav_settings_knowledge` is contributed by `@objectstack/service-knowledge` - // with the `knowledge` namespace, which is offered only where that - // service is mounted — so the entry lives and dies with it. - // `lifecycle` is `@objectstack/objectql`'s manifest (ADR-0057), offered - // wherever a settings service is mounted, like the entries above. - { id: 'nav_settings_lifecycle', type: 'url', label: 'Data Lifecycle', url: '/apps/setup/system/settings/lifecycle', icon: 'timer', requiredPermissions: ['manage_platform_settings'] }, - // The recycle bin (ADR-0148, objectstack#30239): each object's deleted - // records, to restore one or empty the bin. Beside the `sys_recycle_bin` - // store this package registers. No `requiredPermissions`: the grant is - // per object (`manageRecycleBin`), and the page lists only the objects - // whose bin the caller manages. - { id: 'nav_recycle_bin', type: 'component', label: 'Recycle Bin', componentRef: 'data:recycle-bin', icon: 'trash-2' }, - // objectstack#36444 — every public form of the environment (a form anyone - // fills in without signing in): switch one on or off, copy its address, - // open it. Operations only; Studio designs the forms. For system - // administrators: the page asks the same capability. - { id: 'nav_public_forms', type: 'component', label: 'Public Forms', componentRef: 'forms:public-forms', icon: 'file-text', requiredPermissions: ['manage_platform_settings'] }, + // units — which is what the new name says. No `requiredPermissions`, for + // the same reason as the entry above. + { id: 'nav_standard_unit_settings', type: 'object', label: 'Standard Unit Decimals', objectName: 'sys_standard_unit_setting', viewName: 'all_settings', icon: 'ruler', keywords: ['Standard Unit Settings'] }, ], }, { app: 'setup', - group: 'group_diagnostics', + group: 'group_notifications', + // After Notification Templates (`@objectstack/service-messaging`). + priority: 200, + items: [ + // Every entry opening a settings page carries a name of that page, and + // the hub at `/apps/setup/system/settings` lists the same pages (#27854, + // pinned in `@objectstack/service-settings` `setup-nav-hub-parity.test.ts`). + { id: 'nav_settings_mail', type: 'url', label: 'Email Channel', url: '/apps/setup/system/settings/mail', icon: 'mail', requiredPermissions: ['manage_platform_settings'], keywords: ['Mail Delivery'] }, + { id: 'nav_settings_sms', type: 'url', label: 'SMS Channel', url: '/apps/setup/system/settings/sms', icon: 'message-square', requiredPermissions: ['manage_platform_settings'], keywords: ['SMS Delivery'] }, + ], + }, + { + app: 'setup', + group: 'group_notifications', + // Last in the group, after Notification Preferences. + priority: 400, + items: [ + // What was sent, to whom and whether it arrived (`sys_notification`'s + // `recent` list). Gated on `manage_platform_settings`, the gate the + // retired Diagnostics group gave it, so it is served to exactly the + // members it was before. + { id: 'nav_notifications', type: 'object', label: 'Delivery Log', objectName: 'sys_notification', viewName: 'recent', icon: 'bell', requiresObject: 'sys_notification', requiredPermissions: ['manage_platform_settings'], keywords: ['Notification Events', 'Notifications'] }, + ], + }, + { + app: 'setup', + group: 'group_login_security', priority: BASE_PRIORITY, items: [ - // Audit Logs (sys_audit_log) is contributed by @objectstack/plugin-audit - // which now owns it (ADR-0029 K2), gated on its own read capability. - // - // `group_diagnostics` carries no gate of its own, so each entry here - // carries the `manage_platform_settings` gate the group used to: the - // two entries are served to exactly the members they were before. - { id: 'nav_sessions', type: 'object', label: 'Sessions', objectName: 'sys_session', viewName: 'all_sessions', icon: 'monitor', requiredPermissions: ['manage_platform_settings'] }, - { id: 'nav_notifications', type: 'object', label: 'Notification Events', objectName: 'sys_notification', viewName: 'recent', icon: 'bell', requiresObject: 'sys_notification', requiredPermissions: ['manage_platform_settings'] }, + { id: 'nav_settings_auth', type: 'url', label: 'Sign-in Methods', url: '/apps/setup/system/settings/auth', icon: 'lock-keyhole', requiredPermissions: ['manage_platform_settings'], keywords: ['Authentication'] }, + // [ADR-0069 TL;DR 6] An organization's own sign-in restrictions, held to + // the deployment's Sign-in Methods values (the `access_policy` namespace, + // scope `tenant`). No `requiredPermissions`: the manifest's + // `setup.access` read is the app's base permission, and an organization + // administrator writes it (`setup.write`). + { id: 'nav_settings_access_policy', type: 'url', label: 'Access policy', url: '/apps/setup/system/settings/access_policy', icon: 'shield-check' }, + // The group carries no gate of its own, so this entry carries the + // `manage_platform_settings` gate the retired Diagnostics group gave it. + { id: 'nav_sessions', type: 'object', label: 'Active Sessions', objectName: 'sys_session', viewName: 'all_sessions', icon: 'monitor', requiredPermissions: ['manage_platform_settings'], keywords: ['Sessions'] }, ], }, { app: 'setup', - group: 'group_advanced', + group: 'group_integrations_dev', + // The group's own gate is `manage_platform_settings` (`setup.app.ts`). priority: BASE_PRIORITY, items: [ + // `sys_api_key` is an identity object owned by plugin-auth; the entry + // stays a platform-objects base entry. + { id: 'nav_api_keys', type: 'object', label: 'API Keys', objectName: 'sys_api_key', viewName: 'all_keys', icon: 'key', requiredPermissions: ['manage_platform_settings'] }, { id: 'nav_oauth_apps', type: 'object', label: 'OAuth Applications', objectName: 'sys_oauth_application', viewName: 'all_apps', icon: 'app-window' }, // No `nav_jwks` here (#7544). `sys_jwks` is the environment's JWT SIGNING // KEY store (`private_key` — private key material), and it declares @@ -291,4 +352,17 @@ export const SETUP_NAV_CONTRIBUTIONS: NavigationContribution[] = [ // their routes are unchanged; only the two menu entries left. ], }, + { + app: 'setup', + group: 'group_integrations_dev', + // Last in the group, after the integrations other packages contribute. + priority: 500, + items: [ + // objectstack#36444 — every public form of the environment (a form anyone + // fills in without signing in): switch one on or off, copy its address, + // open it. Operations only; Studio designs the forms. For system + // administrators: the page asks the same capability. + { id: 'nav_public_forms', type: 'component', label: 'Public Forms', componentRef: 'forms:public-forms', icon: 'file-text', requiredPermissions: ['manage_platform_settings'] }, + ], + }, ]; diff --git a/packages/platform-objects/src/apps/setup-packaged-actions-nav.test.ts b/packages/platform-objects/src/apps/setup-packaged-actions-nav.test.ts index 6c43f2c60a4..4a40349c51c 100644 --- a/packages/platform-objects/src/apps/setup-packaged-actions-nav.test.ts +++ b/packages/platform-objects/src/apps/setup-packaged-actions-nav.test.ts @@ -55,13 +55,14 @@ describe('Setup ships no packaged-automation page (ADR-0146 D4 as amended, D11)' expect(items.filter((i) => i.componentRef === 'automation:packaged-actions')).toEqual([]); }); - // The retired entries sat in `group_apps`. Since objectstack#36834 that group - // carries Setup's Packages entry, so the pin reads what is left there: no - // contribution emptied into a shell, and nothing but `nav_packages` - // (`setup-packages-door.test.ts` pins that entry itself). - it('no contribution is an empty group_apps shell left behind', () => { - const apps = SETUP_NAV_CONTRIBUTIONS.filter((c) => c.group === 'group_apps'); + // The retired entries sat in `group_apps`, which `group_apps_ai` took over + // (#39053); since objectstack#36834 it carries Setup's Installed Apps entry, + // and since #39057 the AI Model Service entry too. The pin reads what is left + // there: no contribution emptied into a shell, and only those two entries + // (`setup-packages-door.test.ts` pins the first itself). + it('no contribution is an empty group_apps_ai shell left behind', () => { + const apps = SETUP_NAV_CONTRIBUTIONS.filter((c) => c.group === 'group_apps_ai'); expect(apps.filter((c) => (c.items ?? []).length === 0)).toEqual([]); - expect(apps.flatMap((c) => (c.items as NavItem[]).map((i) => i.id))).toEqual(['nav_packages']); + expect(apps.flatMap((c) => (c.items as NavItem[]).map((i) => i.id))).toEqual(['nav_packages', 'nav_settings_ai']); }); }); diff --git a/packages/platform-objects/src/apps/setup-packages-door.test.ts b/packages/platform-objects/src/apps/setup-packages-door.test.ts index bed87b9cc16..b356a944416 100644 --- a/packages/platform-objects/src/apps/setup-packages-door.test.ts +++ b/packages/platform-objects/src/apps/setup-packages-door.test.ts @@ -13,8 +13,8 @@ // which lands in Studio — and none of the authoring actions; // - opened with no `face`, it is the development surface with every action. // -// So Setup ships exactly one entry to the list, `nav_packages` in `group_apps`, -// and it names the administration face. It is UNFILTERED (no `source`): the +// So Setup ships exactly one entry to the list, `nav_packages` (Installed Apps) +// in `group_apps_ai`, and it names the administration face. It is UNFILTERED (no `source`): the // marketplace-filtered "Installed Apps" entry that // `@objectstack/cloud-connection` used to contribute retired with this card, // and seeing only marketplace installs is the page's own Source filter @@ -85,11 +85,11 @@ describe('Setup opens the package list on its administration face; Studio keeps expect(isPackagesDoor({ type: 'component', componentRef: 'metadata:directory' })).toBe(false); }); - it('Setup ships exactly one package-list entry: `nav_packages` in `group_apps`, administration face, unfiltered', () => { + it('Setup ships exactly one package-list entry: `nav_packages` in `group_apps_ai`, administration face, unfiltered', () => { const items = setupItems(); // Control: the walk reads the real Setup shell and its contributions. The - // shell's anchor is `group_apps_ai`, which took `group_apps` over through - // `renamedFrom` (#39053); the contribution below still names the old id. + // contribution names the shell's anchor `group_apps_ai` directly (#39057), + // not the retired `group_apps` it took over through `renamedFrom` (#39053). expect(items.some((i) => i.id === 'group_apps_ai')).toBe(true); expect(items.some((i) => i.id === 'nav_users')).toBe(true); @@ -106,16 +106,21 @@ describe('Setup opens the package list on its administration face; Studio keeps // Never the development surface. expect(items.filter(isDevelopmentDoor)).toEqual([]); - const appsGroup = SETUP_NAV_CONTRIBUTIONS.filter((c) => c.group === 'group_apps'); - expect(appsGroup.flatMap((c) => (c.items as NavItem[]).map((i) => i.id))).toEqual(['nav_packages']); + const appsGroup = SETUP_NAV_CONTRIBUTIONS.filter((c) => c.group === 'group_apps_ai'); + const appsItems = appsGroup.flatMap((c) => c.items as NavItem[]); + expect(appsItems.map((i) => i.id)).toContain('nav_packages'); + expect(appsItems.filter(isPackagesDoor).map((i) => i.id)).toEqual(['nav_packages']); + expect(SETUP_NAV_CONTRIBUTIONS.filter((c) => c.group === 'group_apps')).toEqual([]); }); it('the entry is gated like Setup\'s other administration entries', () => { const entry = setupItems().find((i) => i.id === 'nav_packages'); - const settingsHub = setupItems().find((i) => i.id === 'nav_settings_hub'); - // Control: the pattern it follows is the one the hub carries today. - expect(settingsHub?.requiredPermissions).toEqual(['manage_platform_settings']); - expect(entry?.requiredPermissions).toEqual(settingsHub?.requiredPermissions); + // The "All Settings" entry this used to follow left the navigation + // (#39057); Public Forms carries the same administration gate. + const publicForms = setupItems().find((i) => i.id === 'nav_public_forms'); + // Control: the pattern it follows is the one Public Forms carries today. + expect(publicForms?.requiredPermissions).toEqual(['manage_platform_settings']); + expect(entry?.requiredPermissions).toEqual(publicForms?.requiredPermissions); }); // The declared `@objectstack/studio` app, for a host that loads it. Not the diff --git a/packages/platform-objects/src/apps/setup-platform-items-39057.test.ts b/packages/platform-objects/src/apps/setup-platform-items-39057.test.ts new file mode 100644 index 00000000000..85dc569e270 --- /dev/null +++ b/packages/platform-objects/src/apps/setup-platform-items-39057.test.ts @@ -0,0 +1,328 @@ +// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. +// +// Setup's platform-owned entries sit in their new groups, in the ruled order, +// under the new names, and every old name stays searchable (epic #39050, +// rulings D1–D4; #39057). +// +// What this file pins, on what THIS package ships: +// +// - each entry of `SETUP_NAV_CONTRIBUTIONS` names one of the ten group ids of +// `setup.app.ts` directly — never a retired id, so none of them draws the +// `nav_contribution_group_renamed` notice — and, folded the way the registry +// folds contributions (`applyNavContributions`: lower priority first, ties +// in registration order), lands in the epic's order; +// - the priority each contribution carries leaves the slot the epic's order +// gives the capability plugins' entries between this package's ones; +// - the Chinese labels read as the epic's table does, and every renamed entry +// carries its new label in all eleven locales; +// - every renamed entry keeps its former name as a search alias: the source +// list on the item (`keywords`), each locale's former label on that locale's +// bundle node; Business Units carries 部门 / 组织架构 / 事业部 (ruling D4); +// every group that took a retired group over carries that group's former +// name the same way; +// - "All Settings" (`nav_settings_hub`) is in no navigation and no bundle. +// Its address, `/apps/setup/system/settings`, still opens the settings hub: +// the console's route is pinned by +// `ui/apps/console/src/__tests__/AppContent.systemHubRoutes.test.tsx`, and +// the hub's page list by `@objectstack/service-settings`' +// `setup-nav-hub-parity.test.ts`. +// +// The entries capability plugins contribute (marketplace, approvals, sharing, +// security, audit, messaging, …) move to the new ids in their own packages; +// only their labels live in this package's bundles, and their renames are +// pinned here. +import { describe, expect, it } from 'vitest'; +import { AppSchema, NavigationContributionSchema } from '@objectstack/spec/ui'; + +import { SETUP_APP } from './setup.app.js'; +import { SETUP_NAV_CONTRIBUTIONS } from './setup-nav.contributions.js'; +import { en } from './translations/en.js'; +import { zhCN } from './translations/zh-CN.js'; +import { zhHant } from './translations/zh-Hant.js'; +import { jaJP } from './translations/ja-JP.js'; +import { ko } from './translations/ko.js'; +import { esES } from './translations/es-ES.js'; +import { fr } from './translations/fr.js'; +import { ptBR } from './translations/pt-BR.js'; +import { ru } from './translations/ru.js'; +import { de } from './translations/de.js'; +import { ar } from './translations/ar.js'; + +const BUNDLES = { en, 'zh-CN': zhCN, 'zh-Hant': zhHant, 'ja-JP': jaJP, ko, 'es-ES': esES, fr, 'pt-BR': ptBR, ru, de, ar } as const; +type Locale = keyof typeof BUNDLES; +const LOCALES = Object.keys(BUNDLES) as Locale[]; +const TRANSLATED = LOCALES.filter((l) => l !== 'en'); + +type NavItem = { id?: string; type?: string; label?: string; url?: string; keywords?: string[]; renamedFrom?: string[]; children?: NavItem[] }; +type BundleNode = { label?: string; keywords?: string[] }; + +const bundleNode = (locale: Locale, id: string): BundleNode | undefined => + ((BUNDLES[locale].apps?.setup?.navigation ?? {}) as Record)[id]; + +/** The shell's groups, in order. */ +const shellGroups = (): NavItem[] => (SETUP_APP.navigation as NavItem[]).filter((i) => i.type === 'group'); + +/** + * `SETUP_NAV_CONTRIBUTIONS` folded into the shell the way the registry does + * (`SchemaRegistry.applyNavContributions`): sorted by priority, lower first, + * ties in registration order (`Array.prototype.sort` is stable), each + * contribution's items appended to the group whose id it names exactly. + */ +function foldPlatformItems(): Map { + const byGroup = new Map(shellGroups().map((g) => [g.id!, []])); + const sorted = [...SETUP_NAV_CONTRIBUTIONS].sort((a, b) => (a.priority ?? 200) - (b.priority ?? 200)); + for (const c of sorted) { + const children = byGroup.get(String(c.group)); + if (!children) throw new Error(`contribution names no group of the shell: ${String(c.group)}`); + children.push(...(c.items as NavItem[]).map((i) => String(i.id))); + } + return byGroup; +} + +const platformItem = (id: string): NavItem | undefined => + SETUP_NAV_CONTRIBUTIONS.flatMap((c) => c.items as NavItem[]).find((i) => i.id === id); + +// ── The epic's table, the platform-owned entries of each row ───────────────── +// +// Rows 1–10 of the table on #39050, keeping only the entries this package +// contributes, in the table's order. Users & Organization ends with the +// active organization's page (`nav_organization`, 当前组织), which the table +// does not list: it stays in the group it was in, after the listed entries. +const TABLE: ReadonlyArray = [ + ['group_users_org', ['nav_settings_company', 'nav_users', 'nav_invitations', 'nav_teams', 'nav_business_units', 'nav_organizations', 'nav_organization'], ['公司信息', '用户', '邀请', '团队', '业务单元', '所有组织', '当前组织']], + ['group_access_sharing', ['nav_access_directory'], ['岗位与权限']], + ['group_apps_ai', ['nav_packages', 'nav_settings_ai'], ['已安装应用', 'AI 模型服务']], + ['group_routing_approvals', [], []], + ['group_audit_data', ['nav_recycle_bin', 'nav_settings_lifecycle', 'nav_settings_storage'], ['回收站', '数据保留', '文件存储']], + ['group_company', ['nav_settings_localization', 'nav_work_calendars', 'nav_work_calendar_exceptions'], ['语言与区域', '工作日历', '节假日与调休']], + ['group_currency_units', ['nav_exchange_rates', 'nav_units_of_measure', 'nav_standard_unit_settings'], ['汇率', '计量单位', '标准单位小数位']], + ['group_notifications', ['nav_settings_mail', 'nav_settings_sms', 'nav_notifications'], ['邮件通道', '短信通道', '发送记录']], + ['group_login_security', ['nav_settings_auth', 'nav_settings_access_policy', 'nav_sessions'], ['登录方式', '访问策略', '在线会话']], + ['group_integrations_dev', ['nav_api_keys', 'nav_oauth_apps', 'nav_public_forms'], ['API 密钥', 'OAuth 应用', '对外表单']], +]; + +// ── Renamed entries: the former and the new label in every locale ──────────── +// +// The first twelve are this package's entries; the last four are contributed +// by capability plugins and only labelled here. Their English label is the +// plugin's own literal (each plugin's tests hold the English bundle to it), so +// it changes with that literal when the plugin moves to the new groups; the +// `en` column names the label it takes then. Until then the English bundle +// keeps the former label and needs no alias. + +const NEW_LABEL: Record> = { + nav_packages: { 'en': 'Installed Apps', 'zh-CN': '已安装应用', 'zh-Hant': '已安裝應用程式', 'ja-JP': 'インストール済みアプリ', 'ko': '설치된 앱', 'es-ES': 'Aplicaciones instaladas', 'fr': 'Applications installées', 'pt-BR': 'Aplicativos instalados', 'ru': 'Установленные приложения', 'de': 'Installierte Apps', 'ar': 'التطبيقات المثبتة' }, + nav_settings_company: { 'en': 'Company Information', 'zh-CN': '公司信息', 'zh-Hant': '公司資訊', 'ja-JP': '会社情報', 'ko': '회사 정보', 'es-ES': 'Información de la empresa', 'fr': 'Informations sur l’entreprise', 'pt-BR': 'Informações da empresa', 'ru': 'Сведения о компании', 'de': 'Unternehmensinformationen', 'ar': 'معلومات الشركة' }, + nav_settings_localization: { 'en': 'Language & Region', 'zh-CN': '语言与区域', 'zh-Hant': '語言與地區', 'ja-JP': '言語と地域', 'ko': '언어 및 지역', 'es-ES': 'Idioma y región', 'fr': 'Langue et région', 'pt-BR': 'Idioma e região', 'ru': 'Язык и регион', 'de': 'Sprache und Region', 'ar': 'اللغة والمنطقة' }, + nav_standard_unit_settings: { 'en': 'Standard Unit Decimals', 'zh-CN': '标准单位小数位', 'zh-Hant': '標準單位小數位數', 'ja-JP': '標準単位の小数桁数', 'ko': '표준 단위 소수 자릿수', 'es-ES': 'Decimales de unidades estándar', 'fr': 'Décimales des unités standard', 'pt-BR': 'Casas decimais das unidades padrão', 'ru': 'Десятичные знаки стандартных единиц', 'de': 'Dezimalstellen der Standardeinheiten', 'ar': 'المنازل العشرية للوحدات القياسية' }, + nav_work_calendar_exceptions: { 'en': 'Holidays & Workday Swaps', 'zh-CN': '节假日与调休', 'zh-Hant': '節假日與補班', 'ja-JP': '祝日と振替出勤', 'ko': '공휴일 및 대체 근무일', 'es-ES': 'Festivos y días laborables trasladados', 'fr': 'Jours fériés et jours ouvrés déplacés', 'pt-BR': 'Feriados e dias úteis compensados', 'ru': 'Праздники и переносы рабочих дней', 'de': 'Feiertage und verschobene Arbeitstage', 'ar': 'العطلات وأيام العمل البديلة' }, + nav_settings_mail: { 'en': 'Email Channel', 'zh-CN': '邮件通道', 'zh-Hant': '郵件通道', 'ja-JP': 'メールチャネル', 'ko': '이메일 채널', 'es-ES': 'Canal de correo', 'fr': 'Canal e-mail', 'pt-BR': 'Canal de e-mail', 'ru': 'Канал электронной почты', 'de': 'E-Mail-Kanal', 'ar': 'قناة البريد الإلكتروني' }, + nav_settings_sms: { 'en': 'SMS Channel', 'zh-CN': '短信通道', 'zh-Hant': '簡訊通道', 'ja-JP': 'SMS チャネル', 'ko': 'SMS 채널', 'es-ES': 'Canal de SMS', 'fr': 'Canal SMS', 'pt-BR': 'Canal de SMS', 'ru': 'Канал SMS', 'de': 'SMS-Kanal', 'ar': 'قناة الرسائل النصية' }, + nav_settings_auth: { 'en': 'Sign-in Methods', 'zh-CN': '登录方式', 'zh-Hant': '登入方式', 'ja-JP': 'サインイン方法', 'ko': '로그인 방법', 'es-ES': 'Métodos de inicio de sesión', 'fr': 'Méthodes de connexion', 'pt-BR': 'Métodos de login', 'ru': 'Способы входа', 'de': 'Anmeldemethoden', 'ar': 'طرق تسجيل الدخول' }, + nav_settings_ai: { 'en': 'AI Model Service', 'zh-CN': 'AI 模型服务', 'zh-Hant': 'AI 模型服務', 'ja-JP': 'AI モデルサービス', 'ko': 'AI 모델 서비스', 'es-ES': 'Servicio de modelos de IA', 'fr': 'Service de modèles d’IA', 'pt-BR': 'Serviço de modelos de IA', 'ru': 'Сервис моделей ИИ', 'de': 'KI-Modelldienst', 'ar': 'خدمة نماذج الذكاء الاصطناعي' }, + nav_settings_lifecycle: { 'en': 'Data Retention', 'zh-CN': '数据保留', 'zh-Hant': '資料保留', 'ja-JP': 'データ保持', 'ko': '데이터 보존', 'es-ES': 'Retención de datos', 'fr': 'Conservation des données', 'pt-BR': 'Retenção de dados', 'ru': 'Хранение данных', 'de': 'Datenaufbewahrung', 'ar': 'الاحتفاظ بالبيانات' }, + nav_notifications: { 'en': 'Delivery Log', 'zh-CN': '发送记录', 'zh-Hant': '傳送記錄', 'ja-JP': '送信履歴', 'ko': '발송 기록', 'es-ES': 'Registro de envíos', 'fr': 'Journal des envois', 'pt-BR': 'Registro de envios', 'ru': 'Журнал отправки', 'de': 'Versandprotokoll', 'ar': 'سجل الإرسال' }, + nav_sessions: { 'en': 'Active Sessions', 'zh-CN': '在线会话', 'zh-Hant': '線上工作階段', 'ja-JP': 'アクティブなセッション', 'ko': '활성 세션', 'es-ES': 'Sesiones activas', 'fr': 'Sessions actives', 'pt-BR': 'Sessões ativas', 'ru': 'Активные сеансы', 'de': 'Aktive Sitzungen', 'ar': 'الجلسات النشطة' }, + nav_position_holders: { 'en': 'Position Members', 'zh-CN': '岗位成员', 'zh-Hant': '職位成員', 'ja-JP': 'ポジションのメンバー', 'ko': '직위 구성원', 'es-ES': 'Miembros de posiciones', 'fr': 'Membres des postes', 'pt-BR': 'Membros de cargos', 'ru': 'Участники должностей', 'de': 'Positionsmitglieder', 'ar': 'أعضاء المناصب' }, + nav_permission_set_assignment: { 'en': 'Permission Set Grants', 'zh-CN': '权限集授权', 'zh-Hant': '權限集授權', 'ja-JP': '権限セットの付与', 'ko': '권한 세트 부여', 'es-ES': 'Concesiones de conjuntos de permisos', 'fr': 'Octroi des ensembles d’autorisations', 'pt-BR': 'Concessões de conjuntos de permissões', 'ru': 'Предоставление наборов разрешений', 'de': 'Vergabe von Berechtigungssätzen', 'ar': 'منح مجموعات الأذونات' }, + nav_record_shares: { 'en': 'Sharing Details', 'zh-CN': '共享明细', 'zh-Hant': '共用明細', 'ja-JP': '共有の明細', 'ko': '공유 내역', 'es-ES': 'Detalle de uso compartido', 'fr': 'Détail des partages', 'pt-BR': 'Detalhes de compartilhamento', 'ru': 'Сведения о доступе', 'de': 'Freigabedetails', 'ar': 'تفاصيل المشاركة' }, + nav_queues: { 'en': 'Work Queues', 'zh-CN': '工作队列', 'zh-Hant': '工作佇列', 'ja-JP': '作業キュー', 'ko': '작업 대기열', 'es-ES': 'Colas de trabajo', 'fr': 'Files de travail', 'pt-BR': 'Filas de trabalho', 'ru': 'Рабочие очереди', 'de': 'Arbeitswarteschlangen', 'ar': 'قوائم انتظار العمل' }, +}; + +const FORMER_LABEL: Record> = { + nav_packages: { 'en': 'Packages', 'zh-CN': '软件包', 'zh-Hant': '套件', 'ja-JP': 'パッケージ', 'ko': '패키지', 'es-ES': 'Paquetes', 'fr': 'Packages', 'pt-BR': 'Pacotes', 'ru': 'Пакеты', 'de': 'Pakete', 'ar': 'الحزم' }, + nav_settings_company: { 'en': 'Company', 'zh-CN': '公司', 'zh-Hant': '公司', 'ja-JP': '会社', 'ko': '회사', 'es-ES': 'Empresa', 'fr': 'Entreprise', 'pt-BR': 'Empresa', 'ru': 'Компания', 'de': 'Unternehmen', 'ar': 'الشركة' }, + nav_settings_localization: { 'en': 'Localization', 'zh-CN': '本地化', 'zh-Hant': '在地化', 'ja-JP': 'ローカリゼーション', 'ko': '현지화', 'es-ES': 'Localización', 'fr': 'Localisation', 'pt-BR': 'Localização', 'ru': 'Локализация', 'de': 'Lokalisierung', 'ar': 'الترجمة والإعدادات المحلية' }, + nav_standard_unit_settings: { 'en': 'Standard Unit Settings', 'zh-CN': '标准单位设置', 'zh-Hant': '標準單位設定', 'ja-JP': '標準単位の設定', 'ko': '표준 단위 설정', 'es-ES': 'Ajustes de unidades estándar', 'fr': 'Paramètres des unités standard', 'pt-BR': 'Configurações de unidades padrão', 'ru': 'Настройки стандартных единиц', 'de': 'Standardeinheiten-Einstellungen', 'ar': 'إعدادات الوحدات القياسية' }, + nav_work_calendar_exceptions: { 'en': 'Calendar Exceptions', 'zh-CN': '日历例外', 'zh-Hant': '日曆例外', 'ja-JP': 'カレンダー例外', 'ko': '캘린더 예외', 'es-ES': 'Excepciones de calendario', 'fr': 'Exceptions de calendrier', 'pt-BR': 'Exceções de calendário', 'ru': 'Исключения календаря', 'de': 'Kalenderausnahmen', 'ar': 'استثناءات التقويم' }, + nav_settings_mail: { 'en': 'Mail Delivery', 'zh-CN': '邮件投递', 'zh-Hant': '郵件投遞', 'ja-JP': 'メール配信', 'ko': '메일 전송', 'es-ES': 'Envío de correo', 'fr': 'Envoi des e-mails', 'pt-BR': 'Envio de e-mail', 'ru': 'Доставка почты', 'de': 'E-Mail-Versand', 'ar': 'إرسال البريد' }, + nav_settings_sms: { 'en': 'SMS Delivery', 'zh-CN': '短信投递', 'zh-Hant': '簡訊投遞', 'ja-JP': 'SMS 配信', 'ko': 'SMS 전송', 'es-ES': 'Envío de SMS', 'fr': 'Envoi des SMS', 'pt-BR': 'Envio de SMS', 'ru': 'Доставка SMS', 'de': 'SMS-Versand', 'ar': 'إرسال الرسائل النصية' }, + nav_settings_auth: { 'en': 'Authentication', 'zh-CN': '认证', 'zh-Hant': '驗證', 'ja-JP': '認証', 'ko': '인증', 'es-ES': 'Autenticación', 'fr': 'Authentification', 'pt-BR': 'Autenticação', 'ru': 'Аутентификация', 'de': 'Authentifizierung', 'ar': 'المصادقة' }, + nav_settings_ai: { 'en': 'AI & Embedder', 'zh-CN': 'AI 与向量化', 'zh-Hant': 'AI 與 Embedder', 'ja-JP': 'AI と Embedder', 'ko': 'AI 및 Embedder', 'es-ES': 'IA y Embedder', 'fr': 'IA et Embedder', 'pt-BR': 'IA e Embedder', 'ru': 'ИИ и Embedder', 'de': 'KI und Embedder', 'ar': 'الذكاء الاصطناعي والتضمين (Embedder)' }, + nav_settings_lifecycle: { 'en': 'Data Lifecycle', 'zh-CN': '数据生命周期', 'zh-Hant': '資料生命週期', 'ja-JP': 'データライフサイクル', 'ko': '데이터 수명 주기', 'es-ES': 'Ciclo de vida de los datos', 'fr': 'Cycle de vie des données', 'pt-BR': 'Ciclo de vida dos dados', 'ru': 'Жизненный цикл данных', 'de': 'Datenlebenszyklus', 'ar': 'دورة حياة البيانات' }, + nav_notifications: { 'en': 'Notifications', 'zh-CN': '通知', 'zh-Hant': '通知', 'ja-JP': '通知', 'ko': '알림', 'es-ES': 'Notificaciones', 'fr': 'Notifications', 'pt-BR': 'Notificações', 'ru': 'Уведомления', 'de': 'Benachrichtigungen', 'ar': 'الإشعارات' }, + nav_sessions: { 'en': 'Sessions', 'zh-CN': '会话', 'zh-Hant': '工作階段', 'ja-JP': 'セッション', 'ko': '세션', 'es-ES': 'Sesiones', 'fr': 'Sessions', 'pt-BR': 'Sessões', 'ru': 'Сеансы', 'de': 'Sitzungen', 'ar': 'الجلسات' }, + nav_position_holders: { 'en': 'Position Holders', 'zh-CN': '岗位持有人', 'zh-Hant': '職位持有人', 'ja-JP': 'ポジション保持者', 'ko': '직위 보유자', 'es-ES': 'Titulares de posiciones', 'fr': 'Titulaires de postes', 'pt-BR': 'Ocupantes de cargos', 'ru': 'Занимающие должности', 'de': 'Positionsinhaber', 'ar': 'شاغلو المناصب' }, + nav_permission_set_assignment: { 'en': 'Permission Set Assignment', 'zh-CN': '权限集分配', 'zh-Hant': '權限集指派', 'ja-JP': '権限セットの割り当て', 'ko': '권한 세트 할당', 'es-ES': 'Asignación de conjuntos de permisos', 'fr': 'Attribution des ensembles d’autorisations', 'pt-BR': 'Atribuição de conjuntos de permissões', 'ru': 'Назначение наборов разрешений', 'de': 'Zuweisung von Berechtigungssätzen', 'ar': 'إسناد مجموعات الأذونات' }, + nav_record_shares: { 'en': 'Record Shares', 'zh-CN': '记录共享', 'zh-Hant': '記錄共用', 'ja-JP': 'レコード共有', 'ko': '레코드 공유', 'es-ES': 'Registros Compartidos', 'fr': 'Partages d’enregistrements', 'pt-BR': 'Compartilhamentos de registros', 'ru': 'Общий доступ к записям', 'de': 'Datensatzfreigaben', 'ar': 'مشاركات السجلات' }, + nav_queues: { 'en': 'Queues', 'zh-CN': '队列', 'zh-Hant': '佇列', 'ja-JP': 'キュー', 'ko': '대기열', 'es-ES': 'Colas', 'fr': 'Files d’attente', 'pt-BR': 'Filas', 'ru': 'Очереди', 'de': 'Warteschlangen', 'ar': 'قوائم الانتظار' }, +}; + +const FORMER_GROUP_NAMES: Record> = { + group_users_org: { 'en': ['People & Organization'], 'zh-CN': ['人员与组织'], 'zh-Hant': ['人員與組織'], 'ja-JP': ['ユーザーと組織'], 'ko': ['사용자 및 조직'], 'es-ES': ['Personas y Organización'], 'fr': ['Personnes et organisation'], 'pt-BR': ['Pessoas e organização'], 'ru': ['Люди и организация'], 'de': ['Personen und Organisation'], 'ar': ['الأشخاص والمؤسسة'] }, + group_access_sharing: { 'en': ['Access Control'], 'zh-CN': ['访问控制'], 'zh-Hant': ['存取控制'], 'ja-JP': ['アクセス制御'], 'ko': ['액세스 제어'], 'es-ES': ['Control de Acceso'], 'fr': ['Contrôle d’accès'], 'pt-BR': ['Controle de acesso'], 'ru': ['Управление доступом'], 'de': ['Zugriffssteuerung'], 'ar': ['التحكم في الوصول'] }, + group_apps_ai: { 'en': ['Apps'], 'zh-CN': ['应用'], 'zh-Hant': ['應用程式'], 'ja-JP': ['アプリ'], 'ko': ['앱'], 'es-ES': ['Aplicaciones'], 'fr': ['Applications'], 'pt-BR': ['Aplicativos'], 'ru': ['Приложения'], 'de': ['Apps'], 'ar': ['التطبيقات'] }, + group_routing_approvals: { 'en': ['Approvals'], 'zh-CN': ['审批'], 'zh-Hant': ['核准'], 'ja-JP': ['承認'], 'ko': ['승인'], 'es-ES': ['Aprobaciones'], 'fr': ['Approbations'], 'pt-BR': ['Aprovações'], 'ru': ['Согласования'], 'de': ['Genehmigungen'], 'ar': ['الموافقات'] }, + group_audit_data: { 'en': ['Diagnostics'], 'zh-CN': ['诊断'], 'zh-Hant': ['診斷'], 'ja-JP': ['診断'], 'ko': ['진단'], 'es-ES': ['Diagnóstico'], 'fr': ['Diagnostics'], 'pt-BR': ['Diagnóstico'], 'ru': ['Диагностика'], 'de': ['Diagnose'], 'ar': ['التشخيص'] }, + group_company: { 'en': ['Configuration'], 'zh-CN': ['配置'], 'zh-Hant': ['設定'], 'ja-JP': ['構成'], 'ko': ['구성'], 'es-ES': ['Configuración'], 'fr': ['Configuration'], 'pt-BR': ['Configuração'], 'ru': ['Конфигурация'], 'de': ['Konfiguration'], 'ar': ['التهيئة'] }, + group_integrations_dev: { 'en': ['Integrations', 'Advanced'], 'zh-CN': ['集成', '高级'], 'zh-Hant': ['整合', '進階'], 'ja-JP': ['統合', '詳細'], 'ko': ['통합', '고급'], 'es-ES': ['Integraciones', 'Avanzado'], 'fr': ['Intégrations', 'Avancé'], 'pt-BR': ['Integrações', 'Avançado'], 'ru': ['Интеграции', 'Дополнительно'], 'de': ['Integrationen', 'Erweitert'], 'ar': ['عمليات التكامل', 'متقدم'] }, +}; + +/** Entries contributed by a capability plugin: no source list can sit on the item here. */ +const PLUGIN_ITEMS = new Set(['nav_position_holders', 'nav_permission_set_assignment', 'nav_record_shares', 'nav_queues']); + +/** Former source-language labels on this package's renamed items. */ +const SOURCE_KEYWORDS: Record = { + nav_packages: ['Packages'], + nav_settings_company: ['Company'], + nav_settings_localization: ['Localization'], + nav_standard_unit_settings: ['Standard Unit Settings'], + nav_work_calendar_exceptions: ['Calendar Exceptions'], + nav_settings_mail: ['Mail Delivery'], + nav_settings_sms: ['SMS Delivery'], + nav_settings_auth: ['Authentication'], + nav_settings_ai: ['AI & Embedder'], + nav_settings_lifecycle: ['Data Lifecycle'], + // The literal said "Notification Events" while the English bundle served + // "Notifications": both were names an administrator read. + nav_notifications: ['Notification Events', 'Notifications'], + nav_sessions: ['Sessions'], +}; + +/** Ruling D4: Business Units keeps its name; these are its search aliases. */ +const BUSINESS_UNIT_ALIASES: Record = { + en: ['Department', 'Organization Structure', 'Division'], + 'zh-CN': ['部门', '组织架构', '事业部'], + 'zh-Hant': ['部門', '組織架構', '事業部'], + 'ja-JP': ['部門', '組織図', '事業部'], + ko: ['부서', '조직도', '본부'], + 'es-ES': ['Departamento', 'Estructura organizativa', 'División'], + fr: ['Département', 'Organigramme', 'Division'], + 'pt-BR': ['Departamento', 'Estrutura organizacional', 'Divisão'], + ru: ['Отдел', 'Организационная структура', 'Дивизион'], + de: ['Abteilung', 'Organisationsstruktur', 'Sparte'], + ar: ['قسم', 'الهيكل التنظيمي', 'قطاع'], +}; + +describe('Setup platform-owned entries: groups, order, names and aliases (#39057)', () => { + it('the table and the shell agree on the ten groups, in order', () => { + expect(shellGroups().map((g) => g.id)).toEqual(TABLE.map(([group]) => group)); + }); + + it('every contribution names a group of the shell by its own id, never a retired one', () => { + const ids = new Set(shellGroups().map((g) => g.id)); + const retired = new Set(shellGroups().flatMap((g) => g.renamedFrom ?? [])); + // Control: the shell still lists retired ids, so the second check can fail. + expect(retired.has('group_configuration')).toBe(true); + const named = SETUP_NAV_CONTRIBUTIONS.map((c) => String(c.group)); + expect(named.filter((g) => !ids.has(g))).toEqual([]); + expect(named.filter((g) => retired.has(g))).toEqual([]); + }); + + it('folded like the registry folds them, the entries land in the table\'s order', () => { + const folded = foldPlatformItems(); + for (const [group, ids] of TABLE) { + expect({ group, ids: folded.get(group) }).toEqual({ group, ids: [...ids] }); + } + // Every entry of this package is in the table: nothing is left out of it. + const all = SETUP_NAV_CONTRIBUTIONS.flatMap((c) => (c.items as NavItem[]).map((i) => i.id)); + expect(all.sort()).toEqual(TABLE.flatMap(([, ids]) => ids).sort()); + }); + + it('the priorities leave the capability plugins\' entries their slots', () => { + const priorities = (group: string, id: string) => + SETUP_NAV_CONTRIBUTIONS.find((c) => c.group === group && (c.items as NavItem[]).some((i) => i.id === id))?.priority; + // Company Information opens Users & Organization; Installed Apps opens Apps & AI. + expect(priorities('group_users_org', 'nav_settings_company')).toBe(100); + expect(priorities('group_apps_ai', 'nav_packages')).toBe(100); + // After the marketplace and AI entries other packages put between 101 and 299. + expect(priorities('group_apps_ai', 'nav_settings_ai')).toBe(300); + // After the Audit Log (plugin-audit, 100) and Branding (service-settings, 110). + expect(priorities('group_audit_data', 'nav_recycle_bin')).toBe(200); + expect(priorities('group_company', 'nav_settings_localization')).toBe(200); + // Notification Templates before the channels, Notification Preferences + // between them and the Delivery Log. + expect(priorities('group_notifications', 'nav_settings_mail')).toBe(200); + expect(priorities('group_notifications', 'nav_notifications')).toBe(400); + // Public Forms last, after the integrations other packages contribute. + expect(priorities('group_integrations_dev', 'nav_api_keys')).toBe(100); + expect(priorities('group_integrations_dev', 'nav_public_forms')).toBe(500); + }); + + it('zh-CN: each entry reads as the epic\'s table does', () => { + for (const [group, ids, labels] of TABLE) { + expect({ group, labels: ids.map((id) => bundleNode('zh-CN', id)?.label) }).toEqual({ group, labels: [...labels] }); + } + }); + + it('the shell and its contributions still parse', () => { + expect(AppSchema.safeParse(SETUP_APP).success).toBe(true); + for (const c of SETUP_NAV_CONTRIBUTIONS) expect(NavigationContributionSchema.safeParse(c).success).toBe(true); + }); + + for (const id of Object.keys(NEW_LABEL)) { + it(`${id}: the new label in every locale, the former one kept as an alias`, () => { + for (const locale of LOCALES) { + const node = bundleNode(locale, id); + const pluginEnglish = locale === 'en' && PLUGIN_ITEMS.has(id); + const label = pluginEnglish ? FORMER_LABEL[id]!.en : NEW_LABEL[id]![locale]; + expect({ locale, label: node?.label }).toEqual({ locale, label }); + // The source locale's aliases sit on the item, never on its bundle node. + const expected = locale === 'en' ? undefined : [FORMER_LABEL[id]![locale]]; + expect({ locale, keywords: node?.keywords }).toEqual({ locale, keywords: expected }); + } + if (!PLUGIN_ITEMS.has(id)) { + const item = platformItem(id); + expect(item?.label).toBe(NEW_LABEL[id]!.en); + expect(item?.keywords).toEqual(SOURCE_KEYWORDS[id]); + } + }); + } + + it('Business Units keeps its name and carries 部门 / 组织架构 / 事业部 (ruling D4)', () => { + const item = platformItem('nav_business_units'); + expect(item?.label).toBe('Business Units'); + expect(item?.keywords).toEqual(BUSINESS_UNIT_ALIASES.en); + for (const locale of TRANSLATED) { + expect({ locale, keywords: bundleNode(locale, 'nav_business_units')?.keywords }).toEqual({ locale, keywords: BUSINESS_UNIT_ALIASES[locale] }); + } + }); + + it('each group that took a retired group over carries that group\'s former name', () => { + const groups = new Map(shellGroups().map((g) => [g.id!, g])); + for (const [id, names] of Object.entries(FORMER_GROUP_NAMES)) { + // The source list on the shell's group, each locale's on its bundle node. + expect({ id, keywords: groups.get(id)?.keywords }).toEqual({ id, keywords: names.en }); + expect(bundleNode('en', id)?.keywords).toBeUndefined(); + for (const locale of TRANSLATED) { + const node = bundleNode(locale, id); + expect(node?.label, `${locale} ${id} keeps its label beside its keywords`).toBeTruthy(); + expect({ locale, id, keywords: node?.keywords }).toEqual({ locale, id, keywords: names[locale] }); + } + } + // Every group with a `renamedFrom` is covered, and only those. + expect(Object.keys(FORMER_GROUP_NAMES).sort()).toEqual( + shellGroups().filter((g) => (g.renamedFrom ?? []).length > 0).map((g) => g.id).sort(), + ); + }); + + it('the retired Overview group\'s name still finds the pinned System Overview entry', () => { + // `group_overview` left no group to carry its former name (cef9a803^), so + // the pinned entry does: in its label, matched as the palette matches + // (lower case, substring), or in its bundle node's keywords. + const FORMER_OVERVIEW: Record = { + 'en': 'Overview', 'zh-CN': '总览', 'zh-Hant': '總覽', 'ja-JP': '概要', 'ko': '개요', 'es-ES': 'Resumen', + 'fr': 'Aperçu', 'pt-BR': 'Visão geral', 'ru': 'Обзор', 'de': 'Übersicht', 'ar': 'نظرة عامة', + }; + for (const locale of LOCALES) { + const node = bundleNode(locale, 'nav_system_overview'); + const name = FORMER_OVERVIEW[locale]; + const inLabel = (node?.label ?? '').toLowerCase().includes(name.toLowerCase()); + expect({ locale, found: inLabel || (node?.keywords ?? []).includes(name) }).toEqual({ locale, found: true }); + } + // The two locales whose label does not contain it carry it as a keyword. + expect(bundleNode('zh-CN', 'nav_system_overview')).toEqual({ label: '系统概览', keywords: ['总览'] }); + expect(bundleNode('zh-Hant', 'nav_system_overview')).toEqual({ label: '系統概覽', keywords: ['總覽'] }); + }); + + it('"All Settings" (`nav_settings_hub`) is in no navigation and no bundle', () => { + expect(platformItem('nav_settings_hub')).toBeUndefined(); + const hub = '/apps/setup/system/settings'; + const all = SETUP_NAV_CONTRIBUTIONS.flatMap((c) => c.items as NavItem[]); + expect(all.filter((i) => i.url === hub)).toEqual([]); + // Control: the settings pages under the hub keep their own entries. + const pages = all.filter((i) => i.url?.startsWith(`${hub}/`)).map((i) => i.id); + expect(pages).toEqual(expect.arrayContaining(['nav_settings_company', 'nav_settings_localization', 'nav_settings_mail'])); + for (const locale of LOCALES) expect({ locale, node: bundleNode(locale, 'nav_settings_hub') }).toEqual({ locale, node: undefined }); + }); +}); diff --git a/packages/platform-objects/src/apps/setup-users-nav-view.test.ts b/packages/platform-objects/src/apps/setup-users-nav-view.test.ts index 0ce065ebf1e..e053f57b5da 100644 --- a/packages/platform-objects/src/apps/setup-users-nav-view.test.ts +++ b/packages/platform-objects/src/apps/setup-users-nav-view.test.ts @@ -77,7 +77,7 @@ const accountItems = (): NavItem[] => { describe('Setup → Users opens on the tenant-wide user list (#21960)', () => { it('names the `all_users` list view of `sys_user`', () => { - expect(usersContribution().group).toBe('group_people_org'); + expect(usersContribution().group).toBe('group_users_org'); expect(usersEntry()).toMatchObject({ type: 'object', objectName: 'sys_user', diff --git a/packages/platform-objects/src/apps/setup.app.ts b/packages/platform-objects/src/apps/setup.app.ts index d5e897e224e..a41dcf29aaf 100644 --- a/packages/platform-objects/src/apps/setup.app.ts +++ b/packages/platform-objects/src/apps/setup.app.ts @@ -58,6 +58,14 @@ export const SETUP_APP: App = { // id maps to exactly one group. `group_overview` maps to none: its one entry // is the pinned item below, and a contribution into it moves to the top // level with the missing-group warning. + // + // [#39057] Each group that took a retired group over lists that group's + // former source-language name in `keywords`, and each locale's former name + // sits on that locale's bundle node, so an administrator who searches by the + // old group name still finds the group. `group_overview` left no group to + // carry its name, so the pinned System Overview entry carries it: its label + // contains the former name in most locales; where it does not (zh-CN 总览, + // zh-Hant 總覽), the entry's bundle node lists the name in `keywords`. navigation: [ // Pinned at the top, outside every group. Written here because a // contribution without `group` is appended at the END of the top level, so @@ -76,6 +84,7 @@ export const SETUP_APP: App = { label: 'Users & Organization', icon: 'users', renamedFrom: ['group_people_org'], + keywords: ['People & Organization'], children: [], }, { @@ -84,6 +93,7 @@ export const SETUP_APP: App = { label: 'Access & Sharing', icon: 'shield', renamedFrom: ['group_access_control'], + keywords: ['Access Control'], children: [], }, { @@ -92,6 +102,7 @@ export const SETUP_APP: App = { label: 'Apps & AI', icon: 'package', renamedFrom: ['group_apps'], + keywords: ['Apps'], children: [], }, { @@ -103,6 +114,7 @@ export const SETUP_APP: App = { // through `renamedFrom` are served to exactly the members they were. requiredPermissions: ['manage_platform_settings'], renamedFrom: ['group_approvals'], + keywords: ['Approvals'], children: [], }, { @@ -121,6 +133,7 @@ export const SETUP_APP: App = { // its entry on `view_all_audit_log`). ⛔ A contributor into this slot // gates its own entry: the slot does not gate it. renamedFrom: ['group_diagnostics'], + keywords: ['Diagnostics'], children: [], }, { @@ -130,6 +143,7 @@ export const SETUP_APP: App = { icon: 'building-2', expanded: false, renamedFrom: ['group_configuration'], + keywords: ['Configuration'], children: [], }, { @@ -165,6 +179,7 @@ export const SETUP_APP: App = { // The gate both retired groups carried. requiredPermissions: ['manage_platform_settings'], renamedFrom: ['group_integrations', 'group_advanced'], + keywords: ['Integrations', 'Advanced'], children: [], }, ], diff --git a/packages/platform-objects/src/apps/translations/ar.source-hashes.ts b/packages/platform-objects/src/apps/translations/ar.source-hashes.ts index 84b391bfe65..ac5198083e7 100644 --- a/packages/platform-objects/src/apps/translations/ar.source-hashes.ts +++ b/packages/platform-objects/src/apps/translations/ar.source-hashes.ts @@ -82,7 +82,7 @@ export const arSourceHashes: Readonly> = { 'apps.setup.navigation.group_login_security.label': 'c20a3fe111222f9d', 'apps.setup.navigation.group_integrations_dev.label': '108f3557a21159e3', 'apps.setup.navigation.nav_marketplace_browse.label': '2afbe021f5419fdd', - 'apps.setup.navigation.nav_packages.label': '8cd8f29658025f73', + 'apps.setup.navigation.nav_packages.label': '93bd5d458e05db60', 'apps.setup.navigation.nav_cloud_connection.label': '3a7caad0cb98e71d', 'apps.setup.navigation.nav_system_overview.label': '574b2a4b7fb7f979', 'apps.setup.navigation.nav_connect_agent.label': 'a4542422fb5e8a68', @@ -107,25 +107,24 @@ export const arSourceHashes: Readonly> = { 'apps.setup.navigation.nav_approval_requests.label': 'aafd0f7c6a376f55', 'apps.setup.navigation.nav_approval_actions.label': 'd2ebad7acfd50978', 'apps.setup.navigation.nav_approval_delegations.label': 'fc0d41741659c462', - 'apps.setup.navigation.nav_settings_hub.label': 'a3ac65c7c7f461bf', - 'apps.setup.navigation.nav_settings_localization.label': 'beedfaf00452c829', + 'apps.setup.navigation.nav_settings_localization.label': '8001ca4f9a27b2a0', 'apps.setup.navigation.nav_exchange_rates.label': '6d043e1f08434720', - 'apps.setup.navigation.nav_settings_company.label': '9d7f685e11eaade9', - 'apps.setup.navigation.nav_settings_mail.label': '5d0599600587427d', - 'apps.setup.navigation.nav_settings_sms.label': '77a3056d33027ca0', + 'apps.setup.navigation.nav_settings_company.label': '31f34011020f6ce5', + 'apps.setup.navigation.nav_settings_mail.label': '724c0d1ef68d13dc', + 'apps.setup.navigation.nav_settings_sms.label': '70014932a8ceabd8', 'apps.setup.navigation.nav_settings_branding.label': 'ec6e391065514b64', - 'apps.setup.navigation.nav_settings_auth.label': '5c6d7dbd850ca37c', + 'apps.setup.navigation.nav_settings_auth.label': 'b843d0629b781763', 'apps.setup.navigation.nav_settings_storage.label': 'a2fb526b03c9a9e5', - 'apps.setup.navigation.nav_settings_ai.label': 'a6b41a554173f7ab', + 'apps.setup.navigation.nav_settings_ai.label': '4fc9a84bea2bf0b0', 'apps.setup.navigation.nav_settings_knowledge.label': '140348539a50d9d5', - 'apps.setup.navigation.nav_settings_lifecycle.label': 'cd9fe9c930afed06', + 'apps.setup.navigation.nav_settings_lifecycle.label': 'b948a04afce8ba1c', 'apps.setup.navigation.nav_recycle_bin.label': '2f5aefe2be221196', 'apps.setup.navigation.nav_public_forms.label': '4592e97959994e86', 'apps.setup.navigation.nav_notification_preferences.label': '8869f324c1bd545a', 'apps.setup.navigation.nav_notification_templates.label': '9e270c87ef2578df', - 'apps.setup.navigation.nav_sessions.label': '673bde6e0c8a3ef9', + 'apps.setup.navigation.nav_sessions.label': '05a759e3a230615e', 'apps.setup.navigation.nav_audit_logs.label': 'b2fad40733012b18', - 'apps.setup.navigation.nav_notifications.label': 'e0fdb90b1d31078d', + 'apps.setup.navigation.nav_notifications.label': '6cdb0d37e6bea5d0', 'apps.setup.navigation.nav_webhooks.label': '8fdd81bc76459a6a', 'apps.setup.navigation.nav_http_deliveries.label': '340f81dc6ea64987', 'apps.setup.navigation.nav_datasources.label': '2f0648ce23158e6f', @@ -133,6 +132,8 @@ export const arSourceHashes: Readonly> = { 'apps.setup.navigation.nav_connector_connections.label': '949e9a8fd25c3d57', 'apps.setup.navigation.nav_slack.label': 'c3c9e181e8c74b22', 'apps.setup.navigation.nav_oauth_apps.label': '1b26cce61a4c10eb', + 'apps.setup.navigation.nav_standard_unit_settings.label': '12782f7dd0f875f7', + 'apps.setup.navigation.nav_work_calendar_exceptions.label': '39a8569ad96c3b76', 'apps.studio.label': '479a1bf587b5965e', 'apps.studio.description': 'c026a5795933995d', 'apps.studio.navigation.group_overview.label': 'eebdbe1cc7b59cdf', diff --git a/packages/platform-objects/src/apps/translations/ar.ts b/packages/platform-objects/src/apps/translations/ar.ts index 1c19fb58896..d9bf7a83eda 100644 --- a/packages/platform-objects/src/apps/translations/ar.ts +++ b/packages/platform-objects/src/apps/translations/ar.ts @@ -40,18 +40,18 @@ export const ar: TranslationData = { label: 'الإعداد', description: 'إعدادات المنصة وإدارتها', navigation: { - group_users_org: { label: 'المستخدمون والمؤسسة' }, - group_access_sharing: { label: 'الوصول والمشاركة' }, - group_apps_ai: { label: 'التطبيقات والذكاء الاصطناعي' }, - group_routing_approvals: { label: 'التوزيع والموافقات' }, - group_audit_data: { label: 'التدقيق والبيانات' }, - group_company: { label: 'إعدادات الشركة' }, + group_users_org: { label: 'المستخدمون والمؤسسة', keywords: ['الأشخاص والمؤسسة'] }, + group_access_sharing: { label: 'الوصول والمشاركة', keywords: ['التحكم في الوصول'] }, + group_apps_ai: { label: 'التطبيقات والذكاء الاصطناعي', keywords: ['التطبيقات'] }, + group_routing_approvals: { label: 'التوزيع والموافقات', keywords: ['الموافقات'] }, + group_audit_data: { label: 'التدقيق والبيانات', keywords: ['التشخيص'] }, + group_company: { label: 'إعدادات الشركة', keywords: ['التهيئة'] }, group_currency_units: { label: 'العملات والوحدات' }, group_notifications: { label: 'الإشعارات' }, group_login_security: { label: 'تسجيل الدخول والأمان' }, - group_integrations_dev: { label: 'التكاملات والتطوير' }, + group_integrations_dev: { label: 'التكاملات والتطوير', keywords: ['عمليات التكامل', 'متقدم'] }, nav_marketplace_browse: { label: 'تصفح السوق' }, - nav_packages: { label: 'الحزم' }, + nav_packages: { label: 'التطبيقات المثبتة', keywords: ['الحزم'] }, nav_cloud_connection: { label: 'الاتصال السحابي' }, nav_system_overview: { label: 'نظرة عامة على النظام' }, @@ -59,16 +59,16 @@ export const ar: TranslationData = { nav_users: { label: 'المستخدمون' }, nav_organization: { label: 'المؤسسة' }, - nav_business_units: { label: 'وحدات الأعمال' }, + nav_business_units: { label: 'وحدات الأعمال', keywords: ['قسم', 'الهيكل التنظيمي', 'قطاع'] }, nav_teams: { label: 'الفرق' }, nav_organizations: { label: 'المؤسسات' }, nav_invitations: { label: 'الدعوات' }, - nav_position_holders: { label: 'شاغلو المناصب' }, - nav_permission_set_assignment: { label: 'إسناد مجموعات الأذونات' }, + nav_position_holders: { label: 'أعضاء المناصب', keywords: ['شاغلو المناصب'] }, + nav_permission_set_assignment: { label: 'منح مجموعات الأذونات', keywords: ['إسناد مجموعات الأذونات'] }, nav_sharing_rules: { label: 'قواعد المشاركة' }, - nav_record_shares: { label: 'مشاركات السجلات' }, - nav_queues: { label: 'قوائم الانتظار' }, + nav_record_shares: { label: 'تفاصيل المشاركة', keywords: ['مشاركات السجلات'] }, + nav_queues: { label: 'قوائم انتظار العمل', keywords: ['قوائم الانتظار'] }, nav_queue_members: { label: 'أعضاء قائمة الانتظار' }, nav_assignment_rules: { label: 'قواعد الإسناد' }, // Conditionally contributed by `@objectstack/plugin-auth` (only when an @@ -96,32 +96,31 @@ export const ar: TranslationData = { // service-settings' ar bundle (`setup-nav-hub-parity.test.ts`), so the // two delivery pages say إرسال here while the HTTP log below says تسليم, // as sys_http_delivery's ar object label does. - nav_settings_hub: { label: 'جميع الإعدادات' }, - nav_settings_localization: { label: 'الترجمة والإعدادات المحلية' }, + nav_settings_localization: { label: 'اللغة والمنطقة', keywords: ['الترجمة والإعدادات المحلية'] }, nav_exchange_rates: { label: 'أسعار الصرف' }, nav_units_of_measure: { label: 'وحدات القياس' }, - nav_standard_unit_settings: { label: 'إعدادات الوحدات القياسية' }, + nav_standard_unit_settings: { label: 'المنازل العشرية للوحدات القياسية', keywords: ['إعدادات الوحدات القياسية'] }, nav_work_calendars: { label: 'تقويمات العمل' }, - nav_work_calendar_exceptions: { label: 'استثناءات التقويم' }, - nav_settings_company: { label: 'الشركة' }, - nav_settings_mail: { label: 'إرسال البريد' }, - nav_settings_sms: { label: 'إرسال الرسائل النصية' }, + nav_work_calendar_exceptions: { label: 'العطلات وأيام العمل البديلة', keywords: ['استثناءات التقويم'] }, + nav_settings_company: { label: 'معلومات الشركة', keywords: ['الشركة'] }, + nav_settings_mail: { label: 'قناة البريد الإلكتروني', keywords: ['إرسال البريد'] }, + nav_settings_sms: { label: 'قناة الرسائل النصية', keywords: ['إرسال الرسائل النصية'] }, nav_settings_branding: { label: 'العلامة التجارية' }, - nav_settings_auth: { label: 'المصادقة' }, + nav_settings_auth: { label: 'طرق تسجيل الدخول', keywords: ['المصادقة'] }, nav_settings_access_policy: { label: 'سياسة الوصول' }, nav_settings_storage: { label: 'تخزين الملفات' }, - nav_settings_ai: { label: 'الذكاء الاصطناعي والتضمين (Embedder)' }, + nav_settings_ai: { label: 'خدمة نماذج الذكاء الاصطناعي', keywords: ['الذكاء الاصطناعي والتضمين (Embedder)'] }, nav_settings_knowledge: { label: 'المعرفة' }, nav_knowledge_sync_states: { label: 'حالة مزامنة المعرفة' }, - nav_settings_lifecycle: { label: 'دورة حياة البيانات' }, + nav_settings_lifecycle: { label: 'الاحتفاظ بالبيانات', keywords: ['دورة حياة البيانات'] }, nav_recycle_bin: { label: 'سلة المحذوفات' }, nav_public_forms: { label: 'النماذج العامة' }, nav_notification_preferences: { label: 'تفضيلات الإشعارات' }, nav_notification_templates: { label: 'قوالب الإشعارات' }, - nav_sessions: { label: 'الجلسات' }, + nav_sessions: { label: 'الجلسات النشطة', keywords: ['الجلسات'] }, nav_audit_logs: { label: 'سجل التدقيق' }, - nav_notifications: { label: 'الإشعارات' }, + nav_notifications: { label: 'سجل الإرسال', keywords: ['الإشعارات'] }, // Integrations — contributed at RUNTIME by the owning capability // plugins (ADR-0029 K2), so no static walk of SETUP_APP can see them. diff --git a/packages/platform-objects/src/apps/translations/de.source-hashes.ts b/packages/platform-objects/src/apps/translations/de.source-hashes.ts index af7ba2bb414..4e45df7e7cb 100644 --- a/packages/platform-objects/src/apps/translations/de.source-hashes.ts +++ b/packages/platform-objects/src/apps/translations/de.source-hashes.ts @@ -82,7 +82,7 @@ export const deSourceHashes: Readonly> = { 'apps.setup.navigation.group_login_security.label': 'c20a3fe111222f9d', 'apps.setup.navigation.group_integrations_dev.label': '108f3557a21159e3', 'apps.setup.navigation.nav_marketplace_browse.label': '2afbe021f5419fdd', - 'apps.setup.navigation.nav_packages.label': '8cd8f29658025f73', + 'apps.setup.navigation.nav_packages.label': '93bd5d458e05db60', 'apps.setup.navigation.nav_cloud_connection.label': '3a7caad0cb98e71d', 'apps.setup.navigation.nav_system_overview.label': '574b2a4b7fb7f979', 'apps.setup.navigation.nav_connect_agent.label': 'a4542422fb5e8a68', @@ -107,26 +107,25 @@ export const deSourceHashes: Readonly> = { 'apps.setup.navigation.nav_approval_requests.label': 'aafd0f7c6a376f55', 'apps.setup.navigation.nav_approval_actions.label': 'd2ebad7acfd50978', 'apps.setup.navigation.nav_approval_delegations.label': 'fc0d41741659c462', - 'apps.setup.navigation.nav_settings_hub.label': 'a3ac65c7c7f461bf', - 'apps.setup.navigation.nav_settings_localization.label': 'beedfaf00452c829', + 'apps.setup.navigation.nav_settings_localization.label': '8001ca4f9a27b2a0', 'apps.setup.navigation.nav_exchange_rates.label': '6d043e1f08434720', - 'apps.setup.navigation.nav_settings_company.label': '9d7f685e11eaade9', - 'apps.setup.navigation.nav_settings_mail.label': '5d0599600587427d', - 'apps.setup.navigation.nav_settings_sms.label': '77a3056d33027ca0', + 'apps.setup.navigation.nav_settings_company.label': '31f34011020f6ce5', + 'apps.setup.navigation.nav_settings_mail.label': '724c0d1ef68d13dc', + 'apps.setup.navigation.nav_settings_sms.label': '70014932a8ceabd8', 'apps.setup.navigation.nav_settings_branding.label': 'ec6e391065514b64', - 'apps.setup.navigation.nav_settings_auth.label': '5c6d7dbd850ca37c', + 'apps.setup.navigation.nav_settings_auth.label': 'b843d0629b781763', 'apps.setup.navigation.nav_settings_access_policy.label': '39a7cfb9a7cba125', 'apps.setup.navigation.nav_settings_storage.label': 'a2fb526b03c9a9e5', - 'apps.setup.navigation.nav_settings_ai.label': 'a6b41a554173f7ab', + 'apps.setup.navigation.nav_settings_ai.label': '4fc9a84bea2bf0b0', 'apps.setup.navigation.nav_settings_knowledge.label': '140348539a50d9d5', - 'apps.setup.navigation.nav_settings_lifecycle.label': 'cd9fe9c930afed06', + 'apps.setup.navigation.nav_settings_lifecycle.label': 'b948a04afce8ba1c', 'apps.setup.navigation.nav_recycle_bin.label': '2f5aefe2be221196', 'apps.setup.navigation.nav_public_forms.label': '4592e97959994e86', 'apps.setup.navigation.nav_notification_preferences.label': '8869f324c1bd545a', 'apps.setup.navigation.nav_notification_templates.label': '9e270c87ef2578df', - 'apps.setup.navigation.nav_sessions.label': '673bde6e0c8a3ef9', + 'apps.setup.navigation.nav_sessions.label': '05a759e3a230615e', 'apps.setup.navigation.nav_audit_logs.label': 'b2fad40733012b18', - 'apps.setup.navigation.nav_notifications.label': 'e0fdb90b1d31078d', + 'apps.setup.navigation.nav_notifications.label': '6cdb0d37e6bea5d0', 'apps.setup.navigation.nav_webhooks.label': '8fdd81bc76459a6a', 'apps.setup.navigation.nav_http_deliveries.label': '340f81dc6ea64987', 'apps.setup.navigation.nav_datasources.label': '2f0648ce23158e6f', @@ -134,6 +133,8 @@ export const deSourceHashes: Readonly> = { 'apps.setup.navigation.nav_connector_connections.label': '949e9a8fd25c3d57', 'apps.setup.navigation.nav_slack.label': 'c3c9e181e8c74b22', 'apps.setup.navigation.nav_oauth_apps.label': '1b26cce61a4c10eb', + 'apps.setup.navigation.nav_standard_unit_settings.label': '12782f7dd0f875f7', + 'apps.setup.navigation.nav_work_calendar_exceptions.label': '39a8569ad96c3b76', 'apps.studio.label': '479a1bf587b5965e', 'apps.studio.description': 'c026a5795933995d', 'apps.studio.navigation.group_overview.label': 'eebdbe1cc7b59cdf', diff --git a/packages/platform-objects/src/apps/translations/de.ts b/packages/platform-objects/src/apps/translations/de.ts index 8af6234784f..8ac2e6235ef 100644 --- a/packages/platform-objects/src/apps/translations/de.ts +++ b/packages/platform-objects/src/apps/translations/de.ts @@ -40,18 +40,18 @@ export const de: TranslationData = { label: 'Setup', description: 'Plattformeinstellungen und Administration', navigation: { - group_users_org: { label: 'Benutzer & Organisation' }, - group_access_sharing: { label: 'Zugriff & Freigabe' }, - group_apps_ai: { label: 'Apps & KI' }, - group_routing_approvals: { label: 'Zuweisung & Genehmigungen' }, - group_audit_data: { label: 'Audit & Daten' }, - group_company: { label: 'Unternehmenseinstellungen' }, + group_users_org: { label: 'Benutzer & Organisation', keywords: ['Personen und Organisation'] }, + group_access_sharing: { label: 'Zugriff & Freigabe', keywords: ['Zugriffssteuerung'] }, + group_apps_ai: { label: 'Apps & KI', keywords: ['Apps'] }, + group_routing_approvals: { label: 'Zuweisung & Genehmigungen', keywords: ['Genehmigungen'] }, + group_audit_data: { label: 'Audit & Daten', keywords: ['Diagnose'] }, + group_company: { label: 'Unternehmenseinstellungen', keywords: ['Konfiguration'] }, group_currency_units: { label: 'Währungen & Einheiten' }, group_notifications: { label: 'Benachrichtigungen' }, group_login_security: { label: 'Anmeldung & Sicherheit' }, - group_integrations_dev: { label: 'Integrationen & Entwicklung' }, + group_integrations_dev: { label: 'Integrationen & Entwicklung', keywords: ['Integrationen', 'Erweitert'] }, nav_marketplace_browse: { label: 'Marketplace durchsuchen' }, - nav_packages: { label: 'Pakete' }, + nav_packages: { label: 'Installierte Apps', keywords: ['Pakete'] }, nav_cloud_connection: { label: 'Cloud-Verbindung' }, nav_system_overview: { label: 'Systemübersicht' }, @@ -59,16 +59,16 @@ export const de: TranslationData = { nav_users: { label: 'Benutzer' }, nav_organization: { label: 'Organisation' }, - nav_business_units: { label: 'Geschäftseinheiten' }, + nav_business_units: { label: 'Geschäftseinheiten', keywords: ['Abteilung', 'Organisationsstruktur', 'Sparte'] }, nav_teams: { label: 'Teams' }, nav_organizations: { label: 'Organisationen' }, nav_invitations: { label: 'Einladungen' }, - nav_position_holders: { label: 'Positionsinhaber' }, - nav_permission_set_assignment: { label: 'Zuweisung von Berechtigungssätzen' }, + nav_position_holders: { label: 'Positionsmitglieder', keywords: ['Positionsinhaber'] }, + nav_permission_set_assignment: { label: 'Vergabe von Berechtigungssätzen', keywords: ['Zuweisung von Berechtigungssätzen'] }, nav_sharing_rules: { label: 'Freigaberegeln' }, - nav_record_shares: { label: 'Datensatzfreigaben' }, - nav_queues: { label: 'Warteschlangen' }, + nav_record_shares: { label: 'Freigabedetails', keywords: ['Datensatzfreigaben'] }, + nav_queues: { label: 'Arbeitswarteschlangen', keywords: ['Warteschlangen'] }, nav_queue_members: { label: 'Warteschlangenmitglieder' }, nav_assignment_rules: { label: 'Zuweisungsregeln' }, // Conditionally contributed by `@objectstack/plugin-auth` (only when an @@ -98,32 +98,31 @@ export const de: TranslationData = { // service-settings' de bundle (`setup-nav-hub-parity.test.ts`), so the // two delivery pages say Versand here, while the HTTP log below reads // as sys_http_delivery's de object label. - nav_settings_hub: { label: 'Alle Einstellungen' }, - nav_settings_localization: { label: 'Lokalisierung' }, + nav_settings_localization: { label: 'Sprache und Region', keywords: ['Lokalisierung'] }, nav_exchange_rates: { label: 'Wechselkurse' }, nav_units_of_measure: { label: 'Maßeinheiten' }, - nav_standard_unit_settings: { label: 'Standardeinheiten-Einstellungen' }, + nav_standard_unit_settings: { label: 'Dezimalstellen der Standardeinheiten', keywords: ['Standardeinheiten-Einstellungen'] }, nav_work_calendars: { label: 'Arbeitskalender' }, - nav_work_calendar_exceptions: { label: 'Kalenderausnahmen' }, - nav_settings_company: { label: 'Unternehmen' }, - nav_settings_mail: { label: 'E-Mail-Versand' }, - nav_settings_sms: { label: 'SMS-Versand' }, + nav_work_calendar_exceptions: { label: 'Feiertage und verschobene Arbeitstage', keywords: ['Kalenderausnahmen'] }, + nav_settings_company: { label: 'Unternehmensinformationen', keywords: ['Unternehmen'] }, + nav_settings_mail: { label: 'E-Mail-Kanal', keywords: ['E-Mail-Versand'] }, + nav_settings_sms: { label: 'SMS-Kanal', keywords: ['SMS-Versand'] }, nav_settings_branding: { label: 'Branding' }, - nav_settings_auth: { label: 'Authentifizierung' }, + nav_settings_auth: { label: 'Anmeldemethoden', keywords: ['Authentifizierung'] }, nav_settings_access_policy: { label: 'Zugriffsrichtlinie' }, nav_settings_storage: { label: 'Dateispeicher' }, - nav_settings_ai: { label: 'KI und Embedder' }, + nav_settings_ai: { label: 'KI-Modelldienst', keywords: ['KI und Embedder'] }, nav_settings_knowledge: { label: 'Wissen' }, nav_knowledge_sync_states: { label: 'Wissenssynchronisierung' }, - nav_settings_lifecycle: { label: 'Datenlebenszyklus' }, + nav_settings_lifecycle: { label: 'Datenaufbewahrung', keywords: ['Datenlebenszyklus'] }, nav_recycle_bin: { label: 'Papierkorb' }, nav_public_forms: { label: 'Öffentliche Formulare' }, nav_notification_preferences: { label: 'Benachrichtigungseinstellungen' }, nav_notification_templates: { label: 'Benachrichtigungsvorlagen' }, - nav_sessions: { label: 'Sitzungen' }, + nav_sessions: { label: 'Aktive Sitzungen', keywords: ['Sitzungen'] }, nav_audit_logs: { label: 'Audit-Protokoll' }, - nav_notifications: { label: 'Benachrichtigungen' }, + nav_notifications: { label: 'Versandprotokoll', keywords: ['Benachrichtigungen'] }, // Integrations — contributed at RUNTIME by the owning capability // plugins (ADR-0029 K2), so no static walk of SETUP_APP can see them. diff --git a/packages/platform-objects/src/apps/translations/en.ts b/packages/platform-objects/src/apps/translations/en.ts index b6cb43e43c5..4747a9c0f63 100644 --- a/packages/platform-objects/src/apps/translations/en.ts +++ b/packages/platform-objects/src/apps/translations/en.ts @@ -79,7 +79,7 @@ export const en: TranslationData = { // Apps / Marketplace nav_marketplace_browse: { label: 'Browse Marketplace' }, - nav_packages: { label: 'Packages' }, + nav_packages: { label: 'Installed Apps' }, nav_cloud_connection: { label: 'Cloud Connection' }, // People & Organization @@ -132,24 +132,23 @@ export const en: TranslationData = { nav_approval_delegations: { label: 'Delegations (OOO)' }, // Configuration - nav_settings_hub: { label: 'All Settings' }, - nav_settings_localization: { label: 'Localization' }, + nav_settings_localization: { label: 'Language & Region' }, nav_exchange_rates: { label: 'Exchange Rates' }, nav_units_of_measure: { label: 'Units of Measure' }, - nav_standard_unit_settings: { label: 'Standard Unit Settings' }, + nav_standard_unit_settings: { label: 'Standard Unit Decimals' }, nav_work_calendars: { label: 'Working Calendars' }, - nav_work_calendar_exceptions: { label: 'Calendar Exceptions' }, - nav_settings_company: { label: 'Company' }, - nav_settings_mail: { label: 'Mail Delivery' }, - nav_settings_sms: { label: 'SMS Delivery' }, + nav_work_calendar_exceptions: { label: 'Holidays & Workday Swaps' }, + nav_settings_company: { label: 'Company Information' }, + nav_settings_mail: { label: 'Email Channel' }, + nav_settings_sms: { label: 'SMS Channel' }, nav_settings_branding: { label: 'Branding' }, - nav_settings_auth: { label: 'Authentication' }, + nav_settings_auth: { label: 'Sign-in Methods' }, nav_settings_access_policy: { label: 'Access policy' }, nav_settings_storage: { label: 'File Storage' }, - nav_settings_ai: { label: 'AI & Embedder' }, + nav_settings_ai: { label: 'AI Model Service' }, nav_settings_knowledge: { label: 'Knowledge' }, nav_knowledge_sync_states: { label: 'Knowledge Sync Status' }, - nav_settings_lifecycle: { label: 'Data Lifecycle' }, + nav_settings_lifecycle: { label: 'Data Retention' }, nav_recycle_bin: { label: 'Recycle Bin' }, nav_public_forms: { label: 'Public Forms' }, // Notifications (contributed by @objectstack/service-messaging) @@ -157,13 +156,13 @@ export const en: TranslationData = { nav_notification_templates: { label: 'Notification Templates' }, // Diagnostics - nav_sessions: { label: 'Sessions' }, + nav_sessions: { label: 'Active Sessions' }, // The one audit entry: the console's audit browser (`audit:log`), // contributed by @objectstack/plugin-audit. The `sys_audit_log` list is // reached from that page's "Open as list" link, not from this menu, and // the page's former id `nav_audit_log_browser` is tombstoned (#23890). nav_audit_logs: { label: 'Audit Log' }, - nav_notifications: { label: 'Notifications' }, + nav_notifications: { label: 'Delivery Log' }, // Integrations — every entry here is contributed at RUNTIME by the // capability plugin that owns the object (ADR-0029 K2), so it exists on diff --git a/packages/platform-objects/src/apps/translations/es-ES.source-hashes.ts b/packages/platform-objects/src/apps/translations/es-ES.source-hashes.ts index 36df316ab2c..57e63666d82 100644 --- a/packages/platform-objects/src/apps/translations/es-ES.source-hashes.ts +++ b/packages/platform-objects/src/apps/translations/es-ES.source-hashes.ts @@ -81,7 +81,7 @@ export const esESSourceHashes: Readonly> = { 'apps.setup.navigation.group_login_security.label': 'c20a3fe111222f9d', 'apps.setup.navigation.group_integrations_dev.label': '108f3557a21159e3', 'apps.setup.navigation.nav_marketplace_browse.label': '2afbe021f5419fdd', - 'apps.setup.navigation.nav_packages.label': '8cd8f29658025f73', + 'apps.setup.navigation.nav_packages.label': '93bd5d458e05db60', 'apps.setup.navigation.nav_cloud_connection.label': '3a7caad0cb98e71d', 'apps.setup.navigation.nav_system_overview.label': '574b2a4b7fb7f979', 'apps.setup.navigation.nav_users.label': 'eee81f7307a66c40', @@ -103,28 +103,30 @@ export const esESSourceHashes: Readonly> = { 'apps.setup.navigation.nav_approval_requests.label': 'aafd0f7c6a376f55', 'apps.setup.navigation.nav_approval_actions.label': 'd2ebad7acfd50978', 'apps.setup.navigation.nav_approval_delegations.label': 'fc0d41741659c462', - 'apps.setup.navigation.nav_settings_hub.label': 'a3ac65c7c7f461bf', - 'apps.setup.navigation.nav_settings_localization.label': 'beedfaf00452c829', - 'apps.setup.navigation.nav_settings_company.label': '9d7f685e11eaade9', - 'apps.setup.navigation.nav_settings_mail.label': '5d0599600587427d', - 'apps.setup.navigation.nav_settings_sms.label': '77a3056d33027ca0', + 'apps.setup.navigation.nav_settings_localization.label': '8001ca4f9a27b2a0', + 'apps.setup.navigation.nav_settings_company.label': '31f34011020f6ce5', + 'apps.setup.navigation.nav_settings_mail.label': '724c0d1ef68d13dc', + 'apps.setup.navigation.nav_settings_sms.label': '70014932a8ceabd8', 'apps.setup.navigation.nav_settings_branding.label': 'ec6e391065514b64', - 'apps.setup.navigation.nav_settings_auth.label': '5c6d7dbd850ca37c', + 'apps.setup.navigation.nav_settings_auth.label': 'b843d0629b781763', 'apps.setup.navigation.nav_settings_storage.label': 'a2fb526b03c9a9e5', - 'apps.setup.navigation.nav_settings_ai.label': 'a6b41a554173f7ab', + 'apps.setup.navigation.nav_settings_ai.label': '4fc9a84bea2bf0b0', 'apps.setup.navigation.nav_settings_knowledge.label': '140348539a50d9d5', - 'apps.setup.navigation.nav_settings_lifecycle.label': 'cd9fe9c930afed06', + 'apps.setup.navigation.nav_settings_lifecycle.label': 'b948a04afce8ba1c', 'apps.setup.navigation.nav_recycle_bin.label': '2f5aefe2be221196', 'apps.setup.navigation.nav_public_forms.label': '4592e97959994e86', 'apps.setup.navigation.nav_notification_preferences.label': '8869f324c1bd545a', 'apps.setup.navigation.nav_notification_templates.label': '9e270c87ef2578df', - 'apps.setup.navigation.nav_sessions.label': '673bde6e0c8a3ef9', + 'apps.setup.navigation.nav_sessions.label': '05a759e3a230615e', 'apps.setup.navigation.nav_audit_logs.label': 'b2fad40733012b18', - 'apps.setup.navigation.nav_notifications.label': 'e0fdb90b1d31078d', + 'apps.setup.navigation.nav_notifications.label': '6cdb0d37e6bea5d0', 'apps.setup.navigation.nav_webhooks.label': '8fdd81bc76459a6a', 'apps.setup.navigation.nav_http_deliveries.label': '340f81dc6ea64987', 'apps.setup.navigation.nav_datasources.label': '2f0648ce23158e6f', 'apps.setup.navigation.nav_oauth_apps.label': '1b26cce61a4c10eb', + 'apps.setup.navigation.nav_standard_unit_settings.label': '12782f7dd0f875f7', + 'apps.setup.navigation.nav_work_calendar_exceptions.label': '39a8569ad96c3b76', + 'apps.setup.navigation.nav_queues.label': '226d23b8bd681e98', 'apps.studio.label': '479a1bf587b5965e', 'apps.studio.description': 'c026a5795933995d', 'apps.studio.navigation.group_overview.label': 'eebdbe1cc7b59cdf', diff --git a/packages/platform-objects/src/apps/translations/es-ES.ts b/packages/platform-objects/src/apps/translations/es-ES.ts index 2267ff41fa0..5ec03114621 100644 --- a/packages/platform-objects/src/apps/translations/es-ES.ts +++ b/packages/platform-objects/src/apps/translations/es-ES.ts @@ -40,18 +40,18 @@ export const esES: TranslationData = { label: 'Configuración', description: 'Configuración y administración de la plataforma', navigation: { - group_users_org: { label: 'Usuarios y organización' }, - group_access_sharing: { label: 'Acceso y uso compartido' }, - group_apps_ai: { label: 'Aplicaciones e IA' }, - group_routing_approvals: { label: 'Asignación y aprobaciones' }, - group_audit_data: { label: 'Auditoría y datos' }, - group_company: { label: 'Configuración de la empresa' }, + group_users_org: { label: 'Usuarios y organización', keywords: ['Personas y Organización'] }, + group_access_sharing: { label: 'Acceso y uso compartido', keywords: ['Control de Acceso'] }, + group_apps_ai: { label: 'Aplicaciones e IA', keywords: ['Aplicaciones'] }, + group_routing_approvals: { label: 'Asignación y aprobaciones', keywords: ['Aprobaciones'] }, + group_audit_data: { label: 'Auditoría y datos', keywords: ['Diagnóstico'] }, + group_company: { label: 'Configuración de la empresa', keywords: ['Configuración'] }, group_currency_units: { label: 'Monedas y unidades' }, group_notifications: { label: 'Notificaciones' }, group_login_security: { label: 'Inicio de sesión y seguridad' }, - group_integrations_dev: { label: 'Integraciones y desarrollo' }, + group_integrations_dev: { label: 'Integraciones y desarrollo', keywords: ['Integraciones', 'Avanzado'] }, nav_marketplace_browse: { label: 'Explorar Marketplace' }, - nav_packages: { label: 'Paquetes' }, + nav_packages: { label: 'Aplicaciones instaladas', keywords: ['Paquetes'] }, nav_cloud_connection: { label: 'Conexión a la nube' }, nav_system_overview: { label: 'Resumen del Sistema' }, @@ -59,16 +59,16 @@ export const esES: TranslationData = { nav_users: { label: 'Usuarios' }, nav_organization: { label: 'Organización' }, - nav_business_units: { label: 'Unidades de negocio' }, + nav_business_units: { label: 'Unidades de negocio', keywords: ['Departamento', 'Estructura organizativa', 'División'] }, nav_teams: { label: 'Equipos' }, nav_organizations: { label: 'Organizaciones' }, nav_invitations: { label: 'Invitaciones' }, - nav_position_holders: { label: 'Titulares de posiciones' }, - nav_permission_set_assignment: { label: 'Asignación de conjuntos de permisos' }, + nav_position_holders: { label: 'Miembros de posiciones', keywords: ['Titulares de posiciones'] }, + nav_permission_set_assignment: { label: 'Concesiones de conjuntos de permisos', keywords: ['Asignación de conjuntos de permisos'] }, nav_sharing_rules: { label: 'Reglas de Compartición' }, - nav_record_shares: { label: 'Registros Compartidos' }, - nav_queues: { label: 'Colas' }, + nav_record_shares: { label: 'Detalle de uso compartido', keywords: ['Registros Compartidos'] }, + nav_queues: { label: 'Colas de trabajo', keywords: ['Colas'] }, nav_queue_members: { label: 'Miembros de Colas' }, nav_assignment_rules: { label: 'Reglas de Asignación' }, // Conditionally contributed by `@objectstack/plugin-auth` (only when an @@ -86,33 +86,31 @@ export const esES: TranslationData = { nav_approval_requests: { label: 'Solicitudes' }, nav_approval_actions: { label: 'Historial de Acciones' }, nav_approval_delegations: { label: 'Delegaciones (ausencia)' }, - - nav_settings_hub: { label: 'Todos los Ajustes' }, - nav_settings_localization: { label: 'Localización' }, + nav_settings_localization: { label: 'Idioma y región', keywords: ['Localización'] }, nav_exchange_rates: { label: 'Tipos de cambio' }, nav_units_of_measure: { label: 'Unidades de medida' }, - nav_standard_unit_settings: { label: 'Ajustes de unidades estándar' }, + nav_standard_unit_settings: { label: 'Decimales de unidades estándar', keywords: ['Ajustes de unidades estándar'] }, nav_work_calendars: { label: 'Calendarios laborales' }, - nav_work_calendar_exceptions: { label: 'Excepciones de calendario' }, - nav_settings_company: { label: 'Empresa' }, - nav_settings_mail: { label: 'Envío de correo' }, - nav_settings_sms: { label: 'Envío de SMS' }, + nav_work_calendar_exceptions: { label: 'Festivos y días laborables trasladados', keywords: ['Excepciones de calendario'] }, + nav_settings_company: { label: 'Información de la empresa', keywords: ['Empresa'] }, + nav_settings_mail: { label: 'Canal de correo', keywords: ['Envío de correo'] }, + nav_settings_sms: { label: 'Canal de SMS', keywords: ['Envío de SMS'] }, nav_settings_branding: { label: 'Marca' }, - nav_settings_auth: { label: 'Autenticación' }, + nav_settings_auth: { label: 'Métodos de inicio de sesión', keywords: ['Autenticación'] }, nav_settings_access_policy: { label: 'Política de acceso' }, nav_settings_storage: { label: 'Almacenamiento de archivos' }, - nav_settings_ai: { label: 'IA y Embedder' }, + nav_settings_ai: { label: 'Servicio de modelos de IA', keywords: ['IA y Embedder'] }, nav_settings_knowledge: { label: 'Conocimiento' }, nav_knowledge_sync_states: { label: 'Estado de sincronización del conocimiento' }, - nav_settings_lifecycle: { label: 'Ciclo de vida de los datos' }, + nav_settings_lifecycle: { label: 'Retención de datos', keywords: ['Ciclo de vida de los datos'] }, nav_recycle_bin: { label: 'Papelera' }, nav_public_forms: { label: 'Formularios públicos' }, nav_notification_preferences: { label: 'Preferencias de Notificación' }, nav_notification_templates: { label: 'Plantillas de Notificación' }, - nav_sessions: { label: 'Sesiones' }, + nav_sessions: { label: 'Sesiones activas', keywords: ['Sesiones'] }, nav_audit_logs: { label: 'Registro de auditoría' }, - nav_notifications: { label: 'Notificaciones' }, + nav_notifications: { label: 'Registro de envíos', keywords: ['Notificaciones'] }, // Integrations — contributed at RUNTIME by the owning capability // plugins (ADR-0029 K2); gated by `pnpm check:app-nav-i18n` (#5750). diff --git a/packages/platform-objects/src/apps/translations/fr.source-hashes.ts b/packages/platform-objects/src/apps/translations/fr.source-hashes.ts index b8a52565021..c0ae8435228 100644 --- a/packages/platform-objects/src/apps/translations/fr.source-hashes.ts +++ b/packages/platform-objects/src/apps/translations/fr.source-hashes.ts @@ -82,7 +82,7 @@ export const frSourceHashes: Readonly> = { 'apps.setup.navigation.group_login_security.label': 'c20a3fe111222f9d', 'apps.setup.navigation.group_integrations_dev.label': '108f3557a21159e3', 'apps.setup.navigation.nav_marketplace_browse.label': '2afbe021f5419fdd', - 'apps.setup.navigation.nav_packages.label': '8cd8f29658025f73', + 'apps.setup.navigation.nav_packages.label': '93bd5d458e05db60', 'apps.setup.navigation.nav_cloud_connection.label': '3a7caad0cb98e71d', 'apps.setup.navigation.nav_system_overview.label': '574b2a4b7fb7f979', 'apps.setup.navigation.nav_connect_agent.label': 'a4542422fb5e8a68', @@ -107,26 +107,25 @@ export const frSourceHashes: Readonly> = { 'apps.setup.navigation.nav_approval_requests.label': 'aafd0f7c6a376f55', 'apps.setup.navigation.nav_approval_actions.label': 'd2ebad7acfd50978', 'apps.setup.navigation.nav_approval_delegations.label': 'fc0d41741659c462', - 'apps.setup.navigation.nav_settings_hub.label': 'a3ac65c7c7f461bf', - 'apps.setup.navigation.nav_settings_localization.label': 'beedfaf00452c829', + 'apps.setup.navigation.nav_settings_localization.label': '8001ca4f9a27b2a0', 'apps.setup.navigation.nav_exchange_rates.label': '6d043e1f08434720', - 'apps.setup.navigation.nav_settings_company.label': '9d7f685e11eaade9', - 'apps.setup.navigation.nav_settings_mail.label': '5d0599600587427d', - 'apps.setup.navigation.nav_settings_sms.label': '77a3056d33027ca0', + 'apps.setup.navigation.nav_settings_company.label': '31f34011020f6ce5', + 'apps.setup.navigation.nav_settings_mail.label': '724c0d1ef68d13dc', + 'apps.setup.navigation.nav_settings_sms.label': '70014932a8ceabd8', 'apps.setup.navigation.nav_settings_branding.label': 'ec6e391065514b64', - 'apps.setup.navigation.nav_settings_auth.label': '5c6d7dbd850ca37c', + 'apps.setup.navigation.nav_settings_auth.label': 'b843d0629b781763', 'apps.setup.navigation.nav_settings_access_policy.label': '39a7cfb9a7cba125', 'apps.setup.navigation.nav_settings_storage.label': 'a2fb526b03c9a9e5', - 'apps.setup.navigation.nav_settings_ai.label': 'a6b41a554173f7ab', + 'apps.setup.navigation.nav_settings_ai.label': '4fc9a84bea2bf0b0', 'apps.setup.navigation.nav_settings_knowledge.label': '140348539a50d9d5', - 'apps.setup.navigation.nav_settings_lifecycle.label': 'cd9fe9c930afed06', + 'apps.setup.navigation.nav_settings_lifecycle.label': 'b948a04afce8ba1c', 'apps.setup.navigation.nav_recycle_bin.label': '2f5aefe2be221196', 'apps.setup.navigation.nav_public_forms.label': '4592e97959994e86', 'apps.setup.navigation.nav_notification_preferences.label': '8869f324c1bd545a', 'apps.setup.navigation.nav_notification_templates.label': '9e270c87ef2578df', - 'apps.setup.navigation.nav_sessions.label': '673bde6e0c8a3ef9', + 'apps.setup.navigation.nav_sessions.label': '05a759e3a230615e', 'apps.setup.navigation.nav_audit_logs.label': 'b2fad40733012b18', - 'apps.setup.navigation.nav_notifications.label': 'e0fdb90b1d31078d', + 'apps.setup.navigation.nav_notifications.label': '6cdb0d37e6bea5d0', 'apps.setup.navigation.nav_webhooks.label': '8fdd81bc76459a6a', 'apps.setup.navigation.nav_http_deliveries.label': '340f81dc6ea64987', 'apps.setup.navigation.nav_datasources.label': '2f0648ce23158e6f', @@ -134,6 +133,8 @@ export const frSourceHashes: Readonly> = { 'apps.setup.navigation.nav_connector_connections.label': '949e9a8fd25c3d57', 'apps.setup.navigation.nav_slack.label': 'c3c9e181e8c74b22', 'apps.setup.navigation.nav_oauth_apps.label': '1b26cce61a4c10eb', + 'apps.setup.navigation.nav_standard_unit_settings.label': '12782f7dd0f875f7', + 'apps.setup.navigation.nav_work_calendar_exceptions.label': '39a8569ad96c3b76', 'apps.studio.label': '479a1bf587b5965e', 'apps.studio.description': 'c026a5795933995d', 'apps.studio.navigation.group_overview.label': 'eebdbe1cc7b59cdf', diff --git a/packages/platform-objects/src/apps/translations/fr.ts b/packages/platform-objects/src/apps/translations/fr.ts index 4b0351d7579..846179db19c 100644 --- a/packages/platform-objects/src/apps/translations/fr.ts +++ b/packages/platform-objects/src/apps/translations/fr.ts @@ -40,18 +40,18 @@ export const fr: TranslationData = { label: 'Configuration', description: 'Paramètres et administration de la plateforme', navigation: { - group_users_org: { label: 'Utilisateurs et organisation' }, - group_access_sharing: { label: 'Accès et partage' }, - group_apps_ai: { label: 'Applications et IA' }, - group_routing_approvals: { label: 'Affectation et approbations' }, - group_audit_data: { label: 'Audit et données' }, - group_company: { label: 'Paramètres de l’entreprise' }, + group_users_org: { label: 'Utilisateurs et organisation', keywords: ['Personnes et organisation'] }, + group_access_sharing: { label: 'Accès et partage', keywords: ['Contrôle d’accès'] }, + group_apps_ai: { label: 'Applications et IA', keywords: ['Applications'] }, + group_routing_approvals: { label: 'Affectation et approbations', keywords: ['Approbations'] }, + group_audit_data: { label: 'Audit et données', keywords: ['Diagnostics'] }, + group_company: { label: 'Paramètres de l’entreprise', keywords: ['Configuration'] }, group_currency_units: { label: 'Devises et unités' }, group_notifications: { label: 'Notifications' }, group_login_security: { label: 'Connexion et sécurité' }, - group_integrations_dev: { label: 'Intégrations et développement' }, + group_integrations_dev: { label: 'Intégrations et développement', keywords: ['Intégrations', 'Avancé'] }, nav_marketplace_browse: { label: 'Parcourir la Marketplace' }, - nav_packages: { label: 'Packages' }, + nav_packages: { label: 'Applications installées', keywords: ['Packages'] }, nav_cloud_connection: { label: 'Connexion au cloud' }, nav_system_overview: { label: 'Aperçu du système' }, @@ -59,16 +59,16 @@ export const fr: TranslationData = { nav_users: { label: 'Utilisateurs' }, nav_organization: { label: 'Organisation' }, - nav_business_units: { label: 'Unités commerciales' }, + nav_business_units: { label: 'Unités commerciales', keywords: ['Département', 'Organigramme', 'Division'] }, nav_teams: { label: 'Équipes' }, nav_organizations: { label: 'Organisations' }, nav_invitations: { label: 'Invitations' }, - nav_position_holders: { label: 'Titulaires de postes' }, - nav_permission_set_assignment: { label: 'Attribution des ensembles d’autorisations' }, + nav_position_holders: { label: 'Membres des postes', keywords: ['Titulaires de postes'] }, + nav_permission_set_assignment: { label: 'Octroi des ensembles d’autorisations', keywords: ['Attribution des ensembles d’autorisations'] }, nav_sharing_rules: { label: 'Règles de partage' }, - nav_record_shares: { label: 'Partages d’enregistrements' }, - nav_queues: { label: 'Files d’attente' }, + nav_record_shares: { label: 'Détail des partages', keywords: ['Partages d’enregistrements'] }, + nav_queues: { label: 'Files de travail', keywords: ['Files d’attente'] }, nav_queue_members: { label: 'Membres de file d’attente' }, nav_assignment_rules: { label: 'Règles d’attribution' }, // Conditionally contributed by `@objectstack/plugin-auth` (only when an @@ -98,32 +98,31 @@ export const fr: TranslationData = { // service-settings' fr bundle (`setup-nav-hub-parity.test.ts`), so the // two delivery pages say Envoi here while the HTTP log below says // Livraisons, as sys_http_delivery's fr object label does. - nav_settings_hub: { label: 'Tous les paramètres' }, - nav_settings_localization: { label: 'Localisation' }, + nav_settings_localization: { label: 'Langue et région', keywords: ['Localisation'] }, nav_exchange_rates: { label: 'Taux de change' }, nav_units_of_measure: { label: 'Unités de mesure' }, - nav_standard_unit_settings: { label: 'Paramètres des unités standard' }, + nav_standard_unit_settings: { label: 'Décimales des unités standard', keywords: ['Paramètres des unités standard'] }, nav_work_calendars: { label: 'Calendriers de travail' }, - nav_work_calendar_exceptions: { label: 'Exceptions de calendrier' }, - nav_settings_company: { label: 'Entreprise' }, - nav_settings_mail: { label: 'Envoi des e-mails' }, - nav_settings_sms: { label: 'Envoi des SMS' }, + nav_work_calendar_exceptions: { label: 'Jours fériés et jours ouvrés déplacés', keywords: ['Exceptions de calendrier'] }, + nav_settings_company: { label: 'Informations sur l’entreprise', keywords: ['Entreprise'] }, + nav_settings_mail: { label: 'Canal e-mail', keywords: ['Envoi des e-mails'] }, + nav_settings_sms: { label: 'Canal SMS', keywords: ['Envoi des SMS'] }, nav_settings_branding: { label: 'Image de marque' }, - nav_settings_auth: { label: 'Authentification' }, + nav_settings_auth: { label: 'Méthodes de connexion', keywords: ['Authentification'] }, nav_settings_access_policy: { label: 'Politique d’accès' }, nav_settings_storage: { label: 'Stockage des fichiers' }, - nav_settings_ai: { label: 'IA et Embedder' }, + nav_settings_ai: { label: 'Service de modèles d’IA', keywords: ['IA et Embedder'] }, nav_settings_knowledge: { label: 'Connaissances' }, nav_knowledge_sync_states: { label: 'État de synchronisation des connaissances' }, - nav_settings_lifecycle: { label: 'Cycle de vie des données' }, + nav_settings_lifecycle: { label: 'Conservation des données', keywords: ['Cycle de vie des données'] }, nav_recycle_bin: { label: 'Corbeille' }, nav_public_forms: { label: 'Formulaires publics' }, nav_notification_preferences: { label: 'Préférences de notification' }, nav_notification_templates: { label: 'Modèles de notification' }, - nav_sessions: { label: 'Sessions' }, + nav_sessions: { label: 'Sessions actives', keywords: ['Sessions'] }, nav_audit_logs: { label: 'Journal d’audit' }, - nav_notifications: { label: 'Notifications' }, + nav_notifications: { label: 'Journal des envois', keywords: ['Notifications'] }, // Integrations — contributed at RUNTIME by the owning capability // plugins (ADR-0029 K2), so no static walk of SETUP_APP can see them. diff --git a/packages/platform-objects/src/apps/translations/ja-JP.source-hashes.ts b/packages/platform-objects/src/apps/translations/ja-JP.source-hashes.ts index 85f5aaae67f..f9681353224 100644 --- a/packages/platform-objects/src/apps/translations/ja-JP.source-hashes.ts +++ b/packages/platform-objects/src/apps/translations/ja-JP.source-hashes.ts @@ -81,7 +81,7 @@ export const jaJPSourceHashes: Readonly> = { 'apps.setup.navigation.group_login_security.label': 'c20a3fe111222f9d', 'apps.setup.navigation.group_integrations_dev.label': '108f3557a21159e3', 'apps.setup.navigation.nav_marketplace_browse.label': '2afbe021f5419fdd', - 'apps.setup.navigation.nav_packages.label': '8cd8f29658025f73', + 'apps.setup.navigation.nav_packages.label': '93bd5d458e05db60', 'apps.setup.navigation.nav_cloud_connection.label': '3a7caad0cb98e71d', 'apps.setup.navigation.nav_system_overview.label': '574b2a4b7fb7f979', 'apps.setup.navigation.nav_users.label': 'eee81f7307a66c40', @@ -103,28 +103,30 @@ export const jaJPSourceHashes: Readonly> = { 'apps.setup.navigation.nav_approval_requests.label': 'aafd0f7c6a376f55', 'apps.setup.navigation.nav_approval_actions.label': 'd2ebad7acfd50978', 'apps.setup.navigation.nav_approval_delegations.label': 'fc0d41741659c462', - 'apps.setup.navigation.nav_settings_hub.label': 'a3ac65c7c7f461bf', - 'apps.setup.navigation.nav_settings_localization.label': 'beedfaf00452c829', - 'apps.setup.navigation.nav_settings_company.label': '9d7f685e11eaade9', - 'apps.setup.navigation.nav_settings_mail.label': '5d0599600587427d', - 'apps.setup.navigation.nav_settings_sms.label': '77a3056d33027ca0', + 'apps.setup.navigation.nav_settings_localization.label': '8001ca4f9a27b2a0', + 'apps.setup.navigation.nav_settings_company.label': '31f34011020f6ce5', + 'apps.setup.navigation.nav_settings_mail.label': '724c0d1ef68d13dc', + 'apps.setup.navigation.nav_settings_sms.label': '70014932a8ceabd8', 'apps.setup.navigation.nav_settings_branding.label': 'ec6e391065514b64', - 'apps.setup.navigation.nav_settings_auth.label': '5c6d7dbd850ca37c', + 'apps.setup.navigation.nav_settings_auth.label': 'b843d0629b781763', 'apps.setup.navigation.nav_settings_storage.label': 'a2fb526b03c9a9e5', - 'apps.setup.navigation.nav_settings_ai.label': 'a6b41a554173f7ab', + 'apps.setup.navigation.nav_settings_ai.label': '4fc9a84bea2bf0b0', 'apps.setup.navigation.nav_settings_knowledge.label': '140348539a50d9d5', - 'apps.setup.navigation.nav_settings_lifecycle.label': 'cd9fe9c930afed06', + 'apps.setup.navigation.nav_settings_lifecycle.label': 'b948a04afce8ba1c', 'apps.setup.navigation.nav_recycle_bin.label': '2f5aefe2be221196', 'apps.setup.navigation.nav_public_forms.label': '4592e97959994e86', 'apps.setup.navigation.nav_notification_preferences.label': '8869f324c1bd545a', 'apps.setup.navigation.nav_notification_templates.label': '9e270c87ef2578df', - 'apps.setup.navigation.nav_sessions.label': '673bde6e0c8a3ef9', + 'apps.setup.navigation.nav_sessions.label': '05a759e3a230615e', 'apps.setup.navigation.nav_audit_logs.label': 'b2fad40733012b18', - 'apps.setup.navigation.nav_notifications.label': 'e0fdb90b1d31078d', + 'apps.setup.navigation.nav_notifications.label': '6cdb0d37e6bea5d0', 'apps.setup.navigation.nav_webhooks.label': '8fdd81bc76459a6a', 'apps.setup.navigation.nav_http_deliveries.label': '340f81dc6ea64987', 'apps.setup.navigation.nav_datasources.label': '2f0648ce23158e6f', 'apps.setup.navigation.nav_oauth_apps.label': '1b26cce61a4c10eb', + 'apps.setup.navigation.nav_standard_unit_settings.label': '12782f7dd0f875f7', + 'apps.setup.navigation.nav_work_calendar_exceptions.label': '39a8569ad96c3b76', + 'apps.setup.navigation.nav_queues.label': '226d23b8bd681e98', 'apps.studio.label': '479a1bf587b5965e', 'apps.studio.description': 'c026a5795933995d', 'apps.studio.navigation.group_overview.label': 'eebdbe1cc7b59cdf', diff --git a/packages/platform-objects/src/apps/translations/ja-JP.ts b/packages/platform-objects/src/apps/translations/ja-JP.ts index bf48f629be8..6666b3b9ed4 100644 --- a/packages/platform-objects/src/apps/translations/ja-JP.ts +++ b/packages/platform-objects/src/apps/translations/ja-JP.ts @@ -40,18 +40,18 @@ export const jaJP: TranslationData = { label: 'セットアップ', description: 'プラットフォーム設定と管理', navigation: { - group_users_org: { label: 'ユーザーと組織' }, - group_access_sharing: { label: 'アクセスと共有' }, - group_apps_ai: { label: 'アプリと AI' }, - group_routing_approvals: { label: '割り当てと承認' }, - group_audit_data: { label: '監査とデータ' }, - group_company: { label: '会社設定' }, + group_users_org: { label: 'ユーザーと組織', keywords: ['ユーザーと組織'] }, + group_access_sharing: { label: 'アクセスと共有', keywords: ['アクセス制御'] }, + group_apps_ai: { label: 'アプリと AI', keywords: ['アプリ'] }, + group_routing_approvals: { label: '割り当てと承認', keywords: ['承認'] }, + group_audit_data: { label: '監査とデータ', keywords: ['診断'] }, + group_company: { label: '会社設定', keywords: ['構成'] }, group_currency_units: { label: '通貨と単位' }, group_notifications: { label: '通知' }, group_login_security: { label: 'ログインとセキュリティ' }, - group_integrations_dev: { label: '連携と開発' }, + group_integrations_dev: { label: '連携と開発', keywords: ['統合', '詳細'] }, nav_marketplace_browse: { label: 'マーケットプレイスを閲覧' }, - nav_packages: { label: 'パッケージ' }, + nav_packages: { label: 'インストール済みアプリ', keywords: ['パッケージ'] }, nav_cloud_connection: { label: 'クラウド接続' }, nav_system_overview: { label: 'システム概要' }, @@ -59,16 +59,16 @@ export const jaJP: TranslationData = { nav_users: { label: 'ユーザー' }, nav_organization: { label: '現在の組織' }, - nav_business_units: { label: 'ビジネスユニット' }, + nav_business_units: { label: 'ビジネスユニット', keywords: ['部門', '組織図', '事業部'] }, nav_teams: { label: 'チーム' }, nav_organizations: { label: 'すべての組織' }, nav_invitations: { label: '招待' }, - nav_position_holders: { label: 'ポジション保持者' }, - nav_permission_set_assignment: { label: '権限セットの割り当て' }, + nav_position_holders: { label: 'ポジションのメンバー', keywords: ['ポジション保持者'] }, + nav_permission_set_assignment: { label: '権限セットの付与', keywords: ['権限セットの割り当て'] }, nav_sharing_rules: { label: '共有ルール' }, - nav_record_shares: { label: 'レコード共有' }, - nav_queues: { label: 'キュー' }, + nav_record_shares: { label: '共有の明細', keywords: ['レコード共有'] }, + nav_queues: { label: '作業キュー', keywords: ['キュー'] }, nav_queue_members: { label: 'キューメンバー' }, nav_assignment_rules: { label: '割り当てルール' }, // Conditionally contributed by `@objectstack/plugin-auth` (only when an @@ -86,33 +86,31 @@ export const jaJP: TranslationData = { nav_approval_requests: { label: 'リクエスト' }, nav_approval_actions: { label: 'アクション履歴' }, nav_approval_delegations: { label: '委任 (不在時)' }, - - nav_settings_hub: { label: 'すべての設定' }, - nav_settings_localization: { label: 'ローカリゼーション' }, + nav_settings_localization: { label: '言語と地域', keywords: ['ローカリゼーション'] }, nav_exchange_rates: { label: '為替レート' }, nav_units_of_measure: { label: '計量単位' }, - nav_standard_unit_settings: { label: '標準単位の設定' }, + nav_standard_unit_settings: { label: '標準単位の小数桁数', keywords: ['標準単位の設定'] }, nav_work_calendars: { label: '稼働カレンダー' }, - nav_work_calendar_exceptions: { label: 'カレンダー例外' }, - nav_settings_company: { label: '会社' }, - nav_settings_mail: { label: 'メール配信' }, - nav_settings_sms: { label: 'SMS 配信' }, + nav_work_calendar_exceptions: { label: '祝日と振替出勤', keywords: ['カレンダー例外'] }, + nav_settings_company: { label: '会社情報', keywords: ['会社'] }, + nav_settings_mail: { label: 'メールチャネル', keywords: ['メール配信'] }, + nav_settings_sms: { label: 'SMS チャネル', keywords: ['SMS 配信'] }, nav_settings_branding: { label: 'ブランディング' }, - nav_settings_auth: { label: '認証' }, + nav_settings_auth: { label: 'サインイン方法', keywords: ['認証'] }, nav_settings_access_policy: { label: 'アクセスポリシー' }, nav_settings_storage: { label: 'ファイルストレージ' }, - nav_settings_ai: { label: 'AI と Embedder' }, + nav_settings_ai: { label: 'AI モデルサービス', keywords: ['AI と Embedder'] }, nav_settings_knowledge: { label: 'ナレッジ' }, nav_knowledge_sync_states: { label: 'ナレッジ同期状況' }, - nav_settings_lifecycle: { label: 'データライフサイクル' }, + nav_settings_lifecycle: { label: 'データ保持', keywords: ['データライフサイクル'] }, nav_recycle_bin: { label: 'ごみ箱' }, nav_public_forms: { label: '公開フォーム' }, nav_notification_preferences: { label: '通知設定' }, nav_notification_templates: { label: '通知テンプレート' }, - nav_sessions: { label: 'セッション' }, + nav_sessions: { label: 'アクティブなセッション', keywords: ['セッション'] }, nav_audit_logs: { label: '監査ログ' }, - nav_notifications: { label: '通知' }, + nav_notifications: { label: '送信履歴', keywords: ['通知'] }, // Integrations — contributed at RUNTIME by the owning capability // plugins (ADR-0029 K2); gated by `pnpm check:app-nav-i18n` (#5750). diff --git a/packages/platform-objects/src/apps/translations/ko.source-hashes.ts b/packages/platform-objects/src/apps/translations/ko.source-hashes.ts index 222a3a2d960..18261665864 100644 --- a/packages/platform-objects/src/apps/translations/ko.source-hashes.ts +++ b/packages/platform-objects/src/apps/translations/ko.source-hashes.ts @@ -82,7 +82,7 @@ export const koSourceHashes: Readonly> = { 'apps.setup.navigation.group_login_security.label': 'c20a3fe111222f9d', 'apps.setup.navigation.group_integrations_dev.label': '108f3557a21159e3', 'apps.setup.navigation.nav_marketplace_browse.label': '2afbe021f5419fdd', - 'apps.setup.navigation.nav_packages.label': '8cd8f29658025f73', + 'apps.setup.navigation.nav_packages.label': '93bd5d458e05db60', 'apps.setup.navigation.nav_cloud_connection.label': '3a7caad0cb98e71d', 'apps.setup.navigation.nav_system_overview.label': '574b2a4b7fb7f979', 'apps.setup.navigation.nav_connect_agent.label': 'a4542422fb5e8a68', @@ -107,26 +107,25 @@ export const koSourceHashes: Readonly> = { 'apps.setup.navigation.nav_approval_requests.label': 'aafd0f7c6a376f55', 'apps.setup.navigation.nav_approval_actions.label': 'd2ebad7acfd50978', 'apps.setup.navigation.nav_approval_delegations.label': 'fc0d41741659c462', - 'apps.setup.navigation.nav_settings_hub.label': 'a3ac65c7c7f461bf', - 'apps.setup.navigation.nav_settings_localization.label': 'beedfaf00452c829', + 'apps.setup.navigation.nav_settings_localization.label': '8001ca4f9a27b2a0', 'apps.setup.navigation.nav_exchange_rates.label': '6d043e1f08434720', - 'apps.setup.navigation.nav_settings_company.label': '9d7f685e11eaade9', - 'apps.setup.navigation.nav_settings_mail.label': '5d0599600587427d', - 'apps.setup.navigation.nav_settings_sms.label': '77a3056d33027ca0', + 'apps.setup.navigation.nav_settings_company.label': '31f34011020f6ce5', + 'apps.setup.navigation.nav_settings_mail.label': '724c0d1ef68d13dc', + 'apps.setup.navigation.nav_settings_sms.label': '70014932a8ceabd8', 'apps.setup.navigation.nav_settings_branding.label': 'ec6e391065514b64', - 'apps.setup.navigation.nav_settings_auth.label': '5c6d7dbd850ca37c', + 'apps.setup.navigation.nav_settings_auth.label': 'b843d0629b781763', 'apps.setup.navigation.nav_settings_access_policy.label': '39a7cfb9a7cba125', 'apps.setup.navigation.nav_settings_storage.label': 'a2fb526b03c9a9e5', - 'apps.setup.navigation.nav_settings_ai.label': 'a6b41a554173f7ab', + 'apps.setup.navigation.nav_settings_ai.label': '4fc9a84bea2bf0b0', 'apps.setup.navigation.nav_settings_knowledge.label': '140348539a50d9d5', - 'apps.setup.navigation.nav_settings_lifecycle.label': 'cd9fe9c930afed06', + 'apps.setup.navigation.nav_settings_lifecycle.label': 'b948a04afce8ba1c', 'apps.setup.navigation.nav_recycle_bin.label': '2f5aefe2be221196', 'apps.setup.navigation.nav_public_forms.label': '4592e97959994e86', 'apps.setup.navigation.nav_notification_preferences.label': '8869f324c1bd545a', 'apps.setup.navigation.nav_notification_templates.label': '9e270c87ef2578df', - 'apps.setup.navigation.nav_sessions.label': '673bde6e0c8a3ef9', + 'apps.setup.navigation.nav_sessions.label': '05a759e3a230615e', 'apps.setup.navigation.nav_audit_logs.label': 'b2fad40733012b18', - 'apps.setup.navigation.nav_notifications.label': 'e0fdb90b1d31078d', + 'apps.setup.navigation.nav_notifications.label': '6cdb0d37e6bea5d0', 'apps.setup.navigation.nav_webhooks.label': '8fdd81bc76459a6a', 'apps.setup.navigation.nav_http_deliveries.label': '340f81dc6ea64987', 'apps.setup.navigation.nav_datasources.label': '2f0648ce23158e6f', @@ -134,6 +133,8 @@ export const koSourceHashes: Readonly> = { 'apps.setup.navigation.nav_connector_connections.label': '949e9a8fd25c3d57', 'apps.setup.navigation.nav_slack.label': 'c3c9e181e8c74b22', 'apps.setup.navigation.nav_oauth_apps.label': '1b26cce61a4c10eb', + 'apps.setup.navigation.nav_standard_unit_settings.label': '12782f7dd0f875f7', + 'apps.setup.navigation.nav_work_calendar_exceptions.label': '39a8569ad96c3b76', 'apps.studio.label': '479a1bf587b5965e', 'apps.studio.description': 'c026a5795933995d', 'apps.studio.navigation.group_overview.label': 'eebdbe1cc7b59cdf', diff --git a/packages/platform-objects/src/apps/translations/ko.ts b/packages/platform-objects/src/apps/translations/ko.ts index e1a07a55375..b40d53153d8 100644 --- a/packages/platform-objects/src/apps/translations/ko.ts +++ b/packages/platform-objects/src/apps/translations/ko.ts @@ -40,18 +40,18 @@ export const ko: TranslationData = { label: '설정', description: '플랫폼 설정 및 관리', navigation: { - group_users_org: { label: '사용자 및 조직' }, - group_access_sharing: { label: '액세스 및 공유' }, - group_apps_ai: { label: '앱 및 AI' }, - group_routing_approvals: { label: '배정 및 승인' }, - group_audit_data: { label: '감사 및 데이터' }, - group_company: { label: '회사 설정' }, + group_users_org: { label: '사용자 및 조직', keywords: ['사용자 및 조직'] }, + group_access_sharing: { label: '액세스 및 공유', keywords: ['액세스 제어'] }, + group_apps_ai: { label: '앱 및 AI', keywords: ['앱'] }, + group_routing_approvals: { label: '배정 및 승인', keywords: ['승인'] }, + group_audit_data: { label: '감사 및 데이터', keywords: ['진단'] }, + group_company: { label: '회사 설정', keywords: ['구성'] }, group_currency_units: { label: '통화 및 단위' }, group_notifications: { label: '알림' }, group_login_security: { label: '로그인 및 보안' }, - group_integrations_dev: { label: '통합 및 개발' }, + group_integrations_dev: { label: '통합 및 개발', keywords: ['통합', '고급'] }, nav_marketplace_browse: { label: '마켓플레이스 둘러보기' }, - nav_packages: { label: '패키지' }, + nav_packages: { label: '설치된 앱', keywords: ['패키지'] }, nav_cloud_connection: { label: '클라우드 연결' }, nav_system_overview: { label: '시스템 개요' }, @@ -59,16 +59,16 @@ export const ko: TranslationData = { nav_users: { label: '사용자' }, nav_organization: { label: '현재 조직' }, - nav_business_units: { label: '사업부' }, + nav_business_units: { label: '사업부', keywords: ['부서', '조직도', '본부'] }, nav_teams: { label: '팀' }, nav_organizations: { label: '전체 조직' }, nav_invitations: { label: '초대' }, - nav_position_holders: { label: '직위 보유자' }, - nav_permission_set_assignment: { label: '권한 세트 할당' }, + nav_position_holders: { label: '직위 구성원', keywords: ['직위 보유자'] }, + nav_permission_set_assignment: { label: '권한 세트 부여', keywords: ['권한 세트 할당'] }, nav_sharing_rules: { label: '공유 규칙' }, - nav_record_shares: { label: '레코드 공유' }, - nav_queues: { label: '대기열' }, + nav_record_shares: { label: '공유 내역', keywords: ['레코드 공유'] }, + nav_queues: { label: '작업 대기열', keywords: ['대기열'] }, nav_queue_members: { label: '대기열 구성원' }, nav_assignment_rules: { label: '배정 규칙' }, // Conditionally contributed by `@objectstack/plugin-auth` (only when an @@ -97,32 +97,31 @@ export const ko: TranslationData = { // service-settings' ko bundle (`setup-nav-hub-parity.test.ts`), so the // two delivery pages say 전송 here, as does the HTTP log below, which // reads as sys_http_delivery's ko object label. - nav_settings_hub: { label: '전체 설정' }, - nav_settings_localization: { label: '현지화' }, + nav_settings_localization: { label: '언어 및 지역', keywords: ['현지화'] }, nav_exchange_rates: { label: '환율' }, nav_units_of_measure: { label: '측정 단위' }, - nav_standard_unit_settings: { label: '표준 단위 설정' }, + nav_standard_unit_settings: { label: '표준 단위 소수 자릿수', keywords: ['표준 단위 설정'] }, nav_work_calendars: { label: '근무 캘린더' }, - nav_work_calendar_exceptions: { label: '캘린더 예외' }, - nav_settings_company: { label: '회사' }, - nav_settings_mail: { label: '메일 전송' }, - nav_settings_sms: { label: 'SMS 전송' }, + nav_work_calendar_exceptions: { label: '공휴일 및 대체 근무일', keywords: ['캘린더 예외'] }, + nav_settings_company: { label: '회사 정보', keywords: ['회사'] }, + nav_settings_mail: { label: '이메일 채널', keywords: ['메일 전송'] }, + nav_settings_sms: { label: 'SMS 채널', keywords: ['SMS 전송'] }, nav_settings_branding: { label: '브랜딩' }, - nav_settings_auth: { label: '인증' }, + nav_settings_auth: { label: '로그인 방법', keywords: ['인증'] }, nav_settings_access_policy: { label: '액세스 정책' }, nav_settings_storage: { label: '파일 저장소' }, - nav_settings_ai: { label: 'AI 및 Embedder' }, + nav_settings_ai: { label: 'AI 모델 서비스', keywords: ['AI 및 Embedder'] }, nav_settings_knowledge: { label: '지식' }, nav_knowledge_sync_states: { label: '지식 동기화 상태' }, - nav_settings_lifecycle: { label: '데이터 수명 주기' }, + nav_settings_lifecycle: { label: '데이터 보존', keywords: ['데이터 수명 주기'] }, nav_recycle_bin: { label: '휴지통' }, nav_public_forms: { label: '공개 양식' }, nav_notification_preferences: { label: '알림 기본 설정' }, nav_notification_templates: { label: '알림 템플릿' }, - nav_sessions: { label: '세션' }, + nav_sessions: { label: '활성 세션', keywords: ['세션'] }, nav_audit_logs: { label: '감사 로그' }, - nav_notifications: { label: '알림' }, + nav_notifications: { label: '발송 기록', keywords: ['알림'] }, // Integrations — contributed at RUNTIME by the owning capability // plugins (ADR-0029 K2), so no static walk of SETUP_APP can see them. diff --git a/packages/platform-objects/src/apps/translations/pt-BR.source-hashes.ts b/packages/platform-objects/src/apps/translations/pt-BR.source-hashes.ts index b52ed596175..59b084c413b 100644 --- a/packages/platform-objects/src/apps/translations/pt-BR.source-hashes.ts +++ b/packages/platform-objects/src/apps/translations/pt-BR.source-hashes.ts @@ -82,7 +82,7 @@ export const ptBRSourceHashes: Readonly> = { 'apps.setup.navigation.group_login_security.label': 'c20a3fe111222f9d', 'apps.setup.navigation.group_integrations_dev.label': '108f3557a21159e3', 'apps.setup.navigation.nav_marketplace_browse.label': '2afbe021f5419fdd', - 'apps.setup.navigation.nav_packages.label': '8cd8f29658025f73', + 'apps.setup.navigation.nav_packages.label': '93bd5d458e05db60', 'apps.setup.navigation.nav_cloud_connection.label': '3a7caad0cb98e71d', 'apps.setup.navigation.nav_system_overview.label': '574b2a4b7fb7f979', 'apps.setup.navigation.nav_connect_agent.label': 'a4542422fb5e8a68', @@ -107,26 +107,25 @@ export const ptBRSourceHashes: Readonly> = { 'apps.setup.navigation.nav_approval_requests.label': 'aafd0f7c6a376f55', 'apps.setup.navigation.nav_approval_actions.label': 'd2ebad7acfd50978', 'apps.setup.navigation.nav_approval_delegations.label': 'fc0d41741659c462', - 'apps.setup.navigation.nav_settings_hub.label': 'a3ac65c7c7f461bf', - 'apps.setup.navigation.nav_settings_localization.label': 'beedfaf00452c829', + 'apps.setup.navigation.nav_settings_localization.label': '8001ca4f9a27b2a0', 'apps.setup.navigation.nav_exchange_rates.label': '6d043e1f08434720', - 'apps.setup.navigation.nav_settings_company.label': '9d7f685e11eaade9', - 'apps.setup.navigation.nav_settings_mail.label': '5d0599600587427d', - 'apps.setup.navigation.nav_settings_sms.label': '77a3056d33027ca0', + 'apps.setup.navigation.nav_settings_company.label': '31f34011020f6ce5', + 'apps.setup.navigation.nav_settings_mail.label': '724c0d1ef68d13dc', + 'apps.setup.navigation.nav_settings_sms.label': '70014932a8ceabd8', 'apps.setup.navigation.nav_settings_branding.label': 'ec6e391065514b64', - 'apps.setup.navigation.nav_settings_auth.label': '5c6d7dbd850ca37c', + 'apps.setup.navigation.nav_settings_auth.label': 'b843d0629b781763', 'apps.setup.navigation.nav_settings_access_policy.label': '39a7cfb9a7cba125', 'apps.setup.navigation.nav_settings_storage.label': 'a2fb526b03c9a9e5', - 'apps.setup.navigation.nav_settings_ai.label': 'a6b41a554173f7ab', + 'apps.setup.navigation.nav_settings_ai.label': '4fc9a84bea2bf0b0', 'apps.setup.navigation.nav_settings_knowledge.label': '140348539a50d9d5', - 'apps.setup.navigation.nav_settings_lifecycle.label': 'cd9fe9c930afed06', + 'apps.setup.navigation.nav_settings_lifecycle.label': 'b948a04afce8ba1c', 'apps.setup.navigation.nav_recycle_bin.label': '2f5aefe2be221196', 'apps.setup.navigation.nav_public_forms.label': '4592e97959994e86', 'apps.setup.navigation.nav_notification_preferences.label': '8869f324c1bd545a', 'apps.setup.navigation.nav_notification_templates.label': '9e270c87ef2578df', - 'apps.setup.navigation.nav_sessions.label': '673bde6e0c8a3ef9', + 'apps.setup.navigation.nav_sessions.label': '05a759e3a230615e', 'apps.setup.navigation.nav_audit_logs.label': 'b2fad40733012b18', - 'apps.setup.navigation.nav_notifications.label': 'e0fdb90b1d31078d', + 'apps.setup.navigation.nav_notifications.label': '6cdb0d37e6bea5d0', 'apps.setup.navigation.nav_webhooks.label': '8fdd81bc76459a6a', 'apps.setup.navigation.nav_http_deliveries.label': '340f81dc6ea64987', 'apps.setup.navigation.nav_datasources.label': '2f0648ce23158e6f', @@ -134,6 +133,8 @@ export const ptBRSourceHashes: Readonly> = { 'apps.setup.navigation.nav_connector_connections.label': '949e9a8fd25c3d57', 'apps.setup.navigation.nav_slack.label': 'c3c9e181e8c74b22', 'apps.setup.navigation.nav_oauth_apps.label': '1b26cce61a4c10eb', + 'apps.setup.navigation.nav_standard_unit_settings.label': '12782f7dd0f875f7', + 'apps.setup.navigation.nav_work_calendar_exceptions.label': '39a8569ad96c3b76', 'apps.studio.label': '479a1bf587b5965e', 'apps.studio.description': 'c026a5795933995d', 'apps.studio.navigation.group_overview.label': 'eebdbe1cc7b59cdf', diff --git a/packages/platform-objects/src/apps/translations/pt-BR.ts b/packages/platform-objects/src/apps/translations/pt-BR.ts index 8f55db31070..5066f615d3c 100644 --- a/packages/platform-objects/src/apps/translations/pt-BR.ts +++ b/packages/platform-objects/src/apps/translations/pt-BR.ts @@ -40,18 +40,18 @@ export const ptBR: TranslationData = { label: 'Configuração', description: 'Configurações e administração da plataforma', navigation: { - group_users_org: { label: 'Usuários e organização' }, - group_access_sharing: { label: 'Acesso e compartilhamento' }, - group_apps_ai: { label: 'Apps e IA' }, - group_routing_approvals: { label: 'Atribuição e aprovações' }, - group_audit_data: { label: 'Auditoria e dados' }, - group_company: { label: 'Configurações da empresa' }, + group_users_org: { label: 'Usuários e organização', keywords: ['Pessoas e organização'] }, + group_access_sharing: { label: 'Acesso e compartilhamento', keywords: ['Controle de acesso'] }, + group_apps_ai: { label: 'Apps e IA', keywords: ['Aplicativos'] }, + group_routing_approvals: { label: 'Atribuição e aprovações', keywords: ['Aprovações'] }, + group_audit_data: { label: 'Auditoria e dados', keywords: ['Diagnóstico'] }, + group_company: { label: 'Configurações da empresa', keywords: ['Configuração'] }, group_currency_units: { label: 'Moedas e unidades' }, group_notifications: { label: 'Notificações' }, group_login_security: { label: 'Login e segurança' }, - group_integrations_dev: { label: 'Integrações e desenvolvimento' }, + group_integrations_dev: { label: 'Integrações e desenvolvimento', keywords: ['Integrações', 'Avançado'] }, nav_marketplace_browse: { label: 'Explorar o Marketplace' }, - nav_packages: { label: 'Pacotes' }, + nav_packages: { label: 'Aplicativos instalados', keywords: ['Pacotes'] }, nav_cloud_connection: { label: 'Conexão com a nuvem' }, nav_system_overview: { label: 'Visão geral do sistema' }, @@ -59,16 +59,16 @@ export const ptBR: TranslationData = { nav_users: { label: 'Usuários' }, nav_organization: { label: 'Organização' }, - nav_business_units: { label: 'Unidades de negócios' }, + nav_business_units: { label: 'Unidades de negócios', keywords: ['Departamento', 'Estrutura organizacional', 'Divisão'] }, nav_teams: { label: 'Equipes' }, nav_organizations: { label: 'Organizações' }, nav_invitations: { label: 'Convites' }, - nav_position_holders: { label: 'Ocupantes de cargos' }, - nav_permission_set_assignment: { label: 'Atribuição de conjuntos de permissões' }, + nav_position_holders: { label: 'Membros de cargos', keywords: ['Ocupantes de cargos'] }, + nav_permission_set_assignment: { label: 'Concessões de conjuntos de permissões', keywords: ['Atribuição de conjuntos de permissões'] }, nav_sharing_rules: { label: 'Regras de compartilhamento' }, - nav_record_shares: { label: 'Compartilhamentos de registros' }, - nav_queues: { label: 'Filas' }, + nav_record_shares: { label: 'Detalhes de compartilhamento', keywords: ['Compartilhamentos de registros'] }, + nav_queues: { label: 'Filas de trabalho', keywords: ['Filas'] }, nav_queue_members: { label: 'Membros da fila' }, nav_assignment_rules: { label: 'Regras de atribuição' }, // Conditionally contributed by `@objectstack/plugin-auth` (only when an @@ -98,32 +98,31 @@ export const ptBR: TranslationData = { // service-settings' pt-BR bundle (`setup-nav-hub-parity.test.ts`), so the // two delivery pages say Envio here while the HTTP log below says // Entregas, as sys_http_delivery's pt-BR object label does. - nav_settings_hub: { label: 'Todas as configurações' }, - nav_settings_localization: { label: 'Localização' }, + nav_settings_localization: { label: 'Idioma e região', keywords: ['Localização'] }, nav_exchange_rates: { label: 'Taxas de câmbio' }, nav_units_of_measure: { label: 'Unidades de medida' }, - nav_standard_unit_settings: { label: 'Configurações de unidades padrão' }, + nav_standard_unit_settings: { label: 'Casas decimais das unidades padrão', keywords: ['Configurações de unidades padrão'] }, nav_work_calendars: { label: 'Calendários de trabalho' }, - nav_work_calendar_exceptions: { label: 'Exceções de calendário' }, - nav_settings_company: { label: 'Empresa' }, - nav_settings_mail: { label: 'Envio de e-mail' }, - nav_settings_sms: { label: 'Envio de SMS' }, + nav_work_calendar_exceptions: { label: 'Feriados e dias úteis compensados', keywords: ['Exceções de calendário'] }, + nav_settings_company: { label: 'Informações da empresa', keywords: ['Empresa'] }, + nav_settings_mail: { label: 'Canal de e-mail', keywords: ['Envio de e-mail'] }, + nav_settings_sms: { label: 'Canal de SMS', keywords: ['Envio de SMS'] }, nav_settings_branding: { label: 'Identidade visual' }, - nav_settings_auth: { label: 'Autenticação' }, + nav_settings_auth: { label: 'Métodos de login', keywords: ['Autenticação'] }, nav_settings_access_policy: { label: 'Política de acesso' }, nav_settings_storage: { label: 'Armazenamento de arquivos' }, - nav_settings_ai: { label: 'IA e Embedder' }, + nav_settings_ai: { label: 'Serviço de modelos de IA', keywords: ['IA e Embedder'] }, nav_settings_knowledge: { label: 'Conhecimento' }, nav_knowledge_sync_states: { label: 'Status de sincronização do conhecimento' }, - nav_settings_lifecycle: { label: 'Ciclo de vida dos dados' }, + nav_settings_lifecycle: { label: 'Retenção de dados', keywords: ['Ciclo de vida dos dados'] }, nav_recycle_bin: { label: 'Lixeira' }, nav_public_forms: { label: 'Formulários públicos' }, nav_notification_preferences: { label: 'Preferências de notificação' }, nav_notification_templates: { label: 'Modelos de notificação' }, - nav_sessions: { label: 'Sessões' }, + nav_sessions: { label: 'Sessões ativas', keywords: ['Sessões'] }, nav_audit_logs: { label: 'Log de auditoria' }, - nav_notifications: { label: 'Notificações' }, + nav_notifications: { label: 'Registro de envios', keywords: ['Notificações'] }, // Integrations — contributed at RUNTIME by the owning capability // plugins (ADR-0029 K2), so no static walk of SETUP_APP can see them. diff --git a/packages/platform-objects/src/apps/translations/ru.source-hashes.ts b/packages/platform-objects/src/apps/translations/ru.source-hashes.ts index 3fb5b90443c..65e7d8725a2 100644 --- a/packages/platform-objects/src/apps/translations/ru.source-hashes.ts +++ b/packages/platform-objects/src/apps/translations/ru.source-hashes.ts @@ -82,7 +82,7 @@ export const ruSourceHashes: Readonly> = { 'apps.setup.navigation.group_login_security.label': 'c20a3fe111222f9d', 'apps.setup.navigation.group_integrations_dev.label': '108f3557a21159e3', 'apps.setup.navigation.nav_marketplace_browse.label': '2afbe021f5419fdd', - 'apps.setup.navigation.nav_packages.label': '8cd8f29658025f73', + 'apps.setup.navigation.nav_packages.label': '93bd5d458e05db60', 'apps.setup.navigation.nav_cloud_connection.label': '3a7caad0cb98e71d', 'apps.setup.navigation.nav_system_overview.label': '574b2a4b7fb7f979', 'apps.setup.navigation.nav_connect_agent.label': 'a4542422fb5e8a68', @@ -107,26 +107,25 @@ export const ruSourceHashes: Readonly> = { 'apps.setup.navigation.nav_approval_requests.label': 'aafd0f7c6a376f55', 'apps.setup.navigation.nav_approval_actions.label': 'd2ebad7acfd50978', 'apps.setup.navigation.nav_approval_delegations.label': 'fc0d41741659c462', - 'apps.setup.navigation.nav_settings_hub.label': 'a3ac65c7c7f461bf', - 'apps.setup.navigation.nav_settings_localization.label': 'beedfaf00452c829', + 'apps.setup.navigation.nav_settings_localization.label': '8001ca4f9a27b2a0', 'apps.setup.navigation.nav_exchange_rates.label': '6d043e1f08434720', - 'apps.setup.navigation.nav_settings_company.label': '9d7f685e11eaade9', - 'apps.setup.navigation.nav_settings_mail.label': '5d0599600587427d', - 'apps.setup.navigation.nav_settings_sms.label': '77a3056d33027ca0', + 'apps.setup.navigation.nav_settings_company.label': '31f34011020f6ce5', + 'apps.setup.navigation.nav_settings_mail.label': '724c0d1ef68d13dc', + 'apps.setup.navigation.nav_settings_sms.label': '70014932a8ceabd8', 'apps.setup.navigation.nav_settings_branding.label': 'ec6e391065514b64', - 'apps.setup.navigation.nav_settings_auth.label': '5c6d7dbd850ca37c', + 'apps.setup.navigation.nav_settings_auth.label': 'b843d0629b781763', 'apps.setup.navigation.nav_settings_access_policy.label': '39a7cfb9a7cba125', 'apps.setup.navigation.nav_settings_storage.label': 'a2fb526b03c9a9e5', - 'apps.setup.navigation.nav_settings_ai.label': 'a6b41a554173f7ab', + 'apps.setup.navigation.nav_settings_ai.label': '4fc9a84bea2bf0b0', 'apps.setup.navigation.nav_settings_knowledge.label': '140348539a50d9d5', - 'apps.setup.navigation.nav_settings_lifecycle.label': 'cd9fe9c930afed06', + 'apps.setup.navigation.nav_settings_lifecycle.label': 'b948a04afce8ba1c', 'apps.setup.navigation.nav_recycle_bin.label': '2f5aefe2be221196', 'apps.setup.navigation.nav_public_forms.label': '4592e97959994e86', 'apps.setup.navigation.nav_notification_preferences.label': '8869f324c1bd545a', 'apps.setup.navigation.nav_notification_templates.label': '9e270c87ef2578df', - 'apps.setup.navigation.nav_sessions.label': '673bde6e0c8a3ef9', + 'apps.setup.navigation.nav_sessions.label': '05a759e3a230615e', 'apps.setup.navigation.nav_audit_logs.label': 'b2fad40733012b18', - 'apps.setup.navigation.nav_notifications.label': 'e0fdb90b1d31078d', + 'apps.setup.navigation.nav_notifications.label': '6cdb0d37e6bea5d0', 'apps.setup.navigation.nav_webhooks.label': '8fdd81bc76459a6a', 'apps.setup.navigation.nav_http_deliveries.label': '340f81dc6ea64987', 'apps.setup.navigation.nav_datasources.label': '2f0648ce23158e6f', @@ -134,6 +133,8 @@ export const ruSourceHashes: Readonly> = { 'apps.setup.navigation.nav_connector_connections.label': '949e9a8fd25c3d57', 'apps.setup.navigation.nav_slack.label': 'c3c9e181e8c74b22', 'apps.setup.navigation.nav_oauth_apps.label': '1b26cce61a4c10eb', + 'apps.setup.navigation.nav_standard_unit_settings.label': '12782f7dd0f875f7', + 'apps.setup.navigation.nav_work_calendar_exceptions.label': '39a8569ad96c3b76', 'apps.studio.label': '479a1bf587b5965e', 'apps.studio.description': 'c026a5795933995d', 'apps.studio.navigation.group_overview.label': 'eebdbe1cc7b59cdf', diff --git a/packages/platform-objects/src/apps/translations/ru.ts b/packages/platform-objects/src/apps/translations/ru.ts index 2c7865151b9..7d99b8021c1 100644 --- a/packages/platform-objects/src/apps/translations/ru.ts +++ b/packages/platform-objects/src/apps/translations/ru.ts @@ -40,18 +40,18 @@ export const ru: TranslationData = { label: 'Настройка', description: 'Настройки и администрирование платформы', navigation: { - group_users_org: { label: 'Пользователи и организация' }, - group_access_sharing: { label: 'Доступ и совместное использование' }, - group_apps_ai: { label: 'Приложения и ИИ' }, - group_routing_approvals: { label: 'Назначение и согласования' }, - group_audit_data: { label: 'Аудит и данные' }, - group_company: { label: 'Настройки компании' }, + group_users_org: { label: 'Пользователи и организация', keywords: ['Люди и организация'] }, + group_access_sharing: { label: 'Доступ и совместное использование', keywords: ['Управление доступом'] }, + group_apps_ai: { label: 'Приложения и ИИ', keywords: ['Приложения'] }, + group_routing_approvals: { label: 'Назначение и согласования', keywords: ['Согласования'] }, + group_audit_data: { label: 'Аудит и данные', keywords: ['Диагностика'] }, + group_company: { label: 'Настройки компании', keywords: ['Конфигурация'] }, group_currency_units: { label: 'Валюты и единицы' }, group_notifications: { label: 'Уведомления' }, group_login_security: { label: 'Вход и безопасность' }, - group_integrations_dev: { label: 'Интеграции и разработка' }, + group_integrations_dev: { label: 'Интеграции и разработка', keywords: ['Интеграции', 'Дополнительно'] }, nav_marketplace_browse: { label: 'Обзор Marketplace' }, - nav_packages: { label: 'Пакеты' }, + nav_packages: { label: 'Установленные приложения', keywords: ['Пакеты'] }, nav_cloud_connection: { label: 'Подключение к облаку' }, nav_system_overview: { label: 'Обзор системы' }, @@ -59,16 +59,16 @@ export const ru: TranslationData = { nav_users: { label: 'Пользователи' }, nav_organization: { label: 'Организация' }, - nav_business_units: { label: 'Бизнес-подразделения' }, + nav_business_units: { label: 'Бизнес-подразделения', keywords: ['Отдел', 'Организационная структура', 'Дивизион'] }, nav_teams: { label: 'Команды' }, nav_organizations: { label: 'Организации' }, nav_invitations: { label: 'Приглашения' }, - nav_position_holders: { label: 'Занимающие должности' }, - nav_permission_set_assignment: { label: 'Назначение наборов разрешений' }, + nav_position_holders: { label: 'Участники должностей', keywords: ['Занимающие должности'] }, + nav_permission_set_assignment: { label: 'Предоставление наборов разрешений', keywords: ['Назначение наборов разрешений'] }, nav_sharing_rules: { label: 'Правила общего доступа' }, - nav_record_shares: { label: 'Общий доступ к записям' }, - nav_queues: { label: 'Очереди' }, + nav_record_shares: { label: 'Сведения о доступе', keywords: ['Общий доступ к записям'] }, + nav_queues: { label: 'Рабочие очереди', keywords: ['Очереди'] }, nav_queue_members: { label: 'Участники очереди' }, nav_assignment_rules: { label: 'Правила назначения' }, // Conditionally contributed by `@objectstack/plugin-auth` (only when an @@ -98,32 +98,31 @@ export const ru: TranslationData = { // service-settings' ru bundle (`setup-nav-hub-parity.test.ts`), so the // two delivery pages say Доставка here, as the HTTP log below does after // sys_http_delivery's ru object label. - nav_settings_hub: { label: 'Все настройки' }, - nav_settings_localization: { label: 'Локализация' }, + nav_settings_localization: { label: 'Язык и регион', keywords: ['Локализация'] }, nav_exchange_rates: { label: 'Курсы валют' }, nav_units_of_measure: { label: 'Единицы измерения' }, - nav_standard_unit_settings: { label: 'Настройки стандартных единиц' }, + nav_standard_unit_settings: { label: 'Десятичные знаки стандартных единиц', keywords: ['Настройки стандартных единиц'] }, nav_work_calendars: { label: 'Рабочие календари' }, - nav_work_calendar_exceptions: { label: 'Исключения календаря' }, - nav_settings_company: { label: 'Компания' }, - nav_settings_mail: { label: 'Доставка почты' }, - nav_settings_sms: { label: 'Доставка SMS' }, + nav_work_calendar_exceptions: { label: 'Праздники и переносы рабочих дней', keywords: ['Исключения календаря'] }, + nav_settings_company: { label: 'Сведения о компании', keywords: ['Компания'] }, + nav_settings_mail: { label: 'Канал электронной почты', keywords: ['Доставка почты'] }, + nav_settings_sms: { label: 'Канал SMS', keywords: ['Доставка SMS'] }, nav_settings_branding: { label: 'Брендинг' }, - nav_settings_auth: { label: 'Аутентификация' }, + nav_settings_auth: { label: 'Способы входа', keywords: ['Аутентификация'] }, nav_settings_access_policy: { label: 'Политика доступа' }, nav_settings_storage: { label: 'Хранилище файлов' }, - nav_settings_ai: { label: 'ИИ и Embedder' }, + nav_settings_ai: { label: 'Сервис моделей ИИ', keywords: ['ИИ и Embedder'] }, nav_settings_knowledge: { label: 'Знания' }, nav_knowledge_sync_states: { label: 'Состояние синхронизации знаний' }, - nav_settings_lifecycle: { label: 'Жизненный цикл данных' }, + nav_settings_lifecycle: { label: 'Хранение данных', keywords: ['Жизненный цикл данных'] }, nav_recycle_bin: { label: 'Корзина' }, nav_public_forms: { label: 'Публичные формы' }, nav_notification_preferences: { label: 'Настройки уведомлений' }, nav_notification_templates: { label: 'Шаблоны уведомлений' }, - nav_sessions: { label: 'Сеансы' }, + nav_sessions: { label: 'Активные сеансы', keywords: ['Сеансы'] }, nav_audit_logs: { label: 'Журнал аудита' }, - nav_notifications: { label: 'Уведомления' }, + nav_notifications: { label: 'Журнал отправки', keywords: ['Уведомления'] }, // Integrations — contributed at RUNTIME by the owning capability // plugins (ADR-0029 K2), so no static walk of SETUP_APP can see them. diff --git a/packages/platform-objects/src/apps/translations/setup-nav-dead-key-tombstone.test.ts b/packages/platform-objects/src/apps/translations/setup-nav-dead-key-tombstone.test.ts index 74d3cb7d308..37ec56959d0 100644 --- a/packages/platform-objects/src/apps/translations/setup-nav-dead-key-tombstone.test.ts +++ b/packages/platform-objects/src/apps/translations/setup-nav-dead-key-tombstone.test.ts @@ -148,6 +148,9 @@ const DEAD_SETUP_NAV_IDS = [ 'nav_packaged_automation', 'nav_permission_sets', 'nav_positions', + // The "All Settings" entry left the navigation (epic #39050, #39057); its + // address still opens the settings hub. + 'nav_settings_hub', 'nav_user_preferences', 'nav_verifications', ] as const; diff --git a/packages/platform-objects/src/apps/translations/zh-CN.source-hashes.ts b/packages/platform-objects/src/apps/translations/zh-CN.source-hashes.ts index 42b180729b9..83b41d4ecb8 100644 --- a/packages/platform-objects/src/apps/translations/zh-CN.source-hashes.ts +++ b/packages/platform-objects/src/apps/translations/zh-CN.source-hashes.ts @@ -81,7 +81,7 @@ export const zhCNSourceHashes: Readonly> = { 'apps.setup.navigation.group_login_security.label': 'c20a3fe111222f9d', 'apps.setup.navigation.group_integrations_dev.label': '108f3557a21159e3', 'apps.setup.navigation.nav_marketplace_browse.label': '2afbe021f5419fdd', - 'apps.setup.navigation.nav_packages.label': '8cd8f29658025f73', + 'apps.setup.navigation.nav_packages.label': '93bd5d458e05db60', 'apps.setup.navigation.nav_cloud_connection.label': '3a7caad0cb98e71d', 'apps.setup.navigation.nav_system_overview.label': '574b2a4b7fb7f979', 'apps.setup.navigation.nav_users.label': 'eee81f7307a66c40', @@ -103,28 +103,30 @@ export const zhCNSourceHashes: Readonly> = { 'apps.setup.navigation.nav_approval_requests.label': 'aafd0f7c6a376f55', 'apps.setup.navigation.nav_approval_actions.label': 'd2ebad7acfd50978', 'apps.setup.navigation.nav_approval_delegations.label': 'fc0d41741659c462', - 'apps.setup.navigation.nav_settings_hub.label': 'a3ac65c7c7f461bf', - 'apps.setup.navigation.nav_settings_localization.label': 'beedfaf00452c829', - 'apps.setup.navigation.nav_settings_company.label': '9d7f685e11eaade9', - 'apps.setup.navigation.nav_settings_mail.label': '5d0599600587427d', - 'apps.setup.navigation.nav_settings_sms.label': '77a3056d33027ca0', + 'apps.setup.navigation.nav_settings_localization.label': '8001ca4f9a27b2a0', + 'apps.setup.navigation.nav_settings_company.label': '31f34011020f6ce5', + 'apps.setup.navigation.nav_settings_mail.label': '724c0d1ef68d13dc', + 'apps.setup.navigation.nav_settings_sms.label': '70014932a8ceabd8', 'apps.setup.navigation.nav_settings_branding.label': 'ec6e391065514b64', - 'apps.setup.navigation.nav_settings_auth.label': '5c6d7dbd850ca37c', + 'apps.setup.navigation.nav_settings_auth.label': 'b843d0629b781763', 'apps.setup.navigation.nav_settings_storage.label': 'a2fb526b03c9a9e5', - 'apps.setup.navigation.nav_settings_ai.label': 'a6b41a554173f7ab', + 'apps.setup.navigation.nav_settings_ai.label': '4fc9a84bea2bf0b0', 'apps.setup.navigation.nav_settings_knowledge.label': '140348539a50d9d5', - 'apps.setup.navigation.nav_settings_lifecycle.label': 'cd9fe9c930afed06', + 'apps.setup.navigation.nav_settings_lifecycle.label': 'b948a04afce8ba1c', 'apps.setup.navigation.nav_recycle_bin.label': '2f5aefe2be221196', 'apps.setup.navigation.nav_public_forms.label': '4592e97959994e86', 'apps.setup.navigation.nav_notification_preferences.label': '8869f324c1bd545a', 'apps.setup.navigation.nav_notification_templates.label': '9e270c87ef2578df', - 'apps.setup.navigation.nav_sessions.label': '673bde6e0c8a3ef9', + 'apps.setup.navigation.nav_sessions.label': '05a759e3a230615e', 'apps.setup.navigation.nav_audit_logs.label': 'b2fad40733012b18', - 'apps.setup.navigation.nav_notifications.label': 'e0fdb90b1d31078d', + 'apps.setup.navigation.nav_notifications.label': '6cdb0d37e6bea5d0', 'apps.setup.navigation.nav_webhooks.label': '8fdd81bc76459a6a', 'apps.setup.navigation.nav_http_deliveries.label': '340f81dc6ea64987', 'apps.setup.navigation.nav_datasources.label': '2f0648ce23158e6f', 'apps.setup.navigation.nav_oauth_apps.label': '1b26cce61a4c10eb', + 'apps.setup.navigation.nav_standard_unit_settings.label': '12782f7dd0f875f7', + 'apps.setup.navigation.nav_work_calendar_exceptions.label': '39a8569ad96c3b76', + 'apps.setup.navigation.nav_queues.label': '226d23b8bd681e98', 'apps.studio.label': '479a1bf587b5965e', 'apps.studio.description': 'c026a5795933995d', 'apps.studio.navigation.group_overview.label': 'eebdbe1cc7b59cdf', diff --git a/packages/platform-objects/src/apps/translations/zh-CN.ts b/packages/platform-objects/src/apps/translations/zh-CN.ts index c849a0859a0..9e256383331 100644 --- a/packages/platform-objects/src/apps/translations/zh-CN.ts +++ b/packages/platform-objects/src/apps/translations/zh-CN.ts @@ -40,35 +40,35 @@ export const zhCN: TranslationData = { label: '系统设置', description: '平台设置与管理', navigation: { - group_users_org: { label: '用户与组织' }, - group_access_sharing: { label: '权限与共享' }, - group_apps_ai: { label: '应用与 AI' }, - group_routing_approvals: { label: '分派与审批' }, - group_audit_data: { label: '审计与数据' }, - group_company: { label: '公司设置' }, + group_users_org: { label: '用户与组织', keywords: ['人员与组织'] }, + group_access_sharing: { label: '权限与共享', keywords: ['访问控制'] }, + group_apps_ai: { label: '应用与 AI', keywords: ['应用'] }, + group_routing_approvals: { label: '分派与审批', keywords: ['审批'] }, + group_audit_data: { label: '审计与数据', keywords: ['诊断'] }, + group_company: { label: '公司设置', keywords: ['配置'] }, group_currency_units: { label: '货币与单位' }, group_notifications: { label: '消息通知' }, group_login_security: { label: '登录与安全' }, - group_integrations_dev: { label: '集成与开发' }, + group_integrations_dev: { label: '集成与开发', keywords: ['集成', '高级'] }, nav_marketplace_browse: { label: '浏览应用市场' }, - nav_packages: { label: '软件包' }, + nav_packages: { label: '已安装应用', keywords: ['软件包'] }, nav_cloud_connection: { label: '云连接' }, - nav_system_overview: { label: '系统概览' }, + nav_system_overview: { label: '系统概览', keywords: ['总览'] }, nav_connect_agent: { label: '连接 AI 助手' }, nav_users: { label: '用户' }, nav_organization: { label: '当前组织' }, - nav_business_units: { label: '业务单元' }, + nav_business_units: { label: '业务单元', keywords: ['部门', '组织架构', '事业部'] }, nav_teams: { label: '团队' }, nav_organizations: { label: '所有组织' }, nav_invitations: { label: '邀请' }, - nav_position_holders: { label: '岗位持有人' }, - nav_permission_set_assignment: { label: '权限集分配' }, + nav_position_holders: { label: '岗位成员', keywords: ['岗位持有人'] }, + nav_permission_set_assignment: { label: '权限集授权', keywords: ['权限集分配'] }, nav_sharing_rules: { label: '共享规则' }, - nav_record_shares: { label: '记录共享' }, - nav_queues: { label: '队列' }, + nav_record_shares: { label: '共享明细', keywords: ['记录共享'] }, + nav_queues: { label: '工作队列', keywords: ['队列'] }, nav_queue_members: { label: '队列成员' }, nav_assignment_rules: { label: '分配规则' }, // Conditionally contributed by `@objectstack/plugin-auth` (only when an @@ -90,33 +90,31 @@ export const zhCN: TranslationData = { // `审批委派` matches sys_approval_delegation's object label; `(外出)` // renders the entry's own "(OOO)" qualifier. nav_approval_delegations: { label: '审批委派(外出)' }, - - nav_settings_hub: { label: '全部设置' }, - nav_settings_localization: { label: '本地化' }, + nav_settings_localization: { label: '语言与区域', keywords: ['本地化'] }, nav_exchange_rates: { label: '汇率' }, nav_units_of_measure: { label: '计量单位' }, - nav_standard_unit_settings: { label: '标准单位设置' }, + nav_standard_unit_settings: { label: '标准单位小数位', keywords: ['标准单位设置'] }, nav_work_calendars: { label: '工作日历' }, - nav_work_calendar_exceptions: { label: '日历例外' }, - nav_settings_company: { label: '公司' }, - nav_settings_mail: { label: '邮件投递' }, - nav_settings_sms: { label: '短信投递' }, + nav_work_calendar_exceptions: { label: '节假日与调休', keywords: ['日历例外'] }, + nav_settings_company: { label: '公司信息', keywords: ['公司'] }, + nav_settings_mail: { label: '邮件通道', keywords: ['邮件投递'] }, + nav_settings_sms: { label: '短信通道', keywords: ['短信投递'] }, nav_settings_branding: { label: '品牌' }, - nav_settings_auth: { label: '认证' }, + nav_settings_auth: { label: '登录方式', keywords: ['认证'] }, nav_settings_access_policy: { label: '访问策略' }, nav_settings_storage: { label: '文件存储' }, - nav_settings_ai: { label: 'AI 与向量化' }, + nav_settings_ai: { label: 'AI 模型服务', keywords: ['AI 与向量化'] }, nav_settings_knowledge: { label: '知识库' }, nav_knowledge_sync_states: { label: '知识库同步状态' }, - nav_settings_lifecycle: { label: '数据生命周期' }, + nav_settings_lifecycle: { label: '数据保留', keywords: ['数据生命周期'] }, nav_recycle_bin: { label: '回收站' }, nav_public_forms: { label: '对外表单' }, nav_notification_preferences: { label: '通知偏好' }, nav_notification_templates: { label: '通知模板' }, - nav_sessions: { label: '会话' }, + nav_sessions: { label: '在线会话', keywords: ['会话'] }, nav_audit_logs: { label: '审计日志' }, - nav_notifications: { label: '通知' }, + nav_notifications: { label: '发送记录', keywords: ['通知'] }, // Integrations — contributed at RUNTIME by the owning capability // plugins (ADR-0029 K2), so no static walk of SETUP_APP can see them. diff --git a/packages/platform-objects/src/apps/translations/zh-Hant.source-hashes.ts b/packages/platform-objects/src/apps/translations/zh-Hant.source-hashes.ts index 547c82c2c8f..fb861ea8135 100644 --- a/packages/platform-objects/src/apps/translations/zh-Hant.source-hashes.ts +++ b/packages/platform-objects/src/apps/translations/zh-Hant.source-hashes.ts @@ -82,7 +82,7 @@ export const zhHantSourceHashes: Readonly> = { 'apps.setup.navigation.group_login_security.label': 'c20a3fe111222f9d', 'apps.setup.navigation.group_integrations_dev.label': '108f3557a21159e3', 'apps.setup.navigation.nav_marketplace_browse.label': '2afbe021f5419fdd', - 'apps.setup.navigation.nav_packages.label': '8cd8f29658025f73', + 'apps.setup.navigation.nav_packages.label': '93bd5d458e05db60', 'apps.setup.navigation.nav_cloud_connection.label': '3a7caad0cb98e71d', 'apps.setup.navigation.nav_system_overview.label': '574b2a4b7fb7f979', 'apps.setup.navigation.nav_users.label': 'eee81f7307a66c40', @@ -107,25 +107,24 @@ export const zhHantSourceHashes: Readonly> = { 'apps.setup.navigation.nav_approval_requests.label': 'aafd0f7c6a376f55', 'apps.setup.navigation.nav_approval_actions.label': 'd2ebad7acfd50978', 'apps.setup.navigation.nav_approval_delegations.label': 'fc0d41741659c462', - 'apps.setup.navigation.nav_settings_hub.label': 'a3ac65c7c7f461bf', - 'apps.setup.navigation.nav_settings_localization.label': 'beedfaf00452c829', + 'apps.setup.navigation.nav_settings_localization.label': '8001ca4f9a27b2a0', 'apps.setup.navigation.nav_exchange_rates.label': '6d043e1f08434720', - 'apps.setup.navigation.nav_settings_company.label': '9d7f685e11eaade9', - 'apps.setup.navigation.nav_settings_mail.label': '5d0599600587427d', - 'apps.setup.navigation.nav_settings_sms.label': '77a3056d33027ca0', + 'apps.setup.navigation.nav_settings_company.label': '31f34011020f6ce5', + 'apps.setup.navigation.nav_settings_mail.label': '724c0d1ef68d13dc', + 'apps.setup.navigation.nav_settings_sms.label': '70014932a8ceabd8', 'apps.setup.navigation.nav_settings_branding.label': 'ec6e391065514b64', - 'apps.setup.navigation.nav_settings_auth.label': '5c6d7dbd850ca37c', + 'apps.setup.navigation.nav_settings_auth.label': 'b843d0629b781763', 'apps.setup.navigation.nav_settings_storage.label': 'a2fb526b03c9a9e5', - 'apps.setup.navigation.nav_settings_ai.label': 'a6b41a554173f7ab', + 'apps.setup.navigation.nav_settings_ai.label': '4fc9a84bea2bf0b0', 'apps.setup.navigation.nav_settings_knowledge.label': '140348539a50d9d5', - 'apps.setup.navigation.nav_settings_lifecycle.label': 'cd9fe9c930afed06', + 'apps.setup.navigation.nav_settings_lifecycle.label': 'b948a04afce8ba1c', 'apps.setup.navigation.nav_recycle_bin.label': '2f5aefe2be221196', 'apps.setup.navigation.nav_public_forms.label': '4592e97959994e86', 'apps.setup.navigation.nav_notification_preferences.label': '8869f324c1bd545a', 'apps.setup.navigation.nav_notification_templates.label': '9e270c87ef2578df', - 'apps.setup.navigation.nav_sessions.label': '673bde6e0c8a3ef9', + 'apps.setup.navigation.nav_sessions.label': '05a759e3a230615e', 'apps.setup.navigation.nav_audit_logs.label': 'b2fad40733012b18', - 'apps.setup.navigation.nav_notifications.label': 'e0fdb90b1d31078d', + 'apps.setup.navigation.nav_notifications.label': '6cdb0d37e6bea5d0', 'apps.setup.navigation.nav_webhooks.label': '8fdd81bc76459a6a', 'apps.setup.navigation.nav_http_deliveries.label': '340f81dc6ea64987', 'apps.setup.navigation.nav_datasources.label': '2f0648ce23158e6f', @@ -133,6 +132,8 @@ export const zhHantSourceHashes: Readonly> = { 'apps.setup.navigation.nav_connector_connections.label': '949e9a8fd25c3d57', 'apps.setup.navigation.nav_slack.label': 'c3c9e181e8c74b22', 'apps.setup.navigation.nav_oauth_apps.label': '1b26cce61a4c10eb', + 'apps.setup.navigation.nav_standard_unit_settings.label': '12782f7dd0f875f7', + 'apps.setup.navigation.nav_work_calendar_exceptions.label': '39a8569ad96c3b76', 'apps.studio.label': '479a1bf587b5965e', 'apps.studio.description': 'c026a5795933995d', 'apps.studio.navigation.group_overview.label': 'eebdbe1cc7b59cdf', diff --git a/packages/platform-objects/src/apps/translations/zh-Hant.ts b/packages/platform-objects/src/apps/translations/zh-Hant.ts index bd2c30c3774..8b69148a46c 100644 --- a/packages/platform-objects/src/apps/translations/zh-Hant.ts +++ b/packages/platform-objects/src/apps/translations/zh-Hant.ts @@ -40,35 +40,35 @@ export const zhHant: TranslationData = { label: '系統設定', description: '平台設定與管理', navigation: { - group_users_org: { label: '使用者與組織' }, - group_access_sharing: { label: '權限與共用' }, - group_apps_ai: { label: '應用程式與 AI' }, - group_routing_approvals: { label: '分派與審批' }, - group_audit_data: { label: '稽核與資料' }, - group_company: { label: '公司設定' }, + group_users_org: { label: '使用者與組織', keywords: ['人員與組織'] }, + group_access_sharing: { label: '權限與共用', keywords: ['存取控制'] }, + group_apps_ai: { label: '應用程式與 AI', keywords: ['應用程式'] }, + group_routing_approvals: { label: '分派與審批', keywords: ['核准'] }, + group_audit_data: { label: '稽核與資料', keywords: ['診斷'] }, + group_company: { label: '公司設定', keywords: ['設定'] }, group_currency_units: { label: '貨幣與單位' }, group_notifications: { label: '訊息通知' }, group_login_security: { label: '登入與安全' }, - group_integrations_dev: { label: '整合與開發' }, + group_integrations_dev: { label: '整合與開發', keywords: ['整合', '進階'] }, nav_marketplace_browse: { label: '瀏覽應用程式市場' }, - nav_packages: { label: '套件' }, + nav_packages: { label: '已安裝應用程式', keywords: ['套件'] }, nav_cloud_connection: { label: '雲端連線' }, - nav_system_overview: { label: '系統概覽' }, + nav_system_overview: { label: '系統概覽', keywords: ['總覽'] }, nav_connect_agent: { label: '連接 AI 助理' }, nav_users: { label: '使用者' }, nav_organization: { label: '目前組織' }, - nav_business_units: { label: '業務單位' }, + nav_business_units: { label: '業務單位', keywords: ['部門', '組織架構', '事業部'] }, nav_teams: { label: '團隊' }, nav_organizations: { label: '所有組織' }, nav_invitations: { label: '邀請' }, - nav_position_holders: { label: '職位持有人' }, - nav_permission_set_assignment: { label: '權限集指派' }, + nav_position_holders: { label: '職位成員', keywords: ['職位持有人'] }, + nav_permission_set_assignment: { label: '權限集授權', keywords: ['權限集指派'] }, nav_sharing_rules: { label: '共用規則' }, - nav_record_shares: { label: '記錄共用' }, - nav_queues: { label: '佇列' }, + nav_record_shares: { label: '共用明細', keywords: ['記錄共用'] }, + nav_queues: { label: '工作佇列', keywords: ['佇列'] }, nav_queue_members: { label: '佇列成員' }, nav_assignment_rules: { label: '指派規則' }, // Conditionally contributed by `@objectstack/plugin-auth` (only when an @@ -96,32 +96,31 @@ export const zhHant: TranslationData = { // service-settings' zh-Hant bundle (`setup-nav-hub-parity.test.ts`), so // the two delivery pages say 投遞 here while the HTTP log below says 傳送, // as sys_http_delivery's zh-Hant object label does. - nav_settings_hub: { label: '全部設定' }, - nav_settings_localization: { label: '在地化' }, + nav_settings_localization: { label: '語言與地區', keywords: ['在地化'] }, nav_exchange_rates: { label: '匯率' }, nav_units_of_measure: { label: '計量單位' }, - nav_standard_unit_settings: { label: '標準單位設定' }, + nav_standard_unit_settings: { label: '標準單位小數位數', keywords: ['標準單位設定'] }, nav_work_calendars: { label: '工作日曆' }, - nav_work_calendar_exceptions: { label: '日曆例外' }, - nav_settings_company: { label: '公司' }, - nav_settings_mail: { label: '郵件投遞' }, - nav_settings_sms: { label: '簡訊投遞' }, + nav_work_calendar_exceptions: { label: '節假日與補班', keywords: ['日曆例外'] }, + nav_settings_company: { label: '公司資訊', keywords: ['公司'] }, + nav_settings_mail: { label: '郵件通道', keywords: ['郵件投遞'] }, + nav_settings_sms: { label: '簡訊通道', keywords: ['簡訊投遞'] }, nav_settings_branding: { label: '品牌' }, - nav_settings_auth: { label: '驗證' }, + nav_settings_auth: { label: '登入方式', keywords: ['驗證'] }, nav_settings_access_policy: { label: '存取原則' }, nav_settings_storage: { label: '檔案儲存' }, - nav_settings_ai: { label: 'AI 與 Embedder' }, + nav_settings_ai: { label: 'AI 模型服務', keywords: ['AI 與 Embedder'] }, nav_settings_knowledge: { label: '知識庫' }, nav_knowledge_sync_states: { label: '知識庫同步狀態' }, - nav_settings_lifecycle: { label: '資料生命週期' }, + nav_settings_lifecycle: { label: '資料保留', keywords: ['資料生命週期'] }, nav_recycle_bin: { label: '回收站' }, nav_public_forms: { label: '對外表單' }, nav_notification_preferences: { label: '通知偏好設定' }, nav_notification_templates: { label: '通知範本' }, - nav_sessions: { label: '工作階段' }, + nav_sessions: { label: '線上工作階段', keywords: ['工作階段'] }, nav_audit_logs: { label: '稽核日誌' }, - nav_notifications: { label: '通知' }, + nav_notifications: { label: '傳送記錄', keywords: ['通知'] }, // Integrations — contributed at RUNTIME by the owning capability // plugins (ADR-0029 K2), so no static walk of SETUP_APP can see them. diff --git a/packages/platform-objects/src/system/sys-exchange-rate.object.test.ts b/packages/platform-objects/src/system/sys-exchange-rate.object.test.ts index 62d310f4a72..24fc9635cad 100644 --- a/packages/platform-objects/src/system/sys-exchange-rate.object.test.ts +++ b/packages/platform-objects/src/system/sys-exchange-rate.object.test.ts @@ -145,13 +145,13 @@ describe('sys_exchange_rate — declaration (multi-currency M1-1)', () => { }); describe('Setup', () => { - const configuration = SETUP_NAV_CONTRIBUTIONS.find((c) => c.group === 'group_configuration'); - const items = (configuration?.items ?? []) as any[]; + // Currency & Units since Setup was regrouped (epic #39050, #39057). + const currencyUnits = SETUP_NAV_CONTRIBUTIONS.find((c) => c.group === 'group_currency_units'); + const items = (currencyUnits?.items ?? []) as any[]; - it('lists the rates directly under Localization, opening the all-rates view', () => { + it('lists the rates first in Currency & Units, opening the all-rates view', () => { const at = items.findIndex((i) => i.id === 'nav_exchange_rates'); - expect(at).toBeGreaterThan(0); - expect(items[at - 1].id).toBe('nav_settings_localization'); + expect(at).toBe(0); expect(items[at]).toMatchObject({ type: 'object', objectName: 'sys_exchange_rate', diff --git a/packages/platform-objects/src/system/sys-standard-unit-setting.object.test.ts b/packages/platform-objects/src/system/sys-standard-unit-setting.object.test.ts index c5452509811..189820ac55d 100644 --- a/packages/platform-objects/src/system/sys-standard-unit-setting.object.test.ts +++ b/packages/platform-objects/src/system/sys-standard-unit-setting.object.test.ts @@ -145,8 +145,9 @@ describe('sys_standard_unit_setting — declaration (ADR-0158 U6, Open item 10)' }); describe('Setup', () => { - const configuration = SETUP_NAV_CONTRIBUTIONS.find((c) => c.group === 'group_configuration'); - const items = (configuration?.items ?? []) as any[]; + // Currency & Units since Setup was regrouped (epic #39050, #39057). + const currencyUnits = SETUP_NAV_CONTRIBUTIONS.find((c) => c.group === 'group_currency_units'); + const items = (currencyUnits?.items ?? []) as any[]; it('lists the settings directly under the units of measure, opening the all-settings view', () => { const at = items.findIndex((i) => i.id === 'nav_standard_unit_settings'); @@ -154,7 +155,7 @@ describe('sys_standard_unit_setting — declaration (ADR-0158 U6, Open item 10)' expect(items[at - 1].id).toBe('nav_units_of_measure'); expect(items[at]).toMatchObject({ type: 'object', - label: 'Standard Unit Settings', + label: 'Standard Unit Decimals', objectName: 'sys_standard_unit_setting', viewName: 'all_settings', }); diff --git a/packages/platform-objects/src/system/sys-unit.object.test.ts b/packages/platform-objects/src/system/sys-unit.object.test.ts index 37295d71530..2f773fd6ed8 100644 --- a/packages/platform-objects/src/system/sys-unit.object.test.ts +++ b/packages/platform-objects/src/system/sys-unit.object.test.ts @@ -271,8 +271,9 @@ describe('sys_unit — declaration (ADR-0158 U3)', () => { }); describe('Setup', () => { - const configuration = SETUP_NAV_CONTRIBUTIONS.find((c) => c.group === 'group_configuration'); - const items = (configuration?.items ?? []) as any[]; + // Currency & Units since Setup was regrouped (epic #39050, #39057). + const currencyUnits = SETUP_NAV_CONTRIBUTIONS.find((c) => c.group === 'group_currency_units'); + const items = (currencyUnits?.items ?? []) as any[]; it('lists the units directly under the exchange rates, opening the all-units view', () => { const at = items.findIndex((i) => i.id === 'nav_units_of_measure'); diff --git a/packages/services/service-knowledge/src/__tests__/knowledge-settings-contribution.test.ts b/packages/services/service-knowledge/src/__tests__/knowledge-settings-contribution.test.ts index 05aec3de947..3c8822a1ad0 100644 --- a/packages/services/service-knowledge/src/__tests__/knowledge-settings-contribution.test.ts +++ b/packages/services/service-knowledge/src/__tests__/knowledge-settings-contribution.test.ts @@ -145,8 +145,9 @@ describe('#33933 — knowledge settings are contributed by the mounted knowledge expect(entries).toHaveLength(1); expect(entries[0].id).toBe('nav_settings_knowledge'); expect(knowledgeEntries(bare.registered)).toHaveLength(0); - // Non-vacuity: the bare tree is a real Setup tree with its AI entry. - expect(configurationEntries(bare.registered).some((i) => i.id === 'nav_settings_ai')).toBe(true); + // Non-vacuity: the bare tree is a real Setup tree with its Language & + // Region entry (the AI entry moved to Apps & AI, #39057). + expect(configurationEntries(bare.registered).some((i) => i.id === 'nav_settings_localization')).toBe(true); }); }); diff --git a/packages/services/service-settings/src/setup-nav-hub-parity.test.ts b/packages/services/service-settings/src/setup-nav-hub-parity.test.ts index 68b14a5bc0f..6b088b4f319 100644 --- a/packages/services/service-settings/src/setup-nav-hub-parity.test.ts +++ b/packages/services/service-settings/src/setup-nav-hub-parity.test.ts @@ -4,13 +4,17 @@ * The Setup sidebar and the settings hub name the same pages the same way * (#27854). * - * Two lists describe one set of settings pages. The hub (`All Settings`) is - * drawn from the registered manifests: one card per namespace, titled - * `settings..title` from {@link settingsBuiltinTranslations}, or the - * manifest's `label` where a locale has none. The Configuration group of the - * Setup sidebar is drawn from `@objectstack/platform-objects`' - * `SETUP_NAV_CONTRIBUTIONS` plus the entries this package contributes with a - * namespace (Branding), labelled from `apps.setup.navigation..label`. Nothing + * Two lists describe one set of settings pages. The hub, at + * `/apps/setup/system/settings`, is drawn from the registered manifests: one + * card per namespace, titled `settings..title` from + * {@link settingsBuiltinTranslations}, or the manifest's `label` where a locale + * has none; each page opens under the same title. The Setup sidebar is drawn + * from `@objectstack/platform-objects`' `SETUP_NAV_CONTRIBUTIONS` plus the + * entries this package contributes with a namespace (Branding), labelled from + * `apps.setup.navigation..label`. Since Setup was regrouped (epic #39050, + * #39057) the sidebar has no "All Settings" entry — the hub keeps its address — + * and the settings entries sit in several groups, so this file reads every + * group of the merged tree, not one. Nothing * tied the two, so the sidebar said "Email" where the hub said "Mail Delivery", * and SMS Delivery and Data Lifecycle had a hub card and no sidebar entry. * @@ -73,8 +77,8 @@ async function bootHub(): Promise<{ manifests: SettingsManifest[]; registered: u return { manifests: service.listManifests(), registered }; } -/** The Configuration group of the Setup app as the registry folds it. */ -function configurationEntries(registered: unknown[]): NavItem[] { +/** Every entry of the Setup app as the registry folds it, in every group. */ +function setupEntries(registered: unknown[]): NavItem[] { const engine = new ObjectQL(); engine.registry.logLevel = 'silent'; engine.registerApp({ @@ -83,8 +87,15 @@ function configurationEntries(registered: unknown[]): NavItem[] { }); for (const m of registered) engine.registerApp(m); const navigation = (engine.registry.getApp('setup') as { navigation?: NavItem[] } | undefined)?.navigation ?? []; - // `group_company` took `group_configuration` over through `renamedFrom` (#39053). - return navigation.find((item) => item.id === 'group_company')?.children ?? []; + const out: NavItem[] = []; + const walk = (items: NavItem[]): void => { + for (const item of items) { + out.push(item); + if (Array.isArray(item.children)) walk(item.children); + } + }; + walk(navigation); + return out; } function settingsPageEntries(entries: NavItem[]): Map { @@ -105,7 +116,7 @@ const sidebarLabel = (locale: string, item: NavItem): string | undefined => describe('Setup sidebar and settings hub list the same pages under the same names (#27854)', async () => { const { manifests, registered } = await bootHub(); - const entries = settingsPageEntries(configurationEntries(registered)); + const entries = settingsPageEntries(setupEntries(registered)); const namespaces = manifests.map((m) => m.namespace); it('reads a real hub and a real sidebar', () => { diff --git a/packages/services/service-settings/src/translations/ar.ts b/packages/services/service-settings/src/translations/ar.ts index 67c418d6642..84a06608c43 100644 --- a/packages/services/service-settings/src/translations/ar.ts +++ b/packages/services/service-settings/src/translations/ar.ts @@ -12,7 +12,7 @@ export const ar: PlatformTranslationData = { }, settings: { mail: { - title: 'إرسال البريد', + title: 'قناة البريد الإلكتروني', description: 'إعداد SMTP ومزوّد البريد الإلكتروني للمعاملات.', groups: { provider: { title: 'المزوّد', description: 'اختر طريقة إرسال هذا النظام للبريد الصادر.' }, @@ -48,7 +48,7 @@ export const ar: PlatformTranslationData = { }, }, sms: { - title: 'إرسال الرسائل النصية', + title: 'قناة الرسائل النصية', description: 'إعداد مزوّد الرسائل النصية لتسجيل الدخول برمز OTP والدعوات والإشعارات.', groups: { provider: { title: 'المزوّد', description: 'اختر طريقة إرسال هذا النظام للرسائل النصية الصادرة.' }, @@ -110,7 +110,7 @@ export const ar: PlatformTranslationData = { }, }, company: { - title: 'الشركة', + title: 'معلومات الشركة', description: 'هوية الكيان القانوني — الاسم المسجَّل والعنوان والأرقام الضريبية وجهة الاتصال الرئيسية.', groups: { identity: { title: 'الهوية' }, @@ -138,7 +138,7 @@ export const ar: PlatformTranslationData = { }, }, localization: { - title: 'الترجمة والإعدادات المحلية', + title: 'اللغة والمنطقة', description: 'المنطقة الزمنية واللغة والبلد والعملة والسنة المالية الافتراضية.', groups: { region: { title: 'المنطقة' }, @@ -210,7 +210,7 @@ export const ar: PlatformTranslationData = { }, }, auth: { - title: 'المصادقة', + title: 'طرق تسجيل الدخول', description: 'عناصر التحكم في تسجيل الدخول والتسجيل وميزات المصادقة المدمجة.', groups: { email_password: { @@ -462,7 +462,7 @@ export const ar: PlatformTranslationData = { }, }, ai: { - title: 'الذكاء الاصطناعي والتضمين (Embedder)', + title: 'خدمة نماذج الذكاء الاصطناعي', description: 'مزوّد LLM والنموذج وبيانات الاعتماد التي تستخدمها خدمة الذكاء الاصطناعي في المنصة.', groups: { provider: { title: 'المزوّدون', @@ -694,7 +694,7 @@ export const ar: PlatformTranslationData = { }, }, lifecycle: { - title: 'دورة حياة البيانات', + title: 'الاحتفاظ بالبيانات', description: 'مدة الاحتفاظ ببيانات النظام: تجاوز فترات الاحتفاظ، وتحديد عدد الصفوف لكل جدول، وتلقّي تنبيه عندما ينمو جدول على نحو غير متوقع. تطبّق المنصة هذه الإعدادات في جولة التنظيف الدورية.', keys: { enabled: { diff --git a/packages/services/service-settings/src/translations/de.ts b/packages/services/service-settings/src/translations/de.ts index 5a492550706..25ca6f06aae 100644 --- a/packages/services/service-settings/src/translations/de.ts +++ b/packages/services/service-settings/src/translations/de.ts @@ -12,7 +12,7 @@ export const de: PlatformTranslationData = { }, settings: { mail: { - title: 'E-Mail-Versand', + title: 'E-Mail-Kanal', description: 'Konfiguration von SMTP und dem Anbieter für Transaktions-E-Mails.', groups: { provider: { title: 'Anbieter', description: 'Legen Sie fest, wie dieses System ausgehende E-Mails versendet.' }, @@ -53,7 +53,7 @@ export const de: PlatformTranslationData = { }, }, sms: { - title: 'SMS-Versand', + title: 'SMS-Kanal', description: 'SMS-Anbieterkonfiguration für die Anmeldung per OTP, Einladungen und Benachrichtigungen.', groups: { provider: { title: 'Anbieter', description: 'Legen Sie fest, wie dieses System ausgehende SMS versendet.' }, @@ -119,7 +119,7 @@ export const de: PlatformTranslationData = { }, }, company: { - title: 'Unternehmen', + title: 'Unternehmensinformationen', description: 'Angaben zur juristischen Person — eingetragener Name, Anschrift, Steuernummern und Hauptansprechpartner.', groups: { identity: { title: 'Identität' }, @@ -153,7 +153,7 @@ export const de: PlatformTranslationData = { }, }, localization: { - title: 'Lokalisierung', + title: 'Sprache und Region', description: 'Standard-Zeitzone, -Sprache, -Land, -Währung und Geschäftsjahr.', groups: { region: { title: 'Region' }, @@ -228,7 +228,7 @@ export const de: PlatformTranslationData = { }, }, auth: { - title: 'Authentifizierung', + title: 'Anmeldemethoden', description: 'Anmeldung, Registrierung und integrierte Authentifizierungsfunktionen.', groups: { email_password: { @@ -489,7 +489,7 @@ export const de: PlatformTranslationData = { }, }, ai: { - title: 'KI und Embedder', + title: 'KI-Modelldienst', description: 'LLM-Anbieter, Modell und Anmeldedaten für den KI-Dienst der Plattform.', groups: { provider: { title: 'Anbieter', @@ -731,7 +731,7 @@ export const de: PlatformTranslationData = { }, }, lifecycle: { - title: 'Datenlebenszyklus', + title: 'Datenaufbewahrung', description: 'Wie lange Systemdaten aufbewahrt werden: Aufbewahrungsfenster überschreiben, Zeilenanzahl pro Tabelle begrenzen und benachrichtigt werden, wenn eine Tabelle unerwartet wächst. Die Plattform wendet dies bei ihrer periodischen Bereinigung an.', keys: { enabled: { diff --git a/packages/services/service-settings/src/translations/en.ts b/packages/services/service-settings/src/translations/en.ts index 41139fb806e..dee34328c88 100644 --- a/packages/services/service-settings/src/translations/en.ts +++ b/packages/services/service-settings/src/translations/en.ts @@ -22,7 +22,7 @@ export const en: PlatformTranslationData = { }, settings: { mail: { - title: 'Mail Delivery', + title: 'Email Channel', description: 'SMTP and transactional email provider configuration.', groups: { provider: { title: 'Provider', description: 'Choose how this system sends outbound email.' }, @@ -66,6 +66,11 @@ export const en: PlatformTranslationData = { }, }, + // The page's title; every other string still comes from + // `manifests/sms.manifest.ts`'s literals (#39057). + sms: { + title: 'SMS Channel', + }, branding: { title: 'Branding', description: @@ -96,7 +101,7 @@ export const en: PlatformTranslationData = { }, company: { - title: 'Company', + title: 'Company Information', description: 'Legal entity identity — registered name, address, tax IDs, and primary contact.', groups: { identity: { title: 'Identity' }, @@ -125,7 +130,7 @@ export const en: PlatformTranslationData = { }, localization: { - title: 'Localization', + title: 'Language & Region', description: 'Default timezone, language, country, currency, and fiscal year.', groups: { region: { title: 'Region' }, @@ -145,7 +150,7 @@ export const en: PlatformTranslationData = { }, auth: { - title: 'Authentication', + title: 'Sign-in Methods', description: 'Sign-in, registration, and built-in auth feature controls.', groups: { email_password: { @@ -289,7 +294,7 @@ export const en: PlatformTranslationData = { }, ai: { - title: 'AI & Embedder', + title: 'AI Model Service', description: 'LLM provider, model and credentials used by the platform AI service.', groups: { @@ -416,6 +421,11 @@ export const en: PlatformTranslationData = { }, }, + // The page's title; every other string still comes from the literals of + // `@objectstack/objectql`'s lifecycle manifest (#39057). + lifecycle: { + title: 'Data Retention', + }, knowledge: { title: 'Knowledge', description: 'Vector-store backend for RAG / knowledge sources.', diff --git a/packages/services/service-settings/src/translations/es-ES.ts b/packages/services/service-settings/src/translations/es-ES.ts index 93d5642c39b..28f38a075c3 100644 --- a/packages/services/service-settings/src/translations/es-ES.ts +++ b/packages/services/service-settings/src/translations/es-ES.ts @@ -18,7 +18,7 @@ export const esES: PlatformTranslationData = { }, settings: { mail: { - title: 'Envío de correo', + title: 'Canal de correo', description: 'Configuración de SMTP y del proveedor de correo transaccional.', groups: { provider: { title: 'Proveedor', description: 'Elige cómo envía correo saliente este sistema.' }, @@ -92,7 +92,7 @@ export const esES: PlatformTranslationData = { }, auth: { - title: 'Autenticación', + title: 'Métodos de inicio de sesión', description: 'Inicio de sesión, registro y controles de las funciones de autenticación integradas.', groups: { email_password: { @@ -269,7 +269,7 @@ export const esES: PlatformTranslationData = { }, sms: { - title: 'Envío de SMS', + title: 'Canal de SMS', description: 'Configuración del proveedor de SMS para inicio de sesión con OTP, invitaciones y notificaciones.', groups: { provider: { title: 'Proveedor', description: 'Elige cómo envía este sistema los SMS salientes.' }, @@ -305,7 +305,7 @@ export const esES: PlatformTranslationData = { }, company: { - title: 'Empresa', + title: 'Información de la empresa', description: 'Identidad de la entidad legal: nombre registrado, dirección, identificadores fiscales y contacto principal.', groups: { identity: { title: 'Identidad' }, @@ -334,7 +334,7 @@ export const esES: PlatformTranslationData = { }, localization: { - title: 'Localización', + title: 'Idioma y región', description: 'Zona horaria, idioma, país, moneda y año fiscal predeterminados.', groups: { region: { title: 'Región' }, @@ -427,7 +427,7 @@ export const esES: PlatformTranslationData = { }, ai: { - title: 'IA y Embedder', + title: 'Servicio de modelos de IA', description: 'Proveedor de LLM, modelo y credenciales usados por el servicio de IA de la plataforma.', groups: { @@ -596,7 +596,7 @@ export const esES: PlatformTranslationData = { }, lifecycle: { - title: 'Ciclo de vida de los datos', + title: 'Retención de datos', description: 'Cuánto tiempo se conservan los datos del sistema: sustituye las ventanas de retención, limita el número de filas por tabla y recibe una alerta cuando una tabla crece de forma inesperada. La plataforma los aplica en su barrido de limpieza periódico.', keys: { enabled: { diff --git a/packages/services/service-settings/src/translations/fr.ts b/packages/services/service-settings/src/translations/fr.ts index 1b98a07ef2f..1f497ac5143 100644 --- a/packages/services/service-settings/src/translations/fr.ts +++ b/packages/services/service-settings/src/translations/fr.ts @@ -18,7 +18,7 @@ export const fr: PlatformTranslationData = { }, settings: { mail: { - title: 'Envoi des e-mails', + title: 'Canal e-mail', description: 'Configuration SMTP et du fournisseur d’e-mails transactionnels.', groups: { provider: { title: 'Fournisseur', description: 'Choisissez comment ce système envoie les e-mails sortants.' }, @@ -59,7 +59,7 @@ export const fr: PlatformTranslationData = { }, }, sms: { - title: 'Envoi des SMS', + title: 'Canal SMS', description: 'Configuration du fournisseur SMS pour la connexion par OTP, les invitations et les notifications.', groups: { provider: { title: 'Fournisseur', description: 'Choisissez comment ce système envoie les SMS sortants.' }, @@ -125,7 +125,7 @@ export const fr: PlatformTranslationData = { }, }, company: { - title: 'Entreprise', + title: 'Informations sur l’entreprise', description: 'Identité de l’entité juridique — raison sociale, adresse, identifiants fiscaux et contact principal.', groups: { identity: { title: 'Identité' }, @@ -159,7 +159,7 @@ export const fr: PlatformTranslationData = { }, }, localization: { - title: 'Localisation', + title: 'Langue et région', description: 'Fuseau horaire, langue, pays, devise et exercice fiscal par défaut.', groups: { region: { title: 'Région' }, @@ -234,7 +234,7 @@ export const fr: PlatformTranslationData = { }, }, auth: { - title: 'Authentification', + title: 'Méthodes de connexion', description: 'Connexion, inscription et réglages des fonctions d’authentification intégrées.', groups: { email_password: { @@ -498,7 +498,7 @@ export const fr: PlatformTranslationData = { }, }, ai: { - title: 'IA et Embedder', + title: 'Service de modèles d’IA', description: 'Fournisseur LLM, modèle et identifiants utilisés par le service d’IA de la plateforme.', groups: { provider: { title: 'Fournisseurs', @@ -740,7 +740,7 @@ export const fr: PlatformTranslationData = { }, }, lifecycle: { - title: 'Cycle de vie des données', + title: 'Conservation des données', description: 'Durée de conservation des données système : surcharger les fenêtres de rétention, plafonner le nombre de lignes par table et être alerté quand une table grossit de façon inattendue. La plateforme les applique lors de son nettoyage périodique.', keys: { enabled: { diff --git a/packages/services/service-settings/src/translations/ja-JP.ts b/packages/services/service-settings/src/translations/ja-JP.ts index 4d1ccf7f6f0..6b8908151ed 100644 --- a/packages/services/service-settings/src/translations/ja-JP.ts +++ b/packages/services/service-settings/src/translations/ja-JP.ts @@ -18,7 +18,7 @@ export const jaJP: PlatformTranslationData = { }, settings: { mail: { - title: 'メール配信', + title: 'メールチャネル', description: 'SMTP およびトランザクションメールプロバイダー設定。', groups: { provider: { title: 'プロバイダー', description: 'このシステムの送信方法を選択します。' }, @@ -92,7 +92,7 @@ export const jaJP: PlatformTranslationData = { }, auth: { - title: '認証', + title: 'サインイン方法', description: 'サインイン、登録、組み込み認証機能の制御。', groups: { email_password: { @@ -269,7 +269,7 @@ export const jaJP: PlatformTranslationData = { }, sms: { - title: 'SMS 配信', + title: 'SMS チャネル', description: 'OTP サインイン、招待、通知に使う SMS プロバイダー設定。', groups: { provider: { title: 'プロバイダー', description: 'このシステムが送信 SMS をどう送るかを選択します。' }, @@ -305,7 +305,7 @@ export const jaJP: PlatformTranslationData = { }, company: { - title: '会社', + title: '会社情報', description: '法人としてのアイデンティティ — 登記名、住所、税務 ID、主担当者。', groups: { identity: { title: 'アイデンティティ' }, @@ -334,7 +334,7 @@ export const jaJP: PlatformTranslationData = { }, localization: { - title: 'ローカリゼーション', + title: '言語と地域', description: '既定のタイムゾーン、言語、国、通貨、会計年度。', groups: { region: { title: '地域' }, @@ -426,7 +426,7 @@ export const jaJP: PlatformTranslationData = { }, ai: { - title: 'AI と Embedder', + title: 'AI モデルサービス', description: 'プラットフォームの AI サービスが使用する LLM プロバイダー、モデル、認証情報。', groups: { @@ -595,7 +595,7 @@ export const jaJP: PlatformTranslationData = { }, lifecycle: { - title: 'データライフサイクル', + title: 'データ保持', description: 'システムデータを保持する期間:保持期間の上書き、テーブルごとの行数上限、テーブルが想定外に増えたときのアラート。プラットフォームは定期クリーンアップの実行時にこれらを適用します。', keys: { enabled: { diff --git a/packages/services/service-settings/src/translations/ko.ts b/packages/services/service-settings/src/translations/ko.ts index 3e00f5dd285..4bb488152bb 100644 --- a/packages/services/service-settings/src/translations/ko.ts +++ b/packages/services/service-settings/src/translations/ko.ts @@ -12,7 +12,7 @@ export const ko: PlatformTranslationData = { }, settings: { mail: { - title: '메일 전송', + title: '이메일 채널', description: 'SMTP 및 트랜잭션 이메일 공급자 설정입니다.', groups: { provider: { title: '공급자', description: '이 시스템이 발신 이메일을 보내는 방식을 선택합니다.' }, @@ -45,7 +45,7 @@ export const ko: PlatformTranslationData = { }, }, sms: { - title: 'SMS 전송', + title: 'SMS 채널', description: 'OTP 로그인, 초대, 알림에 쓰는 SMS 공급자 설정입니다.', groups: { provider: { title: '공급자', description: '이 시스템이 발신 SMS를 보내는 방식을 선택합니다.' }, @@ -98,7 +98,7 @@ export const ko: PlatformTranslationData = { }, }, company: { - title: '회사', + title: '회사 정보', description: '법인 정보 — 등록 상호, 주소, 세금 ID, 주요 연락처입니다.', groups: { identity: { title: '법인 정보' }, @@ -126,7 +126,7 @@ export const ko: PlatformTranslationData = { }, }, localization: { - title: '현지화', + title: '언어 및 지역', description: '기본 시간대, 언어, 국가, 통화, 회계연도입니다.', groups: { region: { title: '지역' }, @@ -198,7 +198,7 @@ export const ko: PlatformTranslationData = { }, }, auth: { - title: '인증', + title: '로그인 방법', description: '로그인, 가입, 기본 제공 인증 기능을 제어합니다.', groups: { email_password: { title: '이메일 및 비밀번호', description: '로컬 이메일/비밀번호 로그인과 셀프 가입을 제어합니다.' }, @@ -386,7 +386,7 @@ export const ko: PlatformTranslationData = { }, }, ai: { - title: 'AI 및 Embedder', + title: 'AI 모델 서비스', description: '플랫폼 AI 서비스가 쓰는 LLM 공급자, 모델, 자격 증명입니다.', groups: { provider: { title: '공급자', @@ -565,7 +565,7 @@ export const ko: PlatformTranslationData = { }, }, lifecycle: { - title: '데이터 수명 주기', + title: '데이터 보존', description: '시스템 데이터를 얼마나 보관할지 정합니다. 보존 기간을 재정의하고, 테이블별 행 수를 제한하며, 테이블이 예상 밖으로 커지면 알림을 받습니다. 플랫폼은 주기적인 정리 작업 때 이를 적용합니다.', keys: { enabled: { diff --git a/packages/services/service-settings/src/translations/pt-BR.ts b/packages/services/service-settings/src/translations/pt-BR.ts index 029471e4bcd..307757e2679 100644 --- a/packages/services/service-settings/src/translations/pt-BR.ts +++ b/packages/services/service-settings/src/translations/pt-BR.ts @@ -12,7 +12,7 @@ export const ptBR: PlatformTranslationData = { }, settings: { mail: { - title: 'Envio de e-mail', + title: 'Canal de e-mail', description: 'Configuração de SMTP e do provedor de e-mail transacional.', groups: { provider: { title: 'Provedor', description: 'Escolha como este sistema envia os e-mails de saída.' }, @@ -53,7 +53,7 @@ export const ptBR: PlatformTranslationData = { }, }, sms: { - title: 'Envio de SMS', + title: 'Canal de SMS', description: 'Configuração do provedor de SMS para login por OTP, convites e notificações.', groups: { provider: { title: 'Provedor', description: 'Escolha como este sistema envia os SMS de saída.' }, @@ -115,7 +115,7 @@ export const ptBR: PlatformTranslationData = { }, }, company: { - title: 'Empresa', + title: 'Informações da empresa', description: 'Identidade da pessoa jurídica — razão social, endereço, identificações fiscais e contato principal.', groups: { identity: { title: 'Identificação' }, @@ -149,7 +149,7 @@ export const ptBR: PlatformTranslationData = { }, }, localization: { - title: 'Localização', + title: 'Idioma e região', description: 'Fuso horário, idioma, país, moeda e ano fiscal padrão.', groups: { region: { title: 'Região' }, @@ -224,7 +224,7 @@ export const ptBR: PlatformTranslationData = { }, }, auth: { - title: 'Autenticação', + title: 'Métodos de login', description: 'Controles de login, cadastro e recursos de autenticação integrados.', groups: { email_password: { @@ -485,7 +485,7 @@ export const ptBR: PlatformTranslationData = { }, }, ai: { - title: 'IA e Embedder', + title: 'Serviço de modelos de IA', description: 'Provedor de LLM, modelo e credenciais usados pelo serviço de IA da plataforma.', groups: { provider: { title: 'Provedores', @@ -727,7 +727,7 @@ export const ptBR: PlatformTranslationData = { }, }, lifecycle: { - title: 'Ciclo de vida dos dados', + title: 'Retenção de dados', description: 'Por quanto tempo os dados do sistema são mantidos: substitua as janelas de retenção, limite a quantidade de linhas por tabela e receba alertas quando uma tabela cresce inesperadamente. A plataforma aplica isso na limpeza periódica.', keys: { enabled: { diff --git a/packages/services/service-settings/src/translations/ru.ts b/packages/services/service-settings/src/translations/ru.ts index 09dd3291733..09a67531c0a 100644 --- a/packages/services/service-settings/src/translations/ru.ts +++ b/packages/services/service-settings/src/translations/ru.ts @@ -18,7 +18,7 @@ export const ru: PlatformTranslationData = { }, settings: { mail: { - title: 'Доставка почты', + title: 'Канал электронной почты', description: 'Настройка SMTP и провайдера транзакционной почты.', groups: { provider: { title: 'Провайдер', description: 'Выберите, как эта система отправляет исходящую почту.' }, @@ -59,7 +59,7 @@ export const ru: PlatformTranslationData = { }, }, sms: { - title: 'Доставка SMS', + title: 'Канал SMS', description: 'Настройка SMS-провайдера для входа по OTP, приглашений и уведомлений.', groups: { provider: { title: 'Провайдер', description: 'Выберите, как эта система отправляет исходящие SMS.' }, @@ -125,7 +125,7 @@ export const ru: PlatformTranslationData = { }, }, company: { - title: 'Компания', + title: 'Сведения о компании', description: 'Сведения о юридическом лице — зарегистрированное наименование, адрес, налоговые номера и основной контакт.', groups: { identity: { title: 'Реквизиты' }, @@ -159,7 +159,7 @@ export const ru: PlatformTranslationData = { }, }, localization: { - title: 'Локализация', + title: 'Язык и регион', description: 'Часовой пояс, язык, страна, валюта и финансовый год по умолчанию.', groups: { region: { title: 'Регион' }, @@ -234,7 +234,7 @@ export const ru: PlatformTranslationData = { }, }, auth: { - title: 'Аутентификация', + title: 'Способы входа', description: 'Вход, регистрация и встроенные функции аутентификации.', groups: { email_password: { @@ -498,7 +498,7 @@ export const ru: PlatformTranslationData = { }, }, ai: { - title: 'ИИ и Embedder', + title: 'Сервис моделей ИИ', description: 'Провайдер LLM, модель и учётные данные для службы ИИ платформы.', groups: { provider: { title: 'Провайдеры', @@ -740,7 +740,7 @@ export const ru: PlatformTranslationData = { }, }, lifecycle: { - title: 'Жизненный цикл данных', + title: 'Хранение данных', description: 'Сколько хранятся системные данные: переопределение сроков хранения, лимиты строк для таблиц и оповещения о неожиданном росте таблицы. Платформа применяет это при периодической очистке.', keys: { enabled: { diff --git a/packages/services/service-settings/src/translations/zh-CN.ts b/packages/services/service-settings/src/translations/zh-CN.ts index 3bbe73e4a22..d0c7fbc40f5 100644 --- a/packages/services/service-settings/src/translations/zh-CN.ts +++ b/packages/services/service-settings/src/translations/zh-CN.ts @@ -18,7 +18,7 @@ export const zhCN: PlatformTranslationData = { }, settings: { mail: { - title: '邮件投递', + title: '邮件通道', description: 'SMTP 与事务性邮件服务商配置。', groups: { provider: { title: '服务商', description: '选择本系统如何发送邮件。' }, @@ -58,7 +58,7 @@ export const zhCN: PlatformTranslationData = { }, sms: { - title: '短信投递', + title: '短信通道', description: '用于 OTP 登录、邀请与通知的短信服务商配置。', groups: { provider: { title: '服务商', description: '选择本系统如何发送外发短信。' }, @@ -126,7 +126,7 @@ export const zhCN: PlatformTranslationData = { }, company: { - title: '公司', + title: '公司信息', description: '法律实体信息——注册名称、地址、税号及主要联系人。', groups: { identity: { title: '主体信息' }, @@ -155,7 +155,7 @@ export const zhCN: PlatformTranslationData = { }, localization: { - title: '本地化', + title: '语言与区域', description: '默认时区、语言、国家/地区、货币及财年。', groups: { region: { title: '区域' }, @@ -233,7 +233,7 @@ export const zhCN: PlatformTranslationData = { }, auth: { - title: '认证', + title: '登录方式', description: '登录、注册以及内置认证功能的控制项。', groups: { email_password: { @@ -481,7 +481,7 @@ export const zhCN: PlatformTranslationData = { }, ai: { - title: 'AI 与向量化', + title: 'AI 模型服务', description: '平台 AI 服务使用的 LLM 提供商、模型与凭据。', groups: { provider: { title: '提供商', @@ -623,7 +623,7 @@ export const zhCN: PlatformTranslationData = { }, lifecycle: { - title: '数据生命周期', + title: '数据保留', description: '系统数据保留多久:覆盖保留期、为每张表设定行数上限,并在表意外增长时发出告警。平台在周期性清理时应用这些设置。', keys: { enabled: { diff --git a/packages/services/service-settings/src/translations/zh-Hant.ts b/packages/services/service-settings/src/translations/zh-Hant.ts index 90691cf827e..379f3a992ac 100644 --- a/packages/services/service-settings/src/translations/zh-Hant.ts +++ b/packages/services/service-settings/src/translations/zh-Hant.ts @@ -12,7 +12,7 @@ export const zhHant: PlatformTranslationData = { }, settings: { mail: { - title: '郵件投遞', + title: '郵件通道', description: 'SMTP 與交易郵件服務商設定。', groups: { provider: { title: '服務商', description: '選擇本系統如何寄出外寄郵件。' }, @@ -45,7 +45,7 @@ export const zhHant: PlatformTranslationData = { }, }, sms: { - title: '簡訊投遞', + title: '簡訊通道', description: '用於 OTP 登入、邀請與通知的簡訊服務商設定。', groups: { provider: { title: '服務商', description: '選擇本系統如何寄出外寄簡訊。' }, @@ -92,7 +92,7 @@ export const zhHant: PlatformTranslationData = { }, }, company: { - title: '公司', + title: '公司資訊', description: '法律實體資訊——登記名稱、地址、稅籍編號與主要聯絡人。', groups: { identity: { title: '主體資訊' }, @@ -120,7 +120,7 @@ export const zhHant: PlatformTranslationData = { }, }, localization: { - title: '在地化', + title: '語言與地區', description: '預設時區、語言、國家/地區、貨幣與會計年度。', groups: { region: { title: '區域' }, @@ -192,7 +192,7 @@ export const zhHant: PlatformTranslationData = { }, }, auth: { - title: '驗證', + title: '登入方式', description: '登入、註冊以及內建驗證功能的控制項。', groups: { email_password: { title: '電子郵件與密碼', description: '控制本機電子郵件/密碼登入與自助註冊。' }, @@ -346,7 +346,7 @@ export const zhHant: PlatformTranslationData = { }, }, ai: { - title: 'AI 與 Embedder', + title: 'AI 模型服務', description: '平台 AI 服務使用的 LLM 提供者、模型與憑證。', groups: { provider: { title: '提供者', @@ -507,7 +507,7 @@ export const zhHant: PlatformTranslationData = { }, }, lifecycle: { - title: '資料生命週期', + title: '資料保留', description: '系統資料保留多久:覆寫保留期、為每張資料表設定列數上限,並在資料表意外成長時發出警示。平台會在週期性清理時套用這些設定。', keys: { enabled: { label: '執行生命週期原則', help: '週期性清理的總開關。關閉 = 已宣告的保留期/TTL/輪替原則不再執行(資料會再度無限成長)。' },