diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-02-03 00:47:36 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-02-03 00:47:36 +0100 |
commit | d3959af5b232f0ab121c5e32032d1389d0e97139 (patch) | |
tree | f534b977e4ac343dee05e152969a0f7309bdbc79 /ishtar_common/static/select2/js/select2_locale_fr.js | |
parent | 0897d112514dbf022765b7557f6441f6f2417f7b (diff) | |
download | Ishtar-d3959af5b232f0ab121c5e32032d1389d0e97139.tar.bz2 Ishtar-d3959af5b232f0ab121c5e32032d1389d0e97139.zip |
Select2 library v4.0.0b -> v3.5.2
Diffstat (limited to 'ishtar_common/static/select2/js/select2_locale_fr.js')
-rw-r--r-- | ishtar_common/static/select2/js/select2_locale_fr.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ishtar_common/static/select2/js/select2_locale_fr.js b/ishtar_common/static/select2/js/select2_locale_fr.js new file mode 100644 index 000000000..d5485d6be --- /dev/null +++ b/ishtar_common/static/select2/js/select2_locale_fr.js @@ -0,0 +1,18 @@ +/** + * Select2 French translation + */ +(function ($) { + "use strict"; + + $.fn.select2.locales['fr'] = { + formatMatches: function (matches) { return matches + " résultats sont disponibles, utilisez les flèches haut et bas pour naviguer."; }, + formatNoMatches: function () { return "Aucun résultat trouvé"; }, + formatInputTooShort: function (input, min) { var n = min - input.length; return "Saisissez " + n + " caractère" + (n == 1? "" : "s") + " supplémentaire" + (n == 1? "" : "s") ; }, + formatInputTooLong: function (input, max) { var n = input.length - max; return "Supprimez " + n + " caractère" + (n == 1? "" : "s"); }, + formatSelectionTooBig: function (limit) { return "Vous pouvez seulement sélectionner " + limit + " élément" + (limit == 1 ? "" : "s"); }, + formatLoadMore: function (pageNumber) { return "Chargement de résultats supplémentaires…"; }, + formatSearching: function () { return "Recherche en cours…"; } + }; + + $.extend($.fn.select2.defaults, $.fn.select2.locales['fr']); +})(jQuery); |