Standardize YooMoney wallet display across payment handlers and localization
- Updated the display logic for YooMoney wallet in payment and subscription handlers to ensure consistent naming and avoid leaking sensitive account information. - Introduced a new localization string for wallet display, enhancing clarity in user-facing messages. - Refactored relevant sections to improve overall code maintainability and user experience.
This commit is contained in:
@@ -386,6 +386,7 @@
|
||||
"payment_method_delete_confirm": "Remove saved payment method?",
|
||||
"payment_method_card_title": "💳 {network} ••••{last4}",
|
||||
"payment_method_generic_title": "💳 {network}",
|
||||
"payment_method_wallet_title": "💼 YooMoney wallet ••••{last4}",
|
||||
"payment_method_added_at": "Added: {date}",
|
||||
"payment_method_last_tx": "Last transaction: {date}",
|
||||
"payment_method_tx_history_title": "📜 Transactions history",
|
||||
|
||||
@@ -385,6 +385,7 @@
|
||||
"payment_method_delete_confirm": "Удалить сохранённый способ оплаты?",
|
||||
"payment_method_card_title": "💳 {network} ••••{last4}",
|
||||
"payment_method_generic_title": "💳 {network}",
|
||||
"payment_method_wallet_title": "💼 Кошелёк YooMoney ••••{last4}",
|
||||
"payment_method_added_at": "Добавлена: {date}",
|
||||
"payment_method_last_tx": "Последняя операция: {date}",
|
||||
"payment_method_tx_history_title": "📜 История операций",
|
||||
|
||||
Reference in New Issue
Block a user