From 66357162f8e1227495f09bd4f68446aad7071c6d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 12 Aug 2020 10:40:04 +0200 Subject: Migrate to $localize * Remove i18n polyfill to translate things in components * Reduce bundle sizes * Improve runtime perf * Reduce a lot the time to make a full client build * Reduce client build complexity * We don't need a service to translate things anymore (so we will be able to translate title pages etc) Unfortunately we may loose some translations in the migration process. I'll put a message on weblate to notify translators --- client/package.json | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'client/package.json') diff --git a/client/package.json b/client/package.json index 3c4b9ead4..9769cc813 100644 --- a/client/package.json +++ b/client/package.json @@ -28,19 +28,19 @@ "typings": "*.d.ts", "devDependencies": { "@angular-devkit/build-angular": "^0.1001.0-next.4", - "@angular/animations": "^10.1.0-next.4", + "@angular/animations": "^10.1.0-next.5", "@angular/cdk": "^10.0.0", "@angular/cli": "^10.1.0-next.4", - "@angular/common": "^10.1.0-next.4", - "@angular/compiler": "^10.1.0-next.4", - "@angular/compiler-cli": "^10.1.0-next.4", - "@angular/core": "^10.1.0-next.4", - "@angular/forms": "^10.1.0-next.4", - "@angular/localize": "^10.1.0-next.4", - "@angular/platform-browser": "^10.1.0-next.4", - "@angular/platform-browser-dynamic": "^10.1.0-next.4", - "@angular/router": "^10.1.0-next.4", - "@angular/service-worker": "^10.1.0-next.4", + "@angular/common": "^10.1.0-next.5", + "@angular/compiler": "^10.1.0-next.5", + "@angular/compiler-cli": "^10.1.0-next.5", + "@angular/core": "^10.1.0-next.5", + "@angular/forms": "^10.1.0-next.5", + "@angular/localize": "^10.1.0-next.5", + "@angular/platform-browser": "^10.1.0-next.5", + "@angular/platform-browser-dynamic": "^10.1.0-next.5", + "@angular/router": "^10.1.0-next.5", + "@angular/service-worker": "^10.1.0-next.5", "@angularclass/hmr": "^2.1.3", "@neos21/bootstrap3-glyphicons": "^1.0.1", "@ng-bootstrap/ng-bootstrap": "^7.0.0", @@ -51,7 +51,6 @@ "@ngx-loading-bar/http-client": "^5.0.0", "@ngx-loading-bar/router": "^5.0.0", "@ngx-meta/core": "^9.0.0", - "@ngx-translate/i18n-polyfill": "^1.0.0", "@types/chart.js": "^2.9.16", "@types/core-js": "^2.5.2", "@types/debug": "^4.1.5", -- cgit v1.2.3