Updated all text to English

This commit is contained in:
lockbitchat
2025-08-12 15:26:39 -04:00
parent d147f262b5
commit e8bf8f1ce3

View File

@@ -6,46 +6,47 @@ const SessionTypeSelector = ({ onSelectType, onCancel }) => {
const sessionTypes = [ const sessionTypes = [
{ {
id: 'free', id: 'free',
name: 'Бесплатная', name: 'Free',
duration: '1 минута', duration: '1 minute',
price: '0 сат', price: '0 sat',
usd: '$0.00', usd: '$0.00',
popular: true popular: true
}, },
{ {
id: 'basic', id: 'basic',
name: 'Базовая', name: 'Basic',
duration: '1 час', duration: '1 hour',
price: '500 сат', price: '500 sat',
usd: '$0.20' usd: '$0.20'
}, },
{ {
id: 'premium', id: 'premium',
name: 'Премиум', name: 'Premium',
duration: '4 часа', duration: '4 hours',
price: '1000 сат', price: '1000 sat',
usd: '$0.40', usd: '$0.40',
popular: true popular: true
}, },
{ {
id: 'extended', id: 'extended',
name: 'Расширенная', name: 'Extended',
duration: '24 часа', duration: '24 hours',
price: '2000 сат', price: '2000 sat',
usd: '$0.80' usd: '$0.80'
} }
]; ];
return React.createElement('div', { className: 'space-y-6' }, [ return React.createElement('div', { className: 'space-y-6' }, [
React.createElement('div', { key: 'header', className: 'text-center' }, [ React.createElement('div', { key: 'header', className: 'text-center' }, [
React.createElement('h3', { React.createElement('h3', {
key: 'title', key: 'title',
className: 'text-xl font-semibold text-white mb-2' className: 'text-xl font-semibold text-white mb-2'
}, 'Выберите тариф'), }, 'Choose a plan'),
React.createElement('p', { React.createElement('p', {
key: 'subtitle', key: 'subtitle',
className: 'text-gray-300 text-sm' 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' }, React.createElement('div', { key: 'types', className: 'space-y-3' },
@@ -60,7 +61,7 @@ const SessionTypeSelector = ({ onSelectType, onCancel }) => {
type.popular && React.createElement('div', { type.popular && React.createElement('div', {
key: 'badge', key: 'badge',
className: 'absolute -top-2 right-3 bg-orange-500 text-white text-xs px-2 py-1 rounded-full' 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: 'content', className: 'flex items-center justify-between' }, [
React.createElement('div', { key: 'info' }, [ 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' 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' }), React.createElement('i', { className: 'fas fa-bolt mr-2' }),
'Продолжить к оплате' 'Continue to payment'
]), ]),
React.createElement('button', { React.createElement('button', {
key: 'cancel', key: 'cancel',
onClick: onCancel, onClick: onCancel,
className: 'px-6 py-3 bg-gray-600 hover:bg-gray-500 text-white rounded-lg' className: 'px-6 py-3 bg-gray-600 hover:bg-gray-500 text-white rounded-lg'
}, 'Отмена') }, 'Cancel')
]) ])
]); ]);
}; };