From e8bf8f1ce316e23a5bb10e001ae275e7609aab31 Mon Sep 17 00:00:00 2001 From: lockbitchat Date: Tue, 12 Aug 2025 15:26:39 -0400 Subject: [PATCH] Updated all text to English --- src/components/ui/SessionTypeSelector.jsx | 71 ++++++++++++----------- 1 file changed, 36 insertions(+), 35 deletions(-) diff --git a/src/components/ui/SessionTypeSelector.jsx b/src/components/ui/SessionTypeSelector.jsx index 9e1245b..ff9631d 100644 --- a/src/components/ui/SessionTypeSelector.jsx +++ b/src/components/ui/SessionTypeSelector.jsx @@ -4,48 +4,49 @@ const SessionTypeSelector = ({ onSelectType, onCancel }) => { const [selectedType, setSelectedType] = React.useState(null); const sessionTypes = [ - { - id: 'free', - name: 'Бесплатная', - duration: '1 минута', - price: '0 сат', - usd: '$0.00', - popular: true - }, - { - id: 'basic', - name: 'Базовая', - duration: '1 час', - price: '500 сат', - usd: '$0.20' - }, - { - id: 'premium', - name: 'Премиум', - duration: '4 часа', - price: '1000 сат', - usd: '$0.40', - popular: true - }, - { - id: 'extended', - name: 'Расширенная', - duration: '24 часа', - price: '2000 сат', - usd: '$0.80' - } + { + id: 'free', + name: 'Free', + duration: '1 minute', + price: '0 sat', + usd: '$0.00', + popular: true + }, + { + id: 'basic', + name: 'Basic', + duration: '1 hour', + price: '500 sat', + usd: '$0.20' + }, + { + id: 'premium', + name: 'Premium', + duration: '4 hours', + price: '1000 sat', + usd: '$0.40', + popular: true + }, + { + id: 'extended', + name: 'Extended', + duration: '24 hours', + price: '2000 sat', + usd: '$0.80' + } ]; + return React.createElement('div', { className: 'space-y-6' }, [ React.createElement('div', { key: 'header', className: 'text-center' }, [ React.createElement('h3', { key: 'title', className: 'text-xl font-semibold text-white mb-2' - }, 'Выберите тариф'), + }, 'Choose a plan'), React.createElement('p', { key: 'subtitle', className: 'text-gray-300 text-sm' - }, 'Оплатите через Lightning Network для доступа к чату') + }, 'Pay via Lightning Network to access the chat') ]), React.createElement('div', { key: 'types', className: 'space-y-3' }, @@ -60,7 +61,7 @@ const SessionTypeSelector = ({ onSelectType, onCancel }) => { type.popular && React.createElement('div', { key: 'badge', className: 'absolute -top-2 right-3 bg-orange-500 text-white text-xs px-2 py-1 rounded-full' - }, 'Популярный'), + }, 'Popular'), React.createElement('div', { key: 'content', className: 'flex items-center justify-between' }, [ React.createElement('div', { key: 'info' }, [ @@ -96,13 +97,13 @@ const SessionTypeSelector = ({ onSelectType, onCancel }) => { className: 'flex-1 lightning-button text-white py-3 px-4 rounded-lg font-medium disabled:opacity-50' }, [ React.createElement('i', { className: 'fas fa-bolt mr-2' }), - 'Продолжить к оплате' + 'Continue to payment' ]), React.createElement('button', { key: 'cancel', onClick: onCancel, className: 'px-6 py-3 bg-gray-600 hover:bg-gray-500 text-white rounded-lg' - }, 'Отмена') + }, 'Cancel') ]) ]); };