feat: legal sections
This commit is contained in:
@@ -115,4 +115,62 @@ return [
|
||||
'empty' => '-',
|
||||
],
|
||||
],
|
||||
'legal_documents' => [
|
||||
'navigation' => [
|
||||
'label' => 'Legal documents',
|
||||
'singular' => 'Legal document',
|
||||
'plural' => 'Legal documents',
|
||||
],
|
||||
'sections' => [
|
||||
'identity' => 'Identity',
|
||||
'publication' => 'Publication',
|
||||
'content' => 'Content',
|
||||
'metadata' => 'Metadata',
|
||||
],
|
||||
'fields' => [
|
||||
'id' => 'ID',
|
||||
'slug' => 'Slug',
|
||||
'type' => 'Type',
|
||||
'version' => 'Version',
|
||||
'title' => 'Title',
|
||||
'locale' => 'Locale',
|
||||
'localized_title' => 'Localized title',
|
||||
'content' => 'Content JSON',
|
||||
'intro' => 'Introduction',
|
||||
'paragraph' => 'Paragraph',
|
||||
'sections' => 'Sections',
|
||||
'section_title' => 'Section title',
|
||||
'section_body' => 'Section paragraphs',
|
||||
'is_active' => 'Active',
|
||||
'published_at' => 'Published at',
|
||||
'created_at' => 'Created at',
|
||||
'updated_at' => 'Updated at',
|
||||
],
|
||||
'helpers' => [
|
||||
'slug' => 'Public identifier used by the landing site, e.g. privacy-policy or terms-of-service.',
|
||||
'is_active' => 'When enabled, the other active versions with the same slug are automatically deactivated.',
|
||||
'published_at' => 'The public API only exposes active documents whose publication date is set and not in the future.',
|
||||
'content' => 'Expected shape: {"fr":{"intro":["..."],"sections":[{"title":"...","body":["..."]}]}}',
|
||||
],
|
||||
'defaults' => [
|
||||
'intro' => 'Introductory text for the document.',
|
||||
'section_title' => 'Section title',
|
||||
'paragraph' => 'First paragraph.',
|
||||
],
|
||||
'actions' => [
|
||||
'add_intro_paragraph' => 'Add an intro paragraph',
|
||||
'add_section' => 'Add a section',
|
||||
'add_section_paragraph' => 'Add a paragraph',
|
||||
'create_new_version' => 'Create new version',
|
||||
'create_new_version_confirmation' => 'This will duplicate the content into a new inactive unpublished version.',
|
||||
'create_new_version_success' => 'New version created.',
|
||||
],
|
||||
'status' => [
|
||||
'active' => 'Active',
|
||||
'inactive' => 'Inactive',
|
||||
],
|
||||
'placeholders' => [
|
||||
'empty' => '-',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user