snipe-it/resources/lang/fi/validation.php
snipe 0bb8cc63c5 Updated translation strings
Signed-off-by: snipe <snipe@snipe.net>
2023-06-13 17:12:01 +01:00

153 lines
8.8 KiB
PHP

<?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
| such as the size rules. Feel free to tweak each of these messages.
|
*/
'accepted' => ':attribute tulee hyväksyä.',
'active_url' => ':attribute ei ole oikea URL-osoite.',
'after' => ':attribute tulee olla päivämäärä päivän :date jälkeen.',
'after_or_equal' => ':attribute on oltava päivän jälkeen tai yhtä suuri kuin: date.',
'alpha' => ':attribute saa sisältää ainoastaan kirjaimia.',
'alpha_dash' => ':attribute voi sisältää vain kirjaimia, numeroita ja viivoja.',
'alpha_num' => ':attribute voi sisältää ainoastaan kirjaimia ja numeroita.',
'array' => ':attribute on oltava taulukko.',
'before' => ':attribute tulee olla päivämäärä ennen päivää :date.',
'before_or_equal' => ':attribute on oltava päivää ennen tai yhtä kuin :date.',
'between' => [
'numeric' => ':attribute tulee olla välillä :min - :max.',
'file' => ':attribute tulee olla välillä :min - :max kilotavua.',
'string' => ':attribute tulee olla :min - :max merkkiä.',
'array' => ':attribute on oltava :min ja :max välillä.',
],
'boolean' => ':attribute on oltava tosi tai epätosi.',
'confirmed' => ':attribute vahvistus ei täsmää.',
'date' => ':attribute ei ole oikea päivämäärä.',
'date_format' => ':attribute ei täsmää muotoiluun :format.',
'different' => ':attribute ja :other tulee olla erilaisia.',
'digits' => ':attribute tulee olla :digits numeroa pitkä.',
'digits_between' => ':attribute tulee olla numero väliltä :min ja :max.',
'dimensions' => ':attribute on virheelliset kuvamitat.',
'distinct' => ':attribute kentässä on duplikaatti arvo.',
'email' => ':attribute muotoilu on virheellinen.',
'exists' => 'Valittu :attribute on virheellinen.',
'file' => ':attribute on oltava tiedosto.',
'filled' => ':attribute kentässä on oltava arvo.',
'image' => ':attribute tulee olla kuva.',
'import_field_empty' => 'The value for :fieldname cannot be null.',
'in' => 'Valittu :attribute on virheellinen.',
'in_array' => ':attribute ei ole olemassa : other.',
'integer' => ':attribute tulee olla kokonaisluku.',
'ip' => ':attribute tulee olla oikea IP-osoite.',
'ipv4' => ':attribute on oltava kelvollinen IPv4-osoite.',
'ipv6' => ':attribute on oltava kelvollinen IPv6-osoite.',
'is_unique_department' => 'The :attribute must be unique to this Company Location',
'json' => ':attribute on oltava kelvollinen JSON-merkkijono.',
'max' => [
'numeric' => ':attribute ei saa olla suurempi kuin :max.',
'file' => ':attribute ei saa olla suurempi kuin :max kilotavua.',
'string' => ':attribute ei saa olla suurempi kuin :max merkkiä.',
'array' => ':attribute ei saa olla enempää kuin :max nimikettä.',
],
'mimes' => ':attribute tulee olla tiedosto jonka tyyppi on: :values.',
'mimetypes' => ':attribute on oltava tyyppiä tyyppi: :values.',
'min' => [
'numeric' => ':attribute tulee olla vähintään :min.',
'file' => ':attribute tulee olla vähintään :min kilotavua.',
'string' => ':attribute tulee olla vähintään :min merkkiä.',
'array' => ':attribute on oltava vähintään :min nimikettä.',
],
'starts_with' => 'The :attribute must start with one of the following: :values.',
'ends_with' => 'The :attribute must end with one of the following: :values.',
'not_in' => 'Valittu :attribute on virheellinen.',
'numeric' => ':attribute tulee olla numero.',
'present' => ':attribute kentän on oltava määritettynä.',
'valid_regex' => 'Tuo ei ole kelvollinen regex. ',
'regex' => ':attribute muotoilu on virheellinen.',
'required' => ':attribute on vaadittu.',
'required_if' => ':attribute on vaadittu kun :other on :value.',
'required_unless' => ':attribute -kenttä on pakollinen, paitsi jos :other on :values.',
'required_with' => ':attribute on vaadittu kun :values on määritettynä.',
'required_with_all' => ':attribute -kenttä tarvitaan, kun :values on määritetty.',
'required_without' => ':attribute on vaadittu kun :values ei ole määritettynä.',
'required_without_all' => ':attribute -kenttä on pakollinen, kun mitään :values ei ole määritetty.',
'same' => ':attribute ja :other tulee olla samat.',
'size' => [
'numeric' => ':attribute tulee olla :size.',
'file' => ':attribute tulee olla :size kilotavua.',
'string' => ':attribute tulee olla :size merkkiä.',
'array' => ':attribute -kentän pitää sisältää :size nimikettä.',
],
'string' => ':attribute on oltava merkkijono.',
'timezone' => ':attribute tulee olla kelvollinen verkkoalue.',
'unique' => ':attribute on jo käytössä.',
'uploaded' => ':attribute -kenttää ei onnistuttu lähettämään.',
'url' => ':attribute muotoilu on virheellinen.',
'unique_undeleted' => ':attribute on oltava ainutlaatuinen.',
'non_circular' => ':attribute ei saa luoda kehäviittausta.',
'disallow_same_pwd_as_user_fields' => 'Password cannot be the same as the username.',
'letters' => 'Password must contain at least one letter.',
'numbers' => 'Password must contain at least one number.',
'case_diff' => 'Password must use mixed case.',
'symbols' => 'Password must contain symbols.',
'gte' => [
'numeric' => 'Value cannot be negative'
],
/*
|--------------------------------------------------------------------------
| 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' => [
'alpha_space' => ':attribute -kenttä sisältää merkin, jota ei sallita.',
'email_array' => 'Yksi tai useampi sähköpostiosoite on virheellinen.',
'hashed_pass' => 'Nykyinen salasanasi on virheellinen',
'dumbpwd' => 'Salasana on liian yleinen.',
'statuslabel_type' => 'Sinun on valittava kelvollinen tilamerkintätyyppi',
// date_format validation with slightly less stupid messages. It duplicates a lot, but it gets the job done :(
// We use this because the default error message for date_format is reflects php Y-m-d, which non-PHP
// people won't know how to format.
'purchase_date.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format',
'last_audit_date.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD hh:mm:ss format',
'expiration_date.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format',
'termination_date.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format',
'expected_checkin.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format',
'start_date.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format',
'end_date.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format',
],
/*
|--------------------------------------------------------------------------
| 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' => [],
];