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 uzbek translation #428

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*global module:false*/
module.exports = function(grunt) {
module.exports = function (grunt) {
'use strict';

require('jit-grunt')(grunt);
Expand Down Expand Up @@ -344,7 +344,13 @@ module.exports = function(grunt) {
},
dest: 'dist/lang/zh_TW.js'
},

uzLang: {
src: [],
options: {
require: ['./src/lang/uz:./lang/uz']
},
dest: 'dist/lang/uz.js'
},
dist: {
files: {
'dist/validator.js': 'src/validator.js'
Expand Down
40 changes: 40 additions & 0 deletions dist/lang/uz.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
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/uz":[function(require,module,exports){
module.exports = {
accepted: 'Siz :attribute ni qabul qilishingiz kerak.',
alpha: ':attribute maydoni faqat harflardan iborat bo`lishi mumkin.',
alpha_dash: ':attribute maydoni faqat harflar, raqamlar, chiziqlar va pastki chiziqlardan iborat bo`lishi mumkin.',
alpha_num: ':attribute maydoni faqat harflar va raqamlarni o`z ichiga olishi mumkin.',
between: ':attribute maydoni :min va :max orasida bo`lishi kerak.',
confirmed: ':attribute maydoni tasdiq bilan mos kelmaydi.',
email: ':attribute maydoniga haqiqiy elektron pochta manzili kiritilishi kerak.',
def: ':attribute maydonida xatolar mavjud.',
digits: ':attribute maydonning uzunligi :digits bo`lishi kerak',
digits_between: ':attribute maydonining uzunligi :min dan :max belgilargacha bo`lishi kerak.',
different: ':attribute va :different maydonlar qiymatlari farqli bo`lishi kerak.',
in: ':attribute uchun tanlangan qiymat noto`g`ri.',
integer: ':attribute maydoni butun sonlardan bo`lishi kerak.',
hex: ':attribute maydoni o`n oltilik formatda bo`lishi kerak',
min: {
numeric: ':attribute maydonining qiymati :min dan katta yoki unga teng bo`lishi kerak.',
string: ':attribute maydonidagi belgilar soni kamida :min bo`lishi kerak.'
},
max: {
numeric: ':attribute maydonining qiymati :max dan kam yoki unga teng bo`lishi kerak.',
string: ':attribute maydonidagi belgilar soni :max dan oshmasligi kerak.'
},
not_in: ':attribute uchun tanlangan qiymat xato.',
numeric: ':attribute maydoni raqamlardan iborat bo`lishi kerak.',
present: ':attribute maydoni mavjud bo`lishi kerak (lekin bo`sh bo`lishi mumkin).',
required: ':attribute maydoni to`ldirilishi talab qilinadi.',
required_if: 'Поле :attribute требуется когда значения поля :other равно :value. :attribute maydoni :other maydonining qiymati :value bo`lganida talab qilinadi.',
same: ':atribute qiymati :same bilan mos kelishi kerak.',
size: {
numeric: ':attribute maydonining qiymati :size o`lchamiga teng bo`lishi kerak.',
string: ':attribute maydonidagi belgilar soni :size ta bo`lishi kerak.'
},
url: ':attribute maydonida to`g`ri URL manzili kiritilishi kerak.',
regex: ':attribute maydon formati noto`g`ri.',
attributes: {}
};

},{}]},{},[]);
2 changes: 1 addition & 1 deletion dist/validator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! validatorjs - 2020-12-03 */
/*! validatorjs - 2021-06-18 */
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Validator = f()}})(function(){var define,module,exports;return (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})()({1:[function(require,module,exports){
function AsyncResolvers(onFailedOne, onResolvedAll) {
this.onResolvedAll = onResolvedAll;
Expand Down
Loading