|
21 | 21 | <div class="panel panel-default"> |
22 | 22 | <div class="panel-heading"> |
23 | 23 |
|
24 | | - {{ Lang::get('profile.showProfileTitle',['username' => $user->name]) }} |
| 24 | + {{ trans('profile.showProfileTitle',['username' => $user->name]) }} |
25 | 25 |
|
26 | 26 | </div> |
27 | 27 | <div class="panel-body"> |
|
31 | 31 | <dl class="user-info"> |
32 | 32 |
|
33 | 33 | <dt> |
34 | | - {{ Lang::get('profile.showProfileUsername') }} |
| 34 | + {{ trans('profile.showProfileUsername') }} |
35 | 35 | </dt> |
36 | 36 | <dd> |
37 | 37 | {{ $user->name }} |
38 | 38 | </dd> |
39 | 39 |
|
40 | 40 | <dt> |
41 | | - {{ Lang::get('profile.showProfileFirstName') }} |
| 41 | + {{ trans('profile.showProfileFirstName') }} |
42 | 42 | </dt> |
43 | 43 | <dd> |
44 | 44 | {{ $user->first_name }} |
45 | 45 | </dd> |
46 | 46 |
|
47 | 47 | @if ($user->last_name) |
48 | 48 | <dt> |
49 | | - {{ Lang::get('profile.showProfileLastName') }} |
| 49 | + {{ trans('profile.showProfileLastName') }} |
50 | 50 | </dt> |
51 | 51 | <dd> |
52 | 52 | {{ $user->last_name }} |
53 | 53 | </dd> |
54 | 54 | @endif |
55 | 55 |
|
56 | 56 | <dt> |
57 | | - {{ Lang::get('profile.showProfileEmail') }} |
| 57 | + {{ trans('profile.showProfileEmail') }} |
58 | 58 | </dt> |
59 | 59 | <dd> |
60 | 60 | {{ $user->email }} |
|
64 | 64 |
|
65 | 65 | @if ($user->profile->theme_id) |
66 | 66 | <dt> |
67 | | - {{ Lang::get('profile.showProfileTheme') }} |
| 67 | + {{ trans('profile.showProfileTheme') }} |
68 | 68 | </dt> |
69 | 69 | <dd> |
70 | 70 | {{ $currentTheme->name }} |
|
73 | 73 |
|
74 | 74 | @if ($user->profile->location) |
75 | 75 | <dt> |
76 | | - {{ Lang::get('profile.showProfileLocation') }} |
| 76 | + {{ trans('profile.showProfileLocation') }} |
77 | 77 | </dt> |
78 | 78 | <dd> |
79 | 79 | {{ $user->profile->location }} <br /> |
|
86 | 86 |
|
87 | 87 | @if ($user->profile->bio) |
88 | 88 | <dt> |
89 | | - {{ Lang::get('profile.showProfileBio') }} |
| 89 | + {{ trans('profile.showProfileBio') }} |
90 | 90 | </dt> |
91 | 91 | <dd> |
92 | 92 | {{ $user->profile->bio }} |
|
95 | 95 |
|
96 | 96 | @if ($user->profile->twitter_username) |
97 | 97 | <dt> |
98 | | - {{ Lang::get('profile.showProfileTwitterUsername') }} |
| 98 | + {{ trans('profile.showProfileTwitterUsername') }} |
99 | 99 | </dt> |
100 | 100 | <dd> |
101 | 101 | {!! HTML::link('https://twitter.com/'.$user->profile->twitter_username, $user->profile->twitter_username, array('class' => 'twitter-link', 'target' => '_blank')) !!} |
|
104 | 104 |
|
105 | 105 | @if ($user->profile->github_username) |
106 | 106 | <dt> |
107 | | - {{ Lang::get('profile.showProfileGitHubUsername') }} |
| 107 | + {{ trans('profile.showProfileGitHubUsername') }} |
108 | 108 | </dt> |
109 | 109 | <dd> |
110 | 110 | {!! HTML::link('https://github.com/'.$user->profile->github_username, $user->profile->github_username, array('class' => 'github-link', 'target' => '_blank')) !!} |
|
117 | 117 | @if ($user->profile) |
118 | 118 | @if (Auth::user()->id == $user->id) |
119 | 119 |
|
120 | | - {!! HTML::icon_link(URL::to('/profile/'.Auth::user()->name.'/edit'), 'fa fa-fw fa-cog', Lang::get('titles.editProfile'), array('class' => 'btn btn-small btn-info btn-block')) !!} |
| 120 | + {!! HTML::icon_link(URL::to('/profile/'.Auth::user()->name.'/edit'), 'fa fa-fw fa-cog', trans('titles.editProfile'), array('class' => 'btn btn-small btn-info btn-block')) !!} |
121 | 121 |
|
122 | 122 | @endif |
123 | 123 | @else |
124 | 124 |
|
125 | | - <p>{{ Lang::get('profile.noProfileYet') }}</p> |
126 | | - {!! HTML::icon_link(URL::to('/profile/'.Auth::user()->name.'/edit'), 'fa fa-fw fa-plus ', Lang::get('titles.createProfile'), array('class' => 'btn btn-small btn-info btn-block')) !!} |
| 125 | + <p>{{ trans('profile.noProfileYet') }}</p> |
| 126 | + {!! HTML::icon_link(URL::to('/profile/'.Auth::user()->name.'/edit'), 'fa fa-fw fa-plus ', trans('titles.createProfile'), array('class' => 'btn btn-small btn-info btn-block')) !!} |
127 | 127 |
|
128 | 128 | @endif |
129 | 129 |
|
|
0 commit comments