comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/Calculation6.java @ 8247:b8f343230eab

Some i18n completion in hist. discharge curves.
author Tom Gottfried <tom@intevation.de>
date Tue, 09 Sep 2014 17:05:21 +0200
parents a56fe3bc6700
children 011e2290e801
comparison
equal deleted inserted replaced
8246:aef7542dd3ca 8247:b8f343230eab
242 double ref = mode == EvaluationMode.W.getMode() 242 double ref = mode == EvaluationMode.W.getMode()
243 ? vc.findValueForW(refTable, value) 243 ? vc.findValueForW(refTable, value)
244 : vc.findValueForQ(refTable, value); 244 : vc.findValueForQ(refTable, value);
245 245
246 if (Double.isNaN(ref)) { 246 if (Double.isNaN(ref)) {
247 addProblem("hist.discharge.no.value.in.ref", value); 247 addProblem("hist.discharge.no.value.in.ref", value,
248 mode == EvaluationMode.W.getMode()
249 ? "cm"
250 : "m\u00b3/s");
248 continue; 251 continue;
249 } 252 }
250 253
251 String name = name(value); 254 String name = name(value);
252 HistoricalWQTimerange wqt = null; 255 HistoricalWQTimerange wqt = null;

http://dive4elements.wald.intevation.org