diff --git a/npm/ng-packs/packages/theme-shared/src/lib/components/confirmation/confirmation.component.html b/npm/ng-packs/packages/theme-shared/src/lib/components/confirmation/confirmation.component.html index 82041d6b5ac..e2bffd53d4c 100644 --- a/npm/ng-packs/packages/theme-shared/src/lib/components/confirmation/confirmation.component.html +++ b/npm/ng-packs/packages/theme-shared/src/lib/components/confirmation/confirmation.component.html @@ -6,10 +6,10 @@

- {{ title }} + {{ data.title | abpLocalization: data.options?.titleLocalizationParams }}

- {{ message }} + {{ data.message | abpLocalization: data.options?.messageLocalizationParams }}

diff --git a/npm/ng-packs/packages/theme-shared/src/lib/components/toast/toast.component.ts b/npm/ng-packs/packages/theme-shared/src/lib/components/toast/toast.component.ts index afdf73ef880..99fbb880339 100644 --- a/npm/ng-packs/packages/theme-shared/src/lib/components/toast/toast.component.ts +++ b/npm/ng-packs/packages/theme-shared/src/lib/components/toast/toast.component.ts @@ -32,20 +32,6 @@ export class ToastComponent implements OnInit { } } - get titleLocalizationParams(): string { - return this.localizationService.instant( - this.toast.title, - ...this.toast.options.titleLocalizationParams, - ); - } - - get messageLocalizationParams() { - return this.localizationService.instant( - this.toast.message, - ...this.toast.options.messageLocalizationParams, - ); - } - constructor( private toastService: ToasterService, private localizationService: LocalizationService,