Browse Source

微调界面

pull/4/head
欧醚 3 years ago
parent
commit
d67cd9a573
3 changed files with 5 additions and 4 deletions
  1. +2
    -1
      app/helpers/application_helper.rb
  2. +1
    -1
      app/javascript/mastodon/features/ui/components/link_footer.js
  3. +2
    -2
      app/javascript/mastodon/locales/zh-CN.json

+ 2
- 1
app/helpers/application_helper.rb View File

@ -33,7 +33,8 @@ module ApplicationHelper
def available_sign_up_path
if closed_registrations?
'https://joinmastodon.org/#getting-started'
#'https://joinmastodon.org/#getting-started'
'https://closed.social'
else
new_user_registration_path
end

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

@ -54,7 +54,7 @@ class LinkFooter extends React.PureComponent {
<li><a href='https://closed.social/apps' target='_blank'><FormattedMessage id='navigation_bar.apps' defaultMessage='Mobile apps' /></a> · </li>
<li><a href='/terms' target='_blank'><FormattedMessage id='getting_started.terms' defaultMessage='Terms of service' /></a> · </li>
<li><a href='/settings/applications' target='_blank'><FormattedMessage id='getting_started.developers' defaultMessage='Developers' /></a> · </li>
<li><a href='https://closed.social/intro' target='_blank'><FormattedMessage id='getting_started.documentation' defaultMessage='Documentation' /></a> · </li>
<li><a href='https://docs.joinmastodon.org' target='_blank'><FormattedMessage id='getting_started.documentation' defaultMessage='Documentation' /></a> · </li>
<li><a href='/auth/sign_out' onClick={this.handleLogoutClick}><FormattedMessage id='navigation_bar.logout' defaultMessage='Logout' /></a></li>
</ul>

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

@ -176,10 +176,10 @@
"generic.saved": "Saved",
"getting_started.developers": "开发",
"getting_started.directory": "用户目录",
"getting_started.documentation": "指南",
"getting_started.documentation": "Mastodon文档",
"getting_started.heading": "开始使用",
"getting_started.invite": "邀请用户",
"getting_started.open_source_notice": "Mastodon 是开源软件。欢迎前往 GitHub({github})贡献代码或反馈问题。",
"getting_started.open_source_notice": "闭社是开源软件。欢迎前往 GitHub({github})贡献代码或反馈问题。",
"getting_started.security": "帐户安全",
"getting_started.terms": "使用条款",
"hashtag.column_header.tag_mode.all": "以及 {additional}",

Loading…
Cancel
Save