Unverified Commit 705d04d0 authored by Nicolas Widart's avatar Nicolas Widart Committed by GitHub

Merge pull request #531 from kamekun/3.0

Update Carbon Locale, remove body requirement on pages, minor update to language core en, and update language es.
parents f7c72d10 6988ae7e
......@@ -3,6 +3,7 @@ versions:
"@unreleased":
changed:
- Updating Dutch translations
- Fix Carbon locale
"3.5.3":
changed:
- Updating Polish translations
......
......@@ -20,7 +20,6 @@ class CreatePageRequest extends BaseFormRequest
return [
'title' => 'required',
'slug' => 'required',
'body' => 'required',
];
}
......
......@@ -20,7 +20,6 @@ class UpdatePageRequest extends BaseFormRequest
return [
'title' => 'required',
'slug' => 'required',
'body' => 'required',
];
}
......
......@@ -8,6 +8,7 @@ return [
'table' => [
'created at' => 'Created at',
'updated at' => 'Updated at',
'deleted at' => 'Deleted at',
'actions' => 'Actions',
'thumbnail' => 'Thumbnail',
],
......@@ -33,11 +34,15 @@ return [
'update' => 'Update',
'delete' => 'Delete',
'reset' => 'Reset',
'see' => 'See',
'visualize' => 'Visualize',
'update and back' => 'Update and go back',
],
'save' => 'Save',
'confirm' => 'Confirm',
'move' => 'Move',
'widget' => 'Widget',
'widgets' => 'Widgets',
'breadcrumb' => [
'home' => 'Home',
],
......
......@@ -8,6 +8,7 @@ return [
'table' => [
'created at' => 'Creado el',
'updated at' => 'Actualizado el',
'deleted at' => 'Eliminado el',
'actions' => 'Acciones',
'thumbnail' => 'Miniaturas',
],
......@@ -33,11 +34,15 @@ return [
'update' => 'Actualizar',
'delete' => 'Eliminar',
'reset' => 'Reiniciar',
'see' => 'Ver',
'visualize' => 'Visualize',
'update and back' => 'Actualizar y regresar',
],
'save' => 'Guardar',
'confirm' => 'Confirmar',
'move' => 'Mover',
'widget' => 'Complemento',
'widgets' => 'Complementos',
'breadcrumb' => [
'home' => 'Inicio',
],
......
url: https://github.com/AsgardCms/Platform
versions:
"@unreleased":
changed:
- Adding a test the user token is correctly generated
"3.5.1":
changed:
- Fix issue 467 id() method checks null instead of false
......
......@@ -19,6 +19,7 @@
</a>
</li>
<li><a href="{{ url('/') }}"><i class="fa fa-eye"></i> {{ trans('core::core.general.view website') }}</a></li>
@if(count(LaravelLocalization::getSupportedLocales())>1)
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-flag"></i>
......@@ -37,6 +38,7 @@
@endforeach
</ul>
</li>
@endif
<!-- User Account: style can be found in dropdown.less -->
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
......
......@@ -17,6 +17,7 @@ class AppServiceProvider extends ServiceProvider
{
Schema::defaultStringLength(191);
Carbon::setLocale(config('app.locale'));
Carbon::serializeUsing(function ($carbon) {
return $carbon->format('d/m/y H:i:s');
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment