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 44
44
"@angular/core" : " ^12.0.0" ,
45
45
"@angular/forms" : " ^12.0.0" ,
46
46
"@angular/google-maps" : " ^12.0.1" ,
47
+ "@angular/localize" : " ^12.0.1" ,
47
48
"@angular/material" : " ^12.0.1" ,
48
49
"@angular/material-experimental" : " ^12.0.1" ,
49
50
"@angular/material-moment-adapter" : " ^12.0.1" ,
66
67
"@angular-eslint/template-parser" : " 4.0.0" ,
67
68
"@angular/cli" : " ^12.0.0" ,
68
69
"@angular/compiler-cli" : " ^12.0.0" ,
69
- "@angular/localize" : " ^12.0.0" ,
70
70
"@types/imagemin" : " ^7.0.0" ,
71
71
"@types/jasmine" : " ^3.6.6" ,
72
72
"@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.
64
64
/***************************************************************************************************
65
65
* APPLICATION IMPORTS
66
66
*/
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 270
270
"@types/googlemaps" "^3.43.1"
271
271
tslib "^2.1.0"
272
272
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 ==
277
277
dependencies:
278
278
"@babel/core" "7.8.3"
279
279
glob "7.1.7"
You can’t perform that action at this time.
0 commit comments