angular-cn/packages
Olivier Combe 00cc905b98 feat(ivy): support `ng-content` in runtime i18n translations (#30782)
Added a new syntax for projections (`¤` will represent `ng-content` nodes) so that we can treat them specifically.
When we enter an i18n block with the instruction `i18nStart`, a new `delayProjection` variable is set to true to prevent the instruction `projection` from projecting the nodes. Once we reach the `i18nEnd` instruction and encounter a projection in the translation we will project its nodes.
If a projection was removed from a translation, then its nodes won't be projected at all.
The variable `delayProjection` is restored to `false` at the end of `i18nEnd` so that it doesn't stop projections outside of i18n blocks.

FW-1261 #resolve
PR Close #30782
2019-06-05 09:04:13 -07:00
..
animations build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
bazel refactor: Move away from index signature based "updateCache". (#30518) 2019-06-04 12:02:13 -07:00
benchpress build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
common build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
compiler feat(ivy): support `ng-content` in runtime i18n translations (#30782) 2019-06-05 09:04:13 -07:00
compiler-cli fix(ivy): type checking - handle $implicit ng-template variables (#30675) 2019-06-04 12:01:18 -07:00
core feat(ivy): support `ng-content` in runtime i18n translations (#30782) 2019-06-05 09:04:13 -07:00
docs
elements build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
examples test(compiler): update examples and compiler tests (#30626) 2019-05-23 10:31:32 -07:00
forms build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
http build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
language-service build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
platform-browser build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
platform-browser-dynamic build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
platform-server build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
platform-webworker build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
platform-webworker-dynamic build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
private/testing test(ivy): add onlyInIvy perf counter expectations (#30339) 2019-05-09 11:22:00 -07:00
router build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
service-worker build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
upgrade build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
BUILD.bazel build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
README.md Revert "docs: Remove unneeded file (#18106)" 2017-07-20 16:46:47 -05:00
empty.ts
goog.d.ts test(ivy): add bundling test `todo_i18n` (#27420) 2018-12-04 19:59:12 -08:00
license-banner.txt build: bump year (#27880) 2019-01-11 11:15:59 -08:00
system.d.ts
tsconfig-build.json build: update to rules_typescript 0.25.1 (#28625) 2019-02-21 07:46:21 -08:00
tsconfig-test.json build: update to rules_typescript 0.25.1 (#28625) 2019-02-21 07:46:21 -08:00
tsconfig.json docs(service-worker): improve `SwRegistrationOptions` docs and add example (#21842) 2019-04-25 12:29:58 -07:00
types.d.ts build: switch to typescript's es2015 typings (#28570) 2019-02-06 14:17:55 -05:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT