You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
189 lines
9.2 KiB
189 lines
9.2 KiB
<?php
|
|
|
|
return [
|
|
'auth' => [
|
|
'u_empty' => 'The username cannot be empty',
|
|
'p_empty' => 'Password cannot be empty',
|
|
'u_p_error' => 'Account or password error',
|
|
'u_disabled' => 'Account has been disabled'
|
|
],
|
|
'admin_user' => [
|
|
'l_a_empty' => 'Login account cannot be empty',
|
|
'l_a_alpha_num' => 'Login account can only contain English letters and numbers',
|
|
'l_a_between' => 'The length of the login account must be 4-20',
|
|
'r_empty' => 'User role cannot be empty',
|
|
's_p_empty' => 'The parking lot cannot be empty',
|
|
'p_empty' => 'The initial password cannot be empty',
|
|
'p_between' => 'The initial password length must be 12-30',
|
|
'email' => 'Email address format error',
|
|
's_empty' => 'The status cannot be empty',
|
|
's_in' => 'Status must be 0 or 1'
|
|
],
|
|
'admin_role' => [
|
|
'n_empty' => 'The role name cannot be empty',
|
|
'n_max' => 'The character name can be up to 50 characters long',
|
|
'm_empty' => 'Role permissions cannot be empty',
|
|
'm_array' => 'Role permission data must be an array',
|
|
'r_max' => 'The character name can be up to 50 characters long'
|
|
],
|
|
'admin_config' => [
|
|
'content_empty' => 'Configuration data cannot be empty',
|
|
'parking_lot_id_empty' => 'The local parking lot ID configuration cannot be empty',
|
|
'parking_lot_sum_empty' => 'The total number of parking spaces in the parking lot cannot be empty',
|
|
'parking_lot_sum_num' => 'The total number of parking spaces in the parking lot must be numerical',
|
|
'zombie_car_empty' => 'Zombie car parking duration configuration cannot be empty',
|
|
'zombie_car_num' => 'Zombie car parking duration configuration must be numerical'
|
|
],
|
|
'id_empty' => 'Number cannot be empty',
|
|
'id_numeric' => 'The number must be a number',
|
|
'admin_translation' => [
|
|
'en_empty' => 'English translation cannot be empty',
|
|
'zh_cn_empty' => 'Simplified Chinese translation cannot be empty',
|
|
'zh_tw_empty' => 'Traditional Chinese translation cannot be empty'
|
|
],
|
|
'admin_floor' => [
|
|
'n_empty' => 'The floor name cannot be empty',
|
|
'n_max' => 'Floor name can be up to 50 characters long',
|
|
'r_array' => 'The floor name data must be an array',
|
|
],
|
|
'upload' => [
|
|
'i_empty' => 'The image file cannot be empty',
|
|
'i_image' => 'The uploaded file must be an image',
|
|
'i_max' => 'The uploaded image file cannot exceed 10MB'
|
|
],
|
|
'admin_list_vip' => [
|
|
'l_empty' => 'The license plate number cannot be empty',
|
|
'l_max' => 'License plate number up to 20 characters',
|
|
'file_empty' => 'Import file cannot be empty',
|
|
'file_mimes' => 'The import file type must be xlsx|xls|csv',
|
|
'file_max' => 'The maximum limit for importing files is 2048'
|
|
],
|
|
'space_attributes' => [
|
|
'a_empty' => 'Parking space attribute name cannot be empty',
|
|
'i_empty' => 'The import icon cannot be empty'
|
|
],
|
|
'space_type' => [
|
|
'n_empty' => 'The parking space type name cannot be empty'
|
|
],
|
|
'license_plate' => [
|
|
'n_empty' => 'The license plate number cannot be empty',
|
|
'type_empty' => 'Parking space type cannot be empty'
|
|
],
|
|
'parking_space' => [
|
|
'type_id_empty' => 'Parking space type data cannot be empty',
|
|
'type_id_numeric' => 'Parking space type data must be numeric',
|
|
'attr_id_empty' => 'Parking space attribute data cannot be empty',
|
|
'attr_id_numeric' => 'Parking space attribute data must be numeric',
|
|
'ids_empty' => 'Parking data cannot be empty',
|
|
'ids_array' => 'Parking data must be an array',
|
|
'status_empty' => 'The parking space status cannot be empty',
|
|
'status_numeric' => 'The parking space status must be a number',
|
|
'status_in' => 'The parking status can only be 0 or 1'
|
|
],
|
|
'map' => [
|
|
'f_empty' => 'The floor number cannot be empty',
|
|
'f_number' => 'The floor number must be a number',
|
|
'p_empty' => 'The parking space number cannot be empty',
|
|
'p_number' => 'The parking space number must be a number',
|
|
'd_empty' => 'Save data cannot be empty'
|
|
],
|
|
'parking_camera' => [
|
|
'n_empty' => 'The device number cannot be empty',
|
|
'n_max' => 'License plate number up to 50 characters',
|
|
's_empty' => 'The server IP cannot be empty',
|
|
's_max' => 'Server IP up to 15 characters',
|
|
'c_empty' => 'Camera IP cannot be empty',
|
|
'c_max' => 'Camera IP up to 15 characters',
|
|
'p_array' => 'Parking data must be an array',
|
|
'lights_ip_empty' => 'Control light camera IP cannot be empty',
|
|
'lights_ip_max' => 'Control light camera IP up to 15 characters'
|
|
],
|
|
'parking_pattern' => [
|
|
'm_empty' => 'Activity mode cannot be empty',
|
|
's_empty' => 'The status cannot be empty',
|
|
'c_empty' => 'Releasing superior parking spaces cannot be empty',
|
|
'r_empty' => 'Activity mode cannot be empty',
|
|
'id_empty' => 'The activity mode number cannot be empty',
|
|
'space_id_empty' => 'The mode parking number cannot be empty',
|
|
'type_empty' => 'The mode parking space type cannot be empty',
|
|
],
|
|
'event_calendar' => [
|
|
'p_empty' => 'Activity mode cannot be empty',
|
|
's_empty' => 'The start time cannot be empty',
|
|
'e_empty' => 'The end time cannot be empty',
|
|
'start_end' => 'The start time cannot be greater than the end time'
|
|
],
|
|
'notice' => [
|
|
'c_empty' => 'Update data cannot be empty',
|
|
'c_in' => 'Updating data can only be 0 or 1',
|
|
],
|
|
'parking_management' => [
|
|
'n_empty' => 'The parking lot name cannot be empty',
|
|
'o_empty' => 'The business start time cannot be empty',
|
|
'o_length' => 'The length of the business start time must be 5',
|
|
'e_empty' => 'The closing time cannot be empty',
|
|
'e_length' => 'The length of the business closing time must be 5',
|
|
'a_empty' => 'Position cannot be empty',
|
|
'error_time' => 'The end time cannot be less than the start time',
|
|
'name_exists' => 'The parking lot name already exists'
|
|
],
|
|
'parking_attendant' => [
|
|
'n_empty' => 'The name of the management personnel cannot be empty',
|
|
'p_empty' => 'The phone number cannot be empty',
|
|
'm_empty' => 'Member type cannot be empty',
|
|
'name_exists' => 'The name of the management personnel already exists',
|
|
],
|
|
'admin_floor_region' => [
|
|
'n_empty' => 'The region name cannot be empty',
|
|
'n_max' => 'The maximum length of the region name is 50 characters'
|
|
],
|
|
'channel_management' => [
|
|
'n_empty' => 'Channel name cannot be empty',
|
|
't_empty' => 'Channel type cannot be empty',
|
|
'po_empty' => 'The channel position cannot be empty',
|
|
'pa_empty' => 'The affiliated parking lot cannot be empty',
|
|
'g_empty' => 'The affiliated booth cannot be empty'
|
|
],
|
|
'guard_booth_management' => [
|
|
'n_empty' => 'The booth name cannot be empty',
|
|
],
|
|
'departure_management' => [
|
|
'n_empty' => 'Reason for departure cannot be empty',
|
|
],
|
|
'channel_permissions' => [
|
|
'm_empty' => 'Member type cannot be empty',
|
|
'c_empty' => 'Allow channel not to be empty',
|
|
'c_array' => 'Allow channel data to be an array'
|
|
],
|
|
'equipment_management' => [
|
|
'n_empty' => 'The device name cannot be empty',
|
|
't_empty' => 'The device type cannot be empty',
|
|
'ch_empty' => 'Binding channel cannot be empty',
|
|
'pu_empty' => 'The purpose of the device cannot be empty',
|
|
'ip_empty' => 'The device IP cannot be empty',
|
|
'ip' => 'Device IP format error',
|
|
'sn_empty' => 'The device code cannot be empty'
|
|
],
|
|
'whitelist' => [
|
|
'l_empty' => 'The license plate number cannot be empty',
|
|
'pa_empty' => 'The parking lot cannot be empty',
|
|
'n_empty' => 'The reason for passage cannot be empty',
|
|
'c_empty' => 'The passage cannot be empty',
|
|
'c_array' => 'The passage channel data must be an array',
|
|
],
|
|
'parking_repair_list' => [
|
|
'psn_empty' => '車位號碼不能為空',
|
|
's_empty' => '維修開始時間不能為空',
|
|
'e_empty' => '維修結束時間不能為空',
|
|
'ids_empty' => '請選擇要删除的數據',
|
|
'ids_array' => '所選數據必須是數組',
|
|
'date_error' => '開始時間不能大於結束時間'
|
|
],
|
|
'gate_control' => [
|
|
'n_empty' => 'Order number or license plate number cannot be empty',
|
|
'et_empty' => 'The entry time cannot be empty',
|
|
'channel_id' => 'Channel cannot be empty',
|
|
'lp_empty' => 'The license plate number cannot be empty',
|
|
'lt_empty' => 'Departure time cannot be empty'
|
|
]
|
|
];
|
|
|