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 Nepali (ne) localization #5295

Merged
merged 2 commits into from May 25, 2018
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
47 changes: 47 additions & 0 deletions src/js/select2/i18n/ne.js
@@ -0,0 +1,47 @@
define(function () {
// Nepali
return {
errorLoading: function () {
return 'नतिजाहरु देखाउन सकिएन।';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;

var message = 'कृपया ' + overChars + ' अक्षर मेटाउनुहोस्।';

if (overChars != 1) {
message += 'कृपया ' + overChars + ' अक्षरहरु मेटाउनुहोस्।';
}

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 = 'तँपाई ' + args.maximum +
' वस्तुहरु मात्र छान्न पाउँनुहुन्छ।';
}

return message;
},
noResults: function () {
return 'कुनै पनि नतिजा भेटिएन।';
},
searching: function () {
return 'खोजि हुँदैछ…';
}
};
});