Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
1192c0a6
Commit
1192c0a6
authored
Oct 03, 2014
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add localised table headings
parent
e2db60c6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
12 deletions
+28
-12
users.php
Resources/lang/en/users.php
+9
-1
users.php
Resources/lang/fr/users.php
+9
-1
index.blade.php
Resources/views/admin/users/index.blade.php
+10
-10
No files found.
Resources/lang/en/users.php
View file @
1192c0a6
<?php
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
Resources/lang/fr/users.php
View file @
1192c0a6
<?php
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
Resources/views/admin/users/index.blade.php
View file @
1192c0a6
...
...
@@ -29,11 +29,11 @@
<table
class=
"data-table table table-bordered table-hover"
>
<thead>
<tr>
<th>
Created at
</th>
<th>
First name
</th>
<th>
Last name
</th>
<th>
Email
</th>
<th>
Actions
</th>
<th>
{{ trans('user::users.table.created-at') }}
</th>
<th>
{{ trans('user::users.table.first-name') }}
</th>
<th>
{{ trans('user::users.table.last-name') }}
</th>
<th>
{{ trans('user::users.table.email') }}
</th>
<th>
{{ trans('user::users.table.actions') }}
</th>
</tr>
</thead>
<tbody>
...
...
@@ -72,11 +72,11 @@
</tbody>
<tfoot>
<tr>
<th>
Created at
</th>
<th>
First name
</th>
<th>
Last name
</th>
<th>
Email
</th>
<th>
Actions
</th>
<th>
{{ trans('user::users.table.created-at') }}
</th>
<th>
{{ trans('user::users.table.first-name') }}
</th>
<th>
{{ trans('user::users.table.last-name') }}
</th>
<th>
{{ trans('user::users.table.email') }}
</th>
<th>
{{ trans('user::users.table.actions') }}
</th>
</tr>
</tfoot>
</table>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment