]> BookStack Code Mirror - bookstack/commitdiff
New translations validation.php (Nepali)
authorDan Brown <redacted>
Thu, 26 Jun 2025 03:19:13 +0000 (04:19 +0100)
committerDan Brown <redacted>
Thu, 26 Jun 2025 03:19:13 +0000 (04:19 +0100)
lang/ne/validation.php

index d9b982d1e23e2eb2ad98ae4815e8b94de20f11dc..f00c0f731536958928983fefe2760d8cfb9d4365 100644 (file)
 return [
 
     // Standard laravel validation lines
-    'accepted'             => 'The :attribute must be accepted.',
-    'active_url'           => 'The :attribute is not a valid URL.',
-    'after'                => 'The :attribute must be a date after :date.',
-    'alpha'                => 'The :attribute may only contain letters.',
-    'alpha_dash'           => 'The :attribute may only contain letters, numbers, dashes and underscores.',
-    'alpha_num'            => 'The :attribute may only contain letters and numbers.',
-    'array'                => 'The :attribute must be an array.',
-    'backup_codes'         => 'The provided code is not valid or has already been used.',
-    'before'               => 'The :attribute must be a date before :date.',
+    'accepted'             => ':attribute स्वीकार गर्नुपर्छ।',
+    'active_url'           => ':attribute मान्य URL होइन।',
+    'after'                => ':attribute मिति :date पछिको हुनुपर्छ।',
+    'alpha'                => ':attribute मा अक्षर मात्र हुनुपर्छ।',
+    'alpha_dash'           => ':attribute मा अक्षर, अंक, ड्यास (-) र अन्डरस्कोर (_) मात्र हुनुपर्छ।',
+    'alpha_num'            => ':attribute मा अक्षर र अंक मात्र हुनुपर्छ।',
+    'array'                => ':attribute array हुनुपर्छ।',
+    'backup_codes'         => 'दिइएको कोड गलत छ वा पहिल्यै प्रयोग भइसकेको छ।',
+    'before'               => ':attribute मिति :date भन्दा पहिला हुनुपर्छ।',
     'between'              => [
-        'numeric' => 'The :attribute must be between :min and :max.',
-        'file'    => 'The :attribute must be between :min and :max kilobytes.',
-        'string'  => 'The :attribute must be between :min and :max characters.',
-        'array'   => 'The :attribute must have between :min and :max items.',
+        'numeric' => ':attribute :min देखि :max बीचमा हुनुपर्छ।',
+        'file'    => ':attribute :min देखि :max किलोबाइट बीचमा हुनुपर्छ।',
+        'string'  => ':attribute :min देखि :max क्यारेक्टरबीच हुनुपर्छ।',
+        'array'   => ':attribute मा :min देखि :max वस्तुहरू हुनुपर्छ।',
     ],
-    'boolean'              => 'The :attribute field must be true or false.',
-    'confirmed'            => 'The :attribute confirmation does not match.',
-    'date'                 => 'The :attribute is not a valid date.',
-    'date_format'          => 'The :attribute does not match the format :format.',
-    'different'            => 'The :attribute and :other must be different.',
-    'digits'               => 'The :attribute must be :digits digits.',
-    'digits_between'       => 'The :attribute must be between :min and :max digits.',
-    'email'                => 'The :attribute must be a valid email address.',
-    'ends_with' => 'The :attribute must end with one of the following: :values',
-    'file'                 => 'The :attribute must be provided as a valid file.',
-    'filled'               => 'The :attribute field is required.',
+    'boolean'              => ':attribute साँचो (true) वा झूटो (false) हुनुपर्छ।',
+    'confirmed'            => ':attribute पुष्टि मिलेन।',
+    'date'                 => ':attribute मान्य मिति होइन।',
+    'date_format'          => ':attribute ढाँचा :format सँग मेल खाँदैन।',
+    'different'            => ':attribute र :other फरक हुनुपर्छ।',
+    'digits'               => ':attribute मा ठीक :digits अंक हुनुपर्छ।',
+    'digits_between'       => ':attribute मा :min देखि :max अंक हुनुपर्छ।',
+    'email'                => ':attribute मान्य ईमेल ठेगाना हुनुपर्छ।',
+    'ends_with' => ':attribute यी मध्ये एकले अन्त्य हुनुपर्छ: :values',
+    'file'                 => ':attribute मान्य फाइल हुनुपर्छ।',
+    'filled'               => ':attribute आवश्यक छ।',
     'gt'                   => [
-        'numeric' => 'The :attribute must be greater than :value.',
-        'file'    => 'The :attribute must be greater than :value kilobytes.',
-        'string'  => 'The :attribute must be greater than :value characters.',
-        'array'   => 'The :attribute must have more than :value items.',
+        'numeric' => ':attribute :value भन्दा बढी हुनुपर्छ।',
+        'file'    => ':attribute :value किलोबाइटभन्दा बढी हुनुपर्छ।',
+        'string'  => ':attribute :value क्यारेक्टरभन्दा बढी हुनुपर्छ।',
+        'array'   => ':attribute मा :value भन्दा बढी वस्तुहरू हुनुपर्छ।',
     ],
     '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' => ':attribute :value भन्दा बढी वा बराबर हुनुपर्छ।',
+        'file'    => ':attribute :value किलोबाइटभन्दा बढी वा बराबर हुनुपर्छ।',
+        'string'  => ':attribute :value क्यारेक्टरभन्दा बढी वा बराबर हुनुपर्छ।',
+        'array'   => ':attribute मा कम्तीमा :value वस्तुहरू हुनुपर्छ।',
     ],
