| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  | <?php | 
					
						
							|  |  |  |  | /** | 
					
						
							|  |  |  |  |  * Validation 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. | 
					
						
							|  |  |  |  |  */ | 
					
						
							|  |  |  |  | return [ | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     // Standard laravel validation lines
 | 
					
						
							| 
									
										
										
										
											2023-12-29 01:49:38 +08:00
										 |  |  |  |     'accepted'             => 'Cal que accepteu el camp :attribute.', | 
					
						
							|  |  |  |  |     'active_url'           => 'El camp :attribute no és un URL vàlid.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |     'after'                => 'El camp :attribute ha de ser una data posterior a :date.', | 
					
						
							|  |  |  |  |     'alpha'                => 'El camp :attribute només pot contenir lletres.', | 
					
						
							| 
									
										
										
										
											2024-08-29 22:08:27 +08:00
										 |  |  |  |     'alpha_dash'           => 'El camp :attribute només pot contenir lletres, xifres, guionets i guions baixos.', | 
					
						
							|  |  |  |  |     'alpha_num'            => 'El camp :attribute només pot contenir lletres, xifres.', | 
					
						
							|  |  |  |  |     'array'                => 'El camp :attribute ha de ser una matriu.', | 
					
						
							|  |  |  |  |     'backup_codes'         => 'El codi que heu proporcionat no és vàlid o ja s’ha utilitzat.', | 
					
						
							|  |  |  |  |     'before'               => 'El camp :attribute ha de ser una data posterior a :date.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |     'between'              => [ | 
					
						
							| 
									
										
										
										
											2024-08-29 22:08:27 +08:00
										 |  |  |  |         'numeric' => 'El camp :attribute ha de ser un nombre entre :min i :max.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |         'file'    => 'El camp :attribute ha de tenir entre :min i :max kilobytes.', | 
					
						
							|  |  |  |  |         'string'  => 'El camp :attribute ha de tenir entre :min i :max caràcters.', | 
					
						
							|  |  |  |  |         'array'   => 'El camp :attribute ha de tenir entre :min i :max elements.', | 
					
						
							|  |  |  |  |     ], | 
					
						
							|  |  |  |  |     'boolean'              => 'El camp :attribute ha de ser cert o fals.', | 
					
						
							|  |  |  |  |     'confirmed'            => 'La confirmació del camp :attribute no coincideix.', | 
					
						
							|  |  |  |  |     'date'                 => 'El camp :attribute no és una data vàlida.', | 
					
						
							|  |  |  |  |     'date_format'          => 'El camp :attribute no coincideix amb el format :format.', | 
					
						
							| 
									
										
										
										
											2024-08-29 22:08:27 +08:00
										 |  |  |  |     'different'            => 'El camp :attribute i :other han de ser diferents.', | 
					
						
							|  |  |  |  |     'digits'               => 'El camp :attribute ha de tenir :digits xifres.', | 
					
						
							|  |  |  |  |     'digits_between'       => 'El camp :attribute ha de tenir entre :min i :max xifres.', | 
					
						
							|  |  |  |  |     'email'                => 'El camp :attribute ha de ser un adreça electrònica vàlida.', | 
					
						
							|  |  |  |  |     'ends_with' => 'El camp :attribute ha d’acabar amb un dels signes següents: :values', | 
					
						
							| 
									
										
										
										
											2023-12-29 01:49:38 +08:00
										 |  |  |  |     'file'                 => 'El camp :attribute ha de ser un fitxer vàlid.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |     'filled'               => 'El camp :attribute és obligatori.', | 
					
						
							|  |  |  |  |     'gt'                   => [ | 
					
						
							|  |  |  |  |         'numeric' => 'El camp :attribute ha de ser més gran que :value.', | 
					
						
							|  |  |  |  |         'file'    => 'El camp :attribute ha de tenir més de :value kilobytes.', | 
					
						
							|  |  |  |  |         'string'  => 'El camp :attribute ha de tenir més de :value caràcters.', | 
					
						
							|  |  |  |  |         'array'   => 'El camp :attribute ha de tenir més de :value elements.', | 
					
						
							|  |  |  |  |     ], | 
					
						
							|  |  |  |  |     'gte'                  => [ | 
					
						
							| 
									
										
										
										
											2024-08-29 22:08:27 +08:00
										 |  |  |  |         'numeric' => 'El camp :attribute ha de ser com a mínim :value.', | 
					
						
							|  |  |  |  |         'file'    => 'El camp :attribute ha de tenir com a mínim :value kilobytes.', | 
					
						
							|  |  |  |  |         'string'  => 'El camp :attribute ha de tenir com a mínim :value caràcters.', | 
					
						
							|  |  |  |  |         'array'   => 'El camp :attribute ha de tenir com a mínim :value elements.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2023-12-29 01:49:38 +08:00
										 |  |  |  |     'exists'               => 'El camp :attribute seleccionat no és vàlid.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |     'image'                => 'El camp :attribute ha de ser una imatge.', | 
					
						
							| 
									
										
										
										
											2024-08-29 22:08:27 +08:00
										 |  |  |  |     'image_extension'      => 'El camp :attribute ha de tenir una extensió d’imatge compatible.', | 
					
						
							|  |  |  |  |     'in'                   => 'El camp :attribute no és vàlid.', | 
					
						
							|  |  |  |  |     'integer'              => 'El camp :attribute ha de ser un nombre enter.', | 
					
						
							|  |  |  |  |     'ip'                   => 'El camp :attribute ha de ser un adreça IP vàlida.', | 
					
						
							|  |  |  |  |     'ipv4'                 => 'El camp :attribute ha de ser un adreça IPv4 vàlida.', | 
					
						
							|  |  |  |  |     'ipv6'                 => 'El camp :attribute ha de ser un adreça IPv6 vàlida.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |     'json'                 => 'El camp :attribute ha de ser una cadena JSON vàlida.', | 
					
						
							|  |  |  |  |     'lt'                   => [ | 
					
						
							| 
									
										
										
										
											2024-08-29 22:08:27 +08:00
										 |  |  |  |         'numeric' => 'El camp :attribute ha de ser més petit que :value.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |         'file'    => 'El camp :attribute ha de tenir menys de :value kilobytes.', | 
					
						
							|  |  |  |  |         'string'  => 'El camp :attribute ha de tenir menys de :value caràcters.', | 
					
						
							|  |  |  |  |         'array'   => 'El camp :attribute ha de tenir menys de :value elements.', | 
					
						
							|  |  |  |  |     ], | 
					
						
							|  |  |  |  |     'lte'                  => [ | 
					
						
							| 
									
										
										
										
											2024-08-29 22:08:27 +08:00
										 |  |  |  |         'numeric' => 'El camp :attribute ha de ser com a màxim :value.', | 
					
						
							|  |  |  |  |         'file'    => 'El camp :attribute ha de tenir com a màxim :value kilobytes.', | 
					
						
							|  |  |  |  |         'string'  => 'El camp :attribute ha de tenir com a màxim :value caràcters.', | 
					
						
							|  |  |  |  |         'array'   => 'El camp :attribute ha de tenir com a màxim :value elements.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |     ], | 
					
						
							|  |  |  |  |     'max'                  => [ | 
					
						
							| 
									
										
										
										
											2024-08-29 22:08:27 +08:00
										 |  |  |  |         'numeric' => 'El camp :attribute ha de ser com a màxim :max.', | 
					
						
							|  |  |  |  |         'file'    => 'El camp :attribute ha de tenir com a màxim :max kilobytes.', | 
					
						
							|  |  |  |  |         'string'  => 'El camp :attribute ha de tenir com a màxim :max caràcters.', | 
					
						
							|  |  |  |  |         'array'   => 'El camp :attribute ha de tenir com a màxim :max elements.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |     ], | 
					
						
							|  |  |  |  |     'mimes'                => 'El camp :attribute ha de ser un fitxer del tipus: :values.', | 
					
						
							|  |  |  |  |     'min'                  => [ | 
					
						
							| 
									
										
										
										
											2024-08-29 22:08:27 +08:00
										 |  |  |  |         'numeric' => 'El camp :attribute ha de ser com a mínim :min.', | 
					
						
							|  |  |  |  |         'file'    => 'El camp :attribute ha de tenir com a mínim :min kilobytes.', | 
					
						
							|  |  |  |  |         'string'  => 'El camp :attribute ha de tenir com a mínim :min caràcters.', | 
					
						
							|  |  |  |  |         'array'   => 'El camp :attribute ha de tenir com a mínim :min elements.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2024-08-29 22:08:27 +08:00
										 |  |  |  |     'not_in'               => 'El camp :attribute no és vàlid.', | 
					
						
							|  |  |  |  |     'not_regex'            => 'El format :attribute no és vàlid.', | 
					
						
							|  |  |  |  |     'numeric'              => 'El camp :attribute ha de ser un nombre.', | 
					
						
							|  |  |  |  |     'regex'                => 'El format :attribute no és vàlid.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |     'required'             => 'El camp :attribute és obligatori.', | 
					
						
							|  |  |  |  |     'required_if'          => 'El camp :attribute és obligatori quan :other és :value.', | 
					
						
							| 
									
										
										
										
											2024-08-29 22:08:27 +08:00
										 |  |  |  |     'required_with'        => 'El camp :attribute és obligatori quan hi ha :values.', | 
					
						
							|  |  |  |  |     'required_with_all'    => 'El camp :attribute és obligatori quan hi ha tots aquests valors: :values.', | 
					
						
							|  |  |  |  |     'required_without'     => 'El camp :attribute és obligatori quan no hi ha :values.', | 
					
						
							| 
									
										
										
										
											2023-12-29 01:49:38 +08:00
										 |  |  |  |     'required_without_all' => 'El camp :attribute és obligatori quan no hi ha cap d’aquests valors: :values.', | 
					
						
							| 
									
										
										
										
											2024-08-29 22:08:27 +08:00
										 |  |  |  |     'same'                 => 'El camp :attribute i :other han de coincidir.', | 
					
						
							|  |  |  |  |     'safe_url'             => 'És possible que l’enllaç proporcionat no sigui segur.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |     'size'                 => [ | 
					
						
							|  |  |  |  |         'numeric' => 'El camp :attribute ha de ser :size.', | 
					
						
							|  |  |  |  |         'file'    => 'El camp :attribute ha de tenir :size kilobytes.', | 
					
						
							| 
									
										
										
										
											2024-08-29 22:08:27 +08:00
										 |  |  |  |         'string'  => 'El camp :attribute ha de tenir :size caràcters', | 
					
						
							|  |  |  |  |         'array'   => 'El camp :attribute ha de tenir :size elements.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2024-08-29 22:08:27 +08:00
										 |  |  |  |     'string'               => 'El camp :attribute ha de ser una cadena de text.', | 
					
						
							|  |  |  |  |     'timezone'             => 'El camp :attribute ha de ser un fus horari vàlid.', | 
					
						
							|  |  |  |  |     'totp'                 => 'El codi proporcionat no és vàlid o ha caducat.', | 
					
						
							|  |  |  |  |     'unique'               => 'El camp :attribute ja s’ha utilitzat.', | 
					
						
							|  |  |  |  |     'url'                  => 'El format :attribute no és vàlid.', | 
					
						
							|  |  |  |  |     'uploaded'             => 'No s’ha pogut pujar el fitxer. És possible que el servidor no admeti fitxers d’aquesta mida.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-12-23 19:23:44 +08:00
										 |  |  |  |     'zip_file' => 'The :attribute needs to reference a file within the ZIP.', | 
					
						
							|  |  |  |  |     'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', | 
					
						
							|  |  |  |  |     'zip_model_expected' => 'Data object expected but ":type" found.', | 
					
						
							|  |  |  |  |     'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |     // Custom validation lines
 | 
					
						
							|  |  |  |  |     'custom' => [ | 
					
						
							|  |  |  |  |         'password-confirm' => [ | 
					
						
							| 
									
										
										
										
											2024-08-29 22:08:27 +08:00
										 |  |  |  |             'required_with' => 'Heu de confirmar la contrasenya.', | 
					
						
							| 
									
										
										
										
											2021-02-04 07:55:01 +08:00
										 |  |  |  |         ], | 
					
						
							|  |  |  |  |     ], | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     // Custom validation attributes
 | 
					
						
							|  |  |  |  |     'attributes' => [], | 
					
						
							|  |  |  |  | ]; |