Skip to content

Commit e205cf3

Browse files
committed
fix(plugin-sharing): queue member types reuse the sharing objects' ja-JP and es-ES renderings; changeset
Claude-Session: https://claude.ai/code/session_01Utp6CbDNK83SuSb8zsRt2s Co-authored-by: Claude <noreply@anthropic.com>
1 parent 2eb658e commit e205cf3

5 files changed

Lines changed: 28 additions & 20 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
'@objectstack/platform-objects': patch
3+
'@objectstack/plugin-security': patch
4+
'@objectstack/plugin-approvals': patch
5+
'@objectstack/plugin-sharing': patch
6+
'@objectstack/plugin-email': patch
7+
'@objectstack/service-settings': patch
8+
---
9+
10+
fix: Setup's form help speaks to an administrator, and the queue pages, the mail status banner and the test-email toast read in Chinese on a zh-CN console
11+
12+
Clause-②: yes (widening)
13+
Metadata-protocol: none
14+
15+
- **Field help (English source and zh-CN):** the permission set and position assignment forms, the out-of-office (approval delegation) rule, and the business unit, organization and user forms no longer describe the implementation. Gone: "fail-closed", "half-open [from, until)", "agent grants", "graph semantics", "expanded by graph queries", "Null = root of tenant", "HRIS", "When true / When false" (zh-CN 「为 true 时」 now reads 「开启后」) and an HTTP status code. The help now says when an assignment starts and ends, what turning a switch on does, and what to fill in. Text only: no field name, key, option value or behaviour changes.
16+
- **`@objectstack/plugin-sharing`:** `sys_queue` and `sys_queue_member` join the plugin's translation bundle, with zh-CN text, so the 队列 and 队列成员 pages, their columns, help and the 新建 button read in Chinese. ja-JP and es-ES carry English fills for now.
17+
- **`@objectstack/plugin-email`:** the live-status statement at the top of Setup → Email and the "Send test email" answer (sent, failed, logged only) are written in the caller's display language, en and zh-CN today; another language gets English.
18+
- **`@objectstack/service-settings`:** a settings action handler (`SettingsActionHandler`) receives an optional `locale`, the caller's display language read from the request the same way the live-status statement's is (`Accept-Language`, else `?locale`); `runAction` takes it as a fifth `display` argument. Existing handlers compile and behave unchanged.

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -326,11 +326,11 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
326326
label: "Member Type",
327327
help: "What kind of member this is. A team, position or business unit makes everyone in it a member. \"Business unit and subordinates\" also covers every unit below the one you pick.",
328328
options: {
329-
user: "User",
330-
team: "Team",
331-
position: "Position",
332-
business_unit: "Business unit",
333-
unit_and_subordinates: "Business unit and subordinates"
329+
user: "Usuario",
330+
team: "Equipo",
331+
position: "Puesto",
332+
business_unit: "Unidad de negocio",
333+
unit_and_subordinates: "Unidad de negocio y subordinados"
334334
}
335335
},
336336
recipient_id: {

‎packages/plugins/plugin-sharing/src/translations/es-ES.source-hashes.generated.ts‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ export const esESGeneratedSourceHashes: Readonly<Record<string, string>> = {
3434
"objects.sys_queue_member.fields.recipient_id.label": "28df6ed83bf1854a",
3535
"objects.sys_queue_member.fields.recipient_type.help": "2ae5686284ebe563",
3636
"objects.sys_queue_member.fields.recipient_type.label": "bdd6823b52227962",
37-
"objects.sys_queue_member.fields.recipient_type.options.business_unit": "1067bfd71e794b7b",
38-
"objects.sys_queue_member.fields.recipient_type.options.position": "9a24c02e441eb0b4",
39-
"objects.sys_queue_member.fields.recipient_type.options.team": "42b87165ac826b2b",
40-
"objects.sys_queue_member.fields.recipient_type.options.unit_and_subordinates": "82328fb7d0ddac90",
41-
"objects.sys_queue_member.fields.recipient_type.options.user": "6c0d22a931e235bd",
4237
"objects.sys_queue_member.label": "671a45ea261c0e92",
4338
"objects.sys_queue_member.pluralLabel": "46715e86f5231603",
4439
"objects.sys_share_link.fields.token.label": "6e8de3393d2cee54",

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -326,11 +326,11 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
326326
label: "Member Type",
327327
help: "What kind of member this is. A team, position or business unit makes everyone in it a member. \"Business unit and subordinates\" also covers every unit below the one you pick.",
328328
options: {
329-
user: "User",
330-
team: "Team",
331-
position: "Position",
332-
business_unit: "Business unit",
333-
unit_and_subordinates: "Business unit and subordinates"
329+
user: "ユーザー",
330+
team: "チーム",
331+
position: "ポジション",
332+
business_unit: "ビジネスユニット",
333+
unit_and_subordinates: "ビジネスユニットと下位階層"
334334
}
335335
},
336336
recipient_id: {

‎packages/plugins/plugin-sharing/src/translations/ja-JP.source-hashes.generated.ts‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ export const jaJPGeneratedSourceHashes: Readonly<Record<string, string>> = {
3434
"objects.sys_queue_member.fields.recipient_id.label": "28df6ed83bf1854a",
3535
"objects.sys_queue_member.fields.recipient_type.help": "2ae5686284ebe563",
3636
"objects.sys_queue_member.fields.recipient_type.label": "bdd6823b52227962",
37-
"objects.sys_queue_member.fields.recipient_type.options.business_unit": "1067bfd71e794b7b",
38-
"objects.sys_queue_member.fields.recipient_type.options.position": "9a24c02e441eb0b4",
39-
"objects.sys_queue_member.fields.recipient_type.options.team": "42b87165ac826b2b",
40-
"objects.sys_queue_member.fields.recipient_type.options.unit_and_subordinates": "82328fb7d0ddac90",
41-
"objects.sys_queue_member.fields.recipient_type.options.user": "6c0d22a931e235bd",
4237
"objects.sys_queue_member.label": "671a45ea261c0e92",
4338
"objects.sys_queue_member.pluralLabel": "46715e86f5231603",
4439
};

0 commit comments

Comments
 (0)