From 8a95143b8f34c7da22c25193f57d20a0699857cb Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sat, 8 Jan 2022 17:25:37 +0100 Subject: [PATCH] Adding se translations for standard laravel components. --- resources/lang/se/auth.php | 18 ++++ resources/lang/se/pagination.php | 17 ++++ resources/lang/se/passwords.php | 20 ++++ resources/lang/se/validation.php | 160 +++++++++++++++++++++++++++++++ 4 files changed, 215 insertions(+) create mode 100644 resources/lang/se/auth.php create mode 100644 resources/lang/se/pagination.php create mode 100644 resources/lang/se/passwords.php create mode 100644 resources/lang/se/validation.php diff --git a/resources/lang/se/auth.php b/resources/lang/se/auth.php new file mode 100644 index 0000000..6c9bae0 --- /dev/null +++ b/resources/lang/se/auth.php @@ -0,0 +1,18 @@ + 'Ogiltigt användarnamn ock/eller lösenord', + 'password' => 'Lösenordet är felaktigt', + 'throttle' => 'För många inloggningsförsök. Var vänlig försök igen om :seconds sekunder.', +]; diff --git a/resources/lang/se/pagination.php b/resources/lang/se/pagination.php new file mode 100644 index 0000000..19b7de8 --- /dev/null +++ b/resources/lang/se/pagination.php @@ -0,0 +1,17 @@ + 'Nästa »', + 'previous' => '« Föregående', +]; diff --git a/resources/lang/se/passwords.php b/resources/lang/se/passwords.php new file mode 100644 index 0000000..08666ac --- /dev/null +++ b/resources/lang/se/passwords.php @@ -0,0 +1,20 @@ + 'Lösenordet har blivit återställt!', + 'sent' => 'Lösenordspåminnelse skickad!', + 'throttled' => 'Vänligen vänta innan du försöker igen.', + 'token' => 'Koden för lösenordsåterställning är ogiltig.', + 'user' => 'Det finns ingen användare med den e-postadressen.', +]; diff --git a/resources/lang/se/validation.php b/resources/lang/se/validation.php new file mode 100644 index 0000000..b5cfee4 --- /dev/null +++ b/resources/lang/se/validation.php @@ -0,0 +1,160 @@ + ':Attribute måste accepteras.', + 'accepted_if' => 'The :attribute must be accepted when :other is :value.', + 'active_url' => ':Attribute är inte en giltig webbadress.', + 'after' => ':Attribute måste vara ett datum efter :date.', + 'after_or_equal' => ':Attribute måste vara ett datum senare eller samma dag som :date.', + 'alpha' => ':Attribute får endast innehålla bokstäver.', + 'alpha_dash' => ':Attribute får endast innehålla bokstäver, siffror och bindestreck.', + 'alpha_num' => ':Attribute får endast innehålla bokstäver och siffror.', + 'array' => ':Attribute måste vara en array.', + 'attached' => 'Denna :attribute är redan bifogad.', + 'before' => ':Attribute måste vara ett datum innan :date.', + 'before_or_equal' => ':Attribute måste vara ett datum före eller samma dag som :date.', + 'between' => [ + 'array' => ':Attribute måste innehålla mellan :min - :max objekt.', + 'file' => ':Attribute måste vara mellan :min till :max kilobyte stor.', + 'numeric' => ':Attribute måste vara en siffra mellan :min och :max.', + 'string' => ':Attribute måste innehålla :min till :max tecken.', + ], + 'boolean' => ':Attribute måste vara sant eller falskt.', + 'confirmed' => ':Attribute bekräftelsen matchar inte.', + 'current_password' => 'The password is incorrect.', + '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.', + 'declined' => 'The :attribute must be declined.', + 'declined_if' => 'The :attribute must be declined when :other is :value.', + 'different' => ':Attribute och :other får inte vara lika.', + 'digits' => ':Attribute måste vara :digits tecken.', + 'digits_between' => ':Attribute måste vara mellan :min och :max tecken.', + 'dimensions' => ':Attribute har felaktiga bilddimensioner.', + 'distinct' => ':Attribute innehåller fler än en repetition av samma element.', + 'email' => ':Attribute måste innehålla en korrekt e-postadress.', + 'ends_with' => ':Attribute måste sluta med en av följande: :values.', + 'exists' => ':Attribute är ogiltigt.', + 'file' => ':Attribute måste vara en fil.', + 'filled' => ':Attribute är obligatoriskt.', + 'gt' => [ + 'array' => ':Attribute måste innehålla fler än :value objekt.', + 'file' => ':Attribute måste vara större än :value kilobyte stor.', + 'numeric' => ':Attribute måste vara större än :value.', + 'string' => ':Attribute måste vara längre än :value tecken.', + ], + 'gte' => [ + 'array' => ':Attribute måste innehålla lika många eller fler än :value objekt.', + 'file' => ':Attribute måste vara lika med eller större än :value kilobyte stor.', + 'numeric' => ':Attribute måste vara lika med eller större än :value.', + 'string' => ':Attribute måste vara lika med eller längre än :value tecken.', + ], + 'image' => ':Attribute måste vara en bild.', + 'in' => ':Attribute är ogiltigt.', + 'in_array' => ':Attribute finns inte i :other.', + 'integer' => ':Attribute måste vara en siffra.', + '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' => [ + 'array' => ':Attribute måste innehålla färre än :value objekt.', + 'file' => ':Attribute måste vara mindre än :value kilobyte stor.', + 'numeric' => ':Attribute måste vara mindre än :value.', + 'string' => ':Attribute måste vara kortare än :value tecken.', + ], + 'lte' => [ + 'array' => ':Attribute måste innehålla lika många eller färre än :value objekt.', + 'file' => ':Attribute måste vara lika med eller mindre än :value kilobyte stor.', + 'numeric' => ':Attribute måste vara lika med eller mindre än :value.', + 'string' => ':Attribute måste vara lika med eller kortare än :value tecken.', + ], + 'max' => [ + 'array' => ':Attribute får inte innehålla mer än :max objekt.', + 'file' => ':Attribute får max vara :max kilobyte stor.', + 'numeric' => ':Attribute får inte vara större än :max.', + 'string' => ':Attribute får max innehålla :max tecken.', + ], + 'mimes' => ':Attribute måste vara en fil av typen: :values.', + 'mimetypes' => ':Attribute måste vara en fil av typen: :values.', + 'min' => [ + 'array' => ':Attribute måste innehålla minst :min objekt.', + 'file' => ':Attribute måste vara minst :min kilobyte stor.', + 'numeric' => ':Attribute måste vara större än :min.', + 'string' => ':Attribute måste innehålla minst :min tecken.', + ], + 'multiple_of' => ':attribute måste vara en multipel av :value', + 'not_in' => ':Attribute är ogiltigt.', + 'not_regex' => 'Formatet för :attribute är ogiltigt.', + 'numeric' => ':Attribute måste vara en siffra.', + 'password' => 'Lösenordet är fel.', + 'present' => ':Attribute måste finnas med.', + 'prohibited' => 'Fältet :attribute är förbjudet.', + 'prohibited_if' => ':attribute är förbjudet när :other är :value.', + 'prohibited_unless' => ':attribute är förbjudet om inte :other är :values.', + 'prohibits' => 'The :attribute field prohibits :other from being present.', + 'regex' => ':Attribute har ogiltigt format.', + 'relatable' => 'Denna :attribute kanske inte är associerad med den här resursen.', + 'required' => ':Attribute är obligatoriskt.', + 'required_if' => ':Attribute är obligatoriskt när :other är :value.', + 'required_unless' => ':Attribute är obligatoriskt när inte :other finns bland :values.', + 'required_with' => ':Attribute är obligatoriskt när :values är ifyllt.', + 'required_with_all' => ':Attribute är obligatoriskt när :values är ifyllt.', + 'required_without' => ':Attribute är obligatoriskt när :values ej är ifyllt.', + 'required_without_all' => ':Attribute är obligatoriskt när ingen av :values är ifyllt.', + 'same' => ':Attribute och :other måste vara lika.', + 'size' => [ + 'array' => ':Attribute måste innehålla :size objekt.', + 'file' => ':Attribute får endast vara :size kilobyte stor.', + 'numeric' => ':Attribute måste vara :size.', + 'string' => ':Attribute måste innehålla :size tecken.', + ], + 'starts_with' => ':Attribute måste börja med en av följande: :values', + 'string' => ':Attribute måste vara en sträng.', + 'timezone' => ':Attribute måste vara en giltig tidszon.', + 'unique' => ':Attribute används redan.', + 'uploaded' => ':Attribute kunde inte laddas upp.', + 'url' => ':Attribute har ett ogiltigt format.', + 'uuid' => ':Attribute måste vara ett giltigt UUID.', + + /* + |-------------------------------------------------------------------------- + | 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' => [ + //'attribute-name' => [ + // 'rule-name' => 'custom-message', + //], + ], + + /* + |-------------------------------------------------------------------------- + | Custom Validation Attributes + |-------------------------------------------------------------------------- + | + | The following language lines are used to swap our attribute placeholder + | with something more reader friendly such as "E-Mail Address" instead + | of "email". This simply helps us make our message more expressive. + | + */ + + 'attributes' => [], +];