This repository was archived by the owner on Dec 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 4444 "@angular/core" : " ^12.0.0" ,
4545 "@angular/forms" : " ^12.0.0" ,
4646 "@angular/google-maps" : " ^12.0.1" ,
47+ "@angular/localize" : " ^12.0.1" ,
4748 "@angular/material" : " ^12.0.1" ,
4849 "@angular/material-experimental" : " ^12.0.1" ,
4950 "@angular/material-moment-adapter" : " ^12.0.1" ,
6667 "@angular-eslint/template-parser" : " 4.0.0" ,
6768 "@angular/cli" : " ^12.0.0" ,
6869 "@angular/compiler-cli" : " ^12.0.0" ,
69- "@angular/localize" : " ^12.0.0" ,
7070 "@types/imagemin" : " ^7.0.0" ,
7171 "@types/jasmine" : " ^3.6.6" ,
7272 "@types/node" : " ^14.14.22" ,
Original file line number Diff line number Diff line change @@ -64,3 +64,8 @@ import 'zone.js'; // Included with Angular CLI.
6464/***************************************************************************************************
6565 * APPLICATION IMPORTS
6666 */
67+
68+ // Examples might use `$localize`, so we initialize the localize package. Note that we do not
69+ // intend to load any translations at runtime. `$localize` has a pass-through mode where it does
70+ // not actually translate content. This is what we want to use for our examples.
71+ import '@angular/localize/init' ;
Original file line number Diff line number Diff line change 270270 "@types/googlemaps" "^3.43.1"
271271 tslib "^2.1.0"
272272
273- "@angular/localize@^12.0.0 ":
274- version "12.0.0 "
275- resolved "https://registry.yarnpkg.com/@angular/localize/-/localize-12.0.0 .tgz#dbe60215fe54ccc3e32d915bf9e4d742988cf3db "
276- integrity sha512-vJ/xeIhF4odmSgf2XAAIb57AmUgS1DiprQeeG5aY1lZ9ZMBDC1BkeONseQDBg0d9HkT9KdqElDBuSMGfQfzEkw ==
273+ "@angular/localize@^12.0.1 ":
274+ version "12.0.1 "
275+ resolved "https://registry.yarnpkg.com/@angular/localize/-/localize-12.0.1 .tgz#6477066b6e4830c9dffa931064794108961d4364 "
276+ integrity sha512-+nLvfbX2tQUMCDILlUOhb1o3B7DzcJgrEy3QEG3dGkT7A7RjA5zShXN+CXuaeEMlTSGURVx3IEzuudpGcgLz9Q ==
277277 dependencies:
278278 "@babel/core" "7.8.3"
279279 glob "7.1.7"
You can’t perform that action at this time.
0 commit comments