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

zh-CN: Translate "Logical properties for margins, borders, and padding" #12498

Merged
merged 4 commits into from
Apr 2, 2023

Conversation

yarusome
Copy link
Contributor

@yarusome yarusome commented Apr 2, 2023

Description

Motivation

Additional details

原文多处混淆了 property 和 value,译文进行了纠正。如有必要,我可以再追加英文版的合并申请。

Related issues and pull requests

@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Apr 2, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Apr 2, 2023

Preview URLs

External URLs (2)

URL: /zh-CN/docs/Web/CSS/CSS_Logical_Properties/Margins_borders_padding
Title: 用于外边距、边框和内边距的逻辑属性

(comment last updated: 2023-04-02 12:09:37)


### 外边距简写属性

既然我们现在可以同时设置盒子的两侧——要么行向要么块向的两侧——那就有新的简写属性 {{CSSXref("margin-inline")}} 和 {{CSSXref("margin-block")}} 可以接受两个值。第一个值会应用到那个方向的首侧,第二个应用到末侧。如果你只用一个值,那么这个值应用到两侧。
Copy link
Contributor Author

@yarusome yarusome Apr 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

start 和 end 作值时(没有冠词)译为“首”和“末”,作一般名词且未被 block 或 inline 修饰时译为“首侧”和“末侧”(听起来更自然)。类比 left 译为“左”或“左侧”。

@yarusome yarusome marked this pull request as ready for review April 2, 2023 04:12
@yarusome yarusome requested a review from a team as a code owner April 2, 2023 04:12
@yarusome yarusome requested review from t7yang and removed request for a team April 2, 2023 04:12
yarusome and others added 2 commits April 2, 2023 19:48
Co-authored-by: A1lo <yin199909@aliyun.com>
Co-authored-by: A1lo <yin199909@aliyun.com>
@yin1999 yin1999 removed the request for review from t7yang April 2, 2023 11:56
@yin1999 yin1999 merged commit e87088c into mdn:main Apr 2, 2023
@yarusome yarusome deleted the margin-border branch April 2, 2023 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-zh Issues related to Chinese content.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants