aboutsummaryrefslogtreecommitdiff
path: root/ui/src/polyfills.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/polyfills.ts')
-rw-r--r--ui/src/polyfills.ts10
1 files changed, 8 insertions, 2 deletions
diff --git a/ui/src/polyfills.ts b/ui/src/polyfills.ts
index aa665d6..5366a93 100644
--- a/ui/src/polyfills.ts
+++ b/ui/src/polyfills.ts
@@ -1,3 +1,7 @@
+/***************************************************************************************************
+ * Load `$localize` onto the global scope - used if i18n tags appear in Angular templates.
+ */
+import '@angular/localize/init';
/**
* This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file.
@@ -18,7 +22,9 @@
* BROWSER POLYFILLS
*/
-/** IE10 and IE11 requires the following for NgClass support on SVG elements */
+/**
+ * IE11 requires the following for NgClass support on SVG elements
+ */
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/**
@@ -35,7 +41,7 @@
* will put import in the top of bundle, so user need to create a separate file
* in this directory (for example: zone-flags.ts), and put the following flags
* into that file, and then add the following code before importing zone.js.
- * import './zone-flags.ts';
+ * import './zone-flags';
*
* The flags allowed in zone-flags.ts are listed here.
*
bgstack15