1
0
mirror of synced 2025-03-10 22:56:12 +03:00

Add Slovene translation

This closes https://github.com/select2/select2/pull/4576.
This commit is contained in:
mitja-p 2016-09-11 19:43:43 +02:00 committed by Kevin Brown
parent 4df965219e
commit 8e6422c570

54
src/js/select2/i18n/sl.js vendored Normal file
View File

@ -0,0 +1,54 @@
define(function () {
// Slovene
return {
errorLoading: function () {
return 'Zadetkov iskanja ni bilo mogoče naložiti.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Prosim zbrišite ' + overChars + ' znak';
if (overChars == 2) {
message += 'a';
} else if (overChars != 1) {
message += 'e';
}
return message;
},
inputTooShort: function (args) {
var remainingChars = args.minimum - args.input.length;
var message = 'Prosim vpišite še ' + remainingChars + ' znak';
if (remainingChars == 2) {
message += 'a';
} else if (remainingChars != 1) {
message += 'e';
}
return message;
},
loadingMore: function () {
return 'Nalagam več zadetkov…';
},
maximumSelected: function (args) {
var message = 'Označite lahko največ ' + args.maximum + ' predmet';
if (args.maximum == 2) {
message += 'a';
} else if (args.maximum != 1) {
message += 'e';
}
return message;
},
noResults: function () {
return 'Ni zadetkov.';
},
searching: function () {
return 'Iščem…';
}
};
});