1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-22 01:11:34 +02:00
invoiceninja/resources/lang/nb_NO/validation.php
David Bomba ba75a44eb8
Laravel 7.x Shift (#40)
* Adopt Laravel coding style

The Laravel framework adopts the PSR-2 coding style with some additions.
Laravel apps *should* adopt this coding style as well.

However, Shift allows you to customize the adopted coding style by
adding your own [PHP CS Fixer][1] `.php_cs` config to your project.

You may use [Shift's .php_cs][2] file as a base.

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200

* Shift bindings

PHP 5.5.9+ adds the new static `class` property which provides the fully qualified class name. This is preferred over using class name strings as these references are checked by the parser.

* Shift core files

* Shift to Throwable

* Add laravel/ui dependency

* Unindent vendor mail templates

* Shift config files

* Default config files

In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them so you can review the commit diff for
changes. Moving forward, you should use ENV variables or create a
separate config file to allow the core config files to remain
automatically upgradeable.

* Shift Laravel dependencies

* Shift cleanup

* Upgrade to Laravel 7

Co-authored-by: Laravel Shift <shift@laravelshift.com>
2020-09-06 19:38:10 +10:00

105 lines
4.9 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| such as the size rules. Feel free to tweak each of these messages.
|
*/
'accepted' => ':attribute må være akseptert.',
'active_url' => ':attribute er ikke en gyldig nettadresse.',
'after' => ':attribute må være en dato etter :date.',
'alpha' => ':attribute kan kun inneholde bokstaver.',
'alpha_dash' => ':attribute kan kun inneholde bokstaver, sifre, og bindestreker.',
'alpha_num' => ':attribute kan kun inneholde bokstaver og sifre.',
'array' => ':attribute må være en matrise.',
'before' => ':attribute må være en dato før :date.',
'between' => [
'numeric' => ':attribute må være mellom :min - :max.',
'file' => ':attribute må være mellom :min - :max kilobytes.',
'string' => ':attribute må være mellom :min - :max tegn.',
'array' => ':attribute må ha mellom :min - :max elementer.',
],
'confirmed' => ':attribute bekreftelsen stemmer ikke',
'date' => ':attribute er ikke en gyldig dato.',
'date_format' => ':attribute samsvarer ikke med formatet :format.',
'different' => ':attribute og :other må være forskjellig.',
'digits' => ':attribute må være :digits sifre.',
'digits_between' => ':attribute må være mellom :min og :max sifre.',
'email' => ':attribute formatet er ugyldig.',
'exists' => 'Valgt :attribute er ugyldig.',
'image' => ':attribute må være et bilde.',
'in' => 'Valgt :attribute er ugyldig.',
'integer' => ':attribute må være heltall.',
'ip' => ':attribute må være en gyldig IP-adresse.',
'max' => [
'numeric' => ':attribute kan ikke være høyere enn :max.',
'file' => ':attribute kan ikke være større enn :max kilobytes.',
'string' => ':attribute kan ikke være mer enn :max tegn.',
'array' => ':attribute kan ikke inneholde mer enn :max elementer.',
],
'mimes' => ':attribute må være av filtypen: :values.',
'min' => [
'numeric' => ':attribute må minimum være :min.',
'file' => ':attribute må minimum være :min kilobytes.',
'string' => ':attribute må minimum være :min tegn.',
'array' => ':attribute må inneholde minimum :min elementer.',
],
'not_in' => 'Valgt :attribute er ugyldig.',
'numeric' => ':attribute må være et siffer.',
'regex' => ':attribute formatet er ugyldig.',
'required' => ':attribute er påkrevd.',
'required_if' => ':attribute er påkrevd når :other er :value.',
'required_with' => ':attribute er påkrevd når :values er valgt.',
'required_without' => ':attribute er påkrevd når :values ikke er valgt.',
'same' => ':attribute og :other må samsvare.',
'size' => [
'numeric' => ':attribute må være :size.',
'file' => ':attribute må være :size kilobytes.',
'string' => ':attribute må være :size tegn.',
'array' => ':attribute må inneholde :size elementer.',
],
'unique' => ':attribute er allerede blitt tatt.',
'url' => ':attribute formatet er ugyldig.',
'positive' => ':attribute må være mer enn null.',
'has_credit' => 'Klienten har ikke høy nok kreditt.',
'notmasked' => 'Verdiene er skjult',
'less_than' => ':attribute må være mindre enn :value',
'has_counter' => 'Verdien må inneholde {$counter}',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [],
/*
|--------------------------------------------------------------------------
| Custom 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". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [],
];