From bc0750eb932a55af2792cf066508fa13ff2df3e9 Mon Sep 17 00:00:00 2001 From: Olivier Combe Date: Fri, 1 Sep 2017 14:50:58 +0200 Subject: [PATCH] refactor(compiler): update i18n comments deprecation message (#19215) PR Close #19215 --- packages/compiler/src/i18n/extractor_merger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/compiler/src/i18n/extractor_merger.ts b/packages/compiler/src/i18n/extractor_merger.ts index 4cda98b0b6..2f29634a9b 100644 --- a/packages/compiler/src/i18n/extractor_merger.ts +++ b/packages/compiler/src/i18n/extractor_merger.ts @@ -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 element instead (${comment.sourceSpan.start}${details})`); + `I18n comments are deprecated, use an element instead (${comment.sourceSpan.start}${details})`); } this._inI18nBlock = true; this._blockStartDepth = this._depth;