angular/modules/@angular/compiler/test
Victor Berchet d02eab498f fix(compiler): [i18n] XMB/XTB placeholder names can contain only A-Z, 0-9, _n
There are restrictions on the character set that can be used for xmb and xtb
placeholder names.

However because changing the placeholder names would change the message IDs it
is not possible to add those restrictions to the names used internally. Then we
have to map internal name to public names when generating an xmb file and back
when translating using an xtb file.

Note for implementors of `Serializer`:
- When writing a file, the implementor should take care of converting the
internal names to public names while visiting the message nodes - this is
required because the original nodes are needed to compute the message ID.
- When reading a file, the implementor does not need to take care of the mapping
back to internal names as this is handled in the `I18nToHtmlVisitor` used by the
`TranslationBundle`.

fixes b/34339636
2017-01-24 14:47:04 -08:00
..
animation refactor(compiler): convert metadata classes used in summaries into interfaces (#13123) 2016-11-30 10:52:51 -08:00
aot fix(compiler): avoid evaluating arguments to unknown decorators 2017-01-09 16:30:31 -05:00
compiler_util refactor(compiler): remove unneeded fields from metadata 2016-11-28 15:19:23 -08:00
css_parser refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
expression_parser refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
i18n fix(compiler): [i18n] XMB/XTB placeholder names can contain only A-Z, 0-9, _n 2017-01-24 14:47:04 -08:00
ml_parser fix(compiler): do not lex }} when interpolation is disabled (#13531) 2016-12-16 15:33:16 -08:00
output chore(tslint): update tslint to 4.x (#13603) 2016-12-27 14:55:58 -08:00
schema refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
template_parser fix(Compiler): fix template binding parsing (*directive="-...") 2017-01-09 15:00:40 -05:00
view_compiler refactor(compiler): convert metadata classes used in summaries into interfaces (#13123) 2016-11-30 10:52:51 -08:00
directive_lifecycle_spec.ts refactor(compiler): improve types, misc 2016-10-10 09:20:58 -07:00
directive_normalizer_spec.ts fix(compiler): improve the error when template is not a string 2016-12-27 17:04:16 -08:00
directive_resolver_mock_spec.ts refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
directive_resolver_spec.ts refactor: format & lint 2016-12-14 15:10:43 -08:00
integration_spec.ts fix(Compiler): allow "." in attribute selectors (#13653) 2016-12-27 15:23:49 -08:00
metadata_overrider_spec.ts fix(testing): override metadata subclasses properly (#10767) 2016-08-12 17:39:33 -07:00
metadata_resolver_fixture.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
metadata_resolver_spec.ts fix(compiler): improve error message for undefined providers (#13546) 2016-12-27 17:05:14 -08:00
ng_module_resolver_mock_spec.ts refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
ng_module_resolver_spec.ts feat(core): properly support inheritance 2016-11-28 14:12:12 -08:00
pipe_resolver_mock_spec.ts refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
pipe_resolver_spec.ts feat(core): properly support inheritance 2016-11-28 14:12:12 -08:00
private_import_core.ts fix(packages): use ES modules for primary build (#11120) 2016-08-30 18:07:40 -07:00
resource_loader_mock_spec.ts refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
runtime_compiler_spec.ts refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
selector_spec.ts refactor: remove unused imports 2017-01-05 11:18:34 -08:00
shadow_css_spec.ts fix(core): fix pseudo-selector shimming (#12754) 2016-11-07 13:56:04 -08:00
spies.ts chore(lint): remove unused imports (#11923) 2016-09-27 17:12:25 -07:00
style_url_resolver_spec.ts fix(compiler): ignore @import in comments (#13368) 2016-12-20 17:51:02 -08:00
url_resolver_spec.ts refactor(compiler): remove asset: urls 2016-11-18 10:04:14 -08:00
util_spec.ts chore(lint): remove unused imports (#11923) 2016-09-27 17:12:25 -07:00