From 6fb7c613bedb17a94db638b556d461985a18e138 Mon Sep 17 00:00:00 2001 From: Shane Melton Date: Fri, 8 Mar 2024 13:04:52 -0800 Subject: [PATCH] Prettier --- libs/components/src/i18n/i18n.component.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libs/components/src/i18n/i18n.component.ts b/libs/components/src/i18n/i18n.component.ts index 490623542f0..ae8998654c3 100644 --- a/libs/components/src/i18n/i18n.component.ts +++ b/libs/components/src/i18n/i18n.component.ts @@ -69,21 +69,24 @@ export class I18nComponent implements AfterContentInit { protected translationParts: I18nStringPart[] = []; - constructor(private i18nService: I18nService, private logService: LogService) {} + constructor( + private i18nService: I18nService, + private logService: LogService, + ) {} ngAfterContentInit() { const translatedText = this.i18nService.t( this.translationKey, this.args[0], this.args[1], - this.args[2] + this.args[2], ); this.translationParts = this.parseTranslatedString(translatedText); if (this.translationParts.length !== this.templateTags.length) { this.logService.warning( - `The translation for "${this.translationKey}" has ${this.translationParts.length} template tags(s), but ${this.templateTags.length} bit-i18n-part directive(s) were found.` + `The translation for "${this.translationKey}" has ${this.translationParts.length} template tags(s), but ${this.templateTags.length} bit-i18n-part directive(s) were found.`, ); }