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 Pashto (ps) Language #4960

Merged
merged 5 commits into from Oct 25, 2017
Merged
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
45 changes: 45 additions & 0 deletions src/js/select2/i18n/ps.js
@@ -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 'لټول کيږي...';
}
};
});