mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-11-04 15:06:52 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			102 lines
		
	
	
		
			4.8 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			102 lines
		
	
	
		
			4.8 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
return [
 | 
						|
    /*
 | 
						|
    |--------------------------------------------------------------------------
 | 
						|
    | Validation Language Lines
 | 
						|
    |--------------------------------------------------------------------------
 | 
						|
    |
 | 
						|
    | The following language lines contain the default error messages used by
 | 
						|
    | the validator class. Some of these rules have multiple versions such
 | 
						|
    | as the size rules. Feel free to tweak each of these messages here.
 | 
						|
    |
 | 
						|
    */
 | 
						|
 | 
						|
    'accepted' => 'El campo :attribute debe ser aceptado.',
 | 
						|
    'active_url' => 'El campo :attribute no es una URL válida.',
 | 
						|
    'after' => 'El campo :attribute debe ser una fecha posterior a :date.',
 | 
						|
    'after_or_equal' => 'El campo :attribute debe ser una fecha posterior o igual a :date.',
 | 
						|
    'alpha' => 'El campo :attribute solo puede contener letras.',
 | 
						|
    'alpha_dash' => 'El campo :attribute solo puede contener letras, números y guiones.',
 | 
						|
    'alpha_num' => 'El campo :attribute solo puede contener letras y números.',
 | 
						|
    'array' => 'El campo :attribute debe ser un array.',
 | 
						|
    'before' => 'El campo :attribute debe ser una fecha anterior a :date.',
 | 
						|
    'before_or_equal' => 'El campo :attribute debe ser una fecha anterior o igual a :date.',
 | 
						|
    'between' => [
 | 
						|
        'numeric' => 'El campo :attribute debe estar entre :min y :max.',
 | 
						|
        'file' => 'El campo :attribute debe tener entre :min y :max kilobytes.',
 | 
						|
        'string' => 'El campo :attribute debe tener entre :min y :max caracteres.',
 | 
						|
        'array' => 'El campo :attribute debe contener entre :min y :max elementos.',
 | 
						|
    ],
 | 
						|
 | 
						|
    'confirmed' => 'La confirmación de :attribute no coincide.',
 | 
						|
    'date' => 'El campo :attribute no es una fecha válida.',
 | 
						|
    'date_format' => 'El campo :attribute no coincide con el formato :format.',
 | 
						|
    'different' => 'Los campos :attribute y :other deben ser diferentes.',
 | 
						|
    'digits' => 'El campo :attribute debe tener :digits dígitos.',
 | 
						|
    'digits_between' => 'El campo :attribute debe tener entre :min y :max dígitos.',
 | 
						|
    'dimensions' => 'Las dimensiones de la imagen :attribute no son válidas.',
 | 
						|
 | 
						|
    'email' => 'El campo :attribute debe ser una dirección de correo electrónico válida.',
 | 
						|
 | 
						|
    'file' => 'El campo :attribute debe ser un archivo.',
 | 
						|
    'filled' => 'El campo :attribute es obligatorio.',
 | 
						|
    'image' => 'El campo :attribute debe ser una imagen.',
 | 
						|
 | 
						|
    'in_array' => 'El campo :attribute no existe en :other.',
 | 
						|
    'integer' => 'El campo :attribute debe ser un número entero.',
 | 
						|
    'ip' => 'El campo :attribute debe ser una dirección IP válida.',
 | 
						|
    'json' => 'El campo :attribute debe ser una cadena JSON válida.',
 | 
						|
    'max' => [
 | 
						|
        'numeric' => 'El campo :attribute no debe ser mayor que :max.',
 | 
						|
        'file' => 'El tamaño del archivo :attribute no debe ser mayor que :max kilobytes.',
 | 
						|
        'string' => 'El campo :attribute no debe contener más de :max caracteres.',
 | 
						|
        'array' => 'El campo :attribute no debe contener más de :max elementos.',
 | 
						|
    ],
 | 
						|
    'mimes' => 'El campo :attribute debe ser un archivo del tipo: :values.',
 | 
						|
    'mimetypes' => 'El campo :attribute debe ser un archivo del tipo: :values.',
 | 
						|
    'min' => [
 | 
						|
        'numeric' => 'El campo :attribute debe tener al menos :min.',
 | 
						|
        'file' => 'El tamaño del archivo :attribute debe ser al menos :min kilobytes.',
 | 
						|
        'string' => 'El campo :attribute debe tener al menos :min caracteres.',
 | 
						|
        'array' => 'El campo :attribute debe tener al menos :min elementos.',
 | 
						|
    ],
 | 
						|
 | 
						|
    'numeric' => 'El campo :attribute debe ser un número.',
 | 
						|
 | 
						|
    'regex' => 'El formato del campo :attribute no es válido.',
 | 
						|
 | 
						|
    'required_with_all' => 'El campo :attribute es obligatorio cuando :values está presente.',
 | 
						|
 | 
						|
    'same' => 'Los campos :attribute y :other deben coincidir.',
 | 
						|
    'size' => [
 | 
						|
        'numeric' => 'El campo :attribute debe ser :size.',
 | 
						|
        'file' => 'El campo :attribute debe tener :size kilobytes.',
 | 
						|
        'string' => 'El campo :attribute debe tener :size caracteres.',
 | 
						|
        'array' => 'El campo :attribute debe contener :size elementos.',
 | 
						|
    ],
 | 
						|
    'string' => 'El campo :attribute debe ser una cadena de texto.',
 | 
						|
    'timezone' => 'El campo :attribute debe ser una zona horaria válida.',
 | 
						|
 | 
						|
    'url' => 'El formato de :attribute no es válido.',
 | 
						|
 | 
						|
    /*
 | 
						|
    |--------------------------------------------------------------------------
 | 
						|
    | Custom Validation Attributes
 | 
						|
    |--------------------------------------------------------------------------
 | 
						|
    |
 | 
						|
    | The following language lines are used to swap attribute place-holders
 | 
						|
    | with something more reader friendly such as E-Mail Address instead
 | 
						|
    | of "email". This simply helps us make messages a little cleaner.
 | 
						|
    |
 | 
						|
    */
 | 
						|
 | 
						|
    'attributes' => [],
 | 
						|
 | 
						|
    // Internal validation logic for Panel
 | 
						|
    'internal' => [
 | 
						|
        'variable_value' => 'Variable :env',
 | 
						|
        'invalid_password' => 'La contraseña proporcionada no es válida para esta cuenta.',
 | 
						|
    ],
 | 
						|
];
 |