Mercurial > dive4elements > river
changeset 2926:59491a730461
New i18n for WSP editor.
flys-client/trunk@4824 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 28 Jun 2012 14:34:54 +0000 |
parents | 6461b8dbe093 |
children | f978058dc835 |
files | flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java |
diffstat | 5 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java Wed Jun 27 15:31:52 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java Thu Jun 28 14:34:54 2012 +0000 @@ -915,6 +915,10 @@ String editpoints(); + // Manual WaterLine (WSP) Editor. + + String addWSPButton(); + String addWSP(); String selection();
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties Wed Jun 27 15:31:52 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties Thu Jun 28 14:34:54 2012 +0000 @@ -468,6 +468,7 @@ standby = Creating Artifact ... please wait. points = Points editpoints = Edit Points +addWSPButton = Add Manual LS addWSP = Add Manual LS selection = Selection
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties Wed Jun 27 15:31:52 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties Thu Jun 28 14:34:54 2012 +0000 @@ -468,7 +468,8 @@ standby = Erstelle Parameterisierung ... bitte warten. points = Punktthema editpoints = Eintr\u00e4ge editieren -addWSP = WSP Themen +addWSP = WSP Thema +addWSPButton = Neues WSP Thema anlegen selection = Selektion # Reference Curves
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties Wed Jun 27 15:31:52 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties Thu Jun 28 14:34:54 2012 +0000 @@ -471,6 +471,7 @@ points = Points editpoints = Edit Points addWSP = Add Manual LS +addWSPButton = Add Manual LS selection = Selection # Reference Curves
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java Wed Jun 27 15:31:52 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java Thu Jun 28 14:34:54 2012 +0000 @@ -77,7 +77,7 @@ addPoints = new Button(MSG.points()); if (this.chartTab.getMode().getName().equals("cross_section")) { - addWSP = new Button(MSG.addWSP()); + addWSP = new Button(MSG.addWSPButton()); addWSP.setTooltip(MSG.addPointsTooltip()); final ChartOutputTab finalChartTab = chartTab; addWSP.addClickHandler(new ClickHandler() { @@ -248,7 +248,6 @@ addMember(addPoints); if (this.chartTab.getMode().getName().equals("cross_section")) { - // TODO i18n manual wsp addMember(addWSP); }