refactor(compiler): update i18n comments deprecation message (#19215)

PR Close #19215
This commit is contained in:
Olivier Combe 2017-09-01 14:50:58 +02:00 committed by Igor Minar
parent 381e680758
commit bc0750eb93
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ class _Visitor implements html.Visitor {
const details = comment.sourceSpan.details ? `, ${comment.sourceSpan.details}` : '';
// TODO(ocombe): use a log service once there is a public one available
console.warn(
` I18n comments are deprecated, use an <ng - container> element instead (${comment.sourceSpan.start}${details})`);
`I18n comments are deprecated, use an <ng-container> element instead (${comment.sourceSpan.start}${details})`);
}
this._inI18nBlock = true;
this._blockStartDepth = this._depth;