]> BookStack Code Mirror - bookstack/blobdiff - lang/cy/validation.php
respective book and chapter structure added.
[bookstack] / lang / cy / validation.php
index 87efe285093005f43dca4dea0d3480e8458609b0..006641841748367fd7ecb7f755b57526dda98303 100644 (file)
@@ -41,74 +41,74 @@ return [
         'array'   => 'Rhaid i\'r :attribute fod yn fwy na :value eitemau.',
     ],
     'gte'                  => [
-        'numeric' => 'The :attribute must be greater than or equal :value.',
-        'file'    => 'The :attribute must be greater than or equal :value kilobytes.',
-        'string'  => 'The :attribute must be greater than or equal :value characters.',
-        'array'   => 'The :attribute must have :value items or more.',
+        'numeric' => 'Rhaid i’r :attribute fod yn fwy na, neu’n gyfartal â :value.',
+        'file'    => 'Rhaid i’r :attribute fod yn fwy na, neu’n gyfartal â :value cilobeit.',
+        'string'  => 'Rhaid i’r :attribute fod yn fwy na, neu’n gyfartal â :value nod.',
+        'array'   => 'Rhaid i’r :attribute fod â :value o eitemau neu fwy.',
     ],
-    'exists'               => 'The selected :attribute is invalid.',
-    'image'                => 'The :attribute must be an image.',
-    'image_extension'      => 'The :attribute must have a valid & supported image extension.',
-    'in'                   => 'The selected :attribute is invalid.',
-    'integer'              => 'The :attribute must be an integer.',
-    'ip'                   => 'The :attribute must be a valid IP address.',
-    'ipv4'                 => 'The :attribute must be a valid IPv4 address.',
-    'ipv6'                 => 'The :attribute must be a valid IPv6 address.',
-    'json'                 => 'The :attribute must be a valid JSON string.',
+    'exists'               => 'Mae\'r dewis :attribute yn annilys.',
+    'image'                => 'Rhaid i’r :attribute fod yn ddelwedd.',
+    'image_extension'      => 'Rhaid i’r :attribute fod ag estyniad delwedd dilys & gefnogir.',
+    'in'                   => 'Mae\'r dewis :attribute yn annilys.',
+    'integer'              => 'Rhaid i’r :attribute fod yn gyfanrif.',
+    'ip'                   => 'Rhaid i’r :attribute fod yn gyfeiriad IP dilys.',
+    'ipv4'                 => 'Rhaid i’r :attribute fod yn gyfeiriad IPv4 dilys.',
+    'ipv6'                 => 'Rhaid i’r :attribute fod yn gyfeiriad IPv6 dilys.',
+    'json'                 => 'Rhaid i’r :attribute fod yn llinyn JSON dilys.',
     'lt'                   => [
-        'numeric' => 'The :attribute must be less than :value.',
-        'file'    => 'The :attribute must be less than :value kilobytes.',
-        'string'  => 'The :attribute must be less than :value characters.',
-        'array'   => 'The :attribute must have less than :value items.',
+        'numeric' => 'Rhaid i’r :attribute fod yn llai na :value.',
+        'file'    => 'Rhaid i’r :attribute fod yn llai na :value cilobeit.',
+        'string'  => 'Rhaid i’r :attribute fod yn llai na :value nod.',
+        'array'   => 'Rhaid i’r :attribute fod â llai na :value o eitemau.',
     ],
     'lte'                  => [
-        'numeric' => 'The :attribute must be less than or equal :value.',
-        'file'    => 'The :attribute must be less than or equal :value kilobytes.',
-        'string'  => 'The :attribute must be less than or equal :value characters.',
-        'array'   => 'The :attribute must not have more than :value items.',
+        'numeric' => 'Rhaid i’r :attribute fod yn llai na, neu’n gyfartal â :value.',
+        'file'    => 'Rhaid i’r :attribute fod yn llai na, neu’n gyfartal â :value cilobeit.',
+        'string'  => 'Rhaid i’r :attribute fod yn llai na, neu’n gyfartal â :value nod.',
+        'array'   => 'Ni ddylai’r :attribute fod â mwy na :value o eitemau.',
     ],
     'max'                  => [
-        'numeric' => 'The :attribute may not be greater than :max.',
-        'file'    => 'The :attribute may not be greater than :max kilobytes.',
-        'string'  => 'The :attribute may not be greater than :max characters.',
-        'array'   => 'The :attribute may not have more than :max items.',
+        'numeric' => 'Ni ddylai’r :attribute fod yn fwy na :max.',
+        'file'    => 'Ni ddylai’r :attribute fod yn fwy na :max cilobeit.',
+        'string'  => 'Ni ddylai’r :attribute fod yn fwy na :max nod.',
+        'array'   => 'Ni ddylai’r :attribute fod â mwy na :max o eitemau.',
     ],
