Browse Source

add 闭社树 to navigation, with horrible way

pull/4/head
欧醚 5 years ago
parent
commit
713bf5509f
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      app/javascript/mastodon/features/ui/components/navigation_panel.js
  2. +1
    -0
      app/javascript/mastodon/locales/zh-CN.json

+ 1
- 0
app/javascript/mastodon/features/ui/components/navigation_panel.js View File

@ -11,6 +11,7 @@ import TrendsContainer from 'mastodon/features/getting_started/containers/trends
const NavigationPanel = () => (
<div className='navigation-panel'>
<NavLink className='column-link column-link--transparent' to='/timelines/home' data-preview-title-id='column.home' data-preview-icon='home' ><Icon className='column-link__icon' id='home' fixedWidth /><FormattedMessage id='tabs_bar.home' defaultMessage='Home' /></NavLink>
<NavLink className='column-link column-link--transparent' to='/statuses/102995298871197915' data-preview-title-id='column.tree' data-preview-icon='tree' ><Icon className='column-link__icon' id='tree' fixedWidth /><FormattedMessage id='tabs_bar.tree' defaultMessage='Tree' /></NavLink>
<NavLink className='column-link column-link--transparent' to='/notifications' data-preview-title-id='column.notifications' data-preview-icon='bell' ><NotificationsCounterIcon className='column-link__icon' /><FormattedMessage id='tabs_bar.notifications' defaultMessage='Notifications' /></NavLink>
<FollowRequestsNavLink />
<NavLink className='column-link column-link--transparent' to='/timelines/public/local' data-preview-title-id='column.community' data-preview-icon='users' ><Icon className='column-link__icon' id='users' fixedWidth /><FormattedMessage id='tabs_bar.local_timeline' defaultMessage='Local' /></NavLink>

+ 1
- 0
app/javascript/mastodon/locales/zh-CN.json View File

@ -385,6 +385,7 @@
"suggestions.header": "您可能会感兴趣…",
"tabs_bar.federated_timeline": "跨站",
"tabs_bar.home": "主页",
"tabs_bar.tree": "闭社树",
"tabs_bar.local_timeline": "本站",
"tabs_bar.notifications": "通知",
"tabs_bar.search": "搜索",

Loading…
Cancel
Save