Skip to content

Commit ce8bac2

Browse files
committed
chore(i18n): regenerate the plugin-sharing en bundle for the labelled record share options
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QUKVainSF9Fx4YDaSPyE64
1 parent 3f49598 commit ce8bac2

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎.changeset/25332-setup-option-labels.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Clause-②: no
1010
Metadata-protocol: none
1111

1212
- **`@objectstack/platform-objects`:** `sys_business_unit.kind` declared its options as bare strings, so each label equalled its stored value and the form offered `cost_center`. The options now carry labels (Company, Division, Department, Office, Cost Center). The stored values are unchanged.
13-
- **`@objectstack/plugin-sharing`:** `sys_sharing_rule.recipient_type` and `access_level` declared bare-string options too. They now carry labels (User, Team, Business unit, Position, Business unit and subordinates, Field; Read, Read and edit), which are the names the Recipient Type help text already used. The stored values are unchanged.
13+
- **`@objectstack/plugin-sharing`:** `sys_sharing_rule.recipient_type` and `access_level` declared bare-string options too. They now carry labels (User, Team, Business unit, Position, Business unit and subordinates, Field; Read, Read and edit), which are the names the Recipient Type help text already used. `sys_record_share` declares the same recipient and access vocabulary, so its `recipient_type` (User, Group, Position, Business unit and subordinates) and `access_level` options carry the same labels. The stored values are unchanged.
1414
- **`@objectstack/spec`:** the `autoMigrate` key of the SQLite, PostgreSQL and MySQL driver configs had no JSON-Schema `title`, so the New datasource form labelled the field with the raw key `autoMigrate`. It is now titled "Auto-migrate schema".
1515

1616
The English labels flow into the generated translation bundles; the existing zh-CN, ja-JP and es-ES option translations are kept.

‎packages/plugins/plugin-sharing/src/translations/en.objects.generated.ts‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
3535
label: "Recipient Type",
3636
help: "Kind of principal that holds the grant",
3737
options: {
38-
user: "user",
39-
group: "group",
40-
position: "position",
41-
unit_and_subordinates: "unit_and_subordinates"
38+
user: "User",
39+
group: "Group",
40+
position: "Position",
41+
unit_and_subordinates: "Business unit and subordinates"
4242
}
4343
},
4444
recipient_id: {
@@ -49,8 +49,8 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
4949
label: "Access Level",
5050
help: "What the recipient can do — read, or read and edit",
5151
options: {
52-
read: "read",
53-
edit: "edit"
52+
read: "Read",
53+
edit: "Read and edit"
5454
}
5555
},
5656
source: {

0 commit comments

Comments
 (0)