Skip to content

Commit 060d1b7

Browse files
committed
changeset: state that nothing has to be rewritten
Claude-Session: https://claude.ai/code/session_01Utp6CYaDMYnWxbm95qon7G Co-authored-by: Claude <noreply@anthropic.com>
1 parent f71f7bd commit 060d1b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.changeset/30391-extension-rename-drops-stale-plural.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ Skills-docs: follow-up — `skills/objectstack-data/SKILL.md` "Object Extension
1717
- **Now.** `pluralLabel` is the plural of `label`: such an extension is served as an object that declares no `pluralLabel`, in every locale, so a list titles it by its label. Where the owning package's `.custom` pair saves its own translation of `objects.NAME.pluralLabel`, that translation is served (ruling record 6631250894: a translation in the pair, then the override's own text, then the base's translation).
1818
- **Unchanged.** An extension that sets `pluralLabel` is served with it. One that sets no `label`, or repeats the label it extends, keeps the base's plural and its translation. A plural the tenant set stays, and a tenant's own rename yields as before (ADR-0029 D9.2a). An object no extension renames is served as before. The packaged base the translators compare against keeps its plural.
1919

20-
**FROM → TO.** `defineObjectExtension({ extend: 'crm_task', label: 'Work Item' })` → add `pluralLabel: 'Work Items'` to serve a plural for the new name; a `.custom` pair can also save `objects.crm_task.pluralLabel` in its own `translation` item for a translated locale.
20+
Nothing has to be rewritten: an extension that wants a plural for its new name declares `pluralLabel` beside `label`, as it always could, and a `.custom` pair can save `objects.NAME.pluralLabel` in its own `translation` item for a translated locale.

0 commit comments

Comments
 (0)