Skip to content

Commit e513986

Browse files
DOC Add note about updated text and localisation key (#817)
1 parent 22df80d commit e513986

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

en/08_Changelogs/6.2.0.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,20 @@ If your own code uses a `font-icon-*` CSS class, we recommend adding `aria-hidde
5252

5353
- [`Hierarchy::duplicateWithChildren()`](api:SilverStripe\ORM\Hierarchy\Hierarchy::duplicateWithChildren()) used to set new sort values for duplicated children - it now uses the sort values from the original records.
5454
- Fields returned from [`QueuedJobDescriptor::getCMSFields()`](api:Symbiote\QueuedJobs\DataObjects\QueuedJobDescriptor::getCMSFields()) have changed to improve the UX. If you were changing those fields (e.g. with a subclass or an extension implementing `updateCMSFields()`) you may need to adjust your code to account for these changes.
55+
- The text for various buttons in the CMS have changed from "Add {record}" to "Add new {record}". The text uses new localisation keys:
56+
57+
|Old key|New key|
58+
|---|---|
59+
|`SilverStripe\Forms\GridField\GridField.Add`|`SilverStripe\Forms\GridField\GridField.AddNew`|
60+
|`AssetAdmin.ADD_FOLDER_BUTTON`|`AssetAdmin.ADD_NEW_FOLDER_BUTTON`|
61+
|`CampaignAdmin.ADDCAMPAIGN`|`CampaignAdmin.ADDNEWCAMPAIGN`|
62+
|`SilverStripe\UserForms.ADDEMAILRECIPIENT`|`SilverStripe\UserForms.ADDNEWEMAILRECIPIENT`|
63+
|`SilverStripe\UserForms\Extension\UserFormFieldEditorExtension.ADD_FIELD`|`SilverStripe\UserForms\Extension\UserFormFieldEditorExtension.ADD_NEW_FIELD`|
64+
|`SilverStripe\UserForms\Extension\UserFormFieldEditorExtension.ADD_FIELD_GROUP`|`SilverStripe\UserForms\Extension\UserFormFieldEditorExtension.ADD_NEW_FIELD_GROUP`|
65+
|`SilverStripe\UserForms\Extension\UserFormFieldEditorExtension.ADD_PAGE_BREAK`|`SilverStripe\UserForms\Extension\UserFormFieldEditorExtension.ADD_NEW_PAGE_BREAK`|
66+
|`SilverStripe\UserForms\Model\UserDefinedForm.ADDEMAILRECIPIENT`|`SilverStripe\UserForms\Model\UserDefinedForm.ADDNEWEMAILRECIPIENT`|
67+
|`ElementAddNewButton.ADD_BLOCK`|`ElementAddNewButton.ADD_NEW_BLOCK`|
68+
|`LinkField.ADD_LINK`|`LinkField.ADD_NEW_LINK`|
5569

5670
## API changes
5771

0 commit comments

Comments
 (0)