changeset 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 (2013-06-05)
parents 345896d5e6b5
children 5c58c0e8936b
files app.js
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app.js	Wed Jun 05 18:01:49 2013 +0200
+++ b/app.js	Wed Jun 05 18:03:10 2013 +0200
@@ -2,6 +2,13 @@
     name: 'Lada',
     // Setting this variable to true should trigger loading the Viewport.js
     // file which sets ob the viewport. But this does not happen.
+    requires: ['Ext.i18n.Bundle'],
+    bundle: {
+        bundle: 'Lada',
+        lang: 'de-DE',
+        path: 'resources',
+        noCache: true
+    },
     autoCreateViewport: true,
     launch: function() {
         // Start the application.

http://lada.wald.intevation.org