Mercurial > dive4elements > river
changeset 3533:a4b2220e59a6
Change button title in DatacagePairWidget (#746).
flys-client/trunk@5338 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Sat, 01 Sep 2012 07:54:11 +0000 |
parents | 69fdeca46f7a |
children | ebf47e4adea5 |
files | flys-client/ChangeLog 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/DatacagePairWidget.java |
diffstat | 6 files changed, 18 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Fri Aug 31 20:29:08 2012 +0000 +++ b/flys-client/ChangeLog Sat Sep 01 07:54:11 2012 +0000 @@ -1,3 +1,12 @@ +2012-09-01 Christian Lins <christian.lins@intevation.de> + + * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, + src/main/java/de/intevation/flys/client/client/FLYSConstants.java, + src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, + src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java, + src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: + Change button title in DatacagePairWidget (#746). + 2012-08-31 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java,
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java Fri Aug 31 20:29:08 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java Sat Sep 01 07:54:11 2012 +0000 @@ -786,6 +786,8 @@ String bedheights(); String datacage(); + + String datacage_add_pair(); // Capabilities Information Panel
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties Fri Aug 31 20:29:08 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties Sat Sep 01 07:54:11 2012 +0000 @@ -219,6 +219,7 @@ fix_longitudinal_section_curve = Longitudinal Section fix_derivate_curve = Derivate fix_vollmer_wq_curve = W/Q +datacage_add_pair = Add difference pair exportATTooltip = Export as AT file
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties Fri Aug 31 20:29:08 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties Sat Sep 01 07:54:11 2012 +0000 @@ -219,6 +219,7 @@ fix_longitudinal_section_curve = L\u00e4ngsschnitt fix_derivate_curve = Ableitungskurve fix_vollmer_wq_curve = W/Q +datacage_add_pair = Differenzenpaar hinzuf\u00fcgen waterlevel_export = Wasserstand/Wasserspiegellagen Export waterlevel_report = Wasserstand/Wasserspiegellagen Bericht
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties Fri Aug 31 20:29:08 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties Sat Sep 01 07:54:11 2012 +0000 @@ -220,6 +220,7 @@ fix_longitudinal_section_curve = Longitudinal Section fix_derivate_curve = Derivate fix_vollmer_wq_curve = W/Q +datacage_add_pair = Add difference pair exportATTooltip = Export as AT file
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java Fri Aug 31 20:29:08 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java Sat Sep 01 07:54:11 2012 +0000 @@ -26,7 +26,7 @@ public class DatacagePairWidget extends VLayout { - protected FLYSConstants messages = + protected FLYSConstants MSG = GWT.create(FLYSConstants.class); /** The "remote" ListGrid to insert data to when add-button is clicked. */ @@ -71,8 +71,9 @@ hLayout.addMember(firstDatacageWidget); hLayout.addMember(secondDatacageWidget); - // TODO: i18n + icon - Button plusBtn = new Button("+"); + // TODO: icon + Button plusBtn = new Button(MSG.datacage_add_pair()); + plusBtn.setAutoFit(true); plusBtn.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) {