fix: checkout payment-description fallback hardcoded Russian regardless of locale

getPaymentDescription()'s final fallback ('Покупка на Маркетплейсе')
ignored the active language. Moved to a translated key.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
sdarbinyan
2026-08-13 09:09:12 +04:00
parent c0bce7feac
commit 8937aea57c
5 changed files with 5 additions and 1 deletions

View File

@@ -615,7 +615,7 @@ export class CartComponent implements OnDestroy {
return hostname;
}
return 'Покупка на Маркетплейсе';
return this.i18n.t('cart.paymentDescriptionFallback');
}
private generateOrderId(): string {