Skip to content

Commit 833cf12

Browse files
committed
Merge pull request laravel#1119 from thomiweb/master
Danish translation of pagination and validation
2 parents 1203473 + 5c66ca9 commit 833cf12

File tree

2 files changed

+123
-0
lines changed

2 files changed

+123
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
return array(
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Pagination Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are used by the paginator library to build
11+
| the pagination links. You're free to change them to anything you want.
12+
| If you come up with something more exciting, let us know.
13+
|
14+
*/
15+
16+
'previous' => '&laquo; Forrige',
17+
'next' => 'N&aelig;ste &raquo;',
18+
19+
);
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
<?php
2+
3+
return array(
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Validation Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines contain the default error messages used
11+
| by the validator class. Some of the rules contain multiple versions,
12+
| such as the size (max, min, between) rules. These versions are used
13+
| for different input types such as strings and files.
14+
|
15+
| These language lines may be easily changed to provide custom error
16+
| messages in your application. Error messages for custom validation
17+
| rules may also be added to this file.
18+
|
19+
*/
20+
21+
"accepted" => ":attribute skal accepteres.",
22+
"active_url" => ":attribute er ikke en gyldig URL.",
23+
"after" => ":attribute skal v&aelig;re en dato efter :date.",
24+
"alpha" => ":attribute m&aring; kun indeholde bogstaver.",
25+
"alpha_dash" => ":attribute m&aring; kun indeholde bogstaver, numre, og skr&aring;streg.",
26+
"alpha_num" => ":attribute m&aring; kun indeholde bogstaver og numre.",
27+
"array" => ":attribute skal have valgte elementer.",
28+
"before" => ":attribute skal have en dato f&oslash;r :date.",
29+
"between" => array(
30+
"numeric" => ":attribute skal v&aelig;re mellem :min - :max.",
31+
"file" => ":attribute skal v&aelig;re mellem :min - :max kilobytes.",
32+
"string" => ":attribute skal v&aelig;re mellem :min - :max karakterer.",
33+
),
34+
"confirmed" => ":attribute bekr&aelig;ftelse stemmer ikke overens.",
35+
"count" => ":attribute skal v&aelig;re pr&aelig;cis :count valgte elementer.",
36+
"countbetween" => ":attribute skal v&aelig;re mellem :min and :max valgte elementer.",
37+
"countmax" => ":attribute skal have mindre end :max valgte elementer.",
38+
"countmin" => ":attribute skal have minimum :min valgte elementer.",
39+
"different" => ":attribute og :other skal v&aelig;re forskellige.",
40+
"email" => "Formatet for :attribute er ugyldigt.",
41+
"exists" => "Den valgte :attribute er ugyldig.",
42+
"image" => ":attribute skal v&aelig;re et billede.",
43+
"in" => "Den valgte :attribute er ugyldig.",
44+
"integer" => ":attribute m&aring; kun indeholde tal.",
45+
"ip" => ":attribute skal v&aelig;re en gyldig IP adresse.",
46+
"match" => "Formatet for :attribute er ugyldigt.",
47+
"max" => array(
48+
"numeric" => ":attribute skal v&aelig;re mindre end :max.",
49+
"file" => ":attribute skal v&aelig;re mindre end :max kilobytes.",
50+
"string" => ":attribute skal v&aelig;re mindre end :max karakterer.",
51+
),
52+
"mimes" => ":attribute skal have filtypen type: :values.",
53+
"min" => array(
54+
"numeric" => ":attribute ska minimum v&aelig;re :min.",
55+
"file" => ":attribute skal v&aelig;re mindst :min kilobytes.",
56+
"string" => ":attribute skal v&aelig;re mindst :min karakterer.",
57+
),
58+
"not_in" => "Den valgte :attribute er ugyldig.",
59+
"numeric" => ":attribute skal v&aelig;re et nummer.",
60+
"required" => ":attribute er kr&aelig;vet.",
61+
"same" => ":attribute og :other stemmer ikke overens.",
62+
"size" => array(
63+
"numeric" => ":attribute skal v&aelig;re :size.",
64+
"file" => ":attribute skal v&aelig;re :size kilobyte.",
65+
"string" => ":attribute skal v&aelig;re :size karakterer.",
66+
),
67+
"unique" => ":attribute er allerede optaget.",
68+
"url" => ":attribute formatet er ugyldigt.",
69+
70+
/*
71+
|--------------------------------------------------------------------------
72+
| Custom Validation Language Lines
73+
|--------------------------------------------------------------------------
74+
|
75+
| Here you may specify custom validation messages for attributes using the
76+
| convention "attribute_rule" to name the lines. This helps keep your
77+
| custom validation clean and tidy.
78+
|
79+
| So, say you want to use a custom validation message when validating that
80+
| the "email" attribute is unique. Just add "email_unique" to this array
81+
| with your custom message. The Validator will handle the rest!
82+
|
83+
*/
84+
85+
'custom' => array(),
86+
87+
/*
88+
|--------------------------------------------------------------------------
89+
| Validation Attributes
90+
|--------------------------------------------------------------------------
91+
|
92+
| The following language lines are used to swap attribute place-holders
93+
| with something more reader friendly such as "E-Mail Address" instead
94+
| of "email". Your users will thank you.
95+
|
96+
| The Validator class will automatically search this array of lines it
97+
| is attempting to replace the :attribute place-holder in messages.
98+
| It's pretty slick. We think you'll like it.
99+
|
100+
*/
101+
102+
'attributes' => array(),
103+
104+
);

0 commit comments

Comments
 (0)