opnform-host-nginx/api/resources/lang/sv/validation.php

122 lines
6.4 KiB
PHP
Raw Normal View History

<?php
return [
'accepted' => ':attribute måste accepteras.',
'active_url' => ':attribute är inte en giltig URL.',
'after' => ':attribute måste vara ett datum efter :date.',
'after_or_equal' => ':attribute måste vara ett datum efter eller samma som :date.',
'alpha' => ':attribute får endast innehålla bokstäver.',
'alpha_dash' => ':attribute får endast innehålla bokstäver, siffror, bindestreck och understreck.',
'alpha_num' => ':attribute får endast innehålla bokstäver och siffror.',
'array' => ':attribute måste vara en array.',
'before' => ':attribute måste vara ett datum före :date.',
'before_or_equal' => ':attribute måste vara ett datum före eller samma som :date.',
'between' => [
'numeric' => ':attribute måste vara mellan :min och :max.',
'file' => ':attribute måste vara mellan :min och :max kilobyte.',
'string' => ':attribute måste vara mellan :min och :max tecken.',
'array' => ':attribute måste ha mellan :min och :max objekt.',
],
'boolean' => ':attribute måste vara sant eller falskt.',
'confirmed' => ':attribute bekräftelsen matchar inte.',
'date' => ':attribute är inte ett giltigt datum.',
'date_equals' => ':attribute måste vara ett datum lika med :date.',
'date_format' => ':attribute matchar inte formatet :format.',
'different' => ':attribute och :other måste vara olika.',
'digits' => ':attribute måste vara :digits siffror.',
'digits_between' => ':attribute måste vara mellan :min och :max siffror.',
'dimensions' => ':attribute har ogiltiga bilddimensioner.',
'distinct' => ':attribute har ett duplicerat värde.',
'email' => ':attribute måste vara en giltig e-postadress.',
'ends_with' => ':attribute måste sluta med något av följande: :values',
'exists' => 'Det valda :attribute är ogiltigt.',
'file' => ':attribute måste vara en fil.',
'filled' => ':attribute fältet måste ha ett värde.',
'gt' => [
'numeric' => ':attribute måste vara större än :value.',
'file' => ':attribute måste vara större än :value kilobyte.',
'string' => ':attribute måste vara längre än :value tecken.',
'array' => ':attribute måste ha mer än :value objekt.',
],
'gte' => [
'numeric' => ':attribute måste vara större än eller lika med :value.',
'file' => ':attribute måste vara större än eller lika med :value kilobyte.',
'string' => ':attribute måste vara längre än eller lika med :value tecken.',
'array' => ':attribute måste ha :value objekt eller mer.',
],
'image' => ':attribute måste vara en bild.',
'in' => 'Det valda :attribute är ogiltigt.',
'in_array' => ':attribute finns inte i :other.',
'integer' => ':attribute måste vara ett heltal.',
'ip' => ':attribute måste vara en giltig IP-adress.',
'ipv4' => ':attribute måste vara en giltig IPv4-adress.',
'ipv6' => ':attribute måste vara en giltig IPv6-adress.',
'json' => ':attribute måste vara en giltig JSON-sträng.',
'lt' => [
'numeric' => ':attribute måste vara mindre än :value.',
'file' => ':attribute måste vara mindre än :value kilobyte.',
'string' => ':attribute måste vara kortare än :value tecken.',
'array' => ':attribute måste ha mindre än :value objekt.',
],
'lte' => [
'numeric' => ':attribute måste vara mindre än eller lika med :value.',
'file' => ':attribute måste vara mindre än eller lika med :value kilobyte.',
'string' => ':attribute måste vara kortare än eller lika med :value tecken.',
'array' => ':attribute får inte ha mer än :value objekt.',
],
'max' => [
'numeric' => ':attribute får inte vara större än :max.',
'file' => ':attribute får inte vara större än :max kilobyte.',
'string' => ':attribute får inte vara längre än :max tecken.',
'array' => ':attribute får inte ha mer än :max objekt.',
],
'mimes' => ':attribute måste vara en fil av typen: :values.',
'mimetypes' => ':attribute måste vara en fil av typen: :values.',
'min' => [
'numeric' => ':attribute måste vara minst :min.',
'file' => ':attribute måste vara minst :min kilobyte.',
'string' => ':attribute måste vara minst :min tecken.',
'array' => ':attribute måste ha minst :min objekt.',
],
'multiple_of' => ':attribute måste vara en multipel av :value',
'not_in' => 'Det valda :attribute är ogiltigt.',
'not_regex' => ':attribute formatet är ogiltigt.',
'numeric' => ':attribute måste vara ett nummer.',
'password' => 'Lösenordet är felaktigt.',
'present' => ':attribute fältet måste finnas.',
'regex' => ':attribute formatet är ogiltigt.',
'required' => ':attribute fältet är obligatoriskt.',
'required_if' => ':attribute fältet är obligatoriskt när :other är :value.',
'required_unless' => ':attribute fältet är obligatoriskt om inte :other finns bland :values.',
'required_with' => ':attribute fältet är obligatoriskt när :values finns.',
'required_with_all' => ':attribute fältet är obligatoriskt när :values finns.',
'required_without' => ':attribute fältet är obligatoriskt när :values inte finns.',
'required_without_all' => ':attribute fältet är obligatoriskt när inga av :values finns.',
'same' => ':attribute och :other måste matcha.',
'size' => [
'numeric' => ':attribute måste vara :size.',
'file' => ':attribute måste vara :size kilobyte.',
'string' => ':attribute måste vara :size tecken.',
'array' => ':attribute måste innehålla :size objekt.',
],
'starts_with' => ':attribute måste börja med något av följande: :values',
'string' => ':attribute måste vara en sträng.',
'timezone' => ':attribute måste vara en giltig tidszon.',
'unique' => ':attribute har redan tagits.',
'uploaded' => ':attribute kunde inte laddas upp.',
'url' => ':attribute formatet är ogiltigt.',
'uuid' => ':attribute måste vara ett giltigt UUID.',
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
'attributes' => [],
'invalid_json' => 'Ogiltig inmatning. Korrigera och försök igen.',
'invalid_captcha' => 'Ogiltig CAPTCHA. Korrigera och försök igen.',
'complete_captcha' => 'Vänligen fyll i CAPTCHA.',
];