1
0
mirror of https://github.com/flarum/core.git synced 2025-08-22 08:04:37 +02:00

Extract translations from core blade files.

- Extracts translations from `reset.blade.php`.
- Adjusts namespacing of translations in other files.
- Fixes one direct reference to a `core.ref` key.
This commit is contained in:
dcsjapan
2016-04-07 17:45:58 +09:00
parent e30f8f261b
commit 6d5582e4ac
4 changed files with 11 additions and 11 deletions

View File

@@ -9,24 +9,24 @@
</head>
<body>
<h1>Reset Your Password</h1>
<h1>{{ $translator->trans('core.views.reset.title') }}</h1>
<form class="form-horizontal" role="form" method="POST" action="{{ app('Flarum\Forum\UrlGenerator')->toRoute('savePassword') }}">
<input type="hidden" name="csrfToken" value="{{ $csrfToken }}">
<input type="hidden" name="passwordToken" value="{{ $passwordToken }}">
<div class="form-group">
<label class="control-label">Password</label>
<label class="control-label">{{ $translator->trans('core.views.reset.password_label') }}</label>
<input type="password" class="form-control" name="password">
</div>
<div class="form-group">
<label class="control-label">Confirm Password</label>
<label class="control-label">{{ $translator->trans('core.views.reset.confirm_password_label') }}</label>
<input type="password" class="form-control" name="password_confirmation">
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary">Reset Password</button>
<button type="submit" class="btn btn-primary">{{ $translator->trans('core.views.reset.submit_button') }}</button>
</div>
</form>
</body>