File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99- Updates to Slovak (#4915 )
1010- Fixed Norwegian ` inputTooShort ` message (#4896 )
1111- Add Bosnian translation (` bs ` ) (#4504 )
12+ - Improve French translation (#4988 )
1213
1314## 4.0.4
1415
Original file line number Diff line number Diff line change @@ -7,37 +7,18 @@ define(function () {
77 inputTooLong : function ( args ) {
88 var overChars = args . input . length - args . maximum ;
99
10- var message = 'Supprimez ' + overChars + ' caractère' ;
11-
12- if ( overChars !== 1 ) {
13- message += 's' ;
14- }
15-
16- return message ;
10+ return 'Supprimez ' + overChars + ' caractère' + ( overChars > 1 ) ? 's' : '' ;
1711 } ,
1812 inputTooShort : function ( args ) {
1913 var remainingChars = args . minimum - args . input . length ;
2014
21- var message = 'Saisissez ' + remainingChars + ' caractère' ;
22-
23- if ( remainingChars !== 1 ) {
24- message += 's' ;
25- }
26-
27- return message ;
15+ return 'Saisissez au moins ' + remainingChars + ' caractère' + ( remainingChars > 1 ) ? 's' : '' ;
2816 } ,
2917 loadingMore : function ( ) {
3018 return 'Chargement de résultats supplémentaires…' ;
3119 } ,
3220 maximumSelected : function ( args ) {
33- var message = 'Vous pouvez seulement sélectionner ' +
34- args . maximum + ' élément' ;
35-
36- if ( args . maximum !== 1 ) {
37- message += 's' ;
38- }
39-
40- return message ;
21+ return 'Vous pouvez seulement sélectionner ' + args . maximum + ' élément' + ( args . maximum > 1 ) ? 's' : '' ;
4122 } ,
4223 noResults : function ( ) {
4324 return 'Aucun résultat trouvé' ;
You can’t perform that action at this time.
0 commit comments