208 lines
7.1 KiB
PHP
208 lines
7.1 KiB
PHP
<?php
|
|
|
|
return [
|
|
'widgets' => [
|
|
'total_users' => [
|
|
'label' => 'Users',
|
|
'description' => 'Total application user accounts.',
|
|
],
|
|
],
|
|
'users' => [
|
|
'navigation' => [
|
|
'label' => 'Users',
|
|
'singular' => 'User',
|
|
'plural' => 'Users',
|
|
],
|
|
'sections' => [
|
|
'account' => 'Account',
|
|
'profile' => 'Profile',
|
|
'nutrition_goals' => 'Nutrition goals',
|
|
'activity' => 'Activity',
|
|
'metadata' => 'Metadata',
|
|
],
|
|
'fields' => [
|
|
'id' => 'ID',
|
|
'name' => 'Name',
|
|
'email' => 'Email address',
|
|
'locale' => 'Language',
|
|
'role' => 'Role',
|
|
'email_verified_at' => 'Email verified at',
|
|
'account_verified_at' => 'Account verified at',
|
|
'suspended_at' => 'Suspended at',
|
|
'suspended_by' => 'Suspended by',
|
|
'avatar' => 'Avatar',
|
|
'password' => 'Password',
|
|
'bio' => 'Bio',
|
|
'height' => 'Height',
|
|
'date_of_birth' => 'Date of birth',
|
|
'sex' => 'Sex',
|
|
'daily_calorie_goal' => 'Calories',
|
|
'daily_protein_goal' => 'Protein',
|
|
'daily_carbs_goal' => 'Carbs',
|
|
'daily_fats_goal' => 'Fats',
|
|
'physical_activity_level' => 'Activity level',
|
|
'physical_activity_level_short' => 'Activity',
|
|
'weight_goal' => 'Weight goal',
|
|
'weight_goal_short' => 'Weight goal',
|
|
'pace_preference' => 'Pace',
|
|
'created_at' => 'Created at',
|
|
'updated_at' => 'Updated at',
|
|
],
|
|
'locales' => [
|
|
'en' => 'English',
|
|
'fr' => 'French',
|
|
],
|
|
'filters' => [
|
|
'email_verified' => 'Email verified',
|
|
'account_verified' => 'Account verified',
|
|
'suspended' => 'Suspended',
|
|
],
|
|
'actions' => [
|
|
'suspend' => 'Suspend',
|
|
'unsuspend' => 'Reactivate',
|
|
],
|
|
'placeholders' => [
|
|
'not_verified' => 'Not verified',
|
|
'not_suspended' => 'Not suspended',
|
|
'empty' => '-',
|
|
],
|
|
],
|
|
'credit_products' => [
|
|
'navigation' => [
|
|
'label' => 'Credit products',
|
|
'singular' => 'Credit product',
|
|
'plural' => 'Credit products',
|
|
],
|
|
'sections' => [
|
|
'product' => 'Product',
|
|
'stripe' => 'Stripe',
|
|
],
|
|
'fields' => [
|
|
'name' => 'Name',
|
|
'description' => 'Description',
|
|
'type' => 'Type',
|
|
'credits' => 'Credits',
|
|
'amount' => 'Price',
|
|
'currency' => 'Currency',
|
|
'stripe_product_id' => 'Stripe product ID',
|
|
'stripe_price_id' => 'Stripe price ID',
|
|
'is_active' => 'Active',
|
|
'sort_order' => 'Order',
|
|
'created_at' => 'Created at',
|
|
],
|
|
'helpers' => [
|
|
'amount' => 'Amount in cents, for example 999 for €9.99.',
|
|
],
|
|
'actions' => [
|
|
'sync_stripe' => 'Create in Stripe',
|
|
'sync_stripe_success' => 'Stripe product synchronized.',
|
|
],
|
|
],
|
|
'moderation_cases' => [
|
|
'navigation' => [
|
|
'label' => 'Moderation',
|
|
'singular' => 'Moderation case',
|
|
'plural' => 'Moderation cases',
|
|
],
|
|
'sections' => [
|
|
'case' => 'Case',
|
|
'target' => 'Reported content',
|
|
'resolution' => 'Resolution',
|
|
'metadata' => 'Metadata',
|
|
],
|
|
'fields' => [
|
|
'id' => 'ID',
|
|
'target_type' => 'Type',
|
|
'target_title' => 'Target',
|
|
'caseable_id' => 'Target ID',
|
|
'status' => 'Status',
|
|
'reports_count' => 'Reports',
|
|
'threshold' => 'Threshold',
|
|
'threshold_notified_at' => 'Notification sent at',
|
|
'assigned_to' => 'Assigned to',
|
|
'resolved_by' => 'Resolved by',
|
|
'resolved_at' => 'Resolved at',
|
|
'resolution_note' => 'Resolution note',
|
|
'created_at' => 'Created at',
|
|
'updated_at' => 'Updated at',
|
|
],
|
|
'targets' => [
|
|
'meal_post' => 'Meal',
|
|
'post_review' => 'Review',
|
|
'user' => 'User',
|
|
'unknown' => 'Unknown',
|
|
],
|
|
'actions' => [
|
|
'mark_reviewing' => 'Start review',
|
|
'hide_meal' => 'Hide meal',
|
|
'suspend_user' => 'Suspend',
|
|
'resolve' => 'Resolve',
|
|
'reject' => 'Reject',
|
|
],
|
|
'filters' => [
|
|
'target_type' => 'Type',
|
|
],
|
|
'placeholders' => [
|
|
'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' => '-',
|
|
],
|
|
],
|
|
];
|