Skip to content

Commit

Permalink
Merge pull request mikeerickson#121 from ecmel/master
Browse files Browse the repository at this point in the history
Add Turkish (tr) localization
  • Loading branch information
David Tang committed Aug 21, 2016
2 parents a1a5db5 + dd34505 commit c7ff9cb
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ module.exports = function(grunt) {
},
dest: 'dist/lang/ja.js'
},
trLang: {
src: [],
options: {
require: ['./src/lang/tr:./lang/tr']
},
dest: 'dist/lang/tr.js'
},
dist: {
files: {
'dist/validator.js': 'src/validator.js'
Expand Down
36 changes: 36 additions & 0 deletions src/lang/tr.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
module.exports = {
accepted: ':attribute kabul edilmeli.',
alpha: ':attribute alanı sadece harflerden oluşabilir.',
alpha_dash: ':attribute alanı sadece alfa-nümerik, tire ve alt çizgi karakterlerden oluşabilir.',
alpha_num: ':attribute alanı alfa-nümerik olmalıdır.',
between: ':attribute alanı :min ile :max arasında olabilir.',
confirmed: ':attribute uyuşmuyor.',
email: ':attribute formatı geçersiz.',
date: ':attribute geöerli bir tarih alanı değil.',
def: ':attribute hatalar içeriyor.',
digits: ':attribute sadece rakamlardan oluşabilir.',
different: ':attribute ve :different farklı olmalı.',
'in': 'Seçilen :attribute geçerli değil.',
integer: ':attribute tam sayı olmalı.',
min: {
numeric: ':attribute en az :min olmalı.',
string: ':attribute en az :min karakter uzunluğunda olmalı.'
},
max: {
numeric: ':attribute en çok :max olabilir.',
string: ':attribute uzunluğu en çok :max karakter uzunluğunda olabilir.'
},
not_in: 'Seçilen :attribute geçerli değil.',
numeric: ':attribute sayı olmalı.',
required: ':attribute alanı gerekli.',
required_if: ':attribute alanı :other alanı :value olduğunda gerekli.',
same: ':attribute ve :same aynı olmalı.',
size: {
numeric: ':attribute :size olmalı.',
string: ':attribute :size karakter uzunluğunda olmalı.'
},
string: ':attribute alfa-numerik olmalı.',
url: ':attribute formatı geçersiz.',
regex: ':attribute formatı geçersiz.',
attributes: {}
};

0 comments on commit c7ff9cb

Please sign in to comment.