X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/e108808a32b865668076b7b032ee620229d44d1f..refs/pull/3391/head:/resources/lang/sv/validation.php diff --git a/resources/lang/sv/validation.php b/resources/lang/sv/validation.php index 490d1d85b..2d7f1da9a 100644 --- a/resources/lang/sv/validation.php +++ b/resources/lang/sv/validation.php @@ -15,6 +15,7 @@ return [ 'alpha_dash' => ':attribute får bara innehålla bokstäver, siffror och bindestreck.', 'alpha_num' => ':attribute får bara innehålla bokstäver och siffror.', 'array' => ':attribute måste vara en array.', + 'backup_codes' => 'The provided code is not valid or has already been used.', 'before' => ':attribute måste vara före :date.', 'between' => [ 'numeric' => ':attribute måste vara mellan :min och :max.', @@ -30,19 +31,20 @@ return [ 'digits' => ':attribute måste vara :digits siffror.', 'digits_between' => ':attribute måste vara mellan :min och :max siffror.', 'email' => ':attribute måste vara en giltig e-postadress.', - 'ends_with' => 'The :attribute must end with one of the following: :values', + 'ends_with' => ':attribute måste sluta med något av följande: :values', + 'file' => 'The :attribute must be provided as a valid file.', 'filled' => ':attribute är obligatoriskt.', 'gt' => [ - 'numeric' => 'The :attribute must be greater than :value.', - 'file' => 'The :attribute must be greater than :value kilobytes.', - 'string' => 'The :attribute must be greater than :value characters.', - 'array' => 'The :attribute must have more than :value items.', + 'numeric' => ':attribute måste vara större än :value.', + 'file' => ':attribute måste vara större än :value kilobytes.', + 'string' => ':attribute måste vara större än :value tecken.', + 'array' => ':attribute måste ha mer än :value objekt.', ], 'gte' => [ - 'numeric' => 'The :attribute must be greater than or equal :value.', - 'file' => 'The :attribute must be greater than or equal :value kilobytes.', - 'string' => 'The :attribute must be greater than or equal :value characters.', - 'array' => 'The :attribute must have :value items or more.', + 'numeric' => ':attribute måste vara större än eller likamed :value.', + 'file' => ':attribute måste vara större än eller lika med :value kilobytes.', + 'string' => ':attribute måste vara större än eller lika med :value tecken.', + 'array' => ':attribute måste ha :value objekt eller mer.', ], 'exists' => 'Valt värde för :attribute är ogiltigt.', 'image' => ':attribute måste vara en bild.', @@ -50,20 +52,20 @@ return [ 'in' => 'Vald :attribute är ogiltigt.', 'integer' => ':attribute måste vara en integer.', 'ip' => ':attribute måste vara en giltig IP-adress.', - 'ipv4' => 'The :attribute must be a valid IPv4 address.', - 'ipv6' => 'The :attribute must be a valid IPv6 address.', - 'json' => 'The :attribute must be a valid JSON string.', + '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' => 'The :attribute must be less than :value.', - 'file' => 'The :attribute must be less than :value kilobytes.', - 'string' => 'The :attribute must be less than :value characters.', - 'array' => 'The :attribute must have less than :value items.', + 'numeric' => ':attribute måste vara mindre än :value.', + 'file' => ':attribute måste vara mindre än :value kilobytes.', + 'string' => ':attribute måste vara mindre än :value tecken.', + 'array' => ':attribute måste ha mindre än :value objekt.', ], 'lte' => [ - 'numeric' => 'The :attribute must be less than or equal :value.', - 'file' => 'The :attribute must be less than or equal :value kilobytes.', - 'string' => 'The :attribute must be less than or equal :value characters.', - 'array' => 'The :attribute must not have more than :value items.', + 'numeric' => ':attribute måste vara mindre än eller lika :value.', + 'file' => ':attribute måste vara mindre än eller lika med :value kilobytes.', + 'string' => ':attribute måste vara mindre än eller lika med :value tecken.', + 'array' => ':attribute får inte innehålla mer än :max objekt.', ], 'max' => [ 'numeric' => ':attribute får inte vara större än :max.', @@ -78,9 +80,8 @@ return [ 'string' => ':attribute måste vara minst :min tecken.', 'array' => ':attribute måste ha minst :min poster.', ], - 'no_double_extension' => ':attribute får bara ha ett filtillägg.', 'not_in' => 'Vald :attribute är inte giltig', - 'not_regex' => 'The :attribute format is invalid.', + 'not_regex' => 'Formatet på :attribute är ogiltigt.', 'numeric' => ':attribute måste vara ett nummer.', 'regex' => ':attribute har ett ogiltigt format.', 'required' => ':attribute är obligatoriskt.', @@ -90,6 +91,7 @@ return [ 'required_without' => ':attribute är obligatoriskt när :values inte finns.', 'required_without_all' => ':attribute är obligatirskt när ingen av :values finns.', 'same' => ':attribute och :other måste stämma överens.', + 'safe_url' => 'Den angivna länken kanske inte är säker.', 'size' => [ 'numeric' => ':attribute måste vara :size.', 'file' => ':attribute måste vara :size kilobyte.', @@ -98,6 +100,7 @@ return [ ], 'string' => ':attribute måste vara en sträng.', 'timezone' => ':attribute måste vara en giltig tidszon.', + 'totp' => 'The provided code is not valid or has expired.', 'unique' => ':attribute är upptaget', 'url' => 'Formatet på :attribute är ogiltigt.', 'uploaded' => 'Filen kunde inte laddas upp. Servern kanske inte tillåter filer med denna storlek.',