Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Arabic Language #102

Merged
merged 1 commit into from
Sep 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 20 additions & 0 deletions lang/ar/auth.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

return [

/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/

'failed' => 'بيانات الدخول هذه غير متطابقة للبيانات المسجلة لدينا.',
'password' => 'كلمة المرور المدخلة غير صحيحة.',
'throttle' => 'لقد تعديت الحد المسموح لعمليات الدخول المتكررة. يرجى المحاولة مرة أخرى بعد :seconds ثانية.',

];
19 changes: 19 additions & 0 deletions lang/ar/pagination.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

return [

/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/

'previous' => '&laquo; السابق',
'next' => 'التالي &raquo;',

];
22 changes: 22 additions & 0 deletions lang/ar/passwords.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

return [

/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/

'reset' => 'تمت إعادة تعيين كلمة المرور',
'sent' => 'تم إرسال تفاصيل استعادة كلمة المرور الخاصة بك إلى بريدك الإلكتروني',
'throttled' => 'الرجاء الانتظار قبل إعادة المحاولة',
'token' => 'رمز استعادة كلمة المرور هذا غير صالح',
'user' => "لم يتم العثور على أيّ حسابٍ بهذا العنوان الإلكتروني",

];
211 changes: 211 additions & 0 deletions lang/ar/validation.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
<?php

return [

/*
|--------------------------------------------------------------------------
| 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.
|
*/

'accepted' => 'يجب قبول الحقل :attribute',
'accepted_if' => 'الحقل :attribute مقبول في حال ما إذا كان :other يساوي :value.',
'active_url' => 'الحقل :attribute لا يُمثّل رابطًا صحيحًا',
'after' => 'يجب على الحقل :attribute أن يكون تاريخًا لاحقًا للتاريخ :date.',
'after_or_equal' => 'الحقل :attribute يجب أن يكون تاريخاً لاحقاً أو مطابقاً للتاريخ :date.',
'alpha' => 'يجب أن لا يحتوي الحقل :attribute سوى على حروف',
'alpha_dash' => 'يجب أن لا يحتوي الحقل :attribute على حروف، أرقام ومطّات.',
'alpha_num' => 'يجب أن يحتوي :attribute على حروفٍ وأرقامٍ فقط',
'array' => 'يجب أن يكون الحقل :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 إما true أو false ',
'confirmed' => 'حقل التأكيد غير مُطابق للحقل :attribute',
'current_password' => 'كلمة المرور غير صحيحة',
'date' => 'الحقل :attribute ليس تاريخًا صحيحًا',
'date_equals' => 'لا يساوي الحقل :attribute مع :date.',
'date_format' => 'لا يتوافق الحقل :attribute مع الشكل :format.',
'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 يجب ان ينتهي بأحد القيم التالية :value.',
'enum' => 'الحقل :attribute غير صحيح',
'exists' => 'الحقل :attribute لاغٍ',
'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 حروفٍ/حرفًا.',
],
'image' => 'يجب أن يكون الحقل :attribute صورةً',
'in' => 'الحقل :attribute لاغٍ',
'in_array' => 'الحقل :attribute غير موجود في :other.',
'integer' => 'يجب أن يكون الحقل :attribute عددًا صحيحًا',
'ip' => 'يجب أن يكون الحقل :attribute عنوان IP ذا بُنية صحيحة',
'ipv4' => 'يجب أن يكون الحقل :attribute عنوان IPv4 ذا بنية صحيحة.',
'ipv6' => 'يجب أن يكون الحقل :attribute عنوان IPv6 ذا بنية صحيحة.',
'json' => 'يجب أن يكون الحقل :attribute نصا من نوع JSON.',
'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' => 'يجب أن يكون الحقل ملفًا من نوع : :values.',
'mimetypes' => 'يجب أن يكون الحقل ملفًا من نوع : :values.',
'min' => [
'array' => 'يجب أن يحتوي الحقل :attribute على الأقل على :min عُنصرًا/عناصر',
'file' => 'يجب أن يكون حجم الملف :attribute على الأقل :min كيلوبايت',
'numeric' => 'يجب أن تكون قيمة الحقل :attribute مساوية أو أكبر لـ :min.',
'string' => 'يجب أن يكون طول نص :attribute على الأقل :min حروفٍ/حرفًا',
],
'min_digits' => 'الحقل :attribute يجب أن يحتوي :min أرقام على الأقل.',
'multiple_of' => 'الحقل :attribute يجب أن يكون من مضاعفات :value.',
'not_in' => 'الحقل :attribute لاغٍ',
'not_regex' => 'الحقل :attribute نوعه لاغٍ',
'numeric' => 'يجب على الحقل :attribute أن يكون رقمًا',
'password' => [
'letters' => 'يجب ان يشمل حقل :attribute على حرف واحد على الاقل.',
'mixed' => 'يجب ان يشمل حقل :attribute على حرف واحد بصيغة كبيرة على الاقل وحرف اخر بصيغة صغيرة.',
'numbers' => 'يجب ان يشمل حقل :attribute على رقم واحد على الاقل.',
'symbols' => 'يجب ان يشمل حقل :attribute على رمز واحد على الاقل.',
'uncompromised' => 'حقل :attribute تبدو غير آمنة. الرجاء اختيار قيمة اخرى.',
],
'present' => 'يجب تقديم الحقل :attribute',
'prohibited' => 'الحقل :attribute محظور',
'prohibited_if' => 'الحقل :attribute محظور في حال ما إذا كان :other يساوي :value.',
'prohibited_unless' => 'الحقل :attribute محظور في حال ما لم يكون :other يساوي :value.',
'prohibits' => 'الحقل :attribute يحظر :other من اي يكون موجود',
'regex' => 'صيغة الحقل :attribute .غير صحيحة',
'required' => 'الحقل :attribute مطلوب.',
'required_array_keys' => 'الحقل :attribute يجب ان يحتوي علي مدخلات للقيم التالية :values.',
'required_if' => 'الحقل :attribute مطلوب في حال ما إذا كان :other يساوي :value.',
'required_if_accepted' => 'The :attribute field is required when :other is accepted.',
'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' => 'The :attribute must be uppercase.',
'url' => 'صيغة الرابط :attribute غير صحيحة',
'uuid' => 'الحقل :attribute يجب ان ايكون رقم UUID صحيح.',

