Lines 25-55
Link Here
|
25 |
}, |
25 |
}, |
26 |
|
26 |
|
27 |
// Internationalization |
27 |
// Internationalization |
28 |
formatMatches: function (matches) { |
28 |
language: { |
29 |
if (matches === 1) { |
29 |
errorLoading:function(){return"The results could not be loaded."}, |
30 |
return _("One result is available, press enter to select it."); |
30 |
inputTooLong:function(e){ |
31 |
} |
31 |
var n = e.input.length - e.max; |
32 |
return _("%s results are available, use up and down arrow keys to navigate.").format(matches); |
32 |
return _("Please delete %d character(s)").format(n); |
33 |
}, |
33 |
}, |
34 |
formatNoMatches: function () { |
34 |
inputTooShort:function(e){ |
35 |
return _("No matches found"); |
35 |
var n = e.min - e.input.length; |
36 |
}, |
36 |
return _("Please enter %n or more characters").format(n); |
37 |
formatInputTooShort: function (input, min) { |
37 |
}, |
38 |
var n = min - input.length; |
38 |
loadingMore:function(){return"Loading more results…"}, |
39 |
return _("Please enter %n or more characters").format(n); |
39 |
maximumSelected:function(e){ |
40 |
}, |
40 |
return _("You can only select %s item(s)").format(e.max); |
41 |
formatInputTooLong: function (input, max) { |
41 |
}, |
42 |
var n = input.length - max; |
42 |
noResults:function(){return _("No results found")}, |
43 |
return _("Please delete %d character(s)").format(n); |
43 |
searching:function(){return _("Searching…")}, |
44 |
}, |
44 |
removeAllItems:function(){return _("Remove all items")}, |
45 |
formatSelectionTooBig: function (limit) { |
45 |
removeItem:function(){return _("Remove item")} |
46 |
return _("You can only select %s item(s)").format(limit); |
|
|
47 |
}, |
48 |
formatLoadMore: function (pageNumber) { |
49 |
return _("Loading more results…"); |
50 |
}, |
51 |
formatSearching: function () { |
52 |
return _("Searching…"); |
53 |
} |
46 |
} |
54 |
}); |
47 |
}); |
55 |
</script> |
48 |
</script> |
56 |
- |
|
|