diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index 21b66bbe7..d7f614985 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -1908,6 +1908,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL "lng_payments_shipping_address_title" = "Shipping Information"; "lng_payments_card_title" = "New Card"; "lng_payments_card_number" = "Card Number"; +"lng_payments_card_cvc" = "CVC"; +"lng_payments_card_expire_date" = "MM / YY"; "lng_payments_card_holder" = "Cardholder name"; "lng_payments_billing_address" = "Billing Information"; "lng_payments_billing_country" = "Country"; diff --git a/Telegram/SourceFiles/payments/ui/payments_edit_card.cpp b/Telegram/SourceFiles/payments/ui/payments_edit_card.cpp index 95200b504..d09b6da23 100644 --- a/Telegram/SourceFiles/payments/ui/payments_edit_card.cpp +++ b/Telegram/SourceFiles/payments/ui/payments_edit_card.cpp @@ -303,12 +303,12 @@ not_null EditCard::setupContent() { st::paymentsFieldPadding); _expire = make(container, { .type = FieldType::CardExpireDate, - .placeholder = rpl::single(u"MM / YY"_q), + .placeholder = tr::lng_payments_card_expire_date(), .validator = ExpireDateValidator(), }); _cvc = make(container, { .type = FieldType::CardCVC, - .placeholder = rpl::single(u"CVC"_q), + .placeholder = tr::lng_payments_card_cvc(), .validator = CvcValidator([=] { return _number->value(); }), }); container->widthValue(