Skip to content

Commit b2b2cd5

Browse files
authored
Merge pull request #15 from AmazonPython/master
Updated localization file and navigation bar UI.
2 parents 7c6a91a + 92368a3 commit b2b2cd5

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

resources/lang/en/messages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
'nav_channels' => 'Channels',
4444

4545
'welcome_title' => 'Welcome to ',
46-
'welcome_featurette_heading' => 'The forum is build based on Laravel.',
46+
'welcome_featurette_heading' => 'The forum is built based on Laravel.',
4747
'welcome_featurette-text' => 'We are committed to exchanging computer science and technology and trying to make our voices heard all over the world. Want to try PHP, the best language in the world? Welcome to contribute code. If you like, you can light up a small star for the project. Finally, take care of yourself and happy coding!',
4848

4949
'threads_index_title' => 'Threads page',

resources/lang/zh-CN/messages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
'auth_send_password_reset_link' => '发送重置密码链接至邮箱',
3636

3737
'nav_browse' => '浏览',
38-
'nav_all_threads' => '帖子',
38+
'nav_all_threads' => '所有帖子',
3939
'nav_my_threads' => '我的帖子',
4040
'nav_popular_threads' => '流行热帖',
4141
'nav_unanswered_threads' => '未读帖子',

resources/views/layouts/nav.blade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@
122122
<i class="fas fa-user"></i> @lang('messages.auth_home')
123123
</a>
124124
@if (Auth::user()->isAdmin)
125-
<a class="dropdown-item" href="{{ route('admin.dashboard.index') }}">@lang('messages.admin_dashboard')</a>
125+
<a class="dropdown-item" href="{{ route('admin.dashboard.index') }}">
126+
<i class="fas fa-tachometer-alt"></i> @lang('messages.admin_dashboard')
127+
</a>
126128
@endif
127129
<a class="dropdown-item" href="{{ route('logout') }}"
128130
onclick="event.preventDefault();

0 commit comments

Comments
 (0)