From 62fe28f25ea185a5caf69e78704d273a0bcb5e41 Mon Sep 17 00:00:00 2001 From: tanshu Date: Tue, 15 May 2018 09:11:07 +0530 Subject: [PATCH] Added ngLocale for India --- brewman/static/app/overlord.app.ts | 1 + brewman/static/package.json | 1 + brewman/static/systemjs.config.js | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/brewman/static/app/overlord.app.ts b/brewman/static/app/overlord.app.ts index da16fd92..6ef94bc7 100644 --- a/brewman/static/app/overlord.app.ts +++ b/brewman/static/app/overlord.app.ts @@ -1,5 +1,6 @@ import * as angular from 'angular'; import 'ngCookies'; +import 'ngLocale'; import 'ngRoute'; import 'ngResource'; import 'angular-ui-bootstrap'; diff --git a/brewman/static/package.json b/brewman/static/package.json index cf6783a4..c720ebb1 100644 --- a/brewman/static/package.json +++ b/brewman/static/package.json @@ -9,6 +9,7 @@ "angular-animate": "^1.6.10", "angular-aria": "^1.6.10", "angular-cookies": "^1.6.10", + "angular-i18n": "^1.7.0", "angular-messages": "^1.6.10", "angular-resource": "^1.6.10", "angular-route": "^1.6.10", diff --git a/brewman/static/systemjs.config.js b/brewman/static/systemjs.config.js index 8e3c22b5..7703f711 100644 --- a/brewman/static/systemjs.config.js +++ b/brewman/static/systemjs.config.js @@ -14,6 +14,7 @@ "ngAria": "npm:angular-aria", "angular-aria": "npm:angular-aria", "ngCookies": "npm:angular-cookies", + "ngLocale": "npm:angular-i18n", "ngMessages": "npm:angular-messages", "ngResource": "npm:angular-resource", "ngRoute": "npm:angular-route", @@ -39,7 +40,7 @@ "ngAria": {main: "index.js", defaultExtension: "js"}, "angular-aria": {main: "index.js", defaultExtension: "js"}, "ngCookies": {main: "index.js", defaultExtension: "js"}, - "ngLocale": {main: "index.js", defaultExtension: "js"}, + "ngLocale": {main: "angular-locale_en-in.js", defaultExtension: "js"}, "ngMessages": {main: "index.js", defaultExtension: "js"}, "ngResource": {main: "index.js", defaultExtension: "js"}, "ngRoute": {main: "index.js", defaultExtension: "js"},