From a2479503519734a073b81969cd0223ebd4760dce Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 7 Feb 2020 10:21:31 +0100 Subject: [PATCH] Add @angular/localize --- client/package.json | 2 +- client/src/polyfills.ts | 2 ++ client/yarn.lock | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/client/package.json b/client/package.json index 53300bb64..ed5dd7689 100644 --- a/client/package.json +++ b/client/package.json @@ -140,7 +140,7 @@ "zone.js": "~0.10.2" }, "dependencies": { - "@angular/localize": "~9.0.0", + "@angular/localize": "^9.0.0", "@ngx-i18nsupport/tooling": "^8.0.3", "tslib": "^1.10.0" } diff --git a/client/src/polyfills.ts b/client/src/polyfills.ts index 8aac91454..7c051413f 100644 --- a/client/src/polyfills.ts +++ b/client/src/polyfills.ts @@ -69,3 +69,5 @@ import 'zone.js/dist/zone' // Included with Angular CLI. ;(window as any).global = window ;(window as any).process = require('process/') ;(window as any).Buffer = require('buffer/').Buffer + +import '@angular/localize/init' diff --git a/client/yarn.lock b/client/yarn.lock index 2be6cf26c..e9d70f8ec 100644 --- a/client/yarn.lock +++ b/client/yarn.lock @@ -197,7 +197,7 @@ resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-9.0.0.tgz#24ba63ae5db566b70f7c40bb148dc37a77aaa373" integrity sha512-tOMtXY8DFpTWMF77BOTXZmMMtqvdy6fbyOkJSccn6VatcPrNXOs5rKur+KNwdSlK+djjss6Y+LA8fQAvjNvUqw== -"@angular/localize@~9.0.0": +"@angular/localize@^9.0.0": version "9.0.0" resolved "https://registry.yarnpkg.com/@angular/localize/-/localize-9.0.0.tgz#d7b428e2784a2c35430ff47c823b70c514fa0016" integrity sha512-T1dtjqT6BDjWLvtF81RsCBdo+hiORLiNKpSD1wXmHF1L/GMKP+EDODvBDMgnyt4NlSn+HzBeSxE+XPWsHub6cg==