1
0
mirror of synced 2024-11-29 16:16:02 +03:00

Started adding more translations

This commit is contained in:
Kevin Brown 2014-11-26 23:19:04 -05:00
parent 07575f051c
commit fda973c34f
19 changed files with 236 additions and 29 deletions

1
dist/js/i18n/az.js vendored Normal file
View File

@ -0,0 +1 @@
window.$=window.$||{},function(){$&&$.fn&&$.fn.select2&&$.fn.select2.amd&&(define=$.fn.select2.amd.define,require=$.fn.select2.amd.require),define("select2/i18n/az",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return t+" simvol silin"},inputTooShort:function(e){var t=e.minimum-e.input.length;return t+" simvol daxil edin"},loadingMore:function(){return"Daha çox nəticə yüklənir…"},maximumSelected:function(e){return"Sadəcə "+e.maximum+" element seçə bilərsiniz"},noResults:function(){return"Nəticə tapılmadı"},searching:function(){return"Axtarılır…"}}}),require("jquery.select2"),$.fn.select2.amd={define:define,require:require}}();

1
dist/js/i18n/bg.js vendored Normal file
View File

@ -0,0 +1 @@
window.$=window.$||{},function(){$&&$.fn&&$.fn.select2&&$.fn.select2.amd&&(define=$.fn.select2.amd.define,require=$.fn.select2.amd.require),define("select2/i18n/bg",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Моля въведете с "+t+" по-малко символ";return t>1&&(n+="a"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Моля въведете още "+t+" символ";return t>1&&(n+="a"),n},loadingMore:function(){return"Зареждат се още…"},maximumSelected:function(e){var t="Можете да направите до "+e.maximum+" ";return e.maximum>1?t+="избора":t+="избор",t},noResults:function(){return"Няма намерени съвпадения"},searching:function(){return"Търсене…"}}}),require("jquery.select2"),$.fn.select2.amd={define:define,require:require}}();

1
dist/js/i18n/da.js vendored Normal file
View File

@ -0,0 +1 @@
window.$=window.$||{},function(){$&&$.fn&&$.fn.select2&&$.fn.select2.amd&&(define=$.fn.select2.amd.define,require=$.fn.select2.amd.require),define("select2/i18n/da",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Angiv venligst "+t+" tegn mindre";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Angiv venligst "+t+" tegn mere";return n},loadingMore:function(){return"Indlæser flere resultater…"},maximumSelected:function(e){var t="Du kan kun vælge "+e.maximum+" emne";return e.maximum!=1&&(t+="r"),t},noResults:function(){return"Ingen resultater fundet"},searching:function(){return"Søger…"}}}),require("jquery.select2"),$.fn.select2.amd={define:define,require:require}}();

2
dist/js/i18n/en.js vendored
View File

@ -1 +1 @@
window.$=window.$||{},function(){$&&$.fn&&$.fn.select2&&$.fn.select2.amd&&(define=$.fn.select2.amd.define,require=$.fn.select2.amd.require),define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return t!=1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Please enter "+t+" or more character";return t!=1&&(n+="s"),n},searching:function(){return"Searching…"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select"+e.maximum+" item";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No results found"}}}),require("jquery.select2"),$.fn.select2.amd={define:define,require:require}}(); window.$=window.$||{},function(){$&&$.fn&&$.fn.select2&&$.fn.select2.amd&&(define=$.fn.select2.amd.define,require=$.fn.select2.amd.require),define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return t!=1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Please enter "+t+" or more character";return t!=1&&(n+="s"),n},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),require("jquery.select2"),$.fn.select2.amd={define:define,require:require}}();

2
dist/js/i18n/es.js vendored
View File

