mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-28 07:50:32 +05:30
Добавлены более-менее реальные пункты для формы обратной связи и их переводы
This commit is contained in:
parent
51e443e74a
commit
ea941efb77
@ -11,7 +11,14 @@ import popupStyles from 'components/ui/popup/popup.scss';
|
||||
import styles from './contactForm.scss';
|
||||
import messages from './contactForm.intl.json';
|
||||
|
||||
const CONTACT_CATEGORIES = ['Foo', 'Bar', 'Baz'];
|
||||
const CONTACT_CATEGORIES = [
|
||||
// TODO: сюда позже проставить реальные id категорий с backend
|
||||
<Message {...messages.cannotAccessMyAccount} />,
|
||||
<Message {...messages.foundBugOnSite} />,
|
||||
<Message {...messages.improvementsSuggestion} />,
|
||||
<Message {...messages.integrationQuestion} />,
|
||||
<Message {...messages.other} />
|
||||
];
|
||||
|
||||
export default class ContactForm extends Component {
|
||||
static displayName = 'ContactForm';
|
||||
|
@ -6,5 +6,11 @@
|
||||
"send": "Send",
|
||||
"philosophicalThought": "Properly formulated question - half of the answer",
|
||||
"disclaimer": "Please formulate your feedback providing as much useful information, as possible to help us understand your problem and solve it",
|
||||
"whichQuestion" : "What are you interested in?"
|
||||
"whichQuestion" : "What are you interested in?",
|
||||
|
||||
"cannotAccessMyAccount" : "Can not access my account",
|
||||
"foundBugOnSite" : "I found a bug on the site",
|
||||
"improvementsSuggestion" : "I have a suggestion for improving the functional",
|
||||
"integrationQuestion" : "Service integration question",
|
||||
"other" : "Other"
|
||||
}
|
||||
|
@ -18,7 +18,11 @@ export default class Dropdown extends FormComponent {
|
||||
}),
|
||||
PropTypes.string
|
||||
]).isRequired,
|
||||
items: PropTypes.arrayOf(PropTypes.string).isRequired,
|
||||
items: PropTypes.oneOfType([
|
||||
PropTypes.arrayOf(PropTypes.string),
|
||||
PropTypes.arrayOf(PropTypes.object)
|
||||
// TODO: ^^^ я тут хотел добавить вариант с <Message /> объектом, не уверен, что вышло верно
|
||||
]).isRequired,
|
||||
block: PropTypes.bool,
|
||||
color: PropTypes.oneOf(colors)
|
||||
};
|
||||
|
@ -63,9 +63,14 @@
|
||||
"components.auth.resendActivation.sendNewEmail": "Send new E-mail",
|
||||
"components.auth.resendActivation.specifyYourEmail": "Please, enter an E-mail you've registered with and we will send you new activation code.",
|
||||
"components.auth.resendActivation.title": "Did not received an E-mail",
|
||||
"components.contact.cannotAccessMyAccount": "Can not access my account",
|
||||
"components.contact.disclaimer": "Please formulate your feedback providing as much useful information, as possible to help us understand your problem and solve it",
|
||||
"components.contact.email": "E-mail",
|
||||
"components.contact.foundBugOnSite": "I found a bug on the site",
|
||||
"components.contact.improvementsSuggestion": "I have a suggestion for improving the functional",
|
||||
"components.contact.integrationQuestion": "Service integration question",
|
||||
"components.contact.message": "Message",
|
||||
"components.contact.other": "Other",
|
||||
"components.contact.philosophicalThought": "Properly formulated question - half of the answer",
|
||||
"components.contact.send": "Send",
|
||||
"components.contact.subject": "Subject",
|
||||
|
@ -63,9 +63,14 @@
|
||||
"components.auth.resendActivation.sendNewEmail": "Отправить новое письмо",
|
||||
"components.auth.resendActivation.specifyYourEmail": "Укажите здесь ваш регистрационный E-mail адрес и мы вышлем на него новое письмо с кодом активации аккаунта",
|
||||
"components.auth.resendActivation.title": "Не получил письмо",
|
||||
"components.contact.cannotAccessMyAccount": "Не удаётся получить доступ к аккаунту",
|
||||
"components.contact.disclaimer": "Пожалуйста, формируйте свои обращения, предоставляя максимум полезной информации, чтобы мы могли как можно быстрее понять вашу проблему и решить её",
|
||||
"components.contact.email": "E‑mail",
|
||||
"components.contact.foundBugOnSite": "Я нашёл ошибку на сайте",
|
||||
"components.contact.improvementsSuggestion": "У меня есть предложение по улучшению функционала",
|
||||
"components.contact.integrationQuestion": "Вопрос о интеграции с сервисом",
|
||||
"components.contact.message": "Сообщение",
|
||||
"components.contact.other": "Прочее",
|
||||
"components.contact.philosophicalThought": "Правильно сформулированный вопрос - половина ответа",
|
||||
"components.contact.send": "Отправить",
|
||||
"components.contact.subject": "Тема",
|
||||
|
Loading…
Reference in New Issue
Block a user