Subversion Repositories eFlore/Applications.cel

Rev

Rev 3039 | Rev 3079 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3039 Rev 3040
Line 118... Line 118...
118
		var stationNbreFormate = stationNbre;
118
		var stationNbreFormate = stationNbre;
119
		if(stationNbre != 0) {
119
		if(stationNbre != 0) {
120
		  	stationNbreFormate = stations.stats.stations.formaterNombre();
120
		  	stationNbreFormate = stations.stats.stations.formaterNombre();
121
		}
121
		}
Line 122... Line 122...
122
	
122
	
123
		var stats = obsNbreFormate+' ' + msg('observation');
-
 
Line 124... Line 123...
124
		stats += (obsNbre > 1) ? 's' : '' ;
123
		var stats = obsNbreFormate + ' ' + ((obsNbre > 1) ? msg('observations') : msg('observation'));
125
 
124
 
126
		if (photos != null && photos == 1) {
125
		if (photos != null && photos == 1) {
Line 127... Line 126...
127
			stats += ' ' + msg('avec photos') + ' ';
126
			stats += ' ' + msg('avec photos') + ' ';
128
		}
-
 
Line 129... Line 127...
129
		
127
		}
130
		stats += ' ' + msg('sur') + ' '+(stationNbre+ communeNbre)+' ' + msg('station');
128
		
131
		stats += (stationNbre > 1) ? 's' : '' ;
-
 
132
		
129
		stats += ' ' + msg('sur') + ' ' + (stationNbre+ communeNbre)+' ' + ((stationNbre > 1) ? msg('stations') : msg('station'));
133
		if (nt == '*') {
130
		
134
			stats += ' ' + msg('parmi') + ' '+plteNbreFormate+' ' + msg('taxon');
131
		if (nt == '*') {
135
			stats += (plteNbre > 1) ? 's' : '' ;
132
			stats += ' ' + msg('parmi') + ' '+plteNbreFormate+' ' + ((plteNbre > 1) ? msg('taxons') : msg('taxon'));
136
		} else {
133
		} else {