mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-10-31 06:16:51 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			102 lines
		
	
	
		
			4.7 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			102 lines
		
	
	
		
			4.7 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' => 'O campo :attribute deve ser aceito.',
 | |
|     'active_url' => 'O campo :attribute não é uma URL válida.',
 | |
|     'after' => 'O campo :attribute deve ser uma data posterior a :date.',
 | |
|     'after_or_equal' => 'O campo :attribute deve ser uma data posterior ou igual a :date.',
 | |
|     'alpha' => 'O campo :attribute pode conter apenas letras.',
 | |
|     'alpha_dash' => 'O campo :attribute pode conter apenas letras, números e traços.',
 | |
|     'alpha_num' => 'O campo :attribute pode conter apenas letras e números.',
 | |
|     'array' => 'O campo :attribute deve ser uma matriz.',
 | |
|     'before' => 'O campo :attribute deve ser uma data anterior a :date.',
 | |
|     'before_or_equal' => 'O campo :attribute deve ser uma data anterior ou igual a :date.',
 | |
|     'between' => [
 | |
|         'numeric' => 'O campo :attribute deve estar entre :min e :max.',
 | |
|         'file' => 'O campo :attribute deve estar entre :min e :max kilobytes.',
 | |
|         'string' => 'O campo :attribute deve estar entre :min e :max caracteres.',
 | |
|         'array' => 'O campo :attribute deve ter entre :min e :max itens.',
 | |
|     ],
 | |
| 
 | |
|     'confirmed' => 'A confirmação do campo :attribute não corresponde.',
 | |
|     'date' => 'O campo :attribute não é uma data válida.',
 | |
|     'date_format' => 'O campo :attribute não corresponde ao formato :format.',
 | |
|     'different' => 'Os campos :attribute e :other devem ser diferentes.',
 | |
|     'digits' => 'O campo :attribute deve ter :digits dígitos.',
 | |
|     'digits_between' => 'O campo :attribute deve ter entre :min e :max dígitos.',
 | |
|     'dimensions' => 'O campo :attribute tem dimensões de imagem inválidas.',
 | |
| 
 | |
|     'email' => 'O campo :attribute deve ser um endereço de e-mail válido.',
 | |
| 
 | |
|     'file' => 'O campo :attribute deve ser um arquivo.',
 | |
|     'filled' => 'O campo :attribute é obrigatório.',
 | |
|     'image' => 'O campo :attribute deve ser uma imagem.',
 | |
| 
 | |
|     'in_array' => 'O campo :attribute não existe em :other.',
 | |
|     'integer' => 'O campo :attribute deve ser um número inteiro.',
 | |
|     'ip' => 'O campo :attribute deve ser um endereço de IP válido.',
 | |
|     'json' => 'O campo :attribute deve ser uma string JSON válida.',
 | |
|     'max' => [
 | |
|         'numeric' => 'O campo :attribute não pode ser maior que :max.',
 | |
|         'file' => 'O campo :attribute não pode ser maior que :max kilobytes.',
 | |
|         'string' => 'O campo :attribute não pode ser maior que :max caracteres.',
 | |
|         'array' => 'O campo :attribute não pode ter mais que :max itens.',
 | |
|     ],
 | |
|     'mimes' => 'O campo :attribute deve ser um arquivo do tipo: :values.',
 | |
|     'mimetypes' => 'O campo :attribute deve ser um arquivo do tipo: :values.',
 | |
|     'min' => [
 | |
|         'numeric' => 'O campo :attribute deve ser pelo menos :min.',
 | |
|         'file' => 'O campo :attribute deve ter pelo menos :min kilobytes.',
 | |
|         'string' => 'O campo :attribute deve ter pelo menos :min caracteres.',
 | |
|         'array' => 'O campo :attribute deve ter pelo menos :min itens.',
 | |
|     ],
 | |
| 
 | |
|     'numeric' => 'O campo :attribute deve ser um número.',
 | |
| 
 | |
|     'regex' => 'O formato do campo :attribute é inválido.',
 | |
| 
 | |
|     'required_with_all' => 'O campo :attribute é obrigatório quando :values está presente.',
 | |
| 
 | |
|     'same' => 'Os campos :attribute e :other devem corresponder.',
 | |
|     'size' => [
 | |
|         'numeric' => 'O campo :attribute deve ser :size.',
 | |
|         'file' => 'O campo :attribute deve ter :size kilobytes.',
 | |
|         'string' => 'O campo :attribute deve ter :size caracteres.',
 | |
|         'array' => 'O campo :attribute deve conter :size itens.',
 | |
|     ],
 | |
|     'string' => 'O campo :attribute deve ser uma string.',
 | |
|     'timezone' => 'O campo :attribute deve ser uma zona válida.',
 | |
| 
 | |
|     'url' => 'O formato do campo :attribute é invá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' => 'Variável :env',
 | |
|         'invalid_password' => 'A senha fornecida é inválida para esta conta.',
 | |
|     ],
 | |
| ];
 | 
