Updated all text to English
This commit is contained in:
@@ -12,7 +12,7 @@ const PasswordModal = ({ isOpen, onClose, onSubmit, action, password, setPasswor
|
|||||||
};
|
};
|
||||||
|
|
||||||
const getActionText = () => {
|
const getActionText = () => {
|
||||||
return action === 'offer' ? 'приглашения' : 'ответа';
|
return action === 'offer' ? 'invitation' : 'response';
|
||||||
};
|
};
|
||||||
|
|
||||||
return React.createElement('div', {
|
return React.createElement('div', {
|
||||||
@@ -37,7 +37,7 @@ const PasswordModal = ({ isOpen, onClose, onSubmit, action, password, setPasswor
|
|||||||
React.createElement('h3', {
|
React.createElement('h3', {
|
||||||
key: 'title',
|
key: 'title',
|
||||||
className: 'text-lg font-medium text-primary'
|
className: 'text-lg font-medium text-primary'
|
||||||
}, 'Ввод пароля')
|
}, 'Password input')
|
||||||
]),
|
]),
|
||||||
React.createElement('form', {
|
React.createElement('form', {
|
||||||
key: 'form',
|
key: 'form',
|
||||||
@@ -47,13 +47,13 @@ const PasswordModal = ({ isOpen, onClose, onSubmit, action, password, setPasswor
|
|||||||
React.createElement('p', {
|
React.createElement('p', {
|
||||||
key: 'description',
|
key: 'description',
|
||||||
className: 'text-secondary text-sm'
|
className: 'text-secondary text-sm'
|
||||||
}, `Введите пароль для расшифровки ${getActionText()}:`),
|
}, `Enter password for decryption ${getActionText()}:`),
|
||||||
React.createElement('input', {
|
React.createElement('input', {
|
||||||
key: 'password-input',
|
key: 'password-input',
|
||||||
type: 'password',
|
type: 'password',
|
||||||
value: password,
|
value: password,
|
||||||
onChange: (e) => setPassword(e.target.value),
|
onChange: (e) => setPassword(e.target.value),
|
||||||
placeholder: 'Введите пароль...',
|
placeholder: 'Enter password...',
|
||||||
className: 'w-full p-3 bg-gray-900/30 border border-gray-500/20 rounded-lg text-primary placeholder-gray-500 focus:border-purple-500/40 focus:outline-none transition-all',
|
className: 'w-full p-3 bg-gray-900/30 border border-gray-500/20 rounded-lg text-primary placeholder-gray-500 focus:border-purple-500/40 focus:outline-none transition-all',
|
||||||
autoFocus: true
|
autoFocus: true
|
||||||
}),
|
}),
|
||||||
@@ -69,7 +69,7 @@ const PasswordModal = ({ isOpen, onClose, onSubmit, action, password, setPasswor
|
|||||||
React.createElement('i', {
|
React.createElement('i', {
|
||||||
className: 'fas fa-unlock-alt mr-2'
|
className: 'fas fa-unlock-alt mr-2'
|
||||||
}),
|
}),
|
||||||
'Расшифровать'
|
'Decrypt'
|
||||||
]),
|
]),
|
||||||
React.createElement('button', {
|
React.createElement('button', {
|
||||||
key: 'cancel',
|
key: 'cancel',
|
||||||
@@ -80,7 +80,7 @@ const PasswordModal = ({ isOpen, onClose, onSubmit, action, password, setPasswor
|
|||||||
React.createElement('i', {
|
React.createElement('i', {
|
||||||
className: 'fas fa-times mr-2'
|
className: 'fas fa-times mr-2'
|
||||||
}),
|
}),
|
||||||
'Отмена'
|
'Cancel'
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user