Skip to content

Commit 284f6bb

Browse files
authored
Esperanto translation (select2#5823)
* Esperanto translation * shortening "inputTooShort" string the linting test failed because of string "inputTooShort" is too long
1 parent 4bd4bbc commit 284f6bb

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

src/js/select2/i18n/eo.js

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
define(function () {
2+
// Esperanto
3+
return {
4+
errorLoading: function () {
5+
return 'La rezultoj ne povas esti ŝargitaj.';
6+
},
7+
inputTooLong: function (args) {
8+
var overChars = args.input.length - args.maximum;
9+
10+
var message = 'Bonvolu forigi ' + overChars + ' signo';
11+
12+
if (overChars == 1) {
13+
message += 'n';
14+
} else {
15+
message += 'jn';
16+
}
17+
18+
return message;
19+
},
20+
inputTooShort: function (args) {
21+
var remainingChars = args.minimum - args.input.length;
22+
23+
var message = 'Bv. enigi ' + remainingChars + ' aŭ pli multajn signojn';
24+
25+
return message;
26+
},
27+
loadingMore: function () {
28+
return 'Ŝargado de pliaj rezultoj…';
29+
},
30+
maximumSelected: function (args) {
31+
var message = 'Vi povas elekti nur ' + args.maximum + ' ero';
32+
33+
if (args.maximum == 1) {
34+
message += 'n';
35+
} else {
36+
message += 'jn';
37+
}
38+
39+
return message;
40+
},
41+
noResults: function () {
42+
return 'Neniuj rezultoj trovitaj';
43+
},
44+
searching: function () {
45+
return 'Serĉado…';
46+
},
47+
removeAllItems: function () {
48+
return 'Forigi ĉiujn erojn';
49+
}
50+
};
51+
});

0 commit comments

Comments
 (0)