Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/mnrafg/select2 into hotfix
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* jslint maxlen: 87 */ | ||
define(function () { | ||
// Pashto (پښتو) | ||
return { | ||
errorLoading: function () { | ||
return 'پايلي نه سي ترلاسه کېدای'; | ||
}, | ||
inputTooLong: function (args) { | ||
var overChars = args.input.length - args.maximum; | ||
|
||
var message = 'د مهربانۍ لمخي ' + overChars + ' توری ړنګ کړئ'; | ||
|
||
if (overChars != 1) { | ||
message = message.replace('توری', 'توري'); | ||
} | ||
|
||
return message; | ||
}, | ||
inputTooShort: function (args) { | ||
var remainingChars = args.minimum - args.input.length; | ||
|
||
var message = 'لږ تر لږه ' + remainingChars + ' يا ډېر توري وليکئ'; | ||
|
||
return message; | ||
}, | ||
loadingMore: function () { | ||
return 'نوري پايلي ترلاسه کيږي...'; | ||
}, | ||
maximumSelected: function (args) { | ||
var message = 'تاسو يوازي ' + args.maximum + ' قلم په نښه کولای سی'; | ||
|
||
if (args.maximum != 1) { | ||
message = message.replace('قلم', 'قلمونه'); | ||
} | ||
|
||
return message; | ||
}, | ||
noResults: function () { | ||
return 'پايلي و نه موندل سوې'; | ||
}, | ||
searching: function () { | ||
return 'لټول کيږي...'; | ||
} | ||
}; | ||
}); |