comparison app/view/form/Probe.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 92c0fa2f29b0
children 5e3d4136ecfb 287ce20bb1cb
comparison
equal deleted inserted replaced
1154:2309b6ffb069 1155:1be581a403b5
40 40
41 trackResetOnLoad: true, 41 trackResetOnLoad: true,
42 42
43 initComponent: function() { 43 initComponent: function() {
44 var me = this; 44 var me = this;
45 var i18n = Lada.getApplication().bundle;
45 this.items = [{ 46 this.items = [{
46 xtype: 'fieldset', 47 xtype: 'fieldset',
47 title: 'Allgemein', 48 title: 'Allgemein',
48 items: [{ 49 items: [{
49 border: 0, 50 border: 0,
155 border: 0, 156 border: 0,
156 width: '100%', 157 width: '100%',
157 items: [{ 158 items: [{
158 xtype: 'tfield', 159 xtype: 'tfield',
159 name: 'hauptprobenNr', 160 name: 'hauptprobenNr',
160 fieldLabel: 'Hauptprobennr.', 161 fieldLabel: i18n.getMsg('hauptprobenNr'),
161 margin: '0, 5, 5, 5', 162 margin: '0, 5, 5, 5',
162 width: '35%', 163 width: '35%',
163 labelWidth: 95, 164 labelWidth: 95,
164 maxLength: 20, 165 maxLength: 20,
165 allowBlank: true 166 allowBlank: true

http://lada.wald.intevation.org