X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/fff5bbcee458992443e3732fbcbbbe34f765fcc3..refs/pull/270/head:/resources/views/users/profile.blade.php diff --git a/resources/views/users/profile.blade.php b/resources/views/users/profile.blade.php index 1ae869979..10bd0ec63 100644 --- a/resources/views/users/profile.blade.php +++ b/resources/views/users/profile.blade.php @@ -17,21 +17,21 @@

{{ $user->name }}

- User for {{ $user->created_at->diffForHumans(null, true) }} + {{ trans('entities.profile_user_for_x', ['time' => $user->created_at->diffForHumans(null, true)]) }}

-
Created Content
+
{{ trans('entities.profile_created_content') }}
- {{ $assetCounts['books'] }} {{ str_plural('Book', $assetCounts['books']) }} + {{ $assetCounts['books'] }} {{ str_plural(trans('entities.book'), $assetCounts['books']) }}
- {{ $assetCounts['chapters'] }} {{ str_plural('Chapter', $assetCounts['chapters']) }} + {{ $assetCounts['chapters'] }} {{ str_plural(trans('entities.chapter'), $assetCounts['chapters']) }}
- {{ $assetCounts['pages'] }} {{ str_plural('Page', $assetCounts['pages']) }} + {{ $assetCounts['pages'] }} {{ str_plural(trans('entities.page'), $assetCounts['pages']) }}
@@ -39,34 +39,34 @@
-

Recently Created Pages

+

{{ trans('entities.recently_created_pages') }}

@if (count($recentlyCreated['pages']) > 0) @include('partials/entity-list', ['entities' => $recentlyCreated['pages']]) @else -

{{ $user->name }} has not created any pages

+

{{ trans('entities.profile_not_created_pages', ['userName' => $user->name]) }}

@endif
-

Recently Created Chapters

+

{{ trans('entities.recently_created_chapters') }}

@if (count($recentlyCreated['chapters']) > 0) @include('partials/entity-list', ['entities' => $recentlyCreated['chapters']]) @else -

{{ $user->name }} has not created any chapters

+

{{ trans('entities.profile_not_created_chapters', ['userName' => $user->name]) }}

@endif
-

Recently Created Books

+

{{ trans('entities.recently_created_books') }}

@if (count($recentlyCreated['books']) > 0) @include('partials/entity-list', ['entities' => $recentlyCreated['books']]) @else -

{{ $user->name }} has not created any books

+

{{ trans('entities.profile_not_created_books', ['userName' => $user->name]) }}

@endif
-

Recent Activity

+

{{ trans('entities.recent_activity') }}

@include('partials/activity-list', ['activity' => $activity])