Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/minfo/SedimentLoadExporter.java @ 7635:0426c1efd680
(issue1632) Use correct l10n for unit
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 03 Dec 2013 12:55:17 +0100 |
parents | 10993baf02c5 |
children | 963ede7b32bb |
comparison
equal
deleted
inserted
replaced
7634:10993baf02c5 | 7635:0426c1efd680 |
---|---|
145 List<String> header = new LinkedList<String>(); | 145 List<String> header = new LinkedList<String>(); |
146 if (results != null) { | 146 if (results != null) { |
147 SedimentLoadAccess access = | 147 SedimentLoadAccess access = |
148 new SedimentLoadAccess((D4EArtifact) master); | 148 new SedimentLoadAccess((D4EArtifact) master); |
149 | 149 |
150 String unit = " [" + msg("state.minfo.sediment.load." + | 150 String unit = " [" + msg("state.minfo." + |
151 access.getUnit(), "translation missing") + "]"; | 151 access.getUnit(), "translation missing") + "]"; |
152 | 152 |
153 header.add(msg(CSV_KM, "km")); | 153 header.add(msg(CSV_KM, "km")); |
154 header.add(msg(CSV_YEAR, "Jahr")); | 154 header.add(msg(CSV_YEAR, "Jahr")); |
155 header.add(msg(CSV_SUSP_SEDIMENT, "Schwebst.") + unit); | 155 header.add(msg(CSV_SUSP_SEDIMENT, "Schwebst.") + unit); |