Skip to content

Commit

Permalink
Esperanto translation (select2#5823)
Browse files Browse the repository at this point in the history
* Esperanto translation

* shortening "inputTooShort" string

the linting test failed because of string "inputTooShort" is too long
  • Loading branch information
KuboF authored Apr 14, 2020
1 parent 4bd4bbc commit 284f6bb
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions src/js/select2/i18n/eo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
define(function () {
// Esperanto
return {
errorLoading: function () {
return 'La rezultoj ne povas esti ŝargitaj.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;

var message = 'Bonvolu forigi ' + overChars + ' signo';

if (overChars == 1) {
message += 'n';
} else {
message += 'jn';
}

return message;
},
inputTooShort: function (args) {
var remainingChars = args.minimum - args.input.length;

var message = 'Bv. enigi ' + remainingChars + ' aŭ pli multajn signojn';

return message;
},
loadingMore: function () {
return 'Ŝargado de pliaj rezultoj…';
},
maximumSelected: function (args) {
var message = 'Vi povas elekti nur ' + args.maximum + ' ero';

if (args.maximum == 1) {
message += 'n';
} else {
message += 'jn';
}

return message;
},
noResults: function () {
return 'Neniuj rezultoj trovitaj';
},
searching: function () {
return 'Serĉado…';
},
removeAllItems: function () {
return 'Forigi ĉiujn erojn';
}
};
});

0 comments on commit 284f6bb

Please sign in to comment.