mirror of
https://github.com/angular/angular.git
synced 2026-12-06 05:09:14 -05:00
Moves the `src/tools` folder of the `@angular/localize` package into the top-level of the package. This is in preparation of actually exposing an entry-point for the tools that can be accessed using `@angular/localize/tools`. We want to expose such an entry-point because the CLI currently deep-imports into various places of the tools, but this will not work well with strict ESM because the localize tool depends on the v13 strict ESM packages like the `@angular/compiler` or `@angular/compiler-cli`. PR Close #43431
7 lines
335 B
JavaScript
7 lines
335 B
JavaScript
// Different interpolation values will not affect message text
|
|
const a = $localize`:@@message-1:message ${10} contents`;
|
|
const b = $localize`:@@message-1:message ${20} contents`;
|
|
|
|
// But different actual text content will
|
|
const c = $localize`:@@message-2:message contents`;
|
|
const d = $localize`:@@message-2:different message contents`; |