File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ function actualizeActualBookings(_actualBookings) {
125
125
126
126
const participantCount = div ( container ) ;
127
127
participantCount . innerHTML = _actualBookings [ j ] . participantCount ;
128
- participantCount . title = Cahier . getSingularOrPlural ( _actualBookings [ j ] . participantCount ) ;
128
+ participantCount . title = Cahier . getSingularOrPlural ( _actualBookings [ j ] . participantCount , ' Participant' ) ;
129
129
130
130
div ( container ) . innerHTML = Cahier . getOwner ( _actualBookings [ j ] , true ) ;
131
131
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export const Cahier = {
57
57
}
58
58
} ,
59
59
60
- getSingularOrPlural : function ( nbr = Cahier . nbrParticipants , txt = ' Participant' ) {
60
+ getSingularOrPlural : function ( nbr , txt ) {
61
61
if ( nbr == 0 ) {
62
62
return 'Aucun' ;
63
63
} else if ( nbr == 1 ) {
You can’t perform that action at this time.
0 commit comments