<?php

return [
    "validations" => [
        "required" => [
            "name"                                                            => "Please add Metric name.",
            "title"                                                           => "Please add a Metric title.",
            "category"                                                        => "Please select a Metric category.",
            "connection"                                                      => "Please select a Metric connection.",
            "security_type"                                                   => "Please select the Metric security type.",

            "performance_data_table"                                          => "Please ensure that you have selected the Performance Data Table.",
            "calculation_column"                                              => "Please ensure that you have selected the calculation column.",

            "Kindly choose a date filter column"                              => "Kindly choose a date filter column or set the date range to be 'All time'.",
            "The selected function can only be applied to numeric columns"    => "The selected calculation function can only be applied to numeric columns. Please choose a different calculation function or different calculation column.",

            "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.",

            "Since you've chosen the All time date range"                     => "Since you've chosen the 'All time' date range, you can't compare with the 'preceding period' or 'same time last year' options.",
            "Given that the metric type is a 'gauge chart,'"                  => "Given that the metric type is a 'gauge chart,' you need to choose a comparison option to establish a target for your chart.",

            "Since youve selected Numeric Value accompanied by a custom unit" => "Since you've selected 'Numeric Value accompanied by a custom unit' as your display format option, kindly input your custom unit.",
            "Since youve selected compare with a fixed target"                => "Since you've selected 'compare with a fixed target value' as your compare with  option, kindly input your target value input.",
            "Please enter the preferred currency to display with the KPI"     => "Please enter the preferred currency to display with the KPI",
            "Please enter the custom unit to display with the KPI"            => "Please enter the custom unit to display with the KPI.",
            "filtration_column"                                               => "The 'filtration column' and 'filtration value' cannot be left empty because a conditional function is selected. Please ensure both fields are filled, or switch to a non-conditional function",
            "filtration_value"                                                => "The 'filtration column' and 'filtration value' cannot be left empty because a conditional function is selected. Please ensure both fields are filled, or switch to a non-conditional function"
        ],
        "unique"   => [
            "name" => "Another resource with this name already existed. Please use a different Metric name."
        ],
        "max"      => [
            "title" => "Please add a shorter Metric title (max length 70 characters)."
        ],
        "regex"    => 'The :attribute may only contain letters, numbers, underscores, and spaces, and must not start with a number'

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

    ]

];
