Skip to content

Commit

Permalink
chore: update language files
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeerickson committed Mar 22, 2020
1 parent 1bc7fd6 commit ab29abe
Show file tree
Hide file tree
Showing 113 changed files with 6,414 additions and 7,047 deletions.
23 changes: 12 additions & 11 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ module.exports = {
node: true,
jest: true
},
extends: 'eslint:recommended',
extends: "eslint:recommended",
parserOptions: {
ecmaVersion: 2017
},
rules: {
'no-empty': 'off',
indent: ['error', 2],
quotes: ['error', 'single'],
semi: ['error', 'always'],
'no-useless-escape': 'off',
'no-unused-vars': 'off',
'no-undef': 'off',
'no-console': [
'error',
"no-empty": "off",
indent: ["error", 2],
// quotes: ['error', 'single'],
semi: ["error", "always"],
"no-useless-escape": "off",
"no-unused-vars": "off",
"no-undef": "off",
"no-control-regex": "off",
"no-console": [
"error",
{
allow: ['log']
allow: ["log"]
}
]
}
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ node_modules/
NOTES.md
npm-debug.log
sandbox/
spec/checklist.md
spec/checklist.md
*.taskpaper
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2012-2019 David Tang
Copyright (c) 2012-2020 David Tang

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 10 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# validatorjs

[Version 3.19] -- 2019.12.xx

## Added

## Fixed

Issues
- Added `hex` attribute language files which were missing
https://github.com/skaterdav85/validatorjs/pull/240

[Version 3.18.1] -- 2019.11.27

## Fixed
Expand Down
106 changes: 53 additions & 53 deletions dist/lang/ar.js
Original file line number Diff line number Diff line change
@@ -1,65 +1,65 @@
require=(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({"./lang/ar":[function(require,module,exports){
module.exports = {
accepted: 'الصفة :attribute يجب أن تكون مقبولة',
after: 'الصفة :attribute يجب أن تكون بعد الصفة :after.',
after_or_equal: 'الصفة :attribute يجب أن تكون مساوية أو بعد الصفة :after_or_equal.',
alpha: 'حقل الصفة :attribute يجب أن تحتوي على أحرف فقط',
alpha_dash: 'حقل الصفة :attribute مسموح بأن يحتوي على حروف و أرقام و شرطة و شرطة منخفضة',
alpha_num: 'حقل الصفة :attribute يجب أن يحتوي على أحرف و أرقام',
before: 'الصفة :attribute يجب أن تكون قبل :before.',
before_or_equal: 'الصفة :attribute يجب أن تكون مساوية أو قبل الصفة :before_or_equal.',
between: 'حقل الصفة :attribute يجب أن يكون بين :min و :max.',
confirmed: 'تأكيد الصفة :attribute غير متطابق.',
email: 'الصفة :attribute صيغتها غير صحيحة',
date: 'الصفة :attribute صيغتها ليست تاريخ صحيح',
def: 'الصفة :attribute تحتوي على أخطاء',
digits: 'الصفة :attribute يجب أن تكون :digits أرقام.',
digits_between: 'يجب أن يحتوي :attribute بين :min و :max رقمًا/أرقام .',
different: 'الصفة :attribute و الصفة :different يجب أن تكونا مختلفتين',
in: 'الصفة :attribute المختارة، غير صحيحة.',
integer: 'الصفة :attribute يجب أن تكون عدد صحيح',
hex: 'حقل الصفة :attribute يجب أن يحتوي على صيغة هكسيديسمل',
accepted: "الصفة :attribute يجب أن تكون مقبولة",
after: "الصفة :attribute يجب أن تكون بعد الصفة :after.",
after_or_equal: "الصفة :attribute يجب أن تكون مساوية أو بعد الصفة :after_or_equal.",
alpha: "حقل الصفة :attribute يجب أن تحتوي على أحرف فقط",
alpha_dash: "حقل الصفة :attribute مسموح بأن يحتوي على حروف و أرقام و شرطة و شرطة منخفضة",
alpha_num: "حقل الصفة :attribute يجب أن يحتوي على أحرف و أرقام",
before: "الصفة :attribute يجب أن تكون قبل :before.",
before_or_equal: "الصفة :attribute يجب أن تكون مساوية أو قبل الصفة :before_or_equal.",
between: "حقل الصفة :attribute يجب أن يكون بين :min و :max.",
confirmed: "تأكيد الصفة :attribute غير متطابق.",
email: "الصفة :attribute صيغتها غير صحيحة",
date: "الصفة :attribute صيغتها ليست تاريخ صحيح",
def: "الصفة :attribute تحتوي على أخطاء",
digits: "الصفة :attribute يجب أن تكون :digits أرقام.",
digits_between: "يجب أن يحتوي :attribute بين :min و :max رقمًا/أرقام .",
different: "الصفة :attribute و الصفة :different يجب أن تكونا مختلفتين",
in: "الصفة :attribute المختارة، غير صحيحة.",
integer: "الصفة :attribute يجب أن تكون عدد صحيح",
hex: "حقل الصفة :attribute يجب أن يحتوي على صيغة هكسيديسمل",
min: {
numeric: 'الصفة :attribute يجب أن تكون :min على الأقل',
string: 'الصفة :attribute يجب أن تكون :min حرف على الأقل.'
numeric: "الصفة :attribute يجب أن تكون :min على الأقل",
string: "الصفة :attribute يجب أن تكون :min حرف على الأقل."
},
max: {
numeric: 'الصفة :attribute لا يمكن أن تكون أكبر من :max.',
string: 'الصفة :attribute يجب أن لا تكون أكثر من :max حرف.'
numeric: "الصفة :attribute لا يمكن أن تكون أكبر من :max.",
string: "الصفة :attribute يجب أن لا تكون أكثر من :max حرف."
},
not_in: 'الصفة :attribute المختارة غير صحيحة.',
numeric: 'الصفة :attribute يجب أن تكون رقما.',
present: 'حقل الصفة :attribute يجب أن يكون معرفا ، يمكن أن يكون فارغا.',
required: 'حقل الصفة :attribute مطلوب.',
required_if: 'حقل الصفة :attribute مطلوب حين تكون قيمة الحقل :other تساوي :value.',
required_unless: 'حقل الصفة :attribute مطلوب حين تكون قيم الحقل :other لا تساوي :value.',
required_with: 'حقل الصفة :attribute مطلوب حين يكون الحقا :field غير فارغ.',
required_with_all: 'حقل الصفة :attribute مطلوب حين تكون الحقول :fields غير فارغة.',
required_without: 'حقل الصفة :attribute مطلوب حين يكون الحقل :field فارغا.',
required_without_all: 'حقل الصفة :attribute مطلوب حين تكون الحقول :fields فارغة.',
same: 'حقل الصفة :attribute و حقل الصفة :same يجب أن يتطابقا.',
not_in: "الصفة :attribute المختارة غير صحيحة.",
numeric: "الصفة :attribute يجب أن تكون رقما.",
present: "حقل الصفة :attribute يجب أن يكون معرفا ، يمكن أن يكون فارغا.",
required: "حقل الصفة :attribute مطلوب.",
required_if: "حقل الصفة :attribute مطلوب حين تكون قيمة الحقل :other تساوي :value.",
required_unless: "حقل الصفة :attribute مطلوب حين تكون قيم الحقل :other لا تساوي :value.",
required_with: "حقل الصفة :attribute مطلوب حين يكون الحقا :field غير فارغ.",
required_with_all: "حقل الصفة :attribute مطلوب حين تكون الحقول :fields غير فارغة.",
required_without: "حقل الصفة :attribute مطلوب حين يكون الحقل :field فارغا.",
required_without_all: "حقل الصفة :attribute مطلوب حين تكون الحقول :fields فارغة.",
same: "حقل الصفة :attribute و حقل الصفة :same يجب أن يتطابقا.",
size: {
numeric: 'الصفة :attribute يجب أن تكون :size.',
string: 'الصفة :attribute يجب أن تكون :size حرفا.'
numeric: "الصفة :attribute يجب أن تكون :size.",
string: "الصفة :attribute يجب أن تكون :size حرفا."
},
string: 'الصفة :attribute يجب أن تكون نص.',
url: 'الصفة :attribute صياغتها غير صحيحة.',
regex: 'الصفة :attribute صياغتها غير صحيحة.',
string: "الصفة :attribute يجب أن تكون نص.",
url: "الصفة :attribute صياغتها غير صحيحة.",
regex: "الصفة :attribute صياغتها غير صحيحة.",
attributes: {
username: 'اسم المستخدم',
password: 'كلمة المرور',
email: 'البريد الالكتروني',
website: 'الموقع الالكتروني',
firstname: 'الاسم الاول',
lastname: 'الاسم الاخير',
subject: 'الموضوع',
city: 'المدينة',
region: 'المنطقة',
country: 'الدولة',
street: 'الشارع',
zipcode: 'الرمز البريدي',
phone: 'رقم الهاتف',
mobile: 'رقم الجوال'
username: "اسم المستخدم",
password: "كلمة المرور",
email: "البريد الالكتروني",
website: "الموقع الالكتروني",
firstname: "الاسم الاول",
lastname: "الاسم الاخير",
subject: "الموضوع",
city: "المدينة",
region: "المنطقة",
country: "الدولة",
street: "الشارع",
zipcode: "الرمز البريدي",
phone: "رقم الهاتف",
mobile: "رقم الجوال"
}
};

Expand Down
Loading

0 comments on commit ab29abe

Please sign in to comment.