Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java @ 5699:5fca0d0d8aac
Use correct i18n string for y axis.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 15 Apr 2013 11:16:39 +0200 |
parents | 545a6ace9a19 |
children |
comparison
equal
deleted
inserted
replaced
5693:28e3019a6b14 | 5699:5fca0d0d8aac |
---|---|
122 else if (index == YAXIS.W.idx) { | 122 else if (index == YAXIS.W.idx) { |
123 FLYSArtifact flys = (FLYSArtifact) master; | 123 FLYSArtifact flys = (FLYSArtifact) master; |
124 String unit = FLYSUtils.getRiver(flys).getWstUnit().getName(); | 124 String unit = FLYSUtils.getRiver(flys).getWstUnit().getName(); |
125 | 125 |
126 label = msg( | 126 label = msg( |
127 I18N_YAXIS_LABEL, | 127 I18N_W_YAXIS_LABEL, |
128 I18N_YAXIS_LABEL_DEFAULT, | 128 I18N_W_YAXIS_LABEL_DEFAULT, |
129 new Object[] { unit }); | 129 new Object[] { unit }); |
130 } | 130 } |
131 else if (index == YAXIS.P.idx) { | 131 else if (index == YAXIS.P.idx) { |
132 label = msg(I18N_P_YAXIS_LABEL, I18N_P_YAXIS_LABEL_DEFAULT); | 132 label = msg(I18N_P_YAXIS_LABEL, I18N_P_YAXIS_LABEL_DEFAULT); |
133 } | 133 } |