Add Slovene translation
This closes https://github.com/select2/select2/pull/4576.
This commit is contained in:
parent
4df965219e
commit
8e6422c570
54
src/js/select2/i18n/sl.js
vendored
Normal file
54
src/js/select2/i18n/sl.js
vendored
Normal 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…';
|
||||||
|
}
|
||||||
|
};
|
||||||
|
});
|
Loading…
x
Reference in New Issue
Block a user