-    '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'               => 'चयन गरिएको :attribute अमान्य छ।',
+    'image'                => ':attribute एउटा तस्बिर हुनुपर्छ।',
+    'image_extension'      => ':attribute मा मान्य र समर्थित तस्बिर विस्तार (extension) हुनुपर्छ।',
+    'in'                   => 'चयन गरिएको :attribute अमान्य छ।',
+    'integer'              => ':attribute पूर्णांक (integer) हुनुपर्छ।',
+    'ip'                   => ':attribute मान्य IP ठेगाना हुनुपर्छ।',
+    'ipv4'                 => ':attribute मान्य IPv4 ठेगाना हुनुपर्छ।',
+    'ipv6'                 => ':attribute मान्य IPv6 ठेगाना हुनुपर्छ।',
+    'json'                 => ':attribute मान्य JSON स्ट्रिङ हुनुपर्छ।',
     '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' => ':attribute :value भन्दा कम हुनुपर्छ।',
+        'file'    => ':attribute :value किलोबाइटभन्दा कम हुनुपर्छ।',
+        'string'  => ':attribute :value क्यारेक्टरभन्दा कम हुनुपर्छ।',
+        'array'   => ':attribute मा :value भन्दा कम वस्तुहरू हुनुपर्छ।',
     ],
     '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' => ':attribute :value भन्दा कम वा बराबर हुनुपर्छ।',
+        'file'    => ':attribute :value किलोबाइटभन्दा कम वा बराबर हुनुपर्छ।',
+        'string'  => ':attribute :value क्यारेक्टरभन्दा कम वा बराबर हुनुपर्छ।',
+        'array'   => ':attribute मा :value भन्दा बढी वस्तुहरू हुनु हुँदैन।',
     ],
     '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' => ':attribute :max भन्दा बढी हुन सक्दैन।',
+        'file'    => ':attribute :max किलोबाइटभन्दा बढी हुन सक्दैन।',
+        'string'  => ':attribute :max क्यारेक्टरभन्दा बढी हुन सक्दैन।',
+        'array'   => ':attribute मा :max भन्दा बढी वस्तुहरू हुनु हुँदैन।',
     ],
-    'mimes'                => 'The :attribute must be a file of type: :values.',
+    'mimes'                => ':attribute फाइलको प्रकार :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' => ':attribute कम्तीमा :min हुनुपर्छ।',
+        'file'    => ':attribute कम्तीमा :min किलोबाइट हुनुपर्छ।',
+        'string'  => ':attribute कम्तीमा :min क्यारेक्टर हुनुपर्छ।',
+        'array'   => ':attribute मा कम्तीमा :min वस्तुहरू हुनुपर्छ।',
     ],
-    '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'               => 'चयन गरिएको :attribute अमान्य छ।',
+    'not_regex'            => ':attribute को ढाँचा अमान्य छ।',
+    'numeric'              => ':attribute संख्या हुनुपर्छ।',
+    'regex'                => ':attribute ढाँचा अमान्य छ।',
+    'required'             => ':attribute आवश्यक छ।',
+    'required_if'          => ':other :value हुँदा :attribute आवश्यक हुन्छ।',
+    'required_with'        => ':values भएमा :attribute आवश्यक छ।',
+    'required_with_all'    => ':values भएमा :attribute आवश्यक छ।',
+    'required_without'     => ':values नभएमा :attribute आवश्यक छ।',
+    'required_without_all' => ':values मध्ये कुनै पनि नभएमा :attribute आवश्यक छ।',
+    'same'                 => ':attribute र :other मिल्नुपर्छ।',
+    'safe_url'             => 'दिएको लिङ्क सुरक्षित नहुन सक्छ।',
     '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' => ':attribute ठीक :size हुनुपर्छ।',
+        'file'    => ':attribute ठीक :size किलोबाइट हुनुपर्छ।',
+        'string'  => ':attribute ठीक :size क्यारेक्टर हुनुपर्छ।',
+        'array'   => ':attribute मा ठीक :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'               => ':attribute स्ट्रिङ (पाठ) हुनुपर्छ।',
+    'timezone'             => ':attribute मान्य समय क्षेत्र (timezone) हुनुपर्छ।',
+    'totp'                 => 'दिएको कोड गलत छ वा सकिएको छ।',
+    'unique'               => ':attribute पहिल्यै प्रयोग भइसकेको छ।',
+    'url'                  => ':attribute को ढाँचा अमान्य छ।',
+    'uploaded'             => 'फाइल अपलोड हुन सकेन। सर्भरले यस्तो साइज स्वीकार नगर्न सक्छ।',
 
-    'zip_file' => 'The :attribute needs to reference a file within the ZIP.',
-    'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.',
-    'zip_model_expected' => 'Data object expected but ":type" found.',
-    'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.',
+    'zip_file' => ':attribute ले ZIP फाइलभित्रको फाइल देखाउनु पर्छ।',
+    'zip_file_mime' => ':attribute मा :validTypes प्रकारको फाइल हुनुपर्छ, तर :foundType भेटियो।',
+    'zip_model_expected' => 'डेटा वस्तु चाहिएको थियो तर ":type" भेटियो।',
+    'zip_unique' => ':attribute ZIP भित्रको वस्तु प्रकारको लागि अद्वितीय हुनुपर्छ।',
 
     // Custom validation lines
     'custom' => [
         'password-confirm' => [
-            'required_with' => 'Password confirmation required',
+            'required_with' => 'पासवर्ड पुष्टि आवश्यक छ।',
         ],
     ],