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

New Crowdin translations #29

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
fe0e3c5
New translations actions.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
10fdd2a
New translations intro.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
869d520
New translations tutorial.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
412b175
New translations translation.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
52264be
New translations theming.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
2263e32
New translations show-view-component.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
87d632c
New translations resource-component.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
3639b7a
New translations reference.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
090e78b
New translations list-view-component.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
a2449df
New translations input-components.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
ade5990
New translations admin-component.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
3802c63
New translations field-components.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
8ddefd5
New translations faq.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
5f2032a
New translations ecosystem.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
ab27d51
New translations data-providers.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
22895e2
New translations custom-app.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
4183770
New translations creat-edit-view-components.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
8e80039
New translations authorization.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
fb24309
New translations authentication.md (Chinese Simplified)
Kirk-Wang Oct 15, 2019
7b7c82c
New translations en.json (Chinese Simplified)
Kirk-Wang Oct 15, 2019
962b229
Merge branch 'master' into l10n_master
Kirk-Wang Oct 18, 2019
c6a73fc
New translations tutorial.md (Chinese Simplified)
Kirk-Wang Jun 6, 2020
367bcb0
New translations intro.md (Chinese Simplified)
Kirk-Wang Jun 22, 2022
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
2 changes: 1 addition & 1 deletion website/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
"Edit this Doc|recruitment message asking to edit the doc source": "Edit",
"Translate this Doc|recruitment message asking to translate the docs": "Translate"
}
}
}
1 change: 1 addition & 0 deletions website/translated_docs/zh-CN/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
id: actions
title: 编写 Action
---

Admin 界面通常必须提供自定义操作,而不仅仅是简单的 CRUD。 例如, 在管理评论中, "Approve" 按钮 (允许更新` is_approved` 属性, 并在一次单击中保存更新的记录)-是必须具有的。

如何使用 react-admin 添加这样的自定义动作? 答案是双重的,react-admin 如何使用 Redux 和 redux-saga,学习并正确的做到这一点会给你更好的理解。
Expand Down
1 change: 1 addition & 0 deletions website/translated_docs/zh-CN/admin-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
id: admin-component
title: Admin 组件
---

`<Admin>` 组件创建一个具有自己的状态、路由和控制器逻辑的应用程序。 `<Admin>` 只需要一个 `dataProvider` 属性, 并且至少有一个子 `<Resource>` 就能工作:

```jsx
Expand Down
1 change: 1 addition & 0 deletions website/translated_docs/zh-CN/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
id: authentication
title: 身份验证
---

![Logout button](https://marmelab.com/react-admin/img/login.gif)

React-admin 可以通过您选择的身份验证策略来保护您的admin app。 由于有许多不同的可能策略(Basic Auth,JWT,OAuth等),react-admin 只需提供钩子来执行您自己的验证代码。
Expand Down
1 change: 1 addition & 0 deletions website/translated_docs/zh-CN/authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
id: authorization
title: 授权
---

某些应用程序可能需要确定特定身份验证的用户对安全资源的访问级别。 由于有许多不同的可能策略 (单个角色、多个角色或权限等), 因此, react-admin 只需提供 hooks 即可执行您自己的授权代码。

默认情况下, react-admin 应用程序不需要授权。 但是, 如果需要, 它将依赖于 [Authentication](./Authentication.html) 部分中引入的 `authProvider`。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
layout: creat-edit-view-components
title: Create 和 Edit 视图组件
---

“创建”和“编辑”视图都显示一个表单,使用空记录初始化的(对于“创建视图”)或具有一条从API(对于“编辑”视图)获取的记录。 `<Create>` 和 `<Edit>` 组件然后将表单的实际渲染委托给表单组件 - 通常是 `<SimpleForm>`。 此表单组件使用其子级 ([`<Input>`](./Inputs.md) 组件) 来呈现每个 from input。

![post creation form](https://marmelab.com/react-admin/img/create-view.png)
Expand Down
1 change: 1 addition & 0 deletions website/translated_docs/zh-CN/custom-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
id: custom-app
title: 在其它 App 中包含 Admin
---

`<Admin>` 标签是一个很好的快捷方式,在几分钟内就可以启动和运行react-admin。 但是,在许多情况下,您需要将 admin 嵌入到另一个应用程序中,或者深入定制 admin。 幸运的是,您可以在任何 React 应用程序中执行 `<Admin>` 所做的所有工作。

请注意,您需要进一步了解 [redux](http://redux.js.org/),[react-router](https://github.com/reactjs/react-router) 和 [redux-saga](https://github.com/yelouafi/redux-saga)。
Expand Down
1 change: 1 addition & 0 deletions website/translated_docs/zh-CN/data-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
id: data-providers
title: 数据提供程序
---

无论使用何种规范,REST,GraphQL还是SOAP。React-admin都可以与它的API进行通信。 对于 REST 服务器, 它可以是 [JSON API](http://jsonapi.org/), [HAL](http://stateless.co/hal_specification.html), [OData](http://www.odata.org/) 或自定义规范。 React-admin 只需要一个 Data Provider 函数。 这是将数据查询转换为 http 请求的地方, 以及对数据响应的 http 响应。

![Data Provider architecture](https://marmelab.com/react-admin/img/data-provider.png)
Expand Down
1 change: 1 addition & 0 deletions website/translated_docs/zh-CN/ecosystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
id: ecosystem
title: 生态
---

- [Input 组件和 Field 组件](#inputs-and-fields)
- [翻译](#translations)
- [Data Providers](#data-providers)
Expand Down
1 change: 1 addition & 0 deletions website/translated_docs/zh-CN/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
id: faq
title: 常见问题
---

- [是否可以为资源提供自定义标识符/主键?](#can-i-have-custom-identifiersprimary-keys-for-my-resources)
- [我收到关于数组中子项的唯一键的警告](#i-get-warning-about-unique-key-for-child-in-array)
- [呈现时冻结验证的表单](#a-form-with-validation-freezes-when-rendering)
Expand Down
1 change: 1 addition & 0 deletions website/translated_docs/zh-CN/field-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
layout: field-components
title: Field 组件
---

`Field` 组件显示 REST 资源的给定属性。 此类组件在 `List` 视图中使用,但也可以针对只读字段在 `Edit` 和` Create` 视图中使用。 所有 Field 组件中最常见的是 `<TextField>`:

```jsx
Expand Down
1 change: 1 addition & 0 deletions website/translated_docs/zh-CN/input-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
id: input-components
title: Input 组件
---

