Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add Simplified Chinese internationalization configuration files for Bullet Train #739

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions config/locales/locales.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ locales: &locales
# This is the canonical list of available languages.
en: English
# ja: 日本語
zh-CN: 简体中文

# The language labels should be the same across all locales.
en:
Expand All @@ -13,3 +14,8 @@ ja:
locale:
default: デフォルト
locales: *locales

zh-CN:
locale:
default: 默认
locales: *locales
14 changes: 14 additions & 0 deletions config/locales/zh-CN/application.zh-CN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
zh-CN:
application:
name: Untitled Application
owner: Unidentified Developer
description: 您可以在`config/locales/zh-CN/application.zh-CN.yml`中更新此说明。
keywords: untitled application SEO 关键词
support_email: change.me@localhost
key: untitled_application
webhooks/outgoing/endpoints:
fields:
api_version:
options:
1: V1
# 🚅 super scaffolding will insert new api versions above this line.
17 changes: 17 additions & 0 deletions config/locales/zh-CN/billing/products.zh-CN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
zh-CN:
billing/products:
free:
name: 免费
basic:
name: 基础
description: 这是一种示例月付费计划,包含免费试用期。
features:
- 可以按团队成员数定价。
- 允许创建最多五十个”创意概念”。
- 超出限制后会提醒限制。
pro:
name: 高级
description: 这是一个改进的示例计划,拥有不同的功能。
features:
- 固定价格,最多包含十名团队成员。
- 允许创建无限数量的“创意概念”。
10 changes: 10 additions & 0 deletions config/locales/zh-CN/memberships.zh-CN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
zh-CN:
memberships:
fields:
_:
# 🚅 super scaffolding will insert new fields above this line.
activerecord:
attributes:
membership:
_:
# 🚅 super scaffolding will insert new activerecord attributes above this line.
3 changes: 3 additions & 0 deletions config/locales/zh-CN/oauth.zh-CN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
zh-CN:
stripe_connect: Stripe
# 🚅 super scaffolding will insert new oauth providers above this line.
10 changes: 10 additions & 0 deletions config/locales/zh-CN/teams.zh-CN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
zh-CN:
teams:
fields:
_:
# 🚅 super scaffolding will insert new fields above this line.
activerecord:
attributes:
team:
_:
# 🚅 super scaffolding will insert new activerecord attributes above this line.
34 changes: 34 additions & 0 deletions config/locales/zh-CN/user_mailer.zh-CN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
zh-CN:
user_mailer:
signature: &signature_zhcn
html:
<p>如果您有任何疑问,请随时<a href="mailto:%{support_email}">给我们发送电子邮件</a>。</p>
<p>谢谢<br>Untitled Application团队</p>
invited:
subject: 邀请加入Untitled Application上的%{team_name}!
preview: "%{inviter_name}已向您发送此邀请。"
heading: 您已被邀请!
body:
html:
<p>
%{inviter_name}已邀请您加入Untitled Application上的%{team_name}。
您可以通过点击下方按钮加入%{team_name}。
</p>
cta:
label: 加入%{team_name}
signature:
<<: *signature_zhcn
welcome:
subject: 欢迎使用Untitled Application!
preview: 此电子邮件包含有关如何开始使用您的帐户的详细信息。
heading: 欢迎使用Untitled Application!
body:
html:
<p>这是默认的欢迎邮件!你可以在`config/locales/zh-CN/user_mailer.zh-CN.yml`中更新此欢迎邮件的内容。</p>
<p>感谢<a href="https://postmarkapp.com">Postmark</a>团队免费为此电子邮件模板提供<a href="https://github.com/wildbit/postmark-templates">原始基础</a>。</p>
cta:
heading: 下一步?
body: 您可以使用以下链接返回您的仪表盘。
label: 查看您的仪表盘
signature:
<<: *signature_zhcn
10 changes: 10 additions & 0 deletions config/locales/zh-CN/users.zh-CN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
zh-CN:
users:
fields:
_:
# 🚅 super scaffolding will insert new fields above this line.
activerecord:
attributes:
user:
_:
# 🚅 super scaffolding will insert new activerecord attributes above this line.
1 change: 1 addition & 0 deletions config/locales/zh-CN/zh-CN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
zh-CN: