Commit 1192c0a6 authored by Nicolas Widart's avatar Nicolas Widart

Add localised table headings

parent e2db60c6
<?php <?php
return [ return [
'new-user' => 'New User' 'new-user' => 'New User',
'table' => [
'created-at' => 'Created At',
'first-name' => 'First name',
'last-name' => 'Last name',
'email' => 'Email',
'actions' => 'Actions',
]
]; ];
\ No newline at end of file
<?php <?php
return [ return [
'new-user' => 'Nouvel utilisateur' 'new-user' => 'Nouvel utilisateur',
'table' => [
'created-at' => 'Crée à',
'first-name' => 'Prénom',
'last-name' => 'Nom de famille',
'email' => 'Email',
'actions' => 'Actions',
]
]; ];
\ No newline at end of file
...@@ -29,11 +29,11 @@ ...@@ -29,11 +29,11 @@
<table class="data-table table table-bordered table-hover"> <table class="data-table table table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<th>Created at</th> <th>{{ trans('user::users.table.created-at') }}</th>
<th>First name</th> <th>{{ trans('user::users.table.first-name') }}</th>
<th>Last name</th> <th>{{ trans('user::users.table.last-name') }}</th>
<th>Email</th> <th>{{ trans('user::users.table.email') }}</th>
<th>Actions</th> <th>{{ trans('user::users.table.actions') }}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
...@@ -72,11 +72,11 @@ ...@@ -72,11 +72,11 @@
</tbody> </tbody>
<tfoot> <tfoot>
<tr> <tr>
<th>Created at</th> <th>{{ trans('user::users.table.created-at') }}</th>
<th>First name</th> <th>{{ trans('user::users.table.first-name') }}</th>
<th>Last name</th> <th>{{ trans('user::users.table.last-name') }}</th>
<th>Email</th> <th>{{ trans('user::users.table.email') }}</th>
<th>Actions</th> <th>{{ trans('user::users.table.actions') }}</th>
</tr> </tr>
</tfoot> </tfoot>
</table> </table>
......
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