ADD: Пояснение (регистрация / авторизация)

This commit is contained in:
Evg 2022-05-11 18:59:50 +03:00
parent 470abd2997
commit 0a7b779d00
8 changed files with 49 additions and 4 deletions

13
app/Languages/en/auth.php Normal file
View file

@ -0,0 +1,13 @@
<?php
/*
* The following language strings are used on login and registration pages.
*
* Следующие языковые строки используются на странице авторизации и регистрации.
*/
return [
'mail_confirm' => 'After submitting the completed form, you will be asked to verify your email address. It is important to note that you will not be able to proceed through the rest of the onboarding process until you have done so.',
'login_info' => 'Authorization gives you the ability to publish posts, reply, comment and vote.',
];

View file

@ -12,7 +12,6 @@ return [
'setting_info' => 'Fill in your name, this will help the participants to refer to you by your first name. <br><br> Tell us something about yourself. You have a great opportunity to open up to please others and seem like an interesting person.',
'avatar_info' => 'Upload an avatar and cover photo for your profile. <br><br> When each user has a unique avatar, it becomes much easier to follow discussions!',
'security_info' => 'Make sure all your passwords are 8 characters or more, ideally a lot more.',
'login_info' => 'Authorization gives you the ability to publish posts, reply, comment and vote.',
'recover_info' => 'After you click the "Reset" button, check your e-mail.',
'favorite_info' => 'Posts, comments and questions in your bookmarks.',
'preferences_info' => 'Posts you follow. You will be notified of all new replies.',

13
app/Languages/ro/auth.php Normal file
View file

@ -0,0 +1,13 @@
<?php
/*
* The following language strings are used on login and registration pages.
*
* Следующие языковые строки используются на странице авторизации и регистрации.
*/
return [
'mail_confirm' => 'După ce ați trimis formularul completat, vi se va cere să vă verificați adresa de e-mail. Este important să rețineți că nu veți putea trece prin restul procesului de îmbarcare până când nu veți face acest lucru.',
'login_info' => 'Autorizarea vă oferă posibilitatea de a publica postări, de a răspunde, de a comenta și de a vota.',
];

View file

@ -12,7 +12,6 @@ return [
'setting_info' => 'Completează-ți numele, acest lucru îi va ajuta pe participanți să se refere la tine prin prenumele tău. <br><br> Spune-ne ceva despre tine. Ai o oportunitate grozavă să te deschizi pentru a le mulțumi altora și să pari o persoană interesantă.',
'avatar_info' => 'Încarcă un avatar și o fotografie de copertă pentru profilul tău. <br><br> Când fiecare utilizator are un avatar unic, devine mult mai ușor să urmărești discuțiile!',
'security_info' => 'Asigurați-vă că toate parolele dvs. au 8 caractere sau mai mult, în mod ideal, mult mai multe.',
'login_info' => 'Autorizarea vă oferă posibilitatea de a publica postări, de a răspunde, de a comenta și de a vota.',
'recover_info' => 'După ce faceți clic pe butonul „Resetare”, verificați-vă e-mailul.',
'favorite_info' => 'Postări, comentarii și întrebări în marcajele dvs.',
'preferences_info' => 'Postări pe care le urmăriți. Veți fi notificat cu privire la toate răspunsurile noi.',

13
app/Languages/ru/auth.php Normal file
View file

@ -0,0 +1,13 @@
<?php
/*
* The following language strings are used on login and registration pages.
*
* Следующие языковые строки используются на странице авторизации и регистрации.
*/
return [
'mail_confirm' => 'После отправки заполненной формы вам будет предложено подтвердить адрес электронной почты. Важно отметить, что вы не сможете пройти остальную часть процесса адаптации, пока не сделаете этого.',
'login_info' => 'Авторизация дает вам возможность публиковать посты, отвечать, комментировать и голосовать',
];

View file

@ -12,7 +12,6 @@ return [
'setting_info' => 'Заполните ваше имя, это поможет участникам обращаться к вам по имени. <br><br> Расскажи что-нибудь о себе. У вас отличная возможность раскрыться, чтобы понравиться окружающим и показаться интересной личностью.',
'avatar_info' => 'Загрузите аватар и обложку для своего профиля. <br><br> Когда каждый пользователь имеет уникальный аватар, следить за обсуждениями становится значительно легче!',
'security_info' => 'Убедитесь, что все ваши пароли имеют 8 символов и более, в идеале намного больше.',
'login_info' => 'Авторизация дает вам возможность публиковать посты, отвечать, комментировать и голосовать.',
'recover_info' => 'После того, как нажмете кнопку «Сбросить», проверьте свой e-mail.',
'favorite_info' => 'Посты, комментарии и вопросы в ваших закладках.',
'preferences_info' => 'Посты, на которые вы подписаны. Вы будете получать уведомления о всех новых ответах.',

View file

@ -6,6 +6,11 @@ $form->html_form(UserData::getUserTl(), config('form/auth.login'));
<main class="box w-100">
<div class="pl20">
<h1><?= __('app.authorization'); ?></h1>
<div class="p15 bg-violet max-w300 mb-none right">
<?= __('auth.login_info'); ?>
</div>
<form class="max-w300" action="<?= url('login'); ?>" method="post">
<?php csrf_field(); ?>
@ -23,6 +28,5 @@ $form->html_form(UserData::getUserTl(), config('form/auth.login'));
<?= __('app.invate_text'); ?>
<?php endif; ?>
<p><?= __('app.agree_rules'); ?>.</p>
<p><?= __('help.login_info'); ?></p>
</div>
</main>

View file

@ -5,6 +5,11 @@ $form->html_form(UserData::getUserTl(), config('form/auth.register'));
<main class="box w-100">
<div class="pl20">
<h1><?= __('app.' . $data['sheet']); ?></h1>
<div class="p15 bg-violet max-w300 mb-none right">
<?= __('auth.mail_confirm'); ?>
</div>
<form class="max-w300" action="<?= url('register.add'); ?>" method="post">
<?php csrf_field(); ?>