1
0
mirror of synced 2024-11-25 22:36:03 +03:00

Fixing errors in FR locale. Added missing pl/pt-BR locales in dist.

This commit is contained in:
Yanick Rochon 2015-02-06 03:46:58 -05:00
parent 470bc9ff64
commit 75aa419d0a
10 changed files with 12 additions and 10 deletions

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

@ -1 +1 @@
(function(){if(window.define)var e=window.define;if(window.require)var t=window.require;if(window.jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd.define,t=jQuery.fn.select2.amd.require;e("select2/i18n/fr",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n='Supprimez " + n + " caractère';return t!==1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n='Saisissez " + n + " caractère';return overChars!==1&&(n+="s"),n},loadingMore:function(){return"Chargement de résultats supplémentaires…"},maximumSelection:function(e){var t="Vous pouvez seulement sélectionner "+e.maximum+" élément";return e.maximum!==1&&(t+="s"),t},noResults:function(){return"Aucun résultat trouvé"},searching:function(){return"Recherche en cours…"}}}),t("jquery.select2"),jQuery.fn.select2.amd={define:e,require:t}})();
(function(){if(window.define)var e=window.define;if(window.require)var t=window.require;if(window.jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd.define,t=jQuery.fn.select2.amd.require;e("select2/i18n/fr",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Supprimez "+t+" caractère";return t!==1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Saisissez "+t+" caractère";return t!==1&&(n+="s"),n},loadingMore:function(){return"Chargement de résultats supplémentaires…"},maximumSelection:function(e){var t="Vous pouvez seulement sélectionner "+e.maximum+" élément";return e.maximum!==1&&(t+="s"),t},noResults:function(){return"Aucun résultat trouvé"},searching:function(){return"Recherche en cours…"}}}),t("jquery.select2"),jQuery.fn.select2.amd={define:e,require:t}})();

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

@ -0,0 +1 @@
(function(){if(window.define)var e=window.define;if(window.require)var t=window.require;if(window.jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd.define,t=jQuery.fn.select2.amd.require;e("select2/i18n/pl",[],function(){var e=["znak","znaki","znaków"],t=["element","elementy","elementów"],n=function(t,n){if(t===1)return n[0];if(t>1&&t<=4)return n[1];if(t>=5)return n[2]};return{errorLoading:function(){return"Nie można załadować wyników."},inputTooLong:function(t){var r=t.input.length-t.maximum;return"Usuń "+r+" "+n(r,e)},inputTooShort:function(t){var r=t.minimum-t.input.length;return"Podaj przynajmniej "+r+" "+n(r,e)},loadingMore:function(){return"Trwa ładowanie…"},maximumSelected:function(e){return"Możesz zaznaczyć tylko "+e.maximum+" "+n(e.maxiumum,t)},noResults:function(){return"Brak wyników"},searching:function(){return"Trwa wyszukiwanie…"}}}),t("jquery.select2"),jQuery.fn.select2.amd={define:e,require:t}})();

1
dist/js/i18n/pt-BR.js vendored Normal file
View File

@ -0,0 +1 @@
(function(){if(window.define)var e=window.define;if(window.require)var t=window.require;if(window.jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd.define,t=jQuery.fn.select2.amd.require;e("select2/i18n/pt-BR",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Apague "+t+" caracter";return t!=1&&(n+="es"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Digite "+t+" ou mais caracteres";return n},loadingMore:function(){return"Carregando mais resultados…"},maximumSelected:function(e){var t="Você só pode selecionar "+e.maximum+" ite";return e.maximum==1?t+="m":t+="ns",t},noResults:function(){return"Nenhum resultado encontrado"},searching:function(){return"Buscando…"}}}),t("jquery.select2"),jQuery.fn.select2.amd={define:e,require:t}})();

View File

@ -2993,7 +2993,7 @@ define('select2/data/maximumInputLength',[
this.trigger('results:message', {
message: 'inputTooLong',
args: {
minimum: this.maximumInputLength,
maximum: this.maximumInputLength,
input: params.term,
params: params
}

View File

@ -2993,7 +2993,7 @@ define('select2/data/maximumInputLength',[
this.trigger('results:message', {
message: 'inputTooLong',
args: {
minimum: this.maximumInputLength,
maximum: this.maximumInputLength,
input: params.term,
params: params
}

View File

@ -3431,7 +3431,7 @@ define('select2/data/maximumInputLength',[
this.trigger('results:message', {
message: 'inputTooLong',
args: {
minimum: this.maximumInputLength,
maximum: this.maximumInputLength,
input: params.term,
params: params
}

File diff suppressed because one or more lines are too long

2
dist/js/select2.js vendored
View File

@ -3431,7 +3431,7 @@ define('select2/data/maximumInputLength',[
this.trigger('results:message', {
message: 'inputTooLong',
args: {
minimum: this.maximumInputLength,
maximum: this.maximumInputLength,
input: params.term,
params: params
}

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@ define(function () {
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Supprimez " + n + " caractère';
var message = 'Supprimez ' + overChars + ' caractère';
if (overChars !== 1) {
message += 's';
@ -15,9 +15,9 @@ define(function () {
inputTooShort: function (args) {
var remainingChars = args.minimum - args.input.length;
var message = 'Saisissez " + n + " caractère';
var message = 'Saisissez ' + remainingChars + ' caractère';
if (overChars !== 1) {
if (remainingChars !== 1) {
message += 's';
}