[Dive4elements-commits] [PATCH 2 of 2] WQAdaptedInputPanel: fix i18n, added todo as now method is full dupe
Wald Commits
scm-commit at wald.intevation.org
Thu Mar 7 15:15:06 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1362666121 -3600
# Node ID 7b37876b2f51204e70467a2dfe08b805791976e3
# Parent 60b5fca4f3573bed625122aad86a4b1aebc2d9be
WQAdaptedInputPanel: fix i18n, added todo as now method is full dupe.
diff -r 60b5fca4f357 -r 7b37876b2f51 flys-client/src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java Thu Mar 07 15:20:09 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java Thu Mar 07 15:22:01 2013 +0100
@@ -56,6 +56,9 @@
{
private static final long serialVersionUID = -3218827566805476423L;
+ /** The message class that provides i18n strings.*/
+ protected FLYSConstants MESSAGE = GWT.create(FLYSConstants.class);
+
public static final String FIELD_WQ_MODE = "wq_isq";
public static final String FIELD_WQ_W = "W";
public static final String FIELD_WQ_Q = "Q";
@@ -133,14 +136,15 @@
}
+ /** Inits the helper panel. */
+ // TODO duplicate in WQInputPanel
protected void initHelperPanel() {
tabs = new TabSet();
tabs.setWidth100();
tabs.setHeight100();
- // TODO i18n
- Tab wTab = new Tab("W");
- Tab qTab = new Tab("Q / D");
+ Tab wTab = new Tab(MESSAGE.wq_table_w());
+ Tab qTab = new Tab(MESSAGE.wq_table_q());
wTab.setPane(wTable);
qTab.setPane(qdTable);
More information about the Dive4elements-commits
mailing list