diff 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
line wrap: on
line diff
--- a/app/view/form/Probe.js	Thu Jun 02 17:58:51 2016 +0200
+++ b/app/view/form/Probe.js	Mon Jun 06 15:10:01 2016 +0200
@@ -42,6 +42,7 @@
 
     initComponent: function() {
         var me = this;
+        var i18n = Lada.getApplication().bundle;
         this.items = [{
             xtype: 'fieldset',
             title: 'Allgemein',
@@ -157,7 +158,7 @@
                             items: [{
                                 xtype: 'tfield',
                                 name: 'hauptprobenNr',
-                                fieldLabel: 'Hauptprobennr.',
+                                fieldLabel: i18n.getMsg('hauptprobenNr'),
                                 margin: '0, 5, 5, 5',
                                 width: '35%',
                                 labelWidth: 95,

http://lada.wald.intevation.org