Mercurial > lada > lada-client
comparison app.js @ 73:7661f09466cc
Added i18n extension. Note: This extension must be installed. See https://github.com/elmasse/Ext.i18n.Bundle/wiki/HowTo
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 05 Jun 2013 18:03:10 +0200 |
parents | 3c7bfff8bd64 |
children | 6c69bbb61c65 |
comparison
equal
deleted
inserted
replaced
72:345896d5e6b5 | 73:7661f09466cc |
---|---|
1 Ext.application({ | 1 Ext.application({ |
2 name: 'Lada', | 2 name: 'Lada', |
3 // Setting this variable to true should trigger loading the Viewport.js | 3 // Setting this variable to true should trigger loading the Viewport.js |
4 // file which sets ob the viewport. But this does not happen. | 4 // file which sets ob the viewport. But this does not happen. |
5 requires: ['Ext.i18n.Bundle'], | |
6 bundle: { | |
7 bundle: 'Lada', | |
8 lang: 'de-DE', | |
9 path: 'resources', | |
10 noCache: true | |
11 }, | |
5 autoCreateViewport: true, | 12 autoCreateViewport: true, |
6 launch: function() { | 13 launch: function() { |
7 // Start the application. | 14 // Start the application. |
8 console.log('Launching the application'); | 15 console.log('Launching the application'); |
9 }, | 16 }, |