Sign-up page wording fixed
This commit is contained in:
parent
343ce8241c
commit
6564056f16
|
@ -8,8 +8,8 @@ use FastRoute\RouteCollector;
|
|||
|
||||
// Pages
|
||||
$route->get('/', 'HomeController@index');
|
||||
$route->get('/sign-up', 'SignUpController@view');
|
||||
$route->post('/sign-up', 'SignUpController@save');
|
||||
$route->get('/register', 'SignUpController@view');
|
||||
$route->post('/register', 'SignUpController@save');
|
||||
$route->get('/credits', 'CreditsController@index');
|
||||
$route->get('/health', 'HealthController@index');
|
||||
|
||||
|
|
|
@ -174,7 +174,7 @@ function Users_view(
|
|||
unset($user_table_headers[$key]);
|
||||
}
|
||||
|
||||
$link = button(page_link_to('sign-up'), icon('plus-lg'), 'add');
|
||||
$link = button(url('register'), icon('plus-lg'), 'add');
|
||||
return page_with_title(__('All users') . ' ' . $link, [
|
||||
msg(),
|
||||
table($user_table_headers, $usersList),
|
||||
|
|
|
@ -1710,7 +1710,7 @@ msgid "settings.profile.email_messages"
|
|||
msgstr "Benachrichtige mich bei neuen privaten Nachrichten."
|
||||
|
||||
msgid "settings.profile.email_by_human_allowed"
|
||||
msgstr "Erlaube Himmel-Engeln dich per Mail zu kontaktieren."
|
||||
msgstr "Erlaube Himmel-Engeln mich per Mail zu kontaktieren."
|
||||
|
||||
msgid "settings.profile.email_goody"
|
||||
msgstr "Um gegebenenfalls Voucher für das nächste gleichartige Event zu erhalten stimme ich zu, "
|
||||
|
|
|
@ -281,7 +281,7 @@ msgid "settings.profile.email_messages"
|
|||
msgstr "Notify me on new private messages."
|
||||
|
||||
msgid "settings.profile.email_by_human_allowed"
|
||||
msgstr "Allow heaven angels to contact you by e-mail."
|
||||
msgstr "Allow heaven angels to contact me by e-mail."
|
||||
|
||||
msgid "settings.profile.email_goody"
|
||||
msgstr "To possibly receive vouchers for the next similar event, I consent "
|
||||
|
@ -577,7 +577,7 @@ msgid "dashboard.day"
|
|||
msgstr "Day"
|
||||
|
||||
msgid "page.sign-up.title"
|
||||
msgstr "Angel sign-up"
|
||||
msgstr "Angel registration"
|
||||
|
||||
msgid "page.sign-up.login-data"
|
||||
msgstr "Login data"
|
||||
|
@ -589,10 +589,10 @@ msgid "page.sign-up.what-do-you-want-to-do"
|
|||
msgstr "What do you want to do?"
|
||||
|
||||
msgid "page.sign-up.sign-up"
|
||||
msgstr "Sign up"
|
||||
msgstr "Register"
|
||||
|
||||
msgid "pages.sign-up.disabled"
|
||||
msgstr "The angel registration is disabled"
|
||||
|
||||
msgid "pages.sign-up.successful"
|
||||
msgstr "Angel sign-up success. You can now log in."
|
||||
msgstr "Angel registration success. You can now log in."
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
{% include "layouts/parts/language_dropdown.twig" %}
|
||||
|
||||
{% if has_permission_to('register') and config('registration_enabled') %}
|
||||
{{ _self.toolbar_item(__('Register'), url('/sign-up'), 'register', 'plus') }}
|
||||
{{ _self.toolbar_item(__('Register'), url('/register'), 'register', 'plus') }}
|
||||
{% endif %}
|
||||
|
||||
{% if has_permission_to('login') %}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
</a>
|
||||
{% else %}
|
||||
{% if has_permission_to('register') and config('registration_enabled') %}
|
||||
<a href="{{ url('/sign-up') }}" class="btn btn-secondary back">
|
||||
<a href="{{ url('/register') }}" class="btn btn-secondary back">
|
||||
{{ __('registration.register') }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
|
|
@ -106,7 +106,7 @@
|
|||
{% if has_permission_to('register') and config('registration_enabled') %}
|
||||
{% if config('enable_password') %}
|
||||
<p>{{ __('Please sign up, if you want to help us!') }}</p>
|
||||
<a href="{{ url('/sign-up') }}" class="btn btn-primary">{{ __('Register') }} »</a>
|
||||
<a href="{{ url('/register') }}" class="btn btn-primary">{{ __('Register') }} »</a>
|
||||
{% else %}
|
||||
<p>{{ __('Registration is only available via external login.') }}</p>
|
||||
{% endif %}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
{% include 'layouts/parts/messages.twig' %}
|
||||
|
||||
<form method="post" action="{{ url('/sign-up') }}" novalidate class="mb-5">
|
||||
<form method="post" action="{{ url('/register') }}" novalidate class="mb-5">
|
||||
{{ csrf() }}
|
||||
|
||||
<div class="mb-5">
|
||||
|
|
|
@ -324,6 +324,6 @@ class OAuthController extends BaseController
|
|||
$this->session->set('oauth2_enable_password', $config['enable_password']);
|
||||
$this->session->set('oauth2_allow_registration', $config['allow_registration']);
|
||||
|
||||
return $this->redirect->to('/sign-up');
|
||||
return $this->redirect->to('/register');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ class SignUpController extends BaseController
|
|||
|
||||
if ($this->auth->user()) {
|
||||
// User is already logged in - that means a supporter has registered an angel. Return to register page.
|
||||
return $this->redirect->to('/sign-up');
|
||||
return $this->redirect->to('/register');
|
||||
}
|
||||
|
||||
return $this->redirect->to('/');
|
||||
|
|
|
@ -440,7 +440,7 @@ class OAuthControllerTest extends TestCase
|
|||
|
||||
$this->setExpects($this->auth, 'user', null, null, $this->atLeastOnce());
|
||||
|
||||
$this->setExpects($this->redirect, 'to', ['/sign-up']);
|
||||
$this->setExpects($this->redirect, 'to', ['/register']);
|
||||
|
||||
$request = new Request();
|
||||
$request = $request
|
||||
|
@ -528,7 +528,7 @@ class OAuthControllerTest extends TestCase
|
|||
|
||||
$this->setExpects($this->auth, 'user', null, null, $this->atLeastOnce());
|
||||
|
||||
$this->setExpects($this->redirect, 'to', ['/sign-up']);
|
||||
$this->setExpects($this->redirect, 'to', ['/register']);
|
||||
|
||||
$request = new Request();
|
||||
$request = $request
|
||||
|
|
|
@ -100,7 +100,7 @@ final class SignUpControllerTest extends ControllerTest
|
|||
$this->response
|
||||
->expects(self::once())
|
||||
->method('redirectTo')
|
||||
->with('http://localhost/sign-up', 302);
|
||||
->with('http://localhost/register', 302);
|
||||
|
||||
$this->subject->save($request);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue