# HG changeset patch # User Felix Wolfsteller # Date 1340894094 0 # Node ID 59491a73046163c1945ab26580cf3522d424d5b9 # Parent 6461b8dbe0937693e52cddf646efd29dc549d099 New i18n for WSP editor. flys-client/trunk@4824 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 6461b8dbe093 -r 59491a730461 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java --- 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(); diff -r 6461b8dbe093 -r 59491a730461 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties --- 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 diff -r 6461b8dbe093 -r 59491a730461 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties --- 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 diff -r 6461b8dbe093 -r 59491a730461 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties --- 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 diff -r 6461b8dbe093 -r 59491a730461 flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java --- 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); }