diff app/view/form/Messung.js @ 1155:1be581a403b5

Introduce i18n for Haupt- and Nebenprobennummer.
author Tom Gottfried <tom@intevation.de>
date Mon, 06 Jun 2016 15:10:01 +0200
parents d8e74bd89d6b
children bb44ec8746f5
line wrap: on
line diff
--- a/app/view/form/Messung.js	Thu Jun 02 17:58:51 2016 +0200
+++ b/app/view/form/Messung.js	Mon Jun 06 15:10:01 2016 +0200
@@ -31,6 +31,7 @@
 
     initComponent: function() {
         var me = this;
+        var i18n = Lada.getApplication().bundle;
         this.items = [{
             xtype: 'fieldset',
             title: 'Allgemein',
@@ -69,7 +70,7 @@
                     name: 'nebenprobenNr',
                     maxLength: 10,
                     margin: '0, 10, 5, 0',
-                    fieldLabel: 'Nebenprobennr.',
+                    fieldLabel: i18n.getMsg('nebenprobenNr'),
                     width: 300,
                     labelWidth: 100
                 }, {

http://lada.wald.intevation.org