-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathen.ts
More file actions
223 lines (211 loc) · 8.66 KB
/
Copy pathen.ts
File metadata and controls
223 lines (211 loc) · 8.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.
import type { TranslationData } from '@objectstack/spec/system';
import { enObjects } from './en.objects.generated.js';
/**
* English (en) — Setup App Translations
*
* Per-locale file mirroring the CRM example convention (one file per
* language, aggregated into a single `TranslationBundle` by
* `setup.translation.ts`).
*
* Scope: the static Setup App metadata artifact owned by
* `@objectstack/platform-objects/apps`:
* - `apps.setup.label` / `description`
* - `apps.setup.navigation.<id>.label` for every group AND leaf
* - `dashboards.system_overview.*`
*
* Object-level labels (Users, Roles, Audit Logs, …) are owned by the
* sys_* object schemas themselves and translated separately.
*/
export const en: TranslationData = {
objects: enObjects,
apps: {
account: {
label: 'Account',
description: 'Personal security and identity settings',
navigation: {
grp_account_inbox: { label: 'Inbox' },
grp_account_security: { label: 'Security' },
grp_account_developer: { label: 'Developer' },
nav_account_profile: { label: 'Profile' },
nav_account_notifications: { label: 'Notifications' },
nav_account_approvals: { label: 'Approvals' },
nav_account_memberships: { label: 'My Organizations' },
nav_account_linked: { label: 'Linked Accounts' },
nav_account_sessions: { label: 'Active Sessions' },
nav_account_api_keys: { label: 'API Keys' },
nav_account_oauth_apps: { label: 'OAuth Applications' },
},
},
setup: {
label: 'Setup',
description: 'Platform settings and administration',
navigation: {
// Groups
group_overview: { label: 'Overview' },
group_apps: { label: 'Apps' },
group_people_org: { label: 'People & Organization' },
group_access_control: { label: 'Access Control' },
group_approvals: { label: 'Approvals' },
group_configuration: { label: 'Configuration' },
group_integrations: { label: 'Integrations' },
group_diagnostics: { label: 'Diagnostics' },
group_advanced: { label: 'Advanced' },
// Overview
nav_system_overview: { label: 'System Overview' },
// Apps / Marketplace
nav_marketplace_browse: { label: 'Browse Marketplace' },
nav_marketplace_installed: { label: 'Installed Apps' },
nav_cloud_connection: { label: 'Cloud Connection' },
// People & Organization
nav_users: { label: 'Users' },
nav_organization: { label: 'Organization' },
nav_business_units: { label: 'Business Units' },
nav_teams: { label: 'Teams' },
nav_organizations: { label: 'Organizations' },
nav_invitations: { label: 'Invitations' },
// Access Control
nav_positions: { label: 'Positions' },
nav_permission_sets: { label: 'Permission Sets' },
nav_sharing_rules: { label: 'Sharing Rules' },
nav_record_shares: { label: 'Record Shares' },
nav_api_keys: { label: 'API Keys' },
nav_connect_agent: { label: 'Connect an Agent' },
// Approvals
nav_approval_processes: { label: 'Processes' },
nav_approval_requests: { label: 'Requests' },
nav_approval_actions: { label: 'Action History' },
// Configuration
nav_settings_hub: { label: 'All Settings' },
nav_settings_mail: { label: 'Email' },
nav_settings_branding: { label: 'Branding' },
nav_settings_auth: { label: 'Authentication' },
nav_settings_storage: { label: 'File Storage' },
nav_settings_ai: { label: 'AI & Embedder' },
nav_settings_knowledge: { label: 'Knowledge' },
nav_settings_feature_flags: { label: 'Feature Flags' },
// Notifications (contributed by @objectstack/service-messaging)
nav_notification_preferences: { label: 'Notification Preferences' },
nav_notification_subscriptions: { label: 'Notification Subscriptions' },
nav_notification_templates: { label: 'Notification Templates' },
// Diagnostics
nav_sessions: { label: 'Sessions' },
nav_audit_logs: { label: 'Audit Logs' },
nav_notifications: { label: 'Notifications' },
// Advanced
nav_oauth_apps: { label: 'OAuth Applications' },
nav_jwks: { label: 'Signing Keys (JWKS)' },
nav_verifications: { label: 'Verifications' },
nav_device_codes: { label: 'Device Codes' },
nav_accounts: { label: 'Identity Links' },
nav_user_preferences: { label: 'User Preferences' },
nav_metadata: { label: 'All Metadata' },
},
},
studio: {
label: 'Studio',
description: 'Metadata workbench for developers, analysts, and implementers',
navigation: {
group_overview: { label: 'Overview' },
nav_metadata_directory: { label: 'All Metadata Types' },
nav_packages: { label: 'Packages' },
group_data_model: { label: 'Data Model' },
nav_objects: { label: 'Objects' },
nav_validations: { label: 'Validations' },
group_ux: { label: 'User Experience' },
nav_apps: { label: 'Apps' },
nav_views: { label: 'Views' },
nav_pages: { label: 'Pages' },
nav_dashboards: { label: 'Dashboards' },
nav_reports: { label: 'Reports' },
nav_datasets: { label: 'Datasets' },
group_logic: { label: 'Logic' },
nav_actions: { label: 'Actions' },
nav_hooks: { label: 'Hooks' },
group_automation: { label: 'Automation' },
nav_flows: { label: 'Flows' },
nav_workflows: { label: 'Workflow Rules' },
group_ai: { label: 'AI' },
nav_agents: { label: 'Agents' },
nav_tools: { label: 'Tools' },
nav_skills: { label: 'Skills' },
group_developer: { label: 'Developer' },
nav_api_console: { label: 'API Console' },
nav_flow_runs: { label: 'Flow Runs' },
nav_public_forms: { label: 'Public Forms' },
group_integration: { label: 'Integration' },
nav_email_templates: { label: 'Email Templates' },
},
},
},
dashboards: {
system_overview: {
label: 'System Overview',
description: 'Platform health, security activity, and recent audit events',
widgets: {
widget_total_users: {
title: 'Total Users',
description: 'Total registered users in the system',
},
widget_organizations: {
title: 'Organizations',
description: 'Total organizations on the platform',
},
widget_active_sessions: {
title: 'Active Sessions',
description: 'Number of currently active user sessions',
},
widget_packages_installed: {
title: 'Packages Installed',
description: 'Active package installations across projects',
},
widget_login_events: {
title: 'Login Events',
description: 'Authentication events recorded by the audit log',
},
widget_permission_changes: {
title: 'Permission Changes',
description: 'Recent permission and role modifications',
},
widget_config_changes: {
title: 'Config Changes',
description: 'System configuration modifications',
},
widget_events_by_type: {
title: 'Audit Events by Action',
description: 'Distribution of audit events by action type',
},
widget_events_by_user: {
title: 'Events by User',
description: 'Activity distribution across users',
},
widget_recent_events: {
title: 'Recent Audit Events',
description: 'Latest platform events (login, permission, config, …)',
},
},
},
},
// Setup pages contributed as metadata by capability plugins. The English
// entries mirror the literals authored in the plugins' page metadata
// (@objectstack/cloud-connection, @objectstack/mcp) and exist so the other
// locales have a complete key set to translate against.
pages: {
marketplace_installed: {
label: 'Installed Apps',
subtitle: "Marketplace packages currently installed into this runtime's kernel.",
},
cloud_connection_settings: {
label: 'Cloud Connection',
subtitle:
'Connect this runtime to an ObjectStack control plane to browse your '
+ "organization's private packages and install them here.",
},
connect_agent: {
label: 'Connect an Agent',
subtitle:
'Give any MCP-capable AI client governed access to this environment — '
+ "every call runs under the caller's own permissions and row-level security.",
},
},
};