diff app/view/widget/Datenbasis.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 2e8da590ea0c
children
line wrap: on
line diff
--- a/app/view/widget/Datenbasis.js	Wed Apr 29 13:04:24 2015 +0200
+++ b/app/view/widget/Datenbasis.js	Tue May 05 17:22:38 2015 +0200
@@ -15,13 +15,15 @@
     store: 'Datenbasis',
     displayField: 'datenbasis',
     valueField: 'id',
-    emptyText: 'Wählen Sie eine Datenbasis',
     // Enable filtering of comboboxes
     queryMode: 'local',
     triggerAction: 'all',
     typeAhead: false,
 
     initComponent: function() {
+        var i18n = Lada.getApplication().bundle;
+        this.emptyText = i18n.getMsg('emptytext.datenbasis');
+
         this.store = Ext.data.StoreManager.get('datenbasis');
         if (!this.store) {
             this.store = Ext.create('Lada.store.Datenbasis');

http://lada.wald.intevation.org