aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-07 10:21:31 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-02-10 16:39:28 +0100
commita2479503519734a073b81969cd0223ebd4760dce (patch)
tree4b6ff1d12bb40f4d958e9938993678a5bc71648b
parent2cf81751f0d36ba1e512afc79eae5f76d44c89ea (diff)
downloadPeerTube-a2479503519734a073b81969cd0223ebd4760dce.tar.gz
PeerTube-a2479503519734a073b81969cd0223ebd4760dce.tar.zst
PeerTube-a2479503519734a073b81969cd0223ebd4760dce.zip
Add @angular/localize
-rw-r--r--client/package.json2
-rw-r--r--client/src/polyfills.ts2
-rw-r--r--client/yarn.lock2
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 @@
140 "zone.js": "~0.10.2" 140 "zone.js": "~0.10.2"
141 }, 141 },
142 "dependencies": { 142 "dependencies": {
143 "@angular/localize": "~9.0.0", 143 "@angular/localize": "^9.0.0",
144 "@ngx-i18nsupport/tooling": "^8.0.3", 144 "@ngx-i18nsupport/tooling": "^8.0.3",
145 "tslib": "^1.10.0" 145 "tslib": "^1.10.0"
146 } 146 }
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.
69;(window as any).global = window 69;(window as any).global = window
70;(window as any).process = require('process/') 70;(window as any).process = require('process/')
71;(window as any).Buffer = require('buffer/').Buffer 71;(window as any).Buffer = require('buffer/').Buffer
72
73import '@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 @@
197 resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-9.0.0.tgz#24ba63ae5db566b70f7c40bb148dc37a77aaa373" 197 resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-9.0.0.tgz#24ba63ae5db566b70f7c40bb148dc37a77aaa373"
198 integrity sha512-tOMtXY8DFpTWMF77BOTXZmMMtqvdy6fbyOkJSccn6VatcPrNXOs5rKur+KNwdSlK+djjss6Y+LA8fQAvjNvUqw== 198 integrity sha512-tOMtXY8DFpTWMF77BOTXZmMMtqvdy6fbyOkJSccn6VatcPrNXOs5rKur+KNwdSlK+djjss6Y+LA8fQAvjNvUqw==
199 199
200"@angular/localize@~9.0.0": 200"@angular/localize@^9.0.0":
201 version "9.0.0" 201 version "9.0.0"
202 resolved "https://registry.yarnpkg.com/@angular/localize/-/localize-9.0.0.tgz#d7b428e2784a2c35430ff47c823b70c514fa0016" 202 resolved "https://registry.yarnpkg.com/@angular/localize/-/localize-9.0.0.tgz#d7b428e2784a2c35430ff47c823b70c514fa0016"
203 integrity sha512-T1dtjqT6BDjWLvtF81RsCBdo+hiORLiNKpSD1wXmHF1L/GMKP+EDODvBDMgnyt4NlSn+HzBeSxE+XPWsHub6cg== 203 integrity sha512-T1dtjqT6BDjWLvtF81RsCBdo+hiORLiNKpSD1wXmHF1L/GMKP+EDODvBDMgnyt4NlSn+HzBeSxE+XPWsHub6cg==