2017-04-06 21:36:33 -07:00
|
|
|
|
<?php
|
|
|
|
|
|
2022-01-13 21:27:29 -08:00
|
|
|
|
return [
|
2017-04-06 21:36:33 -07:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| 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.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2017-10-17 18:52:20 -07:00
|
|
|
|
'accepted' => 'Die: Attribuut moet aanvaar word.',
|
|
|
|
|
'active_url' => 'Die: Attribuut is nie \'n geldige URL nie.',
|
|
|
|
|
'after' => 'Die: Attribuut moet \'n datum wees na: datum.',
|
|
|
|
|
'after_or_equal' => 'Die: Attribuut moet \'n datum na of gelyk wees aan: datum.',
|
|
|
|
|
'alpha' => 'Die: Attribuut mag slegs letters bevat.',
|
|
|
|
|
'alpha_dash' => 'Die: Attribuut mag slegs letters, nommers en streepies bevat.',
|
|
|
|
|
'alpha_num' => 'Die: Attribuut mag slegs letters en syfers bevat.',
|
|
|
|
|
'array' => 'Die: kenmerk moet \'n skikking wees.',
|
|
|
|
|
'before' => 'Die: Attribuut moet \'n datum wees voor: datum.',
|
|
|
|
|
'before_or_equal' => 'Die: Attribuut moet \'n datum voor of gelyk wees aan: datum.',
|
2017-09-06 18:05:32 -07:00
|
|
|
|
'between' => [
|
2017-10-17 18:52:20 -07:00
|
|
|
|
'numeric' => 'Die: Attribuut moet tussen: min en: maksimum wees.',
|
|
|
|
|
'file' => 'Die: Attribuut moet tussen: min en: maksimum kilobytes wees.',
|
|
|
|
|
'string' => 'Die: Attribuut moet tussen: min en: maksimum karakters wees.',
|
|
|
|
|
'array' => 'Die: Attribuut moet tussen: min en: maksimum items hê.',
|
2017-09-06 18:05:32 -07:00
|
|
|
|
],
|
2017-10-17 18:52:20 -07:00
|
|
|
|
'boolean' => 'Die: Attribuut veld moet waar of onwaar wees.',
|
|
|
|
|
'confirmed' => 'Die: Attribuut bevestiging stem nie ooreen nie.',
|
|
|
|
|
'date' => 'Die: Attribuut is nie \'n geldige datum nie.',
|
|
|
|
|
'date_format' => 'Die: Attribuut stem nie ooreen met die formaat: formaat.',
|
|
|
|
|
'different' => 'Die: attribuut en: ander moet anders wees.',
|
|
|
|
|
'digits' => 'Die: Attribuut moet wees: syfers syfers.',
|
|
|
|
|
'digits_between' => 'Die: Attribuut moet tussen: min en: maksimum syfers wees.',
|
|
|
|
|
'dimensions' => 'Die: Attribuut het ongeldige beeldafmetings.',
|
|
|
|
|
'distinct' => 'Die: Attribuut veld het \'n duplikaat waarde.',
|
|
|
|
|
'email' => 'Die: Attribuut moet \'n geldige e-posadres wees.',
|
|
|
|
|
'exists' => 'Die gekose: attribuut is ongeldig.',
|
|
|
|
|
'file' => 'Die: Attribuut moet \'n lêer wees.',
|
|
|
|
|
'filled' => 'Die: Attribuut veld moet \'n waarde hê.',
|
|
|
|
|
'image' => 'Die: kenmerk moet \'n beeld wees.',
|
2023-01-09 11:09:26 -08:00
|
|
|
|
'import_field_empty' => 'The value for :fieldname cannot be null.',
|
2017-10-17 18:52:20 -07:00
|
|
|
|
'in' => 'Die gekose: attribuut is ongeldig.',
|
|
|
|
|
'in_array' => 'Die: attribuut veld bestaan nie in: ander.',
|
|
|
|
|
'integer' => 'Die: Attribuut moet \'n heelgetal wees.',
|
|
|
|
|
'ip' => 'Die: Attribuut moet \'n geldige IP-adres wees.',
|
|
|
|
|
'ipv4' => 'Die: Attribuut moet \'n geldige IPv4-adres wees.',
|
|
|
|
|
'ipv6' => 'Die: Attribuut moet \'n geldige IPv6-adres wees.',
|
2023-01-09 11:09:26 -08:00
|
|
|
|
'is_unique_department' => 'The :attribute must be unique to this Company Location',
|
2017-10-17 18:52:20 -07:00
|
|
|
|
'json' => 'Die: Attribuut moet \'n geldige JSON-string wees.',
|
2017-09-06 18:05:32 -07:00
|
|
|
|
'max' => [
|
2017-10-17 18:52:20 -07:00
|
|
|
|
'numeric' => 'Die: Attribuut mag nie groter wees as: maksimum.',
|
|
|
|
|
'file' => 'Die: kenmerk mag nie groter wees as: maksimum kilobytes.',
|
|
|
|
|
'string' => 'Die: Attribuut mag nie groter wees as: maksimum karakters.',
|
|
|
|
|
'array' => 'Die: Attribuut mag nie meer as: maksimum items hê nie.',
|
2017-09-06 18:05:32 -07:00
|
|
|
|
],
|
2017-10-17 18:52:20 -07:00
|
|
|
|
'mimes' => 'Die: kenmerk moet \'n lêer van tipe wees:: waardes.',
|
|
|
|
|
'mimetypes' => 'Die: kenmerk moet \'n lêer van tipe wees:: waardes.',
|
2017-09-06 18:05:32 -07:00
|
|
|
|
'min' => [
|
2017-10-17 18:52:20 -07:00
|
|
|
|
'numeric' => 'Die: attribuut moet ten minste wees: min.',
|
|
|
|
|
'file' => 'Die: attribuut moet ten minste wees: min kilobytes.',
|
|
|
|
|
'string' => 'Die: kenmerk moet ten minste wees: min karakters.',
|
|
|
|
|
'array' => 'Die: Attribuut moet ten minste: min items hê.',
|
2017-09-06 18:05:32 -07:00
|
|
|
|
],
|
2022-01-13 21:27:29 -08:00
|
|
|
|
'starts_with' => 'The :attribute must start with one of the following: :values.',
|
2023-06-13 09:12:01 -07:00
|
|
|
|
'ends_with' => 'The :attribute must end with one of the following: :values.',
|
|
|
|
|
|
2017-10-17 18:52:20 -07:00
|
|
|
|
'not_in' => 'Die gekose: attribuut is ongeldig.',
|
|
|
|
|
'numeric' => 'Die: Attribuut moet \'n nommer wees.',
|
|
|
|
|
'present' => 'Die: attribuut veld moet teenwoordig wees.',
|
2017-11-15 15:31:34 -08:00
|
|
|
|
'valid_regex' => 'That is not a valid regex. ',
|
2017-10-17 18:52:20 -07:00
|
|
|
|
'regex' => 'Die: Attribuutformaat is ongeldig.',
|
|
|
|
|
'required' => 'Die: attribuut veld is nodig.',
|
|
|
|
|
'required_if' => 'Die: attribuut veld is nodig wanneer: ander is: waarde.',
|
|
|
|
|
'required_unless' => 'Die: Attribuut veld is nodig tensy: ander is in: waardes.',
|
|
|
|
|
'required_with' => 'Die: Attribuut veld is nodig wanneer: waardes teenwoordig is.',
|
|
|
|
|
'required_with_all' => 'Die: Attribuut veld is nodig wanneer: waardes teenwoordig is.',
|
|
|
|
|
'required_without' => 'Die: Attribuut veld is nodig wanneer: waardes nie teenwoordig is nie.',
|
|
|
|
|
'required_without_all' => 'Die: Attribuut veld is nodig wanneer geen van: waardes teenwoordig is nie.',
|
|
|
|
|
'same' => 'Die: attribuut en ander moet ooreenstem.',
|
2017-09-06 18:05:32 -07:00
|
|
|
|
'size' => [
|
2017-10-17 18:52:20 -07:00
|
|
|
|
'numeric' => 'Die: Attribuut moet wees: grootte.',
|
|
|
|
|
'file' => 'Die: Attribuut moet wees: grootte kilobyte.',
|
|
|
|
|
'string' => 'Die: Attribuut moet wees: grootte karakters.',
|
|
|
|
|
'array' => 'Die: Attribuut moet bevat: grootte items.',
|
2017-09-06 18:05:32 -07:00
|
|
|
|
],
|
2017-10-17 18:52:20 -07:00
|
|
|
|
'string' => 'Die: kenmerk moet \'n string wees.',
|
|
|
|
|
'timezone' => 'Die: Attribuut moet \'n geldige sone wees.',
|
2023-11-27 06:43:16 -08:00
|
|
|
|
'two_column_unique_undeleted' => 'The :attribute must be unique across :table1 and :table2. ',
|
2017-10-17 18:52:20 -07:00
|
|
|
|
'unique' => 'Die: Attribuut is reeds geneem.',
|
|
|
|
|
'uploaded' => 'Die: kenmerk kon nie opgelaai word nie.',
|
|
|
|
|
'url' => 'Die: Attribuutformaat is ongeldig.',
|
2023-12-19 09:23:16 -08:00
|
|
|
|
'unique_undeleted' => 'Die: Attribuut moet uniek wees.',
|
2022-01-13 21:27:29 -08:00
|
|
|
|
'non_circular' => 'The :attribute must not create a circular reference.',
|
2024-01-03 15:12:29 -08:00
|
|
|
|
'not_array' => ':atribute harus array.',
|
2022-06-30 17:34:46 -07:00
|
|
|
|
'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.',
|
2022-05-24 15:07:14 -07:00
|
|
|
|
'gte' => [
|
|
|
|
|
'numeric' => 'Value cannot be negative'
|
|
|
|
|
],
|
|
|
|
|
|
2017-09-06 18:05:32 -07:00
|
|
|
|
|
2017-04-06 21:36:33 -07:00
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| 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.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2017-09-06 18:05:32 -07:00
|
|
|
|
'custom' => [
|
2022-01-13 21:27:29 -08:00
|
|
|
|
'alpha_space' => 'Die: attribuut veld bevat \'n karakter wat nie toegelaat word nie.',
|
|
|
|
|
'email_array' => 'Een of meer e-posadresse is ongeldig.',
|
|
|
|
|
'hashed_pass' => 'Jou huidige wagwoord is verkeerd',
|
2017-10-17 18:52:20 -07:00
|
|
|
|
'dumbpwd' => 'Daardie wagwoord is te algemeen.',
|
2022-01-13 21:27:29 -08:00
|
|
|
|
'statuslabel_type' => 'U moet \'n geldige statusetiket tipe kies',
|
2023-02-21 03:54:55 -08:00
|
|
|
|
|
|
|
|
|
// 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',
|
|
|
|
|
|
2017-09-06 18:05:32 -07:00
|
|
|
|
],
|
2017-04-06 21:36:33 -07:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| 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.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2017-09-06 18:05:32 -07:00
|
|
|
|
'attributes' => [],
|
2017-04-06 21:36:33 -07:00
|
|
|
|
|
2022-01-13 21:27:29 -08:00
|
|
|
|
];
|