| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <?php
- /*
- |--------------------------------------------------------------------------
- | 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.
- |
- */
- return [
- 'accepted' => 'Rhaid derbyn :attribute.',
- 'accepted_if' => 'The :attribute must be accepted when :other is :value.',
- 'active_url' => 'Nid yw :attribute yn URL dilys.',
- 'after' => 'Rhaid i :attribute fod yn ddyddiad sydd ar ôl :date.',
- 'after_or_equal' => 'Y :attribute rhaid iddo fod yn ddyddiad ar ôl neu yn hafal i :date.',
- 'alpha' => 'Dim ond llythrennau\'n unig gall :attribute gynnwys.',
- 'alpha_dash' => 'Dim ond llythrennau, rhifau a dash yn unig gall :attribute gynnwys.',
- 'alpha_num' => 'Dim ond llythrennau a rhifau yn unig gall :attribute gynnwys.',
- 'array' => 'Rhaid i :attribute fod yn array.',
- 'attached' => 'Mae hyn yn :attribute eisoes ynghlwm.',
- 'before' => 'Rhaid i :attribute fod yn ddyddiad sydd cyn :date.',
- 'before_or_equal' => 'Y :attribute rhaid iddo fod yn ddyddiad cyn neu yn hafal i :date.',
- 'between' => [
- 'array' => 'Rhaid i :attribute fod rhwng :min a :max eitem.',
- 'file' => 'Rhaid i :attribute fod rhwng :min a :max kilobytes.',
- 'numeric' => 'Rhaid i :attribute fod rhwng :min a :max.',
- 'string' => 'Rhaid i :attribute fod rhwng :min a :max nodyn.',
- ],
- 'boolean' => 'Rhaid i\'r maes :attribute fod yn wir neu gau.',
- 'confirmed' => 'Nid yw\'r cadarnhad :attribute yn gyfwerth.',
- 'current_password' => 'The password is incorrect.',
- 'date' => 'Nid yw :attribute yn ddyddiad dilys.',
- 'date_equals' => 'Y :attribute rhaid dyddiad cyfartal i :date.',
- 'date_format' => 'Nid yw :attribute yn y fformat :format.',
- 'declined' => 'The :attribute must be declined.',
- 'declined_if' => 'The :attribute must be declined when :other is :value.',
- 'different' => 'Rhaid i :attribute a :other fod yn wahanol.',
- 'digits' => 'Rhaid i :attribute fod yn :digits digid.',
- 'digits_between' => 'Rhaid i :attribute fod rhwng :min a :max digid.',
- 'dimensions' => 'Y :attribute wedi annilys ddelwedd dimensiynau.',
- 'distinct' => 'Y :attribute maes wedi dyblyg gwerth.',
- 'email' => 'Rhaid i :attribute fod yn gyfeiriad ebost dilys.',
- 'ends_with' => 'Y :attribute rhaid i ben gydag un o\'r canlynol: :values.',
- 'exists' => 'Nid yw :attribute yn ddilys.',
- 'file' => ':attribute rhaid iddo fod yn y ffeil.',
- 'filled' => 'Rhaid cynnwys :attribute.',
- 'gt' => [
- 'array' => 'The :attribute must have more than :value items.',
- 'file' => 'The :attribute must be greater than :value kilobytes.',
- 'numeric' => 'The :attribute must be greater than :value.',
- 'string' => 'The :attribute must be greater than :value characters.',
- ],
- 'gte' => [
- 'array' => 'The :attribute must have :value items or more.',
- 'file' => 'The :attribute must be greater than or equal :value kilobytes.',
- 'numeric' => 'The :attribute must be greater than or equal :value.',
- 'string' => 'The :attribute must be greater than or equal :value characters.',
- ],
- 'image' => 'Rhaid i :attribute fod yn lun.',
- 'in' => 'Nid yw :attribute yn ddilys.',
- 'in_array' => 'Y :attribute maes nad yw\'n bodoli yn :other.',
- 'integer' => 'Rhaid i :attribute fod yn integer.',
- 'ip' => 'Rhaid i :attribute fod yn gyfeiriad IP dilys.',
- 'ipv4' => 'Y :attribute rhaid iddo fod yn ddilys ar IPv4 cyfeiriad.',
- 'ipv6' => 'Y :attribute rhaid iddo fod yn ddilys cyfeiriad IPv6.',
- 'json' => 'Y :attribute rhaid iddo fod yn ddilys JSON llinyn.',
- 'lt' => [
- 'array' => 'The :attribute must have less than :value items.',
- 'file' => 'The :attribute must be less than :value kilobytes.',
- 'numeric' => 'The :attribute must be less than :value.',
- 'string' => 'The :attribute must be less than :value characters.',
- ],
- 'lte' => [
- 'array' => 'The :attribute must not have more than :value items.',
- 'file' => 'The :attribute must be less than or equal :value kilobytes.',
- 'numeric' => 'The :attribute must be less than or equal :value.',
- 'string' => 'The :attribute must be less than or equal :value characters.',
- ],
- 'max' => [
- 'array' => 'Ni chai :attribute fod yn fwy na :max eitem.',
- 'file' => 'Ni chai :attribute fod yn fwy na :max kilobytes.',
- 'numeric' => 'Ni chai :attribute fod yn fwy na :max.',
- 'string' => 'Ni chai :attribute fod yn fwy na :max nodyn.',
- ],
- 'mimes' => 'Rhaid i :attribute fod yn ffeil o\'r math: :values.',
- 'mimetypes' => 'Rhaid i :attribute fod yn ffeil o\'r math: :values.',
- 'min' => [
- 'array' => 'Rhaid i :attribute fod o leiaf :min eitem.',
- 'file' => 'Rhaid i :attribute fod o leiaf :min kilobytes.',
- 'numeric' => 'Rhaid i :attribute fod o leiaf :min.',
- 'string' => 'Rhaid i :attribute fod o leiaf :min nodyn.',
- ],
- 'multiple_of' => 'Y :attribute rhaid iddo fod yn lluosrif o :value',
- 'not_in' => 'Nid yw :attribute yn ddilys.',
- 'not_regex' => 'Y :attribute fformat annilys.',
- 'numeric' => 'Rhaid i :attribute fod yn rif.',
- 'password' => 'Mae\'r cyfrinair yn anghywir.',
- 'present' => 'Y :attribute maes rhaid i fod yn bresennol.',
- 'prohibited' => 'Y :attribute maes yn cael ei wahardd.',
- 'prohibited_if' => 'Y :attribute maes yn cael ei wahardd pan :other yn :value.',
- 'prohibited_unless' => 'Y :attribute maes yn cael ei wahardd oni bai :other yn :values.',
- 'prohibits' => 'The :attribute field prohibits :other from being present.',
- 'regex' => 'Nid yw fformat :attribute yn ddilys.',
- 'relatable' => 'Mae hyn yn :attribute efallai na fod yn gysylltiedig â\'r adnodd hwn.',
- 'required' => 'Rhaid cynnwys :attribute.',
- 'required_if' => 'Rhaid cynnwys :attribute pan mae :other yn :value.',
- 'required_unless' => 'Y :attribute maes yn ofynnol oni bai bod :other yn :values.',
- 'required_with' => 'Rhaid cynnwys :attribute pan mae :values yn bresennol.',
- 'required_with_all' => 'Rhaid cynnwys :attribute pan mae :values yn bresennol.',
- 'required_without' => 'Rhaid cynnwys :attribute pan nad oes :values yn bresennol.',
- 'required_without_all' => 'Rhaid cynnwys :attribute pan nad oes :values yn bresennol.',
- 'same' => 'Rhaid i :attribute a :other fod yn gyfwerth.',
- 'size' => [
- 'array' => 'Rhaid i :attribute fod yn :size eitem.',
- 'file' => 'Rhaid i :attribute fod yn :size kilobytes.',
- 'numeric' => 'Rhaid i :attribute fod yn :size.',
- 'string' => 'Rhaid i :attribute fod yn :size nodyn.',
- ],
- 'starts_with' => 'Y :attribute rhaid dechrau gydag un o\'r canlynol: :values.',
- 'string' => 'Y :attribute rhaid iddo fod yn llinyn.',
- 'timezone' => 'Rhaid i :attribute fod yn timezone dilys.',
- 'unique' => 'Mae :attribute eisoes yn bodoli.',
- 'uploaded' => 'Y :attribute wedi methu â llwytho i fyny.',
- 'url' => 'Nid yw fformat :attribute yn ddilys.',
- 'uuid' => 'Y :attribute rhaid iddo fod yn ddilys UUID.',
- 'custom' => [
- 'attribute-name' => [
- 'rule-name' => 'custom-message',
- ],
- ],
- ];
|