-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
i18n: Update zh-CN [ Chinese (China) ] translations. #2699
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Translations are generally acceptable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly good. Awoo.
config/locales/zh-CN.yml
Outdated
lock_link: 保护你的账户 | ||
purge: 从关注者中移除 | ||
success: | ||
one: In the process of soft-blocking followers from one domain... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the one
line as Chinese won't use it anyway.
config/locales/zh-CN.yml
Outdated
@@ -5,6 +5,7 @@ zh-CN: | |||
about_this: 关于本实例 | |||
apps: 应用程序 | |||
business_email: 商业电邮︰ | |||
closed_registrations: 这个实例暂时(或者永久)不开放注册 _(:3」∠)_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not like the idea of "temporarily (or permanently)". How about "目前" (currently)? Let's not try to probe into the future...
|
||
<p>有人(可能是你)请求更改你 Mastodon 账户的密码。如果是你的话,请点击下面的链接:</p> | ||
|
||
<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change my password -> 更改密码
你刚刚在 <%= @instance %> 创建了帐号。 | ||
|
||
点击下面的链接来完成注册啦 : <br> | ||
<%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirm my account -> 确认帐号
点击下面的链接来完成注册啦 : <br> | ||
<%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %> | ||
|
||
别忘了看看 <%= link_to 'terms and conditions', terms_url %>。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing translation, 使用条款
@@ -15,7 +15,6 @@ zh-CN: | |||
invalid_uri: '必须是有效的 URL 格式' | |||
relative_uri: '必须是绝对的 URL 地址' | |||
secured_uri: '必须是 HTTPS/SSL 的 URL 地址' | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahem..
😌…… & @Artoria2e5 😅
|
@@ -0,0 +1,7 @@ | |||
<p><%= @resource.email %> ,嗨呀!!</p> | |||
|
|||
<p>有人(可能是你)请求更改你 Mastodon 账户的密码。如果是你的话,请点击下面的链接:</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about "hopefully you"(但愿是你)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awoo~
"navigation_bar.logout": "注销", | ||
"navigation_bar.mutes": "Muted users", | ||
"navigation_bar.mutes": "被静音的用户", | ||
// intentional departure from https://github.com/tootsuite/mastodon/blob/f864fee1/config/locales/zh-CN.yml#L126: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, remove the comments.
@@ -0,0 +1,7 @@ | |||
<p><%= @resource.email %> ,嗨呀!!</p> | |||
|
|||
<p>有人(但愿是你 ~ )请求更改你 Mastodon 账户的密码。如果是你的话,请点击下面的链接:</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, no tildes, no ASCII tildes, and no spaces around tildes or before a closing parenthesis.
"video_player.video_error": "视频无法播放啦……", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a JSON file now, so no trailing comma, and nothing after the closing }
config/locales/doorkeeper.zh-CN.yml
Outdated
@@ -124,4 +123,9 @@ zh-CN: | |||
home: '首页' | |||
application: | |||
title: 'OAuth 认证' | |||
scopes: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seems to be some sort of YML syntax error in this file, but I am not sure which exactly.
I18n::InvalidLocaleData: can not load translations from /home/travis/build/tootsuite/mastodon/config/locales/doorkeeper.zh-CN.yml: #<Psych::SyntaxError: (/home/travis/build/tootsuite/mastodon/config/locales/doorkeeper.zh-CN.yml): did not find expected key while parsing a block mapping at line 19 column 5>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unexpected indent ? 😂
Looks like the last failing part is these unused keys:
|
Hmm, I will probably change all the 账 to 帐 -- Mastodon is not a banking app after all. |
…upstream Merge upstream changes up to a239904
No description provided.