0ed2c4fef9
The previous ViewEngine extraction tooling added `ctype` and `type` attributes to XLIFF 1.2 and 2.0 translation files, respectively. This commit adds this to the new $localize based extraction tooling. Since the new extraction tooling works from the compiled output rather than having direct access to the template content, the placeholder types must be inferred from the name of the placeholder. This is considered reasonable, since it already does this to compute opening and closing tag placeholders. Fixes #38791 PR Close #39398 |
||
---|---|---|
.. | ||
init | ||
schematics | ||
src | ||
test | ||
BUILD.bazel | ||
index.ts | ||
localize.ts | ||
package.json | ||
private.ts |