Files
nexusphp/resources/lang/sv/validation.php
2025-09-23 11:53:30 +07:00

157 lines
11 KiB
PHP

<?php
declare(strict_types=1);
return [
'accepted' => 'Fältet :attribute måste accepteras.',
'accepted_if' => 'Fältet :attribute måste accepteras när :other är :value.',
'active_url' => 'Fältet :attribute måste vara en giltig URL.',
'after' => 'Fältet :attribute måste vara ett datum efter :date.',
'after_or_equal' => 'Fältet :attribute måste vara ett datum efter eller lika med :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.',
'any_of' => ':attribute fältet är ogiltigt.',
'array' => 'Fältet :attribute måste vara en array.',
'ascii' => 'Fältet :attribute får endast innehålla bokstäver och symboler med en byte.',
'before' => 'Fältet :attribute måste vara ett datum före :date.',
'before_or_equal' => ':attribute måste vara ett datum före eller lika med :date.',
'between' => [
'array' => ':attribute måste ha mellan :min och :max objekt.',
'file' => ':attribute måste vara mellan :min och :max kilobyte.',
'numeric' => ':attribute måste vara mellan :min och :max.',
'string' => ':attribute måste vara mellan :min och :max tecken.',
],
'boolean' => ':attribute måste vara sant eller falskt.',
'can' => 'Fältet :attribute innehåller ett obehörigt värde.',
'confirmed' => ':attribute bekräftelsen matchar inte.',
'contains' => 'Fältet :attribute saknar ett obligatoriskt värde.',
'current_password' => 'Lösenordet är felaktigt.',
'date' => 'Fältet :attribute måste vara ett giltigt datum.',
'date_equals' => 'Fältet :attribute måste vara ett datum som motsvarar :date.',
'date_format' => 'Fältet :attribute måste matcha formatet :format.',
'decimal' => ':attribute måste ha :decimal decimaler.',
'declined' => 'Fältet :attribute måste avvisas.',
'declined_if' => 'Fältet :attribute måste avvisas när :other är :value.',
'different' => ':attribute fältet 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 fältet har ogiltiga bilddimensioner.',
'distinct' => 'Fältet :attribute har ett duplicerat värde.',
'doesnt_end_with' => 'Fältet :attribute får inte avslutas med något av följande: :values.',
'doesnt_start_with' => ':attribute får inte börja med något av följande: :values.',
'email' => 'Fältet :attribute måste vara en giltig e-postadress.',
'ends_with' => 'Fältet :attribute måste avslutas med något av följande: :values.',
'enum' => 'Det valda :attribute är ogiltigt.',
'exists' => 'Det valda :attribute är ogiltigt.',
'extensions' => 'Fältet :attribute måste ha något av följande tillägg: :values.',
'file' => ':attribute måste vara en fil.',
'filled' => ':attribute måste ha ett värde.',
'gt' => [
'array' => ':attribute måste ha mer än :value objekt.',
'file' => ':attribute måste vara större än :value kilobytes.',
'numeric' => ':attribute måste vara större än :value.',
'string' => ':attribute måste vara större än :value tecken.',
],
'gte' => [
'array' => ':attribute måste ha :value objekt eller mer.',
'file' => ':attribute måste vara större än eller lika med :value kilobyte.',
'numeric' => ':attribute måste vara större än eller lika med :value.',
'string' => ':attribute måste vara större än eller lika med :value tecken.',
],
'hex_color' => ':attribute måste vara en giltig hexadecimal färg.',
'image' => ':attribute måste vara en bild.',
'in' => 'Det valda :attribute är ogiltigt.',
'in_array' => 'Fältet :attribute måste finnas i :other.',
'integer' => ':attribute måste vara ett heltal.',
'ip' => 'Fältet :attribute måste vara en giltig IP-adress.',
'ipv4' => 'Fältet :attribute måste vara en giltig IPv4-adress.',
'ipv6' => 'Fältet :attribute måste vara en giltig IPv6-adress.',
'json' => ':attribute måste vara en giltig JSON-sträng.',
'list' => 'Fältet :attribute måste vara en lista.',
'lowercase' => ':attribute måste vara gemensamt.',
'lt' => [
'array' => 'Fältet :attribute måste ha mindre än :value objekt.',
'file' => ':attribute måste vara mindre än :value kilobytes.',
'numeric' => ':attribute måste vara mindre än :value.',
'string' => 'Fältet :attribute måste vara mindre än :value tecken.',
],
'lte' => [
'array' => ':attribute får inte innehålla mer än :value objekt.',
'file' => ':attribute måste vara mindre än eller lika med :value kilobyte.',
'numeric' => ':attribute måste vara mindre än eller lika med :value.',
'string' => ':attribute måste vara mindre än eller lika med :value tecken.',
],
'mac_address' => ':attribute måste vara en giltig MAC-adress.',
'max' => [
'array' => ':attribute får inte innehålla mer än :max objekt.',
'file' => ':attribute får inte vara större än :max kilobyte.',
'numeric' => 'Fältet :attribute får inte vara större än :max.',
'string' => ':attribute får inte vara större än :max tecken.',
],
'max_digits' => ':attribute får inte innehålla fler än :max siffror.',
'mimes' => 'Fältet :attribute måste vara en fil av typ: :values.',
'mimetypes' => 'Fältet :attribute måste vara en fil av typ: :values.',
'min' => [
'array' => ':attribute måste innehålla minst :min objekt.',
'file' => ':attribute måste vara minst :min kilobyte.',
'numeric' => ':attribute måste vara minst :min.',
'string' => ':attribute måste innehålla minst :min tecken.',
],
'min_digits' => ':attribute måste innehålla minst :min siffror.',
'missing' => 'Fältet :attribute måste saknas.',
'missing_if' => 'Fältet :attribute måste saknas när :other är :value.',
'missing_unless' => 'Fältet :attribute måste saknas om inte :other är :value.',
'missing_with' => 'Fältet :attribute måste saknas när :values är angivet.',
'missing_with_all' => 'Fältet :attribute måste saknas när :values är angivna.',
'multiple_of' => ':attribute måste vara en multipel av :value.',
'not_in' => 'Det valda :attribute är ogiltigt.',
'not_regex' => ':attribute fältformat är ogiltigt.',
'numeric' => 'Fältet :attribute måste vara ett tal.',
'password' => [
'letters' => ':attribute måste innehålla minst en bokstav.',
'mixed' => 'Fältet :attribute måste innehålla minst en stor och en liten bokstav.',
'numbers' => ':attribute måste innehålla minst ett nummer.',
'symbols' => ':attribute måste innehålla minst en symbol.',
'uncompromised' => 'Det angivna :attribute har dykt upp i en dataläcka. Välj ett annat :attribut.',
],
'present' => 'Fältet :attribute måste vara närvarande.',
'present_if' => ':attribute måste finnas när :other är :value.',
'present_unless' => 'Fältet :attribute måste finnas om inte :other är :value.',
'present_with' => 'Fältet :attribute måste finnas när :values är angivet.',
'present_with_all' => 'Fältet :attribute måste finnas när :values är angivna.',
'prohibited' => 'Fältet :attribute är förbjudet.',
'prohibited_if' => 'Fältet :attribute är förbjudet när :other är :value.',
'prohibited_if_accepted' => 'Fältet :attribute är förbjudet när :other accepteras.',
'prohibited_if_declined' => 'Fältet :attribute är förbjudet när :other avböjs.',
'prohibited_unless' => 'Fältet :attribute är förbjudet om inte :other finns i :values.',
'prohibits' => 'Fältet :attribute förbjuder :other från att vara närvarande.',
'regex' => ':attribute fältformat är ogiltigt.',
'required' => 'Fältet :attribute är obligatoriskt.',
'required_array_keys' => 'Fältet :attribute måste innehålla poster för: :values.',
'required_if' => 'Fältet :attribute är obligatoriskt när :other är :value.',
'required_if_accepted' => 'Fältet :attribute är obligatoriskt när :other accepteras.',
'required_if_declined' => 'Fältet :attribute är obligatoriskt när :other avböjs.',
'required_unless' => ':attribute är obligatoriskt om inte :other finns i :values.',
'required_with' => ':attribute fältet är obligatoriskt när :values är angivet.',
'required_with_all' => 'Fältet :attribute är obligatoriskt när :values är presenterade.',
'required_without' => 'Fältet :attribute är obligatoriskt när :values inte visas.',
'required_without_all' => 'Fältet :attribute är obligatoriskt när inget av :values är presenterat.',
'same' => 'Fältet :attribute måste matcha :other.',
'size' => [
'array' => ':attribute måste innehålla :size objekt.',
'file' => ':attribute måste vara :size kilobyte.',
'numeric' => ':attribute måste vara :size.',
'string' => ':attribute måste vara :size tecken.',
],
'starts_with' => 'Fältet :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.',
'ulid' => ':attribute måste vara ett giltigt ULID.',
'unique' => ':attribute har redan tagits.',
'uploaded' => ':attribute kunde inte laddas upp.',
'uppercase' => ':attribute måste vara versaler.',
'url' => 'Fältet :attribute måste vara en giltig URL.',
'uuid' => 'Fältet :attribute måste vara ett giltigt UUID.',
];