Mercurial > lada > lada-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
1154:2309b6ffb069 | 1155:1be581a403b5 |
---|---|
29 | 29 |
30 trackResetOnLoad: true, | 30 trackResetOnLoad: true, |
31 | 31 |
32 initComponent: function() { | 32 initComponent: function() { |
33 var me = this; | 33 var me = this; |
34 var i18n = Lada.getApplication().bundle; | |
34 this.items = [{ | 35 this.items = [{ |
35 xtype: 'fieldset', | 36 xtype: 'fieldset', |
36 title: 'Allgemein', | 37 title: 'Allgemein', |
37 items: [{ | 38 items: [{ |
38 border: 0, | 39 border: 0, |
67 items: [{ | 68 items: [{ |
68 xtype: 'tfield', | 69 xtype: 'tfield', |
69 name: 'nebenprobenNr', | 70 name: 'nebenprobenNr', |
70 maxLength: 10, | 71 maxLength: 10, |
71 margin: '0, 10, 5, 0', | 72 margin: '0, 10, 5, 0', |
72 fieldLabel: 'Nebenprobennr.', | 73 fieldLabel: i18n.getMsg('nebenprobenNr'), |
73 width: 300, | 74 width: 300, |
74 labelWidth: 100 | 75 labelWidth: 100 |
75 }, { | 76 }, { |
76 xtype: 'messmethode', | 77 xtype: 'messmethode', |
77 name: 'mmtId', | 78 name: 'mmtId', |