From 5c66ca9db793ed544749e504a845bed0664834df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Kj=C3=A6rgaard?= Date: Sun, 19 Aug 2012 13:02:25 +0200 Subject: [PATCH] Added Danish translations to pagination and validation --- application/language/da/pagination.php | 19 +++++ application/language/da/validation.php | 104 +++++++++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 application/language/da/pagination.php create mode 100644 application/language/da/validation.php diff --git a/application/language/da/pagination.php b/application/language/da/pagination.php new file mode 100644 index 00000000..089ec7e0 --- /dev/null +++ b/application/language/da/pagination.php @@ -0,0 +1,19 @@ + '« Forrige', + 'next' => 'Næste »', + +); \ No newline at end of file diff --git a/application/language/da/validation.php b/application/language/da/validation.php new file mode 100644 index 00000000..b49b75ec --- /dev/null +++ b/application/language/da/validation.php @@ -0,0 +1,104 @@ + ":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(), + +); \ No newline at end of file