Skip to content

Commit 52425f9

Browse files
committed
Merge pull request select2#2355 from stephane/i18n
I18n
2 parents 8fb7c15 + 00bad43 commit 52425f9

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ Integrations
4646
Internationalization (i18n)
4747
---------------------------
4848

49-
Select2 supports multiple languages by simply including the right
50-
language JS file (`select2_locale_it.js`, `select2_locale_nl.js`, etc.).
49+
Select2 supports multiple languages by simply including the right language JS
50+
file (`select2_locale_it.js`, `select2_locale_nl.js`, etc.) after `select2.js`.
5151

5252
Missing a language? Just copy `select2_locale_en.js.template`, translate
5353
it, and make a pull request back to Select2 here on GitHub.

select2_locale_fr.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
$.extend($.fn.select2.defaults, {
88
formatMatches: function (matches) { return matches + " résultats sont disponibles, utilisez les flèches haut et bas pour naviguer."; },
99
formatNoMatches: function () { return "Aucun résultat trouvé"; },
10-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Merci de saisir " + n + " caractère" + (n == 1 ? "" : "s") + " de plus"; },
11-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Merci de supprimer " + n + " caractère" + (n == 1 ? "" : "s"); },
10+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Saisissez " + n + " caractère" + (n == 1? "" : "s") + " supplémentaire" + (n == 1? "" : "s") ; },
11+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Supprimez " + n + " caractère" + (n == 1? "" : "s"); },
1212
formatSelectionTooBig: function (limit) { return "Vous pouvez seulement sélectionner " + limit + " élément" + (limit == 1 ? "" : "s"); },
1313
formatLoadMore: function (pageNumber) { return "Chargement de résultats supplémentaires…"; },
1414
formatSearching: function () { return "Recherche en cours…"; }

select2_locale_zh-TW.js

100755100644
File mode changed.

0 commit comments

Comments
 (0)