Blame view

resources/lang/pt-PT/validation.php 7.55 KB
b7c7a5f6   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
  <?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 deverá ser aceite.',
      'active_url'           => 'O campo :attribute não contém um URL válido.',
      'after'                => 'O campo :attribute deverá conter uma data posterior a :date.',
      'after_or_equal'       => 'O campo :attribute deverá conter uma data posterior ou igual a :date.',
      'alpha'                => 'O campo :attribute deverá conter apenas letras.',
      'alpha_dash'           => 'O campo :attribute deverá conter apenas letras, números e traços.',
      'alpha_num'            => 'O campo :attribute deverá conter apenas letras e números .',
      'array'                => 'O campo :attribute deverá conter uma coleção de elementos.',
      'before'               => 'O campo :attribute deverá conter uma data anterior a :date.',
      'before_or_equal'      => 'O Campo :attribute deverá conter uma data anterior ou igual a :date.',
      'between'              => [
          'numeric' => 'O campo :attribute deverá ter um valor entre :min - :max.',
          'file'    => 'O campo :attribute deverá ter um tamanho entre :min - :max kilobytes.',
          'string'  => 'O campo :attribute deverá conter entre :min - :max caracteres.',
          'array'   => 'O campo :attribute deverá conter entre :min - :max itens.',
      ],
      'boolean'              => 'O campo :attribute deverá conter um valor verdadeiro ou falso.',
      'confirmed'            => 'A confirmação para o campo :attribute não coincide.',
      'date'                 => 'O campo :attribute não contém uma data válida.',
      'date_format'          => 'A data indicada para o campo :attribute não respeita o formato :format.',
      'different'            => 'Os campos :attribute e :other deverão conter valores diferentes.',
      'digits'               => 'O campo :attribute deverá conter :digits caracteres.',
      'digits_between'       => 'O campo :attribute deverá conter entre :min a :max caracteres.',
      'dimensions'           => 'O campo :attribute deverá conter um tamanho de imagem válida.',
      'distinct'             => 'O campo :attribute contém um valor duplicado.',
      'email'                => 'O campo :attribute não contém um endereço de e-mail válido.',
      'exists'               => 'O valor selecionado para o campo :attribute é inválido.',
      'file'                 => 'O campo :attribute deverá conter um ficheiro.',
      'filled'               => 'É obrigatória a indicação de um valor para o campo :attribute.',
      'image'                => 'O campo :attribute deverá conter uma imagem.',
      'in'                   => 'O campo :attribute selecionado não contém um valor válido.',
      'in_array'             => 'O campo :attribute não existe em :other.',
      'integer'              => 'O campo :attribute deverá conter um número inteiro.',
      'ip'                   => 'O campo :attribute deverá conter um IP válido.',
      'json'                 => 'O campo :attribute deverá conter uma string JSON válida.',
      'max'                  => [
          'numeric' => 'O campo :attribute não deverá conter um valor superior a :max.',
          'file'    => 'O campo :attribute não deverá ter um tamanho superior a :max kilobytes.',
          'string'  => 'O campo :attribute não deverá conter mais de :max caracteres.',
          'array'   => 'O campo :attribute não deverá conter mais de :max itens.',
      ],
      'mimes'                => 'O campo :attribute deverá conter um ficheiro do tipo: :values.',
      'mimetypes'            => 'O campo :attribute deverá conter um ficheiro do tipo: :values.',
      'min'                  => [
          'numeric' => 'O campo :attribute deverá ter um valor superior ou igual a :min.',
          'file'    => 'O campo :attribute deverá ter no mínimo :min kilobytes.',
          'string'  => 'O campo :attribute deverá conter no mínimo :min caracteres.',
          'array'   => 'O campo :attribute deverá conter no mínimo :min itens.',
      ],
      'not_in'               => 'O campo :attribute selecionado contém um valor inválido.',
      'numeric'              => 'O campo :attribute deverá conter um valor numérico.',
      'present'              => 'O campo :attribute deverá estar presente.',
      'regex'                => 'O formato do valor para o campo :attribute é inválido.',
      'required'             => 'É obrigatória a indicação de um valor para o campo :attribute.',
      'required_if'          => 'É obrigatória a indicação de um valor para o campo :attribute quando o valor do campo :other é igual a :value.',
      'required_unless'      => 'É obrigatória a indicação de um valor para o campo :attribute a menos que :other esteja presente em :values.',
      'required_with'        => 'É obrigatória a indicação de um valor para o campo :attribute quando :values está presente.',
      'required_with_all'    => 'É obrigatória a indicação de um valor para o campo :attribute quando um dos :values está presente.',
      'required_without'     => 'É obrigatória a indicação de um valor para o campo :attribute quando :values não está presente.',
      'required_without_all' => 'É obrigatória a indicação de um valor para o campo :attribute quando nenhum dos :values está presente.',
      'same'                 => 'Os campos :attribute e :other deverão conter valores iguais.',
      'size'                 => [
          'numeric' => 'O campo :attribute deverá conter o valor :size.',
          'file'    => 'O campo :attribute deverá ter o tamanho de :size kilobytes.',
          'string'  => 'O campo :attribute deverá conter :size caracteres.',
          'array'   => 'O campo :attribute deverá conter :size itens.',
      ],
      'string'               => 'O campo :attribute deverá conter uma string.',
      'timezone'             => 'O campo :attribute deverá ter um fuso horário válido.',
      'unique'               => 'O valor indicado para o campo :attribute já se encontra registado.',
      'uploaded'             => 'O upload do ficheiro :attribute falhou.',
      'url'                  => 'O formato do URL indicado para o campo :attribute é inválido.',
  
      /*
      |--------------------------------------------------------------------------
      | Custom Validation Language Lines
      |--------------------------------------------------------------------------
      |
      | Here you may specify custom validation messages for attributes using the
      | convention "attribute.rule" to name the lines. This makes it quick to
      | specify a specific custom language line for a given attribute rule.
      |
      */
  
      'custom' => [
          'attribute-name' => [
              'rule-name' => 'mensagem personalizada',
          ],
          'invalid_currency' => 'O código do :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' => [],
  
  ];