@ -1 +1 @@
window.$=window.$||{},function(){$&&$.fn&&$.fn.select2&&$.fn.select2.amd&&(define=$.fn.select2.amd.define,require=$.fn.select2.amd.require),define("select2/i18n/es",[],function(){return{inputTooShort:function(e){var t="Por favor, introduzca "+remainingChars+" car";return remainingChars==1?t+="ácter":t+="acteres",t},loadingMore:function(){return"Cargando más resultados…"},noResults:function(){return"No se encontraron resultados"}}}),require("jquery.select2"),$.fn.select2.amd={define:define,require:require}}(); window.$=window.$||{},function(){$&&$.fn&&$.fn.select2&&$.fn.select2.amd&&(define=$.fn.select2.amd.define,require=$.fn.select2.amd.require),define("select2/i18n/es",[],function(){return{errorLoading:function(){return"La carga falló"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Por favor, elimine "+t+" car";return t==1?n+="ácter":n+="acteres",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Por favor, introduzca "+remainingChars+" car";return remainingChars==1?n+="ácter":n+="acteres",n},loadingMore:function(){return"Cargando más resultados…"},maximumSelection:function(e){var t="Sólo puede seleccionar "+e.maximum+" elemento";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No se encontraron resultados"},searching:function(){return"Buscando…"}}}),require("jquery.select2"),$.fn.select2.amd={define:define,require:require}}();

1
dist/js/i18n/et.js vendored Normal file
View File

@ -0,0 +1 @@
window.$=window.$||{},function(){$&&$.fn&&$.fn.select2&&$.fn.select2.amd&&(define=$.fn.select2.amd.define,require=$.fn.select2.amd.require),define("select2/i18n/et",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Sisesta "+t+" täht";return t!=1&&(n+="e"),n+=" vähem",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Sisesta "+t+" täht";return t!=1&&(n+="e"),n+=" rohkem",n},loadingMore:function(){return"Laen tulemusi…"},maximumSelected:function(e){var t="Saad vaid "+e.maximum+" tulemus";return e.maximum==1?t+="e":t+="t",t+=" valida",t},noResults:function(){return"Tulemused puuduvad"},searching:function(){return"Otsin…"}}}),require("jquery.select2"),$.fn.select2.amd={define:define,require:require}}();

View File

@ -2947,14 +2947,11 @@ define('select2/i18n/en',[],function () {
return message; return message;
}, },
searching: function () {
return 'Searching…';
},
loadingMore: function () { loadingMore: function () {
return 'Loading more results…'; return 'Loading more results…';
}, },
maximumSelected: function (args) { maximumSelected: function (args) {
var message = 'You can only select' + args.maximum + ' item'; var message = 'You can only select ' + args.maximum + ' item';
if (args.maximum != 1) { if (args.maximum != 1) {
message += 's'; message += 's';
@ -2964,6 +2961,9 @@ define('select2/i18n/en',[],function () {
}, },
noResults: function () { noResults: function () {
return 'No results found'; return 'No results found';
},
searching: function () {
return 'Searching…';
} }
}; };
}); });
@ -3115,7 +3115,9 @@ define('select2/defaults',[
if ($.isArray(options.language)) { if ($.isArray(options.language)) {
var languages = new Translation(); var languages = new Translation();
var languageNames = options.language.concat(this.defaults.language); options.language.push('en');
var languageNames = options.language;
for (var l = 0; l < languageNames.length; l++) { for (var l = 0; l < languageNames.length; l++) {
var name = languageNames[l]; var name = languageNames[l];

View File

@ -2947,14 +2947,11 @@ define('select2/i18n/en',[],function () {
return message; return message;
}, },
searching: function () {
return 'Searching…';
},
loadingMore: function () { loadingMore: function () {
return 'Loading more results…'; return 'Loading more results…';
}, },
maximumSelected: function (args) { maximumSelected: function (args) {
var message = 'You can only select' + args.maximum + ' item'; var message = 'You can only select ' + args.maximum + ' item';
if (args.maximum != 1) { if (args.maximum != 1) {
message += 's'; message += 's';
@ -2964,6 +2961,9 @@ define('select2/i18n/en',[],function () {
}, },
noResults: function () { noResults: function () {
return 'No results found'; return 'No results found';
},
searching: function () {
return 'Searching…';
} }
}; };
}); });
@ -3115,7 +3115,9 @@ define('select2/defaults',[
if ($.isArray(options.language)) { if ($.isArray(options.language)) {
var languages = new Translation(); var languages = new Translation();
var languageNames = options.language.concat(this.defaults.language); options.language.push('en');
var languageNames = options.language;
for (var l = 0; l < languageNames.length; l++) { for (var l = 0; l < languageNames.length; l++) {
var name = languageNames[l]; var name = languageNames[l];

View File

@ -12482,14 +12482,11 @@ define('select2/i18n/en',[],function () {
return message; return message;
}, },
searching: function () {
return 'Searching…';
},
loadingMore: function () { loadingMore: function () {
return 'Loading more results…'; return 'Loading more results…';
}, },
maximumSelected: function (args) { maximumSelected: function (args) {
var message = 'You can only select' + args.maximum + ' item'; var message = 'You can only select ' + args.maximum + ' item';
if (args.maximum != 1) { if (args.maximum != 1) {
message += 's'; message += 's';
@ -12499,6 +12496,9 @@ define('select2/i18n/en',[],function () {
}, },
noResults: function () { noResults: function () {
return 'No results found'; return 'No results found';
},
searching: function () {
return 'Searching…';
} }
}; };
}); });
@ -12650,7 +12650,9 @@ define('select2/defaults',[
if ($.isArray(options.language)) { if ($.isArray(options.language)) {
var languages = new Translation(); var languages = new Translation();
var languageNames = options.language.concat(this.defaults.language); options.language.push('en');
var languageNames = options.language;
for (var l = 0; l < languageNames.length; l++) { for (var l = 0; l < languageNames.length; l++) {
var name = languageNames[l]; var name = languageNames[l];

File diff suppressed because one or more lines are too long

12
dist/js/select2.js vendored
View File

@ -3375,14 +3375,11 @@ define('select2/i18n/en',[],function () {
return message; return message;
}, },
searching: function () {
return 'Searching…';
},
loadingMore: function () { loadingMore: function () {
return 'Loading more results…'; return 'Loading more results…';
}, },
maximumSelected: function (args) { maximumSelected: function (args) {
var message = 'You can only select' + args.maximum + ' item'; var message = 'You can only select ' + args.maximum + ' item';
if (args.maximum != 1) { if (args.maximum != 1) {
message += 's'; message += 's';
@ -3392,6 +3389,9 @@ define('select2/i18n/en',[],function () {
}, },
noResults: function () { noResults: function () {
return 'No results found'; return 'No results found';
},
searching: function () {
return 'Searching…';
} }
}; };
}); });
@ -3543,7 +3543,9 @@ define('select2/defaults',[
if ($.isArray(options.language)) { if ($.isArray(options.language)) {
var languages = new Translation(); var languages = new Translation();
var languageNames = options.language.concat(this.defaults.language); options.language.push('en');
var languageNames = options.language;
for (var l = 0; l < languageNames.length; l++) { for (var l = 0; l < languageNames.length; l++) {
var name = languageNames[l]; var name = languageNames[l];

File diff suppressed because one or more lines are too long

View File

@ -145,7 +145,9 @@ define([
if ($.isArray(options.language)) { if ($.isArray(options.language)) {
var languages = new Translation(); var languages = new Translation();
var languageNames = options.language.concat(this.defaults.language); options.language.push('en');
var languageNames = options.language;
for (var l = 0; l < languageNames.length; l++) { for (var l = 0; l < languageNames.length; l++) {
var name = languageNames[l]; var name = languageNames[l];

26
src/js/select2/i18n/az.js vendored Normal file
View File

@ -0,0 +1,26 @@
define(function () {
return {
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
return overChars + ' simvol silin';
},
inputTooShort: function (args) {
var remainingChars = args.minimum - args.input.length;
return remainingChars + ' simvol daxil edin';
},
loadingMore: function () {
return 'Daha çox nəticə yüklənir…';
},
maximumSelected: function (args) {
return 'Sadəcə ' + args.maximum + ' element seçə bilərsiniz';
},
noResults: function () {
return 'Nəticə tapılmadı';
},
searching: function () {
return 'Axtarılır…';
}
};
});

46
src/js/select2/i18n/bg.js vendored Normal file
View File

@ -0,0 +1,46 @@
define(function () {
return {
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Моля въведете с ' + overChars + ' по-малко символ';
if (overChars > 1) {
message += 'a';
}
return message;
},
inputTooShort: function (args) {
var remainingChars = args.minimum - args.input.length;
var message = 'Моля въведете още ' + remainingChars + ' символ';
if (remainingChars > 1) {
message += 'a';
}
return message;
},
loadingMore: function () {
return 'Зареждат се още…';
},
maximumSelected: function (args) {
var message = 'Можете да направите до ' + args.maximum + ' ';
if (args.maximum > 1) {
message += 'избора';
} else {
message += 'избор';
}
return message;
},
noResults: function () {
return 'Няма намерени съвпадения';
},
searching: function () {
return 'Търсене…';
}
};
});

39
src/js/select2/i18n/da.js vendored Normal file
View File

@ -0,0 +1,39 @@
define(function () {
return {
errorLoading: function () {
return 'The results could not be loaded.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Angiv venligst ' + overChars + ' tegn mindre';
return message;
},
inputTooShort: function (args) {
var remainingChars = args.minimum - args.input.length;
var message = 'Angiv venligst ' + remainingChars + ' tegn mere';
return message;
},
loadingMore: function () {
return 'Indlæser flere resultater…';
},
maximumSelected: function (args) {
var message = 'Du kan kun vælge ' + args.maximum + ' emne';
if (args.maximum != 1) {
message += 'r';
}
return message;
},
noResults: function () {
return 'Ingen resultater fundet';
},
searching: function () {
return 'Søger…';
}
};
});

View File

@ -25,14 +25,11 @@ define(function () {
return message; return message;
}, },
searching: function () {
return 'Searching…';
},
loadingMore: function () { loadingMore: function () {
return 'Loading more results…'; return 'Loading more results…';
}, },
maximumSelected: function (args) { maximumSelected: function (args) {
var message = 'You can only select' + args.maximum + ' item'; var message = 'You can only select ' + args.maximum + ' item';
if (args.maximum != 1) { if (args.maximum != 1) {
message += 's'; message += 's';
@ -42,6 +39,9 @@ define(function () {
}, },
noResults: function () { noResults: function () {
return 'No results found'; return 'No results found';
},
searching: function () {
return 'Searching…';
} }
}; };
}); });

View File

@ -1,6 +1,24 @@
define(function () { define(function () {
return { return {
errorLoading: function () {
return 'La carga falló';
},
inputTooLong: function (args) {
var remainingChars = args.input.length - args.maximum;
var message = 'Por favor, elimine ' + remainingChars + ' car';
if (remainingChars == 1) {
message += 'ácter';
} else {
message += 'acteres';
}
return message;
},
inputTooShort: function (args) { inputTooShort: function (args) {
var remaningChars = args.minimum - args.input.length;
var message = 'Por favor, introduzca ' + remainingChars + ' car'; var message = 'Por favor, introduzca ' + remainingChars + ' car';
if (remainingChars == 1) { if (remainingChars == 1) {
@ -14,8 +32,20 @@ define(function () {
loadingMore: function () { loadingMore: function () {
return 'Cargando más resultados…'; return 'Cargando más resultados…';
}, },
maximumSelection: function (args) {
var message = 'Sólo puede seleccionar ' + args.maximum + ' elemento';
if (args.maximum != 1) {
message += 's';
}
return message;
},
noResults: function () { noResults: function () {
return 'No se encontraron resultados'; return 'No se encontraron resultados';
},
searching: function () {
return 'Buscando…';
} }
}; };
}); });

52
src/js/select2/i18n/et.js vendored Normal file
View File

@ -0,0 +1,52 @@
define(function () {
return {
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Sisesta ' + overChars + ' täht';
if (overChars != 1) {
message += 'e';
}
message += ' vähem';
return message;
},
inputTooShort: function (args) {
var remainingChars = args.minimum - args.input.length;
var message = 'Sisesta ' + remainingChars + ' täht';
if (remainingChars != 1) {
message += 'e';
}
message += ' rohkem';
return message;
},
loadingMore: function () {
return 'Laen tulemusi…';
},
maximumSelected: function (args) {
var message = 'Saad vaid ' + args.maximum + ' tulemus';
if (args.maximum == 1) {
message += 'e';
} else {
message += 't';
}
message += ' valida';
return message;
},
noResults: function () {
return 'Tulemused puuduvad';
},
searching: function () {
return 'Otsin…';
}
};
});