`Input` 组件显示一个输入, 或一个下拉列表, 一个单选按钮列表, 等等。 这些组件允许编辑记录属性,并且在 `<Edit>`, `<Create>` 和 `<Filter>` 视图中是常见的。

```jsx
Expand Down
3 changes: 2 additions & 1 deletion website/translated_docs/zh-CN/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
id: intro
title: 简介
---

一个运行在浏览器中,在REST/GraphQL API之上,用于构建admin(中后台)应用程序的前端框架。它使用了ES6,[React](https://facebook.github.io/react/) 和 [Material Design](https://material.io/)进行编写。 它以前的名字叫做 [admin-on-rest](https://github.com/marmelab/admin-on-rest)。 由[marmelab](https://marmelab.com/)开源和维护。

[Demo](https://marmelab.com/react-admin-demo/) - [Source](https://github.com/marmelab/react-admin) - [Releases](https://github.com/marmelab/react-admin/releases) - [Support](http://stackoverflow.com/questions/tagged/react-admin) <iframe src="https://player.vimeo.com/video/268958716?byline=0&portrait=0" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="display:block;margin:0 auto" mark="crwd-mark"></iframe>
[Demo](https://marmelab.com/react-admin-demo/) - [Source](https://github.com/marmelab/react-admin) - [Releases](https://github.com/marmelab/react-admin/releases) - [Support](http://stackoverflow.com/questions/tagged/react-admin) <iframe src="https://player.vimeo.com/video/268958716?byline=0&portrait=0" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="display:block;margin:0 auto"></iframe>

## 功能

Expand Down
1 change: 1 addition & 0 deletions website/translated_docs/zh-CN/list-view-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
layout: list-view-component
title: List 视图组件
---

列表视图显示从 REST API 获取的记录列表。 此视图的入口点是`<List>`组件,它负责获取数据。 然后,它将数据传递到迭代器视图-通常是 `<Datagrid`,然后将每个记录属性的渲染委托给 [`<Field>`](./Fields.html) 组件。

![The List View](https://marmelab.com/react-admin/img/list-view.png)
Expand Down
1 change: 1 addition & 0 deletions website/translated_docs/zh-CN/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
id: reference
title: 引用
---

<div style="column-count:3">
<ul>
<li>
Expand Down
1 change: 1 addition & 0 deletions website/translated_docs/zh-CN/resource-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
id: resource-component
title: Resource 组件
---

一个 `<Resource>` 组件将一个API端点映射到一个CRUD界面。 例如,下面的 admin app 为 JSONPlaceholder API 公开在[`http://jsonplaceholder.ode.com/posts`](http://jsonplaceholder.typicode.com/posts) 和 [`http://jsonplaceholder.ode.com/users`](http://jsonplaceholder.typicode.com/users) 的资源提供了一个只读界面:

```jsx
Expand Down
1 change: 1 addition & 0 deletions website/translated_docs/zh-CN/show-view-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
id: show-view-component
title: Show 视图组件
---

Show 视图以只读方式显示从 API 获取的记录。 它将记录的实际呈现方式委托给一个布局组件——通常是 `<SimpleShowLayout>`。 此布局组件使用其子级 ([`<Fields>`](./Fields.md) 组件) 来呈现每个记录字段。

![post show view](https://marmelab.com/react-admin/img/show-view.png)
Expand Down
1 change: 1 addition & 0 deletions website/translated_docs/zh-CN/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
id: theming
title: 主题
---

无论您需要为单个组件调整CSS规则,还是更改整个应用程序中的标签颜色,都可以!

## 重写组件样式
Expand Down
2 changes: 2 additions & 0 deletions website/translated_docs/zh-CN/translation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
id: translation
title: 翻译
---


React-admin 界面使用英语作为默认语言。但是它也支持任何其他语言,归功于[polyglot.js](http://airbnb.io/polyglot.js/)库。

## 改变区域设置
Expand Down
Loading