complete story 1.3 with qa test (please not that the previous commit msg was wrong the previous commit was story 1.2

This commit is contained in:
Naser Mansour
2025-12-26 14:23:09 +02:00
parent ebb6841ed0
commit ce5eaeffd9
19 changed files with 925 additions and 54 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
return [
'dashboard' => 'لوحة التحكم',
'platform' => 'المنصة',
'settings' => 'الإعدادات',
'profile' => 'الملف الشخصي',
'password' => 'كلمة المرور',
'appearance' => 'المظهر',
'two_factor' => 'المصادقة الثنائية',
'logout' => 'تسجيل الخروج',
'repository' => 'المستودع',
'documentation' => 'التوثيق',
'home' => 'الرئيسية',
'back' => 'رجوع',
'next' => 'التالي',
'previous' => 'السابق',
'language' => 'اللغة',
'arabic' => 'العربية',
'english' => 'English',
];
+6
View File
@@ -0,0 +1,6 @@
<?php
return [
'previous' => '&laquo; السابق',
'next' => 'التالي &raquo;',
];
+166
View File
@@ -0,0 +1,166 @@
<?php
return [
'accepted' => 'يجب قبول :attribute.',
'accepted_if' => 'يجب قبول :attribute عندما يكون :other هو :value.',
'active_url' => ':attribute ليس عنوان URL صالحاً.',
'after' => 'يجب أن يكون :attribute تاريخاً بعد :date.',
'after_or_equal' => 'يجب أن يكون :attribute تاريخاً بعد أو يساوي :date.',
'alpha' => 'يجب أن يحتوي :attribute على أحرف فقط.',
'alpha_dash' => 'يجب أن يحتوي :attribute على أحرف وأرقام وشرطات وشرطات سفلية فقط.',
'alpha_num' => 'يجب أن يحتوي :attribute على أحرف وأرقام فقط.',
'array' => 'يجب أن يكون :attribute مصفوفة.',
'ascii' => 'يجب أن يحتوي :attribute على أحرف وأرقام أحادية البايت ورموز فقط.',
'before' => 'يجب أن يكون :attribute تاريخاً قبل :date.',
'before_or_equal' => 'يجب أن يكون :attribute تاريخاً قبل أو يساوي :date.',
'between' => [
'array' => 'يجب أن يحتوي :attribute على عناصر بين :min و :max.',
'file' => 'يجب أن يكون حجم :attribute بين :min و :max كيلوبايت.',
'numeric' => 'يجب أن يكون :attribute بين :min و :max.',
'string' => 'يجب أن يكون طول :attribute بين :min و :max حرفاً.',
],
'boolean' => 'يجب أن يكون :attribute صحيحاً أو خاطئاً.',
'can' => 'يحتوي :attribute على قيمة غير مصرح بها.',
'confirmed' => 'تأكيد :attribute غير متطابق.',
'contains' => ':attribute يفتقد قيمة مطلوبة.',
'current_password' => 'كلمة المرور غير صحيحة.',
'date' => ':attribute ليس تاريخاً صالحاً.',
'date_equals' => 'يجب أن يكون :attribute تاريخاً مساوياً لـ :date.',
'date_format' => ':attribute لا يتطابق مع التنسيق :format.',
'decimal' => 'يجب أن يحتوي :attribute على :decimal منازل عشرية.',
'declined' => 'يجب رفض :attribute.',
'declined_if' => 'يجب رفض :attribute عندما يكون :other هو :value.',
'different' => 'يجب أن يكون :attribute و :other مختلفين.',
'digits' => 'يجب أن يكون :attribute :digits أرقام.',
'digits_between' => 'يجب أن يكون :attribute بين :min و :max أرقام.',
'dimensions' => ':attribute يحتوي على أبعاد صورة غير صالحة.',
'distinct' => ':attribute يحتوي على قيمة مكررة.',
'doesnt_end_with' => 'يجب ألا ينتهي :attribute بأحد القيم التالية: :values.',
'doesnt_start_with' => 'يجب ألا يبدأ :attribute بأحد القيم التالية: :values.',
'email' => 'يجب أن يكون :attribute عنوان بريد إلكتروني صالحاً.',
'ends_with' => 'يجب أن ينتهي :attribute بأحد القيم التالية: :values.',
'enum' => ':attribute المحدد غير صالح.',
'exists' => ':attribute المحدد غير صالح.',
'extensions' => 'يجب أن يكون :attribute ملفاً من نوع: :values.',
'file' => 'يجب أن يكون :attribute ملفاً.',
'filled' => 'يجب أن يحتوي :attribute على قيمة.',
'gt' => [
'array' => 'يجب أن يحتوي :attribute على أكثر من :value عنصر.',
'file' => 'يجب أن يكون حجم :attribute أكبر من :value كيلوبايت.',
'numeric' => 'يجب أن يكون :attribute أكبر من :value.',
'string' => 'يجب أن يكون طول :attribute أكبر من :value حرف.',
],
'gte' => [
'array' => 'يجب أن يحتوي :attribute على :value عنصر أو أكثر.',
'file' => 'يجب أن يكون حجم :attribute أكبر من أو يساوي :value كيلوبايت.',
'numeric' => 'يجب أن يكون :attribute أكبر من أو يساوي :value.',
'string' => 'يجب أن يكون طول :attribute أكبر من أو يساوي :value حرف.',
],
'hex_color' => 'يجب أن يكون :attribute لون سداسي عشري صالحاً.',
'image' => 'يجب أن يكون :attribute صورة.',
'in' => ':attribute المحدد غير صالح.',
'in_array' => ':attribute غير موجود في :other.',
'integer' => 'يجب أن يكون :attribute عدداً صحيحاً.',
'ip' => 'يجب أن يكون :attribute عنوان IP صالحاً.',
'ipv4' => 'يجب أن يكون :attribute عنوان IPv4 صالحاً.',
'ipv6' => 'يجب أن يكون :attribute عنوان IPv6 صالحاً.',
'json' => 'يجب أن يكون :attribute نص JSON صالحاً.',
'list' => 'يجب أن يكون :attribute قائمة.',
'lowercase' => 'يجب أن يكون :attribute أحرفاً صغيرة.',
'lt' => [
'array' => 'يجب أن يحتوي :attribute على أقل من :value عنصر.',
'file' => 'يجب أن يكون حجم :attribute أقل من :value كيلوبايت.',
'numeric' => 'يجب أن يكون :attribute أقل من :value.',
'string' => 'يجب أن يكون طول :attribute أقل من :value حرف.',
],
'lte' => [
'array' => 'يجب ألا يحتوي :attribute على أكثر من :value عنصر.',
'file' => 'يجب أن يكون حجم :attribute أقل من أو يساوي :value كيلوبايت.',
'numeric' => 'يجب أن يكون :attribute أقل من أو يساوي :value.',
'string' => 'يجب أن يكون طول :attribute أقل من أو يساوي :value حرف.',
],
'mac_address' => 'يجب أن يكون :attribute عنوان MAC صالحاً.',
'max' => [
'array' => 'يجب ألا يحتوي :attribute على أكثر من :max عنصر.',
'file' => 'يجب ألا يكون حجم :attribute أكبر من :max كيلوبايت.',
'numeric' => 'يجب ألا يكون :attribute أكبر من :max.',
'string' => 'يجب ألا يكون طول :attribute أكبر من :max حرف.',
],
'max_digits' => 'يجب ألا يحتوي :attribute على أكثر من :max رقم.',
'mimes' => 'يجب أن يكون :attribute ملفاً من نوع: :values.',
'mimetypes' => 'يجب أن يكون :attribute ملفاً من نوع: :values.',
'min' => [
'array' => 'يجب أن يحتوي :attribute على الأقل على :min عنصر.',
'file' => 'يجب أن يكون حجم :attribute على الأقل :min كيلوبايت.',
'numeric' => 'يجب أن يكون :attribute على الأقل :min.',
'string' => 'يجب أن يكون طول :attribute على الأقل :min حرف.',
],
'min_digits' => 'يجب أن يحتوي :attribute على الأقل على :min رقم.',
'missing' => 'يجب أن يكون :attribute مفقوداً.',
'missing_if' => 'يجب أن يكون :attribute مفقوداً عندما يكون :other هو :value.',
'missing_unless' => 'يجب أن يكون :attribute مفقوداً ما لم يكن :other هو :value.',
'missing_with' => 'يجب أن يكون :attribute مفقوداً عند وجود :values.',
'missing_with_all' => 'يجب أن يكون :attribute مفقوداً عند وجود :values.',
'multiple_of' => 'يجب أن يكون :attribute من مضاعفات :value.',
'not_in' => ':attribute المحدد غير صالح.',
'not_regex' => 'تنسيق :attribute غير صالح.',
'numeric' => 'يجب أن يكون :attribute رقماً.',
'password' => [
'letters' => 'يجب أن يحتوي :attribute على حرف واحد على الأقل.',
'mixed' => 'يجب أن يحتوي :attribute على حرف كبير وحرف صغير على الأقل.',
'numbers' => 'يجب أن يحتوي :attribute على رقم واحد على الأقل.',
'symbols' => 'يجب أن يحتوي :attribute على رمز واحد على الأقل.',
'uncompromised' => ':attribute المعطى ظهر في تسريب بيانات. يرجى اختيار :attribute مختلف.',
],
'present' => 'يجب أن يكون :attribute موجوداً.',
'present_if' => 'يجب أن يكون :attribute موجوداً عندما يكون :other هو :value.',
'present_unless' => 'يجب أن يكون :attribute موجوداً ما لم يكن :other هو :value.',
'present_with' => 'يجب أن يكون :attribute موجوداً عند وجود :values.',
'present_with_all' => 'يجب أن يكون :attribute موجوداً عند وجود :values.',
'prohibited' => ':attribute محظور.',
'prohibited_if' => ':attribute محظور عندما يكون :other هو :value.',
'prohibited_unless' => ':attribute محظور ما لم يكن :other في :values.',
'prohibits' => ':attribute يمنع وجود :other.',
'regex' => 'تنسيق :attribute غير صالح.',
'required' => ':attribute مطلوب.',
'required_array_keys' => 'يجب أن يحتوي :attribute على مدخلات لـ: :values.',
'required_if' => ':attribute مطلوب عندما يكون :other هو :value.',
'required_if_accepted' => ':attribute مطلوب عند قبول :other.',
'required_if_declined' => ':attribute مطلوب عند رفض :other.',
'required_unless' => ':attribute مطلوب ما لم يكن :other في :values.',
'required_with' => ':attribute مطلوب عند وجود :values.',
'required_with_all' => ':attribute مطلوب عند وجود :values.',
'required_without' => ':attribute مطلوب عند عدم وجود :values.',
'required_without_all' => ':attribute مطلوب عند عدم وجود أي من :values.',
'same' => 'يجب أن يتطابق :attribute مع :other.',
'size' => [
'array' => 'يجب أن يحتوي :attribute على :size عنصر.',
'file' => 'يجب أن يكون حجم :attribute :size كيلوبايت.',
'numeric' => 'يجب أن يكون :attribute :size.',
'string' => 'يجب أن يكون طول :attribute :size حرف.',
],
'starts_with' => 'يجب أن يبدأ :attribute بأحد القيم التالية: :values.',
'string' => 'يجب أن يكون :attribute نصاً.',
'timezone' => 'يجب أن يكون :attribute منطقة زمنية صالحة.',
'unique' => ':attribute مستخدم بالفعل.',
'uploaded' => 'فشل رفع :attribute.',
'uppercase' => 'يجب أن يكون :attribute أحرفاً كبيرة.',
'url' => 'يجب أن يكون :attribute عنوان URL صالحاً.',
'ulid' => 'يجب أن يكون :attribute ULID صالحاً.',
'uuid' => 'يجب أن يكون :attribute UUID صالحاً.',
'attributes' => [
'email' => 'البريد الإلكتروني',
'password' => 'كلمة المرور',
'password_confirmation' => 'تأكيد كلمة المرور',
'full_name' => 'الاسم الكامل',
'phone' => 'رقم الهاتف',
'national_id' => 'رقم الهوية',
'company_name' => 'اسم الشركة',
'company_cert_number' => 'رقم شهادة الشركة',
'contact_person_name' => 'اسم جهة الاتصال',
'contact_person_id' => 'هوية جهة الاتصال',
'current_password' => 'كلمة المرور الحالية',
'new_password' => 'كلمة المرور الجديدة',
],
];
+21
View File
@@ -0,0 +1,21 @@
<?php
return [
'dashboard' => 'Dashboard',
'platform' => 'Platform',
'settings' => 'Settings',
'profile' => 'Profile',
'password' => 'Password',
'appearance' => 'Appearance',
'two_factor' => 'Two-Factor Authentication',
'logout' => 'Log Out',
'repository' => 'Repository',
'documentation' => 'Documentation',
'home' => 'Home',
'back' => 'Back',
'next' => 'Next',
'previous' => 'Previous',
'language' => 'Language',
'arabic' => 'العربية',
'english' => 'English',
];
+6
View File
@@ -0,0 +1,6 @@
<?php
return [
'previous' => '&laquo; Previous',
'next' => 'Next &raquo;',
];
+166
View File
@@ -0,0 +1,166 @@
<?php
return [
'accepted' => 'The :attribute must be accepted.',
'accepted_if' => 'The :attribute must be accepted when :other is :value.',
'active_url' => 'The :attribute is not a valid URL.',
'after' => 'The :attribute must be a date after :date.',
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
'alpha' => 'The :attribute must only contain letters.',
'alpha_dash' => 'The :attribute must only contain letters, numbers, dashes and underscores.',
'alpha_num' => 'The :attribute must only contain letters and numbers.',
'array' => 'The :attribute must be an array.',
'ascii' => 'The :attribute must only contain single-byte alphanumeric characters and symbols.',
'before' => 'The :attribute must be a date before :date.',
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
'between' => [
'array' => 'The :attribute must have between :min and :max items.',
'file' => 'The :attribute must be between :min and :max kilobytes.',
'numeric' => 'The :attribute must be between :min and :max.',
'string' => 'The :attribute must be between :min and :max characters.',
],
'boolean' => 'The :attribute field must be true or false.',
'can' => 'The :attribute field contains an unauthorized value.',
'confirmed' => 'The :attribute confirmation does not match.',
'contains' => 'The :attribute field is missing a required value.',
'current_password' => 'The password is incorrect.',
'date' => 'The :attribute is not a valid date.',
'date_equals' => 'The :attribute must be a date equal to :date.',
'date_format' => 'The :attribute does not match the format :format.',
'decimal' => 'The :attribute must have :decimal decimal places.',
'declined' => 'The :attribute must be declined.',
'declined_if' => 'The :attribute must be declined when :other is :value.',
'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.',
'dimensions' => 'The :attribute has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'doesnt_end_with' => 'The :attribute may not end with one of the following: :values.',
'doesnt_start_with' => 'The :attribute may not start with one of the following: :values.',
'email' => 'The :attribute must be a valid email address.',
'ends_with' => 'The :attribute must end with one of the following: :values.',
'enum' => 'The selected :attribute is invalid.',
'exists' => 'The selected :attribute is invalid.',
'extensions' => 'The :attribute must be a file of type: :values.',
'file' => 'The :attribute must be a file.',
'filled' => 'The :attribute field must have a value.',
'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.',
],
'hex_color' => 'The :attribute must be a valid hexadecimal color.',
'image' => 'The :attribute must be an image.',
'in' => 'The selected :attribute is invalid.',
'in_array' => 'The :attribute field does not exist in :other.',
'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.',
'list' => 'The :attribute must be a list.',
'lowercase' => 'The :attribute must be lowercase.',
'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.',
],
'mac_address' => 'The :attribute must be a valid MAC address.',
'max' => [
'array' => 'The :attribute must not have more than :max items.',
'file' => 'The :attribute must not be greater than :max kilobytes.',
'numeric' => 'The :attribute must not be greater than :max.',
'string' => 'The :attribute must not be greater than :max characters.',
],
'max_digits' => 'The :attribute must not have more than :max digits.',
'mimes' => 'The :attribute must be a file of type: :values.',
'mimetypes' => 'The :attribute must be a file of type: :values.',
'min' => [
'array' => 'The :attribute must have at least :min items.',
'file' => 'The :attribute must be at least :min kilobytes.',
'numeric' => 'The :attribute must be at least :min.',
'string' => 'The :attribute must be at least :min characters.',
],
'min_digits' => 'The :attribute must have at least :min digits.',
'missing' => 'The :attribute field must be missing.',
'missing_if' => 'The :attribute field must be missing when :other is :value.',
'missing_unless' => 'The :attribute field must be missing unless :other is :value.',
'missing_with' => 'The :attribute field must be missing when :values is present.',
'missing_with_all' => 'The :attribute field must be missing when :values are present.',
'multiple_of' => 'The :attribute must be a multiple of :value.',
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute format is invalid.',
'numeric' => 'The :attribute must be a number.',
'password' => [
'letters' => 'The :attribute must contain at least one letter.',
'mixed' => 'The :attribute must contain at least one uppercase and one lowercase letter.',
'numbers' => 'The :attribute must contain at least one number.',
'symbols' => 'The :attribute must contain at least one symbol.',
'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
],
'present' => 'The :attribute field must be present.',
'present_if' => 'The :attribute field must be present when :other is :value.',
'present_unless' => 'The :attribute field must be present unless :other is :value.',
'present_with' => 'The :attribute field must be present when :values is present.',
'present_with_all' => 'The :attribute field must be present when :values are present.',
'prohibited' => 'The :attribute field is prohibited.',
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
'prohibits' => 'The :attribute field prohibits :other from being present.',
'regex' => 'The :attribute format is invalid.',
'required' => 'The :attribute field is required.',
'required_array_keys' => 'The :attribute field must contain entries for: :values.',
'required_if' => 'The :attribute field is required when :other is :value.',
'required_if_accepted' => 'The :attribute field is required when :other is accepted.',
'required_if_declined' => 'The :attribute field is required when :other is declined.',
'required_unless' => 'The :attribute field is required unless :other is in :values.',
'required_with' => 'The :attribute field is required when :values is present.',
'required_with_all' => 'The :attribute field is required when :values are 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.',
'size' => [
'array' => 'The :attribute must contain :size items.',
'file' => 'The :attribute must be :size kilobytes.',
'numeric' => 'The :attribute must be :size.',
'string' => 'The :attribute must be :size characters.',
],
'starts_with' => 'The :attribute must start with one of the following: :values.',
'string' => 'The :attribute must be a string.',
'timezone' => 'The :attribute must be a valid timezone.',
'unique' => 'The :attribute has already been taken.',
'uploaded' => 'The :attribute failed to upload.',
'uppercase' => 'The :attribute must be uppercase.',
'url' => 'The :attribute must be a valid URL.',
'ulid' => 'The :attribute must be a valid ULID.',
'uuid' => 'The :attribute must be a valid UUID.',
'attributes' => [
'email' => 'email',
'password' => 'password',
'password_confirmation' => 'password confirmation',
'full_name' => 'full name',
'phone' => 'phone number',
'national_id' => 'national ID',
'company_name' => 'company name',
'company_cert_number' => 'company certificate number',
'contact_person_name' => 'contact person name',
'contact_person_id' => 'contact person ID',
'current_password' => 'current password',
'new_password' => 'new password',
],
];