<?php

return [
    "validations" => [
        "required" => [
            "name"                                                                    => "Please add chart name.",
            "title"                                                                   => "Please add a chart title.",
            "category"                                                                => "Please select a chart category.",
            "connection"                                                              => "Please select a chart connection.",
            "security_type"                                                           => "Please select the chart security type.",
            "x_table"                                                                 => "Please ensure that you have specified the required database table for each axis.",
            "axis_column"                                                             => "Please ensure that you have specified the required column for the data of each axis.",
            "choose a different chart type"                                           => "Kindly choose a different chart type or different column for segment Axis.",
            "The selected function can only be applied to numeric columns"            => "The selected function can only be applied to numeric columns. Please choose a different function or column for the {Y} / {values} axis.",
            "drill_down_columns"                                                      => "Since you have enabled the data analysis drill-down feature, please select the drill-down columns to be displayed in the drill-down report.",
            "date_time_scale"                                                         => "Please select the time scale to apply it on the X-axis.",
            "Your chosen date range and time scale options necessitate a wider chart" => "Your chosen date range and time scale options necessitate a wider chart. Please adjust the widget size in the 'Appearance' step or modify your selected date range or time scale.",
            "Your chosen date filtration options necessitate a wider chart"           => "Your chosen date filtration options necessitate a wider chart. Please adjust the widget size to full width in the 'Appearance' step, or modify your data filtration options accordingly.",
            "The chart will display as empty"                                         => "The chart will display as empty because you have deselected all values in the 'Data Filtration' dropdown menu. Please choose the values you wish to display in the 'Data Filtration'."
        ],
        "unique"   => [
            "name" => "Another resource with this name already existed. Please use a different chart name."
        ],
        "regex"    => 'The :attribute may only contain letters, numbers, underscores, and spaces, and must not start with a number',
        "custom"   => [
            "Although the format suggests" => "Although the format suggests a time series chart, the X-axis values are not dates."
        ]

    ],
    "messages"    => [
        'updated'                   => 'Chart is updated successfully.',
        'select new category'       => 'Please select a new category for this chart.',
        'unauthorized'              => 'Access denied for this chart.',
        'delete'                    => 'Chart :chart deleted successfully.',
        'no_details'                => "Sorry, no detailed page for this chart.",
        'create_group_and_category' => 'Before you begin using the chart builder, it is necessary to create at least one category and one user group.',
        'permission_denied'         => "Permission denied for this role."
    ]

];
