Added Danish translations to pagination and validation
This commit is contained in:
parent
1203473469
commit
5c66ca9db7
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Pagination Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used by the paginator library to build
|
||||
| the pagination links. You're free to change them to anything you want.
|
||||
| If you come up with something more exciting, let us know.
|
||||
|
|
||||
*/
|
||||
|
||||
'previous' => '« Forrige',
|
||||
'next' => 'Næste »',
|
||||
|
||||
);
|
|
@ -0,0 +1,104 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used
|
||||
| by the validator class. Some of the rules contain multiple versions,
|
||||
| such as the size (max, min, between) rules. These versions are used
|
||||
| for different input types such as strings and files.
|
||||
|
|
||||
| These language lines may be easily changed to provide custom error
|
||||
| messages in your application. Error messages for custom validation
|
||||
| rules may also be added to this file.
|
||||
|
|
||||
*/
|
||||
|
||||
"accepted" => ":attribute skal accepteres.",
|
||||
"active_url" => ":attribute er ikke en gyldig URL.",
|
||||
"after" => ":attribute skal være en dato efter :date.",
|
||||
"alpha" => ":attribute må kun indeholde bogstaver.",
|
||||
"alpha_dash" => ":attribute må kun indeholde bogstaver, numre, og skråstreg.",
|
||||
"alpha_num" => ":attribute må kun indeholde bogstaver og numre.",
|
||||
"array" => ":attribute skal have valgte elementer.",
|
||||
"before" => ":attribute skal have en dato før :date.",
|
||||
"between" => array(
|
||||
"numeric" => ":attribute skal være mellem :min - :max.",
|
||||
"file" => ":attribute skal være mellem :min - :max kilobytes.",
|
||||
"string" => ":attribute skal være mellem :min - :max karakterer.",
|
||||
),
|
||||
"confirmed" => ":attribute bekræftelse stemmer ikke overens.",
|
||||
"count" => ":attribute skal være præcis :count valgte elementer.",
|
||||
"countbetween" => ":attribute skal være mellem :min and :max valgte elementer.",
|
||||
"countmax" => ":attribute skal have mindre end :max valgte elementer.",
|
||||
"countmin" => ":attribute skal have minimum :min valgte elementer.",
|
||||
"different" => ":attribute og :other skal være forskellige.",
|
||||
"email" => "Formatet for :attribute er ugyldigt.",
|
||||
"exists" => "Den valgte :attribute er ugyldig.",
|
||||
"image" => ":attribute skal være et billede.",
|
||||
"in" => "Den valgte :attribute er ugyldig.",
|
||||
"integer" => ":attribute må kun indeholde tal.",
|
||||
"ip" => ":attribute skal være en gyldig IP adresse.",
|
||||
"match" => "Formatet for :attribute er ugyldigt.",
|
||||
"max" => array(
|
||||
"numeric" => ":attribute skal være mindre end :max.",
|
||||
"file" => ":attribute skal være mindre end :max kilobytes.",
|
||||
"string" => ":attribute skal være mindre end :max karakterer.",
|
||||
),
|
||||
"mimes" => ":attribute skal have filtypen type: :values.",
|
||||
"min" => array(
|
||||
"numeric" => ":attribute ska minimum være :min.",
|
||||
"file" => ":attribute skal være mindst :min kilobytes.",
|
||||
"string" => ":attribute skal være mindst :min karakterer.",
|
||||
),
|
||||
"not_in" => "Den valgte :attribute er ugyldig.",
|
||||
"numeric" => ":attribute skal være et nummer.",
|
||||
"required" => ":attribute er krævet.",
|
||||
"same" => ":attribute og :other stemmer ikke overens.",
|
||||
"size" => array(
|
||||
"numeric" => ":attribute skal være :size.",
|
||||
"file" => ":attribute skal være :size kilobyte.",
|
||||
"string" => ":attribute skal være :size karakterer.",
|
||||
),
|
||||
"unique" => ":attribute er allerede optaget.",
|
||||
"url" => ":attribute formatet er ugyldigt.",
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute_rule" to name the lines. This helps keep your
|
||||
| custom validation clean and tidy.
|
||||
|
|
||||
| So, say you want to use a custom validation message when validating that
|
||||
| the "email" attribute is unique. Just add "email_unique" to this array
|
||||
| with your custom message. The Validator will handle the rest!
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => array(),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 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". Your users will thank you.
|
||||
|
|
||||
| The Validator class will automatically search this array of lines it
|
||||
| is attempting to replace the :attribute place-holder in messages.
|
||||
| It's pretty slick. We think you'll like it.
|
||||
|
|
||||
*/
|
||||
|
||||
'attributes' => array(),
|
||||
|
||||
);
|
Loading…
Reference in New Issue