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: Update block and inline terms for /glossary/* #12662

Closed
wants to merge 13 commits into from

Conversation

yarusome
Copy link
Contributor

@yarusome yarusome commented Apr 10, 2023

Description

Motivation

Additional details

为了控制术语更新工程的工作量,图示的汉化就交给未来的贡献者了。

Related issues and pull requests

Relates to #12632.

@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Apr 10, 2023

沿着这些轴,可以使用[盒模型对齐规范](/zh-CN/docs/Web/CSS/CSS_Grid_Layout/Box_Alignment_in_CSS_Grid_Layout)中定义的属性对项目进行行对齐和列对齐
沿着这些轴可以使用[盒对齐规范](/zh-CN/docs/Web/CSS/CSS_Grid_Layout/Box_Alignment_in_CSS_Grid_Layout)中定义的属性对项目按块向轴或行向轴对齐
Copy link
Contributor Author

Choose a reason for hiding this comment

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

规范原文用 align 和 justify 分别指沿不同的轴对齐。

@github-actions
Copy link
Contributor

github-actions bot commented Apr 10, 2023

@yarusome yarusome marked this pull request as ready for review April 10, 2023 04:48
@yarusome yarusome requested a review from a team as a code owner April 10, 2023 04:48
@yarusome yarusome requested review from irvin and removed request for a team April 10, 2023 04:48
@yarusome
Copy link
Contributor Author

这个 main_axis 貌似是部分机翻的。

files/zh-cn/glossary/block/css/index.md Outdated Show resolved Hide resolved
slug: Glossary/Flex_Container
---

定义一个{{glossary("flexbox")}}(伸缩盒布局),需要在一个父级元素上使用`display`属性的值:`flex``inline-flex`。这个父级元素将成为**flex container**(伸缩容器),而它的所有子元素将变成{{glossary("flex item")}}(伸缩项)
在父元素的 `display` 属性上使用 `flex``inline-flex` 值可定义{{glossary("flexbox", "弹性盒")}}布局。此元素由此变为**弹性容器**,其任意子元素变为{{glossary("flex item", "弹性项目")}}。
Copy link
Member

Choose a reason for hiding this comment

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

考虑一下在 CSS 里面,要不要将“item”翻译为“元素”,为感觉平时“数组元素”这种叫法用的比较多(item of array)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

我是觉得“项目”和“元素”的译法都有明显的不足。“项目”听起来怪怪的,但是 Word 是这样翻译的;而“元素”在 CSS 中无法体现 item 是容器或列表中多个相似物体中的一个,因此无法与 element 区分。不过如果可以保证不会出现 flex element 这种说法的话,把 item 译为“元素”也没有问题。(我先改为“元素”。)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

或者统一约定 flex element 根据上下文区分为“弹性容器”或“弹性元素”。list element 可作类似约定。

@yin1999 yin1999 removed the request for review from irvin April 10, 2023 11:12
yarusome and others added 2 commits April 10, 2023 19:51
Co-authored-by: A1lo <yin199909@aliyun.com>
@yarusome yarusome closed this Apr 10, 2023
@yarusome yarusome deleted the block-inline-update branch April 10, 2023 12:47
@yarusome yarusome restored the block-inline-update branch April 10, 2023 12:48
@yarusome yarusome deleted the block-inline-update branch April 10, 2023 12:49
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