##// END OF EJS Templates
release: merge back stable branch into default
release: merge back stable branch into default

File last commit:

r325:9f2e29d4 stable
r334:8c44af47 merge default
Show More
translations.js
43 lines | 1.5 KiB | application/javascript | JavascriptLexer
project: added all source files and assets
r1 // translate select2 components
select2Locales = {
formatLoadMore: function(pageNumber) {
i18n: replaced fragile extraction of JS translations from an _TM variable....
r325 return _gettext("Loading more results...");
project: added all source files and assets
r1 },
formatSearching: function() {
i18n: replaced fragile extraction of JS translations from an _TM variable....
r325 return _gettext("Searching...");
project: added all source files and assets
r1 },
formatNoMatches: function() {
i18n: replaced fragile extraction of JS translations from an _TM variable....
r325 return _gettext("No matches found");
project: added all source files and assets
r1 },
formatAjaxError: function(jqXHR, textStatus, errorThrown) {
i18n: replaced fragile extraction of JS translations from an _TM variable....
r325 return _gettext("Loading failed");
project: added all source files and assets
r1 },
formatMatches: function(matches) {
if (matches === 1) {
i18n: replaced fragile extraction of JS translations from an _TM variable....
r325 return _gettext("One result is available, press enter to select it.");
project: added all source files and assets
r1 }
i18n: replaced fragile extraction of JS translations from an _TM variable....
r325 return _gettext("{0} results are available, use up and down arrow keys to navigate.").format(matches);
project: added all source files and assets
r1 },
formatInputTooShort: function(input, min) {
var n = min - input.length;
i18n: replaced fragile extraction of JS translations from an _TM variable....
r325 if (n === 1) {
return _gettext("Please enter {0} or more character").format(n);
}
return _gettext("Please enter {0} or more characters").format(n);
project: added all source files and assets
r1 },
formatInputTooLong: function(input, max) {
var n = input.length - max;
i18n: replaced fragile extraction of JS translations from an _TM variable....
r325 if (n === 1) {
return _gettext("Please delete {0} character").format(n);
}
return _gettext("Please delete {0} characters").format(n);
project: added all source files and assets
r1 },
formatSelectionTooBig: function(limit) {
i18n: replaced fragile extraction of JS translations from an _TM variable....
r325 if (limit === 1) {
return _gettext("You can only select {0} item").format(limit);
}
return _gettext("You can only select {0} items").format(limit);
project: added all source files and assets
r1 }
};
$.extend($.fn.select2.defaults, select2Locales);