Mercurial > dive4elements > river
changeset 6175:6a04081a2f69
Add unit to location and translate outliertest method
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 03 Jun 2013 17:46:59 +0200 (2013-06-03) |
parents | ab1706a682a7 |
children | 4edad3e414cb |
files | artifacts/src/main/java/org/dive4elements/river/exports/sq/SQRelationExporter.java |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/sq/SQRelationExporter.java Mon Jun 03 17:32:10 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/sq/SQRelationExporter.java Mon Jun 03 17:46:59 2013 +0200 @@ -219,13 +219,15 @@ source.addMetaData("date", df.format(new Date())); SQRelationAccess access = new SQRelationAccess(arti); - source.addMetaData("location", getKmFormatter().format(access.getLocation())); + source.addMetaData("location", "KM " + getKmFormatter().format(access.getLocation())); DateRange period = access.getPeriod(); source.addMetaData("periods", df.format(period.getFrom()) + " - " + df.format(period.getTo())); - source.addMetaData("outliertest", access.getOutlierMethod()); + source.addMetaData("outliertest", Resources.getMsg(meta, + access.getOutlierMethod(), + access.getOutlierMethod())); source.addMetaData("outliers", access.getOutliers().toString()); source.addMetaData("calculation", Resources.getMsg(