/*
|--------------------------------------------------------------------------
| 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.
|
*/

'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],

/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap our attribute placeholder
| with something more reader friendly such as "E-Mail Address" instead
| of "email". This simply helps us make our message more expressive.
|
*/

'attributes' => [
'name' => 'الاسم',
'username' => 'اسم المُستخدم',
'email' => 'البريد الالكتروني',
'first_name' => 'الاسم',
'last_name' => 'اسم العائلة',
'password' => 'كلمة المرور',
'password_confirmation' => 'تأكيد كلمة المرور',
'city' => 'المدينة',
'country' => 'الدولة',
'address' => 'العنوان',
'phone' => 'الهاتف',
'mobile' => 'الجوال',
'age' => 'العمر',
'sex' => 'الجنس',
'gender' => 'النوع',
'day' => 'اليوم',
'month' => 'الشهر',
'year' => 'السنة',
'hour' => 'ساعة',
'minute' => 'دقيقة',
'second' => 'ثانية',
'content' => 'المُحتوى',
'description' => 'الوصف',
'excerpt' => 'المُلخص',
'date' => 'التاريخ',
'time' => 'الوقت',
'available' => 'مُتاح',
'size' => 'الحجم',
'price' => 'السعر',
'desc' => 'نبذه',
'title' => 'العنوان',
'q' => 'البحث',
'link' => ' ',
'slug' => ' ',
],

];