<?php

return [
    'site_title_separator' => ' - ',
    'text_edit' => 'Edit',
    'text_filter' => 'Filter',
    'text_apply' => 'Apply',
    'text_clear' => 'Clear',
    'text_search' => 'Search',
    'text_enabled' => 'Enabled',
    'text_disabled' => 'Disabled',
    'text_active' => 'Active',
    'text_inactive' => 'Inactive',
    'text_incomplete' => 'Incomplete',
    'text_new' => 'New',
    'text_no' => 'No',
    'text_yes' => 'Yes',
    'text_none' => 'None',
    'text_hide' => 'Hide',
    'text_show' => 'Show',
    'text_action' => 'Action',
    'text_dashes' => ' -- ',
    'text_equals' => ' = ',
    'text_times' => 'x ',
    'text_plus' => '+ ',
    'text_please_select' => ' - please select - ',
    'text_use_default' => 'Use Default',
    'text_is_default' => 'Is Default',
    'text_updated' => 'updated',
    'text_added' => 'added',
    'text_deleted' => 'deleted',
    'text_default' => 'Default',
    'text_select_all' => 'Select All',
    'text_select_none' => 'Select None',
    'text_select' => 'Select',
    'text_all_locations' => 'All Locations',
    'text_selected' => 'Selected',
    'text_now' => 'Now',
    'text_never' => 'Never',
    'text_remove' => 'Remove',
    'text_reload' => 'Reload',
    'text_save' => 'Save',
    'text_saving' => 'Saving...',
    'text_resetting' => 'Resetting...',
    'text_loading' => 'Loading...',
    'text_deleting' => 'Deleting...',
    'text_support' => 'Help Center',
    'text_empty' => 'Empty',
    'text_help' => 'Click for Help',
    'text_no_title' => 'No Title',
    'text_allow' => 'Allow',
    'text_opening' => 'Opening',
    'text_delivery' => 'Delivery',
    'text_collection' => 'Pick-up',
    'text_system' => 'System',
    'text_you' => 'you',

    'label_code' => 'Code',
    'label_name' => 'Name',
    'label_type' => 'Type',
    'label_first_name' => 'First name',
    'label_last_name' => 'Last name',
    'label_email' => 'Email',
    'label_status' => 'Status',
    'label_location' => 'Location(s)',
    'label_description' => 'Description',

    'column_id' => 'ID',
    'column_location' => 'Location(s)',
    'column_date_added' => 'Date Added',
    'column_date_updated' => 'Date Updated',

    'text_filter_location' => 'View all locations',
    'text_filter_status' => 'View all status',
    'text_filter_date' => 'View all dates',
    'text_back_link' => 'Go back to the previous page',
    'text_admin_link' => 'Return to the admin dashboard',

    'button_new' => '<i class="fa fa-plus"></i>&nbsp;&nbsp;New',
    'button_delete' => '<i class="fa fa-trash-o"></i>&nbsp;&nbsp;Delete',
    'button_add' => 'Add',
    'button_edit' => 'Edit',
    'button_continue' => 'Continue',
    'button_filter' => 'Filter',
    'button_save' => '<i class="fa fa-save"></i>&nbsp;&nbsp;Save',
    'button_save_close' => '<i class="fa fa-save"></i>&nbsp;&nbsp;Save & Close',
    'button_icon_back' => '<i class="fa fa-arrow-left px-0"></i>',
    'button_icon_filter' => '<i class="fa fa-filter"></i>',
    'button_icon_delete' => '<i class="fa fa-trash-o"></i>',
    'button_close' => 'Close',
    'button_refresh' => '<i class="fa fa-refresh"></i>&nbsp;&nbsp;Refresh',

    'alert_success' => '%s successfully.',
    'alert_error' => 'An error occurred, %s.',
    'alert_error_nothing' => 'An error occurred, nothing %s.',
    'alert_error_try_again' => 'An error occurred, please try again.',
    'alert_warning_confirm' => 'This cannot be undone! Are you sure you want to do this?',
    'alert_confirm' => 'Are you sure you want to do this?',
    'alert_user_not_logged_in' => 'You must be logged in to access that page.',
    'alert_user_restricted' => 'Warning: You do not have the right permission to view this page, please contact the system administrator.',
    'alert_location_restricted' => 'Warning: You do not have the right permission to access context outside your location, please contact the system administrator.',
    'alert_warning_locationable_delete' => 'Warning: You do not have the right permission to delete record(s) attached to multiple locations, please contact the system administrator.',
    'alert_form_error_message' => 'Sorry, there seems to be an error with your submission, Check the highlighted fields and try again.',
    'alert_error_set_default' => '"%s" is disabled and cannot be set as default.',
    'alert_missing_method' => 'Missing method [%s] in %s.',
    'alert_missing_model_definition' => "Model '%s' does not contain a definition for '%s'.",
    'alert_valid_values' => 'Valid values for [locationAware] property are (none,show,hide).',
    'alert_widget_class_name' => "The Widget class name '%s' has not been registered",
    'alert_missing_field_property' => "Missing form field property 'modelClass' in '%s'",
    'alert_invalid_ajax_handler_name' => 'Invalid ajax handler name: %s',
    'alert_invalid_ajax_partial_name' => 'Invalid partial name: %s',
    'alert_widget_not_bound_to_controller' => "A widget with class name '%s' has not been bound to the controller",
    'alert_ajax_handler_not_found' => 'Ajax handler [%s] is not found.',
    'alert_user_not_logged' => 'User is not logged in',
    'alert_access_denied' => 'Access denied.',
    'alert_invalid_csrf_token' => 'Your session has expired, please reload the page and try again.',

    'title_access_denied' => 'Access denied',
    'title_page_not_found' => 'No page found',
    'alert_page_not_found' => 'There\'s no page at this address, check the URL and try again.',

    'error_table_widget_data_not_specified' => 'The Table widget data source is not specified in the configuration.',
    'error_table_widget_data_class_not_found' => 'The Table widget data source class "%s" could not be found.',

    'text_settings_title' => 'Settings',
    'text_see_all_customers' => 'See all customers',
    'text_see_all_orders' => 'See all orders',
    'text_user' => 'User',
    'text_staff_group' => 'User Group',
    'text_location' => 'Location',
    'text_set_status' => 'Set Status',
    'text_edit_details' => 'My Account',
    'text_network_admin' => 'Network Admin',
    'text_administration' => 'Administration',
    'text_logout' => 'Logout',
    'text_switch_to_assigned' => 'Switch to assigned view',
    'text_switch_to_list' => 'Switch to list view',

    'help_permalink' => 'Use ONLY alpha-numeric lowercase characters, _ or - and make sure it is unique GLOBALLY.',

    'side_menu' => [
        'updates' => 'Updates',
        'storefront' => 'Storefront',
        'page' => 'Static Pages',
        'system_logs' => 'Logs',
        'setting' => 'Settings',
        'dashboard' => 'Dashboard',
        'sale' => 'Sales',
        'activities' => 'Activities',
        'restaurant' => 'Restaurant',
        'marketing' => 'Marketing',
        'rating' => 'Ratings',
        'status' => 'Statuses',
        'extension' => 'Extensions',
        'design' => 'Design',
        'theme' => 'Themes',
        'mail_template' => 'Mail Templates',
        'tool' => 'Tools',
        'media_manager' => 'Media Manager',
        'system' => 'Manage',

        'alert_no_definition' => 'No definition for item %s.',
        'alert_invalid_menu' => 'Invalid item specified.',
        'alert_menu_not_found' => 'No main menu item found matching {%s}.',
        'alert_invalid_status' => 'Status message is required.',
    ],

    'list' => [
        'missing_model' => 'List action used in %s does not have a model defined.',
        'missing_definitions' => 'List action used in %s does not have definitions.',
        'invalid_column_datetime' => 'Column value \'%s\' is not a DateTime object, are you missing a $dates reference in the Model?',
        'delete_empty' => 'Nothing selected to delete.',
        'missing_column' => 'List used in %s has no list columns defined.',
        'invalid_column_override' => 'Invalid column name used: %s. Must be included in list columns definition.',
        'text_empty' => 'Nothing found.',
        'text_setup' => 'Setup',
        'text_showing' => 'Showing %s-%s of %s records',
        'setup_title' => 'List Setup - %s',
        'label_visible_columns' => 'Visible Columns',
        'label_page_limit' => 'Items Per Page',
        'button_reset_setup' => 'Reset',
        'button_cancel_setup' => 'Cancel',
        'button_apply_setup' => 'Apply changes',
        'filter_missing_definitions' => "The model class %s must define a method %s returning options for the '%s' filter.",
        'filter_missing_scope_definitions' => 'No definition for scope %s',
        'filter_missing_scope_model' => 'No model for scope %s',
        'help_visible_columns' => 'Set which columns are visible and in what order to display them',
        'help_page_limit' => 'Limit how many records are shown per page',
        'alert_relationship_not_supported' => 'The relationship %s is not supported for list columns.',
        'missing_action_code' => 'Invalid bulk action code specified.',
        'action_not_found' => 'Bulk Action class (%s) not found',

        'actions' => [
            'text_select' => 'Select an action to apply',
            'label_edit' => 'Edit',
            'label_status' => 'Enable/Disable',
            'label_enable' => 'Enable',
            'label_disable' => 'Disable',
            'text_select_all' => 'Select all %s records',
        ],
    ],

    'calendar' => [
        'missing_model' => 'Calendar action used in %s does not have a model defined.',
        'missing_definitions' => 'Calendar action used in %s does not have model definitions.',
        'missing_method' => "Calender action '%s' does not contain a method '%s'.",
        'missing_partial' => "Calender action  defined in '%s' is missing a popover partial.",
    ],

    'form' => [
        'create_title' => ':name: Create',
        'edit_title' => ':name: Edit',
        'preview_title' => ':name: Preview',
        'missing_model' => 'Form action used in %s does not have a model defined.',
        'missing_definitions' => 'Form action field [%s] does not have definitions.',
        'missing_definition' => 'Form action does not contain a field definition for: %s.',
        'missing_method' => "Form action '%s' does not contain a method '%s'.",
        'undefined_tab' => 'Misc',
        'create_success' => '%s created successfully',
        'edit_success' => '%s updated successfully',
        'delete_success' => '%s deleted successfully',
        'create_failed' => '%s create failed',
        'edit_failed' => '%s update failed',
        'delete_failed' => '%s delete failed',
        'insert_row' => 'Insert Row',
        'insert_row_below' => 'Insert Row Below',
        'delete_row' => 'Delete Row',
        'not_ready' => 'Form action has not been initialized, check that you have called initForm() in your controller.',
        'options_method_not_exists' => 'The model class %s must define a method %s returning options for the [%s] form field.',
        'field_invalid_type' => 'Invalid field type used %s.',
        'missing_id' => 'Form record ID has not been specified.',
        'not_found' => 'Form record with ID [%s] could not be found.',
        'mass_assignment_failed' => "Mass assignment failed for Model attribute ':attribute'.",
        'record_not_found' => 'Record not found.',
        'request_class_not_found' => 'Form Request class (%s) not found',
        'record_not_found_in_model' => 'Record ID [%s] not found in model %s.',

        'save_actions' => [
            'continue' => 'Continue Editing',
            'close' => 'Go to Listing',
            'new' => 'Create New',
        ],
    ],

    'dashboard' => [
        'text_title' => 'Dashboard',
        'text_heading' => 'Dashboard',
        'text_add_widget' => 'Add Widget',
        'text_edit_widget' => 'Edit Widget',
        'text_select_widget' => 'Select a widget',

        'text_zero' => '0',
        'text_dash_dash' => '--',
        'text_today' => 'Today',
        'text_delivery' => 'Delivery',
        'text_collection' => 'Pick-up',
        'text_no_activity' => 'There are no new activities available.',
        'text_complete_setup' => 'Complete Restaurant Setup',
        'text_progress' => 'Complete',
        'text_progress_initial' => 'Initial Setup',
        'text_progress_setting' => 'Your restaurant settings',
        'text_progress_menus' => 'Add Menus',
        'text_progress_design' => 'Design your website background',
        'text_progress_email' => 'Send test email',
        'text_progress_count' => '60%',
        'text_progress_summary' => 'Follow these steps to get your restaurant up &amp; running. ',
        'text_initial_progress' => '<b>Initial Setup</b> - Set your preferred general settings, such as restaurant name and email.',
        'text_settings_progress' => '<b>Your restaurant settings</b> - Let your customers know your restaurant opening times, delivery hours, preparation time and where its located.',
        'text_menus_progress' => '<b>Add Menus</b> - Add your menu using our simple editor. Display multiple menus like delivery &amp; eat-in, includes sizes and meal options',
        'text_design_progress' => '<b>Design your website background</b> - Upload your own or choose a background image for your website from our gallery.',
        'text_email_progress' => '<b>Send test email</b> - Ensure order confirmation emails are sent to customers successfully.',
        'text_statistic' => 'Statistics',
        'text_range' => 'Range',
        'text_week' => 'Last 7 Days',
        'text_month' => 'Last 30 Days',
        'text_year' => 'This Year',
        'text_context' => 'Context',
        'text_stats_card' => 'Card',
        'text_charts_dataset' => 'Datasets',
        'text_cache_usage' => 'Cache Usage',
        'text_total_cache' => 'Total cache size:',
        'text_news' => 'TastyIgniter News',
        'text_news_count' => 'News Count',
        'text_recent_activity' => 'Recent Activity',
        'text_activities_count' => 'Activities Count',
        'text_top_customers' => 'Top Customers',
        'text_latest_order' => '10 Latest Orders',
        'text_reports_chart' => 'Reports Chart',
        'text_select_range' => 'Select date range',
        'text_last_version_check' => 'Your last <b>TastyIgniter core version check</b> was more than a week ago. <a href="%s"><b>Check for Updates</b></a>',

        'alert_select_widget_to_update' => 'Please select a widget to update.',
        'alert_select_widget_to_add' => 'Please select a widget to add.',
        'alert_widget_class_not_found' => 'The selected class does not exist.',
        'alert_invalid_widget' => 'The selected class is not a dashboard widget.',
        'alert_invalid_aliases' => 'Invalid aliases string.',
        'alert_invalid_priorities' => "'Invalid priorities string.'",
        'alert_invalid_data_posted' => 'Invalid data posted.',
        'alert_widget_not_found' => 'The specified widget is not found.',

        'onboarding' => [
            'title' => '<i class="fas fa-plate-wheat"></i>&nbsp;&nbsp;Let\'s Get Your Restaurant Online and Ready to Serve!',
            'label_settings' => 'Set up the essentials',
            'label_themes' => 'Personalize your website',
            'label_extensions' => 'Install recommended extensions',
            'label_mail' => 'Set up and test email delivery',

            'help_settings' => 'Start by filling in your key system settings — like your restaurant name, contact info, and branding. This ensures everything runs smoothly from the start.',
            'help_themes' => 'Choose and activate a front-end theme that matches your brand. Customize it to make your site feel truly yours.',
            'help_mail' => 'Configure your mail settings to ensure your restaurant can send emails reliably. Once set up, send a test message to verify your customers will receive important updates.',
        ],

        'charts' => [
            'text_orders' => 'Orders',
            'text_reservations' => 'Reservations',
            'text_customers' => 'Customers',
        ],

        'column_location' => 'Location',
        'column_ready_type' => 'Ready Time',
        'column_total_orders' => '# Orders',
        'column_total_sale' => 'Total Sale',

        'label_widget' => 'Widget',
        'label_widget_title' => 'Widget Title',
        'label_widget_columns' => 'Widget Grid Width',
        'label_widget_css_class' => 'Widget CSS Class',

        'button_add_widget' => 'Add Widget',
        'button_reset_widgets' => 'Reset Widgets',
        'button_set_default' => 'Set as default for all users',

        'help_widget_columns' => 'The widget width, a number between 1 and 12.',

        'error_rss' => 'The URL address is incorrect or',

        'alert_set_default_confirm' => 'Are you sure you want to set the current widgets as default for all users?',
        'alert_reset_layout_success' => 'Layout reset successfully',
    ],

    'permissions' => [
        'name' => 'Administration',
        'dashboard' => 'Manage dashboard widgets',
        'statuses' => 'Manage orders and reservations statuses',
    ],

    'statuses' => [
        'text_title' => 'Statuses',
        'text_editor_title' => 'Add %s',
        'text_form_name' => 'Status',
        'text_filter_status' => 'View all status types',
        'text_empty' => 'There are no statuses available.',
        'text_order' => 'Order',
        'text_reservation' => 'Reservation',
        'text_unassigned' => 'Yet to be Assigned',
        'text_assigned_to_self' => 'Assigned To Me',
        'text_assigned_to_others' => 'Assigned To Other User',

        'column_comment' => 'Status Comment',
        'column_notify' => 'Notify',
        'column_time_date' => 'Date Time',
        'column_staff' => 'User',
        'column_assignee' => 'Assigned To',

        'label_for' => 'Status For',
        'label_color' => 'Color',
        'label_notify' => 'Email Notification',
        'label_notify_customer' => 'Notify Customer',
        'label_comment' => 'Comment',

        'label_assignee_group' => 'Assign To Group',
        'label_assignee' => 'Assign To User',

        'help_notify' => 'Set whether an email is sent to the customer after this status is set to the order. This option can be overridden from the order edit page.',
        'help_notify_customer' => 'Set whether to send a status update email to the customer',

        'help_assignee_group' => 'A notification is sent out to all the user in the selected group',

        'alert_already_added' => 'The selected %s must be different from the current %s',
        'alert_invalid_action' => 'Invalid action.',
        'alert_status_not_found' => 'Status ID [%s] not found.',
    ],
];
