[Dive4elements-commits] [PATCH 2 of 2] issue1225: use river name for axis i18n
Wald Commits
scm-commit at wald.intevation.org
Mon Jun 3 13:38:43 CEST 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1370260024 -7200
# Node ID 7bd173b0f54ffca91c9e764b4b621b1912501ff7
# Parent 5e2b162c00479f585beadbeeb2b92b22fc9e98e9
issue1225: use river name for axis i18n.
diff -r 5e2b162c0047 -r 7bd173b0f54f artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedDifferenceEpochGenerator.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedDifferenceEpochGenerator.java Mon Jun 03 13:46:20 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedDifferenceEpochGenerator.java Mon Jun 03 13:47:04 2013 +0200
@@ -187,7 +187,9 @@
@Override
protected String getDefaultXAxisLabel() {
- return msg(I18N_XAXIS_LABEL, I18N_XAXIS_LABEL_DEFAULT);
+ return msg(I18N_XAXIS_LABEL,
+ I18N_XAXIS_LABEL_DEFAULT,
+ new Object[] {getRiverName()});
}
@Override
diff -r 5e2b162c0047 -r 7bd173b0f54f artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityGenerator.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityGenerator.java Mon Jun 03 13:46:20 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityGenerator.java Mon Jun 03 13:47:04 2013 +0200
@@ -88,7 +88,9 @@
*/
@Override
protected String getDefaultXAxisLabel() {
- return msg(I18N_XAXIS_LABEL, I18N_XAXIS_LABEL_DEFAULT);
+ return msg(I18N_XAXIS_LABEL,
+ I18N_XAXIS_LABEL_DEFAULT,
+ new Object[] {getRiverName()});
}
@Override
More information about the Dive4elements-commits
mailing list