浏览代码

Merge pull request #31 from Swedneck/dev

i18n: Add Swedish translation
daniel 7 年之前
父节点
当前提交
a6e8366489
共有 4 个文件被更改,包括 182 次插入0 次删除
  1. 19 0
      resources/lang/sv/auth.php
  2. 19 0
      resources/lang/sv/pagination.php
  3. 22 0
      resources/lang/sv/passwords.php
  4. 122 0
      resources/lang/sv/validation.php

+ 19 - 0
resources/lang/sv/auth.php

@@ -0,0 +1,19 @@
+<?php
+
+return [
+
+    /*
+    |--------------------------------------------------------------------------
+    | Authentication Language Lines
+    |--------------------------------------------------------------------------
+    |
+    | The following language lines are used during authentication for various
+    | messages that we need to display to the user. You are free to modify
+    | these language lines according to your application's requirements.
+    |
+    */
+
+    'failed' => 'Dessa autentiseringsuppgifter matchar inte de i vårat register.',
+    'throttle' => 'För många inloggningsförsök. Var god försök igen om :seconds sekunder.',
+
+];

+ 19 - 0
resources/lang/sv/pagination.php

@@ -0,0 +1,19 @@
+<?php
+
+return [
+
+    /*
+    |--------------------------------------------------------------------------
+    | Pagination Language Lines
+    |--------------------------------------------------------------------------
+    |
+    | The following language lines are used by the paginator library to build
+    | the simple pagination links. You are free to change them to anything
+    | you want to customize your views to better match your application.
+    |
+    */
+
+    'previous' => '&laquo; Föregående',
+    'next' => 'Nästa &raquo;',
+
+];

+ 22 - 0
resources/lang/sv/passwords.php

@@ -0,0 +1,22 @@
+<?php
+
+return [
+
+    /*
+    |--------------------------------------------------------------------------
+    | Password Reset Language Lines
+    |--------------------------------------------------------------------------
+    |
+    | The following language lines are the default lines which match reasons
+    | that are given by the password broker for a password update attempt
+    | has failed, such as for an invalid token or invalid new password.
+    |
+    */
+
+    'password' => 'Lösenord måste vara minst sex tecken långa, och matcha bekräftelsen.',
+    'reset' => 'Ditt lösenord har återställts!',
+    'sent' => 'Vi har skickat återställningslänken till ditt e-postkonto!',
+    'token' => 'Denna lösenords-token är ogiltig.',
+    'user' => "Vi kan inte hitta en användare med den e-postadressen.",
+
+];

+ 122 - 0
resources/lang/sv/validation.php

@@ -0,0 +1,122 @@
+<?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
+    | as the size rules. Feel free to tweak each of these messages here.
+    |
+    */
+
+    '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 intehålla bokstäver.',
+    'alpha_dash'           => ':attribute får endast intehålla bokstäver, nummer, och bindestreck.',
+    'alpha_num'            => ':attribute får endast intehålla bokstäver och nummer.',
+    '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 kilobytes.',
+        'string'  => ':attribute måste vara mellan :min och :max tecken.',
+        'array'   => ':attribute måste ha mellan :min och :max objekt.',
+    ],
+    'boolean'              => ':attribute fält måste vara sant eller falskt.',
+    'confirmed'            => ':attribute bekräftelse stämmer inte.',
+    'date'                 => ':attribute är inte ett giltigt datum.',
+    '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 fält har ett duplikatvärde.',
+    'email'                => ':attribute måste vara en giltig e-postadress.',
+    'exists'               => 'vald :attribute är ogiltig.',
+    'file'                 => ':attribute måste vara en fil.',
+    'filled'               => ':attribute fält måste ha ett värde.',
+    'image'                => ':attribute måste vara en bild.',
+    'in'                   => 'vald :attribute är ogiltig.',
+    'in_array'             => ':attribute fält existerar 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 string.',
+    'max'                  => [
+        'numeric' => ':attribute får inte vara större than :max.',
+        'file'    => ':attribute får inte vara större than :max kilobyte.',
+        'string'  => ':attribute får inte vara större than :max tecken.',
+        'array'   => ':attribute får inte ha mer än :max objekt.',
+    ],
+    'mimes'                => ':attribute måste vara en fil av typ: :values.',
+    'mimetypes'            => ':attribute måste vara en fil av typ: :values.',
+    'min'                  => [
+        'numeric' => ':attribute måste vara åtminstone :min.',
+        'file'    => ':attribute måste vara åtminstone :min kilobyte.',
+        'string'  => ':attribute måste vara åtminstone :min tecken.',
+        'array'   => ':attribute måste have åtminstone :min objekt.',
+    ],
+    'not_in'               => 'vald :attribute är ogiltig.',
+    'not_regex'            => ':attribute formatet är ogiltigt.',
+    'numeric'              => ':attribute måste vara ett nummer.',
+    'present'              => ':attribute fält måste finnas.',
+    'regex'                => ':attribute formatet är ogiltigt.',
+    'required'             => ':attribute fält krävs.',
+    'required_if'          => ':attribute fält krävs när :other är :value.',
+    'required_unless'      => ':attribute fält krävs om inte :other är i :values.',
+    'required_with'        => ':attribute fält krävs när :values finns.',
+    'required_with_all'    => ':attribute fält krävs när :values finns.',
+    'required_without'     => ':attribute fält krvävs när :values inte finns.',
+    'required_without_all' => ':attribute fält krävs 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.',
+    ],
+    'string'               => ':attribute måste vara en string.',
+    'timezone'             => ':attribute måste vara en giltig zon.',
+    'unique'               => ':attribute är redan taget.',
+    'uploaded'             => 'uppladdning av :attribute misslyckades.',
+    'url'                  => 'format av :attribute är ogiltigt.',
+
+    /*
+    |--------------------------------------------------------------------------
+    | 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 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' => [],
+
+];