diff app/view/widget/Umwelt.js @ 754:6b0d0e62f7d7

added Probenintervalle to a Messprogramm... there is still a lot of work needed. For instance for the slider element.
author Dustin Demuth <dustin@intevation.de>
date Tue, 05 May 2015 17:22:38 +0200
parents 2db5d54a5685
children
line wrap: on
line diff
--- a/app/view/widget/Umwelt.js	Wed Apr 29 13:04:24 2015 +0200
+++ b/app/view/widget/Umwelt.js	Tue May 05 17:22:38 2015 +0200
@@ -17,7 +17,6 @@
     valueField: 'id',
     editable: this.editable || false,
     forceSelection: true,
-    emptyText: 'Wählen Sie einen Umweltbereich',
     // Enable filtering of comboboxes
     autoSelect: false,
     queryMode: 'local',
@@ -31,6 +30,9 @@
          '<tpl for=".">{id} - {umweltBereich}</tpl>'),
 
     initComponent: function() {
+        var i18n = Lada.getApplication().bundle;
+        this.emptyText = i18n.getMsg('emptytext.umweltbereich');
+
         this.store = Ext.data.StoreManager.get('umwelt');
         if (!this.store) {
             this.store = Ext.create('Lada.store.Umwelt');

http://lada.wald.intevation.org