# HG changeset patch # User Tom Gottfried # Date 1465218601 -7200 # Node ID 1be581a403b5eee8cd6c5a3a1d15c83850f64742 # Parent 2309b6ffb069d63ccc976a265dbbcaa235bb77d2 Introduce i18n for Haupt- and Nebenprobennummer. diff -r 2309b6ffb069 -r 1be581a403b5 app/view/form/Messung.js --- 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 }, { diff -r 2309b6ffb069 -r 1be581a403b5 app/view/form/Probe.js --- 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, diff -r 2309b6ffb069 -r 1be581a403b5 resources/i18n/Lada.properties --- a/resources/i18n/Lada.properties Thu Jun 02 17:58:51 2016 +0200 +++ b/resources/i18n/Lada.properties Mon Jun 06 15:10:01 2016 +0200 @@ -29,4 +29,6 @@ ## # Field names ## +hauptprobenNr:Hauptprobennr. +nebenprobenNr:Nebenprobennr. entnahmeOrt: Entnahmeort diff -r 2309b6ffb069 -r 1be581a403b5 resources/i18n/Lada_de-DE.properties --- a/resources/i18n/Lada_de-DE.properties Thu Jun 02 17:58:51 2016 +0200 +++ b/resources/i18n/Lada_de-DE.properties Mon Jun 06 15:10:01 2016 +0200 @@ -40,7 +40,8 @@ ## # Field names ## -hauptprobenNr:Hauptproben Nr. +hauptprobenNr:Hauptprobennr. +nebenprobenNr:Nebenprobennr. entnahmeOrt:Entnahmeort test:Test probenartId:Probenart