42 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			PHP
		
	
	
	
		
		
			
		
	
	
			42 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			PHP
		
	
	
	
| 
								 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								$de_formal = (include resource_path() . '/lang/de/' . basename(__FILE__));
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								$de_informal = [
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    /*
							 | 
						||
| 
								 | 
							
								    |--------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								    | Validation Language Lines
							 | 
						||
| 
								 | 
							
								    |--------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								    |
							 | 
						||
| 
								 | 
							
								    | following language lines contain default error messages used by
							 | 
						||
| 
								 | 
							
								    | validator class. Some of these rules have multiple versions such
							 | 
						||
| 
								 | 
							
								    | as size rules. Feel free to tweak each of these messages here.
							 | 
						||
| 
								 | 
							
								    |
							 | 
						||
| 
								 | 
							
								    */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    /*
							 | 
						||
| 
								 | 
							
								    |--------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								    | Custom Validation Language Lines
							 | 
						||
| 
								 | 
							
								    |--------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								    |
							 | 
						||
| 
								 | 
							
								    | Here you may specify custom validation messages for attributes using the
							 | 
						||
| 
								 | 
							
								    | convention "attribute.rule" to name lines. This makes it quick to
							 | 
						||
| 
								 | 
							
								    | specify a specific custom language line for a given attribute rule.
							 | 
						||
| 
								 | 
							
								    |
							 | 
						||
| 
								 | 
							
								    */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    /*
							 | 
						||
| 
								 | 
							
								    |--------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								    | Custom Validation Attributes
							 | 
						||
| 
								 | 
							
								    |--------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								    |
							 | 
						||
| 
								 | 
							
								    | 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.
							 | 
						||
| 
								 | 
							
								    |
							 | 
						||
| 
								 | 
							
								    */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								];
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								return array_replace($de_formal, $de_informal);
							 |