-    'mimes'                => 'The :attribute must be a file of type: :values.',
+    'mimes'                => 'Rhaid i’r :attribute fod yn ffeil o fath: :values.',
     'min'                  => [
-        'numeric' => 'The :attribute must be at least :min.',
-        'file'    => 'The :attribute must be at least :min kilobytes.',
-        'string'  => 'The :attribute must be at least :min characters.',
-        'array'   => 'The :attribute must have at least :min items.',
+        'numeric' => 'Rhaid i’r :attribute fod yn o leiaf :min.',
+        'file'    => 'Rhaid i’r :attribute fod yn o leiaf :min cilobeit.',
+        'string'  => 'Rhaid i’r :attribute fod yn o leiaf :min nod.',
+        'array'   => 'Rhaid i’r :attribute fod â llai na :min o eitemau.',
     ],
-    'not_in'               => 'The selected :attribute is invalid.',
-    'not_regex'            => 'The :attribute format is invalid.',
-    'numeric'              => 'The :attribute must be a number.',
-    'regex'                => 'The :attribute format is invalid.',
-    'required'             => 'The :attribute field is required.',
-    'required_if'          => 'The :attribute field is required when :other is :value.',
-    'required_with'        => 'The :attribute field is required when :values is present.',
-    'required_with_all'    => 'The :attribute field is required when :values is present.',
-    'required_without'     => 'The :attribute field is required when :values is not present.',
-    'required_without_all' => 'The :attribute field is required when none of :values are present.',
-    'same'                 => 'The :attribute and :other must match.',
-    'safe_url'             => 'The provided link may not be safe.',
+    'not_in'               => 'Mae\'r dewis :attribute yn annilys.',
+    'not_regex'            => 'Mae’r fformat :attribute yn annilys.',
+    'numeric'              => 'Rhaid i’r :attribute fod yn rhif.',
+    'regex'                => 'Mae’r fformat :attribute yn annilys.',
+    'required'             => 'Mae :attribute yn faes gofynnol.',
+    'required_if'          => 'Mae :attribute yn faes gofynnol pan fo :other yn :value.',
+    'required_with'        => 'Mae :attribute yn faes gofynnol pan fo :values yn bresennol.',
+    'required_with_all'    => 'Mae :attribute yn faes gofynnol pan fo :values yn bresennol.',
+    'required_without'     => 'Mae :attitude yn faes gofynnol pan nad yw :values yn bresennol.',
+    'required_without_all' => 'Mae angen y maes :attribute os dydi\'r un o :values yn bresennol.',
+    'same'                 => 'Mae’n rhaid i’r :attribute a :other gyd-fynd.',
+    'safe_url'             => 'Efallai na fydd y ddolen a ddarperir yn ddiogel.',
     'size'                 => [
-        'numeric' => 'The :attribute must be :size.',
-        'file'    => 'The :attribute must be :size kilobytes.',
-        'string'  => 'The :attribute must be :size characters.',
-        'array'   => 'The :attribute must contain :size items.',
+        'numeric' => 'Rhaid i’r :attribute fod yn :size.',
+        'file'    => 'Rhaid i’r :attribute fod yn :size cilobeit.',
+        'string'  => 'Rhaid i’r :attribute fod yn :size nod.',
+        'array'   => 'Rhaid i’r :attribute gynnwys eitemau :size.',
     ],
-    'string'               => 'The :attribute must be a string.',
-    'timezone'             => 'The :attribute must be a valid zone.',
-    'totp'                 => 'The provided code is not valid or has expired.',
-    'unique'               => 'The :attribute has already been taken.',
-    'url'                  => 'The :attribute format is invalid.',
-    'uploaded'             => 'The file could not be uploaded. The server may not accept files of this size.',
+    'string'               => 'Rhaid i’r :attribute fod yn llinyn.',
+    'timezone'             => 'Rhaid i’r :attribute fod yn barth dilys.',
+    'totp'                 => 'Nid yw\'r cod a ddarperir yn ddilys neu mae wedi dod i ben.',
+    'unique'               => 'Mae’r :attribute eisoes wedi ei gymryd.',
+    'url'                  => 'Mae’r fformat :attribute yn annilys.',
+    'uploaded'             => 'Nid oedd modd uwchlwytho’r ffeil. Efallai na fydd y gweinydd yn derbyn ffeiliau o\'r maint hwn.',
 
     // Custom validation lines
     'custom' => [
         'password-confirm' => [
-            'required_with' => 'Password confirmation required',
+            'required_with' => 'Rhaid cadarnhau cyfrinair',
         ],
     ],