comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java @ 3493:e703555f8da1

Issue 752. Added new i18n string for single location input panel. flys-client/trunk@5209 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 15 Aug 2012 12:56:07 +0000
parents 51ed89b754ae
children 091397efaca5
comparison
equal deleted inserted replaced
3492:d45fcf70b994 3493:e703555f8da1
84 try { 84 try {
85 labelString = MSG.getString(getDataItemName()); 85 labelString = MSG.getString(getDataItemName());
86 } 86 }
87 catch(java.util.MissingResourceException mre) { 87 catch(java.util.MissingResourceException mre) {
88 GWT.log("Cannot find translation for data item name : " + getDataItemName()); 88 GWT.log("Cannot find translation for data item name : " + getDataItemName());
89 labelString = MSG.location(); 89 labelString = getLabelString();
90 } 90 }
91 Label label = new Label(labelString); 91 Label label = new Label(labelString);
92 Canvas widget = createWidget(data); 92 Canvas widget = createWidget(data);
93 Canvas submit = getNextButton(); 93 Canvas submit = getNextButton();
94 94
315 catch(NumberFormatException nfe) { 315 catch(NumberFormatException nfe) {
316 // Is there anything else to do here? 316 // Is there anything else to do here?
317 } 317 }
318 setLocationValues(selected); 318 setLocationValues(selected);
319 } 319 }
320
321 /**
322 * Returns the label string for the input panel.
323 */
324 protected String getLabelString() {
325 return MSG.location();
326 }
327
320 } 328 }
321 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 329 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org